HackerTrans
TopNewTrendsCommentsPastAskShowJobs

samwho

no profile record

Submissions

Quantization from the Ground Up

ngrok.com
351 points·by samwho·4 เดือนที่ผ่านมา·59 comments

Don't blunder: better chess puzzles

blunder.clinic
3 points·by samwho·4 เดือนที่ผ่านมา·2 comments

Calculating the shortest path using just CSS

css-tip.com
1 points·by samwho·5 เดือนที่ผ่านมา·0 comments

What those AI benchmark numbers mean

ngrok.com
5 points·by samwho·5 เดือนที่ผ่านมา·1 comments

Graph of All Human Languages

dr.eamer.dev
4 points·by samwho·6 เดือนที่ผ่านมา·2 comments

Prompt caching for cheaper LLM tokens

ngrok.com
306 points·by samwho·7 เดือนที่ผ่านมา·72 comments

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

github.com
4 points·by samwho·7 เดือนที่ผ่านมา·0 comments

“Are you the one?” is free money

blog.owenlacey.dev
481 points·by samwho·7 เดือนที่ผ่านมา·115 comments

Why ports <1024 are privileged and require root

utcc.utoronto.ca
13 points·by samwho·9 เดือนที่ผ่านมา·0 comments

comments

samwho
·10 วันที่ผ่านมา·discuss
I gave my boss every opportunity to stop me.
samwho
·10 วันที่ผ่านมา·discuss
Single browser.
samwho
·10 วันที่ผ่านมา·discuss
I learned that etcd wasn’t required while making webernetes! I’d always thought it was, was cool to learn some clusters use other storage backends.
samwho
·10 วันที่ผ่านมา·discuss
Completely agree! Wasn’t trying to discourage, hope it doesn’t have that effect.
samwho
·10 วันที่ผ่านมา·discuss
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.
samwho
·10 วันที่ผ่านมา·discuss
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.
samwho
·10 วันที่ผ่านมา·discuss
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.
samwho
·10 วันที่ผ่านมา·discuss
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.
samwho
·10 วันที่ผ่านมา·discuss
I have some potentially bad news for you:

https://samwho.dev/load-balancing https://encore.dev/blog/queueing
samwho
·10 วันที่ผ่านมา·discuss
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.
samwho
·10 วันที่ผ่านมา·discuss
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!
samwho
·10 วันที่ผ่านมา·discuss
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.
samwho
·2 เดือนที่ผ่านมา·discuss
Looking really good! Great work.
samwho
·4 เดือนที่ผ่านมา·discuss
You’re welcome! Thanks so much for the kind words.
samwho
·4 เดือนที่ผ่านมา·discuss
Thank you!
samwho
·4 เดือนที่ผ่านมา·discuss
“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.
samwho
·4 เดือนที่ผ่านมา·discuss
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.
samwho
·4 เดือนที่ผ่านมา·discuss
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.
samwho
·4 เดือนที่ผ่านมา·discuss
Thanks for linking to my silly little quiz in the article! :)
samwho
·5 เดือนที่ผ่านมา·discuss
I wrote a tool called llmwalk (https://github.com/samwho/llmwalk) that’ll deterministically show you the likelihood the top N answers are for a given open model and prompt. No help on frontier models, but maybe helpful if you want to run a similar analysis more quickly on open models!