« first day (1736 days earlier)      last day (1570 days later) » 

6:44 AM
hello
 
7:20 AM
41 messages moved to Trash can
 
morning all
 
o/
 
7:40 AM
hi all :-)
 
7:56 AM
 
@zx8754 gone
 
8:12 AM
can't think of a better title for this, seems too generic at the moment stackoverflow.com/q/59854822/680068
 
@zx8754 Hmm...maybe something with match and switch
match list elements and switch the pair
 
Wanted to use the word "pair", replace with it's other pair?
oh yours is great!
 
@zx8754 isn't it a dupe ? substituting values ?
 
not dupe as input is list? Up to you (GMTs)
 
@zx8754 which could be put as a data.frame/matrix and end in a dupe but indeed it's more original with a list as input ;-)
 
@zx8754 I'd say so
 
Same concept so I 'd say so too :)
 
k
 
@Sotos nice answer!
 
@Jaap Thanks...I love giving math-driven answers :)
Oh lol...I missed the n in 'then' :P...thanks for noticing
 
8:37 AM
would be even better if you could remove ifelse
 
I guess I could use replace there
 
8:54 AM
@Sotos or: i1[i2 + c(-1,1)[(i2 %% 2) + 1L]]
 
@Jaap Nice!
added that as a note
 
9:09 AM
quick where is the dupe for this: stackoverflow.com/q/59856017/680068
group by multiple columns get max, but not summarise
 
9:26 AM
@Sotos I often us this way because it is faster than ifelse
 
 
3 hours later…
12:51 PM
 
 
3 hours later…
3:51 PM
doesn't dplyr have rleid, yet? stackoverflow.com/q/33507868/680068
 
they really should add it...very useful function
which I first learn from a question you asked :D
 
:)
 
 
2 hours later…
5:50 PM
huh, pandas is adding an NA scalar instead of it appearing in numpy analyticsvidhya.com/blog/2020/01/…
 
6:34 PM
@zx8754 you have to steal it stackoverflow.com/a/33508069/2204410 ;-)
 
7:02 PM
also huh: SE user-facing staff firings/departures, looks like a bad sign
 
7:29 PM
326
A: CEO's 2020 Kickoff Blog: Where do you see Stack Overflow going?

Aaron HallPrashanth, thank you for posting here. I did not expect you to engage with the community, but it is certainly the right thing to do. I hope you have a good experience doing so. Let me address your question: where do you see the network going in the next five years, and what do you think shou...

"I won the moderator elections in a landslide not yet eclipsed by others" - that is a one humble mod right there lol :)
 
8:08 PM
@DavidArenburg ugh barf
 
8:56 PM
@Pchandrasekar 'for a long time we have said that our mission is to "help developers write the script of the future."' - WHO has EVER said that?! Your own tour states: 'With your help, we're working together to build a library of detailed answers to every question about programming.' Edit, rest of the answer is corporate mumbo jumbo. — Script47 23 hours ago
^ new motto and rewriting (or should i saw re-scripting?) the old one
 

« first day (1736 days earlier)      last day (1570 days later) »