HN user

ggambetta

6,930 karma

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

Posts26
Comments1,143
View on HN
gabrielgambetta.com 2y ago

ZX Spectrum Raytracer

ggambetta
231pts80
twitter.com 3y ago

Add a JavaScript plugin to ChatGPT in just 20 seconds

ggambetta
5pts1
twitter.com 3y ago

Robo-GPT, a Variant of AutoGPT

ggambetta
1pts0
phorhum.github.io 4y ago

Photorealistic Monocular 3D Reconstruction of Humans Wearing Clothing

ggambetta
188pts67
meatver.se 4y ago

Proof of steak: a scalable, efficient, protein-rich algorithm

ggambetta
72pts28
www.theregister.com 5y ago

The ZX81 Turns 40

ggambetta
156pts81
nostarch.com 5y ago

Show HN: Computer Graphics from Scratch is now a book, thanks to you

ggambetta
12pts1
mwitkow.me 5y ago

Somfy blinds automated via MQTT and Home Assistant

ggambetta
30pts4
improbable.io 6y ago

Improbable expands existing partnership with Google Cloud

ggambetta
3pts0
www.bbc.com 6y ago

Google to restrict political adverts worldwide

ggambetta
312pts207
medium.com 7y ago

Kedro: open-source library for production-ready machine learning code

ggambetta
13pts4
rok.strnisa.com 7y ago

Slimbox 1.6 is now open source

ggambetta
2pts0
news.ycombinator.com 7y ago

Show HN: MLT2FCP, a Kdenlive – Davinci Resolve Converter

ggambetta
2pts0
improbable.io 8y ago

Introducing kEdge: a fresh approach to cross-cluster communication

ggambetta
53pts1
news.ycombinator.com 8y ago

Ask HN: Wrote a Computer Graphics textbook. How do I maximize impact?

ggambetta
4pts4
www.wired.co.uk 9y ago

If we're living in a simulation, this UK startup probably built it

ggambetta
29pts4
spatialos.improbable.io 9y ago

GRPC-Web: Moving Past REST+JSON Towards Type-Safe Web APIs

ggambetta
21pts0
github.com 9y ago

Configurable the Matrix “system failure” index page (JS and CSS)

ggambetta
2pts0
improbable.io 9y ago

Improbable announces SpatialOS Game Developer alpha

ggambetta
122pts30
medium.com 9y ago

How I wrote and published my novel using only open source tools

ggambetta
391pts180
improbable.io 10y ago

How a team of five built a simulated world the size of Wales using SpatialOS

ggambetta
9pts0
improbable.io 10y ago

Distributing a simulation over hundreds of physics engines with SpatialOS

ggambetta
12pts0
www.alphr.com 10y ago

London-based Improbable unveils SpatialOS for distributed simulation

ggambetta
68pts25
improbable.io 10y ago

Improbable announces SpatialOS

ggambetta
9pts0
www.gabrielgambetta.com 11y ago

Show HN: Emulator-Backed Remakes, a new way to make classic game remakes

ggambetta
87pts51
jsfiddle.net 12y ago

Recursive raytracer in 35 lines of JavaScript

ggambetta
281pts101

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

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.

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/

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.

And the public funded the research that made it possible. The transformer architecture,

Errr pretty sure that was Google?

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

I love this! Happy to see I'm not the only crazy out there trying to port modern renderers to the Spectrum :D I've been meaning to experiment with assembly, but haven't gotten to that yet. This has some good ideas I'd love to play with.

No need to resend inputs with seq IDs <= the last one acknowledged by the server, right? 1-2 seconds sounds like overkill. Unless the server updates themselves are lower than 0.5-1 Hz, but what kind of game is that? A very sparse world where chances of misprediction are very low?

Cursor Camp 3 months ago

This is so well made! In the car racing track there's an overpass, and the cursor correctly Z-orders depending on whether you're coming from the upper or lower part of the track. Respect.

Hahaha, good observation :) I ran out of my childhood books (in Spanish) to fix, then I ran out of my GFs childhood books (in Latvian), so at that point I offered my services to anyone in the Google Zürich office. I got books in all kinds of languages I couldn't read, and a few chocolates and bottles of wine for my troubles :)

Some of the most interesting books were especially challenging. One in old German that was missing a couple of pages. It was a popular fairytale so I found the missing content online and a closely matching font, and reconstructed the pages. Another was in an Asian script I not only couldn't read, I didn't know how to sort or even properly rotate some loose pages, so I had to ask the owner. In a few cases when bits of the cover were missing, I found photos online, and printed a patch. Fun times!