Better HN
topnewbestaskshowjobs
Log inSign up

yuchi

1,435 karma · joined Apr 2, 2012 (14y ago) · 577 submissions

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 ]

Submissions

1.

Ask HN: Is there hope against slop?

4 points · by yuchi · 1w ago · 6 comments

comment 1mo ago · link · parent

Claude Design was/is absolutely brilliant. The embedded skill in work and code is capable but the experience of Claude design was so much cleaner.

comment 1mo ago · link · parent

Sorry, curious non-native speaker here. Which accent? And which telling patterns made you think of it?

comment 1mo ago · link · parent

I loved them and I placed them a lot in my designs — if you also include my love for em dashes you can well understand that I feel my own character has become a clanker…

comment 2mo ago · link · parent

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.

comment 2mo ago · link · parent

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

comment 2mo ago · link · parent

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!

comment 3mo ago · link · parent

Those are parasitic memes, that bring no value to the host. There are many such memes in apes world too.

comment 5mo ago · link · parent

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

comment 9mo ago · link · parent

Got goose bumps, exactly as the first time reading this. Thanks for sharing

comment 11mo ago · link · parent

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).

comment 1y ago · link · parent

As good as a script element with type application/json.

comment 1y ago · link · parent

Just as a small note I did not get that too.

comment 1y ago · link · parent

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… :)

15.

Magic Secret of Nine (C64 demo) explained(linusakesson.net ↗)

15 points · by yuchi · 1y ago · 1 comment

comment 1y ago · link · parent

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.

17.

Nine (Seemingly Impossible C64 Demo)(youtube.com ↗)

7 points · by yuchi · 1y ago · discuss

comment 1y ago · link · parent

A lot of calculations may happen on the client. And the server may be written in JavaScript.

comment 1y ago · link · parent

I think you got it wrong. Now is a namespace for functions that retrieve the actual values, such as Now.instant()

comment 2y ago · link · parent

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.

21.

Coding Machines (short story, 2009)(teamten.com ↗)

2 points · by yuchi · 2y ago · 1 comment

comment 2y ago · link · parent

Also have a read of this fabulous short web from 2009: https://www.teamten.com/lawrence/writings/coding-machines/

comment 2y ago · link · parent

“…now it can implement Doom!”

comment 2y ago · link · parent

And only very malformed URNs may be actually valid URLs

comment 2y ago · link · parent

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?

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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

comment 2y ago · link · parent

The UI breaks pretty easily with a “zalgo” amount of diacritics.

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

comment 2y ago · link · parent

By definition, no. Use strict was a subset of JS.

comment 2y ago · link · parent

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
12345
20