News for hackers. Stuff that matters.

5ersi

Re:Lean Now Ships with Verified Kernels on Sunday October 18, 2026 @10:39AM (#50141507)
Lean plus AI is a winning combo: Lean is super precise but "narrow", AI is broad but lacks precision.

Before AI it was super tedious to formally express your software models in Lean, with AI this is super easy. See formal verification of consensus core in Ultima Cluster: https://github.com/PeterKnego/ultima_cluster/blob/main/docs/...

Long time casual wine drinker (and occasional beer), I find myself drinking less and less. Two reasons: first drinking a glass of average wine for the sake of having a drink makes no sense anymore. I prefer to have a drink more seldom but pick a better wine, that I actually enjoy. Second, as I get older I see that even a modest amount of alcohol has negative effect on me: during the day I get groggy, during the night my sleep is worse (I know, counterfactual, but so it is).
Re:Principles for Fast Tokio Applications on Monday September 14, 2026 @04:17PM (#49703311)
For a true high performance you should use thread busy-spinning, CPU pinning and SPSC/MPSC ring buffers.

Show HN: Roost, a browser window into your remote coding sessions

https://github.com/peterknego/roost

Roost is scratching my long-term itch: loosing track (and connections) of all my remote coding sessions. I built it to be lightweight and to survive any interruptions: laptop sleep, browser tab close or even restart of roost itself. It has all bells and whistles I needed: file tree, preview/editor, diff and integrates natively with Claude: paste images/links, get notifications and more.I...

( Read More... | no comments | on HN )
Re:Ask HN: Who is using MCP in production? on Friday September 04, 2026 @05:39AM (#49562408)
MCPs are diminishing in value a bit, because AI Agents are getting smarter about using API/CLIs. For example, I use gh cli via Claude instead of their MCP, because I already had cli setup, so no need to use MCP.

MCPs can potentially have great value if they cross multiple sources and combine results. For example at work we use an in-house MCP for log/metrics search across five different (legacy) systems. It finds correlation across events in different system within minutes.

Just bought AMD AI 395+ 64GB RAM for 2000eur. Mac mini would be 2x for about similar performance. Pass.
Re:Diátaxis on Sunday August 02, 2026 @06:00AM (#49142868)
Here you go, made a skill for it: https://github.com/peterknego/diataxis-docs-skill

Just released, alpha quality, need feedback/fine-tuning. Testing it now on my OSS repos.

Re:Ask HN: What Are You Working On? (July 2026) on Tuesday July 14, 2026 @09:42AM (#48906729)
UltimaDB, a high performance full-featured MVCC transactional embedded database, with special focus for use on SMR clusters.

UDB has full transactions, selectable persistence (in-memory, eventual, strict) and consistency (SI, SSI). A lot of time was spent on performance.

Written in Rust, with 8k line of code and 15k lines of tests, 96% coverage. Formal verification with Lean 4 is in progress (see /formal), also consistency checking with elle/jepsen is in progress.

It uses phase change (solid to liquid) to store heat at about 200 kJ/kg. Compare this to heating water in a boiler from 10c to 60c - stores 209 kJ/kg.

So we already have an effective way to store heat which can work for decades without servicing and is also cheap to produce (in terms of money and energy consumption).

Re:xAI joins SpaceX on Monday February 02, 2026 @06:06PM (#46863481)
Launching alone consumes about 75-150kWh per tonne of energy for fuels only (as per ChatGPT).

Planned lifespan of Starlink satellites is 5years.

Re:Raspberry Pi's New AI Hat Adds 8GB of RAM for Local LLMs on Thursday January 15, 2026 @02:18PM (#46637678)
This AI 8GB HAT is $150, while better performing Pi5 8GB is $100. Makes no sense to buy the AI HAT.
Re:What .NET 10 GC Changes Mean for Developers on Sunday October 05, 2025 @01:12PM (#45483308)
Java?

Is supported on more platforms, has more developers, more jobs, more OSS projects, is more widely used (Tiobe 2024). Performance was historically better, but c# caught up.

LLMs are learning in a very similar way humans are learning. So if humans can read a text (or view a video), learn from it and then use the knowledge to produce something, so can LLMs?

Copyright laws have quite strict rules on what constitutes a copy, and this was tested in courts many times. This rules also apply to works produced by LLMs.

Re:Russ Cox: Go Testing by Example on Wednesday December 06, 2023 @04:04AM (#38541817)
You must be using a dynamic language with a heavy framework? Rails maybe?

I code in Go mainly (also Java and Rust) and never experienced what you describe: simple addition of a field to a struct does nothing if not used in code. And the use is simply checked by compiler.

However, I did work alongside a Rails team which had major gripes with this. They called it brittle tests: whenever they made a simple change (like adding a field), half of their tests would fail. This really lowered devs' confidence in their codebase and slowed the changes to a halt.

Fractional reserve banking is exactly how this works, albeit banks do not "invest" the customers' money, instead they lend it.
Re:NewPipe – The lightweight YouTube experience for Android on Sunday November 05, 2023 @04:07AM (#38149500)
So if a store is trying to sell products, and you try to steal them, you are both cheating?
Re:Last Chance to Fix eIDAS (Mozilla) on Thursday November 02, 2023 @07:55AM (#38112218)
If you are concerned by this proposals, then you should check out current CAs trusted by your browser - all those CAs can issue rogue certificates trusted by your browser, that can be used in MITM attack.

For example, CAs present in Firefox, that might give you pause: Beijing Certificate Authority, China Financial CA, Guang Dong CA

The CA system in browsers is inherently broken and it allows state actors to MITM you and see all your traffic if they: 1. have ability to capture IP traffic (requires cooperation with ISP) 2. have ability to generate rogue certificate via cooperation with CA

Re:OpenRefine on Monday October 23, 2023 @04:17AM (#37982846)
It seems to be pure JS with jQuery: https://github.com/OpenRefine/OpenRefine/blob/master/main/we...

It is SSR with Velocity templates.

Re:Royal Navy Says Quantum Navigation Test a Success on Wednesday June 07, 2023 @10:46AM (#36227452)
Doesn't magnetic pole shift due to fluid dynamics in Earth core? Wouldn't that also affect gravity field?
Re:Ask HN: Who Got Hired? on Friday June 02, 2023 @03:39AM (#36162248)
4 years - the magic number...
Re:Google Introduces Passkey Authentication on Friday May 05, 2023 @01:34AM (#35825551)
So how does a new device join your iCloud and sync Keychain?
You made more logical & factual error than there are sentences in your comment:

1. "company is filled with timid people who are averse to change" - you have zero proof for this, and this is false narrative building for a strawman.

2. "<management> can safely siphon the profits" - it's a public company, the compensation was approved by shareholders. They are also regularly audited.

3. "inevitably drive the company into the ground" - under current CEO revenues grew (2015-2022) more than trifold (75B to 280B), net income went from 16B to 60B. They also have 170B in cash & investments.

4. "ad revenue dries up" - internet ad revenue has been growing 20% yoy in the last decade. They also make about 60B in non-ad revenue.

I grew up in a socialist country and can detect wanna-be revolutionaires like you from afar. You are pathetic.

Compare that to liquid hydrogen at 33000 Wh/kg.

The problem is that at that point liquid hydrogen already spent 70% of the energy stored in it (80% efficiency of electrolysis * 40% liquefying efficiency) .

Re:Tesla Master Plan Part 3 on Thursday April 06, 2023 @05:49AM (#35466288)
People who switch to a new car every couple of years by extending a loan? Rings a bell?
Re:'artificial photosynthesis' claimed 10x more efficient on Tuesday February 21, 2023 @02:47AM (#34878061)
"The trouble is that photosynthesis is built to create carbohydrates, which are great for fueling us, but not our cars..."

Who the f* writes this articles?

Add random data to it, so that all (equivalent) data is the same length. For example, if you have a four byte field that represents some monetary value, add four more bytes of random data and encrypt it.
Just checked - in Slovenia a hsCRP is 8 eur (private testing, no healthcare participation): https://www.synlab.si/seznam-in-cenik-preiskav/crp-visoko-ob...
Re:Why is American administrative capacity in decline? on Thursday June 09, 2022 @01:33PM (#31684219)
"government exists to represent the interests of the capital-owning class" - this is especially true for US, because US politicians need enormous resources to get elected (mainly for media access) and basically the only way to get them is via contributions from lobbyists. US politicians understand that what gets them elected are not people, but money.

So if US people want to change that they would need to focus on expelling money from election process: severely limiting donations, especially from business, compensating candidates for the election costs, and mandating equal access to media covering elections (most EU countries have that and it works pretty well). But, don't expect politicians and corporate owned media to support that in any way - you would need a major grass roots movement to change that. Unfortunately at the moment I don't see any major shift in this direction.

Older »