KxSystems/kdb
View on GitHub ↗ ★ 474 HTML
Companion files to kdb+ and q
15 mentions on Hacker News by 13 people: 0 stories, 15 comments · first 2017-11-18 · latest 2025-02-10
20082026
-
…that K developers can really read a mess like this as easily as one might read Go or whatever. https://github.com/KxSystems/kdb/blob/master/e/json.k Has anyone tested this? Take a K program and ask a K developer to explain it? Or maybe…
comment by IshKebab · 2025-02-10 · in What about K? -
…a program in k. I'm not sure exactly what it does. I think it might be a json encoder/decoder: https://github.com/KxSystems/kdb/blob/master/e/json.k
comment by Thorrez · 2025-02-10 · in What about K? -
No true Scotsman. I assume you haven't looked at the expansion of errno lately? edit: also https://github.com/KxSystems/kdb/blob/master/c/c/k.h
comment by gpderetta · 2024-05-22 · in Why not just do simple C++ RAII in C? -
…have mostly abandonned the crazy names in favour of actual words Sharing this without comments: https://github.com/KxSystems/kdb/blob/master/c/c/k.h
comment by gpderetta · 2023-09-28 · in Function Composition in Programming Languages [video] -
I'll just leave this here: https://github.com/KxSystems/kdb/blob/master/c/c/odbc.c
comment by marginalia_nu · 2022-09-24 · in Want cleaner code? Use the rule of six -
…rotating the data in a table form and using a binary serializer/deserializer (c.js provided by kdb: https://github.com/KxSystems/kdb/blob/master/c/c.js ). It's insanely faster to parse binary into js object without going through json at…
comment by secondaryacct · 2022-01-02 · in Deserializing JSON Fast (2020) -
…here’s the full solution set for the 2015 edition in around 100 loc of k. Yes, all problems. https://github.com/KxSystems/kdb/blob/master/ad.k
comment by skruger · 2021-11-21 · in Advent of Code 2021 -
…[2] https://en.wikipedia.org/wiki/Q_(programming_language_from_K... [3] https://github.com/KxSystems/kdb/blob/master/holiday.q [4] https://github.com/KxSystems/kdb/blob/master/c/c/odbc.c [5] https://github.com/KxSystems/kdb/blob/m
comment by Thorrez · 2021-11-04 · in An oral history of Bank Python -
…#define U(x) P(!(x),0) #define SW switch #define CS(n,x) case n:x;break; #define CD default 1 - https://github.com/KxSystems/kdb/blob/master/c/c/k.h
comment by gricardo99 · 2020-01-30 · in Let's Destroy C -
Surprised nobody talks about the kdb codding style: https://github.com/KxSystems/kdb/blob/master/c/c/k.h
comment by vhb · 2018-10-15 · in Alternative code styles -
Recently I came across some code that checks quite a few boxes in this guide. Check it out: https://github.com/KxSystems/kdb/blob/master/c/c/k.h https://github.com/KxSystems/kdb/blob/master/c/c/odbc.c
comment by alexeiz · 2018-08-17 · in How to Write Unmaintainable Code (2017) -
Welp, you were not kidding: https://github.com/KxSystems/kdb/blob/master/c/c/curl.c This code is basically obfuscated by hand. Absolutely unapproachable. Only the original author(s) can understand it. Judging by other comments, it seems to…
comment by kolme · 2017-12-12 · in The Q Language -
…P(x,y) {if(x)R(y);} #define U(x) P(!(x),0) #define SW switch #define CS(n,x) case n:x;break; https://github.com/KxSystems/kdb/blob/master/c/c/k.h#L96 Or this wall of code: https://github.com/KxSystems/kdb/blob/master/c/c.cs
comment by modeless · 2017-12-12 · in The Q Language -
I was kind of happy to find some java code this time around - who says java needs to be verbose? https://github.com/KxSystems/kdb/blob/master/c/jdbc.java
comment by e12e · 2017-11-18 · in Kdb+ and Python: EmbedPy and PyQ -
I like it when kdb is mentioned because then I can post this link: https://github.com/KxSystems/kdb/blob/master/c/c/k.h#L96 It's one of my all-time favorites. A window into a certain type of mind.
comment by bkeroack · 2017-11-18 · in Kdb+ and Python: EmbedPy and PyQ