frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Replacing my OS process scheduler with an LLM

https://github.com/mprajyothreddy/brainkernel
12•ImPrajyoth•4h ago

Comments

ImPrajyoth•4h ago
OP here. this is a cursed project lol, but i wanted to see: What happens if you replace the OS scheduler with an LLM?

With Groq speed (Llama 3 @ 800t/s), inference is finally fast enough to be in the system loop.

i built this TUI to monitor my process tree. instead of just showing CPU %, it checks the context (parent process, disk I/O) to decide if a process is compiling code or bloatware. It roasts, throttles, or kills based on that.

Its my experiment in "Intelligent Kernels" how they would be. i used Delta Caching to keep overhead low.

p_ing•4h ago
You can't replace the NTOS scheduler. This is more of an automated (?) process manager.
ImPrajyoth•4h ago
you are technically right (the best kind of right). i am running in userspace, so i cant replace the actual thread scheduling logic in Ring 0 without writing a driver and BSODing my machine.

think of this more as a High-Level Governor. The NTOS scheduler decides which thread runs next, but this LLM decides if that process deserves to exist at all.

basically; NTOS tries to be fair to every process. BrainKernel overrides that fairness with judgment. if i suspend a process, i have effectively vetoed the scheduler.

p_ing•1h ago
> NTOS tries to be fair to every process

This is a super simplification of the NTOS scheduler. It's not that dumb!

> if i suspend a process, i have effectively vetoed the scheduler.

I mean, I suppose? It's the NTOS scheduler doing the suspension. It's like changing the priority level -- sure, you can do it, but it's generally to your detriment outside of corner cases.

devmor•2h ago
This is a pretty funny project, you've outsourced the neurotic developers that keep their task manager open and kill off processes they don't like.

I wouldn't call it replacing the scheduler though - more that you've made a scheduler manager.

2001zhaozhao•2m ago
It really is cursed to be spending hundreds of watts of power in a datacenter somewhere to make a laptop run slightly faster.

Everything as Code: How We Manage Our Company in One Monorepo

https://www.kasava.dev/blog/everything-as-code-monorepo
72•benbeingbin•1h ago•37 comments

FediMeteo: A €4 FreeBSD VPS Became a Global Weather Service

https://it-notes.dragas.net/2025/02/26/fedimeteo-how-a-tiny-freebsd-vps-became-a-global-weather-s...
104•birdculture•2h ago•30 comments

A faster heart for F-Droid. Our new server is here

https://f-droid.org/2025/12/30/a-faster-heart-for-f-droid.html
75•kasabali•2h ago•23 comments

Electrolysis can solve one of our biggest contamination problems

https://ethz.ch/en/news-and-events/eth-news/news/2025/11/electrolysis-can-solve-one-of-our-bigges...
80•PaulHoule•3h ago•15 comments

Toro: Deploy Applications as Unikernels

https://github.com/torokernel/torokernel
98•ignoramous•4h ago•65 comments

Show HN: 22 GB of Hacker News in SQLite

https://hackerbook.dosaygo.com
149•keepamovin•4h ago•48 comments

A Vulnerability in Libsodium

https://00f.net/2025/12/30/libsodium-vulnerability/
99•raggi•4h ago•6 comments

Zpdf: PDF text extraction in Zig – 5x faster than MuPDF

https://github.com/Lulzx/zpdf
30•lulzx•1h ago•3 comments

Loss32: Let's Build a Win32/Linux

https://loss32.org/
119•akka47•1d ago•222 comments

Prof. Software Developers Don't Vibe, They Control: AI Agent Coding Use in 2025

https://arxiv.org/abs/2512.14012
41•dpflan•1h ago•47 comments

Reverse Engineering a Mysterious UDP Stream in My Hotel (2016)

https://www.gkbrk.com/hotel-music
135•bayesnet•1w ago•17 comments

The British empire's resilient subsea telegraph network

https://subseacables.blogspot.com/2025/12/the-british-empires-resilient-subsea.html
130•giuliomagnifico•8h ago•34 comments

Igniting the GPU: From Kernel Plumbing to 3D Rendering on RISC-V

https://mwilczynski.dev/posts/riscv-gpu-zink/
46•michalwilczynsk•7h ago•6 comments

Approachable Swift Concurrency

https://fuckingapproachableswiftconcurrency.com/en/
131•wrxd•8h ago•51 comments

Times New American: A Tale of Two Fonts

https://hsu.cy/2025/12/times-new-american/
177•firexcy•8h ago•112 comments

Postgres extension complements pgvector for performance and scale

https://github.com/timescale/pgvectorscale
94•flyaway123•5d ago•20 comments

Non-Zero-Sum Games

https://nonzerosum.games/
284•8organicbits•9h ago•143 comments

HTTP Strict Transport Security (HSTS)

https://hstspreload.org/
22•arunc•1d ago•10 comments

Go away Python

https://lorentz.app/blog-item.html?id=go-shebang
291•baalimago•12h ago•286 comments

Hive (YC S14) Is Hiring a Staff Software Engineer (Data Systems)

https://jobs.ashbyhq.com/hive.co/cb0dc490-0e32-4734-8d91-8b56a31ed497
1•patman_h•6h ago

Show HN: I remade my website in the Sith Lord Theme and I hope it's fun

https://cookie.engineer/index.html
20•cookiengineer•3h ago•12 comments

Netflix Open Content

https://opencontent.netflix.com/
536•tosh•11h ago•104 comments

An initial analysis of the discovered Unix V4 tape

https://www.spinellis.gr/blog/20251223/
11•zdw•6d ago•1 comments

Confessions to a Data Lake

https://confer.to/blog/2025/12/confessions-to-a-data-lake/
33•kkl•1w ago•12 comments

Stranger Things creator says turn off “garbage” settings

https://screenrant.com/stranger-things-creator-turn-off-settings-premiere/
388•1970-01-01•21h ago•681 comments

Five Years of Tinygrad

https://geohot.github.io//blog/jekyll/update/2025/12/29/five-years-of-tinygrad.html
136•iyaja•1d ago•61 comments

Show HN: Tidy Baby is a SET game but with words

https://tidy.baby
20•brgross•5h ago•6 comments

Tesla’s 4680 battery supply chain collapses as partner writes down deal by 99%

https://electrek.co/2025/12/29/tesla-4680-battery-supply-chain-collapses-partner-writes-down-dea/
629•coloneltcb•1d ago•707 comments

Show HN: One clean, developer-focused page for every Unicode symbol

https://fontgenerator.design/symbols
150•yarlinghe•5d ago•59 comments

Concurrent Hash Table Designs

https://bluuewhale.github.io/posts/concurrent-hashmap-designs/
51•signa11•3d ago•6 comments