Benoît Pasquier

Results 142 comments of Benoît Pasquier

I think I wanted a mutable struct so that I could make it a subtype of an `AbstractVector` for those struct to be usable as vectors in things like ForwardDiff,...

> You should be able to use Flatten.jl for that too... It's probably faster, even though it seems more complicated. I am not sure I understand. Right now, I define...

Mmm no I meant something different. Take a single field example: ```julia julia> using FieldMetadata, Unitful julia> import FieldMetadata: @units, units julia> @units struct Foo{T} a::T | u"m" end units...

> I think this is [vega/vega-lite#3797](https://github.com/vega/vega-lite/issues/3797)? Yes, I think. I was hoping for a workaround (that does not involve a vector-graphics editor) 🙂

> I also know people have mentioned wanting the ability for MATLAB to run a script every time it starts up. If this is implemented (and can be project-specific), that...

> The colormaps can be easily reversed using MATLAB's built-in flipud(...) I know! I meant we could easily add in convenience functions that go, e.g., ```matlab function cm = pubu(n,...

Has there been any progress towards a Julia equivalent of intake or would you recommend using PyCall instead?

I'm actually surprised that there is no parent abstract type for those: ```julia julia> typejoin(typeof(1u"m"), typeof(1u"dB")) Number ``` And I'm not sure there's a reason for that. Maybe worth asking...

OK so it looks like we need to think this through a bit more (and it will require a bit more work)!

I don't have much time to look at this myself, but could you add one (or more) examples of what this PR adds?