frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Writing an operating system kernel from scratch

https://popovicu.com/posts/writing-an-operating-system-kernel-from-scratch/
108•Bogdanp•2h ago•18 comments

Models of European metro stations

http://stations.albertguillaumes.cat/
562•tcumulus•11h ago•112 comments

Why We Spiral

https://behavioralscientist.org/why-we-spiral/
63•gmays•3h ago•22 comments

You're a Slow Thinker. Now What?

https://chillphysicsenjoyer.substack.com/p/youre-a-slow-thinker-now-what
45•sebg•3d ago•13 comments

Bank of Thailand freezes 3M accounts, sets daily transfer limits to curb fraud

https://www.thaienquirer.com/57752/bot-freezes-3-million-accounts-sets-daily-transfer-limits-of-5...
136•walterbell•3h ago•109 comments

Nicu's test website made with SVG (2007)

https://svg.nicubunu.ro/
102•caminanteblanco•3h ago•66 comments

Observable Notebooks Data Loaders

https://observablehq.com/notebook-kit/data-loaders
40•mbostock•4d ago•6 comments

Repetitive negative thinking associated with cognitive decline in older adults

https://bmcpsychiatry.biomedcentral.com/articles/10.1186/s12888-025-06815-2
95•redbell•7h ago•59 comments

CorentinJ: Real-Time Voice Cloning (2021)

https://github.com/CorentinJ/Real-Time-Voice-Cloning
64•redbell•7h ago•16 comments

Geedge and MESA leak: Analyzing the great firewall’s largest document leak

https://gfw.report/blog/geedge_and_mesa_leak/en/
334•yourapostasy•1d ago•95 comments

Read to Forget

https://mo42.bearblog.dev/read-to-forget/
48•diymaker•5h ago•16 comments

SpikingBrain 7B – More efficient than classic LLMs

https://github.com/BICLab/SpikingBrain-7B
109•somethingsome•12h ago•31 comments

Fukushima Insects Tested for Cognition

https://news.cnrs.fr/articles/fukushima-insects-tested-for-cognition
81•nis0s•8h ago•52 comments

A single, 'naked' black hole confounds theories of the young cosmos

https://www.quantamagazine.org/a-single-naked-black-hole-rewrites-the-history-of-the-universe-202...
139•pykello•14h ago•58 comments

macOS Tahoe is certified Unix 03 [pdf]

https://www.opengroup.org/openbrand/certificates/1223p.pdf
139•john_alan•7h ago•134 comments

Refurb Weekend: Silicon Graphics Indigo² Impact 10000

http://oldvcr.blogspot.com/2025/09/refurb-weekend-silicon-graphics-indigo.html
133•Bogdanp•12h ago•47 comments

Show HN: A store that generates products from anything you type in search

https://anycrap.shop/
992•kafked•1d ago•296 comments

Two Slice, a font that's only 2px tall

https://joefatula.com/twoslice.html
443•JdeBP•18h ago•108 comments

The PC was never a true 'IBMer'

https://thechipletter.substack.com/p/the-pc-was-never-a-true-ibmer
50•klelatti•9h ago•38 comments

MIT-MC CP/M archive files, 1979-1984

https://github.com/MITDDC/cpmarchive-1979-1984
46•elvis70•3d ago•1 comments

High Altitude Living – 8,000 ft and above (2021)

https://studioq.com/blog/2021/5/30/high-altitude-living-8000-ft-and-above-2450-meters
65•walterbell•15h ago•51 comments

Pass: Unix Password Manager

https://www.passwordstore.org/
285•Bogdanp•19h ago•149 comments

Gemini (2023)

https://geminiquickst.art/
59•jhanschoo•9h ago•26 comments

Dynamic Bird Migration Map

https://explorer.audubon.org/explore/species?sidebar=expand
71•skadamat•4d ago•9 comments

The Socratic Journal Method: A Simple Journaling Method That Works

https://mindthenerd.com/the-socratic-journal-method-a-simple-journaling-method-that-actually-works/
159•surprisetalk•4d ago•68 comments

Introduction to GrapheneOS

https://dataswamp.org/~solene/2025-01-12-intro-to-grapheneos.html
76•renehsz•4d ago•60 comments

Will AI be the basis of many future industrial fortunes, or a net loser?

https://joincolossus.com/article/ai-will-not-make-you-rich/
197•saucymew•20h ago•285 comments

The unreasonable effectiveness of modern sort algorithms

https://github.com/Voultapher/sort-research-rs/blob/main/writeup/unreasonable/text.md
117•Voultapher•3d ago•36 comments

How the restoration of ancient Babylon is drawing tourists back to Iraq

https://www.theartnewspaper.com/2025/09/12/how-the-restoration-of-ancient-babylon-is-helping-to-d...
103•leoh•18h ago•50 comments

AMD’s RDNA4 GPU architecture

https://chipsandcheese.com/p/amds-rdna4-gpu-architecture-at-hot
150•rbanffy•21h ago•36 comments
Open in hackernews

Writing an operating system kernel from scratch

https://popovicu.com/posts/writing-an-operating-system-kernel-from-scratch/
108•Bogdanp•2h ago

Comments

lordleft•2h ago
I will never not find this kind of project incredibly impressive. It’s interesting to think that Linux, after all, is really just the kernel — and yet getting that work done paved the way to getting an open source version of Unix installed on billions of machines. Great stuff!
hollerith•2h ago
It is equally valid to say that Stallman's starting to write a C compiler and Unix utilities (in 1984 whereas the Linux project started in late 1991) paved the way to getting an open source version of Unix installed on billions of machines.
kimixa•1h ago
I agree - there's a number of kernels that were "open source" and released at a similar time enough time to linux (e.g. 386BSD in '92) that I could see any of those winning the "community battle" and taking that space instead, but no real credible "development toolchain" equivalent until decades later.

Though I'm unsure how differing licenses might have affected this - I suspect that really early in it's development the "copyleft" nature of the GPL Linux didn't make as much of a difference, as from what I remember most commercial uses of Linux didn't come until it had already gained significant momentum.

treyd•52m ago
The copyleft nature was essential to good driver support. It set it up such that for corporations making drivers the easiest path was to get the driver upstreamed. There was a bunch of hoops they could have gone through to avoid that (as many did, like Nvidia) but that became a sorta-default.

Copyleft encourages a collaborative relationship between entities because it makes trying to play it close to the chest with IP involve more legal effort (if it's possible at all).

kimixa•42m ago
Yes, I can see that stalling development as (at best) it turns into a pile of private forks rather than a cohesive project, but from what I remember that was already after Linux had "won" the "Open Source Kernel" race.

Commercial support for Linux was... Sparse... before the early 2000s.

diath•52m ago
It's even more funny and amusing when you remember that in the initial release mail for Linux, Torvals said "just a hobby, won't be big and professional like gnu".

https://groups.google.com/g/comp.os.minix/c/dlNtH7RRrGA/m/Sw...

chuckadams•21m ago
He's also referred to Linux as "the GNU Emacs of all terminal emulators".
Someone•45m ago
> I will never not find this kind of project incredibly impressive

I wouldn’t call it incredibly impressive. The path on how to write a minimal multi-tasking kernel has been beaten decades ago.

Writing a kernel that can boot and do a few things is ‘just’ a matter of being somewhat smart and have some perseverance. Doing it for RISC-V complicates things a bit compared to x86, but there, too, the information about initialising the hardware often is easily obtained (for example: https://wiki.osdev.org/RISC-V_Meaty_Skeleton_with_QEMU_virt_... I wouldn’t know whether this project used that)

I think the author agrees, given (FTA) that they wrote “This is a redo of an exercise I did for my undergraduate course in operating systems”

It’s work, may be nice work, but I think everybody with a degree in software engineering could do this. Yes, the OS likely will have bugs, certainly will have rough edges, but getting something that can multi-process, with processes shielded from each other by a MMU isn’t hard anymore.

gertop•20m ago
> I think everybody with a degree in software engineering could do this

Ideally this would be true, but it hasn't been my experience at all. At least with American graduates, I can't speak to other countries.

d_sem•7m ago
Is there a book one can read to learn how to create one?
WD-42•1h ago
Zig really is amenable to OS development. And so is RISC-V. I started this same exercise except with x86 first. I quickly got annoyed with all the legacy boilerplate required. RISC-v doesn’t have any of that. It’s so much faster to get up and running. Here’s my bad zig: https://github.com/Fingel/aeros-v
toast0•1h ago
> with x86 first. I quickly got annoyed with all the legacy boilerplate required.

IMHO, if you use a reasonable bootloader, you don't have too much boilerplate. Multiboot loaders do leave you in real mode, and most people want to be in protected mode, so you have to set up some tables and do a jump, but that's not that much boilerplate. There's a bit more stuff if you disable legacy interrupt controllers (which you probably want to) but it seems to me being able to maybe run on a regular pc is worth it (caveats about console interfaces apply... my hobby OS needs bios boot and uses some vga things that I found aren't well supported... serial console is easier, but lots of computers don't have a serial port either)

ethin•5m ago
You still have to set up the GDT, TSS, all that other legacy stuff that isn't actually used but it's still there. And if you set it up incorrectly, your punished for it with triple faults and the like, even if nobody even uses anything like the GDT or TSS these days.
chris_wot•1h ago
How does one get their hands on low-cost RISC hardware?
Rzor•1h ago
There's this $10 board on Aliexpress called Milk-V Duo S. It's been popping up on my recs every now and then. Looks interesting.

https://aliexpress.com/w/wholesale-Milk%2525252dV-Duo-S.html

Taken directly from its description:

>Milk-V Duo S is an upgraded model of Duo with an upgraded SG2000 master with a larger 512MB RAM and extended IO capability

>Onboard WI-FI6/BT5(Model Milk-V-Duo-S-512M-Basic/Milk-V-Duo-S-512M-eMMC does not have this function)

>USB 2.0 HOST port

>100 Mbps Ethernet Portwith PoE Support (via PoE HAT)

>Dual MIPI CSI with ISP

>The device also supports switch between RISC-V and ARM boot via a switch

ktosobcy•19m ago
> El acceso a la presente dirección IP ha sido bloqueado en cumplimiento de lo dispuesto en la Sentencia de 18 de diciembre de 2024, dictada por el Juzgado de lo Mercantil nº 6 de Barcelona en el marco del procedimiento ordinario (Materia mercantil art. 249.1.4)-1005/2024-H instado por la Liga Nacional de Fútbol Profesional y por Telefónica Audiovisual Digital, S.L.U. > https://www.laliga.com/noticias/nota-informativa-en-relacion...

Of FFS...

one thing is using http but another this one…

flykespice•8m ago
...what? a football organization in Spain has the power to restrict internet access to the entire country?
NaOH•2m ago
Submitted separately by the author:

https://news.ycombinator.com/item?id=45236479

Copying their comment to here:

I have redone the classical exercise of writing a tiny OS kernel with time sharing, which manages a couple of user threads. My goal was to experiment specifically on RISC-V + OpenSBI. Additionally, I wanted to explore Zig a little bit, so that was the language used instead of the traditional C, but it should be straightforward how to do the same experiment in either C or Rust.

It's definitely very rough around the edges, and it's more of an experiment and an intro for people who want to go through step 0 of learning OS kernel development and computer architecture. Nevertheless, I hope it is still a fun experimental thing to play with over the weekend!

The full walkthrough and the GitHub link are available at the link posted!