News for hackers. Stuff that matters.

cyberroadie

Re:Brand new Scala-lang.org on Tuesday July 30, 2013 @02:23PM (#6128943)
The staircase in the picture down the page is mirrored compared to the Scala logo. I've added some css to 'correct' this ;-) Pull request here: https://github.com/scala/scala-lang/pull/75
Re:EBay is about to increase its seller fees to 10% on Thursday March 21, 2013 @07:07AM (#5414230)
Gumtree is owned by eBay
Re:Why I’m not leaving Python for Go on Sunday September 23, 2012 @06:57PM (#4562410)
The author of the blog post is overlooking a major feature here. Go does multiple return types, so you can do things like this: i, err := getValue() however if you want to ignore a return variable or in this case the returned error you use an underscore like this (same as in haskell): i, _ := getValue()

This is Go's mechanism for handling (or ignoring errors) which imho is really nice because you don't have to learn anything extra, like throwing/catching error mechanisms

Re:Why Java Developers Should Check Out Scala on Thursday September 06, 2012 @01:29PM (#4485221)
Here is one of the first empirical Scala vs Java studies: http://www.neverworkintheory.org/?p=375

Here is the actual paper: http://www.rz.uni-karlsruhe.de/~kb95/papers/pankratius-Scala...

Quote from the conclusion: With respect to effort, this study refutes the claim that Scala programs are faster to develop: in comparison to Java, Scala requires more effort, and especially more testing and debugging effort.

Re:What I learned from my first C coding challenge on Tuesday September 04, 2012 @05:08PM (#4476543)
I made a varnish urlsort module a while ago: https://github.com/cyberroadie/varnish-urlsort

Here my blog post about it: http://cyberroadie.wordpress.com/2012/01/05/varnish-reorderi...

It parses the url and every token gets added to a binary tree which than gets traversed in order to get the parameters alphabetically

It's been used in production in several companies I worked for, so tried and tested :-)

Olivier

Re:Richard Stallman's Computer Setup on Sunday February 05, 2012 @04:17AM (#3553702)
I think the whole of the UK is opposite of the south of the US
Re:Why Google And Facebook Need To Go Dark To Protest SOPA on Wednesday January 11, 2012 @03:11PM (#3453438)
They should make it go dark in Washington only, these companies are good in targeted 'advertisement' anyway. I wonder how the government would react on a blackout targeted only at them