hellowww retweeted
Prompt of the day (a long one):
Take a look at every code comment in <my codebase | this section of the code>.
Categorise each comment as:
- Tautology: simply repeats what is already visible from the code
- Excuse: many comments allow the agent to get away with a hacky implementation, which then gets propagated through the code
- Stale: references code or implementation information that is no longer relevant
- Decision Record: documents an important, non-obvious decision about the code
For each comment, take this action:
- Tautology/Stale: delete the comment
- Excuse: delete the comment and file an issue to fix the hacky implementation
- Decision Record: move it into an ADR
Once this is done:
- Create a lint rule banning comments for <my codebase | this section of the code>
- Take a ratchet approach, assuming not all comments will be deleted this PR
- Create a /delete-comment skill in this repository so we can repeat this process later
- Estimate for me how many lines of code we'll shed by deleting all comments
---
I'm sold - comments considered harmful
hellowww retweeted
4 great reads if you want to learn more about decode in llms from first principles
1. kipply's transformer inference arithmetic
kipp.ly/transformer-inferenc…
2. flash-decoding (tri dao and co)
crfm.stanford.edu/2023/10/12…
3. pytorch's gpt-fast writeup
pytorch.org/blog/acceleratin…
4. the speculative decoding paper
arxiv.org/abs/2211.17192
hellowww retweeted
I've been doing research on the Dreamcast's PVR and found a solution to introduce subsurface scattering--or at least something that looks exactly like it. Here is a real hardware capture on Sega Dreamcast. Despite being a fixed-function GPU, there is a LOT more you can do with it than you think.
I've worked in visual effects for film and TV for almost 9 years now, so when I started thinking of the PowerVR chip as a supercharged compositing and layering suite (not unlike a living Photoshop), I started to get some real workhorse out of it.
Every wave, colour and reflection is computed on the console: rolling swells that move the actual geometry, fine ripples catching the light, a sky gradient fading into horizon fog, the sun reflected across the water, and wave crests that shadow the water behind them.
How it works:
The SH4 CPU builds the water every frame. Four sine swells, each travelling in its own direction, displace the water mesh. Three shorter waves only bend the surface normals, so you get fine ripple detail without adding triangles. Slopes come straight from the wave formulas, so neighbouring heights never need recalculating. Mesh rows are spaced evenly in screen depth rather than world distance, which puts detail where you can actually see it. Far away, ripples too small for the mesh to resolve fade out instead of shimmering. A small heightfield pass then checks which crests block the low sun and shades the water behind them. All of the maths goes through SH4ZAM, a maths library built around the SH-4's vector and fast-reciprocal instructions built by @falco_girgis.
I also had contributed by having Fable 5.2 Max Ultracode ("Lord SH4ZAM" as I call him) create additional SH4ZAM routines in a layered approach to find approaches to maths that Falco hasn't implemented yet:
1. shz_dce_project_vertices: a fast fused vertex routine where every row of the water's roughly 11,700 vertices goes through, with transform and screen projection in one pass.
2. shz_dce_vec3_normalize_safe: turns the view and sky directions into unit length.
The PowerVR2 GPU handles the look. The whole upper sky lives in one 512×512 texture, and each vertex's bent normal decides where the water reads from it. That means the sun's reflection streak forms out of the waves themselves rather than being painted on. A Fresnel term sets how much the water reflects versus shows its own colour: the PVR multiplies the sky texture by vertex colour for the reflection, then adds its "offset" colour for the deep-water tint and the light glowing through thin crests. The PVR's built-in fog table blends far water into the exact horizon colour between 55 m and 520 m, at no cost. The sky gradient is dithered when it's generated, so 16-bit colour doesn't band.
Where this could go:
Ocean and lake surfaces for racing, sailing, flight or island games, and big outdoor horizons, all at almost no disc space since the scene is generated. The crest-shadow trick works for terrain too, with hills shadowing valleys from a low sun. Building reflections from bent normals is a cheap way to fake environment reflections on fixed-function hardware.... but you will need to scope down the effects. Obviously, you would not run the water as heavy as I did (turn off SH4DOW-DC or limit its range), but I am pretty pleased with this result.
I pushed this to the limit for demonstration purposes to show what our little white console can do.
Sooner or later, people will learn that semiconductor is a really complex business and small mistakes could mean bankruptcy.
Replying to @ChShersh
The AI bros are so delusional that they believe someone with balls made of antimatter and absurd amount of charisma is not needed in semiconductor industry because they think that Earth is Minecraft Creative and all you need to do is just pump enough money and scale to infinity
38
Not quick explanation, but clear and comprehensive explanation about this kind of stuff: jax-ml.github.io/scaling-boo…
It is a really useful resource, even if you are not working on TPU
1
60
hellowww retweeted
We're proud to announce the launch of CS Learn, a new online learning platform that offers free access to select courses from Carnegie Mellon University’s top-ranked computer science program.
Check out the course offerings: bit.ly/4C4770z
hellowww retweeted
I just found an amazing website.
Run verilog codes in a FPGA without having one.
This is softFPGA - Synthesis, Place and Route and verify waveform. Everything inside a browser.
It also shows no. of LUTs utilized and you can even look at the schematic.
what else you need!!
hellowww retweeted
همه واسه بحث distributed systems کتاب DDIA رو پبشنهاد میدن ولی به نظرم کتاب زیر انتخاب بهتری هست. البته تمرکزش روی خود الگوریتم ها و پیاده سازی اونهاست (ریاضی و کد)
not that impressive, but it definite way above my knowledge.
teapaw.org/Temporary111x/status/2…
i found the optimal first interview question, difficulty: impossible
tell me about one concrete action in your career, in a way where I can understand why it is impressive given what you knew at the time. use as few words as possible
30
hellowww retweeted
MSVC is a disgrace among compilers. stackoverflow.com/a/78101462…
hellowww retweeted
Thrilled to share a big milestone from our AI & Infrastructure team at @Google.
Today we’re expanding our 8th generation TPU portfolio with:
• TPU 8i Max: Built for massive context windows and the highest compute density per rack
• TPU 8tx: Purpose-built for secure, confidential inference
This marks the first time we’ve introduced four distinct TPU systems in a single generation, in one year.
For developers, hardware is only as good as the software stack. And we want you to be able to build with TPUs as easily and efficiently as we do at Google. You can now:
↳ Run native PyTorch & Hugging Face models via TorchTPU (zero code rewrites)
↳ Cut KV transfer latency >90% with open-source TPU Sync
↳ Eliminate idle compute waste with Agent Compute Engine
Read more about our newest TPUs on our blog: bit.ly/3VfETPR
I look forward to connecting with builders, researchers, engineers and organizations pushing the boundaries of AI and computing!
Open-source VLSI design lectures and practical exercises developed by the Integrated Systems Laboratory at ETH Zurich.
vlsi.ethz.ch/
The curriculum leans heavily on an open-source EDA tool ecosystem. Utilizing a fully open-source EDA design flow in conjunction with IHP's open-source PDK.
github.com/IHP-GmbH/IHP-Open…
hellowww retweeted
I remade my website:
sebastianaaltonen.com
Includes full publication list with links to slides/talks, github projects and my blog.
SquareSpace is gone. It’s a custom static page generator now. Faster and better.
I've already realized this, and I've been reading a lot lately. Maybe I should start writing too.
We're about to enter a period where not reading or writing becomes as ubiquitous as smoking once was. We can hope people will eventually realize this is bad for them, as they did with smoking. But this is far from certain; the cost may not be as obvious.
5
153
hellowww retweeted
Frontier labs making custom chips is not really as hard / as impressive as you might think.
1. They are primarily targeting inference not training. inference is easier
2. They are targeting transformers only. Think large MXU matmul units
3. They are writing all kernels in close to ISA with coding agents RLed for their ISA.
4. They aren’t making high level compilers for codegen
A frontier lab vending a true generic chip like a Nvidia GPU or Google TPU is MUCH harder than spinning up an in house inference program.
Still I think you will see many more inference chip companies as the cost of the software is just the cost of tokens.
hellowww retweeted
It's easy to make inference benchmarks look impressive with random inputs and idealized expert routing. The harder part is making those numbers hold up on real workloads.
Our DeepSeek-V4.1-Flash benchmarks use real input distributions, realistic expert routing, and the same serving configurations validated on @SemiAnalysis_ AgentX.
Fun fact: our results have been online since Oct. 20, even before DeepInfer's release. And we'll deliver even more speedups!
Synthetic benchmarks have their place, but let's be clear about what they actually measure. Check out our blog for the full optimization story and benchmarking methodology!
Replying to @vllm_project
Scaled out with P/D disaggregation and Wide-EP on a GB300 NVL72 rack, vLLM serves V4.1-Flash on SemiAnalysis AgentX at 954K tokens/s per GPU with 196 tokens/s P90 per user, 7.9× our single-node result.
Our engineering blog covers the work behind it: vllm.ai/blog/2026-10-23-deep…



















































