HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ggambetta

6,915 karmajoined 13 years ago
Software Engineer, ex-Google, ex-Improbable. Author of "Computer Graphics from Scratch" (http://gabrielgambetta.com/computer-graphics-from-scratch). Used to run a game development studio and teach Computer Graphics in university. Tech website: http://gabrielgambetta.com

Actor / filmmaker: http://gabrielgambetta.biz

comments

ggambetta
·13 hours ago·discuss
I'm pretty sure I submitted this idea to the internal "file a patent" drive they were doing like 15 years ago. It was rejected. I thought it was either stupid or too obvious and they were already doing it...
ggambetta
·12 days ago·discuss
For me it was "There’s a clean exception to all of this, and it flips the entire logic." and "here’s the reframe". That's Claude-speak.
ggambetta
·23 days ago·discuss
No Striker? [0] Zero realism but incredibly fun to play. IIRC it had a two-player mode (sharing the keyboard) that was super fun.

[0] https://www.mobygames.com/game/12380/striker/
ggambetta
·last month·discuss
I was thinking exactly the same thing, this is CSP/SR. One of my favorite topics! https://gabrielgambetta.com/client-server-game-architecture....
ggambetta
·last month·discuss
I've read that. I'm not part of the conservator community, I just really enjoy the videos.
ggambetta
·last month·discuss
I fully agree with you. However, when non-LatAm people talk about "socialism", they probably think of European-style socialism, which is awesome. LatAm socialism is a lot more extreme, and closer to full-on communism - my country still has people stuck in the 60s cold war era mentality and fully supporting the ideals of of the Soviet Union, still praising Cuba and Venezuela, reality notwithstanding.

European-style socialism would be better. Full 60s socialism would be significantly worse. It's quite likely that people ITT are using "socialism" to refer to either, and we're all talking past each other.
ggambetta
·last month·discuss
They should just trap Julian Baumgartner inside for a month, with nothing but water, food, and conservation-grade varnish and reversible pigments, and the whole place would look like new!
ggambetta
·last month·discuss
It seems you're not from LatAm.
ggambetta
·last month·discuss
That's a great idea! Just haven't gotten that far yet (that article is pre-LLM, and I'm very early in a new AI-driven reconstruction). But yeah, taking the original extracted sprites and having Nano Banana upscale or redraw them is a great idea.
ggambetta
·last month·discuss
I'm very happy to see this! Not so much because of TDIII (which I played, although not nearly as much as Stunts), but because there seems to be some momentum building around recreating old games using AI agents, and I love that! I had explored some related ideas [0] but throwing Claude at the problem seems super promising. The recent Crimsonland thing [1] was great!

[0] https://www.gabrielgambetta.com/remakes.html

[1] https://banteg.xyz/posts/crimsonland/
ggambetta
·last month·discuss
Fair, I wouldn't have been able to write Bresenham back then (or now, off the top of my head). I'd have written a simple trig-based one. Maybe I'd have failed the interview :D
ggambetta
·last month·discuss
So at the end of each run increment the relevant pointer by (pitch - w) not pitch which I'm sure it's one of the bugs they saw all the time in this interview :)
ggambetta
·last month·discuss
Thought the same. Reckless today, literally standard back then.
ggambetta
·last month·discuss
This brings back memories! I could easily pass this interview today, because I used to write code like this all the time 25 years ago doing gamedev (and so did everyone else to some extent). But the really interesting thing is that I just realized I haven't written code like this in a long, long time.

Programming has changed over time, but the change has been so gradual I hadn't even realized this until this article. These days I'm pondering how the profession has changed in the last 2 years due to AI. Feels a lot more like a step change. And yet I'm having more fun than I've had in a long time, both at work and at home, throwing Claude at problems. I still don't fully understand why.
ggambetta
·last month·discuss
What I'm hearing is that the smoke in smoke tests comes from the oil tanks!
ggambetta
·2 months ago·discuss
> And the public funded the research that made it possible. The transformer architecture,

Errr pretty sure that was Google?
ggambetta
·2 months ago·discuss
The whole thing compiles with 2 warnings. Incredible codebase. John Carmack definitely was/is on a different level.

Back when I was making videogames I followed a similar philosophy. No warnings (but in an orders-of-magnitude smaller and less complex codebase). Crash on failed asserts, used liberally, in debug builds. Not sure why but it seems that gamedev doesn't do this kind of rigorous engineering in general (or at least it didn't back then -- and admittedly I never worked in a big studio).
ggambetta
·2 months ago·discuss
Thanks for the detailed explanation, I had no idea about any of this.
ggambetta
·2 months ago·discuss
I'd have guessed multiply-by-0 and multiply-by-1 can be special-cased to run much faster and simpler code paths, like you'd do when writing MUL for a processor that doesn't have it (I <3 z80)
ggambetta
·2 months ago·discuss
Not gonna fix 'em!