4,359 karma · joined Mar 1, 2010 (16y ago) · 1,704 submissions
I'm an inventor type person. I'm also owner of https://www.adama-platform.com/
comment 5y ago · link · parent
comment 5y ago · link · parent
I've been tinkering on and off with my own programming language for the last couple of years: http://www.adama-lang.org/
The key motivation is dealing with the complexities of managing all the state between people as they play a game with a strong boundary for privacy.
I am debating what my next steps are with what I've learned. Do I focus on growing things around it, or do I abandon yet another project and do something that might actually achieve success.
comment 5y ago · link · parent
An area that I'm playing around with is a log reducer which transforms a region within a log into a single item. For instance, if the log entries are just JSON (without arrays) then json merge (RFC 7396) is an example reducer. See http://www.adama-lang.org/blog/json-on-the-brain for more detail.
comment 5y ago · link · parent
I'm also looking at WebAssembly as the way of doing work ( http://www.adama-lang.org/blog/micro-monoliths ) versus generic operations.
Something interesting to consider is how important is offline use these days? If we get to an online-99.9% world, then the solution feels ... simple.
671.
Micro-Monoliths and the Future of Infrastructure(adama-lang.org ↗)
3 points · by mathgladiator · 5y ago · discuss
comment 5y ago · link · parent
comment 5y ago · link · parent
I don't think this is true. It may be an unfortunate end. I'm actually intending to move to a flip phone since...
comment 5y ago · link · parent
I am biasing towards relying on a connected socket for all state management which is fair for board games (and, I do believe more generally given how connected the world is becoming).
There are tremendous problems with using WebSockets in production, but they can be overcome with a decent protocol design as you have a number of failure modes to contend with. I'm in the process of publishing a paper for a conference that will share some of the architecture of my production learnings.
comment 5y ago · link · parent
I'm currently designing my own deck builder similar to Dominion.
My advice would be to use first make a game without the network, and just have hotseat. Once you have a hotseat game, then the question is how to pull the state out of the client and then be shared between two computers.
The complications arise during the failure modes of the network, and how transactions play between multiple play. Chess is a fairly simple game to get started with (I'm not sure how makruk compares), but modern eurogames tend have a lot of rules that can be changed by pieces or cards. These get... very complicated.
comment 5y ago · link · parent
What I have found is that if you have reactivity from your back-end, then front-end reactivity is... easy.
My focus is on board games, but the idea generalized pretty well. As an example, my dumb chat room: https://github.com/mathgladiator/adama-lang/blob/master/demo...
I really need to focus on this, but I believe what we are seeing is an interesting adversarial game between client and server. For instance, if you build your server with a strong API, then clients are going to build tremendous complexity.
My personal bet is that we need a streaming protocol such that applications look more like X11.
comment 5y ago · link · parent
comment 5y ago · link · parent
I'm writing a programming-language ( http://www.adama-lang.org/ ) which is reactive, and I'm currently looking at how do I optimize (prematurely, of course). I believe a combination of static analysis and a good runtime working together are the future (at least, for me).
For instance, I currently statically optimize "iterate _table where id == x" to "_table.get(x)", and this was a good optimization. I use the same analysis to introduce some limited indices.
The paradox for my use case (board games) is that going further isn't really needed, and the overhead of optimization starts to cost more than brute force table scans. However, I'm excited about this approach beyond board games.
comment 5y ago · link · parent
comment 5y ago · link · parent
My bias here is infrastructure, and you simply can't attach a debugger to a running production process to slow down customers.
At core, debuggers are an educational tool for new developers or inexperienced developers. Experienced developers will add metrics, assertions, and logs to the code which will make print debugging mostly redundant.
685.
Wrapping my head around DFINITY's Internet Computer(adama-lang.org ↗)
3 points · by mathgladiator · 5y ago · discuss
comment 5y ago · link · parent
I'm building a serverless document store with mini-databases using a programming language I designed for board games: http://www.adama-lang.org/
comment 5y ago · link · parent
At scale, the performance cost is worth it given the number of checks done internally to ensure the copy is perfect. If you download and upload, then you could make it faster however getting all the details right such that corruption didn't happen is tricky.