HNHacker News
TopNewBestAskShowJobs

chaosite

1,280 karma · joined December 13, 2016

[ my public key: https://keybase.io/chaosite; my proof: https://keybase.io/chaosite/sigs/EzWbBh60GQlxocnMKkpaWBmSR9RhO0Sk6GYiNU9jZGI ]
submissionscomments
chaosite··on Debian celebrates 30 years
1 & 2 really depend on what hardware you have. But if you get 1 & 2 today from Ubuntu, I'm willing to bet that you'll get exactly that from Debian as well.

3 hasn't been a thing for a few years now. `Xorg.conf` technically still exists, but the normal display configuration flow doesn't touch it.

4 is better in Debian than it is in Ubuntu, in my opinion. Updates are really painless and well done. But notice that the cycle is different: Ubuntu gives you 6 months release cycles and an LTS every 2 years. Debian gives you a "when it's ready" release cycle with a expected time of 3-4 years, and two rolling releases. That is, "stable" is like a LTS release. If you're running a desktop system, you should probably use "testing", despite the name.

chaosite··on Scientists are only beginning to understand how PFAS impacting our health
The first 3 links are press releases by an academic PR office publicizing a recently published paper. They literally link to the scientific paper they reference, and being the second step in the science news cycle (https://phdcomics.com/comics/archive.php?comicid=1174), their representation of the contents of the paper is usually fairly accurate. This is not a valid criticism of the GP.

Edit: The second link is actually a paper.

chaosite··on Features of Project Loom incorporated in JDK 21
Yes, they all are.

First you have `src/main/java` (compare `src/test/kotlin`), and then the package is encoded as nested directories, and Java has a convention of using the domain name as the root of your packages. So, if your company domain is "sun.com", all your packages start with "com.sun", and then you have more specifiers under that.

But all IDEs and github condense empty directories together, so it's not that bothersome.

chaosite··on Numbers every LLM Developer should know
I like the interactive version: https://colin-scott.github.io/personal_website/research/inte...
chaosite··on tRPC – Build and consume typesafe APIs without schemas or code generation
Why not just gzip the data?

It might not beat a bespoke hand-crafted protocol that minimizes message size, but your use of the word "negotiate" makes me think that that's not what you're taking about...

chaosite··on I'm 17 and wrote this guide on how CPUs run programs
> They also include various techniques not used anymore, without mentioning that’s the case.

Definitely. Sometimes it's for comparative reasons, and sometimes it's easier to understand the newer technique in the context of the older one.

> discussing particular implementations of branch predictors in Pentium Pro, Alpha 21264, Pentium M, and Pentium 4.

Yeah, but the course is still not the optimization guide you wanted. The slides pick & choose features from each branch predictor to make the point the professor wanted to make and present the idea he wanted to. It's not really useful for optimizing code for that particular processor, it's useful for understanding how branch predictors work in general.

> I’m pretty sure they would be happy to included slides about contemporary CPUs, if only that information was public.

Only if they served as a good example for some concept, or helped make a point that the professor wanted to make. There's no point in changing the examples to a newer processor if the old one is a cleaner implementation of the concept being discussed (and older examples tend to be simpler and therefore cleaner). The point isn't to supply information about specific processors, it's to teach the techniques used in branch predictors.

P.S. See those 3 slides about a "Perceptron Branch Predictor"? Based on a paper from 2001? I'm betting AMD's "neural network" is really just something like that...

chaosite··on I'm 17 and wrote this guide on how CPUs run programs
You're both right.

What the GP is saying is that all the details of how modern processors work are out there in books and academic papers, and that the material covered in graduate-level computer architecture courses is very relevant and helpful, and they include all (or nearly all) the techniques used in industry.

From the GP's perspective, it doesn't matter at all if the course taught branch predictors on a MIPS processor, even though MIPS isn't really used anywhere anymore (well, that's wrong, they're used extensively in networking gear, but y'know, for the argument). They still go over the various techniques used, their consequences, etc., so the processor chosen as an example is unimportant.

You're saying that all this information is unhelpful for you, because what you want is a detailed optimization guide for a particular CPU with its own particular implementation of branch prediction. And yeah, university courses don't cover that, but note that they're not "outdated" because it's not as if at some point what they taught was "current" in this respect.

So yeah, in this sense you're right, academia does not directly tackle optimization for a given processor in teaching or research, and if it did it would be basically instantly outdated. Your best resource for doing that is the manufacturer's optimization guide, and those can be light on details, especially on exactly how the branch predictor works.

But "how a processor works" is a different topic from "how this specific processor works", and the work being done in academia is not outdated compared to what the industry is doing.

PS: Never believe the marketing in the press release, yeah? "Neural network" as used here is pure marketing bullshit. They're usually not directly lying, but you can bet that they're stretching the definition of what a "neural network" is and the role it plays.

chaosite··on Japanese houses have limited lifespans (2018)
https://archive.is/FL240
chaosite··on LaTeX3: Programming in LaTeX with Ease (2020)
So, someone will probably correct me further but:

You're still using (mostly the same) plain old LaTeX 2e with pdftex, xetex, and luatex (pdflatex, xelatex, and lualatex). Those are just 3 different engines for Knuth's original tex. As far as I know, some parts of all 3 are written in WEB (which is a language that persists mostly because Knuth's TeX is written in it).

chaosite··on Thoughts on the fading away of the age of IE
We probably wouldn't have Mozilla, for one.

So the open-source energy that went into Firefox would've gone into... KHTML? Maybe?

chaosite··on Thoughts on the fading away of the age of IE
I mean, Netscape did implode, and Microsoft was anti-competitive, but...

IE4 introduced DHTML, i.e., the paradigm that the entire HTML document is on the DOM and you can modify it with JavaScript (and style it with CSS, which is also on the DOM).

IE5 introduced XMLHttpRequest, i.e., the foundation of the modern SPA.

Both of these were major advances in web development, and websites started requiring (or preferring) IE because they wanted to use that stuff.

From there, yeah, IE6 was mostly bugfixes and webdev languished until Chrome came around (with Firefox being great, but not enough to topple IE.)

chaosite··on The Danger of Popcorn Polymer: Incident at the TPC Group Chemical Plant [video]
You're obviously right that the risk scales with size, but I'm still suspicious of pressure cookers. Yeah, it won't destroy the house, but I could still be seriously injured by it if the pressure release valve was clogged and I wasn't paying close enough attention.
chaosite··on Remote code execution in OpenSSH’s forwarded SSH-agent
And since the person you're replying to was mentioning command-line parameters, it's worth mentioning that this can be done with `ssh -J jumphost user@system`.
chaosite··on Show HN: Van, truck or car camp for $0 a night
pirate movie trackers are notoriously strict about people breaking their rules.
chaosite··on Privatisation has been a costly failure in Britain
https://archive.is/mnZlZ
chaosite··on Canonical and IBM Are Turning Ubuntu and Fedora into Microsoft Windows
https://archive.is/nKH8O
chaosite··on OwnCloud Infinite Scale added EULA that prohibits commercial use [pdf]
Unless that movie theater entered into a contract with a distributor, right?
chaosite··on Evernote has laid off most of its US staff and will move operations to Europe
dupe: https://news.ycombinator.com/item?id=36609641
chaosite··on Amateurs obsess over tools, pros over mastery
Jaco Pastorius famously played a Fender Jazz Bass from which he removed the frets with a butter knife, then sanded down and finished with marine epoxy.

Then it got broken so he had it restored and kept playing it.

Many touring or pub musicians play a plain old mass produced guitar, because if anything happens to it (for example, when flying) they can just pop into any music store in whatever city they are and get another for a reasonable price.

chaosite··on Homebrew's analytics have moved to the EU and away from Google
For an actual business, no, it's not 15 minutes, but for a small business it's more like a couple of days once, and for a medium business it's a few days every quarter.

Basically, you need to sit down and figure out: 1. What data are you storing, 2. What are you doing with it and who you are giving it to, 3. Is it personally identifiable information, 4. Why are you storing it and do you really have to.

Yes, the GDPR's intent is to force businesses to think about that. For a lot of businesses the answers to those questions are actually quite simple.

chaosite··on Homebrew's analytics have moved to the EU and away from Google
No, you don't need a consent form. The GDPR does not require consent.

For example, you don't need consent to store server logs with IP addresses if all they're used is for security and auditing. You don't need consent to archive receipts and invoices if you need to do that for tax purposes, even though those are full of PII. You don't always have to let people opt out of that, either!

That's called legitimate interest, and did you know you have it?

If the person might be a child then the rules have been complex and obtuse since forever. You might need a DPO for regulatory compliance, much in the same way you might need an accountant.

chaosite··on Makie, a modern and fast plotting library for Julia
If each package vendors its own deps, when the dep has a security vulnerability and needs an upgrade you need to hunt down every last location it exists in, instead of updating the single shared system dep and being done with it.
chaosite··on Flunct: Well-typed, fluent APIs in SML
The preprint version has the appendices which document the tool.

https://arxiv.org/abs/2211.01473

chaosite··on If We’re Not Careful, the AI Revolution Could Become the ‘Great Homogenization’
2nd half of the 20th century? Sears houses were in the 1st half, and with houses built before that you have some serious survivorship bias going on...
chaosite··on High prices make textbook ‘piracy’ acceptable to most students
I mean, you're not wrong, but note that in 2023, Millennials and "25-to-39-year-olds" are one and the same. That is, I agree that this is not the best comparison, but the age range isn't arbitrary.
chaosite··on Planned obsolescence: Apple attacked for the “serialization” of its spare parts
Because the camera represents the analog hole. If you can replace the camera, you can hook the phone up to a computer and feed it pictures of faces instead, until the phone unlocks.
chaosite··on Mobile home park residents form co-ops to save their homes
If I'm reading your comment correctly, housing supply problem being an apparent symptom seems to be your way of saying "we could fix that easily if we wanted to, but we aren't fixing it, therefore we don't want to fix it."

And I don't exactly disagree, but surely you see how it's just slightly more complicated than that, and also how fixing the housing supply symptom (i.e., homing the homeless) would really help?

chaosite··on Web fingerprinting is worse than I thought
Yes, all the problems are on very complicated SPA type sites. You know, like Google Docs/Drive, YouTube, Facebook, Instagram.
chaosite··on Web fingerprinting is worse than I thought
I'm not saying don't use it, I also have it turned on. I'm saying that it has consequences, and you might not immediately realize it's related to RFP.
chaosite··on Web fingerprinting is worse than I thought
It's necessary if you have filters in the upload flow, like Instagram does (which is why it breaks.)

Or it might not be strictly necessary, but Instagram does it anyway.

← PreviousPage 2 of 13Next →