frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

OpenCode – Open source AI coding agent

https://opencode.ai/
702•rbanffy•11h ago•310 comments

Mamba-3

https://www.together.ai/blog/mamba-3
81•matt_d•3d ago•8 comments

France's aircraft carrier located in real time by Le Monde through fitness app

https://www.lemonde.fr/en/international/article/2026/03/20/stravaleaks-france-s-aircraft-carrier-...
552•MrDresden•19h ago•441 comments

Molly Guard

https://bookofjoe2.blogspot.com/2026/02/molly-guard.html
74•surprisetalk•17h ago•32 comments

Fujifilm X RAW STUDIO webapp clone

https://github.com/eggricesoy/filmkit
20•notcodingtoday•2d ago•10 comments

FFmpeg 101 (2024)

https://blogs.igalia.com/llepage/ffmpeg-101/
44•vinhnx•5h ago•0 comments

We rewrote our Rust WASM parser in TypeScript and it got faster

https://www.openui.com/blog/rust-wasm-parser
179•zahlekhan•10h ago•100 comments

A Japanese glossary of chopsticks faux pas

https://www.nippon.com/en/japan-data/h01362/
227•cainxinth•11h ago•164 comments

Ghostling

https://github.com/ghostty-org/ghostling
184•bjornroberg•9h ago•33 comments

Linux Applications Programming by Example: The Fundamental APIs (2nd Edition)

https://github.com/arnoldrobbins/LinuxByExample-2e
77•teleforce•8h ago•8 comments

Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords

https://pbxscience.com/ubuntu-26-04-ends-46-years-of-silent-sudo-passwords/
63•akersten•2h ago•62 comments

A look at content scrambling in DVDs

https://mathweb.ucsd.edu/~crypto/Projects/MarkBarry/
35•rvnx•2d ago•12 comments

Attention Residuals

https://github.com/MoonshotAI/Attention-Residuals
165•GaggiX•13h ago•22 comments

Padel Chess – tactical simulator for padel

https://www.padelchess.me/
9•AlexGerasim•3d ago•0 comments

The Los Angeles Aqueduct Is Wild

https://practical.engineering/blog/2026/3/17/the-los-angeles-aqueduct-is-wild
336•michaefe•3d ago•174 comments

Man pleads guilty to $8M AI-generated music scheme

https://therecord.media/man-pleads-guilty-8-million-ai-music-scheme
10•nstj•29m ago•2 comments

Show HN: We built a terminal-only Bluesky / AT Proto client written in Fortran

https://github.com/FormerLab/fortransky
73•FormerLabFred•9h ago•39 comments

Turing Award Honors Bennett and Brassard for Quantum Information Science

https://amturing.acm.org
26•throw0101d•2d ago•0 comments

The Ugliest Airplane: An Appreciation

https://www.smithsonianmag.com/air-space-magazine/ugliest-airplane-appreciation-180978708/
58•randycupertino•2d ago•30 comments

The worst volume control UI in the world (2017)

https://uxdesign.cc/the-worst-volume-control-ui-in-the-world-60713dc86950
109•andsoitis•2d ago•57 comments

Lent and Lisp

https://leancrew.com/all-this/2026/02/lent-and-lisp/
51•surprisetalk•2d ago•2 comments

VisiCalc Reconstructed

https://zserge.com/posts/visicalc/
190•ingve•3d ago•74 comments

Our commitment to Windows quality

https://blogs.windows.com/windows-insider/2026/03/20/our-commitment-to-windows-quality/
503•hadrien01•12h ago•903 comments

purl: a curl-esque CLI for making HTTP requests that require payment

https://www.purl.dev/
22•bpierre•5h ago•4 comments

Italy, Belgium set to lose gas supply after biggest LNG plant bombed

https://www.politico.eu/article/italy-belgium-lose-gas-supply-world-biggest-lng-plant-bombed/
14•leonidasrup•1h ago•3 comments

Show HN: Red Grid Link – peer-to-peer team tracking over Bluetooth, no servers

https://github.com/RedGridTactical/RedGridLink
39•redgridtactical•9h ago•14 comments

Entso-E final report on Iberian 2025 blackout

https://www.entsoe.eu/publications/blackout/28-april-2025-iberian-blackout/
183•Rygian•21h ago•90 comments

ArXiv declares independence from Cornell

https://www.science.org/content/article/arxiv-pioneering-preprint-server-declares-independence-co...
747•bookstore-romeo•1d ago•263 comments

Delve – Fake Compliance as a Service

https://deepdelver.substack.com/p/delve-fake-compliance-as-a-service
646•freddykruger•1d ago•214 comments

Parallel Perl – Autoparallelizing interpreter with JIT

https://perl.petamem.com/gpw2026/perl-mit-ai-gpw2026.html#/4/1/1
117•bmn__•2d ago•41 comments
Open in hackernews

Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords

https://pbxscience.com/ubuntu-26-04-ends-46-years-of-silent-sudo-passwords/
63•akersten•2h ago

Comments

jbverschoor•1h ago
Weird argument about the logging password forging the same in a gui. Because it certainly it not when logging in using a terminal locale or ssh for that matter
tsimionescu•1h ago
Either way, password lengths are exposed in virtually all scenarios except the Unix Terminal - and have caused 0 issues in practice. The default of hiding password inputs really is useless security theater, and always has been.

The crazier part is Ubuntu using a pre-1.0 software suite instead of software that has been around for decades. The switch to Rust coreutils is far too early.

blfr•1h ago
Just as you get used to something crazy after two decades, have kids, and are about to unleash it on them, it gets fixed. Will there be no boomer pleasures left for us millennials?
nubinetwork•1h ago
Is this really the thing we're complaining about though? There's a lot more annoying things in Linux, rather than whether or not I see dots when I login...

How about all the daemons that double log or double timestamp on systemd machines?

leni536•1h ago
sudo is not the only thing that prompts for password in the terminal. There is at least passwd and ssh.

I value ctrl+U a lot more for password prompts than the visual feedback, it's even used by GUI on Linux.

timhh•25m ago
Yeah I would like to fix those too but sudo is the one I encounter most. Also the existence of sudo-rs meant there was less push-back. I seriously doubt the maintainers of openssh or passwd would accept this change.
gzread•1h ago
Good. It's terrible UX.

The security argument is a red herring. It was originally built with no echo because it was easier to turn echo on and off than to echo asterisks. Not for security.

themafia•1h ago
> easier to turn echo on and off than to echo asterisks.

One implies the other. You turn echo off. Then you write asterisks.

> Not for security.

Consider the case of copy and pasting parts of your terminal to build instructions or to share something like a bug report. Or screen sharing in general. You are then leaking the length of your password. This isn't necessarily disastrous for most use cases but it is a negative security attribute.

uecker•49m ago
I would be worried more about leaking the timing of the key presses.
gzread•40m ago
Leaking the length of your password is about as bad for security as leaking the fact that you have a password, or that you use sudo.
ikari_pl•29m ago
It narrows down the brute force domain by several orders of magnitude
gzread•27m ago
No, it doesn't. The set of all passwords of exactly length N is about 1% smaller than the set of all passwords up to and including length N.
emil-lp•24m ago
That's obviously false. It narrows it down less than a factor the length of the password, so unless your password is several orders of magnitude, it lowers narrows by a factor of ~8.
mikkupikku•2m ago
> One implies the other. You turn echo off. Then you write asterisks.

That's not how it works. Sudo turns off echo but otherwise keeps the terminal in it's normal cooked canonocal mode, meaning sudo only sees what you've entered after you hit enter. To print asteriks as you type requires putting the terminal in raw mode, which has the addition consequence of needing to implement shit like backspace yourself. Still a UX win worth doing, but it's pretty clear that skipping that and just disabling echo is an easier lazier implementation.

zenethian•32m ago
You got some sources or did you just make that up?

Because to hell with UX when it comes to security. Knowing the exact length of a password absolutely makes it significantly less secure, and knowing the timing of the keystrokes doubly so.

9dev•25m ago
Yet somehow, none of the other high security tools I have ever interacted with seem to do this for some reason. No auditor flags it. No security standard recommends hiding it.

But SUDO is the one bastion where it is absolutely essential to not offer hiding keystrokes as an obscure config option, but enable for everyone and their mother?

creatonez•5m ago
And once you start adding these accessibility problems, people will respond by using weaker passwords.
eviks•1h ago
> sudo password is the same as their login password — one that already appears as visible placeholder dots on the graphical login screen. Hiding asterisks in the terminal while showing them at login is, in the developers’ estimation, security theatre.

So hide the first one as well? But also, that's not true, not all terminal passwords are for local machine

> Confusing — appears frozen

So make it appear flashing? Still doesn't need to reveal length

michaelmrose•34m ago
Is there any reason to have this feature enabled for millions of desktop users vs enable by appropriately paranoid corporate IT departments?
Elhana•8m ago
Millions of desktop users would use empty password if they could.
9dev•30m ago
This is literally never identified as an issue in any other system processing passwords. This feels like a debate by someone who once thought they had a clever idea and can’t let go despite everyone telling them it’s awful.
written-beyond•1h ago
The number of times I've been stuck wondering if my keystrokes are registering properly for a sudo prompt over a high latency ssh connection.

These servers I had an account setup too were, from what I observed, partially linked with the authentication mechanism used by the VPN and IAM services. Like they'd have this mandatory password reset process and sometimes sudo was set to that new password, other times it was whatever was the old one. Couple that with the high latency connection and password authentication was horrible. You would never know if you mistyped something, or the password itself was incorrect or the password you pasted went through or got double pasted.

I think this is a great addition, but only if it leads to redhat adopting it which is what they were running on their VMs.

pojntfx•59m ago
It's fun, leading edge Linux distros (e.g. GNOME OS) are actually currently removing `sudo` completely in favour of `run0` from systemd, which fixes this "properly" by using Polkit & transient systemd units instead of setuid binaries like sudo. You get a UAC-style prompt, can even auth with your fingerprint just like on other modern OSes.

Instead of doing this, Ubuntu is just using a Rust rewrite of sudo. Some things really never change.

silisili•45m ago
Ubuntu truly are masters of going all in on being different in a worse way, only to about face soon thereafter.

You'd think by now they'd have learned, but apparently not.

necovek•16m ago
Courage to be different is an open door to creativity.

Yes, it means going in a wrong direction sometimes as well: that's why it takes courage — success ain't guaranteed and you might be mocked or ridiculed when you fail.

Still, Ubuntu got from zero to most-used Linux distribution on desktops and servers with much smaller investment than the incumbents who are sometimes only following (like Red Hat).

So perhaps they also did a few things right?

(This discussion is rooted in one of those decisions too: Ubuntu was the first to standardize on sudo and no root account on the desktop, at least of mainstream distributions)

silisili•12m ago
Ubuntu became the most used because they were the first to really dumb down the install process. No insult intended, it was my first distro as well.

Nobody picked Ubuntu because of Mir, or Compiz, or Upstart(or snaps, while we're on the topic). They were obvious errors. That it's popular doesn't negate that fact.

gzread•42m ago
Is "GNOME OS" really a leading distro?
LeoPanthera•31m ago
I think they mean "leading edge".
mikkupikku•6m ago
Losing edge.
1una•39m ago
It's possible to auth with your fingerprint (or even a YubiKey) in sudo. It's a functionality provided by PAM, after all.
CodeCompost•35m ago
How can you stop it asking your password every single time? I asked my LLM and it hallucinated Javascript at me.
bblb•3m ago

  echo "$USER ALL=(ALL) NOPASSWD:ALL" | sudo tee "/etc/sudoers.d/$USER"; sudo chmod 0600 "/etc/sudoers.d/$USER"

  sudo mkdir -p /etc/polkit-1/rules.d

  echo 'polkit.addRule(function(action, subject) { if (subject.isInGroup("sudo") || subject.isInGroup("wheel")) { return polkit.Result.YES; }});' | sudo tee /etc/polkit-1/rules.d/00-nopasswd.rules
kristopolous•30m ago
https://man.archlinux.org/man/run0.1.en

why does everyone want some obtuse enterprise version of every command? What ever happened to minimalism? Is having something with half a dozen poorly documented interconnected points of failure really that awesome?

Is this just elitest job security so that people can feel like they're a linux high priest?

timhh•21m ago
You make it sound like there was a discussion where they looked at these two alternatives and chose improving sudo over using run0. Actually I just submitted a patch for this and they accepted it. I don't work for Ubuntu and I didn't even know run0 existed until now (it does sound good though; I hope they switch to that).
Elhana•4m ago
Gnome is known for shitty UX, breaking stuff every release and refusing to fix stuff since Gnome3.
rich_sasha•4m ago
Why is running a command as an ephemeral systemd unit better? Just curious, I don't have an opinion one way or the other.

Without knowing more, creating a transient unit just to run a single shell command seems quite roundabout.

sourcegrift•55m ago
I've been using a two character password since the last 10 years of my 23 year linux usage; I log in to console and manually start X. Guess the shame will catch up now.
uecker•31m ago
Funny. But I have to say the shaming of users who have different opinions or want to make different choices (the whole point of free software) is one of the saddest development in the free software world, such as the push for BSD replacements for GPL components, the entanglement of software components in general, or breaking of compatibility, etc. No matter whether you stand, that it is becoming harder to choose components in your system to your liking should give everybody pause. And if your argument involves the term "Boomer" because you prefer the new choice, you miss the point. Android should be a clear warning that we can loose freedoms again very quickly (if recent US politics is not already a warning enough).
rich_sasha•3m ago
You could reproduce your UX by switching to a 0-length password.
Tepix•45m ago
Why not just display a single character out of a changing set of characters such as / - \ | (starting with a random one from the set) after every character entered? That way you can be certain whether or not you entered a character but and observer can‘t tell how many characters your password has.
gzread•41m ago
Because that's still weird and confusing to people and still serves no purpose.
nananana9•34m ago
Purpose:

> That way you can be certain whether or not you entered a character

gzread•27m ago
And the shoulder surger can still count the number of times it changes so you might as well just be normal.

They can also count the number of keystrokes they heard.

Tepix•23m ago
The echoed stars should disappear when you press enter, that way you are not revealing this information when you share a screen capture.
oneeyedpigeon•18m ago
Surely looking at your screen seconds/minutes/hours later is the greater risk vector?
blackhaz•22m ago
It's surprising to see an OS, dominant as a sever platform, now optimizing catering to people who are unsure whether they've pressed a button on their keyboard. What's next, replacing asterisks with a progress bar?
creatonez•15m ago
Sorta reminds me of the i3lock screen locker. It shows an incredibly confusing circle UI where every keystroke randomizes the position of the sector on a circle, with no explanatory text on the screen (^1). To new users, it's not clear at all that you are entering your user password or even that it's a screen locker at all, because it just looks like a cryptic puzzle.

Of course, once you do understand that it's just a password prompt, it's great. Completely confuses the hell out of any shoulder surfers, who will for sure think it's a confusing puzzle, and eventually they will get rate limited.

^1: Example of it in use: https://www.youtube.com/watch?v=FvT44BSp3Uc

jadamson•30m ago
I don't understand your suggestion. If you're still showing one character after each character entered, what's changed?

What's the benefit of having a random character from a random set, instead of just a random character?

oneeyedpigeon•17m ago
I think the idea is that each character overwrites the previous, so you're never showing the total length (apart from 0/1!)
jadamson•11m ago
Ah, and the characters are supposed to be an ASCII spinner.

I think if I was new to Linux that would confuse the life out of me :)

DrawTR•12m ago
They mean to have a static single character on the screen and have it change with every keypress. For example, you type "a" and it shows /. You type "b" and it shows "|", etc.
NiloCK•11m ago
There's no persistent reveal of password length after you're finished typing. It reduces the length-reveal leak from anyone who eventually sees the terminal log to people who are actively over-the-shoulder as you type it.
timhh•27m ago
I did this!

I didn't actually know that Mint had enabled this by default. That would have been a useful counterpoint to the naysayers.

If you want the original behaviour you don't actually need to change the configuration - they added a patch afterwards so you can press tab and it will hide the password just for that time.

> The catalyst for Ubuntu’s change is sudo-rs

Actually it was me getting sufficiently pissed off at the 2 second delay for invalid passwords in sudo (actually PAM's fault). There's no reason for it (if you think there is look up unix_chkpwd). I tried to fix it but the PAM people have this strange idea that people like the delay. So I gave up on that and thought I may as well try fixing this other UX facepalm too. I doubt it would have happened with the original sudo (and they said as much) so it did require sudo-rs to exist.

I think this is one of the benefits of rewriting coreutils and so on in Rust - people are way more open to fixing long-standing issues. You don't get the whole "why are you overturning 46 years of tradition??" nonsense.

If anyone wants to rewrite PAM in Rust... :-D

https://github.com/linux-pam/linux-pam/issues/778

yonatan8070•23m ago
Pretty sure the 2s delay is designed to slow down brute-forcing it.
timhh•18m ago
Not for local password authentication.

https://github.com/pibara/pam_unix/blob/master/unix_chkpwd.c...

9dev•20m ago
> If anyone wants to rewrite PAM in Rust... :-D

If you do, offer support for writing modules in a scripting language like Lua or Python. PAM could make it a lot easier to just add OAuth with your company IdP, for example…

dtech•24m ago
This is such a good decision. It's one of those things that's incredibly confusing initially, but you get so used to it over the years, I even forgot it was a quirk.

In the modern world there is no plausible scenario where this would compromise a password that wouldn't otherwise also be compromised with equivalent effort.

Freak_NL•5m ago
Yes… We're in the same room as the target… Let's look at their screen and see how long their password is.

Or, we could just look at the keyboard as they type and gain a lot more information.

In an absolute sense not showing anything is safer. But it never really matters and just acts as a paper cut for all.

ahofmann•2m ago
I also think it is a good decision. Nevertheless it breaks the workflow of at least one person. My father's Linux password is one character. I didn't knew this when I supported him over screen sharing methods, because I couldn't see it. He told me, so now I know. But the silent prompt protected that fact. It is still a good decision, an one character password is useless from a security standpoint.
childintime•7m ago
46 years of silent sudo passwords.. it just demonstrates how crazy this world is, if this is considered news. It means the code is a living fossil and people live with that fact, instead of demanding (infinite and instant) control over their systems.

This reminds me. Linux was already a fossil, except for some niches, but now in the age of AI, the fact that code can't be updated at will (and instead has to go through some medieval social process) is fatal. Soon the age will be here where we generate the necessary OS features on the fly. No more compatibility layers, no more endless abstractions, no more binaries to distribute, no more copyright, no need to worry about how "the others" use their systems, no more bike shedding. Instead, let the system manage itself, it knows best. We'll get endless customization without the ballast.

It's time to set software free from the social enclosures we built around it.

Retr0id•3m ago
I'm excited about the future of mutable software, but sudo isn't exactly the kind of thing you want to be patching on-the-fly.
charcircuit•6m ago
Modern password ui also gives the option to toggle the actual letters on so you can verify that you are actually typing the right thing. Hopefully that doesn't take another 46 years.