HN user

wheybags

3,525 karma

https://wheybags.com

Posts20
Comments540
View on HN
wheybags.com 6mo ago

Show HN: Turntiles, an NYT style game I made for my parents

wheybags
2pts0
wheybags.com 10mo ago

Show HN: Parsing Crusader Kings III data files to generate mods

wheybags
2pts0
www.amd.com 1y ago

Intel and AMD Form x86 Ecosystem Advisory Group

wheybags
2pts0
wheybags.com 2y ago

Show HN: Resurrecting a dead Dune RTS game

wheybags
485pts100
daniel.haxx.se 2y ago

Long Term Curl Versions

wheybags
2pts0
store.steampowered.com 2y ago

Show HN: Drilbert on steam, a short puzzle game, comes with MIT source code

wheybags
2pts0
devblogs.microsoft.com 2y ago

In Windows 3.1 and Windows 95, what is a "grabber"?

wheybags
9pts0
wheybags.com 2y ago

Show HN: I'm making a puzzle game and some philosophising

wheybags
1pts0
rmauro.dev 3y ago

XGH / EXtreme Go Horse

wheybags
1pts0
wheybags.com 3y ago

Show HN: Recursive COW Pages in Userspace

wheybags
13pts2
wheybags.com 3y ago

Show HN: Hacking the original Xbox controller for fun and no profit

wheybags
1pts0
wheybags.com 3y ago

I'm making a puzzle game and some philosophising

wheybags
2pts0
robertheaton.com 3y ago

Gamebert: A Game Boy emulator built by Robert

wheybags
3pts0
graphics.pixar.com 4y ago

Lucasfilm – Composing Digital Images (1984) [pdf]

wheybags
3pts1
ldjam.com 5y ago

Ludum Dare Game Jam

wheybags
5pts0
www.bbc.com 5y ago

Young Goldman Sachs bankers ask for 80-hour week cap

wheybags
313pts392
wheybags.com 5y ago

Show HN: wcp – a reimplementation of cp using io_uring. With a nice progress bar

wheybags
32pts6
wheybags.com 5y ago

Show HN: Dungeons and Directories a text adventure you play in your file browser

wheybags
15pts6
freeablo.org 6y ago

Freeablo (Open source Diablo 1 rewrite), first new version in 4 years

wheybags
1pts0
github.com 7y ago

Hunter C++ package manager in need of donations

wheybags
3pts0

Something I've noticed about software dev vs game design: software is better (easier to read, understand, maintain, etc) when you have clean, separated modules. Game design is better (more fun) when everything is connected (eg in an fps, everything relates to gunplay, damage systems, environmental destruction, in a building game, everything relates to building, the building ui, inventory, resources etc). I think this mismatch shows up in game code.

Combine that with actual hard performance constraints, and if you're a "normal" software dev casually browsing some game code, it can be shocking (eg Celeste movement code: https://github.com/NoelFB/Celeste/blob/master/Source/Player/...).

Git's Magic Files 5 months ago

Yeah, also that's probably not the kind of error a human writing this post would make... I stopped reading at that point

It's all a blur 5 months ago

I'm not super familiar with the jpeg format, but iirc h.264 uses 16x16 blocks, so if jpeg is the same then padding of 16px on all sides would presumably block all possible information leakage?

Except the size of the blocked section ofc. E.g If you know it's a person's name, from a fixed list of people, well "Huckleberry" and "Tom" are very different lengths.

I know this is likely to be an unpopular take but: I wish it was normal to ship your compiler in your source repo.

Modern compilers are bloated as hell huge things which makes it a bit impractical, but if it was a normal thing to do then we'd probably have optimized the binary sizes somewhat.

I just really like the idea of including _everything_ you need for the project. Also ensures that weird problems like this dont happen. As an extra benefit, if you included the compiler source and a bootstrapping path instead of just the latest binary, then you could easily include project specific compiler / language extensions with no extra effort.

As someone who recently built a daily word game[1], I 100% get it. I can say from first hand experience: there's an awful lot of words that are totally valid but not fun.

I spent approximately as much time on building the word list as I did developing the game. The author's technique of just grabbing a word list and spellchecking it is completely not sufficient, you will get so many weird unfamiliar words in there. In the end I was able to whittle down my list to about 24,000 using various automatic methods, but from that point I just had to do a manual review on the remaining list, which meant I got to see a lot of words, and many of them felt very obscure and/or not fun.

1: shameless plug: https://wheybags.com/turntiles

though he incorrectly states that `uint64_t` is `unsigned long`

It probably is, he's just probably using MacOS, where both long and long long are 64 bit. https://www.intel.com/content/www/us/en/developer/articles/t...

(that's the best linkable reference I could find, unfortunately).

I've run into a similar problem where an overload resolution for uint64_t was not being used when calling with a size_t because one was unsigned long and the other was unsigned long long, which are both 64 bit uints, but according to the compiler, they're different types.

This was a while ago so the details may be off, but the silly shape of the issue is correct.

Would be nice to see some qualitative analyis to know if it's just slop, or actually more interesting projects. Not sure how to do that though. I think just looking at votes wouldn't work. I would guess more posts causes lower average visibility per post which should cause upvotes to slump naturally regardless of quality.

Edit: maybe you could:

- remove outliers (anything that made the front page)

- normalise vote count by expected time in the first 20 posts of shownew, based on the posting rate at the time

My first php script was a file upload server for a lan party. Luckily nobody tried to upload a file named ../index.php, because I realized afterwards that it would have worked :p

And I see this argument often. People make too much fuss about the massive error messages. Just ignore everything but the first 10 lines and 99.9% of the time, the issue is obvious. People really exaggerate the amout of time and effort you spend dealing with these error messages. They look dramatic so they're very memeable, but it's really not a big deal. The percentage of hours I've spent deciphering difficult cpp error messages in my career is a rounding error.

v is double& in your example, not double. But it's not obvious that omitting the & causes a copy. If you see "for (auto v : vec)" looks good right? But if vec contains eg long strings, you've now murdered your perf because you're copying them out of the array instead of grabbing refs. Yes, you could make the same mistake without auto, but it's easier to notice. It's easy to forget (or not notice) that auto will not resolve to a reference in this case, because using a reference is "obviously what I want here", and the name of the feature is "auto" after all - "surely it will figure it out, right?"

IMO the biggest barrier is internal mobility. The European silicon valley never happened, because people don't want to move around. The biggest single barrier is language. I'm Irish, and young Irish people often emigrate (way more than in other countries). When I look at where my college classmates ended up, it's mostly America or the UK. We also emigrate a lot to Australia and New Zealand. In other words, we only really emigrate to English speaking countries.

Almost nobody goes to France, Germany, Spain, Italy, etc. The mainstays of the European economy. Let alone central or eastern Europe. But if you're a young talented engineer in the middle of nowhere usa, you can just easily move to the bay area without any issue. That cultural unity IMO is America's biggest strength, and the lack of it is Europe's biggest weakness.

Note: I've lived in Ireland, the Czech Republic, and France, so I know first hand how hard it is to move inside Europe, and I understand why people don't do it.

I checked the about page on 4get.bloat.cat, and within the first paragraph of the "what is this" section, it used the phrase "globohomo bullshit". I dont think these are people I want to support.

Pay attention to people and try to be empathetic. Do this to everyone, not just those you suspect of being autistic. That's all anyone can ask of you, and it works. Autistic people aren't aliens - if you engage empathetically they will respond positively, like any other person.

I think you're misinterpreting what I meant. I was not trying to diminish the cultural importance of any other medium of expression. What I was getting at is that I feel the unique thing about programming is that the gap between thought and effect on the world is as small as can be. That it maps my thoughts onto external effects as directly and immediately as humanly possible. You can disagree if you like, but I'd appreciate it if you didn't baselessly accuse me of being uncultured.

Maybe I should have made it more clear in the post itself but, what I was getting at is that windows is the last mainstream OS that is reasonably permissive. MacOS has gone too far down the walled garden road already, and besides, they never had decent backwards compatibility. And phones have just been dead from the start. Linux is too obscure, normal people never encounter in their daily lives unless they're already into tech. So, by process of elimination, there is only windows.