HNHacker News
TopNewBestAskShowJobs

bk496

23 karma · joined March 16, 2021

submissionscomments
bk496··on I added a Bluesky comment section to my blog
Cool!
bk496··on Memory layout in Zig with formulas
useful!
bk496··on Redis is open source again
cool, does this means it works on Windows now?
bk496··on Office is too slow, so Microsoft is making it load at Windows startup
Can they do this for vscode?
bk496··on Berkeley Humanoid Lite – Open-source robot
A left handed robot!
bk496··on Mark Zuckerberg Says Social Media Is Over
some say it never started
bk496··on Careless People
How abstract is this book? Are there many examples of things that are relevant at meta today, especially on the web and developer front?
bk496··on Shortest-possible walking tour to 81,998 bars in South Korea
Does it account for "pit stops"
bk496··on Shortest-possible walking tour to 81,998 bars in South Korea
Where?
bk496··on Columbia student suspended over interview cheating tool raises $5.3M
Does tech crunch actually report tech stuff or is it all “X raises Y” type posts?
bk496··on Python’s new t-strings
Lowercase f is very visually similar to t. Hopefully no bugs occur from a typo
bk496··on Verus: Verified Rust for low-level systems code
How many of these are there?
bk496··on Defold: cross-platform game engine
How many of these are there?
bk496··on JavaScript Views, the Hard Way – A Pattern for Writing UI
+1 have had multiple bugs arise because the state in the variable was not the same as the UI / DOM. Haven't had any problems a pattern similar to yours.

If you have the edge case of lots of update (assignments to .name) then just wrap the `.name = ...` in a leading debounce.

bk496··on JavaScript Views, the Hard Way – A Pattern for Writing UI
1. Then add the 6 updates to the "setter" function 2. What UI has the same data presented 6 times? Seems unnecessary
bk496··on JSX over the Wire
Another great post!

I like the abstraction of server components but some of my co-workers seem to prefer HTMX (sending HTML rather than JSON) and can't really see any performance benefit from server components.

Maybe OP could clear up - Whether HTML could be sent instead (depending on platform), there is a brief point about not losing state but if your component does not have input elements or can have it state thrown away then maybe raw HTML could work? - prop size vs markup/component size. If you send a component down with a 1:9 dynamic to static content component. Then wouldn't it be better to have the the 90% static preloaded in the client, then only 10% of the data transmitted? Any good heuristic options here? - "It’s easy to make HTML out of JSON, but not the inverse". What is intrinsic about HTML/XML?

--

Also is Dan the only maintainer on the React team who does these kind of posts? do other members write long form. would be interesting to have a second angle.

bk496··on Generate videos in Gemini and Whisk with Veo 2
I wonder what takes more compute power: this or a blender render farm?
bk496··on Googler... ex-Googler
If this was a < 10 employee company it would probably be over. But for Google people will forget about this next week
bk496··on Rust Atomics and Locks (2023)
Why can't they distribute the edition as a PDF?
bk496··on An approach to optimizing TypeScript type checking performance
There is a new type checker called Ezno that is written in Rust and is a lot faster [1].

I have been tracking PRs like [2] that change the definitions to better be optimised by V8. But the effects are only ~30% and not the 50x that might be achievable by native.

[1]: https://github.com/kaleidawave/ezno/actions/runs/10299707325 [2]: https://github.com/microsoft/TypeScript/pull/58928