HNHacker News
TopNewBestAskShowJobs

shaggie76

353 karma · joined October 5, 2019

submissionscomments
shaggie76··on PGO or not PGO this is the dilemma. Step 2
We've tried PGO with the Evolution engine every major Visual Studio release for as long as I can remember and each time we fail to measure a significant performance increase -- certainly not anything worth the substantial time and effort required to do it regularly.

Our most recent test of LTCG was actually interesting because it seemed to move the needle enough to measure (but not enough to suffer). It appeared as though it optimized the vast majority of the code for size (inlining sparingly) and we speculate that the improvements to cache usage were the reason we saw improvements.

shaggie76··on GNU Hurd News 2026-Q2
I can't help but feel disappointed that after 35 years the first thing they're talking about is an SVG logo. I mean, there's a certain novelty that it was made on a laptop running Hurd itself, but still I was left with a sense that progress is meandering and whimsical.

I remember being excited by Hurd's ambitions after studying Tanenbaum's OS book in university and drinking the microkernel kool-aid; now I'm too old and jaded to believe it'll be a viable alternative.

shaggie76··on Surrender as a non-stupid life strategy
This post immediately reminded me of the Tao of Pooh by Benjamin Hoff (a charming introduction to Taoism). I think it's one of the rare books I've read more than twice and I highly recommend it.
shaggie76··on Almost Always Unsigned
While I'm a fan of unsigned (size_t mostly) there have been a few times when the tax for converting them to float was shockingly high:

https://godbolt.org/z/96T4jTshc

1-2 instructions for signed vs 11 including a branch for unsigned.

(in times like these I found casting to signed first preferable)

shaggie76··on What every coder should know about gamma (2016)
ICC profiles present a similar problem and remarkably Instagram, ostensibly a photo-sharing web-site, does not respect them when scaling images (or at least it didn't a few years ago when I started posting photos to it from my PC); when I uploaded full-resolution SLR-resolution originals the skin-tones would get all screwed up. If I exported at the final resolution, even with the same ICC profile, they were fine.
shaggie76··on The gold standard of optimization: A look under the hood of RollerCoaster Tycoon
Not only is LEA more flexible I believe it's preferred to SHL even for simple operations because it doesn't modify the flags register which can make it easier to schedule.
shaggie76··on Serious = Suspicious, Shooting with Phone vs. Shooting with Camera
His point is well taken but I find the reverse helpful when you're shooting in some sort of official capacity: subjects are willing to put up with a lot more fuss and bother when staring down the barrel of a girthy lens.
shaggie76··on Ask HN: Which cloud provider do you like best and why?
We've quite enjoyed Linode (Akamai) for some custom servers (not http) over the last few years because they include DDOS scrubbing; it's not clear to what extent they'll defend us but our last partner would routinely null-route our servers when attacked and we haven't had any problems since we switched.
shaggie76··on Linux gamers on Steam cross over the 3% mark
Evidently it's not all Steam Deck either; I checked our internal stats and on PC yesterday 1.24% of Warframe players were using WINE and another 0.76% were playing on Deck!
shaggie76··on An ex-Intel CEO's mission to build a Christian AI: Hasten the return of Christ
My first thought was this blog article I saw on HN a while back:

https://lukeplant.me.uk/blog/posts/should-we-use-llms-for-ch...

He argued, persuasively I thought, that "this is an area where truthfulness is of paramount importance" and consequently would be extremely ill-suited to AI.

shaggie76··on AMD and Sony's PS6 chipset aims to rethink the current graphics pipeline
This reminds me of the PlayStation/2 developer manual which, when describing the complicated features of system, said something like "there is no profit in making it easy to extract the most performance from the system."
shaggie76··on Photography 'Rules' That Social Media Destroyed
When cameras became more affordable to the middle class did painters furrow their brows in disapproval at the unwashed masses breaking the rules with a carefree click of the shutter?
shaggie76··on Microsoft extends free Windows 10 security updates into 2026
My Windows 7 laptop still seems to want security updates about once a week; maybe it's just Windows Defender and not kernel bugs but I find it interesting that MS still bothers.
shaggie76··on How to post when no one is reading
I get just as many likes from spam bots than real people and it makes me wonder how the numbers would be skewed if the AI-scrapers dropped a like when they absorbed my content.
shaggie76··on Layers All the Way Down: The Untold Story of Shader Compilation
One alternative that many games choose is to do it on-demand which is felt as micro-stutters while you play but this is a poor choice for a competitive game like CoD.

We take a slightly different approach: we don't do any up-front in the launcher but do as much as possible on the level loading screen; it's not perfect though: due to the way some legacy code works we can't always anticipate all permutations ahead of time so you get the occasional micro-stutter as missing shaders are sent to the driver.

You can get away with being lazier with modern drivers because they will cache the compiled result for you (if you don't cache the pipeline state object yourself in DirectX 12) but on older DirectX drivers for Intel IGPs there wasn't a cache at all so the first 30 seconds after loading into a level would be very busy.

shaggie76··on Nearly half of Steam's users are still using Windows 10
Our game (also on Steam) hasn't discontinued support for 7 yet and our usage stats from last Saturday Feb 8th 2025 are roughly:

  53.6% Windows 11
  43.8% Windows 10
   1.59% WINE
   0.79% Steamdeck
   0.13% Windows 7
   0.03% Windows 8
shaggie76··on Modern-Day Oracles or Bullshit Machines? How to thrive in a ChatGPT world
I was thinking how this article claims that people crave the authenticity of live music and that bullshit-generators will never be able to supply that. At first, I saw this as a reason for optimism, but then I got to thinking about evidence that people may not necessarily want authenticity after all.

Organic produce was the first metaphor the came to mind: it's probably more healthy for you even if it isn't as pretty, but many people aren't willing to pay a premium it and I suspect economics isn't often the reason. Is that a straw-man for live music? I don't know that it is because plenty of people are content to listen to recorded music -- sure, they might enjoy going to a live concert but they'll still listen to the radio on the drive to work.

Then I got to thinking about something more crass: while breast implants and other cosmetic body surgery may be as much for the benefit of the subject self-image I imagine there are plenty of people that find it very attractive despite what is often obviously fake.

So do we crave authenticity? I think I do but I'm not sure if that's a safe generalization to make.

shaggie76··on No Man's Sky's update introduces billions of new stars, planets, and more
I started playing a week ago having letting it "cellar" for a few years; I was quite enjoying it but today, after downloading 20GB of free update, I reliably crash on boot :(

Edit: deleted C:\Program Files (x86)\Steam\steamapps\common\No Man's Sky\Binaries\SETTINGS and I can boot again.

Edit 2: crashed again after playing for a bit; back in the cellar it goes -- needs a bit more time to mature I think.

shaggie76··on The Canva outage: another tale of saturation and resilience
We had a similar CDN problem with releasing major Warframe updates: our CDN partner would inadvertently DDoS our origin servers when we launched an update because thousands of cold edges would call home simultaneously when all players players relogged at the same time.

One CDN vendor didn't even offer a tiered distribution system so every edge called home at the same time, another vendor did have a tiered distribution system designed to avoid this problem but it was overwhelmed by the absurd number of files we'd serve multiplied by the large user count and so we'd still end up with too much traffic hitting the origin.

The interesting thing was that no vendor we evaluated offered a robust preheating solution if they offered one at all. One vendor even went so far as to say that they wouldn't allow it because it would let customers unfairly dominate the shared storage cache at the edge (which sort of felt like airlines overbooking seats on a flight to me).

These days we run an army of VMs that fetch all assets from every point of presence we can cover right before launching an update.

Another thing we've had to deal with mentioned in the article is overloading back-end nodes; our solution is somewhat ham-fisted but works quite well for us: we cap the connection counts to the back end and return 503s when we saturate. The trick, however, is getting your load-balancer to leave the client connection open when this happens -- by default multiple LBs we've used would slam the connection closed so that when you're serving up 50K 503s a second the firewall would buckle under the runaway connection pool lingering in TIME_WAIT. Good times.

shaggie76··on Ten Concerts You Must See If You Are a Time Traveler
I'd love to go back to 1974 to experience the Grateful Dead's Wall of Sound:

https://en.wikipedia.org/wiki/Wall_of_Sound_(Grateful_Dead)

shaggie76··on Pour over Coffee Got Good
The inventor of the Aeropress believed that over the last century there was a trend towards shorter and shorter brews and that if you left the beans in water for too long it extracted unpleasant sour flavours. I know it's a matter of taste but I'm inclined to agree: I'd rather a faster brew with an Aeropress or an espresso-Americano than a pour-over.

Again, it's a matter of taste, but I was an espresso bar a few weeks ago and had the worst coffee I've had in many years because I decided to wait for pour-over (and they roasted the beans in-house so I assume they were fresh!)

FWIW I had Clover coffee once and I hated it too; maybe I just have bad taste in coffee.

shaggie76··on AnandTech Farewell
I wonder how much of a difference our ad-blockers made to their revenue; I always liked AnandTech and now I'll feel guilty about leaving my blocker enabled.
shaggie76··on Real-Estate Shopping for the Apocalypse
When I visited New York on vacation I was delighted to spot the fallout-shelter signs posted around the city and it makes wonder what what extent economies of scale make communal shelters advantageous as opposed to every family fending for themselves.
shaggie76··on SIMD Matters
> It is tempting to build a math library around SIMD hoping to get some performance gains. However, it often has no proven benefit ... For example, game play programmers often do a lot of piecemeal vector math. They are not chopping 8 carrots at once

Her point is well taken however we beat the odds on the PlayStation/3: I don't trust my memory to give a frame-time percentage but switching our "one carrot at a time" libraries from scalar to AltiVec made a measurable impact for not a lot of work.

We originally ported it all to SSE2 so that we'd hit GPFs for misaligned when testing on PC but whenever I compare with the Scalar version it's marginally better too so it's held up over time.

Conversely, we've recently found on the Nintendo Switch that NEON isn't a clear win; I suspect that the in addition to shuffling overhead you don't quite get "4 for the price of 1" like you seem to elsewhere, ie: if you're doing a 3D vectors or matrices padded into 4-float registers unused calculations in the fourth component have a cost.

So she's right -- chop 8 carrots at once if you can -- but sometimes (but not always) you can chop just 1 carrot faster with SIMD.

shaggie76··on Ask iFixit: Does Blowing Into Gaming Cartridges Actually Fix Them?
I wonder if the ritual of taking the cartridge out and re-inserting it scraped a bit of dirt or corrosion off of the contacts which was actually what made it work.
shaggie76··on Artificial intelligence gives weather forecasters a new edge
I've never known someone so mindful of the weather forecast as my uncle the farmer: is it too soon to plant? Should I irrigate or wait just a few days longer? If I don't harvest now will my fields get too muddy for the tractor?
shaggie76··on How simultaneous multithreading works under the hood
A grossly over-simplified argument for SMT that resonated with me was that it could keep a precious ALU busy while a thread stalls on a cache miss.

I gather in the early days the LPDDR used on laptops was slower too and since cores were scarce so this was more valuable there. Lately, though, we often have more cores than we can scale with and the value is harder to appreciate. We even avoid scheduling work on a shared with an important thread to avoid cache-contention because we know the single-threaded performance will be the bottleneck.

A while back I was testing Efficient/Performance cores and SMT cores for MT rendering with DirectX 12; on my i7-12700K I found no benefit to either: just using P-cores took about the same time to render a complex scene as P+SMT and P+E+SMT. It's not always a wash, though: on the Xbox Series X we found the same test marginally faster when we scheduled work for SMT too.

shaggie76··on Ask Siri, Dictation and Privacy
> When You Make Requests, Siri Sends Certain Data About You to Apple to Process and Help Respond to Your Requests

I noticed that when I drove out of cell reception range and Siri's speech recognition stopped working and I couldn't request an album from my music library; it's a cruel mockery of whatever "Neural Engine" chip they boast about being on the handset when they offload the work to the cloud somewhere.

shaggie76··on Warframe devs report 80% of game crashes happen on Intel's Core i9 chips
Warframe dev here; there seems to have been some confusion in the article that has misrepresented what we said here:

https://forums.warframe.com/topic/1405008-instability-on-rec...

We posted an follow-up to clarify this morning:

https://forums.warframe.com/topic/1405596-follow-up-regardin...

shaggie76··on The joy of reading books you don't understand
I cannot remember the books I've read any more than the meals I have eaten; even so, they have made me.

― Ralph Waldo Emerson

Page 1 of 4Next →