frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

It's insulting to read your AI-generated blog post

https://blog.pabloecortez.com/its-insulting-to-read-your-ai-generated-blog-post/
290•speckx•1h ago•151 comments

Pyrex catalog from from 1938 with hand-drawn lab glassware [pdf]

https://exhibitdb.cmog.org/opacimages/Images/Pyrex/Rakow_1000132877.pdf
116•speckx•2h ago•23 comments

Rust cross-platform GPUI components

https://github.com/longbridge/gpui-component
345•xvilka•7h ago•136 comments

Recall for Linux

https://github.com/rolflobker/recall-for-linux
455•anticensor•9h ago•185 comments

Don't forget these tags to make HTML work like you expect

https://blog.jim-nielsen.com/2025/dont-forget-these-html-tags/
248•FromTheArchives•7h ago•146 comments

Sieve (YC X25) Is Hiring Engineers to build video datasets for frontier AI

https://www.sievedata.com/
1•mvoodarla•8m ago

Microsoft in court for allegedly misleading Australians over 365 subscriptions

https://www.accc.gov.au/media-release/microsoft-in-court-for-allegedly-misleading-millions-of-aus...
122•edwinjm•2h ago•38 comments

Amazon strategised about keeping water use secret

https://www.source-material.org/amazon-leak-reveals-true-data-centres-water-usage-secret-plan/
189•chhum•5h ago•182 comments

Corrosion

https://fly.io/blog/corrosion/
120•cgb_•4d ago•51 comments

Eight Million Copies of Moby-Dick

https://thevoltablog.wordpress.com/2014/01/27/nicolas-mugaveros-eight-million-copies-of-moby-dick...
6•awalias•4d ago•1 comments

Why I'm teaching kids to hack computers

https://www.hacktivate.app/why-teach-kids-to-hack
191•twostraws•5d ago•85 comments

Geoutil.com – Measure distances, areas, and convert geo data in the browser

https://geoutil.com
104•FreeGuessr•6d ago•16 comments

Pre-emptive Z80 multitasking explainer

https://github.com/bchiha/Ready-Z80/tree/main/29-Multitasking
31•chorlton2080•4h ago•14 comments

Claude for Excel

https://www.claude.com/claude-for-excel
57•meetpateltech•59m ago•47 comments

PSF has withdrawn $1.5M proposal to US Government grant program

https://pyfound.blogspot.com/2025/10/NSF-funding-statement.html
197•lumpa•1h ago•120 comments

You are how you act

https://boz.com/articles/you-are-how-you-act
240•HiPHInch•5h ago•155 comments

How I turned Zig into my favorite language to write network programs in

https://lalinsky.com/2025/10/26/zio-async-io-for-zig.html
297•0x1997•17h ago•112 comments

Microsoft needs to open up more about its OpenAI dealings

https://www.wsj.com/tech/ai/microsoft-needs-to-open-up-more-about-its-openai-dealings-59102de8
217•zerosizedweasle•5h ago•147 comments

Viral 'Free Potatoes' Post Cost This Farmer 150 Tons of Crops

https://www.vice.com/en/article/viral-free-potatoes-post-cost-this-farmer-150-tons-of-crops/
51•xbmcuser•5d ago•28 comments

OpenBSD C/C++ Toolchain in the Browser

https://openbsd.llvm.moe/
23•todsacerdoti•3d ago•5 comments

Show HN: Write Go code in JavaScript files

https://www.npmjs.com/package/vite-plugin-use-golang
123•yar-kravtsov•11h ago•35 comments

Unexpected patterns in historical astronomical observations

https://www.su.se/english/news/unexpected-patterns-in-historical-astronomical-observations-1.855042
91•XzetaU8•4d ago•46 comments

Structure and Interpretation of Classical Mechanics (2014)

https://tgvaughan.github.io/sicm/toc.html
91•the-mitr•12h ago•37 comments

EntropyLong: Effective Long-Context Training via Predictive Uncertainty

https://arxiv.org/abs/2510.02330
5•PaulHoule•3h ago•0 comments

Show HN: MyraOS – My 32-bit operating system in C and ASM (Hack Club project)

https://github.com/dvir-biton/MyraOS
216•dvirbt•20h ago•49 comments

Sandhill cranes have adopted a Canada gosling

https://www.smithsonianmag.com/science-nature/these-sandhill-cranes-have-adopted-a-canadian-gosli...
140•NaOH•4d ago•35 comments

Ken Thompson recalls Unix's rowdy, lock-picking origins

https://thenewstack.io/ken-thompson-recalls-unixs-rowdy-lock-picking-origins/
227•dxs•1d ago•52 comments

Ask HN: Is AWS Down Again?

45•ajdude•53m ago•12 comments

What happened to running what you wanted on your own machine?

https://hackaday.com/2025/10/22/what-happened-to-running-what-you-wanted-on-your-own-machine/
314•marbartolome•8h ago•197 comments

Enchanting Imposters

https://daily.jstor.org/enchanting-imposters/
30•Petiver•5d ago•1 comments
Open in hackernews

Pre-emptive Z80 multitasking explainer

https://github.com/bchiha/Ready-Z80/tree/main/29-Multitasking
31•chorlton2080•4h ago

Comments

chorlton2080•4h ago
Accompanying video: https://youtu.be/tMYGlYO3v9U?si=e0UUzCVyMtc6L2-L
timonoko•4h ago
Funniest 8080-era multitasker was made by Siemens in 1976. Instead of allocating memory from common RAM, they just switched small RAMs mechanically. You only needed to dump registers at each switch. Particularly economical in 8080 which is not good for indexed memory models like Z80.
rwmj•1h ago
"mechanically" with relays or something? Do you know the model number?
PaulHoule•11m ago
It wasn't unusual for larger-scale microcomputers to have bank switching in the late 1970s to the mid-1980s.

RAM chips usually have a "chip enable" pin, you might have chips that have 4k of addresses that are 8 bits wide [1] and fill out the 64k address space by having 16 RAM chips, feeding the least significant 12 bits to the RAM chips and the most 4 bits to a multiplexer that goes to the 16 RAM chips. All of the RAM chips are on the bus but only the one with CE set responds.

The same kind of thinking could be applied to extend the address space past 16 bits, for instance you poke at some hardware register and that determines which chip enable pin get sets, there is really no limit on how much RAM you could attach to an 8-bit machine.

A really advanced bank switching scheme for an 8-bitter was on the TRS-80 Color Computer 3

https://www.chibiakumas.com/6809/coco3.php

where the 64k address space was divided into 8k blocks and which might be backed by 128MB (minimum), 512MB (max from radio shack) or more RAM and you poked into a table which mapped virtual blocks to physical blocks. That wasn't too different from a modern memory management system greatly scaled down with the exception that systems like that rarely if ever had a true "executive" mode so nothing stopped user mode software from poking to change the memory map. The CoCo for instance had a multitasking OS called OS-9 that did muiltitasking like described in the explained if you had the orginal Color Computer, you could get Level II that supported more memory and if you never poked at those registers, some memory protection.

[1] at least you did in 1979.

timonoko•7m ago
"Mechanically" is funnier expression. But kinda true because it switched also trunk lines in some small PBX. 8080 was bloody expensive in 1976 and RAMs were too. I only heard about because I was employed to design something similar for Telenokia.
dcminter•2m ago
[delayed]
magicalhippo•2h ago
Writing my own pre-emptive multitasker in Turbo Pascal on our x86 as a self-taught teenager was a core memory thing.

I recall spending a few days mulling over the exact sequence of instructions to save the state of the previous task without clobbering the flags or any registers.

The result was that I could register functions (procedures) as tasks with their own little stack, and it would switch preemptively between them in a round-robin fashion.

I'm not familiar with Z80 asm but from what I can gather it looks very similar to what I had. I was running in real mode so also had very limited resources for each task, and a hardcoded upper limit on the number of tasks.

While I'm wildly more productive these days, I kinda miss how not having internet made accomplishments so much greater. It's like walking up a mountain on your own vs taking a tour bus to the summit.

LarsDu88•1h ago
So now we can do timeshare Nintendo Gameboy? /s
juancn•55m ago
It made me think of https://en.wikipedia.org/wiki/SymbOS which is a quite impressive Z80 multitasking OS.
PaulHoule•48m ago
If you look at old issues of Byte magazines you see a huge number of ads for high-end S100 system vendors that sold systems that could run MP/M, a multitasking OS for the Z80

https://en.wikipedia.org/wiki/MP/M

jandrese•15m ago
It's hard to imagine getting work done on a shared Z80 machine with everybody sharing the same 64kB of memory. Z80s were already plenty slow and the working memory tight. Sharing that with other users sounds miserable.
PaulHoule•11m ago
Often they had bank switching to access more memory.
facorreia•5m ago
It would usually be lightweight data entry, and it would work as fast as people could type (which was pretty fast for dedicated data entry workers).
peterfirefly•2m ago
I had after school computer classes on a shared 8080 system running MP/M. Worked very, very well.
Martin_Silenus•44m ago
Did this on my Atari ST 68000 back in the 90s... I did not even heard about the word "preemptive" at the time (guys, I did not even know the Amiga OS did this natively), it was just an idea. Task switching every 10 or 20 HBL or so. I was so glad to have two routines running, each one changing color index 0 register to red and blue so I can see it realtime.