Cédric St-Jean
Cédric St-Jean
I have a package where I show numbers with a red->green [color gradient](http://nbviewer.jupyter.org/github/cstjean/TraceCalls.jl/blob/master/README.ipynb#Profiling). Is there a function that returns whether 24-bit color is supported? Alternatively, it would be neat if...
This is scary: ```julia tree = fit!(DecisionTreeRegressor(), [1.0 2; 3 4], [10, 24.0]) predict(tree, []) > 17.0 ``` `apply_tree` also accepts (and ignores) extra values in the feature_vector without complaining.
Perhaps I'm misunderstanding `mmap`, but I would expect that `copy(df)` would be much faster the second time around, because `mmap` has by then lazily loaded the data into memory. On...
On ` PlotlyJS v0.13.1` with `WebIO v0.8.14` and `Julia 1.4.2`, in IJulia I get this error with `using Plots; plotlyjs(); plot([1,2],[3,4])`: ```julia IOError(Base.IOError("connect: connection refused (ECONNREFUSED)", -111) during request(http://localhost:7982)) Stacktrace:...
Currently, ```julia julia> 5K - 5°C ERROR: AffineError: an invalid operation was attempted with affine quantities: 5 K - 5 °C ``` which is great because it's ambiguous, but ```julia...
I believe that the datastructure is fine, but I am unhappy with everything else. My use case is with `StaticArrays`, and there doesn't seem to be a nice way of...
Unit conversions sometimes convert Float32 to Float64 ```julia julia> uconvert(u"°C", 1.0f0 * u"°F") -17.222198f0 °C # stay in Floa32 julia> uconvert(u"mbar", 1.0f0 * u"psi") 68.94757293168361 mbar # Float64 ``` I...
```julia struct Blag end Base.show(io::IO, ::MIME"text/html", ::Blag) = (write(io, "html"); println("called"); error("OH")) Blag() ``` shows ``` Blag() called ``` but no error. It seems to be [by design](https://github.com/JuliaLang/IJulia.jl/blob/2211a9c9b6821429254e88c60c6bb1d3c357e863/src/display.jl#L93-L102), but I...
On 0.6, ```julia julia> heys1 = fill("Hey", 10000); julia> heys3 = CategoricalVector(heys1); julia> @btime heys1 .== "Hey"; 62.509 μs (21 allocations: 6.19 KiB) julia> @btime heys3 .== "Hey"; 101.900 μs...
I'm a bit confused by the broadcasting behaviour outlined below. Admittedly, I don't understand the broadcasting machinery, but shouldn't all of these examples (ideally) return `Fill` objects? ```julia julia> using...