HN user

selfie

129 karma
Posts1
Comments27
View on HN

Build it and they'll come? At least one end has to be somewhere people want to be, right? A line from London into the countryside makes sense. You can live in the countryside and work in London. A line from nowhere to nowhere is a chicken/egg problem. Now if one end is an Airport and another is a new community who will have jobs at the airport, that might work.

Do you take the money, or do your users split it between their friends and you take a cut?

The take the money one has been done (Beeminder, and others probably), but sure different flavours are welcome.

The split with friends I haven't seen. That would be pretty cool, especially if you can do it without needing to pay banks a txn fee, or perhaps a tiny one (maybe you take a 5% of profits fee from participents, or similar). Crypto is the other option (!).

The split with friends is great becuase

* People less likely to lie to friends than a SaaS. Which is good for both parties.

* Social motivation and financial motivation.

* If you lose it's like losing a game of poker with mates, not a big deal (as long as you kept the stakes reasonable).

Yes this sort of thing! There was one posted on HN back where the speaker says, in the middle of other context fairly deep in, recognise this number? 3.14159265358779323846264338327950288419, and then shows that it isn't actually Pi, (one of the digits is swapped, he may have swapped a different digit to me). Nice joke because is reminds us to challenge assumptions too!

I like a joke that is about the subject matter. A subtle pun that makes a smile but doesn't interrupt the flow at all. Another way to make it entertaining is make it a story. Forget jokes, make it about how you had to mop up the leaks in the server room as an intern before getting to the rack that had the crashed hard disk. Or something.

I remember the first meme like presentations back in 2002 at work and I hated it. It's like stop learning, now you have to find this picture funny (maybe it was some star wars reference, and I haven't watched them), and we will get back to it. It was cringe!

Render is a different thing in both places. Server Renders is ... formatting a sequence of bytes. Hopefully your templating engine is optimized and it is a low cost operation. Rendering on the client is obviously more involved as it requires actual rendering on the screen using the graphics drivers.

On the other side of the scale, React has overheads like a virtual dom.

It is a complicated question as to what is most performant, who bares that cost, and so on.

That is right, so from a security perspective, as an end user, you can't "Disable JS, but enable HTMX only".

However a a developer or team, if you say "this page only includes the HTMX library and no other scripts" (something that is easy to verify) then you know a lot about what can and can't happen.

In a sense HTMX is a framework that provides a non-turing complete DSL with limited interactions.

Whereas React alone provides... well nothing, because it isn't a framework. You need JS to initiate it, and do anything with it at all! So a React app by extension must have a lot (or maybe a little, rarely) custom Turing-complete code with access to the entire operating system that is the Web API!

(I appreciate that people's definition of Framework vs. Library will differ, but the main point stands that React requires a decent chunk of turing complete code to do anything useful, whereas HTMX requires no turing complete code on the client but just markup.)

A HTMX-y app will typically be a fetch-heavy app. Think TODO list, where each time you add a todo, you want that persisted on the server anyway. Yes you are sending more down the wire. I doubt rendering a partial HTML template is that much more work than formatting JSON but there is more crap to send down the line for sure.

Where the application is doing lots of micro-level stuff, like maybe you are drawing on a canvas and occasionally sending a payload of updates to a server, I think then HTMX would be much slower and clunkier, and that is when you dust off your React.