« first day (1272 days earlier)      last day (2018 days later) » 

5:23 AM
 
6:15 AM
good morning
interesting development: Faster R with FastR
and onther interesting development: Open GPU Data Science with RAPIDS
 
6:31 AM
Good morning all
 
6:56 AM
Hello hello :-)
 
sup lads
 
7:28 AM
Hello
 
New day, new challenges.
 
 
2 hours later…
10:01 AM
does this sound worth reopening? stackoverflow.com/questions/52813967/…
ok..reopened ---^
 
 
1 hour later…
11:33 AM
Interesting difference between using microbenchmark and not using it
 
@germcd what do you mean? Not using benchmark or not benchmarking the loading of packages?
 
@RomanLuštrik Using microbenchmark or looping the script in Linux command line and timing it.
 
While benchmarking packages is fun, the comparison may not be an honest one.
Especially when you are performing a long task (once in a while), an extra second of load time is irrelevant.
I do not subscribe to the tidyverse idea, but the load time is nothing to be worried about in most cases, I think. What I loathe about tidyverse is the heavy function masking. It is doing nobody any service.
 
11:49 AM
@RomanLuštrik Yeah spending time optimising a rarely used function is rarely worth it.
@RomanLuštrik does this only work if all the data has the same date?
 
 
2 hours later…
1:29 PM
This guy just deleted his account cause of new CoC
120
A: The Code of Conduct is a "no moderation" pass? Not on our watch! What can we do?

user177800TL;DR "Flag as Harassment;Abuse / Move ON" is the new "Vote / Move On" Nothing New ... I for one have been complaining about the old Be Nice policy being weaponized by people that are passively aggressively publicly shaming down voters and others for doing what they earned the right to do, ano...

This seems legit
56
A: Come Take a Look at our New Contributor Indicator!

Jarrod RobersonJust curious what the veteran contributor indicator is going to look like and how SE will word the warning to be nice and respectful to them for taking their time to help you learn how to use the site and provide answers for free by actually following the instructions/advice left in the comments ...

 
@DavidArenburg So much drama. Not much (if anything) has changed in the day-to-day SO experience for me.
 
@Axeman Well, I guess you are not exactly a big enough sample, eh :)
Though, leaving the drama aside, that "veteran contributor" pop-up thing makes sense to me. If you read it carefully, he just asks the new users to take our comments seriously, respond to them and follow our guidance, as we have the experience and the knowledge to help them
4
I think, many new users tend to ignore the site guidance or the comments, such pop-up coming from the site itself, could add some credibility to the more experienced users and eventually help the new ones too.
 
1:45 PM
Oh joy.
> x <- data.frame(V1 = c("name", "1,2", "2,0", "1,51"), V2 = 1:4)
> unstack(x)
   res
1 name
2  1,2
3  2,0
4 1,51
> y <- rbind(x, x)
> unstack(y)
    X1  X2  X3   X4
1 name 1,2 2,0 1,51
2 name 1,2 2,0 1,51
 
@David Yes I agree with that.
 
@germcd I was assuming by "day" OP meant date. I should have been more clear about that.
Now I only need to come up with a robust unstack for cases with one and many x-es.
 
 
1 hour later…
3:00 PM
@DavidArenburg yeah, not the first to go in recent weeks. this was the guy who got in a meta tussle over "gifting" rep via bounties, i think. re your second link, wonder why he didn't delete his entire account, as his beef is (i assume) with the company, not SO mods
can't remember the other recent leaver's handle/name, hvd or something
 
What I've observed is basically this problem: stats.stackexchange.com/questions/8692/…
 
@RomanLuštrik not really following, fwiw. should unstack do something else?
 
3:16 PM
@Frank When I try to stack x, it fails because it's only one "case". When there are at least two, it unstacks the data well.
Let me provide a more educational example.
x <- data.frame(V1 = c("sample1", 1:3, "sample2", 4:6), stringsAsFactors = FALSE)
x$V2 <- rep(1:4, times = nrow(x) / 4)
unstack(x)

       X1 X2 X3 X4
1 sample1  1  2  3
2 sample2  4  5  6
When there's only one case, you're screwed.
> unstack(x[1:4, ])
      res
1 sample1
2       1
3       2
4       3
Catching this special case:
> data.frame(t(unstack(x[1:4, ])))
         X1 X2 X3 X4
res sample1  1  2  3
 
@RomanLuštrik can you use the form= arg to unstack.data.frame to force your expected behavior?
for the stats.SE link, i'd just do rbindlist(list(a = a, b = b), idcol = TRUE)[, dcast(.SD, .id ~ state, value.var="count")] .. no reason to try to do it in base, for me, anyways. i guess you need this for use inside a package?
 
Yeah, it's in a package and I'd like to keep it slim, if possible.
> unstack(x[1:4, ], form = V1 ~ V2)
      res
1 sample1
2       1
3       2
4       3
 
(i never really internalized formula syntax for aggregate, much less unstack...)
hm, yeah, that lack of consistency is annoying / a mistake, i think
in the formula, apparently lhs = row names, rhs = values, i'm not clear on how the cols get populated
oh i see (looking at the stats link), just tapply doing its thing
 
lmo
3:48 PM
@RomanLuštrik If you can identify the instances where you only have one case, then you can use an if / else structure and use unstack(form= as.list(V1) ~ V2 , x=x[1:4,]) in that instance.
 
3:59 PM
@Frank Yeah, I remember that story with Jarrod. And of-course the other guys beef is with SO and not with the mods- the mods have nothing to do with this and the vast majority of them aren't SO employees. Some of them expressed their opinion against SO in this very same thread
I'm holding a lot of grunge myself against SO long before the new CoC, but I always felt that deleting my account will mainly hurt me rather anyone else, as I'm referring to my SO account in interviews and such. It also gives an option to place bounties if needed and etc.
 
yeah, i was just guessing mods, since there's nothing else beef-worthy to differentiate what's happening here vs on other SE network sites
fwiw, my complaint against the company is the same as it's ever been (that they should stick to making a good Q&A resource rather than trying to get as many people to register as possible, which leads to all sorts of bad side effects like happiness with dupes, etc), but i would never see that as a reason to quit rather than staying on the ship till it sinks
i guess if you take their moves as directed by politics more than business, it could be more offensive, though
 
4:24 PM
@Frank that's a good point
 
 
2 hours later…
6:04 PM
@lmo That's a nice workaround, thanks.
 
 
1 hour later…
7:23 PM
bah, when rstudio crashes its console, why does everything (even the script subwindow) need to reset?
fortunately, i only had one script i was working on this time
 
7:57 PM
Because it's a JavaScript application with Chrome embedded.
(not strictly Electron)
So, it needed to be killed totally to recover.
(at least in browser you have separate process for each tab)
 
It would be nice if PyCharm could handle R code as well as Rstudio.
But, we can only dream.
 
@m0nhawk ah ok
 
8:22 PM
(it's like refreshing webpage, you can refresh only part of it)
And RTVS is dead in Visual Studio?
No new releases for almost a year.
 
For "normal" usage, I find Rstudio satisfactory. When I'm working with shiny, the experience goes a bit bumpy.
 
8:47 PM
never used rtvs (though you've mentioned it before) and only rarely use rstudio (instead of r console), just for rmarkdown, where it's a real boon despite some quirks
 
 
1 hour later…
9:50 PM
^ cool bookdown tools and templates
 

« first day (1272 days earlier)      last day (2018 days later) »