HN user

andypants

946 karma
Posts4
Comments358
View on HN

You can also use jsx on the backend. React has renderToStaticMarkup, but you probably want to use one of the jsx libraries written specifically for the backend.

Depending on what you're working on, codex could be starting long running tasks that are never terminated and keep spinning in the background.

The 49MB web page 4 months ago

Z-index warfare is so stupid (the practice, not the name). It's not only with media publications, but ecommerce sites as well.

There have been countless businesses that have lost out on my money because I clicked on their ad (good job!), start reading the product info on their website as it loads (that's basically a sale), and then the page finished loading with a barrage of popups for cookie consent, newsletter signup for a discount code, special offers, special sale, spin the wheel for a prize, etc. That's when I close the tab and forget about it.

While I don't agree with the OP about type systems, I understand what they mean about erlang. When an erlang node joins a cluster, it can't make any assumptions about the other nodes, because there is no guarantee that the other nodes are running the same code. That's perfectly fine in erlang, and the language is written in a way that makes that situation possible to deal with (using pattern matching).

Jai, odin and zig's creators are all part of the handmade network, a community of programmers. You are vastly underestimating blow's reach/influence.

Odin's creator has credited Jai as an influence. You can see him in the comments of old jai youtube videos (videos that go into a lot of depth about the language design). Odin's syntax and features are very similar to Jai, the influence is pretty clear. Odin has other influences of course but you could say it's "jai but open source".

Lastly, jai is not open source but it doesn't mean it's not available. You can message blow to get access to it. Many programmers have used it. There are third party jai libraries on github.

Also when clicking from a search result to a video, it replaces the url instead of pushing to navigation history. So when I click into a video and try to go back, it takes me to the homepage instead of the search results! It only happens on mobile!

None of the banned people mentioned a fork, some don't even have anything to do with wordpress other than commenting about the drama on twitter. The whole post is matt gaslighting to justify the purge.

Orbit by Mozilla 2 years ago

It feels very resistant to doing anything other than summarizing. Even when you ask questions for details, the answer is always in the form of a simple summary.

This was also changed recently in 2010 by adding WAL mode.

2010 is closer to sqlite's creation than today, not very recent

There's no event for the dialog about to close, only an event for after the dialog closes. You can prevent default on the enter key and space key, but that obviously breaks the form ux.

There is an event for the dialog about to close from pressing the escape key. No idea why it's only for closing via escape key.

Tried this today and came across an issue that I could not get around: if the dialog contains a form, then submitting the form with enter (focused on any input) or space (focused on the submit button) will close the dialog. I couldn't find any nice way of preventing it.

Normally a form will reload the page anyways so I guess this isn't a normal problem but I was using htmx.

If anybody wants to try the demos in firefox, go to `about:config` and toggle on `layout.css.properties-and-values.enabled`.

There are real tokens meant to be used by real people that have some kind of 'tax' per transfer which is implemented similarly.

Uniswap doesn't care, it just needs to update its reserves before every swap.

Actually this contract is not public, its source was not published on etherscan. You can read its opcodes and try to run it through a decompiler, but you can't get its original source.

That shouldn't really matter though. The contract was not advertised to the public, he could argue it was a private contract that could only be used by whitelisted addresses. Sandwich bots made the mistake of trying to interact with a random contract and assuming that it follows a particular kind of behaviour.