HN user

samwho

1,458 karma

I write interactive visualisations of programming topics at https://samwho.dev

Posts42
Comments278
View on HN
ngrok.com 3mo ago

Quantization from the Ground Up

samwho
351pts59
blunder.clinic 4mo ago

Don't blunder: better chess puzzles

samwho
3pts2
css-tip.com 5mo ago

Calculating the shortest path using just CSS

samwho
1pts0
ngrok.com 5mo ago

What those AI benchmark numbers mean

samwho
5pts1
dr.eamer.dev 6mo ago

Graph of All Human Languages

samwho
4pts2
ngrok.com 7mo ago

Prompt caching for cheaper LLM tokens

samwho
306pts72
github.com 7mo ago

Show HN: Llmwalk – explore the answer-space of open LLMs

samwho
4pts0
blog.owenlacey.dev 7mo ago

“Are you the one?” is free money

samwho
481pts115
utcc.utoronto.ca 9mo ago

Why ports <1024 are privileged and require root

samwho
13pts0
samwho.dev 11mo ago

A visual introduction to big O notation

samwho
691pts193
e-mail.wtf 11mo ago

"Email is Easy" email address quiz

samwho
47pts33
nik.digital 1y ago

Tab Roving – focus management for element groups

samwho
15pts0
pudding.cool 1y ago

The Birthday Effect

samwho
7pts1
getreuer.info 1y ago

Autocorrect in Your Keyboard Firmware (2021)

samwho
40pts30
ryuuta.net 1y ago

Diagnosing an Unusual WiFi Issue

samwho
5pts0
getreuer.info 1y ago

Autocorrect in Your Keyboard Firmware (2021)

samwho
3pts3
github.com 1y ago

Show HN: Everycron – Every cron expression in a single enum

samwho
2pts0
amasad.me 2y ago

Implementing Bret Victor's Learnable Programming (2014)

samwho
3pts0
www.shrugguy.com 2y ago

Shrugguy.com

samwho
2pts0
blog.maximeheckel.com 2y ago

Moebius-style post-processing and other stylized shaders

samwho
2pts0
www.brendangregg.com 2y ago

eBPF Documentary

samwho
4pts0
bounce.doctor 2y ago

Bounce Doctor: diagnose common email deliverability problems

samwho
1pts0
samwho.dev 2y ago

A visual, interactive guide to bloom filters

samwho
5pts0
astral.sh 2y ago

Uv: Python packaging in Rust

samwho
647pts210
typing.readthedocs.io 2y ago

Reasons to avoid static type checking in Python

samwho
47pts57
blog.maximeheckel.com 2y ago

Shining a Light on Caustics with Shaders and React Three Fiber

samwho
2pts0
budibase.com 2y ago

Budibase CouchDB data loss incident report

samwho
7pts0
ishadeed.com 2y ago

Designing Better Target Sizes

samwho
1pts0
ellie.wtf 2y ago

I quit my job to work full time on my open source project

samwho
7pts2
ductile.systems 2y ago

Better Git Conflicts with Zdiff3

samwho
1pts0

Thank you!

To address the earlier comment: I didn’t go down the “implement the OS-level stuff required to get k8s to compile to wasm” path due to bundle size, honestly and truly. My testing indicated it could be over 10Mb, and I didn’t want that if I could avoid it. Turns out, I could avoid it.

Whether it’s a bad idea remains to be seen. It could be! The project will never have full parity with k8s, and as k8s moves forward I probably won’t keep up. But I think the core of k8s is stable enough that that’s okay, and I can make great content about the bits that don’t change.

I’d guess that about 90% of the webernetes code is ported directly from the Kubernetes codebase. In that sense it is a port of Kubernetes to the browser. But the CRI and CNI are facsimiles created to work in the browser and for the purpose of making educational content.

The thing I think is most misleading about the title is that I haven’t ported _all_ of Kubernetes. It’s just the slice I needed. I’m hoping to gradually port more of it, though.

I’m 100% confident it would be possible to do a worker-per-pod runtime. If you’re serious about trying to make it then slide into my DMs, would love to talk about it. I also think a CRI that supports WASM would be fairly easy.

Volumes are one of those things that I’m quite sure won’t be that difficult to implement but I don’t have a need for them in the near future, so likely won’t support them for a good while.

This is it. If you’re building something novel, and you want to rely on LLMs, you need to invest heavily in making tests. You don’t have the luxury of a reference implementation like I did here.

For some projects I think only reading the tests is probably fine. In this project I didn’t think it was enough purely because it’s a port of existing code, so there was a need to validate the port was as exact as it could be.

Many projects would be just fine if you created a comprehensive-enough set of tests that you understood to be enough.

Web workers were on my mind from the start but I never found myself needing them. They were always my ace-in-the-hole if this ended up being too CPU hungry on the main thread but it never happened, so I didn’t bother.

One of the fun things is it shouldn’t be too difficult to create a new RuntimeService that uses web workers and slots in alongside my existing CRI. I’d love a PR along those lines!

Sadly Katacoda got paywalled (totally get why they did it, these things have costs). I think some other similar platforms disappeared because they ran out of people willing to fund it. It’s a shame.

I’m hoping this offers an alternative. It has the risk of becoming out of date with reality, but at least even in that case the core should ~always be relevant.

“Zero point” is how I saw it referred to in the literature, so that’s what I went with. I personally prefer to think of it as an offset, but I try to stick with terms folks are likely to see in the wild.

Definitely could be, but in the time I spent talking to the 4-bit models in comparison to the 16-bit original it seemed surprisingly capable still. I do recommend benchmarking quantized models at the specific tasks you care about.

Thank you! I was really surprised how robust models are to losing information. It seems wrong that they can be compressed so much and still function at all, never mind function quite closely to the original size.

Think we're only going to keep seeing more progress in this area on the research side, too.

I love this, the end result looks so good.

Something you don’t really mention in the post is why do this? Do you have an end goal or utility in mind for the book shelf? Is it literally just to track ownership? What do you do with that information?

Thank you! <3

These are all built with React and CSS animations (or the Web Animations API where I needed it). I’m not very good at React so the code is a real mess. 2 of the components also use threejs for the 3D bits.

For the stuff on my personal site, which simonw graciously linked to in another reply, you can see all the code behind my work at https://github.com/samwho/visualisations