frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

I Write Games in C (yes, C)

https://jonathanwhiting.com/writing/blog/games_in_c/
66•valyala•2h ago•33 comments

SectorC: A C Compiler in 512 bytes

https://xorvoid.com/sectorc.html
40•valyala•2h ago•4 comments

Brookhaven Lab's RHIC Concludes 25-Year Run with Final Collisions

https://www.hpcwire.com/off-the-wire/brookhaven-labs-rhic-concludes-25-year-run-with-final-collis...
14•gnufx•1h ago•1 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
131•AlexeyBrin•8h ago•25 comments

The AI boom is causing shortages everywhere else

https://www.washingtonpost.com/technology/2026/02/07/ai-spending-economy-shortages/
143•1vuio0pswjnm7•9h ago•170 comments

We Mourn Our Craft

https://nolanlawson.com/2026/02/07/we-mourn-our-craft/
256•ColinWright•2h ago•295 comments

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
839•klaussilveira•22h ago•251 comments

Stories from 25 Years of Software Development

https://susam.net/twenty-five-years-of-computing.html
77•vinhnx•5h ago•9 comments

U.S. Jobs Disappear at Fastest January Pace Since Great Recession

https://www.forbes.com/sites/mikestunson/2026/02/05/us-jobs-disappear-at-fastest-january-pace-sin...
197•alephnerd•3h ago•141 comments

Al Lowe on model trains, funny deaths and working with Disney

https://spillhistorie.no/2026/02/06/interview-with-sierra-veteran-al-lowe/
57•thelok•4h ago•8 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
1068•xnx•1d ago•615 comments

Reinforcement Learning from Human Feedback

https://rlhfbook.com/
87•onurkanbkrc•7h ago•5 comments

Start all of your commands with a comma (2009)

https://rhodesmill.org/brandon/2009/commands-with-comma/
497•theblazehen•3d ago•186 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
218•jesperordrup•13h ago•80 comments

Show HN: I saw this cool navigation reveal, so I made a simple HTML+CSS version

https://github.com/Momciloo/fun-with-clip-path
19•momciloo•2h ago•1 comments

Coding agents have replaced every framework I used

https://blog.alaindichiappari.dev/p/software-engineering-is-back
239•alainrk•7h ago•378 comments

France's homegrown open source online office suite

https://github.com/suitenumerique
583•nar001•7h ago•260 comments

The F Word

http://muratbuffalo.blogspot.com/2026/02/friction.html
5•zdw•3d ago•0 comments

A Fresh Look at IBM 3270 Information Display System

https://www.rs-online.com/designspark/a-fresh-look-at-ibm-3270-information-display-system
42•rbanffy•4d ago•8 comments

Selection Rather Than Prediction

https://voratiq.com/blog/selection-rather-than-prediction/
10•languid-photic•3d ago•1 comments

72M Points of Interest

https://tech.marksblogg.com/overture-places-pois.html
32•marklit•5d ago•4 comments

Microsoft Account bugs locked me out of Notepad – are Thin Clients ruining PCs?

https://www.windowscentral.com/microsoft/windows-11/windows-locked-me-out-of-notepad-is-the-thin-...
15•josephcsible•46m ago•10 comments

History and Timeline of the Proco Rat Pedal (2021)

https://web.archive.org/web/20211030011207/https://thejhsshow.com/articles/history-and-timeline-o...
19•brudgers•5d ago•4 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

https://arcadeblogger.com/2026/02/02/unseen-footage-of-atari-battlezone-cabinet-production/
116•videotopia•4d ago•35 comments

Where did all the starships go?

https://www.datawrapper.de/blog/science-fiction-decline
84•speckx•4d ago•94 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
280•isitcontent•23h ago•38 comments

Learning from context is harder than we thought

https://hy.tencent.com/research/100025?langVersion=en
203•limoce•4d ago•112 comments

Monty: A minimal, secure Python interpreter written in Rust for use by AI

https://github.com/pydantic/monty
291•dmpetrov•23h ago•156 comments

Show HN: Kappal – CLI to Run Docker Compose YML on Kubernetes for Local Dev

https://github.com/sandys/kappal
23•sandGorgon•2d ago•13 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
560•todsacerdoti•1d ago•272 comments
Open in hackernews

LFSR CPU Running Forth

https://github.com/howerj/lfsr-vhdl
73•izabera•8mo ago

Comments

kragen•8mo ago
This is pretty cool. There were some LFSR-PC CPUs back in the 70s such as the TMS 1000 used in the Speak&Spell https://github.com/mikeakohn/tms1000_fpga (its Data Manual omits mention of this, but the Programmer's Reference Manual does mention it https://ia800306.us.archive.org/27/items/bitsavers_tiTMS1000...), and of course the Atari 2600 TIA raster generator is famous for using an LFSR counter for horizontal position. Ken Shirriff has also documented the use of an LFSR counter for tone generation in the UM66T greeting-card music chip http://www.righto.com/2021/12/reverse-engineering-tiny-1980s... and for Pentium self-test circuitry http://www.righto.com/2025/01/pentium-carry-lookahead-revers... and for DTMF tone generation.

It occurred to me recently that an LFSR-pc CPU could avoid having an address field in its conditional jump instructions, instead doing something like complementing a PC bit. There have been conventional counter-based CPUs that did something like this: Data General's NOVA and HP's RPN calculators had conditional-skip instructions which would skip over the next instruction without executing it if the condition was false. But it was usually a jump instruction, so it didn't really save you space. (The TMS 1000's conditionals also worked this way, but could only skip branch and call instructions.)

By contrast, in an LFSR, complementing a bit or incrementing the value takes you potentially far away in the address sequence. The assembler might have to insert NOPs to resolve the occasional collision.

The TMS 1000 program counter had an additional twist: it was only 6 bits, but to enable programs of more than 64 instructions, there were multiple 64-byte "pages" of ROM. The page address register was potentially updated on branches, calls, and returns, but not for normal program sequencing. I'm not sure if this actually saved any transistors, but it meant that normal branch instructions only needed a 6-bit field. An additional "load page buffer" instruction was needed for far jumps and calls, and the page buffer register remained loaded with the return page until the return instruction. (Subroutine calls within subroutines were not supported.)

https://electronics.stackexchange.com/questions/186762/first... claims that the TMS 1000 had 8000 transistors, which seems really inefficient compared to things like the 4004 and the MuP21.

jecel•8mo ago
Didn't the TMS 1000 include the processor, i/o, ROM and RAM? All that in 8K transistors seems frugal.
kragen•8mo ago
That's a good point. It's more like an 8051 than a 4004, and the 8051 was 50k transistors.
nullc•8mo ago
If you had a pallet of a couple possible jump instructions that different twiddle the counter you might be able to use a solver to resolve collisions in the spirit of ribbon filters ( https://engineering.fb.com/2021/07/09/core-infra/ribbon-filt... ).
howerj•8mo ago
I had a lot of fun writing this and it is great to see this submitted here, I just did it to see what was possible. It is an incredibly niche processor with little practical use. If you have any questions let me know.

I have also started contracting in the UK and I'm looking for work, details are in my profile.

kragen•8mo ago
You may be interested in #forth on Libera, though it's unlikely to lead to work.
sph•8mo ago
It’s unlikely to find paid Forth work, though I hope there is still someone hiring engineers that write Forths and LFSR CPUs in their spare time. One will find they are quite versatile and eager to learn :)
howerj•8mo ago
Ah yeah, I'm not looking for Forth work, it would be nice, but not likely. Just C/C#/.Net/Linux and Embedded work.
alexisread•8mo ago
Nothing involving forth (only Java really) where I'm working, but I wanted to send some appreciation for Embed forth (meta-compiler), the documentation is particularly good :)
artemonster•8mo ago
I have used the same LFSR-PC trick for my relay CPU:

https://github.com/artemonster/relay-cpu

Instead of having 24 relays to have a 12bit incrementer (a full adder requires 4 DPDT relays per bit or 2 quad relays) I only have 3 relays for 3 XORs :)

tyrellj•8mo ago
I got lost in the weeds following links for a bit. Had not heard of LFSR before, which I think is odd, and then onto some other things like Subleq and OISC. I've at least seen other OISCs before, it might have even come up on hn around x86 mov, I'm not sure. I really regret not taking more hardware/electronics courses in college.
jsd1982•8mo ago
Wouldn't this make it somewhat more challenging for assemblers/compilers to emit branch instructions with target PC offsets?

For instance, the offset of an instruction two instructions away would be calculated as `lfsr(lfsr(pc))` (off-by-one bugs notwithstanding), right?

anthk•8mo ago
If the PC offsets are non-repeating, you would just create a table from a known start. Kinda like Ouruborus, or the Humming distance between vertexes in a cube without repeating.
nullc•8mo ago
LFSR IP seems like one of the optimizations that would show up in a CPU designed for the absolute lowest energy per operation. Sadly many of the most interesting low energy optimizations will be at the analog/transistor level-- or even from optimizing across that boundary--, taking them out of the realm of hobbiests.
dmitrygr•8mo ago
instruction set design is reminiscent of PDP8