HNHacker News
TopNewBestAskShowJobs

asksomeoneelse

78 karma · joined March 6, 2023

I'm not new. I just keep losing my credentials.
submissionscomments
asksomeoneelse··on Windows 11 is last in gaming performance tests against 3 Linux gaming distros
I don't expect it to be the cause, but who knows: does your GPU happen to be sitted in the bottom-most PCIe slot of the motherboard ? I encountered weird stuff with the PCIe lines connected to the motherboard chipset (instead of those connected directly to the CPU) on several B550. Some PCIe packets would apparently be garbled/lost when under load, resulting in the driver for the associated peripheral timing out.
asksomeoneelse··on WD refused to answer our questions about its self-wiping SanDisk SSDs
More than 2 HDDs starting to fail at the same time would be really bad luck. Maybe the issue is elsewhere, like the HBA or the motherboard ?

For the story, I have a NAS with an AMD B550 motherboard and some Asmedia SATA controllers with a bunch of WD HDDs, using ZFS. At some point, they also started to throw weird read errors when under heavy load, but would work just fine the rest of the time. Turned out it was caused by me moving the SATA card from one of the PCIe slots wired directly to the CPU, to a PCIe slot wired to the B550 chipset.

asksomeoneelse··on 45% of people have 20 browser tabs open at a time
2K ? I learned the hard way that Firefox has a limit of 8000 tabs per window when reloading a previous session. Wrote a small app to split the tabs to save my decade-old session. The day I close a tab without having read it hasn't come yet !
asksomeoneelse··on A Group Is Its Own Worst Enemy [pdf] (2005)
I think GP was making a math joke; "a group is a non-empty set [...] in such a way that [...] every element has an inverse". [0]

[0] https://en.m.wikipedia.org/wiki/Group_(mathematics)

asksomeoneelse··on Mouse scroll wheel acceleration, implemented in user space
Ah yes, the monday morning little ritual: try to move down a dozen lines, maybe half a page, scroll a bit and realized I moved 3 pixels. Try again scrolling a bit faster and end up zooming by 3 pages. Repeat in the other direction. Use the scroll bar out of desperation after 3 failed attempts.

Gets a bit better once the coffee and the muscle memory kick in, but I really wish Apple would give some love to common old-fashioned rodents instead of letting their users having to rely on community-made apps to have a decent behavior for those. I'm probably not the only one using a laptop provided by an employer with fairly strict rules about the installation of "unnecessary" software.

asksomeoneelse··on HDD Sales Crater, Drop 35% Year-over-Year
I made a storage server a few weeks ago. I experimented a bit with various HDDs before choosing, and the difference in noise seemed kinda massive depending on what model you go with. I tested with some Seagate IronWolf Pro 20TB and WD Red Pro 20TB, and they were indeed pretty noisy. Clearly too noisy to have in a room where people live. On the other hand, the WD Red Plus (only 14TB max though) are surprisingly quiet. I put 11 of those in a good case (Fractal Define 7), and the whole thing is barely audible. Even with some heavy I/O task going on (e.g. ZFS scrub), you could hardly guess that the server is running over the background noise of my fridge and ventilation.
asksomeoneelse··on Asahi Linux M1 GPU drivers can now run Windows games via Steam Proton
I feel like there is some additional context missing. It's not like HN readers were spamming him, or flooding his platform. It's just, from what I gathered from this mastodon thread, that the people didn't read the article, resulting in comments on HN not being interesting enough for him.

But blocking people just because they are reading HN and learning about Asahi through it seems kinda extreme and uncalled for.

asksomeoneelse··on Unsigned int considered harmful for Java (2014)
So obvious it's not even fun, right ? And yet... there is a twist !

I don't want to spoil the ending. I encourage people to run the code on their own after they made their guess to compare.

asksomeoneelse··on Unsigned int considered harmful for Java (2014)
One of my favorites; guess the difference between the output of that code:

byte a1 = 0x40; byte a2 = (byte) 0x80; a1 >>= 1; a2 >>= 1; System.out.printf("0x%02X\n", a1); System.out.printf("0x%02X\n", a2);

And that code (note the operator ">>>" instead of ">>"):

byte a1 = 0x40; byte a2 = (byte) 0x80; a1 >>>= 1; a2 >>>= 1; System.out.printf("0x%02X\n", a1); System.out.printf("0x%02X\n", a2);

Congrats if you guessed right on your first try, because I certainly did not.

← PreviousPage 2 of 2