Viewing profile — gabiteodoru
gabiteodoru
HN member- Joined
- Mon, Feb 02, 2015, 1:11 AM UTC
- HN karma
- 130
- Public activity
- 16 items
- HN profile
- View on Hacker News ↗
About gabiteodoru
Recent public activity
-
comment
Comment #45648071
Do you know which method is this? Euler's by any chance? And do you have an idea how one would prove that it creates a magic square? It's actually one of my inspirations for writin…
-
comment
Comment #45646990
Oh nice solution, thanks for sharing!
-
comment
Comment #45646939
Perhaps if we also trained them on natural language ASTs at the same time when asking the questions? :)
-
comment
Comment #45646897
It did go back on itself 3 times, no? "Actually, let’s trace for x=3:" (it had just computed for x=3 the first time); then "Better to check actual q output:" -- did it actually run…
-
comment
Comment #45646826
Author here. Majromax challenged me to test `i = 1 + i`, which broke my theoretical framework. While setting up that experiment, I realized I hadn't used chat templates in my origi…
-
comment
Comment #45646795
Thanks so much for this challenge! I just ran the experiment with i = 1 + i and you're absolutely right - it breaks my theoretical framework (same semantic information, but much hi…
-
comment
Comment #45598425
I agree with you, though in the q world people tend to take it to the extreme, like packing a whole function into a single line rather than a single screen. Here's a ticker plant s…
- story
-
comment
Comment #44554213
But then you're not flexing your q muscles. Btw this is from the cookbook, these obfuscated patterns are actually recommended! https://code.kx.com/phrases/matrix/#identity-matrix-o…
-
comment
Comment #44554200
Yep, that's exactly what my MCP server is doing -- write in a Python-like language (I called in Qython), parse into AST tree, write the q code.
-
comment
Comment #44516009
Or, even better, also from the cookbook: {(2#x)#1,x#0} But this really borders on obfuscation :P
-
comment
Comment #44515986
Those github links are so cool, thanks for sharing! :)
-
comment
Comment #44515832
I think a translation layer to a lower-density language might be a good solution; e.g. Iverson's divisible-by-11 check, 0=11|-/d, can be verbosely done in Python with import numpy …
-
comment
Comment #44515620
:D Well I'm still building Qython, but if your colleague has some example code snippets they think particularly difficult to translate, I'd love to take on the challenge!
- story
-
comment
Comment #8982329
Delivery to the following recipient failed permanently: hiring+david@longshotsystems.co.uk