frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

M8.7 earthquake in Western Pacific, tsunami warning issued

https://earthquake.usgs.gov/earthquakes/eventpage/us6000qw60/executive
688•jandrewrogers•9h ago•179 comments

Study mode

https://openai.com/index/chatgpt-study-mode/
938•meetpateltech•17h ago•668 comments

RIP Shunsaku Tamiya, the man who made plastic model kits a global obsession

https://JapaneseNostalgicCar.com/rip-shunsaku-tamiya-plastic-model-kits/
287•fidotron•13h ago•60 comments

Launch HN: Hyprnote (YC S25) – An open-source AI meeting notetaker

206•yujonglee•17h ago•114 comments

URL-Driven State in HTMX

https://www.lorenstew.art/blog/bookmarkable-by-design-url-state-htmx/
202•lorenstewart•12h ago•96 comments

iPhone 16 cameras vs. traditional digital cameras

https://candid9.com/phone-camera/
311•sergiotapia•20h ago•327 comments

Sleep all comes down to the mitochondria

https://www.science.org/content/blog-post/it-all-comes-down-mitochondria
27•A_D_E_P_T•1h ago•5 comments

A major AI training data set contains millions of examples of personal data

https://www.technologyreview.com/2025/07/18/1120466/a-major-ai-training-data-set-contains-millions-of-examples-of-personal-data/
8•pera•19m ago•1 comments

Learning basic electronics by building fireflies

http://a64.in/posts/learning-basic-electronics-by-building-fireflies/
268•signa11•17h ago•69 comments

Two Birds with One Tone: I/Q Signals and Fourier Transform

https://wirelesspi.com/two-birds-with-one-tone-i-q-signals-and-fourier-transform-part-1/
73•teleforce•11h ago•16 comments

ACM Transitions to Full Open Access

https://www.acm.org/publications/openaccess
264•pcvarmint•17h ago•24 comments

Show HN: The Aria Programming Language

https://github.com/egranata/aria
5•egranata_aria•3d ago•4 comments

Analoguediehard

http://www.analoguediehard.com/
24•gregsadetsky•3d ago•4 comments

Show HN: Cant, rust nn lib for learning

https://github.com/TuckerBMorgan/can-t
11•TuckerBMorgan•3d ago•0 comments

USB-C for Lightning iPhones

https://obsoless.com/products/iph0n3-usb-c-protection-case
149•colinprince•3d ago•102 comments

How the brain increases blood flow on demand

https://hms.harvard.edu/news/how-brain-increases-blood-flow-demand
124•gmays•15h ago•57 comments

FoundationDB: From idea to Apple acquisition [video]

https://www.youtube.com/watch?v=C1nZzQqcPZw
179•zdw•4d ago•34 comments

Show HN: Terminal-Bench-RL: Training long-horizon terminal agents with RL

https://github.com/Danau5tin/terminal-bench-rl
115•Danau5tin•23h ago•10 comments

Show HN: I built an AI that turns any book into a text adventure game

https://www.kathaaverse.com/
253•rcrKnight•18h ago•100 comments

Irrelevant facts about cats added to math problems increase LLM errors by 300%

https://www.science.org/content/article/scienceadviser-cats-confuse-ai
411•sxv•19h ago•200 comments

A month using XMPP (using Snikket) for every call and chat (2023)

https://neilzone.co.uk/2023/08/a-month-using-xmpp-using-snikket-for-every-call-and-chat/
118•ColinWright•15h ago•74 comments

My 2.5 year old laptop can write Space Invaders in JavaScript now (GLM-4.5 Air)

https://simonwillison.net/2025/Jul/29/space-invaders/
532•simonw•20h ago•356 comments

Structuring large Clojure codebases with Biff

https://biffweb.com/p/structuring-large-codebases/
81•PaulHoule•19h ago•4 comments

Elements of System Design

https://github.com/jarulraj/periodic-table
128•qianli_cs•16h ago•34 comments

Observable Notebooks 2.0 Technology Preview

https://observablehq.com/notebook-kit/
213•mbostock•19h ago•51 comments

Playing with more user-friendly methods for multi-factor authentication

https://tesseral.com/blog/i-designed-some-more-user-friendly-methods-for-multi-factor-authentication
74•noleary•1d ago•51 comments

Microsoft Flight Simulator 2024: WebAssembly SDK

https://docs.flightsimulator.com/msfs2024/html/6_Programming_APIs/WASM/WebAssembly.htm
137•breve•3d ago•84 comments

Supervised fine tuning on curated data is reinforcement learning

https://arxiv.org/abs/2507.12856
56•GabrielBianconi•13h ago•17 comments

CodeCrafters (YC S22) is hiring first Marketing Person

https://www.ycombinator.com/companies/codecrafters/jobs/7ATipKJ-1st-marketing-hire
1•sarupbanskota•12h ago

The Sail instruction-set semantics specification language

https://alasdair.github.io/manual.html
41•weinzierl•3d ago•8 comments
Open in hackernews

Linux 6.16: faster file systems, improved confidential memory, more Rust support

https://www.zdnet.com/article/linux-6-16-brings-faster-file-systems-improved-confidential-memory-support-and-more-rust-support/
144•CrankyBear•16h ago

Comments

tombert•15h ago
I'm still kind of surprised that Linus ended up allowing Rust into the kernel. Good, but surprising.

Looking forward to this release once it hits NixOS Unstable.

xeonmc•15h ago
A surprise, to be sure, but a welcome one.
Alupis•15h ago
My understanding is its contained to the "edges", mostly in drivers and not in the "core" kernel.

Still interesting indeed.

preisschild•14h ago
for now, due to gcc-rs not being completed yet and the rustc compiler not supporting every linux architecture
dralley•12h ago
There's two gcc-based compilers for Rust, gcc-rs which is part of the gcc suite and written in C++, and rustc_codegen_gcc, which is an optional backend for the existing Rust compiler written in Rust which emits an intermediate representation that GCC can understand. rustc_codegen_gcc is much closer to completion.
lights0123•14h ago
It surprised me that Linux 6.12's QR code generator is written in Rust and enabled in at least Arch and Fedora.
jeffbee•13h ago
Why does the kernel need a QR code generator?
lights0123•13h ago
https://www.phoronix.com/news/Linux-6.12-DRM-Panic-QR-Code
infogulch•13h ago
Oh that's pretty nifty. It's always been a pita to get data (logs, traces, metadata etc) off of a crashed system. This is less human readable, but any human that wants to read it will want the raw data anyway. Way easier to do this than try to run photos of a screen through OCR.
Twirrim•13h ago
A QR code can capture 3k of data, you can capture a lot of context and details in that, particularly if you apply a little bit of compression (and the kernel has compression algorithms embedded in it). More than can be captured on a screen normally, without it zooming out of sight.
jeffbee•6h ago
An 80x25 ascii display carries 2000 characters which isn't shabby. But yeah, a lot harder to photograph.
6SixTy•13h ago
Would most people rather have a cell phone picture of the screen for debug logs, or a QR code that has those logs ready to be scanned and copy/pasted?
geodel•15h ago
On that note seems like after ruckus about Hector Martin's PRs not getting merged, things are calm but progressing.
dralley•14h ago
Linus is pragmatic. His only hard rule is "don't break userspace", most everything else is contingent.

From what I can tell, he views Rust for Linux as a social project as much as a technical one - attract new (and younger) developers into the kernel, which has become pretty "senior", force all of the "unwritten rules" to be written down, and break down some of the knowledge siloing and fiefdom behavior that has taken place over the years (by sharing it specifically with that younger group of developers).

If you think about it, Rust for Linux is in some ways essentially an auditing committee reviewing all of the API interactions between kernel subsystems and forcing them to be properly defined and documented. Even if the Rust part were to fail (exceedingly unlikely at this point), it's a useful endeavour in those other respects.

But of course, if Rust is successful at encoding all of those rules using the type system, that unlocks a lot of value in the kernel too. Most of the kernel code is in drivers, and it's typically written by less experienced kernel developers while being harder to review by maintainers that don't have background on or access to the hardware. So if you can get drivers written in Rust with APIs that are harder to misuse, that takes a big load off the maintainers.

tombert•14h ago
I just remember how much shit he talked about C++, and I guess I assumed that that would carry over to Rust as well.
kstrauser•13h ago
True, but the Rust language itself is tiny compared to C++. There are only a slim fraction of the edge cases to learn.

Note that I'm not saying Rust is easy to learn. I found it to be so, but it's going to be different for everyone. I do firmly believe that it's far easier for the average dev to learn the core of Rust than the core of C++, with far fewer footguns along that path.

tombert•13h ago
Oh I don't disagree with any of that, I like Rust. I was just surprised is all.
pjmlp•4h ago
C++ was also tiny 40 years ago, just give it 40 years as well with the current six months release cadence.
davidhyde•1h ago
This problem is (so far) solved by the editions feature. Breaking changes can be made to the language without splitting the ecosystem (like python 2 vs 3).

https://doc.rust-lang.org/edition-guide/editions/index.html

Rust has a 6 week release cycle and a big complaint is that the language isn’t changing quickly enough so there is pushback from both ends to take into account here. My take is that there are only hard problems still to be solved given that that they need to be solved in a zero cost way.

jcranmer•13h ago
From my memory of Linus's C++ comments, they basically boil down to "the kernel needs to do everything in freestanding mode, and everything that's interesting in C++ is not in freestanding mode, so what good is it?" (plus some ranting about "zero-cost" exception handling being rather more expensive than its name implies). In general, a strong vibe of someone who tried C++ in the early 90s, gave up on it then, and is generally ignorant of how C++ is different from back then.

If Linus's first introduction to C++ was to C++11, I'd imagine his opinion of C++ would be higher (probably not high enough to permit it into the kernel, though). To a large degree, Rust is "take the good new parts of C++11, strip out some of the legacy insanity, and let's also work out how to keep as much of the good stuff in a freestanding environment as possible." Which answers a lot of the objections that Linus had to C++!

Teknoman117•12h ago
That's also in line with my memory of it.

We still don't have all of the interesting C++ features in freestanding mode. It's still a fairly unknown component of libc++ and libstdc++. I've only been playing with it recently because I was curious about how many of the c++17 and newer compile time features I could get to work in avr-g++.

And the answer is ... not much.

I've been spoiled by Rust's "core" crate.

pjmlp•4h ago
As someone that started with C++ on MS-DOS, back when 640 KB would be enough for everyone, there is plenty of stuff in C++, making it better than C even in kernel space.

That is why contrary to Linus opinion, Symbian, IBM z and IBM i, Windows (since Vista), GenodeOS, and OS X, have C++ running on their kernels even if it isn't the full blown language.

Additionally many of his criticism against C++, applies equally well to Rust, in terms of language complexity, just wait until some kernel driver go crazy with macros or FP inspired designs.

What is indeed a plus for Rust is the secure code mentality that both C and C++ communities have kept downplaying until companies and government had enough with burning money fixing exploits.

xorcist•2h ago
There was also the epic quote about how keeping out all the C++ programmers was enough of a reason.

Which is funny, because you can see the truth to it. With C++ comes endless debates. No technical reason really, but a social one, and so far the Rust culture seems to be closer to C in that regard.

knowitnone2•4h ago
It's an experiment. If it goes well, great. If it doesn't, revert back. What's the harm?
terandle•15h ago
Seems like Linus should be able to tap someone else to do 6.17 while he is on vacation
cyphar•4h ago
That has been done in the past (GregKH has managed releases a few times) but he obviously feels it's not necessary this time.
arp242•15h ago
> If your Linux laptop doubles as a music player, another nice new feature is that you can now stream your audio over USB even while the rest of your system is asleep. That capability's been available in Android for a while, but now it's part of mainline Linux.

How does that work? You still need some program to actually play the music (mpv, Sotify, whatnot)? Or what am I misunderstanding? Unfortunately there are no details in the article, and an interwebz search doesn't really show anything.

RS-232•14h ago
Maybe it’s using Wake-on-LAN where the network interface is alive while the rest of the system is dormant? Perhaps the music stream is encoded in magic packets?
arp242•14h ago
I found [1], which says "For Qualcomm hardware where the USB audio can be offloaded to a dedicated audio DSP for handling the transfers to the USB host controller, this lessens the work of the main CPU cores and can help with power management so those CPU cores can hit lower power states or tackle other work. Other hardware vendors will hopefully follow suit in their support for the upstream support around USB audio offloading."

So I think that it doesn't do anything for the average Linux laptop, and is mostly intended for certain (mobile) hardware?

[1]: https://www.phoronix.com/news/Linux-6.16-USB-Audio-Offload

smashed•14h ago
It's probably related to this:

https://www.phoronix.com/news/Linux-6.16-QCOM-USB-Audio-OLOA...

Audio usb offloading. Only supported on Qualcomm soc's.

Article is misleading. Audio offloading is probably only useful to avoid waking the main CPU too often, so better battery management... CPU can remain sleeping a few microseconds longer, not all the time.

Not something many will benefit.

ndriscoll•14h ago
A 20 MB 3.5 minute .flac file takes ~200 ms to decode into a 35 MB .wav on my desktop, so in principle the program could spend a small fraction of a second placing the decoded audio into a small buffer and give a pointer to hardware to keep playing it while the rest of the system goes to sleep for a few minutes. Or if the hardware has direct support for the codec, it could just give it the file as-is.
05•2h ago
Since pulseaudio defaults to software mixing, this huge buffer would just get gradually copied to the actual kernel playback buffer one 25ms chunk at a time..
barchar•11h ago
It probably requires active standby/s0ix. Modern Intel chips actually don't officially support s3 at all anymore, only s0ix.

The whole point is to support stuff like this

mschuster91•14h ago
> If your Linux laptop doubles as a music player, another nice new feature is that you can now stream your audio over USB even while the rest of your system is asleep. That capability's been available in Android for a while, but now it's part of mainline Linux.

I thought Android did that by just turning off all but one CPU core and suspend all processes not required for streaming + bluetooth?

I really can't imagine how else that would work, other than essentially giving the whole audio file to the Bluetooth chip and let it handle streaming on its own... but I've never heard of a Bluetooth chipset capable of that, much less bluez actually being usable enough.

techjamie•14h ago
Since sleep suspends execution and keeps the RAM state, I suppose it isn't a huge stretch for the kernel to provide some mechanism by which a program can stay awake while execution of others is paused.

I'm sure there are aspects that are hard to reason about which I'm simply unaware of, but the idea makes sense to me.

cestith•13h ago
It hands it off to a dedicated media playback DSP. Right now, only Qualcomm is supported but there’s hope that now that the mainline kernel supports it other hardware providers will offer a way the kernel can do that for them, too.
barchar•11h ago
On modern Intel systems sleep works the same as on android. You don't just ask the chipset for s3 anymore.

I wouldn't be surprised if one core stayed awake.

This is why tiger lake laptops had crummy battery life on Linux upon release (often on windows too). Without working s0ix they just never suspend, and old style s3 isn't really officially supported.

ElijahLynn•12h ago
The article mentions Linux pull requests. Does Linux contribution do actual pull requests now? Or is it still a mailing list?

If the latter, why would they say pull request?

justincormack•12h ago
Its a terrible article.
5kg•12h ago
It's subsystem maintainers asking Linus to pull from their branches, e.g. https://lkml.org/lkml/2025/7/29/291
tux3•12h ago
Pull requests took their name from the git request-pull script (which actually predates Github by a couple years): https://github.com/git/git/commit/ab421d2c7886341c246544bc8d...

It is called a pull request because you are asking someone to do a `git pull` from your branch.

PhilipRoman•12h ago
"Pull requests" can also be done via a mailing list (it's literally a request to pull from some URL, see git-request-pull). It is not common on LKML, but I've seen it used that way. I think it's mostly maintainers that use it among themselves, everyone else just mails patches.
cyphar•4h ago
It's used by subsystem maintainers to request Linus pull their changes (it is literally the only mechanism Linus accepts from subsystem maintainers, outside of a few outliers like the -next tree). But yes, most regular developers don't use it -- it doesn't allow for inline patch-by-patch reviews like "git send-email" or "b4 send".
cyphar•4h ago
The term "pull request" comes from "git request-pull" which is the tool used by kernel subsystem maintainers to send emails to Linus to request he git pull from their branches (and merge them). This usage long predates the somewhat unrelated "pull request" feature of source forges (like GitHub) and is not confusing to kernel developers (the target audience of Linus's email).

The analogy to GitHub-like "pull requests" in the kernel workflow is "git send-email" (or "b4 send" nowadays) which sends patch series as individual emails that can be reviewed inline as a plain-text email and are applied onto maintainers' trees (usually with something akin to "git cherry-pick"). I still find this system to be a superior method to GitHub's "pull requests" (you can send review comments to commit descriptions -- which I believe Gerrit supports, but GitHub definitely doesn't -- and everything is sanely threaded since it's all email).

Here's an example pull request email from the start of the week[1], containing some VFS changes to be included in 6.17-rc1.

[1]: https://lore.kernel.org/all/20250725-vfs-misc-599b4aef8eaa@b...

jauntywundrkind•12h ago
Neat to see zero-copy networking get TX, after RX shipped a while ago. Good stuff. I wonder how it overlaps-with/interacts with the various kernel offloads? I forget if this is TCP only or UDP too: would be really nice with QUIC / HTTP3 to see more love for UDP. https://www.phoronix.com/news/Device-Memory-TCP-TX-Linux-6.1...

The filesystem Folio work has been yielding such amazing results. In general I'm just so impressed how much the storage subsystems keep improving! IO_Uring has totally changed the game in terms of iops delivered just on it's own. But then the various filesystems & upper level multi-queue support have also been consistently finding really nice wins. Folios have been incredible! https://lwn.net/Articles/1015320/

EROFS added compressed metadata support, which is showing a 2.5X win for readdir(3) (reading files from a directory). Given it's use in awesome works like composefs for next-gen & content-addressed based container overlay type systems, this is a nice win. https://github.com/composefs/composefs

Probably my favorite new feature is AMDGPU user queue (userq) work. Rather than the driver having to build out all the future work, now userspace can directly build the work of stuff to be done, sprinkling in various fences and what not. Some very interesting potential for GPGPU & perhaps ML! https://www.phoronix.com/news/Mesa-25.2-High-Priority-USERQ https://www.phoronix.com/news/Linux-6.16-AMDGPU-User-Queues

The Kernel Newbies release log is one of my favorite things to read through. It wasn't bursting-at-the-seams with awesome as you sometimes get with releases, but 6.16 was still very fun. https://news.ycombinator.com/item?id=44717122 https://kernelnewbies.org/Linux_6.16

bpbp-mango•11h ago
> Perhaps the most popular Linux file system, Ext4, is also getting many improvements. These boosts include faster commit paths, large folio support, and atomic multi-fsblock writes for bigalloc filesystems. What these improvements mean, if you're not a file-system nerd, is that we should see speedups of up to 37% for sequential I/O workloads.

nice to see ext4 still getting improvements

remexre•6h ago
> For starters, Linux now supports Intel Advanced Performance Extensions (APX). [...] This improvement means you'll see increased performance from next-generation Intel CPUs, such as the Lunar Lake processors and the Granite Rapids Xeon processors.

This isn't actually right, is it? APX hasn't been released, to my knowledge.