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
I wrote many tests for it... so many tests...
comment 5y ago · link · parent
I can provide an example. I'm writing a programming language, database, and platform to power board games. http://www.adama-lang.org/
Most of my personal investments are marginal to most businesses (or deeply incompatible). If was going to run this as an enterprise, then this would be a death sentence. However, my hope is that when I get this thing moving, then I can ship games quickly with exceptional and redefining reliability.
The only reason I can pursue this as an art is that I'm close to retirement.
comment 5y ago · link · parent
A hard yet important lesson in life is to learn to do things in spite of haters hating. For example, I'm writing a programming language, and I can almost guarantee that people will hate it... and that's ok.
comment 5y ago · link · parent
It's very easy to get stuck in the world of CRUD because it pays the bills, but as you noted there are a lot of technologies.
Shifting out of that world requires risk tolerance because there will be failure after failure. That wall you speak of is the nature of hard things and the time you can dedicate bashing your head against that wall.
My advice for climbing/breaking the wall:
Pick a small project that you find interesting: build an OS, game, programming language, VM, etc... and just do it. The key is to cross the hump of understanding and get something simple working, and the good news is that conceptual understanding isn't that far away. The tool to help you get unblock is writing. Write the comments of what you are trying to do, and break it down until it becomes code-like. Read books on the subject and bounce back to writing what you read.
However, going from conceptual understanding to professional environment is different because the concepts start to inter-relate and the complexity manifests.
Prior writings on this:
http://jeffrey.io/writings/thoughts-for-young-hackers-and-so...
comment 5y ago · link · parent
For a lot of it, yes, it is a giant mess.
I'll posit the reason modern front-ends are a giant mess has to do with the fact that everyone tries to hack, slash, and transform the document model into an application model. This means they don't want to reload the page, and they then have the burden of manipulating the DOM in a very crude way.
This creates a predictable empire building game of building a framework to make it easier, and every framework succeed to a certain degree. Now, they succeed in a number of great ways, but then they run in the abstraction leakage which causes them to bend in strange ways. For many applications, that's fine, but as the number of applications grow this creates problems for the common case. So, quality gets harder to achieve.
Now, the philosophy that I believe is that we just don't think simple enough. Most people don't think deeply about this stuff (and good thing because we would never get anywhere without people running forward making messes), so what do we do?
Well, I think the real answer may not be to fix front-end development. Instead, I'm coming to the conclusion that we should fix back-end development. Instead of using the tried and true work-horse of request response (i.e. HTTP), we need streams (i.e. WebSocket). Streams let you pair-bond state, and this is exceptionally important.
Ignore the complications of WebSocket for a moment (I don't deny there are problems, but they are solvable; just no good common solution yet).
What a stream lets you do is pair-bond/entangle objects, and this lets you simplify the development model to a great degree such that the front-end object is a proxy to the back-end model. This entanglement then forces you to contend with two things: (1) how do I change the object, (2) how to respond to object changes.
Once you address those two concerns, you can build applications fairly easily. Using this framework, we can then see work towards understanding why modern web development is so painful.
Since objects don't tell you how they change, you have to reconcile that change. This is why things like react have a shadow-dom, but you still have to read state from server then shred it into components for that to work. It's easy to miss an important data point since there is no direct entanglement. Ultimately, you have to take an entire object and then mangle it into a form that is pretty to the user without disruption because the DOM has hidden state (i.e. scroll bars or text selection). Classic web avoids so many problems because that disruption is built in.
Since failures of the request will happen, you further have to deal with partial failures of state changes which is why you generally need a thing like Redux to be an immutable state container so you can rollback state changes. OR, you need GraphQL such that the client only deals with atomic failures. However, most people fuck up GraphQL, so you have to have both GraphQL and Redux.
Things like svelte are better because it uses language techniques to help you shred your data into DOM, but it still suffers.
My claim is that you can simplify front-end development BUT you must also simplify the back-end, and I'm doing this over at http://www.adama-lang.org/ where I'm solving the problem for board games. I claim that board games are a limit point of technical complexity for transactional interactions between people, and partial failures are catastrophic for the experience.
The way that I'm building a game right now is that I have a client which I can connect a giant JavaScript object to the server. There is no proxy, just an object. The server will then get an update, then update the object and tell you about it via a change callback. These change callbacks allow you to synchronize the DOM to the object without an intermediary. The DOM callbacks can safely read the object.
This lets me use vanillaJS without fear.
When some DOM callback wishes to change the object, then all it does is send a message via the stream to the back-end which will (1) authenticate it, (2) validate the change, (3) incorporate the change, and (4) spit out a data change. Much like a database, the UI is a tailer of the log.
The JavaScript library I have is in its infancy since I'm balancing my time between the language, the devkit, the client library, the distributed system design, the game tools, the canvas renderer, and ultimately the first game to launch.... And I'm only working on this 2 hours every evening until I retire, so... it's going to take time.
comment 5y ago · link · parent
A comparable framework for some of the workloads I envision would be https://akka.io/docs/ , but then you have to live within the framework or bad things happen. My idea with the language is that I eliminate all the bad things and keep thing simple.
Where I've scratched my head on this problem with existing solutions is that you need a lot of things to align. For instance, making it possible to coordinate players easy requires having a language support async/await semantics. This lets the server coordinate you playing a card which another player can interfere with, and another player could interfere with that.
The challenge with async/await in modern languages is what do you do with the process if the future takes... hours to return? How do you handle upgrades? operations in the cloud of cattle? This is where I started to re-invent a logger for board games, but then you must treat all your game code as deterministic. If you don't, then you are in for a surprise as the server replays the log. Instead of trusting myself, I'm forging the standard library such that everything is deterministic.
The final component that gives me confidence in needing a language is the reactivity. My language is basically a text-based Excel engine with tables, objects, and global values. This means that when a player makes a move, I simply need to manipulate the state appropriately and then everything bound to that state gets computed on the fly as needed. The state also is annotated with privacy controls such that important information doesn't leak between players, and this is something that is really hard outside of a language context.
All in all, I don't really need a language to ship a single game, but if I want a platform to enable anyone to build a board game, then I need to make it accommodating.
comment 5y ago · link · parent
As a developer, I can code the back-end for a board game without thinking about the failure modes for disk/db/network and I code as if I'm a single process (you know, the way we coded as kids). The mental model mirrors if you gather all your friends to play a game with the same keyboard and mouse.
As a service, it is a combination of EC2/Lambda for compute, Ably for notifications and connectivity, some DB for storage of state, and workflow for orchestration of people transactions. All within a single package.
As a game designer, my hope is that I can make it easier enough that the rules backing a game can be built and then evaluated with simulation and artificial intelligence. I have rough prototypes of this, but I implemented the back-end of Battlestar Galactica and had a random bot just play it. That's a remarkable achievement in a way, and now the question is how to train a system to search for patterns in looking at what decisions are made with a JSON document as the state of the game.
comment 5y ago · link · parent
The process is not going to be commercially viable for many years simply, and this is why crap persists because that crap does solve real problems today.
You can check out the project: http://www.adama-lang.org/docs/why-the-origin-story
It's going to take a long time until I get to a 1.0 release.
comment 5y ago · link · parent
The immediate problem is how do I animate the card going away? The next question is how do I convert that to text like "You drew a card" versus "You stole a card from player X"
Now, ideally, I want to make this very simple and also privacy respecting as well. I can hack the card animation problem directly by having the UI detect connect the dots between cards appearing and being orphaned. This may be good enough for many scenarios.
Another thing I'm thinking about is contextualizing the events the client sends (which do have more domain context). This is probably the right way to go, but this adds a new layer to think about.
comment 5y ago · link · parent
I am pondering two things at the moment.
(1) how to introduce high contrast for important details. There is a lot of cosmetic noise in board games, and I'm looking at how to rendering JSON into an image. What annotations can guide this rendering such that important details are more obvious.
(2) of what I'm looking at, what is the (a) important stuff right now and (2) what happened. If I can make it easy to describe the picture with words, then not only can I solve the problem for blind people but I can bring home assistants into the picture.
For (2), I can solve (a) easy enough. For (b), I'm still sorting that out since I am playing with my hands behind my back. Like, I can describe things as "cards entered your hand" or "cards left your hand", but I'm struggling to figure out how to distinguish between "you got two cards from the deck" versus "you took a card from Zem into your hand". Similarly, I'm having the same problem as "you trashed a card" versus "you discarded a card", and I'm struggling with the in-between for animation. The core reason for this problem is that the client just sees an array changing in elements, and I don't know the origin or destination for those elements. My hope is that if I can solve this, then I get both the change-log and animation within a unified idea.
comment 5y ago · link · parent
If I didn't have so many different ideas, then I'd love to return to it.
Ultimately, I'm realizing if I want to storm this market, I need to create a successful revenue engine to explore the space. How I would do it now is provide two hacks:
(1) special format for tagging regions within the spreadsheet as either tables, objects, or values with static types.
(2) a wizard to walk through the transpilation to provide guidance and look into oddities in the sheet.
The purpose of (1) is to automate the tagging process in (2), and the key is to turn the process into a predictable game so you can move back and forth easily. Now, if you transpile from Excel/OpenSheet to Adama, you not only have source control but a reactive database with full history and auditability.
comment 5y ago · link · parent
comment 5y ago · link · parent
Being reactive was a core design decision with my programming language ( http://www.adama-lang.org/ ), and it simplifies my life greatly. I treat the back-end like an Excel sheet that I can send messages to, and the server will ingest those messages into some data changes (typically table changes), and then all the formulas that depend on those sources of data get recomputed.
Since, I'm using websocket, I can leverage knowledge of the prior state and just send deltas down to the client. It's super efficient, and I'm having great velocity with just manually data binding DOM elements to a giant reactive document.
Beyond the current market of board games, I have an ambition that I'll scale it out of the current niche to compete with spreadsheets. I'll probably turn the infrastructure into an open source firebase like product. Not sure yet.
comment 5y ago · link · parent
I'm doing it from the ground up with my own programming language: http://www.adama-lang.org/
I'm going to build my own UI kit for canvas: http://www.adama-lang.org/blog/ui-flow-with-adama
(I'm learning rust right now on the side)
For the UI kit, I'm going to build a collaborative editor/IDE: no link yet, it's a thought experiment. The language makes the 'collaborative' super easy.
Then, I'll build out the distributed system for making this a platform.
THEN, after all of that, I'll ship a single game.
Being retired sounds like fun, and then I'll build a lifestyle business SaaS around generic state machine-documents as a service... Or something, no idea.
comment 5y ago · link · parent
Why do we use X framework? Well, because Mr. Deep Pockets over there is using it!
I wish we could have a more mathematical world, but it doesn't scale beyond a handful of architects and really talented engineers.
The amount of hassle and push back I get for getting 100% code coverage tells me that it's rare for people to leverage more concrete and deeper ideas to even validate their thinking. The market rewards "just ship it" way more because ultimately customers just learn to manage the shit that ships.
comment 5y ago · link · parent
I like this a lot as I run into so many arguments about stateless this or stateless that, and what gets lost is that not contending with state is problematic. Databases are forced to get massive and do all sorts of goofy shit so some people don't have to ever think about state; this goofy shit creates interesting reliability challenges which translates to bad user experiences.
For my future projects, I've decided to build my own application-as-state-database-container thing: http://www.adama-lang.org/docs/why-the-origin-story
Granted, I'm focused on niche board games since they redefine complexity.
comment 5y ago · link · parent
I'd say materialism, achievement, and social standing are the de-facto defaults for what we mean by status in the broader sense.
We are tribal social creatures by nature, but we also play silly games like who can get the most cars or the biggest house.
comment 5y ago · link · parent
That's it; why do we do what we do?
When I mentor people, I ask three questions? (1) who are you, (2) whom do you want to become, (3) how can I help?
Who we are and what we value are... so interesting. Like, why did I have an urge to get a beautiful quartz counter-top? It baffles me that I would spend more on home improvements then beefing out my computer.
comment 5y ago · link · parent
I imagine that I have a few years until I see some of my ideas being more mainstream. There are a few database offerings (like firebase) which are similar to the infrastructure that I am going to build, but I am targeting a completely new data stack.
Such a build doesn't make sense without products, and I'm limiting myself to board games because... that's what I want to ship.
If I push my ideas out as a replacement for... mongo or mysql, then I'm going to get a lot of push-back. IF, instead, I push my ideas out via new products like a deck builder for married couples, then I just took an eccentric path.
comment 5y ago · link · parent
I intend to "Fat-FIRE", and the only reason I don't retire now is to see how much I can leverage my position to do crazy shit at massive scale. Paradoxically, this sets me up for larger windfalls because I can take risks that my peers do not take.
comment 5y ago · link · parent
I recently learned there is this term called "Sigma male" where status is not interesting. Now, I don't know if it is real or just some label, but I do know people that don't care. I personally don't care, but this is after testing the waters of spending money for happiness (remodel house, changes, etc...).
The key that I hope to leverage is that for me money nor traditional status does not translates directly into happiness. However, working on my silly programming language and products that use it: very happy.
My hope when I retire is to work almost full-time with the flexibility to stop and go. I'll be tinkering on http://www.adama-lang.org/ whilst I try to bootstrap a board game company.
I've come to the realization that most of my ideas are going to be seen harshly from many technical people, and they will not be taken seriously at first. My strategy therefor is to balance the meta-game of language building with building actual games. For instance, I'm currently designing a two player deck builder game for husband and wives to play.
I gave a demo of a product that I am building with a friend, and his mind was blown. Sadly, this is the form of status that I seek. I don't see the lifestyle or the materialism, I seek demonstrating my cleverness and being ahead of the curve.
comment 5y ago · link · parent
For instance, I spent $7K on new quartz counter-tops, $5K on a new fireplace insert which I would rarely use, and then $70K on a bathroom that I never used. Now, I've come to the conclusion that perfect doesn't really exist and just to enjoy what you have. We went from home owners to renters.
All the external things that money buys tend to not provide lasting happiness, and there you are stuck with yourself. We all die.
I have a lot of thoughts on this piece as I'm in the FI camp, but not yet RE camp. The only reason I don't join RE right now is because I want to try to leverage my position to do something really big. However, I'll probably fail, and I'll retire and do my own thing.