I found a way to optimize your code without affecting the result. By making it branchless, I was able to get my CPU to 100% utilization!
- 1 Post
- 263 Comments
FooBarrington@lemmy.worldto
iiiiiiitttttttttttt@programming.dev•The problem is older than I thought...English
19·6 days agoPff, who needs a display? Just do that Matrix thing and render the raw state in your head.
FooBarrington@lemmy.worldto
PC Gaming@lemmy.ca•Producer of stinky thermal paste that corrodes copper knew about the issue since 2024 - the paste emits acidic vapors, corrodes copper, 'glues' heatsinks to processors and permanently damages coolersEnglish
11·7 days agoThat’s a roundabout way of writing 50500
Could be an SELinux issue. Look up mounting with the :z/:Z option.
FooBarrington@lemmy.worldto
Today I Learned@lemmy.world•TIL the DCIM directory stands for "Digital Camera Images"English
1·19 days agoHm, the way I remember it is that the cache being flushed showed a spinner before ejecting the drive. GP is referring to an actual error being shown.
FooBarrington@lemmy.worldto
PC Gaming@lemmy.ca•We're raising money for charity by trying to unlock the impossible Garry's Mod achievement: "Yes, I am the real Garry!"English
18·1 month agoIIRC you get the achievement when you play on a server while Gary is online there
It’s amazing - Patton Oswalt kills the role! Really reminds me of Robot Chicken.
FooBarrington@lemmy.worldto
Nintendo@lemmy.world•Nintendo Direct Announced for September 12 - Nintendo Official SiteEnglish
18·2 months agoDo you think they’ll finally announce Silksong?
FooBarrington@lemmy.worldto
PC Gaming@lemmy.ca•Hollow Knight: Silksong Is Out Now — but It's So Popular It's Crashing Storefronts Including SteamEnglish
7·2 months agoI played a good 5 hours yesterday, and stayed up a little too late lol. Gotta say, so far it’s great!
FooBarrington@lemmy.worldto
movies@piefed.social•Official Poster for 'Wake Up Dead Man: A Knives Out Mystery'
5·2 months agoIs that the sexy priest?! My god, I can’t wait.
Though gitea is admittedly also a pretty bad name. Is it “gitti” (like tea), or “git-e-a”?
FooBarrington@lemmy.worldto
Selfhosted@lemmy.world•Plex server patching requiredEnglish
41·3 months agoOh, it’s actually 0-click (though a couple dozen key presses)
FooBarrington@lemmy.worldto
Selfhosted@lemmy.world•Homarr - A modern and easy to use dashboard. 30+ integrations. 10K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.English
4·3 months agoIt’s IMO also so much clearer regarding data types. You can’t accidentally write a boolean when you want a string.
FooBarrington@lemmy.worldto
Linux@programming.dev•Ready to jump into Linux for everything
2·3 months agoYou can’t run
apt-getetc. on your host, but the idea is that you create containers with whatever distribution you want through distrobox and run your commands in there. In effect, there’s pretty much no difference, especially if you set your terminal up to open into the distrobox.
It doesn’t contain a labrador, but I’m open to being convinced. What’s the advantage?
FooBarrington@lemmy.worldto
Programmer Humor@programming.dev•I wonder if this was made by AI or a shit programmer
4·4 months agoAside from the fact that a strong enough supercomputer won’t exist for decades, you’re not limited by the speed of UUID generation. Even if you had an infinitely fast supercomputer, it wouldn’t speed up your brute force attempts, since you’re limited by the speed of the backend. Wherever Tea stores their images, that server has only a limited capacity for responding to requests, far less than the speed with which you can generate UUIDs. That’s a hard cap - you won’t try guesses faster than that.
FooBarrington@lemmy.worldto
Programmer Humor@programming.dev•I wonder if this was made by AI or a shit programmer
13·4 months agoA UUID v4 has 122 bits of randomness. Do you know how long that would take to brute-force, especially with network limitations?





No? The article literally explains that it’s for something else?