HNHacker News
TopNewBestAskShowJobs

yuchi

1,428 karma · joined April 2, 2012

Venice based lead of front-end engineering and UX analysis @ SMC (https://www.smc.it)

[ my public key: https://keybase.io/yuchi; my proof: https://keybase.io/yuchi/sigs/iHLqZwLH8F262yODwR0xQa6RSxGBb4-BmsSMyUkiHY0 ]

submissionscomments
yuchi··on Cloudflare Quick Tunnels
I still remember when ngrok came out. The experience was more or less the same.

It’s interesting that 10 (more?) years later the product has not evolved and, apparently, hasn’t found a way to finance itself without removing the pure free tunneling option.

yuchi··on Dwarf Fortress is getting the mother of all magic updates
Only working on the magic system itself, unfortunately making the game around the mechanics is not something I enjoy, so I have been implementing different approaches with some minimal debugging UI. Did not reach the need for an actual game engine
yuchi··on Dwarf Fortress is getting the mother of all magic updates
I’ve been tinkering with a game engine where magic is made of first principles for a very long time. Cannot wait to see the gameplay and mechanics here!
yuchi··on Document-borne AI worms can self-propagate through Copilot for Word
Those are parasitic memes, that bring no value to the host. There are many such memes in apes world too.
yuchi··on TREX: An AI code reviewer that runs your code
OOT, but this website design is fabulous, the only thing is the font size just a bit too small. That header sticky effect on mobile is chef’s kiss
yuchi··on Pope tells priests to use their brains, not AI, to write homilies
Got goose bumps, exactly as the first time reading this. Thanks for sharing
yuchi··on Surface Tension of Software
While the reasoning holds generally, that specific example is wrong. The type the author presents is not the “User Profile” but a “User Profile Load Resource” (or something in those terms).

When you actually design interfaces you discover that there are way more states to keep in mind when implementing asynchronous loading.

1. There’s an initial state, where fetching has not happened yet

2. There may be initial cached (stale or not) data

3. Once loaded the data could be revalidated / refreshed

So the assumption that you either are loading XOR have data XOR have an error does not hold. You could have data, an error from the last revalidation, and be loading (revalidating).

yuchi··on <template>: The Content Template element
As good as a script element with type application/json.
yuchi··on End of an Era
Just as a small note I did not get that too.
yuchi··on Show HN: Real-Time Gaussian Splatting
The output looks terribly similar to what sci-fi movies envisioned as 3D reconstruction of scenes. It is absolutely awesome. Now, if we could project them in 3D… :)
yuchi··on Nine – seemingly impossible C64 demo
Posted it few days ago but didn’t get any traction. All Linus’ work on retro computing is fenomenal. Please have a look at its channel, a lot of awesome content there.
yuchi··on JavaScript Temporal is coming
A lot of calculations may happen on the client. And the server may be written in JavaScript.
yuchi··on JavaScript Temporal is coming
I think you got it wrong. Now is a namespace for functions that retrieve the actual values, such as Now.instant()
yuchi··on Coding Machines (short story, 2009)
Since the dissertation by Ken Thompson about compiler trustability was quoted today, I thought it would be a good idea to bring this short novel back from the archive. Loved it years ago and still is very enjoyable.
yuchi··on Whence '\n'?
Also have a read of this fabulous short web from 2009: https://www.teamten.com/lawrence/writings/coding-machines/
yuchi··on Diffusion models are real-time game engines
“…now it can implement Doom!”
yuchi··on Unveiling URI, URL, and URN
And only very malformed URNs may be actually valid URLs
yuchi··on Building a dynamic Canvas rendering engine using JSX
I think a custom renderer for react would much more powerful. Currently JSX is just used as syntax sugar. Wasn’t some react ink project that more or less made this?
yuchi··on Nerdy internals of an Apple text editor
Let’s say you have a rich text where you want to highlight all occurrences of some token or syntax. When you have tree data structures you cannot use regexps or a simple parsers, since the full text may be split in different nodes.

With attributes strings it’s trivial, you just need to move attributes accordingly and to normalize stuff at the end.

yuchi··on Nerdy internals of an Apple text editor
In the era of DOM documents (see notion, gitbook) I very often resort to attributed strings to do magic stuff with text parsing and manipulation. It’s such an elegant structure and I don’t understand why is so unknown.

Incredible article btw

yuchi··on String Prism
The UI breaks pretty easily with a “zalgo” amount of diacritics.

That said, very interesting. A cool tool to have in your belt.

yuchi··on Was Javascript really made in 10 days?
By definition, no. Use strict was a subset of JS.
yuchi··on A female albatross over 70 years old
The adage is that if we didn’t die of age we would simply not cross the street, the odds may look slim in our short lifespan, but if you extend those to a thousand years getting hit becomes a facto of when, not if
yuchi··on Milk Tea Addiction
Per day? I intrpreted the number as 6–11 cups “in the last year”.
yuchi··on The company behind Stable Diffusion appears to be crumbling into chaos
Local DNS cache?
yuchi··on GitHub profile achievements
You can see that issues’ numbers are through the roof.
yuchi··on That people produce HTML with string templates is telling us something
By definition, no. JSX is syntax sugar to some underlying function that transforms a JSX element (made by tagName, props, children) into something else. That could be a string, but usually it produces an abstract node representation, an object that collects those three parts.
yuchi··on Instant flood fill with HTML Canvas
Even better, you can just use a single listener and on click verify the element under the cursor with document.elementFromPoint
yuchi··on Literate Programming: Articles
The actual size may change a lot depending on the font, but there’s a nice Unicode symbol for that:

——— <redacted> ———

Update: apparently HN doesn’t like some characters…

Anyway these are the characters: https://unicode.org/charts/nameslist/n_2700.html

- 2700 Black Safety Scissors

- 2701 Upper Blade Scissors

- 2702 Black Scissors

- 2703 Lower Blade Scissors

- 2704 White Scissors

yuchi··on Ancient Greek terms worth reviving
Another interesting fact is the difference in quality of the armours exchanged. One was incredibly valuable (gold or bronze if I’m not mistaken) and the other one was relatively poor.

Xenia was such a powerful social norm that for a warrior, in the heat of battle, is perfectly fine to temporarily be nude, exchange your finest armour for a lower grade one, and still be happy about it.

Page 1 of 18Next →