Zeke
Zeke
> Ultrafast laser pulses seem to be resolved on a fs scale, so maybe it's worth going down to that level? For reference: https://www.newport.com/n/ultrafast-pulse-characterization https://www.dickinson.edu/download/downloads/id/25/ultrafastlaserpulses Considering that quantities measured in...
You can also evaluate constants outside the function body and then capture them with one of the following: ```julia # local namespace; declare globals explicitly let π = Double64(π) global...
#15276 is a compendium of capture boxing problems, whereas this issue specifically focuses on one solution. This proposal will solve a majority of the persisting and new problems, but the...
Thanks for reopening. I'd like to point out that this is not an additional special case. Instead, this proposal outlines the *exact* rule to determine whether a capture should be...
`getproperty` is called if the numeric literal is prefixed by `:`: ```julia julia> "x".:.3 ERROR: MethodError: no method matching getproperty(::String, ::Float64) ```
Good point. This idea is rather more useful for constructing a type-stable `NamedTuple` wrapper instead: ```julia d, sw = simple_wrap() w = (; sw..., updateMktDepth = function(args...) #= =# end,...
How do you deprecate, if not by throwing an error? Unless you mean, throw a warning instead for a while? I'd argue if you're calling `skipmissing` on a `Dict` then...
As an aside, `argmax(f, c)` has behavior which in this context is mildly counterintuitive; whereas `argmax(d)` returns a key, `argmax(last, d)` returns a `Pair`. I also don't see how it...
Thanks, TIL 😇
The intent is to exclude keys whose corresponding values are `missing`, no? ```julia julia> d = Dict(:x => 1, :y => missing, :z => 2); julia> first(argmax(last, d)) :y ```