Re:Ask HN: What DB to use for huge time series?
by siganakis on Thursday September 25, 2014 @04:50PM
(#8369670)
Remember that KDB is based on K, which stems from APL, which relies on symbols rather than words for its functions.
Coming from that background, C and especially C# must seem extremely verbose.
For example (from Wikipedia):
In K, finding the prime numbers from 1 to R is done with [0]:
(!R)@&{&/x!/:2_!x}'!R
And APL[1]: (~R∊R∘.×R)/R←1↓ιR
Its truly awesome stuff.[0]: http://en.wikipedia.org/wiki/K_(programming_language) [1]: http://en.wikipedia.org/wiki/APL_(programming_language)
Re:Ask HN: What DB to use for huge time series?
by chetanahuja on Thursday September 25, 2014 @03:49PM
(#8369329)
Hah... Almost looks like the programmer started out trying to create an entry for obfuscated C competition but then pivoted midway when s/he realized it could be commercialized.
Specially loved this comment:
// remove more clutter
#define O printf
#define R return
#define Z static
Re:Ask HN: What DB to use for huge time series?
by knicholes on Thursday September 25, 2014 @03:52PM
(#8369353)
My favorite part is the comment "remove more clutter." Instead it should have been, "Remove all hope of maintenance."
Re:Ask HN: What DB to use for huge time series?
by arielweisberg on Thursday September 25, 2014 @03:47PM
(#8369319)
That is special. I had a fun time parsing that. I mean that genuinely.
(c) http://code.kx.com/wsvn/code/kx/kdb%2B/c/c/k.h (c#) http://code.kx.com/wsvn/code/kx/kdb%2B/c/c.cs
This guy is truly depraved.