Andy Dienes

Results 134 comments of Andy Dienes

Interestingly, it seems that `OrderedDict` in `DataStructures.jl` supports `sort` but _not_ `sortperm.` Maybe this functionality can be added there as well, hopefully in a consistent way with whatever is decided...

Upon thinking about it more, I also noticed that ``` p = pairs([1, 5, 3, 4, 2]) sort(p) #error sortperm(p) #error ``` If there were sorting support in Base for...

I don't think it would be quite identical to `sort!(collect(itr))` since it is my impression that `collect` is not guaranteed to return the same order upon subsequent calls for all...

> No one previously requested this functionality. What are the use-cases/examples where this is useful in practice? Point taken :) My use case is I am implementing some voting algorithms;...

just ran into this > but it may break the following cases: is that supposed to be allowed? 😳

there are a lot of ways. one might be ``` A = foo.(arg) # returns an Array of Tuples ntuple(i -> getindex.(A, i), length(first(A))) # extract as Tuple of Arrays...

I really appreciate the functionality but sorry must it be spelled `--project=--temp` ? I can't think of a single other CLI app I've ever used with the pattern `--arg1=--arg2`. I...

reading through both these issue threads, I would not call it "gravitating," more just stalled after `--temp` was proposed. Just counting heads, I definitely see more contributors proposing or preferring...

> `@temp` should be persistent just like any other `@abc` persistent-ly empty, so it kind of is _something_ is going to have to be special-cased, and I think it's least...

that's fair, but I just mean the two args should not live by different rules (in fact, it seems cleaner to me if `scriptdir` and `temp` are accessible in similar...