Alexander Plavin
Alexander Plavin
Technically breaking, but the old behavior was wrong - so this is a bug fix. Inverse to y=x^2 at y=4 isn't 2 - it's not defined. Maybe there are better...
__upd: this post describes background and the first commit of this PR__ It's probably more reasonable? But still not a complete fix, see below. I encountered an error arising from...
Propagate a NaN value from the input array, instead of creating a NaN anew. Fixes this error, for example: ```julia julia> using Statistics, Unitful julia> median([NaN*u"m"]) ERROR: DimensionError: m and...
Here is a minimal example in VS Code:  and [on GitHub](https://gist.github.com/aplavin/d9cf1addfff318b7d2ad00f7a30fb4cc). Basically, { in line 3 is just highlighted in a wrong way, but does not affect anything after...
Positional and keyword arguments are treated differently in code emitted by macros: ```julia # @m1 defines function f with position argument julia> macro m1() :(function f(x=1) x = x *...
I noticed a pretty weird and very hard to catch inconsistency: ```julia julia> d = Dict(:x => 1, :y => 2, :z => 0) julia> argmax(d) :y julia> argmax(skipmissing(d)) :z...
I've been running some package tests on the upcoming julia version (1.10rc) and noticed this error newly introduced there, compared to 1.9: ```julia julia> Tuple{Union{}} # 1.9: Tuple{Union{}} # 1.10:...
Looks like there is no single way to "ustrip all values in an array, as efficiently as possible". - `ustrip(x)`: efficient for `Array` (reinterprets), not efficient for `range` (materializes); also,...
Noticed StructBond and NTBond here. You may also be interested in [PlutoTables](https://gitlab.com/aplavin/PlutoTables.jl) that specializes on tabular input UIs. It can either create simple objects (eg NamedTuples) from scratch, or modify...
Currently, if one wants to view the latest log output from a cell, they need to constantly scroll the log panel, manually. Would be nice to have a way to...