HNHacker News
TopNewBestAskShowJobs

theevilsharpie

924 karma · joined February 14, 2017

submissionscomments
theevilsharpie··on Port of Los Angeles says shipping volume will plummet 35% next week
> The Dems, because deep down they'd rather have the GOP over real progressives. Decided to rig it for Hillary again in 2016. Sanders had an actual base, but the DNC didn't want him to win.

Sanders was a candidate in the Democratic primary (which is already a significant accommodation, with Sanders not even being a member of the Democratic party), and was strongly rejected by Democratic voters -- twice.

The constant whining from Sanders fans about the DNC is simply annoying, and is basically the same conspiratorial thinking that MAGA adherents display when they complain about the "deep state".

theevilsharpie··on 3dfx: So powerful, it's kind of ridiculous (2023)
I can't speak for the original GLQuake on 3dfx hardware, but on OpenGL-compatible Quake engines (which include modern Quake source ports such as Quakespasm, Ironwail, and vkQuake), bilinear texture filtering is an option that can be turned off.

I play on vkQuake with nearest-neighbor texture filtering, square particles, and the "classic" water warping effect and lighting effects, alongside 8x MSAA, 16x anisotropic filtering, high-resolution widescreen, etc. This keeps the art style consistent with the look of the original Quake, while still allowing for the benefits of hardware 3D acceleration.

theevilsharpie··on John Carmack imagines a future where GPUs don't need PCs
Being able to run some graphics diagnostics without a host CPU would be useful.

However, if we're talking about putting a general-purpose processor/RAM onto a GPU that has enough power to run Linux, at that point, you've essentially created a game console.

May as well go all the way and add a display and battery too, for portability. I'm sure that would be a hit! /s

theevilsharpie··on Intel Honesty
> But to do this sort of thing you need a dictator at the top who is willing to risk a run of negative-profit quarters to fix the company's underlying rot.

Private companies still have shareholders that the CEO answers to -- who tend to get angry at taking losses quarter after quarter with no clear path to growth.

theevilsharpie··on IPMI
> To be fair, these are meant for datacenter applications where it would be absolutely normal to run your fans at full speed all of the time.

Case fans for rack mount chassis are very powerful, and also can take up a significant amount of energy when running full-bore (not to mention the mechanical wear).

I haven't used a server chassis in over a decade where the fans were running at full beyond a few brief seconds at startup. I'm not sure if they used a four-pin header or some other mechanism, but fan speed control is a normal and expected feature in server hardware.

> Does it have HTML5 remote console, and basic component diagnostics? If so what else would you like?

IPMI specifically is meant to be a standardized remote management interface. It (mostly) works for basic things, but more advanced functionality is hit-or-miss, or absent entirely, leaving you at the mercy of proprietary tools. Redfish is supposed to be better, although I personally haven't used it.

Web interfaces can be hit-or-miss in terms of functionality and UX. Additionally, I've often found these web interfaces to be unstable -- either being very slow or not loading at all, to certain features of the UI not loading data or hanging the interface.

theevilsharpie··on AnandTech Farewell
Ars Technica is more of a general tech and science news site. They do some computer hardware and phone reviews, but nowhere near what a dedicated tech site does, and they're often not Day 1 reviews.

I find their content generally pretty high quality for their niche (with Beth Mole's and Eric Berger's content being my personal standouts), but Ars Technica is by no means a substitute for a site like AnandTech.

theevilsharpie··on Microsoft employee proposes user delete almost all of their registry keys
In a past life, I was a system administrator for Windows-based computer systems. While I'm not in that world anymore, I do dip my toes into it occasionally to help out acquaintances that still are, and it is both mind-boggling and discouraging how difficult it is to find useful information when troubleshooting a problem with software in Microsoft's ecosystem.

If it's not log messages that are somehow simultaneously overly verbose while lacking any actionable diagnostic information, then it's useless resources like https://answers.microsoft.com that pollute search results with junk, or people in forums trying random things and then describing something as a solution because whatever problem they were having coincidentally stopped at the same time. And when you do actually find a clear solution to your problem, it's a combination of registry settings, commands, and similar that you would have never been able to intuit on your own, and would never generalize to anything else.

I truly feel for this generation of Windows sysadmins. It wasn't always this bad.

theevilsharpie··on What Happens When Ozempic Takes over Your Town
> I was wondering if there really are no negative long term side effects

Weight loss via caloric restriction inevitably results in losing lean muscle mass along with body fat.

That's why diet and exercise are paired -- diet loses the weight, and exercise helps to reduce the loss of muscle.

While there's nothing stopping people from pairing Ozempic with exercise to achieve a similar result, I doubt many are. Those ecstatic about the rapid weight loss achieved by these drugs may not be so happy if they were viewing their progress on something that measured their full body composition, rather than just their weight.

These are miracle drugs for people who are morbidly obese and suffering from severe weight-related problems. Those folks can use Ozempic to rapidly lose fat and muscle to get them out of their immediate crisis, and then work to rebuild as much of that lean muscle mass as they can later.

However, people who are just using Ozempic as an easier alternative to diet and exercise are not only taking away supply of this drug from people who really need it to deal with morbid obesity, they're setting themselves up for health problems later in life if enough of their muscle mass has degraded that they start struggling to do everyday activities. Unfortunately, by the time people reach this point, it's unlikely that they'll be able to do anything about other than resort to assistive technology like wheelchairs to regain their mobility.

theevilsharpie··on Intel hit with lawsuit over $32B loss, shareholders complain company hid problem
The number of non-Apple desktops and laptops running ARM is likely a rounding error, and that's unlikely to change anytime soon. Intel has never had a significant presence in mobile devices in the current smartphone era, and they've survived thus far.

Intel does have a presence in servers, but AMD has been offering vastly superior products for years in that space, and consequently, AMD has significantly eaten into Intel's server market share. The hyperscalers are also investing in ARM server products, but it's unclear what effect this has on the market.

I think we're witnessing the end of Intel as we know it, but not due to ARM. Rather, the current CEO -- Pat Gelsinger -- has bet the company on Intel becoming a foundry for other chip designers. Whether that bet will succeed is up in the air.

My 10-year prediction is that Intel will survive as a foundry -- semiconductor manufacturing is a national security priority and the US government can't afford to let Intel fail -- but the chip design segments of Intel may end up getting spun off into their own company (the inverse of how AMD spun off its fabs into what is now Global Foundries).

theevilsharpie··on BYD achieves 1,300-mile driving range with latest PHEVs
The last time I had to commute to downtown Los Angeles (about a 50-mile drive), my Prius got 72 MPG.

My car is nearly 10 years old, so either I somehow managed to obtain the world's best Prius (with no loss of hybrid battery capacity over time), or you're underestimating the capabilities of today's hybrid gas-electric vehicles.

theevilsharpie··on Interview with Google Cloud CEO Thomas Kurian on Google's Enterprise AI Strategy
I'm still using GCP services that were deprecated years ago (e.g., legacy VPC, classic non-HA VPNs, decommissioned images, etc.). In some cases I can't create new instances of these services, but those that already existed continue to work.

Similarly, we have infrastructure created with very old versions of Terraform whose GCP providers continue to work despite being years old. Indeed, I can't recall a time when Google Cloud changed a public non-beta API in a compatibility-breaking way.

I'm sure we can continue to go back-and-forth with our own personal anecdotes, but they are just that. If a more generous deprecation policy was actually something these cloud providers were willing to stand behind, they'd add that to their terms of service. Azure has some extended lifecycle services (to their credit), but otherwise, GCP's lifecycle policies are in line with the rest of the industry.

theevilsharpie··on Interview with Google Cloud CEO Thomas Kurian on Google's Enterprise AI Strategy
> Say what you will about AWS or Microsoft products, if you build something on those platforms you know it'll be supported for a long time.

AWS literally has the same terms.[1]

Azure claims that "certain" Azure services have up to three years of notice; otherwise, it similarly offers a one-year notice period like GCP and AWS.[2]

[1] https://aws.amazon.com/agreement/#:~:text=Notice%20of%20Chan...

[2] https://learn.microsoft.com/en-us/lifecycle/policies/modern#...

theevilsharpie··on Interview with Google Cloud CEO Thomas Kurian on Google's Enterprise AI Strategy
Google Cloud DOES have a deprecation "strategy". They publish it in Google Cloud Terms of Service.[1] In short, any service that is listed as "Generally Available" (i.e., not alpha/beta) is guaranteed to have at least 12 months of notice prior to deprecation. And services that are in alpha/beta are clearly marked as such in the documentation and UI, and require explicit steps to use via the command-line or API.

Additionally, if you literally Google "Google Cloud Deprecation strategy", a statement on Google Cloud's deprecation policy and links to the Terms of Service and Google Cloud's service lifecycle is the very first result.[2]

I've been a user of Google Cloud for a long time, and the company I'm with has a yearly GCP bill in the millions. While Google Cloud does have its frustrations (e.g., their various price hikes, and the architecture of their network infrastructure that makes them more vulnerable to cross-region outages), Google Cloud being "deprecated" is not a thing that I worry about.

Can this tired meme please die already?

[1] https://cloud.google.com/terms#:~:text=(d)%C2%A0Discontinuat...

[2] https://www.google.com/search?q=Google+Cloud+Deprecation+str...

theevilsharpie··on ZenHammer: Rowhammer attacks on AMD Zen-based platforms
This is referring to ECC as reported from an out-of-band management controller on those specific motherboards. This needs either some platform-level integration into the memory controller (which is unlikely to be present on consumer Ryzen), or an driver/agent running on the host OS that captures ECC events and sends them to the out-of-band management controller.

Standard ECC events are handled by the OS, and don't depend on (or otherwise interact with) an out-of-band management controller or any other external device. This works fine on Ryzen.

theevilsharpie··on ZenHammer: Rowhammer attacks on AMD Zen-based platforms
Ryzen CPUs report ECC errors like any other modern CPU -- it raises a Machine Check Exception which the operating system is expected to handle. Linux and Windows will both handle and log any ECC errors that the CPU raises. Presumably the various BSDs do as well.
theevilsharpie··on Linux being secure is a common misconception
(2022)
theevilsharpie··on Quake Brutalist Jam II
> Personally, I prefer https://github.com/Novum/vkQuake because it allows disabling texture smoothing.

All hardware-accelerated Quake source ports that I'm aware of allow you to disable texture smoothing, going all the way back to the original GL Quake (if not earlier).

It was historically set through the console (rather than through a graphical menu), via the `gl_texturemode` command

On modern hardware capable of trilinear filtering, the appropriate texturemode to disable texture smoothing (which keeping the other niceties of hardware acceleration) was

```

gl_texturemode "GL_NEAREST_MIPMAP_LINEAR"

```

For the Ironwail engine, which is the currently preferred Quake source port for modern 3D hardware, options on whether or not to use texture smoothing (and other "retro" aesthetics like whether to use square or circular particles) are things that can be toggled in the video configuration menu.

theevilsharpie··on ECC RAM on AMD Ryzen 7000 Desktop CPUs
> Ok so tell me what it looks like. _That's_ what I want to know.

Suppose an application running on your machine suffers some type of malfunction -- a segmentation fault or a seemingly-random kernel panic that you're unable to reproduce.[1] And suppose it happens often enough that you want to fix it, and understand the root cause.

You research the issue, and are pointed to potentially faulty hardware. That then raises a question: how do you know your physical memory is working properly?

You could run a diagnostic application like Memtest86. However, that has the following issues:

- It only tests a particular point in time. If the test "passes", that doesn't say whether your memory encountered a fault in the past, nor does it guarantee that it won't fault in the future.

- What does it even mean for a test to "pass?" Just a single run through a test suite? Running it for some period of time, like a few hours?

- A diagnostic like Memtest86 is invasive. While it's running, you can't use your machine for other things.

Troubleshooting these types of hardware errors without ECC is tricky, because there's not really a way to conclusively link a software fault to a hardware error.[2][3]

However, on a machine equipped with ECC, this type of troubleshooting is a lot more straight-forward. If bits are flipped in memory, the memory controller can probably detect that (assuming only only one or two bits are flipped), and can raise a machine exception that the OS can catch and do something with (e.g., logging the error, terminating the process impacted if the error is correctable, etc). That saves a lot of time and headache that you'd otherwise be spending on guesswork.

You may still be asking, "how big of an issue is this, really?" I suppose whether or not you care about having hardware that can detect memory faults is up to you.[4] However, during the portion of my career where I was managing large machine fleets, memory failures were the second most common type of hardware failure, behind only mechanical disk drives.

> That statement doesn't hold water. If it takes extra bandwidth and capacity to provide ECC, I can use the extra bandwidth as memory instead of error correction, no?

No. The memory controller is unable to use the additional capacity for anything other than error checking (hence why it's called "side-band").

What you're describing is "in-band ECC", which is something that you sometimes see on GPUs or small form factor systems aimed at professional markets.

---

[1] An application crash is actually one of the better outcomes of a memory error. The worst-case scenario is silent corruption of data stored in memory that your application assumes to be valid.

[2] Errors as a result of faulty memory have been particularly frustrating to OS developers, as it can result in nonsense error reports. Linus Torvalds has bemoaned the lack of ECC options on consumer hardware, claiming that it was the industry cheaping out. During the lead-up to the launch of Windows Vista, Microsoft officially encouraged the use of ECC. I don't follow development of the BSDs, but it wouldn't surprise me if they similarly wished their users would use ECC across the board.

[3] When Google first started building out the infrastructure for their server farms, they opted not to use ECC memory for their servers as a cost-savings measure. They subsequently had a memory fault on one their machines that resulted on corruption of their search index. While they worked around the problem by adding logic to verify the contents of the index, all subsequent generations of machines that Google has deployed have ECC support. For specifics, see the second footnote in https://danluu.com/why-ecc/

[4] Note that many of your other components that store data in some way (e.g., caches, persistent storage, etc.) are likely to have ECC capability. The only notable exceptions I can think of are GPU memory, the main system memory on consumer hardware, and the processor's registers.

theevilsharpie··on ECC RAM on AMD Ryzen 7000 Desktop CPUs
> what sort of protection does ECC ram give me?

The ability to detect (and possibly correct) physical memory errors.

> I've been using them both for over 2 years, and not once in that period (that I'm aware of) have I found myself with a problem due to faulty RAM

The "that I'm aware of" part is the key issue. ECC provides visibility into the health of the physical memory that you otherwise wouldn't have.

> What practical benefit would I get in exchange for the performance hit of ECC memory?

Side-band ECC (which is what you'd use on desktops/workstations/servers) doesn't have a performance hit, as the overhead of ECC is fully neutralized by the additional bandwidth and capacity of an ECC DIMM.

theevilsharpie··on ECC RAM on AMD Ryzen 7000 Desktop CPUs
> IIRC AMD doesn't validate the ECC functionality on their ryzen chips? So you could theoretically end up with a defective ECC circuitry if unlucky.

This is not the case.

Ryzen, Threadripper, and EPYC use a unified memory controller that has fully validated/qualified/supported ECC capability. The only difference between the memory controllers in these CPUs is the number of them (Threadripper and EPYC will have multiple memory controller to support the extra memory channels).

When AMD claims that ECC on Ryzen isn't validated, they're talking about the platform as a whole, not the CPU specifically. ECC support on consumer CPUs depends on the motherboard supporting it. Unlike on Threadripper and EPYC (and also unlike Intel's approach), ECC is not a guaranteed feature of the Ryzen platform, so people who want that functionality need to explicitly looks for motherboards that have it (in the same way that you'd need to explicitly verify PCIe bifurcation support).

However, if the motherboard supports it, ECC on Ryzen is a fully supported, validated, you-can-RMA-if-it-doesn't-work feature.

theevilsharpie··on ECC RAM on AMD Ryzen 7000 Desktop CPUs
> You mean flexibility to claim ECC support but not doing any validation to make sure it actually works?

The actual ECC functionality is part of the memory controller, which is entirely AMD's domain. The ECC functionality of the memory controller is fully validated.

Whether or not ECC support is present on the rest of the platform is the responsibility of the system builder. However, if the platform isn't fully ECC-capable (e.g., you're using non-ECC DIMMs, the motherboard doesn't have the necessary electrical traces, ECC support is disabled in the UEFI, etc.), this will result in the memory controller disabling ECC support, which is visible to the operating system and is something that you -- the end user -- can verify.

> Does any AMD motherboard manufacturer actualy states that "ECC is supported and has been validated"?

Yes. ECC support will be listed in the motherboard's spec sheet and manual. There also motherboards marketed for professional use where ECC support is explicitly advertised in the vendor's marketing.

> I think the muddy waters that AMD has created would warrant such an explicit statement.

AMD's official statement regarding ECC support on Ryzen is that it's supported if the motherboard also supports it. I'm not sure how they can be any clearer without making ECC a mandatory feature of the platform.

theevilsharpie··on ECC RAM on AMD Ryzen 7000 Desktop CPUs
> Wow I came back to post this exact reply. I set my system to a slightly high frequency, ran memtest overnight with errors. > > Set it back down to a supported frequency, ran a full memtest suite again with no errors.

Cool. You tested your memory at some point in the past.

How do you know it's still working properly and hasn't flipped any bits?

You don't. Because you have no practical way of testing the integrity of the data without running an intrusive tool like memtest86 that basically monopolizes the use of the computer.

Being able to detect these types of memory errors at a hardware level while the processor is doing other things is the fundamental capability that ECC gives you that you otherwise wouldn't have, no matter how thoroughly you run memtest86.

theevilsharpie··on ECC RAM on AMD Ryzen 7000 Desktop CPUs
> Had no idea that 7000s series doesn’t official state support of ECC.

You've misinterpreted the author.

All currently-available Ryzen 7000 series CPUs have official ECC support, but it requires motherboard support as well.[1]

This conditional ECC support has been the case for all past AMD consumer CPUs going back to the original Athlon 64, but the Ryzen 7000 series is the first time I can recall that this support has been explicitly listed on AMD's marketing materials.

What the author is saying is that mention of ECC support had disappeared from ASRock's motherboard documentation. This was a notable change for ASRock, as they had explicitly mentioned ECC support on their previous Ryzen motherboards.

[1] Example from the Ryzen 5 7600 spec page: https://www.amd.com/en/product/12756#:~:text=ECC%20Support,R...)

theevilsharpie··on ECC RAM on AMD Ryzen 7000 Desktop CPUs
Ryzen consumer CPUs use the same memory controller as their EPYC counterparts, and have full ECC support if the rest of the platform (i.e., motherboard, DIMMs) also supports ECC.

What separates Ryzen from its professional-grade counterparts is that ECC support is an optional part of the consumer Ryzen platform spec, which means that it's up to the motherboard vendor to enable support for it. Some motherboards don't have any support at all, some have ECC support as an explicitly-advertised feature, and many have ECC support but it's not explicitly advertised (simply listed as a footnote in the manual).

That's different from the way Intel does it, where Intel has explicit control over what the platform's feature are, and uses that control to aggressively segment their markets. Intel's approach makes easier to reason about ECC support as a buyer, but you pay for it with the lack of flexibility compared to AMD's platform (and you literally pay more for ECC).

theevilsharpie··on Mythbusters: Wing Commander I Edition
This reminds me of a hack that Traveller's Tales implemented for Sonic 3D Blast on the Sega Genesis/Megadrive.

If you physically wiggle or hit the game cartridge enough while the the console is powered on with the game inserted in it, a "secret level select" screen pops up where you can select a level.

It was long considered to be an easter egg, but actually, it was a custom crash handler that the devs created that trapped all of the main CPU's error interrupts and redirected to a level select screen. They did this to avoid having their game build rejected by Sega's QA team and delaying the game's release. (Sega's QA testing was a multi-week process, and a crash would mean the build getting rejected and having to start the process over again.) When people were wiggling the game cart, they were inadvertently unplugging the cart enough for the processor to throw an error.

Source (3-minute YouTube video): https://www.youtube.com/watch?v=ZZs2HUW9tDA

The linked "Coding Secrets" YouTube channels has other videos details similar hacks, if you're interested in going down that rabbit hole. It was wild the things these devs had to do to get games to work within the hardware and business constraints of the time.

theevilsharpie··on Apple M2 Ultra SoC isn’t faster than AMD and Intel last year desktop CPUs
> My Mac uses almost an order of magnitude less power than the PC and I keep the PC powered off.

Either you are not measuring power consumption correctly, or there is something very wrong with your PC.

theevilsharpie··on Reddit is currently down
(February 10, 2023)
theevilsharpie··on Ask HN: Do you use ECC RAM in your home/personal workstations?
> So another reason I don't use ECC RAM on workstations: Remember that ECC RAM is notoriously long to do memory initialization and memory training. > > Not sure if its an AMD thing but my friend booted his EPYC server with 256GB of DDR4 ECC RAM for half an hour.

This server likely had a setting enabled to perform a full test of the memory on boot.

I'm not sure why server vendors do this (I've never once in my career seen that test catch anything), but the boot times have nothing to do with ECC. My Ryzen 9 3900X-powered PC with 64 GB of ECC boots in a few seconds.

> ECC RAM is supposed to be serving services that requires extremely high RAS (Reliability, Availability and Serviceability). Any normal DDR4 RAM out here is already having a good enough RAS for a relatively long time.

Without the ability to detect errors, how do you know it's good enough?

theevilsharpie··on Ask HN: Do you use ECC RAM in your home/personal workstations?
> Do you have any suggestions at all for where to look?

I've bought from Memory4Less in the past and had a good experience. ServerSupply was also a source I used for work, although I don't think I've ever bought anything from them for personal use.

> Also, is it really just lack of XMP and having to OC manually?

Yes.

> My impression was that you could expect extremely little OC to be stable even if you did it yourself.

All other things being equal, I would expect ECC RAM to have somewhat lower overclocking headroom than non-ECC memory, because the memory controller has to drive an additional memory chip with a wider memory bus. However, I generally wouldn't expect significantly worse results than the manual overclocking that enthusiasts did in the past. Obviously, as with any overclocking, your mileage may vary.

theevilsharpie··on Ask HN: Do you use ECC RAM in your home/personal workstations?
Ryzen desktop CPUs support ECC as long as the motherboard supports it.

What it doesn't support is registered (including load-reduced) DIMMs, which is the most commonly available type of server memory. Unbuffered ECC DIMMs only.

← PreviousPage 2 of 9Next →