118 karma · joined Nov 21, 2023 (3y ago) · 90 submissions
comment 1mo ago · link · parent
https://github.com/ByteTerrace/Puck
It was originally a small project in scope, just a basic GameBoy emulator, a shader VM, and some Azure integrations. Just a bunch of things I wanted to dabble with in order to learn and have fun. Over the past few months it has grown immensely into something resembling an operating system more than a toy engine. There's even a custom DSL for authoring worlds that abstracts over the state/rendering models; it's completely ridiculous!
Will I make any money off the thing? Probably not, don't care. The things I've learned along the way have been worth way more than the amount of money I burned on a few monthly subscriptions. Learning how to interact with agents and treat them like a team was worth it alone; the product I have now is simply a nice bonus.
comment 1mo ago · link · parent
I've been dropping the equivalent of a car payment for three months and it's been worth every single penny; even if I never actually sell a product.
comment 1mo ago · link · parent
Scope creep? When you give a mouse a cookie and all that...
comment 1mo ago · link · parent
comment 3mo ago · link · parent
And yes, I'm absolutely certain. Go ahead and test your theory against the American government and I'll wait to see you on the news.
comment 3mo ago · link · parent
comment 3mo ago · link · parent
Our constitution itself gives us a blueprint because it states, in no uncertain terms, a "well-regulated militia"; not "each individual citizen".
comment 3mo ago · link · parent
I have no affiliation whatsoever with any AI company, nor any formal education outside high school, for what it's worth. Simply being curious and persistent can get you quite far in my anecdotal experience.
comment 4mo ago · link · parent
Just feels very dishonest, ya know?
comment 4mo ago · link · parent
comment 4mo ago · link · parent
As promised elsewhere in the thread.
22.
Show HN: I poked at the golden ratio in SQL and solved an open math problem(blob.byteterrace.com ↗)
6 points · by kittoes · 4mo ago · discuss
comment 4mo ago · link · parent
I'll have a third for you soon, here's the obligatory result in a tweet. A detailed post about it is in the works.
comment 4mo ago · link · parent
A form of recursion is also doing a lot of heavy lifting because the emulators are their own separate deterministic engines that are dynamically plumbed into the primary loop. This not only allows us to embed diegetic devices (as in, you can literally pick up a glowing brick in the world, hold it to your face, and play it), but also validates that the primary loop is coded accurately because the outer loop runs at X Hz while humble bricks must run at ~59.7275 Hz. Pacing inaccuracies in the main loop cause us to fail the brick suites that we test against. This concept of having features reinforce one another is applied as often as possible.
The obsession with determinism goes so far that both the DirectX and Vulkan backends are validated against each other for pixel level differences. If they differ more than the expected maximum then code is refactored until the drift is back within acceptable range.
comment 4mo ago · link · parent
That said, the maths library might just be the best thing to start with because it's mostly stable, relatively simple, and virtually every other part of the project depends on it in some way. If graphics are more your jam then maybe check out the SDF VM project and associated documents. All rendering goes through a single instruction set that is implemented via a shader pipeline that allows arbitrary scenes to be defined without shader recompilation. The project is essentially multiple compilers wearing a trench coat so there's a little bit of something for everyone... like two fully implemented emulators of the brick variety, including peripherals.
If you're adventurous and want to have your favorite LLM give the project a review in a sandbox then I think that'd be neat! Especially considering that they would have absolutely no problem driving everything themselves through STDIN. Though I totally understand if that's not something you're keen on doing considering the state of things today. Either way, cheers!
comment 4mo ago · link · parent
comment 4mo ago · link · parent
https://github.com/ByteTerrace/WorldOfWarcraft.Addons.GamePa...
This is an addon that I wrote for WoW, well before having access to any sort of AI, that blatantly copies the crossbar layout popularized in FFXIV. Playing an MMO with a controller in that game was a mind-blowing experience for me because I never imagined it could work! So, I spent a winter break reimplementing the entire thing in my own unique way.
https://github.com/ByteTerrace/Puck/blob/main/src/Puck.Overl...
This is a generalization/simplification of that idea. New? No. Unique? Definitely.
comment 4mo ago · link · parent
https://github.com/ByteTerrace/Puck/blob/main/src/Puck.Maths...
Some of us aren't just slopping it up like @theo and all the other AI influencers are, as I developed nearly every single line of this by hand over the span of the past decade. Agents recently became capable of factchecking it and helped find bugs that my other unit testing never caught. Software engineering has never been more alive!
https://gist.github.com/Kittoes0124/6827d08e457c1c8b790422af...
This is a snippet I wrote years ago to help me study different formulations of the equation ((1 + √5) / 2). There was this thing I could "see" in there that would allow me index into these sequences, and whole families of others, in O(1) time. The problem is that I still don't know enough maths to derive the exact object that I want from the nonsense that I have.
https://github.com/ByteTerrace/Puck/blob/main/src/Puck.Maths...
This is the reformulation of that snippet into a proper object, distilled using Fable and Sol. Unlike BinaryIntegerFunctions, I didn't write a line of this and I'm quite happy with that. It's been a slog for so long... being able to let these agents toil away at all the off-by-one type noise is just nice. I get to focus on an actual product for once instead of manufacturing every single nut and bolt myself.