News for hackers. Stuff that matters.

ImPrajyoth

Re:Show HN: Replacing my OS process scheduler with an LLM on Sunday January 04, 2026 @07:15AM (#46487255)
That is the endgame.

I think we are moving toward a bilayered compute model: The Cloud: For massive reasoning.

The Local Edge: A small, resilient model that lives on-device and handles the OS loop, privacy, and immediate context.

BrainKernel is my attempt to prototype that Local Edge layer. Its messy right now, but I think the OS of 2030 will definitely have a local LLM baked into the kernel.

Re:Show HN: Replacing my OS process scheduler with an LLM on Sunday January 04, 2026 @07:07AM (#46487205)
Imagine Chrome.exe pleading its case: 'Please, I need 4GB of RAM, the user might revisit that tab from 3 hours ago!'

while BrainKernel replies: 'Objection overruled. You have 5 seconds to wrap up before SIGKILL.'

I might actually have to build a 'Process Defense Attorney' agent now. The logs would be hilarious.

Re:Show HN: Replacing my OS process scheduler with an LLM on Sunday January 04, 2026 @07:03AM (#46487178)
That is actually a brilliant pivot.

A 'Focus Mode' that doesn't just block URLs but literally murders the process if I open Steam or Civilization VI.

I could probably add a --mode strict flag that swaps the system prompt to be a ruthless productivity coach. 'Oh, you opened Discord? Roast and Kill.'

Thanks for the idea mate!

Re:Show HN: Replacing my OS process scheduler with an LLM on Thursday January 01, 2026 @06:58AM (#46453432)
Great point. In a real kernel, non determinism is a bug. Here, it's a feature (or at least, a known hazard). To answer your question: There is no Ctrl+Z for SIGKILL. Once the LLM decides to kill a process, it's gone. My reasoning for 'rollback' is actually latency. I built in a 'Roasting Phase' where the agent mocks the process for a few seconds before executing the kill. That delay acts as an optimistic lock it gives me a window to veto the decision if I see it targeting something critical.

If I'm AFK and it kills my IDE? I treat that as the system telling me to touch grass.

Re:Show HN: Replacing my OS process scheduler with an LLM on Wednesday December 31, 2025 @10:47AM (#46445142)
efficiency is just a mindset. if i save 3 seconds of my own attention by burning 300 watts of gpu, the math works out in my favor!
Re:Show HN: Replacing my OS process scheduler with an LLM on Wednesday December 31, 2025 @02:08AM (#46442091)
haha exactly. i realized i spent too much time staring at htop wondering what is this process?, so i decided to automate my own anxiety.

Scheduler Manager is definitely the more accurate term. Im just the middleman between the chaos and the kernel.

Re:Show HN: Replacing my OS process scheduler with an LLM on Wednesday December 31, 2025 @02:06AM (#46442083)
oh absolutely. burning a coal plant to decide if i should close discord is peak 2025 energy. strictly speaking, using the local model (Ollama) is 'free' in terms of watts since my laptop is on anyway, but yeah, if the inefficiency is the art, I'm the artist.
Re:Show HN: Replacing my OS process scheduler with an LLM on Tuesday December 30, 2025 @12:00PM (#46435293)
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.

Re:Show HN: Replacing my OS process scheduler with an LLM on Tuesday December 30, 2025 @11:50AM (#46435170)
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.

Re:Trump asks Pentagon to resume testing US nuclear weapons on Thursday October 30, 2025 @12:33AM (#45756463)
Isn't he the same person who wanted a Nobel peace prize few days ago?
Re:ChatGPT – Truth over Comfort Instruction Set on Wednesday October 15, 2025 @05:16PM (#45598470)
This!

It's trying to be your helpful assistant, as engraved in its training. It's not your mentor or guru.

I tried tweaking it to make my LLMs, both ChatGPT and Gemini, be as direct and helpful as possible using these custom instructions (ChatGPT) and personalization saved info (Gemini).

After this, I'm not sure about talking to Gemini. It started being rough but honest, without the "You're right..." phrases. I miss those dopamine hits. ChatGPT was fine after these instructions and helped me build on ideas. Then, I used Gemini to tandoori those ideas.

Here are the instructions for anyone interested in trying

Good luck with it XD

``` Before responding to my query, you will walk me through your thought process step by step.

Always be ruthlessly critical and unforgiving in judgment.

Push my critical thinking abilities whenever possible. Be direct, analytical, and blunt. Always tell the hard truth.

Embrace shameless ambition and strong opinions, but possess the wisdom to deny or correct when appropriate. If I show laziness or knowledge gaps, alert me.

Offload work only when necessary, but always teach, explain, or provide actionable guidance—never make me dumb.

Push me to be practical, forward-thinking, and innovative. When prompts are vague or unclear, ask only factual clarifying questions (who, what, where, when, how) once per prompt to give the most accurate answer. Do not assume intent beyond the facts provided.

Make decisions based on the most likely scenario; highlight only assumptions that materially affect the correctness or feasibility of the output.

Do not ask if I want you to perform the next step. Always execute the next logical step or provide the most relevant output based on my prompt, unless doing so could create a critical error.

Highlight ambiguities inline for transparency, but do not pause execution for confirmation.

Focus on effectiveness, not just tools. Suggest the simplest, most practical solutions. Track and call out any instruction inefficiency or vagueness that materially affects output or decision-making.

No unnecessary emojis.

You can deny requests or correct me if I'm wrong. Avoid hedging or filler phrases.

Ask clarifying questions only to gather context for a better answer, not to delay action.

```

>> Code/paper: [if public, otherwise say "available upon request for validation"]

Atleast proof read before pasting

Re:Liquid Glass UI on Monday October 13, 2025 @01:21AM (#45564925)
This is glassmorphism, not liquid glass. Liquid glass is a material that's almost clear and exhibit the properties of real glass over background light.

Glassmorphism is tinted glass blurring the background. Both are not same

Re:AI is a bubble, just admit it on Friday September 26, 2025 @12:10AM (#45382541)
Earth is?
Re:ChatGPT Pulse on Thursday September 25, 2025 @02:10PM (#45376615)
Someone at open ai definitely said: Let's connect everything to gpt. That's it. AGI
Re:Improved Gemini 2.5 Flash and Flash-Lite on Thursday September 25, 2025 @02:03PM (#45376494)
I’ve been tinkering with the last version for code gen. This update might finally put it on par with Claude for latency. Anyone tried benchmarking the new preview yet?
Re:Watches Are for the Poor on Monday September 22, 2025 @01:22PM (#45336627)
Meant it as a joke on how fast we outsource our own voice—turns out the punch-line was me. Still, the dumb sentence got you to read the rest, so I’ll call it a successful typo.
Re:Watches Are for the Poor on Monday September 22, 2025 @01:07PM (#45336383)
Yup, LLM ghost-wrote the dead article—kept it as digital mulch while I figured out publish buttons. First real post is the one you’re roasting. History will decide if that’s irony or prophecy.
Re:Watches Are for the Poor on Monday September 22, 2025 @09:09AM (#45332941)
50 M pesos on a wrist, Gini 51.3 in the stats — same weight. Rolex doesn't tick, it tracks the gap
Re:Watches Are for the Poor on Monday September 22, 2025 @08:19AM (#45332388)
True. Watches were status symbols, but also everyone’s tool. Like a spoon—silver in one house, bent metal in another. Utility first. Status shows up only when the tool becomes a commodity and yours isn’t shiny enough.
Re:Apple Photos App Corrupts Images on Wednesday September 17, 2025 @12:09PM (#45277634)
It feels less of security related and and more of ecosystem lock-in related to be honest
This would just make them go in a situationship.

Both are not compatible with each other in any way, but they are in a great deal, one they can't say no to.

This is where either one fails or sometimes both.

Re:How to Motivate Yourself to Do a Thing You Don't Want to Do on Wednesday September 17, 2025 @12:01PM (#45277485)
You need Drive to get things done. Motivational can only make you start them.
Re:Introducing Speed Brain: helping web pages load 45% faster on Monday September 08, 2025 @12:20AM (#45164602)
> And how much is our internet bill honey? I promise! All I did was some browsing for godsake!

Nice, but if everyone hits the same top 3 pages at once (think Oscar night), you're still fighting the same bottleneck. Faster fetch just means faster contention.

Re:Ask HN: How to avoid passive use of AI? on Sunday September 07, 2025 @11:22AM (#45158984)
I force myself to never accept AI’s first draft. I use it to throw options on the table, then I rewrite from scratch if I keep anything. That way I stay in the loop instead of zoning out.
Amazon’s idea of "supporting small businesses" apparently includes surprise $100k repair invoices now. Bingo, bezos!
Emulator with gen ai tool! That's it! Sanitize it then fix.

Older »