4,183 karma · joined Jul 28, 2013 (13y ago) · 772 submissions
--
Building something in the education space for kids: https://breaka.club
Also:
Consultant @ Berserk Games - https://tabletopsimulator.com/
--
Formerly:
Head of Engineering @ Ender - https://joinender.com/
Head of Engineering @ Prequel - https://www.joinprequel.com/
CTO @ Kangaroo Interactive
CTO @ Snaploader (acquired by Archistar) - https://www.archistar.ai/
Director @ Glass Echidna - https://glassechidna.com.au/
comment 2w ago · link · parent
I'm the current maintainer of GodotJS, although not its original creator. My games are built in TypeScript, and I use GDExtensions (typically C++) when something is performance critical, like the rendering for this project.
comment 2w ago · link · parent
My LGS recently got me in to have a look at building some custom systems for them. I looked at what they needed and was like:
> Hold up. You can pay me thousands of dollars to build something custom, and it will inevitably have on-going maintenance costs and high associated monthly costs for hosting + third-party API access (not amortized across multiple stores/clients), OR I could set you up on Shopify and a bunch of well maintained plug-ins.
comment 2w ago · link · parent
1. There's some stuff simply not well optimized internally. Working on these now e.g. there's unnecessary internal hierarchy on all nodes that only needs to exist on a small subset (related to border boxes, overflow etc.)
2. Eager shader compilation. There's some glass and blur shaders that are compiled on load. These really shouldn't be.
3. Godot 4.x on the web is always pretty slow to load. Time of first contentful paint (if you ignore loading screens) is nasty across the board. Godot 4.8 upgraded Emscripten, so there's actually potential to improve this quite a bit since it's now easier to dynamically load WASM (which is what we're doing extensively here). I'm unaware of any work on this upstream though.
4. THE BIG ONE. This demo is a bit of a monolithic beast. It doesn't just include Godot's implementation of React. You can reveal the code for any page in the demo, and edit the code live with an inline text editor. Genuinely bundled in this demo is a full TypeScript 7 implementation (based on Bun's Rust implementation) that type checks and compiles code to JS on the fly, and hot swaps components on the page live.
For the most part, this isn't designed as a performance demonstration, although there is a small section on repaints/relayouts. It's mostly just a demonstration of what's possible with the library.
Realistically, there's also the fact this is React. Its architecture is based on React Fabric (like React Native), so runtime performance should be pretty decent. But frankly, it's never going to be as performant as some alternatives — it's not really the primary goal of the project. I'm considering an alternate SolidJS front-end for improved runtime performance, but that'll do nothing for first load time, unfortunately.
comment 2w ago · link · parent
Because I can. Well, let's be honest: because LLMs can. There's nothing particularly novel about this. It's just wiring a bunch of libraries together. Certainly would have been time consuming, but not difficult, strictly speaking, since all the heavy lifting is done by the libraries utilised.
Likely going to migrate https://breaka.club HUDs and editor UI to React since Godot control nodes are by no means impossible to work with, but somewhat cumbersome.
EDIT: Oh, will be open source like a lot of Breaka Club's other libraries very soon. Still optimising.
comment 1mo ago · link · parent
Yes, I'm also aware that if your data goes to their models for processing, you're of course already sending them your private data too. However, you may have noticed, Codex and the like actually go to pretty great lengths NOT to upload things like secrets to the model. This is the polar opposite approach.
Isn't the idea of having a cloud computer meant to be that it's more than just a model? It provides compute, so it can run scripts locally to filter data etc.
6.
Ask HN: Are people aware OpenAI Dots intercept SSL?
7 points · by Benjamin_Dobell · 1mo ago · 2 comments
comment 1mo ago · link · parent
For example, in the Breaka Club (https://breaka.club/) editor, which is not presently exposed to kids yet, we define behaviors for characters, props, mosaics (terrain tiles) and items in JSON. But the JSON has type checking and real-time completion as you type. Not naive property auto-suggestion, we have effect types and they're context aware in that you can refer to targets introduced higher in parent constructs of the JSON — and they're fully type checked. If you refer to a target that does not exist in a context, it won't validate and you cannot save the schema.
We use tsgo for development, but the editor (runtime schema validation) is presently stuck on TypeScript 6 because there's no WASM support.
Now, is it nutty that we're using TypeScript for JSON validation? A little. But it's extremely powerful. We're going far beyond what's capable with Zod or ArkType.
comment 1mo ago · link · parent
In particular, I'd expect there to be shaders making use of textures. I was expecting buttons with a laser finished metallic look that actually changes with lighting on the page. Or hero images that combine photography with masks to produce interesting effects highlighting products with auras etc. These all appear to be screensavers.
comment 1mo ago · link · parent
That said, I'm not able to get anything useful done in those hours. The exception is when I swap back to 5.6 Sol/Luna, which seem to be working as they used to.
Mostly, I've just given up and am using Opus 5.5 for all the important tasks now. Which is odd for me say, because I cancelled my Anthropic sub a few months back because I couldn't stand Opus 4.6 < x < 5.5. 5.5 feels great though, like Astra did when it first released.
comment 2mo ago · link · parent
I don't know what conversation you think you're having here, but it's not that.
If you'd bothered to read... and then ready for it... stop, take a breath, and process the information. You'd have noticed I was pointing out you can use a Quest headset WITHOUT providing them your personal ID OR having a Facebook account. Almost as if, you know, I was highlighting that giving the company your personal info isn't required. Woe me though for pointing that out.
I'm sorry for interrupting the indignant rants. Please continue.
comment 2mo ago · link · parent
https://breaka.club/blog/why-were-building-clubs-for-kids
Have been running an in-school pilot over the last school term. Has been super insightful and led to a heap of changes to optimize UX. However, the biggest challenge has been delivery in this environment.
Trying to run a game in a browser on school iPads powered by really locked down networks has been challenging. Some school iPads will crash (out of memory) when launching the camera view, whilst others run flawlessly. We use a fork of Godot, and are constantly fighting to strike a balance between UX (increased parallelism) and browser device constraints i.e. a limit on how many web workers we can fit in memory.
In addition to our main (build and play your own RPG) experience, we also stream games direct to iPad. In particular a modded version of Overcooked! 2 that teaches kids to code — Overcooked itself was never even released on iPad. We've built our own Kubernetes system that spins up (a license limited number of) games/pods on demand backed by (time sliced) NVidia GPUs. This is literally running out of my home office. Despite the complexity of building all that, the Kubernetes and GPU time slicing wasn't even the largest hurdle. Turns out UDP is a no-go on the school network, so direct WebRTC was out the window. Instead we're using Cloudflare's TURN relay with TCP. Which much to my surprise, is holding up quite well.
Definitely a learning experience. However, kids are having a blast. Can't wait to roll this out further!
comment 2mo ago · link · parent
https://www.youtube.com/watch?v=ITWSL5lTLig
The video above shows keyboard, but the main motivation for the key-based navigation was actually gamepad.
comment 3mo ago · link · parent
https://breaka.club/blog/why-were-building-clubs-for-kids
The primary mechanism through which kids create their game worlds is taking photos of their own hand drawn artwork.
I found traditional game dev tooling was far too technical and verbose for my daughter to stay interested. Honestly, it's not just a matter of her losing interest due to the complexity. Frankly, I don't want her sitting in front of a screen that long. She's a kid and I want her doing typical kid stuff. She and her younger sisters play sports, draw, paint, perform magic shows, and sing and dance around the house like complete nutbags — and I love it!
So whilst what I've built is highly technical for me to maintain, I'm not trying to expose all that complexity to kids. At least, not yet. I'm mostly interested in fueling creativity and letting kids explore. That's not to say kids that want to dive deep can't — we offer visual coding experiences etc. The intent is kids gain access to new features through self directed exploration and play. If some kids stop at just play, that's OK. The primary game mechanics (drawing and building worlds) are still inherently creative.
Although my approach is different, there is a heap in this article I resonant with. The hacking mentality, and letting kids go beyond the artificial constraints in particular. There's still much of Breaka Club that I can improve on. I'm running a limited in-school pilot at present and that's already yielded some really interesting insights. I'm really keen to continue to see what others put out in this space. I think it's drastically underserved and there's plenty of room for multiple approaches.
comment 3mo ago · link · parent
https://breaka.club/blog/why-were-building-clubs-for-kids
I also attempted to make a game with my eldest daughter initially. Unsurprisingly, she didn't want to sit there watching me code or drag things around in Godot's level editor.
Admittedly, I really need to make a new blog post showing the latest improvements brought about from the in school pilot I'm running weekly at the moment.
comment 4mo ago · link · parent
We stream OC2[1] with our mod preinstalled over WebRTC. This ensures that kids/schools don't have to try and install the mod. This is particularly important since we support running on school provided hardware. Installing a game without a mod would be hard enough. Added advantage though is kids play with a virtual (on screen) gamepad on iPads in Mobile Safari.
Game instances run in Docker containers in Kubernetes/k3s atop very outdated nVidia hardware. Given we're already going across the Internet into school networks, we've tried very hard to optimize latency across the board. Using NVidia NVEnc with DMABuf (zero copy) etc. We're unfortunately using XWayland at present so experience the documented input overhead. Although our inputs are virtual devices at this point, so the overhead may be a bit different. Trying to optimize this whole thing end to end has been a challenge. I would say that performance is currently "acceptable".
OC2 coding: https://www.youtube.com/watch?v=ITWSL5lTLig (not streamed in this case)
[1] We've bought a limited number of copies of OC2 and pods claim a license on startup. If we're at capacity, kids play something else.
comment 4mo ago · link · parent
However, as a senior engineer with fairly deep technical knowledge in these areas, I'm now using AI in my own projects. Frankly, before even touching Github, I'm already drowning in code reviews generated by my own use of an LLM!
There are meaningful, generally good PRs waiting for my attention against GodotJS, and other projects I (somewhat) maintain e.g. MoonSharp, C# Lua runtime. It was already extremely difficult to stay on top of PR code reviews for reasonably technical projects. When you're already somewhat burnt out from reviewing LLM code all day, it's so much more exhausting than it used to be.
comment 5mo ago · link · parent
https://breaka.club/blog/why-were-building-clubs-for-kids
We also teach kids visual scripting in Overcooked 2!, allowing kids to code their way through the levels of an existing much beloved game:
I'm running an in school pilot this week (Lunch time school club).
The tech stack for the main product is honestly pretty intense at this point with full multiplayer support, offline play, transitioning from client authoritative to joining a remote server. Built atop GodotJS, TypeScript bindings for Godot, which I maintain. Huge monorepo with over a million lines (yes, I'm aware that's NOT a good thing), and GodotJS itself is not included in that.
comment 5mo ago · link · parent
If I'm at the point of contributing a PR to a dependency, I've already identified the root cause in detail. There's no way a change log should be going into that level of detail, or else you're just duplicating the Git log for no reason.
Will the change log make mention of fixing the bug? Perhaps. But I'm going to want to read the technical details of the fix to make sure they've specifically addressed my issue, and not just a similar problem. What is the performance impact of the fix? Are there security implications they've explained in the commit message.
I'm a software engineer, not an end user, I want the technical details of my dependencies.
comment 5mo ago · link · parent
When I encounter a bug in a dependency of mine. Before I worry about submitting a PR, the very first thing I do is grab my version number and check the commit logs for fixes since my version number.
If I'm trying to decide whether I should bother upgrading, I scan the log for new features.
It's the title, not the details. The commit message body should contain MUCH more detail than the title.
If you don't like it because it looks ugly. Sure, that's subjective. And actually, I agree. Because it's standardized though, Git interfaces could even be configured to trim this off and provide different visual styles for the different kinds of commits. The types could be used as search filters too etc.
Now, I get people don't like the look of them. Neither did I when I first saw them. Then I started using them and found them useful.
It's fine, people have different preferences, it's just a convention and it's not going to work for every project. The article itself just doesn't seem to hold any water.
comment 5mo ago · link · parent
Why on Earth are people not writing commit messages for their reverts? They should have semantic commit messages just the same as any other commit.
Unless the point is that they're not following per-commit CD, and if you commit then revert that commit before a release was made. That sounds like a process failure. Which of course, process isn't infallible, and neither is the automated version management. If you screw up, use an escape hatch — just like reverting a commit that had previously gone through code review and been merged.
Re: change log generation. The article says change logs shouldn't have commit messages. I agree. Many tools (e.g. Changesets https://github.com/changesets/changesets) use the semantic commit type to sort change log entries, but require you to write those user facing change log entries separately.
comment 5mo ago · link · parent
EDIT: I didn't see this covered in the article on my first pass. It is covered though. My apologies.
The type of the commit informs the automated workflows how to handle the commit. This is why it comes first.
For example, if you're performing CD, if you only commit a bunch of `fix: ` then only your semantic versioning patch version number is incremented. If you commit a `feat: ` then it's a minor version is bump. `feat! ` is a major version bump.
Even if you're not using CD for releases, semantic commit messages are sometimes used to automate change log generation. Granted, your change logs should not typically include the Git commit messages themselves — those are developer facing, not user facing.