23 comments

[ 2.4 ms ] story [ 56.9 ms ] thread
I've tried to use AoC and Project Euler to learn k, but I've given up in the past because there are multiple versions of k interpreters & tutorials out there with subtly different language behavior. And running code from one version of the language in another interpreter results in obscure errors or crashes.

It would be nice if this repo specified the exact binaries used so that the results would be reproducible.

As far as I know, there's only one q, which is the query language of kdb+, implemented in k4.
This will be for kdb+. (Nick Parsis wrote a very good book on it, Stephen Taylor is the Librarian at KX)
I thought it is going to be Q#
I thought this was gonna be a political post about progressive politicians and far-right conspiracies
I had to click the link because I sadly thought the same thing as well.
(comment deleted)
Rumor has it, a young Arthur Witney's cat once walked across his keyboard. He jumped out of his chair in great joy and exclaimed "By God, Senor Mittens! This is it! This is how my programming language will look!"
This cat only knew K, q is much more readable ;)
The operator space of TECO was apparently sufficiently dense that hackers of yore could ask each other "what does your name/handle do as a TECO command?"
Apparently "AOC" is also this electronics warfare advocacy org, and definitely not a Batman archenemy secret society.

https://en.wikipedia.org/wiki/Association_of_Old_Crows

Yes, the acronym could use expanding in the title
To be clear, the submission title used to be something like "AOC 2022 in q"
They have published some really interesting books on EW during the cold war. The volume I have has a lot of info that I've been unable to find anywhere else.
I've created a similar repo of puzzles, including Advent of Code, but solved in the Whitespace programming language. Even otherwise easy puzzles are made significantly more difficult in Whitespace, as it is a quite low-level language. The control flow feels like coding in assembly and the stack paradigm feels like a Forth. The challenge is fun, though, and I'm filling in the gaps of my (unofficial) standard library as I go.

https://github.com/andrewarchi/ws-challenges

I thought AOC is the congresswoman and Q was either a queue or Qanon. None of it was correct.
Is there an open-source implementation of Q? Syntactically, it seems more approachable than other array languages, especially due to the use of identifiers instead bespoke symbols for non-standard operators.