HNHacker News
TopNewBestAskShowJobs

h4ch1

906 karma · joined July 31, 2022

i work with typescript and 3d (webgl, webgpu); mostly hacking away on web based realistic rendering & accelerated compute using webgpu.

email: h4chikuku [at] gmail

submissionscomments
h4ch1··on Personal Encyclopedias
I do something similar with my wife; at the start of every year we take around 50 sheets of paper and bind them into a little notebook. The binding cloth we use is usually a combination of clothes that tore, fell into abject disrepair the previous year. She then finds little things (ex: matchbox from a restaurant we visited and loved) and decorates it.

Throughout the year we keep writing in it, things we learnt, discords we had and how we resolved them, recipes I experimented with and we loved, random thoughts; basically anything and everything. And that little diary becomes an embodiment of that year.

I would also like to point out the manual labor and writing into it and not using an obsidian++-AI-auto-categorizer-3000 is simply because it feels like it's worth something, it's a nice little routine we have at the start of every year, and it's really fun reading these from 2-3 years back. Also the kids will have some really interesting reading a few years down the line.

I imagine a future where this becomes a family tradition that transcends time, knowledge from different generations, living different lives all nicely recorded in these codices. Something about this whole thing feels really beautiful to me.

h4ch1··on Ball Pit
TRAA basically works by using a history buffer, for example using the last couple of frames, all jittered a little bit to compute the pixel. There's still ghosting and smearing that can happen though because of this technique, so you have methods to counteract like subpixel correction where u increase temporal alpha when velocity is subpixel, but that can introduce some artifacts as well.

There's also SMAA T2x which the pmndrs team is planning on integrating into their postprocessing package[0]. This cryengine3 slideshow gives a nice overview of antialiasing methods if you're interested: http://iryoku.com/aacourse/downloads/13-Anti-Aliasing-Method...

[0] https://github.com/pmndrs/postprocessing

This paper also provides a decent overview of TRAA: https://fileadmin.cs.lth.se/cs/Education/EDAN35/projects/17C...

h4ch1··on Ball Pit
No, it's using the newish SSGI and TRAA webgpu nodes. The three team has been making great progress with SSGI and webgpu in general and i'd recommend checking it out if you're interested.

There's also a denoise node in three (not used in this example), but SSGI still looks kinda blurry.

Work though is still going on: https://github.com/mrdoob/three.js/issues/31892

h4ch1··on The Electronium – A Cockpit of Dreams
Also more detailed pictures here: https://modularsynthesis.com/electronium/electronium.htm
h4ch1··on TypeScript 6.0
Can't wait for tsgo to be generally available and supported. It's what, at least a quarter or maybe 2 quarters away?

Also here's a discussion I always like reading: Why Go? https://github.com/microsoft/typescript-go/discussions/411

h4ch1··on How We Synchronized Editing for Rec Room's Multiplayer Scripting System
I did a bit of digging after reading this comment and came across its' currently maintained implementation in Clojure by author Klaus Wuestefeld[0] :)

[0] https://github.com/klauswuestefeld/prevayler-clj

h4ch1··on Addfox: A new open-source browser extension framework
I did read that LLM generated paragraph but I was thinking there was some architectural difference/some improvement to existing tooling.

I don't mean to sound too dismissive but just slapping on rsbuild and well formatted errors + llms.txt doesn't seem that useful?

h4ch1··on Addfox: A new open-source browser extension framework
How does this compare to WXT[0]? I recently built a new tab extension[1] which uses quite a few permissions and browser APIs and building for Chrome and Firefox was a non-thought with how seamless compilation and distribution was.

It even separates the built extension code and the source and packages it nicely for firefox's review process.

[0] https://wxt.dev [1] https://chromewebstore.google.com/detail/commander/pgfpnakgi...

h4ch1··on The three pillars of JavaScript bloat
yes! this.
h4ch1··on The three pillars of JavaScript bloat
I remember seeing this one guy who infiltrated some gh org, and then started adding his own packages to their dependencies or something to pad up his resume/star count.

Really escapes me who it was.

h4ch1··on Atuin v18.13 – better search, a PTY proxy, and AI for your shell
what does zellij offer that tmux doesn't?

I love tmux and haven't had a reason to switch for a while, but have heard these new Rust based terminal tooling get really popular.

h4ch1··on Show HN: We built a terminal-only Bluesky / AT Proto client written in Fortran
It's always nice to see production codebases in languages that you've never used but are interested in.

Tangential, but to the author, are there any FORTRAN codebases you feel are well designed?

h4ch1··on Wayland set the Linux Desktop back by 10 years?
I wasn't alive at the time NeXTSTEP was a thing, but I did look at a demo[0] to figure out what you were talking about (i love building/tinkering with window managers); it just looks like a regular old window manager?

Is there something I'm missing/something specific you're talking about?

[0] https://www.youtube.com/watch?v=rf5o5liZxnA

h4ch1··on Death to Scroll Fade
I used to inject a prefers-reduced-motion: true to most websites a few years back when this trend really picked up; and generally have all animations turned off at the OS level and at least on mac that injects reduced motion preference to the browser.

So for example on claude's website I get no animations, pretty good QoL improvement. Now webdevs HONORING prefers-reduced motion, that can vary.

h4ch1··on The 49MB web page
True, these ad heavy cooking sites also dabble extensively in SEOmaxxing their way to the top.
h4ch1··on The 49MB web page
This rubbish also exists disproportionately for recipe pages/cooking websites as well.

You have 20 ads scattered around, an autoplaying video of some random recipe/ad, 2-3 popups to subscribe, buy some affiliated product and then the author's life story and then a story ABOUT the recipe before I am able to see the detailed recipe in the proper format.

It's second nature to open all these websites in reader mode for me atp.

h4ch1··on Palantir Demos Show How the Military Could Use AI Chatbots to Generate War Plans
https://archive.is/28ooM
h4ch1··on Hegseth declares no quarter will be given
Really hope this doesn't mean a ground invasion in the near future.
h4ch1··on Illinois introduces OS-level age verification law
Thanks for putting it into (much better) words haha. It sounds exactly like what I was trying to describe.
h4ch1··on Vite 8.0 Is Out
I've been using rolldown-vite for the past 3-4 months with absolutely no issues on a very large monorepo with SvelteKit, multiple TS services and custom packages.

Just upgraded to 8 with some version bumping. Dev server time reduced to 1.5s from 8s and build reduced to 35s from 2m30. Really really impressed.

h4ch1··on Illinois introduces OS-level age verification law
I can access it fine? The site loads after a quick bot check.
h4ch1··on Illinois introduces OS-level age verification law
I mirror what you're saying but non-gentle parenting along with corporal punishment can take a strong psychological toll on a child (speaking from experience). It took me quite a while to find my voice because I a had not-so-great childhood all in the name of obedience and discipline.

But I also see, the new generation of parents taking gentle parenting to an extreme raising feral iPad kids who call their moms a bitch.

I really don't think there's an optimal framework for proper parenting but a firm hand delivered gently and logically seems to be a good starting point.

h4ch1··on Kotlin creator's new language: talk to LLMs in specs, not English
You can basically condense this entire "language" into a set of markdown rules and use it as a skill in your planning pipeline.

And whatever codespeak offers is like a weird VCS wrapper around this. I can already version and diff my skills, plans properly and following that my LLM generated features should be scoped properly and be worked on in their own branches. This imo will just give rise to a reason for people to make huge 8k-10k line changes in a commit.

h4ch1··on Returning to Rails in 2026
Are we that far gone that "hand coding" is a term now? I hope there's an /s missing
h4ch1··on Zig – Type Resolution Redesign and Language Changes
But why is it so big in the first place?

I was searching around for causes and came across the following issues: https://github.com/ziglang/zig/issues/15358 which was moved to https://codeberg.org/ziglang/zig/issues/30193

The following quotes stand out

> zig's caching system is designed explicitly so that garbage collection could happen in one process simultaneously while the cache is being used by another process.

> I just ran WizTree to find out why my disk was full, and the zig cache for one project alone was like 140 GB.

> not only the .zig-cache directory in my projects, but the global zig cache directory which is caching various dependencies: I'm finding each week I have to clear both caches to prevent run-away disk space

Like what's going on? This doesn't seem normal at all. I also read somewhere that zig stores every version of your binary as well? Can you shed some light on why it works like this in zigland?

h4ch1··on Type resolution redesign, with language changes to taste
I would really like to hear from people using Zig in production/semi-serious applications; where software stability is important.

How's your experience with the constantly changing language? How're your update/rewrite cycles looking like? Are there cases where packages you may use fall behind the language?

I know Bun's using zig to a degree of success, was wondering how the rest were doing.

h4ch1··on Show HN: µJS, a 5KB alternative to Htmx and Turbo with zero dependencies
Glad to hear, good luck with your project!
h4ch1··on Ask HN: Which book are you reading these days?
Catastrophe 1914 - Max Hastings : Great book about what triggered WW1, the state of the world at that time. Just a great read in general.

The Seven Military Classics Of Ancient China : Sun Tzu isn't the only military strategist on the block.

Kaplan and Sadock's Synopsis of Psychiatry: I make sure to study at least one university/high school textbook on any subject that I find interesting.

Also, not reading but watching Professor Jiang Xueqin's lectures [0] has been pivotal towards helping me find new avenues to research and understand geopolitics .

[0] https://www.youtube.com/@PredictiveHistory

h4ch1··on Show HN: VS Code Agent Kanban: Task Management for the AI-Assisted Developer
There's also https://github.com/openai/symphony that's being developed following a similar Kanban pattern based agent manager (though yours is more sophisticated at the moment imo)

Interesting to see the Kanban workflow being adapted to managing agents, makes sense; each item having the same UX as a Github Issue.

h4ch1··on Graphing how the 10k* most common English words define each other
You can look at this as how small sets of a primitive lexicon give rise to a larger, more complex language. At least that's how I interpret it.
← PreviousPage 2 of 10Next →