News for hackers. Stuff that matters.

shaggie76

Re:PGO or not PGO this is the dilemma. Step 2 on Friday October 16, 2026 @07:30PM (#50126176)
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.

Re:GNU Hurd News 2026-Q2 on Wednesday August 05, 2026 @07:17PM (#49190369)
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.

Re:Surrender as a non-stupid life strategy on Saturday July 18, 2026 @07:18PM (#48963424)
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.
Re:Almost Always Unsigned on Thursday July 09, 2026 @08:19PM (#48854235)
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)

Re:What every coder should know about Gamma Correction on Monday June 15, 2026 @06:26PM (#48547867)
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.
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.
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.
Re:Ask HN: Which cloud provider do you like best and why? on Friday November 28, 2025 @08:00PM (#46084323)
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.
Re:Linux gamers on Steam cross over the 3% mark on Sunday November 02, 2025 @05:50PM (#45794142)
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!
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.

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."
Re:Photography 'Rules' That Social Media Destroyed on Monday July 07, 2025 @09:18PM (#44496100)
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?
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.
Re:How to post when no one is reading on Monday June 02, 2025 @06:48AM (#44157473)
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.
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.

Re:Fibonacci Hashing: The Optimization That the World Forgot on Wednesday April 16, 2025 @07:26PM (#43711417)
While reading this article it occurred to me to wonder if the CPU CRC32C instruction would be good for hash functions; I think the latency is about the same as an integer multiply.
Re:Nearly half of Steam's users are still using Windows 10 on Friday February 14, 2025 @08:18PM (#43054884)
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
Re:Modern-Day Oracles or Bullshit Machines on Sunday February 09, 2025 @10:26AM (#42991220)
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.

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.

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.

Re:Ten Concerts You Must See If You Are a Time Traveler on Sunday November 17, 2024 @11:38AM (#42165077)
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)

Re:Pour over Coffee Got Good on Thursday September 05, 2024 @09:23PM (#41461982)
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.

Re:End of the Road: An AnandTech Farewell on Saturday August 31, 2024 @08:36AM (#41408447)
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.
Re:Real-Estate Shopping for the Apocalypse on Saturday August 31, 2024 @08:29AM (#41408398)
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.
Re:SIMD Matters on Wednesday August 21, 2024 @08:21PM (#41315502)
> 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.

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.
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?

Older »