Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ekipan
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
ekipan
5mo ago
Doc excerpts, as a teaser: - SDF JKL layout keeps me on home row, ready to type Forth. - 39 columns source text to fit the C64 screen. - `0 prof` patches the first instruction to an `rts`, disabling the profiler. `1 prof` restor
2.
▲
Show HN: Code garden deep-dive: my Forth C64 tetromino game
(github.com)
3 points
by
ekipan
5mo ago
|
1 comments
3.
▲
by
ekipan
6mo ago
> - Function composition was being used as a binary operator between two functions. You just replaced the infix notation with prefix notation. That's incorrect. Here's the definition of function compose: (f . g) x = f (g x)
4.
▲
by
ekipan
6mo ago
From the article: length = foldr (+) 0 . map (const 1) length2d = foldr (+) 0 . map length -- and the proposed syntax the author calls more readable: length = foldr((+), 0, $) . map(const(1), $) length2d = foldr((+),
5.
▲
by
ekipan
7mo ago
Yeah, this. Plus a mistake from the article: $ echo '*\n!.gitignore' > build/.gitignore The \n won't be interpreted specially by echo unless it gets the -e option. Personally if I need a build directory I just
6.
▲
by
ekipan
7mo ago
"Agreement" of time is probably nonsense, yeah. I realized after posting so I edited in the parenthetical, but as [3] notes, locality probably makes this less of a real issue. Apparently with the birthday paradox 32 bit random IDs
7.
▲
by
ekipan
7mo ago
I forget the context but the other day I also learned about Snowflake IDs [1] that are apparently used by Twitter, Discord, Instagram, and Mastodon. Timestamp + random seems like it could be a good tradeoff to reduce the ID sizes and still
8.
▲
by
ekipan
7mo ago
I think everyone agrees with the sentiment but practically speaking that ship sailed decades ago. Browsing the web without uBlock or similar is ill-advised. Morbidly curious, I turned off my blockers and it's not as bad as I expected h
9.
▲
by
ekipan
7mo ago
> And they keep forgetting the purpose of software is to serve users, not developers. I don't have any horse in the game, but I do think Zig is interesting. This remark is funny to me because it's literally one of the tenets th
10.
▲
by
ekipan
7mo ago
Oh, it's a list you can add to your uBO. I thought it was a descriptive headline: "(The) uBlock filter list (is going) to hide ..." I only watch Youtube via browser now for both adblocking and my own custom userscripts, both
11.
▲
by
ekipan
7mo ago
It seems to me that AI is mostly optimized for tricking suits into thinking they don't need people to do actual work. If I hear "you're absolutely right!" one more time my eyes might roll all the way back into my head. S
12.
▲
by
ekipan
7mo ago
I actually have the below clashes function in my bashrc to detect overloaded names, and a few compgen aliases for sorted formatted command lists. Clashes takes a few seconds to chew through the 3000ish commands on my Steam Deck. I also di
13.
▲
by
ekipan
8mo ago
(Edit: in the old post title:) "everything is a value" is not very informative. That's true of most languages nowadays. Maybe "exclusively call-by-value" or "without reference types." I've only read t
14.
▲
by
ekipan
8mo ago
Strange. Middle-clicking the link opens a HackerNews frontpage, but copypasting into a new tab shows the article. Presumably the server shoos away referer links? To reduce load maybe somehow? Or maybe something's weird in my own config
15.
▲
by
ekipan
8mo ago
Haskell, then. f x = let y = x + 1 in y + 1 Same deal. In (f 3), y = 4, in (f 7), y = 8. y varies but cannot mutate. Should be a true enough Scottsman.
16.
▲
by
ekipan
8mo ago
Mutability is distinct from variability. In Javascript only because it's a pretty widely known syntax: const f = (x) => { const y = x + 1; return y + 1; } y is an immutable variable. In f(3), y is 4, and in
17.
▲
by
ekipan
9mo ago
That makes me sad. I also love Posy's content, I'm using his cursors right now, and this new knowledge that there is some of it I cannot see gives me real consumerist FOMO anxiety. A little digging and I couldn't find anythin
18.
▲
by
ekipan
9mo ago
Shoutouts to SimpleFlips: https://www.wario.style/s/BRwFnLDe TTYD File Select: https://www.wario.style/s/paznaBKf Chemical Plant Zone: https://www.wario.style/s/L7kD5jJP Robo
19.
▲
by
ekipan
9mo ago
Wanted features: (1) a way to preview the original MIDI again from a share link like this so I could still compare. Searching "ABBA Gimme Gimme Gimme" found one with the title "ABBA Gimme Gimme Gimme L" so I can't b
20.
▲
by
ekipan
9mo ago
Cool enough I suppose, but the framing had me expecting the more farty twisted squarenoise instruments like in Wario Lands 1-3, and less smooth sines and squares. I tried out Kimi No Shiranai Monogatari and Daft Punk's Aerodynamic. ht
21.
▲
by
ekipan
9mo ago
A fine sentiment, and would probably even be somewhat enforceable, as most AI slop is pretty obvious, but I suspect a lot isn't. You'd have to decide where to draw the line. How much LLM assistance transitions a work from HackerNe
22.
▲
by
ekipan
9mo ago
I'm sad that Platine Dispositif pulled their games. Chelsea Has to Beat the Seven Devils to Death (known more widely in English as Bunny Must Die) was a lot of fun and one day I'd like to play some of their others, but they mostly
23.
▲
by
ekipan
9mo ago
This is a tangent on language semantics (of the English kind) instead of engaging with the (interesting!) narrative on miscompiles. Feel free to skip. > A compiler is a translator that translates between two different languages. I lament
24.
▲
by
ekipan
9mo ago
I confess I'm still pretty new to git. I haven't had a very long time to wed myself to git's index and its presence makes me do extra ceremony that I resent whenever I want to polish my graph for my personal projects. The mai
25.
▲
by
ekipan
9mo ago
I've not tried jj yet so I can only speak to impressions, and those impressions appeal to me a lot. My understanding is that jj amends all the changes in _now_ so there's only one place where changes live: the commit graph. No ind
26.
▲
by
ekipan
9mo ago
Hard agree. Literally every Windows editor I've ever used, except Notepad, allows me to configure it to save CRLF or LF or sometimes even CR files. And I always just leave it on LF because it's easier. Old Notepad support should n
27.
▲
by
ekipan
9mo ago
You could try posting both at the LLM and ask it to explain the stuff I changed, if you're interested in learning more Javascript. Assuming you aren't already deep in the JS trenches and only vibed bc you couldn't be bothered
28.
▲
by
ekipan
9mo ago
Cannot stand robot code. Thanks for the genuinely cool thing though. I hope you don't mind me rewriting, if only for my own satisfaction. { const s = window.scroller = {} const press = (key, code) => () => docum