HNHacker News
TopNewBestAskShowJobs

dralley

18,353 karma · joined February 28, 2017

submissionscomments
dralley··on Ubuntu 26.10 completes transition to Rust-based coreutils
The project was started long before LLMs existed.
dralley··on Rust is tier-1 language at Microsoft
There is a rustc_codegen_clr which transpiles to .NET

https://github.com/fractalfir/rustc_codegen_clr

dralley··on Hang on to Your Firefox
>overhaul Firefox to be all our Rust as Quantum was aiming towards

That was not in fact the purpose of project Quantum

dralley··on Ex-Crips leader found guilty in 1996 murder of rapper Tupac Shakur
https://www.youtube.com/watch?v=14WE3A0PwVs
dralley··on Radiation link in flight attendant's breast cancer, French court finds
It has supposedly dropped to below 10% (but higher on average in rural areas than in cities, and of course that's just smoking, not the use of other nicotine products)

https://hsph.harvard.edu/news/u-s-smoking-rate-hits-an-all-t...

The article suggests that 18%+ are using some kind of nicotine product in general (zyn, chewing tobacco, vape, smoking)

In any case it has been mostly successfully purged from public spaces.

dralley··on Radiation link in flight attendant's breast cancer, French court finds
They've mostly switched to vapes now. It's still annoying, but at least it doesn't leave trash all over the streets.

Seeing the sidewalks / parks outside of the main train station in Prague covered in cigarette butts as an American tourist in 2019 was certainly something.

dralley··on Linux 7.2
DRM = Direct Rendering Manager. GPU scheduling.
dralley··on Xorg-server 26.1.0 rc1
The latency isn't that bad, it's reasonable for a compatibility shim.
dralley··on Xorg-server 26.1.0 rc1
>and intentionally stifled improvement on xorg

Open source developers are not required to spend their time prioritizing your priorities. You just have to look to Xlibre to see that a lot of contributions are quite bad quality, and in a C codebase of Xorg's complexity and security profile it's not a small job to review things.

dralley··on Xorg-server 26.1.0 rc1
Xorg's security (and X11 in general) is objectively terrible - this is not even a debatable question.
dralley··on Xorg-server 26.1.0 rc1
Xorg isn't neglected for "ideological reasons", it's neglected because development is work - and most of the people with knowledge of the problem domain decided they didn't want to work on Xorg anymore, and most of the companies that were paying for it decided they didn't want to pay for it anymore (apart from baseline maintenance, Xwayland and security fixes). And the people who want Xorg support maintained in perpetuity rarely seem interested in maintaining Xorg themselves, at least not properly (see this history of Xlibre introducing bugs and LLM slop).

You are free to spend your own time and resources doing the work, but you don't get to dictate how other people spend theirs.

dralley··on Xorg-server 26.1.0 rc1
Wayland is not a "display server", it's a display protocol.

A lot of the "existing functionality" that it broke has nothing to do with displays, it's stuff that got crammed into Xorg at some point whether it made sense or not.

I find it quite funny that many of the same people that rag on systemd and say it does too many things, are big fans of Xorg doing a bunch of things that "display server" probably should not be handling.

Even if Wayland was a "display server", it would still "remove existing functionality" if it meant that in any principled sense, because "display server" is only half of what Xorg does.

But sure, the transition was difficult and took a long time.

dralley··on Firefox is now the last major browser that still supports uBlock Origin
Well for years HN was complaining that Mozilla was trying to fix that, because it broke XUL extensions.
dralley··on Firefox is now the last major browser that still supports uBlock Origin
Websites already can barely be assed to care about supporting Firefox users, doing adblocking by default is a great way to get websites to start putting up banners that say "our website does not work with your browser, please switch to Chrome" en-masse.

And Mozilla did develop anti-fingerprinting tech, but they can't enable it by default because it breaks lots of websites and when a website doesn't work they're not going to appreciate Mozilla for protecting them, they're going to be pissed that it doesn't work.

dralley··on Mozilla says stricter antitrust measures against Google 'threaten Firefox'
MozillaVPN is a paid service.
dralley··on Mozilla says stricter antitrust measures against Google 'threaten Firefox'
Mozilla doesn't sell user's data, they sell user's search traffic. Not the same, given that the latter requires a service rendered.
dralley··on Mozilla says stricter antitrust measures against Google 'threaten Firefox'
>Mozilla should've finished rewriting Firefox completely in Rust to give them an Unique Selling Point. They didn't because of management's hubris to build their own mobile operating system to take on Google (its largest financier).

Firefox is like 25 million lines of code. Incredibly complex code, much of it decades old and wrapped in layers of legacy architectural patterns (see XUL, XBL), with severe backwards compatibility considerations (if you break existing websites or people's extensions, they might switch and not come back).

You suggest that NOT rewriting all of that in a couple of years is "hubris"?!? Rust 1.0 didn't happen until 2015 mind you, and Firefox OS was canceled in 2016. The timeline doesn't even make sense.

This kind of nonsense is why I can't take HN seriously when it comes to discussions about Mozilla. Criticisms are perfectly fine (and there are plenty of legitimate criticism to make) but people just abandon all logic when it comes to them for some reason and upvote mindless drivel because Mozilla Bad.

FYI, there are more than 6 million lines of Rust in Firefox, so it's not like it hasn't been happening.

dralley··on Mozilla says stricter antitrust measures against Google 'threaten Firefox'
Everyone complains about the CEO pay but it's not that significant compared to the overall budget. The actual $$ historically goes to spending on high end office space in San Francisco, Paris, and other expensive cities and paying salaries to match the CoL in those areas. Kind of rich for a nonprofit.

But I'm sure people would complain if they moved operations to Brno and Warsaw too.

dralley··on Mozilla says stricter antitrust measures against Google 'threaten Firefox'
> But the CEO could get off his fat ass and do his job finding an actual business model

HN would complain (and indeed has complained) every time they try to find a non-Google source of revenue. The advertisement for the Disney movie with a Red Panda got flamed despite being completely innocuous, Pocket and Mozilla VPN and Lockwise got flamed for being "distractions" or whatever, etc.

"Focus on the browser", everyone says, except that browsers are the most commoditized market you could possibly immagine, where their competitors (3 of the richest companies in the entire world) literally spend billions of dollars pushing their own browsers as loss-leaders, and also they come pre-installed on billions of devices by default. What kind of "business model" do you expect, exactly? Do like Brave and build a crypto scheme around in-page ad replacement?

dralley··on Mozilla says stricter antitrust measures against Google 'threaten Firefox'
HN is incredibly inconsistent and two-faced about which Mozilla side projects are "frivolous" and which ought to be defended to the death.

Rust was a side project, asm.js was a side project that turned into WASM, IIRC LetsEncrypt was a side project (or at least a side project of Mozilla engineers, if not official), significant parts of the initial R&D for AV1 and Opus came out of Mozilla, Servo was largely a side project at the point that it got cancelled (the parts that had been largely successful had already been merged into Firefox, the rest was either nowhere near ready or being completely rewritten or both, and the main application for it at the time was some attempts to make a browser for running web apps in VR headsets at high framerates). Thunderbird was a side project.

But you don't see people complaining about those things, which largely didn't make Mozilla any money, you see them complaining about things that do make Mozilla money, like the branded VPN service. Or projects like FirefoxOS, which ultimately failed but still resulted in a lot of improvements to Firefox and web standards. And it wasn't a bad idea either, it just put the cart (mobile OS) before the horse (the web APIs that are needed to make a browser-based mobile OS successful, like access to GPS and IMU hardware, which didn't exist at the time) without the heft to really push through the barriers while competing directly with Apple and Google.

It seems like people define "frivolous side projects" as "anything Mozilla did that didn't end up being incredibly successful" and anything that did become incredibly successful gets taken for granted. "What did Rome ever do for us" rewritten as a tech parable.

(don't tell me that "we're going to create a whole new language to fix security issues in our web browser" didn't sound a bit frivolous in 2012)

dralley··on Go is an ideal language for AI-assisted software engineering
> and "cargo check" can catch compile issues without a full build.

You only have to compile when you actually want to test the behavior, which tends to be right on the first try more often as a result of the strict compiler.

dralley··on Go is an ideal language for AI-assisted software engineering
I don't think Rust is particularly worse than Go in any of these respects.

- LLMs have clearly been trained on a lot of Rust as well

- Compile times are counterbalanced by strong compiler with excellent error messages, and "cargo check" can catch many issues without a full build.

- If you're willing to accept Go levels of performance from Rust, there's nothing preventing you from using copies and clones rather than borrows, which makes most code dead simple.

- For most major dependency types, there exists a clear "winner" in terms of community adoption, so the fact that it's not in the stdlib is not that problematic.

dralley··on Go is an ideal language for AI-assisted software engineering
It's not that hard.
dralley··on Go is an ideal language for AI-assisted software engineering
For whatever reason, maybe not even logical ones, Go repulses me. I don't know why exactly, I like the idea of Go, but the aesthetics rub me wrong.

I think it's the use of pointers and "if err != nil {}" error handling spam. It reads as a highly compromised imitation of Python and C rather than a solid execution of some other idea.

Rust is not the most beautiful language out there but it doesn't trigger any such reaction for me. The ? operator and "match", which I use constantly, more than compensate for some of the sigil noise which I barely need to look at much less write most of the time. So Rust wins on that comparison for me.

The "func name() -> retval" syntax also grew on me. I like the fact that Python type annotations copied that approach, and C-style declarations look ugly to me now. Same with C-style /* */ comments.

dralley··on AI companies destroy rare and non recoverable physical books
Cutting off the binding of the book to separate the pages makes them easier to scan, that's part of the reason why they do it destructively.
dralley··on The Fedora 45 Sausage Factory
This is the post I responded to

>> The proof this site is misnamed is that a post criticizing systemd gets downvoted, probably by people who have never questioned why an [[ init system ]] needs to become half the operating system.

So no, I didn't bring it up.

I find the whole argument kind of dumb anyway. People talk about this as if it was a violation of the "Unix Philosophy" when Unix and BSD are developed even moreso in the same way - the init system is sitting in the same repo as the libc, the kernel, and the entire rest of the OS. Linux is alone amongst operating systems in making core system components swappable like to that degree in the first place. It's fine to like that kind of flexibility, but a bit silly to act as though that approach is fundamentally superior. If you want to use non-systemd tools, use a non-systemd distro, that is your choice. Just quit whining about 99.9999% of the other software users on the planet not catering to it.

dralley··on The Fedora 45 Sausage Factory
The systemd init isn't half an operating system any more than the coreutils "ls" utility is half a userspace. The systemd project has many different components but they're independent, they are not all literally part of the init system.
dralley··on PyPI Blog: Releases now reject new files after 14 days
I'd be happier if it was 24 hours by default, with an increased timeout configurable behind 2FA.
dralley··on The EU is about to sell our most sensitive data to the US for visa-free travel
Most of those don't require fingerprints or photos. Those that require addresses, do so because they're literally billing and/or shipping items to you. And none of them is comparable to physically entering another country.

I, a US citizen, got fingerprinted by passport control in Austria 2 weeks ago, and they took a picture of my face and asked for personal details. That's pretty much how passport control works universally in any developed country, only the "how they get the information" changes. Sometimes they already have it and sometimes they ask for it.

dralley··on Why is it so hard for the U.S. to win wars?
I don't even understand what this comment is supposed to be saying in relation to the previous one.
Page 1 of 34Next →