HNHacker News
TopNewBestAskShowJobs

hrydgard

447 karma · joined January 24, 2012

submissionscomments
hrydgard··on Happiness is a freshly organized codebase
It does work, check what happens after you git add it all, not before.
hrydgard··on Ask HN: Has anyone been using VR to socialize lately?
"Eleven" is a bonkers good table tennis (ping pong) simulator - it's the closest to the real thing of any VR sport I've played so far. It's 1:1, but if you have voice chat on, it enables almost the same social experience as actually playing ping pong with someone. Highly recommended (if you're on Steam, remember to switch to the beta, it's much improved and multiplayer compatible with the Oculus versions!)
hrydgard··on 75-year-old woman with shovel accidentally took down Armenia's internet (2011)
It's absolutely a thing, even in developed countries people will steal cabling for scrap metal, even if it's getting rarer. Copper roofs on very old churches are also commonly stolen for scrap value.
hrydgard··on A Gooey and Delicious History of Mac and Cheese, a Meal Once Fit for a King
Yes on occasion, but I got a taste for it when I lived in the US for half a year, so...

You can find it in the "American" part of the international foods section of big grocery stores here, along with pancake mix, root beer and Skittles :P

hrydgard··on Embedding Binary Objects in C
There are even smaller png libs than libpng, try a stripped down stb_image for example. Wouldn't use that for user-supplied images, but since you control them all it should be fine.
hrydgard··on Investigating the Performance Overhead of C++ Exceptions
It is absolutely done, it's just implicit rather than explicit. The simplest heuristic is to predict backwards branches as taken (loops) and forward branches as not taken, and it works quite well (though I think it might be more sophisticated than that).
hrydgard··on The Infinite Loop That Wasn't
It's pretty likely that it's just buggy code that happened to work on hardware.
hrydgard··on No nuances, just buggy code (was: related to Spinlock implementation)
From a game's perspective, Android is very much like Linux, actually.
hrydgard··on Alienated, Alone and Angry: What the Digital Revolution Did?
Adoption in the Nordics certainly was very comparable.
hrydgard··on How to proceed when you run out of cash, but you still believe?
You need to begin the Kickstarter page with way better examples of problems you can solve.
hrydgard··on MainStreet – $10k to Leave Bay Area
Apartment buildings are way better. Doesn't fit all lifestyles though of course.
hrydgard··on Brokering Bricks: The World of Lego Investing
Actually, they mostly stopped doing that a while ago. There's a new piece or two every year but it's 99.9% standard pieces with the occasional new colorization.
hrydgard··on Dagen H: the day Sweden switched from driving on the left to the right (2018)
What actually happened in most cities was that the trams were shut down, which was really unfortunate with hindsight.
hrydgard··on AMD Ryzen 7 3700X is such a hit it almost outsold Intel’s entire CPU range
There's so much cache on modern CPUs that memory performance matters a lot less than you'd think.
hrydgard··on Ask HN: How to invest safely in Europe?
Probably depends on the country. In .se for example with any bank you'll be able to buy ETFs that are index funds that invest in the US, Europe or Asia markets with a yearly fee of 0.20% or less. Those will give you pretty much what you are asking for. Talk to your bank and ask for index funds and don't accept higher fees than 0.25% or so (depending on country, again).
hrydgard··on John Gustafson’s crusade to replace floating point with something better
Compilers now exclusively target the SSE registers (with scalar SSE instructions like mulss), and they did 7 years ago too.
hrydgard··on Welcome to Shanghai, the capital of the future
Did you even try the subway network? That's how most people get around in Shanghai and it's top notch and definitely not a missed opportunity. Every large city will need a road network as well as a public transit, the difference is the percentage of people taking each.
hrydgard··on Reviving a 19 Year Old Gameboy Emulator
Raising the timer interrupt to 1ms with timeBeginPeriod should still be less costly (with regards to power consumption) than a spin loop. But yeah it's all tradeoffs..
hrydgard··on Generating More of My Favorite Aphex Twin Track
Mario 64 did it in 1996. For example that early level with the shipwreck, the music morphs as you go into the water and dive around the wreck. If you go out of the water again the music morphs back to the original form.
hrydgard··on A first-person engine in 265 lines (2014)
Pedantic correction: Daggerfall didn't use a raycaster, it was a full polygon engine (although with sprite characters).

Its predecessor Arena did appear to use one though.

hrydgard··on RISC-V on the Verge of Broad Adoption
Still matters in many embedded applications.
hrydgard··on How Coca-Cola shaped obesity science and policy in China
How? Travel there and have a look around. A trip to Shanghai will change your world-view.
hrydgard··on Ask HN: Did you delete your Facebook account in 2018?
No, but further reduced my use of it, Instagram and Whatsapp. It's not like deleting is likely to actually do very much anyway...
hrydgard··on Number of babies born in Japan is the lowest since records began
Not quite accurate about the free daycare in the Nordics, we actually have higher levels of fertility than similarly developed countries without it. And no, it's not just immigrants having more babies.
hrydgard··on How to Land on Mars
The difference is that those rovers are a small fraction of the size and weight of Curiosity - the latter probably couldn't have survived a bounce-and-roll.
hrydgard··on Scammers are changing the contact details for banks on Google Maps
I use the Google Maps GPS to navigate, and have contributed by moving a couple of locations that had misleading coordinates (for example, out in a field instead of pointing to the parking log). Purely for my own convenience next time I'm navigating to these place.
hrydgard··on Goboy: Multi-Platform Nintendo Game Boy Color Emulator Written in Go
Gameboy is actually a bit friendlier than the NES to get started with, because of the low number of mappers (programmable chips in the cartridges to do tricks with addressing, NES had much greater need for these than the GB due to the dearth of tile RAM). But Sega Master System is even friendlier, I hear.
hrydgard··on Rapidstring: Maybe the fastest string library ever
For most software it's perfectly fine to convert. What Windows API call that takes string input do you call so often that it would be an issue?
hrydgard··on Command Line and Windows Subsystem for Linux – The Windows 10 April Update
Cygwin doesn't run Linux binaries. WSL does.
hrydgard··on Evolution of the English Alphabet
It was created in the 15th century though, and the creators surely knew of other alphabets.
← PreviousPage 3 of 5Next →