Better HN
topnewbestaskshowjobs
Log inSign up

mathgladiator

4,359 karma · joined Mar 1, 2010 (16y ago) · 1,704 submissions

hn [at] mathgladiator [dot] com

I'm an inventor type person. I'm also owner of https://www.adama-platform.com/

Submissions

comment 5y ago · link · parent

No, that's how I think about it. Internet had loss of availability in that region.

comment 5y ago · link · parent

I ran a bunch of scripts on some aux boxes, and Tokyo stopped working. Can't talk details... sadly

comment 5y ago · link · parent

Neat. Well done.

comment 5y ago · link · parent

They do make the case for walled gardens as a feature, but that doesn't mean they solely should have that responsibility. They are basically saying that the market can't be trusted.

comment 5y ago · link · parent

its not just delegation, but the importance of strategy. In large orgs, things go fairly slow but wide. It is beyond importance that the direction set is a good direction. This requires talking to people, understanding the market, understanding trends, and the boiling it down into what the org should focus and do versus stop doing.

comment 5y ago · link · parent

This speaks towards hustle culture. As a kid, I was making $20/hr plus by going door to door raking leaves. The narration of 'get a job ' is not for doers, but rather 'go produce value for others'.

comment 5y ago · link · parent

Not small, but myopic in a way.

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

It's a good strategy against those that don't know it. Basically, you are biasing towards consistent growth and avoiding spreading yourself too thin.

comment 5y ago · link · parent

Absolutely, this is a key reason why I strongly believe what goes in the log matters. If the log is a list of commands, then you have two representations to contend with: the differential/patch form and then the aggregated state.

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

The common abstraction is a shared log. I'm boiling down my current side project ( http://www.adama-lang.org/ ) into reusable components.

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

Check out https://makepad.dev/ and then hold down left alt key.

comment 5y ago · link · parent

This is why I'm optimistic about WebAssembly, beyond time and investment, what prohibits it from achieve performance parity with native?

comment 5y ago · link · parent

> Modern society has come to rely so heavily on mobile apps that any phone manufacturer must ensure that such a healthy ecosystem exists as table stakes for anyone to buy their phones.

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

Or, her strength and height inspire people like her to step up and the gymnastic game is changed forever. This feels like a fatalistic approach which we don't do in so many activities.

comment 5y ago · link · parent

This is entirely new infrastructure, and I don't have data yet since this is a side project.

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

Wait til I tell you about the custom UI system I'm building with canvas.

http://www.adama-lang.org/blog/ui-flow-with-adama

comment 5y ago · link · parent

A number of games, but my favorite that I have a working back-end for is Battlestar Galactica ( https://boardgamegeek.com/boardgame/37111/battlestar-galacti... ), and it is complicated.

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

I'm no fan of React, and I'm building a new back-end and front-end that is probably heretical to... well.. everything.

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

When I was at Amazon, interns got to do greenfield work because that was how senior engineers got their projects off the ground without a six pager.

comment 5y ago · link · parent

Once of the concepts I'm working on from a technical angle is making stable compute super cheap from an operational perspective and zero maintenance perspective. I can understand companies turning off games because costs grow beyond revenue, so it only makes sense to clean house.

http://www.adama-lang.org/docs/why-keeping-things-stable

comment 5y ago · link · parent

I like the unstructured/structured boundary as it mirrors the "do you use a library" (some Rx) or "do you use a client" (like Kafka).

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

I've had similar thoughts in the past with blogs. Make more controversial opinion pieces require readers to indicate their concern and feedback, and then address inline. This way, I can understand the percentage of readers that bounce after reading the headline or don't engage too deep.

comment 5y ago · link · parent

Not going to ever happen because print debugging eventually gets formalized into logging and metrics as a best practice.

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

That's super cool. There is a lot to be said about simple things, and I think the language approach makes a ton of sense.

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

Partition Management Service....? I don't get it.

comment 5y ago · link · parent

What weeds in the language? I'm curious as I'm designing a language now, and my regrets are piling up around the complexity of the type system.

comment 5y ago · link · parent

distributed systems are complex, and most likely you were bound to an overloaded webserver. My knowledge of S3 is six years old now, but the copy operation is single threaded with a tremendous amount of hashing to ensure durability.

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.

comment 5y ago · link · parent

yes, and if you leverage the multipart upload then downloading along those boundaries will have zero contention and you can go extra fast.
1
222324
57