« first day (2318 days earlier)      last day (915 days later) » 

1:40 PM
@AndrasDeak do you know, is there something like np.einproduct?
(np.einproduct doesn't exist, but maybe something like this?)
 
@flawr how would that work? Multiplying everything instead of sums?
that's just np.prod :P
You probably need to show me something like an MCVE. Formula works too.
 
yes pretty much, instead of products we need powers, and instead of sums we need products:
I was answering this question: stackoverflow.com/questions/69839952
and saw that this was basically one simple einsum-call, but just for products instead of sums
if the asker wanted out[i, j] = np.sum(X[j, :] *T[i, :]) we could have just done np.einsum('jk,ik->ij', X, T)
I hope thta makes sense
so I thought maybe there is a more general command that can do any kind of reductions with the einstein summation notation, not just sums.
oh einops.rocks is nice! (but it can't do products either, as far as I understand)
 
2:36 PM
@flawr yup
@flawr doubt it
if it existed it would be linked from einsum
 
3:12 PM
@CrisLuengo Yes, it does. Well, in the sense that it presents some routes and adds the height profile along each. Not for the Netherlands of course, as that's flat :P Maps literally tells you that
 
3:26 PM
(Sorry, even the .nl rendered in German) It says "Größenteils flach" or in normal language "Mostly flat"
When you're not home in the Netherlands, there's the height profiles, also for alternative routes:
 
mostly flat is a general sentence for the entire country
 
@AnderBiguri Yes :D
 
Ah, I see you're already speaking about maps :)
 
Is that new, the elevation?
I am relatively certain the UK already had it
 
@Adriaan I see the profile for the route to Oss as well. But it's hidden by default, you need to expand the "mostly flat" section.
The profiles give an indication of steepness, but it would be nice if they quantified it. Not just tell you the total up and down, but also maybe the max steepness, or some integral over the square of the steepness or something (is that more or less representative of effort?)
 
3:43 PM
@CrisLuengo do you seriously expect a layperson to make sense of such a statistic? :)
at most it would be "orange steep"
 
@AndrasDeak Oh, it's for laypeople? I would want it for me. :p
 
Are you a KPI? :P
 
Is that a business term? What's happened to you?
 
@CrisLuengo who needs a profile in the Netherlands :P
 
3:58 PM
@Adriaan To avoid the bridges?
 
Oh now I get what you mean with steepness. No, that hasn't been shown until recently.
For a 5 metre high crossing over a canal in the Netherlands it said "very steep hill", whereas for an ascend from 700m to 2500m of average 16% inclination in Switzerland it said "moderate hill". I guess it checks location or something :P
 
Maybe it does compute the "stepness" like it does traffic, i.e. how long does people take to do it?
 
Haha, and only e-bikers go up mountains in Switzerland ;P
 
 
1 hour later…
5:19 PM
Got my comment flagged and removed (was a kind reference to read the docs) by this dude who keeps mistaking @Adriaan and me XD
@AnderBiguri If you insist the un-necessity of the question why did you post your answer? Forsaking first-learners by just telling them to "read the doc" is not a proper mannter. — Yosher 21 mins ago
 
I doubt it was removed "by that dude" because I don't see a diamond :P
 
flagged by that dude!
he had a comment telling me that he flagged me for commenting and answering XD
 
ugh
to be fair RTFM is not a close reason
 
I didn't even close voted that. Its an old question, just told them that the info is in the docs, and added a smiley face
it was more of a "im too lazy to write a proper answer so I tell you how to find it" than a "NOOB"
 
Haha. A smiley face? You're getting too soft on people
Nov 21 '16 at 14:52, by Luis Mendo
" hough_circle function, but i doesn't work" Does it make your computer explode in millions of colorful pieces? Why does not work? Please, read How to Ask and Minimal, Complete, and Verifiable exampleAnder Biguri 29 secs ago
 
 
3 hours later…
8:06 PM
@LuisMendo :D
classic
 
don't forget
Nov 21 '16 at 15:39, by Luis Mendo
user image
2
 
haha
man, I laugh, but I also sound like an ass
 
9:07 PM
But you are totally right. Saying "it doesn't work" is useless. You just picked a colorful way to state it :-D
 
😃 colorful
 
9:46 PM
 
 
1 hour later…
11:09 PM
@AndrasDeak :-)
 
11:59 PM
@flawr <3 Randal gets me
 

« first day (2318 days earlier)      last day (915 days later) »