News for hackers. Stuff that matters.

busfahrer

Re:your C is not standard C on Friday October 16, 2026 @04:25AM (#50115670)
For the few people on HN who might not get the reference:

"You are in a maze of twisty compiler features, all different" is a riff on the game Colossal Cave Adventure ("you are in a maze of twisty little passages, all alike")

Re:Anthropic thinks its AI might be conscious on Friday October 16, 2026 @02:29AM (#50114855)
This fits in with two phrases I have observed ChatGPT saying the past weeks:

1) "What I like to do is ..." when asked about some coding idioms

2) "I think that ...", I don't remember the context

It has never used phrasing like that in the past, I feel (correct me if I'm wrong)

Re:Be The Onion's Hero for Once on Monday October 12, 2026 @09:09AM (#50055928)
I never realized that The A.V. Club started out as a supplement to The Onion:

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

https://en.wikipedia.org/wiki/The_A.V._Club

Re:Show HN: Entombed in a Raycaster on Tuesday October 06, 2026 @02:35AM (#49975004)
The 2600 VCS is really interesting. It didn't even have a framebuffer, so painting pixels was done scanline by scanline and you had to be done with your scanline in a certain amount of CPU cycles, which meant you had to count them and know which instruction took how long.

It only had 128 bytes RAM, that's bytes, not KB.

A real technical marvel is the chess game for the 2600. Since the sprite capabilities were so primitive, they couldn't even draw all pieces in a single scanline, they had to alternate scanlines so that they could even draw all chess pieces, and that's not even mentioning the fact that they somehow made a chess playing algorithm work in 128 Bytes of RAM.

Re:Ember-1 on Monday September 28, 2026 @06:43AM (#49876000)
I use this solution for your exact use case:

I have a single command that fires up llama.cpp on cpu only using gemma4 e2b, answers a single question from the command line and exits. This takes about 3 seconds to load from an SSD, and is smart enough to solve exactly these "remind me of the syntax" scenarios if you dont wanna switch to a browser.

Re:Jev in 25 Lines of Python on Wednesday September 23, 2026 @09:28AM (#49815812)
I use ROT13 twice for extra security
Can confirm, it's very much Hiro Protagonist. I love the style, and the over-the-topness of it all made more sense once I learned that it was originally planned as a graphic novel, IIRC.

Gibson's style is much more post-modern. I read Neuromancer right after Gravity's Rainbow and expected some reprieve from dense prose, but it was almost the same difficulty level, especially for a non-native reader.

edit: Adding my favorite Snow Crash quote:

> When it gets down to it — talking trade balances here — once we've brain-drained all our technology into other countries, once things have evened out, they're making cars in Bolivia and microwave ovens in Tadzhikistan and selling them here — once our edge in natural resources has been made irrelevant by giant Hong Kong ships and dirigibles that can ship North Dakota all the way to New Zealand for a nickel — once the Invisible Hand has taken away all those historical inequities and smeared them out into a broad global layer of what a Pakistani brickmaker would consider to be prosperity — y'know what? There's only four things we do better than anyone else:

> music

> movies

> microcode (software)

> high-speed pizza delivery

> The future is here, it's just not evenly distributed.

One of my favourite Gibson quotes.

I am eyeing one of these specifically for this use case, could you please post roughly what kind of tokens per second numbers you get for text generation for this 27B model?

edit: and which quant you are using, please :-)

Re:Quake – 30th Anniversary Update on Friday August 07, 2026 @10:51AM (#49211376)
Fun fact: The pattern of the torches' flickering is encoded via special strings in the source code:

https://jasemagee.com/post/2022-03-27-26-year-old-quake-ligh...

Re:Building a Tiny 3D Renderer for a Tiny Handheld on Saturday July 25, 2026 @07:46AM (#49046782)
For anyone who enjoys this sort of thing, I found this postmortem of an Alone in the Dark clone for PICO-8 highly informative:

https://www.lexaloffle.com/bbs/?tid=3804

has anyone been able to get bonsai models to run at a proper speed in a x86 windows cpu-only setting, using llama.cpp?
Re:What loss.backward() actually does on Friday July 17, 2026 @03:26AM (#48944317)
For anybody else trying to grok backprop, I found it very helpful to look at karpathy's microgpt, a barebones LLM in 200 lines of python. The autograd itself is just 40 lines, and reading that code and then trying to do a clean room implementation of it is a great exercise:

https://gist.github.com/karpathy/8627fe009c40f57531cb1836010...

https://karpathy.github.io/2026/02/12/microgpt/

Re:My Story of 3D Realms / Apogee Part I (2020) on Friday July 10, 2026 @06:03AM (#48857937)
As a kid I played Ken's Labyrinth, a raycaster FPS from around the same time as Wolf3D. Only years later I found out that this was actually the same Ken Silverman that went on to create the Build engine for Duke Nukem 3D etc. Kind of funny considering the vast difference in tone between these two games.

edit:

https://en.wikipedia.org/wiki/Ken%27s_Labyrinth

I'm on the fence because I have a TSC-X controller and it's unclear if it's supported. Somebody on the forums posted a tool that converts generic joystick axes to keypresses, but not sure how well that works.
Re:A Road to Lisp: Why Lisp on Thursday July 09, 2026 @01:40PM (#48849695)
> Or maybe Lisp is so pure that it embodies both Light Side and Dark Side, like a god that spawned the programming universe.

This isn't so far off, considering that some people consider the "Lisp in Lisp" bit from the 1.5 manual to be the "Maxwell's Equations in Software":

https://michaelnielsen.org/ddi/lisp-as-the-maxwells-equation...

Re:PlayStation Architecture on Thursday June 04, 2026 @04:01AM (#48395591)
The PS1 architecture is fascinating - it will also reveal why PS1 games have such a unique, recognizable style that games are trying to recreate nowadays.
Re:Artificial intelligence is not conscious – Ted Chiang on Thursday June 04, 2026 @03:57AM (#48395562)
To add some context, the author of this article is a science fiction writer, one of his stories was adapted into the movie "Arrival".
Not a one-liner, but I was impressed by this simple rogue-like written in 10 lines of BASIC:

https://bunsen.itch.io/the-snake-temple-by-rax

Re:Lisp in Vim (2019) on Sunday May 24, 2026 @06:50AM (#48256203)
Having only dabbled in Lisp and knowing nothing about the plugins TFA mentions, there's also this FWIW:

https://github.com/jpalardy/vim-slime

Thank you, good sir!
Great, thanks! :-) and to mirror another poster: what kind of prompt parsing (prefill) speed do you get for that model? Also how is the speed for the 27B model?
I have been contemplating a M5 Pro MBP, but for the life for me I wasn't able to find benchmarks for real-world models, do you happen to know how many tokens per second roughly you get with MoE models like Qwen 3.6 35B/A3B or Gemma 4 26B?
Re:Map of Metal on Wednesday May 20, 2026 @08:05AM (#48206375)
Seeing as this is HN, I was expecting something on chemical properties of iron etc, but was pleasantly surprised
Re:S-100 Virtual Workbench on Thursday May 14, 2026 @01:21PM (#48138327)
OTOH, with the IMSAI-8080 you'd have the satisfaction of using the same machine as David Lightman of Wargames fame
Re:UnDUNE II on Tuesday May 12, 2026 @10:59AM (#48109301)
To add some context, this was made for the PICO-8 fantasy console, which (by design) is very limited, so it's immensely impressive to see something like this working on it. Honestly, even just the 3D logo from the intro is impressive, and the rest of the game even moreso.

https://www.lexaloffle.com/pico-8.php

Re:Rust but Lisp on Monday May 11, 2026 @09:58AM (#48095115)
So I'm guessing it's sort of like Fennel, which consciously doesn't completely hide its underlying Lua runtime?

https://fennel-lang.org/

Re:Running local models on an M4 with 24GB memory on Monday May 11, 2026 @07:00AM (#48093411)
I am considering a M5 Pro (18/20C) Macbook with 64GB of RAM, but I'm having a really hard time finding benchmarks of real world models:

Could somebody please provide some tokens-per-second numbers for example for Qwen 3.6 35B/A3B, specifically for Q4 and Q6 quants?

Re:Train Your Own LLM from Scratch on Tuesday May 05, 2026 @07:58AM (#48021253)
This is the whole point of Karpathy's nanochat which OP refers to, to train a GPT-2 level LLM for under $100, renting an 8xH100 VM.

Older »