« first day (2078 days earlier)      last day (1142 days later) » 

2:08 AM
@Feeds I still think you need a Round(x,'random') (numbers halfway are rounded up or down with 50% chance) and Round(x,'alternating') (one is rounded up, the next one down, the next one up, ...)
Not that I have a use for those options. Just sounds cool.
 
 
11 hours later…
12:50 PM
@Dev-iL new paper eh :D In arxiv at least :D congrats! hopefully youll get it accepted
@CrisLuengo and make it default
 
1:37 PM
@AndrasDeak Do you know is there a reason why we don't have automatic broadcasting in boolean indexing? (let's say a.shape = (3,10,10), m.shape = (1,10,10) and we want to do a[m>0]=666)
 
because indices never broadcast like that
 
can you elaborate?
 
in your case you'd do a[:, m.squeeze() > 0] probably
@flawr advanced indexing rules don't have broadcasting behaviour I think
I might be missing some examples of course; I've been dumb for days
 
right but I was wondering if there is some fundamental different idea that would interfere with this
 
@flawr hmm, it might even happen that this would work with non-bool indices. There's an additional requirement that bool indices have to match the size of the given axis. This could mean that a size-1 non-bool index would work where a size-1 bool index would not
But there was a very common bug where bool indices with length shorter or longer than the array would be interpreted in a surprising way. That's deprecated and even forbidden now. I'm not sure how this affects 1-length indices.
 
1:48 PM
oh I see
thanks
yeah the 1-length indices might cause trouble
 
yeah, no, that's not how fancy indexing works
In [33]: arr = np.random.rand(3, 3, 3)
    ...: ind = np.random.randint(3, size=(1, 3, 3))
    ...: arr[ind].shape
Out[33]: (1, 3, 3, 3, 3)
so I guess I'm back with my original stance
 
 
2 hours later…
3:22 PM
@AnderBiguri Thanks! my contribution to that paper was purely RSE (code refactoring and optimization, running simulations)
All the math that's going on in there is completely beyond me...
It just so happens that the paper that you congratulated me for being rejected, was finally accepted...!
 
@Dev-iL nice!
Congrats
 
 
3 hours later…
6:38 PM
Thanks! What a journey that was...
 
7:10 PM
@AnderBiguri found these guys today, they're super interesting! got a nice post-rock sound to em: open.spotify.com/album/…
they have a male and female singer which I always love in a band
 
7:56 PM
@ballBreaker did you ever try Ukrainian rock?
 
nope! nobodies every really shown me and and if I can't understand the lyrics (if there are any) it's kind of a meh from me
but if there aren't lyrics then im all for it
 
I cannot understand all of it, still enjoyable though... There's one very well-known band whose singer has a phd in math (or physics?)
 
oh nice!! what's the name? I'm always down to check new stuff out :D
 
Океан Ельзи (Elza's ocean)
Let me give you a specific song I like
 
@Dev-iL wowo!
@ballBreaker ah thanks! will check it out!
 
8:07 PM
@Dev-iL cool i'll check this out now :D
shweet ander
 

« first day (2078 days earlier)      last day (1142 days later) »