« first day (1868 days earlier)      last day (1307 days later) » 

2:21 PM
I've created a little package for benchmarking your system (github.com/csgillespie/benchmarkme). It runs a number of benchmarks. After that you can then compare your result with others. You can also upload your results (to be included in future releases). Comments welcome - through github/email to avoid even more chat noise. Thanks.
 
@csgillespie Looks fun.
 
2:50 PM
@csgillespie gave up on benchmark_all after laptop ground to a slow swapping death...
 
@Spacedman Crap (and sorry). What laptop do you have?
 
@csgillespie a whole 2Gb of RAM... and I think firefox was taking up most of that :)
 
@Spacedman I think everything I've tested on had 4Gb and no firefox
 
i'll boot it into console mode and try again....j/k
 
Trying to make it a (little) future proof, by using reasonable tests. Does r.research.att.com/benchmarks/R-benchmark-25.R work OK
 
3:23 PM
It is almost brazen how folks now ignore availabke documentation
0
Q: Issue importing dnorm and pnorm functions from R to Rcpp

DadeI came across the following strange behaviour when trying to import dnorm() and pnorm() functions from R package stats into Rcpp. I apply both dnorm() and pnorm() with mean 0 and standard deviation 1 to a vector of observations. If I repeat the computations several times on the same vector, some...

 
3:39 PM
@DirkEddelbuettel explaining the right way to do it doesn't help them understand what they did wrong with the way they did it... does their code not sort out the seed properly?
oh they weren't even calling rnorm in C++ code so obvs not...
 
3:53 PM
@Spacedman You are more than welcome to add other answers. Note that he wanted dnorm/pnorm but I find rnorm more fun.
@Spacedman And that kid's main problem is that he is .... a compelete ignoramus guessing code rather than reading worked examples. Several RcppEigen examples on the Rcpp Gallery. But that looser insists also on using inline.
Some truly deserve the punishment.
 
Didn't realise it was a repeat offender...
 
4:10 PM
@csgillespie I think you have a small bug in get_byte_compiler, the grep line returns integer(0) if a match isn't found.
 
@joran Thanks I just spotted that as well. Fix on it's way (in a few minutes). I've reduced the complexity of the tests so that I don't destroy @Spacedman's laptop
 
@csgillespie Yeah, I just saw someone filed an issue on github already too...
 
@csgillespie its also liable to destroy my lap with the heat it generates :)
 
 
2 hours later…
5:44 PM
@joran Thanks for trying out. Looking at the current cpu rankings, my PhD student has the fastest machine :(
@Spacedman I've tweaked the benchmarks. Hopefully your Commodore laptop will be able to cope ;)
 
@csgillespie I'm anxious to try it at home on my new 5k iMac with 32gb of ram. I didn't max out the processor on it, though, so probably it won't be that impressive. :)
 
I think I'll need to have multiple benchmarks. One set for "standard" machines. Another set for the high end range. Suggestions welcome.
I would also like to test parallel code as well. I think it would be interesting to see the results across chips
 
 
5 hours later…
10:26 PM
I should stay away from StackOverflow. Or at least stay away from questions involving the cult of OS X.
 

« first day (1868 days earlier)      last day (1307 days later) »