Mason Protter

Results 135 issues of Mason Protter

I think it'd be useful if at least for the purposes of `report_file`, there was a way to write hints to JET as comments in the source code. I'm thinking...

## What's wrong If I add a package with `use-package` and `:straight t`, then evaluating `(symbol-file 'the-package)` will give the location of the `use-package` call, not the location of the...

bug

I was using v0.4, but today I was trying to diagnose a problem so tried updating to the latest `julia-emacs` and it works fine in `julia-mode`, but when I open...

Okay, so the low hanging fruit of `SizeStable` collections should be dealt with in https://github.com/JuliaFolds/Transducers.jl/pull/553, but `SizeChanging` collections also need attention: ```julia julia> let v = randn(10000) @btime filter(x ->...

I think it might be surprising for some that the new experimental `SetIndex` transducer will mutate. I think maybe it's worth naming it `SetIndex!`. How do people feel about this?

I *think* this is a ChainRules.jl problem, not a Diffractor.jl problem but I'm not 100% sure. Here's a MWE: ```julia julia> using Diffractor: DiffractorForwardBackend; using AbstractDifferentiation: derivative, jacobian julia> derivative(DiffractorForwardBackend(),...

This causes problems with Zygote: ```julia julia> using Zygote julia> gradient(x -> sum([x x]), pi/2) (2.0,) julia> gradient(x -> sum(Float32[x x]), pi/2) ERROR: Mutating arrays is not supported -- called...

missing rule

Ref https://github.com/mcabbott/Tullio.jl/issues/133 and https://discourse.julialang.org/t/tullio-broadcasting-issue/107321/4. I was pretty surprised by this as well, but it makes sense in retrospect because Tullio is really less of an "Einstein notation DSL" and more...

documentation

cc @willow-ahrens, [Finch.jl](https://github.com/willow-ahrens/Finch.jl) is a tensor compiler for sparse multidimensional arrays, so it'd be cool if we could bring it under the Tullio.jl umbrella!

enhancement

Someone on Slack ran into this issue when they accidentally ran ```julia exponentiate(::SparseMatrixCSC{ComplexF32, Int64}, 1, ::Vector{Complex}) ``` instead of using a concrete type. Here's a MWE: ```julia #+begin_src julia using...