News for hackers. Stuff that matters.
Re:Sparkey – Key/value storage by Spotify by wyuenho on Monday September 02, 2013 @07:48AM (#6314683)
I'm baffled by the choice of using the GNU autofools chain just to include a Doxygen target in the Makefile. The whole thing is essentially straight up C with just 1 library dependency.

The command line argument processing is also quite haphazardly done, it's not like it using getopt or whatever that poses compatibility issues. Is writing and packaging with a Makefile that difficult?

Re:Sparkey – Key/value storage by Spotify by blippie on Monday September 02, 2013 @08:09AM (#6314760)
We used to have a "simple" makefile, but once we started to support multiple development environments (OSX, various Linux flavors) it got more and more complex. Autotools actually brings a lot of functionality as part of the package and is what people expect. I'm no fan, but it works for our use case.
Re:Sparkey – Key/value storage by Spotify by tinco on Monday September 02, 2013 @08:10AM (#6314761)
They wrote a database to solve an operational need. From experience I can tell you that's an endeavour you should strife to spend as little time on as possible.

I think it's a miracle they produced something they feel comfortable sharing with the world. If you write a database in house, and the tool chain and the argument processing are the only things done haphazardly, then hats off to you :)

Re:Sparkey – Key/value storage by Spotify by wyuenho on Monday September 02, 2013 @09:06AM (#6314954)
Whoa I sense passive-aggressiveness :) I'm still waiting for those benchmarks. The code is very clean and simple I was just picking bones. The use case seems to be overly specific tho. Is there any other example use cases where this library could be useful?
Re:Sparkey – Key/value storage by Spotify by nodata on Monday September 02, 2013 @08:01AM (#6314725)
Submit a patch. Show them how it could be better.
Re:Sparkey – Key/value storage by Spotify by hyc_symas on Wednesday September 04, 2013 @09:28AM (#6327388)
rm -rf sparkey

apt-get install lmdb