Readit News logoReadit News
yohbho commented on Myths Programmers Believe about CPU Caches (2018)   software.rajivprab.com/20... · Posted by u/whack
yohbho · 2 months ago
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

yohbho commented on Introducing architecture variants   discourse.ubuntu.com/t/in... · Posted by u/jnsgruk
sluongng · 2 months ago
Nice. This is one of the main reasons why I picked CachyOS recently. Now I can fallback to Ubuntu if CachyOS gets me stuck somewhere.
yohbho · 2 months ago
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.
yohbho commented on Rouille – Rust Programming, in French   github.com/bnjbvr/rouille... · Posted by u/mihau
fainpul · 2 months ago
Indent with two spaces for code formatting.
yohbho · 2 months ago

  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.

yohbho commented on Zig's New Async I/O   andrewkelley.me/post/zig-... · Posted by u/todsacerdoti
gethly · 2 months ago
I almost fell out of my chair at 22:06 from laughter :D
yohbho · 2 months ago
due to broken audio?
yohbho commented on Minecraft removing obfuscation in Java Edition   minecraft.net/en-us/artic... · Posted by u/SteveHawk27
dontlaugh · 2 months ago
Amusingly, Minecraft is a counter-example. It has very few assets and they are hardly essential to the experience.
yohbho · 2 months ago
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.

yohbho commented on 987654321 / 123456789   johndcook.com/blog/2025/1... · Posted by u/ColinWright
yohbho · 2 months ago
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.)

yohbho commented on YouTube is taking down videos on performing nonstandard Windows 11 installs   old.reddit.com/r/DataHoar... · Posted by u/jjbinx007
Brett_Riverboat · 2 months ago
For those who care at the first setup screen instead of answering any of the questions press Shift + F10

CMD will open

Type (no quotes) “net user Prefferedusername /add” (replacing Prefferedusername with the user name you wish to use) and press enter.

Next type “net localgroup administrators Prefferedusername /add” and press enter.

Next type “net user Prefferedusername /active:yes” and press enter.

Next type “net user Prefferedusername /expires:never” and press enter.

Next type “net user administrator /active:no” and press enter.

Next type “net user defaultUser0 /delete” (this is case sensitive make sure the "U" is capitalized) and press enter.

Next type "regedit" and press enter.

This opens registry editor, navigate to "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE"

Delete "DefaultAccountAction", "DefaultAccountSAMName", and "DefaultAccountSID"

Right click on "LaunchUserOOBE" and rename it to "SkipMachineOOBE" and make sure the value is set to "1".

Close registry editor and type "shutdown /r /t 0"

yohbho · 2 months ago
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.

yohbho commented on Keep Android Open   keepandroidopen.org/... · Posted by u/LorenDB
yohbho · 2 months ago
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).

yohbho commented on TOON – Token Oriented Object Notation   github.com/johannschoppli... · Posted by u/royosherove
yohbho · 2 months ago
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?

yohbho commented on The Spilhaus Projection: A world map according to fish   southernwoodenboatsailing... · Posted by u/zynovex
yohbho · 2 months ago
Nice reminder, that every eel in austria came from the caribic by looking at a path in this map.

u/yohbho

KarmaCake day8January 10, 2025View Original