News for hackers. Stuff that matters.

yohbho

Re:Myths Programmers Believe about CPU Caches on Saturday November 01, 2025 @04:46AM (#45780168)
2018, discussed on HN in 2023: https://news.ycombinator.com/item?id=36333034

  Myths Programmers Believe about CPU Caches (2018) (rajivprab.com)
 176 points by whack on June 14, 2023 | hide | past | favorite | 138 comments
Re:Architecture Variants in Ubuntu on Friday October 31, 2025 @02:03PM (#45774868)
CachyOS uses this one percent of performance gains? Since it uses every performance gain, unsurprising. But now I wonder how my laptop from 2012 did run CachyOS, they seem to switch based on hardware, not during image download and boot.
Re:Rouille – Rust Programming, in French on Friday October 31, 2025 @04:41AM (#45769683)

  fk lese(&selbst, schlsl: Zeichenkette) -> Ergebnis<Möglichkeit<&Zeichenkette>, Zeichenkette> {
            wenn lass Etwas(wöbu) = gefährlich { WÖRTERBUCH.als_ref() } {
                Gut(wöbu.hole(&schlsl))
            } anderenfalls {
                Fehler("Holt das Wörterbuch".hinein())
            }
        }
isn't the idea behind programming "languages", that they are sentences readable to both humans and the compiler?

This absolutely is not readable to me. But woerterbuch and schluessel should of course not be abbreviated, for legibility.

Re:Zig's New Async I/O [video] on Thursday October 30, 2025 @02:49PM (#45763753)
due to broken audio?
Re:Minecraft removing obfuscation in Java Edition on Thursday October 30, 2025 @02:45PM (#45763692)
Free (as in freedom) software can still be sold.

OSS would probably also just mean "read the source e.g. on github", not really specific as to all the four essential freedoms.

Re:987654321 / 123456789 on Thursday October 30, 2025 @09:47AM (#45760000)
For smaller bases, does this converge to base - 1 ?

Base 3: 21/12 = 7/5(dec.)

Base 2: 1/1 = 1

Base 1: |/| = 1 (thinking |||| = 4 etc.)

Good guide, thanks!

präferiert (dt.) is often pronounced praefferiert in my head, too, but it is always written with only one f, in german and in english.

Re:Keep Android Open on Wednesday October 29, 2025 @10:06AM (#45747017)
The nice thing about laws in the EU is: if Google locks it down, like iOS, we just enforce that it needs to be more open again.

But for iOS, that did not work well so far, as I have zero apps installed via AltStore PAL (iOS), yet some apps via F-Droid (Android).

Re:Toon – Token Oriented Object Notation on Tuesday October 28, 2025 @11:52AM (#45734469)
LLMs read

> users[2]{id,name,role}: 1,Alice,admin 2,Bob,user

differently than me, i guess. I would read that as "at index value of two, i.e. the third element of an array, the values 1aliceadmin and 2bobuser are stored, or not, since we want to destructure these values and a pair value of a tuple of three is given. and would be confused and think wtf is that, dear user, did you omit or misformat values?

Re:The Spilhaus Projection-A World Map According to Fish on Monday October 20, 2025 @05:33AM (#45641853)
Nice reminder, that every eel in austria came from the caribic by looking at a path in this map.
Re:./watch on Saturday October 18, 2025 @01:05PM (#45628785)
.\t

seems useful on it. can you run

watch -n '.\t'

on it? /jk as that would make it a dedicated watch watch

> Docker was easy to adopt as it did not change very much about how you used software.

What?! Docker images should seperate the program from the data. Something casual image maintainers fail to adhere to. I find docker extreme hard to use for persistent state that is not a remote DB.

It is even less secure than VMs (which seem to be like swiss chess if you try to break out). (Security-wise: rkt failed five years ago, BSD jails could do it better?)

Also, Docker was supposed to solve performance issues of VMs, debloating them. Instead, we got hypervisors or full VMs as hosts for Docker images, just to get the image as a de facto meta package manager to ship software.

So for me, it can be convenient, but I have no idea what I am doing when adding make file like statements to a yml to run full containers just to run e.g. a web server with some dependecies. But the workflow for that was novell to me, who previously fought with ruby and python module installations on host system.

Re:PlanetScale for Postgres is now GA on Monday September 22, 2025 @01:05PM (#45336343)
Did they rename to GA, did a company named GA buy them, or are they general availability, i.e. 1.0 out, or "not closed beta" ?

Ah, overlooked first sentence, read only all headings and navigation and footer:

> is now generally available and out of private preview

Re:How to Stop Functional Programming on Sunday September 21, 2025 @01:47PM (#45325010)
when I see the word function or someone uses parenthesis to call one, it clearly is fp. Management was clear that this would not be tolerated, this source is too addictet to the good pure shit.
Re:iFixIt iPhone Air Teardown on Sunday September 21, 2025 @01:43PM (#45324966)
"thinnest iphone", well no, i am sure the Iphone (2007) or iphone 3g was slimmer. Only a big part of the device is slim with iphone air.

And to not put your phone on the camera lens, I would put it in a case that is as thick as the thickest glass part, which looks not that slim.

Re:Today, I learned that eels are fish on Thursday September 04, 2025 @06:48AM (#45125767)
morray seems to be muscian, you mean moray
Re:Today, I learned that eels are fish on Thursday September 04, 2025 @06:47AM (#45125752)
QI said (roll podcast title) There is no such thing as a fish, since that group is unbelievably diverse.

Strange that birds are dinosaurs, while Pterosaurs are not. Where is the bipedal fish that looks like a reptile or mamal, but is secretely a fish, too?

Re:The Barium Experiment on Wednesday April 09, 2025 @07:59AM (#43631140)
Nitpick: Units never belong in []. It is [height] = cm. not height [cm].

Graphs are labeled wrongly in 8 out of 10 academic papers, too. First semesters learn this rule and forget it by third semester since it looks cooler. And height/cm as label seemingly does not?

Re:The "S" in MCP Stands for Security on Sunday April 06, 2025 @11:26AM (#43602121)
MCP, master control program - this is about tron, ain't it?
My mother has no idea how to call me from an android phone via phone, and instead always calls via Whatsapp.

As to reiterate that I have the reverse problem, like my mother, too:

As someone who has an iPhone and Whatsapp, often I fail to find a button to call people, and use whatever app I am currently using instead, even if that annoys me. But the UI is to complex and phoning people is a hidden/dark pattern in said apps. Or in Signal, I have contacts without phone numbers, so there is no possibility to call anyhow.

Re:I tried making artificial sunlight at home on Friday March 28, 2025 @09:17AM (#43505075)
From the first videos, I thought this as a one meter square, or larger.

500 W of luminosity in such a small package, as it turns out, seems close to a thermal limit, even with 90+% efficiency.

Stallman calls it Swindle, for a reason. Actually, many reasons.
Re:Why Tracebit is written in C# on Saturday February 01, 2025 @08:28AM (#42898131)
Free as in beer? Is Mono free as in free beer, or .NET, which at any time can be commercialized?
Re:OpenAI O3-Mini on Saturday February 01, 2025 @07:46AM (#42897917)
"we are releasing", and by releasing, we do not mean releasing.

Is this company worth anything?

"Reasoning" will be disproven for this again within a few days I guess.

Context: o1 does not reason, it pattern matches. If you rename variables, suddenly it fails to solve the request.