Better HN
topnewbestaskshowjobs
Log inSign up

mkeeter

7,304 karma · joined Dec 12, 2014 (11y ago) · 323 submissions

Electrical engineering and DIY CAD/CAM

https://mattkeeter.com

Submissions

1.

An O(N) implicit representation for the Koch Snowflake(mattkeeter.com ↗)

1 points · by mkeeter · 7h ago · discuss

2.

Goodbye from Salon(salon.com ↗)

660 points · by mkeeter · 2w ago · 275 comments

comment 2w ago · link · parent

They are all part of the same broad "research program" and implement similar algorithms, but don't share any code with libfive (that would be hard, given the language change!).

The Rust code is being used by a few people other than me, but is not especially stable – one of the goals is to find the "right APIs", so I'm not shy about breaking things as I find better abstractions. Meshing is also not quite as polished as libfive, because I haven't yet found an algorithm that meets all my requirements, and have spent less time papering over issues in the chosen algorithm (manifold dual contouring).

comment 3w ago · link · parent

Thank you for the kind words!

Raymarching is great, and I love the work being done by the demoscene / Inigo Quilez / etc! I don't talk about it as much because my libraries usually have slightly different goals.

Most common raymarching strategies put limitations on your function, e.g. you need Lipschitz continuity to guarantee that you don't hit the model when doing ray steps. This property are pretty easy to break by accident (e.g. just scaling the model requires a correction factor), so you have to be careful with how you bend and twist the underlying math expression. If you're doing a single demo (or have a known library of good shapes), you can get away with it, but there's less flexibility.

The goal of my infrastructure is to support basically any math expression, no matter how poorly-behaved (although I really would appreciate C0 continuity), so I like the guarantees [1] of interval arithmetic.

That being said, the boundary is fuzzy. On one side, you can do raytracing with interval math [2], instead of point samples. From the other side, my more recent GPU rendering uses Z-sorting of spatial regions, so still using 3D intervals but walking them from the camera backwards (no blog post yet, sorry).

[1] Fidget doesn't actually change FPU rounding modes, so it's not absolutely guaranteed, but ehhhhhhh

[2] https://arxiv.org/abs/2202.02444

comment 3w ago · link · parent

Lots of stuff – my favorite part about implicit surfaces is that they're a microcosm of CS as a whole, so there's a huge number of directions to explore.

libfive [1] was the follow-up kernel, written in C++, with a big emphasis on fast evaluation and robust meshing. It's also in maintenance mode, but was shipped in a handful of commercial CAD tools.

In 2020, I wrote a SIGGRAPH paper [2] about doing implicit surface rendering on the GPU. This was a fun and exciting experience! This used libfive for the frontend, then did all of the compute-heavy rendering work on the GPU.

I then got tired of dealing with C++ and rewrote everything in Rust, which is what I've been using ever since: Fidget [3] is the new kernel and Halfspace [4] is the new IDE. This is what I'm actively working on – the Halfspace blog post just went up a few weeks ago, and I've been implementing / improving a GPU rendering backend in Fidget (with a backlog of several more blog posts).

In between, I nerd-sniped a bunch of people into writing their own f-rep evaluation engines [5] and gave a talk about the whole "independent research" thing [6].

[1] https://libfive.com

[2] https://www.mattkeeter.com/projects/siggraph/

[3] https://www.mattkeeter.com/projects/fidget/

[4] https://www.mattkeeter.com/projects/halfspace/

[5] https://www.mattkeeter.com/projects/prospero/

[6] https://www.youtube.com/watch?v=UxGxsGnbyJ4

comment 3w ago · link · parent

This could use a (2015) label :)

I've been tapering off maintenance since 2016 or so, but it has a more actively-maintained fork over at https://github.com/nsfm/stibium (albeit with heavy LLM assistance, because it's 2026!)

YMMV – I haven't used it or closely inspected the changes, but have corresponded with the author, who seems genuinely dedicated in the success of the project.

comment 1mo ago · link · parent

Quote the original OpenAI prospectus, “it would be wise to view an investment in OpenAI Global, LLC in the spirit of a donation”.

comment 1mo ago · link · parent

Nice, I'll keep an eye on that!

Right now, I'm targeting everything (native / Firefox / Chrome / Safari), so minimizing use of extensions; this also means I get to run head-long into fun cross-platform behavior differences [1][2][3]

[1] https://github.com/gfx-rs/wgpu/issues/8785

[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1870699

[3] https://github.com/mkeeter/halfspace/issues/1#issuecomment-3...

9.

Halfspace is an IDE for solid modeling with distance fields(mattkeeter.com ↗)

2 points · by mkeeter · 1mo ago · discuss

10.

Matt Mullenweg tells Automattic staff in Slack he's back in control after ouster(techcrunch.com ↗)

149 points · by mkeeter · 2mo ago · 146 comments

11.

My new favourite habit tracker is vibecoded and I don't know what to do about it(rosswintle.uk ↗)

2 points · by mkeeter · 2mo ago · 1 comment

12.

My So-Called Alpha School(buildcognitiveresonance.substack.com ↗)

6 points · by mkeeter · 2mo ago · 1 comment

13.

The elementary school pickup incident and the road ahead(shitposting.ai ↗)

24 points · by mkeeter · 2mo ago · 9 comments

comment 2mo ago · link · parent

For the curious, this is technically possible in Rust using a dynamically sized type [1], but in practice is difficult and doesn't really play nice with the rest of the language. The nomicon entry concludes with "Yes, custom DSTs are a largely half-baked feature for now." [2]

[1] https://doc.rust-lang.org/reference/dynamically-sized-types....

[2] https://doc.rust-lang.org/nomicon/exotic-sizes.html

comment 3mo ago · link · parent

Probably because this is a post about Zig’s threaded IO, and complaints about Rust syntax is two conversational leaps away from that subject!

comment 3mo ago · link · parent

Another fun failure mode in the same vein: if you are emulating an NVMe device and declare that a write operation is successful once bytes are in memory, you will quickly find yourself buffering arbitrarily large amounts of data as "persist to disk" (SSD speed) falls behind "acknowledge writes" (RAM speed). If you do not add backpressure to your system intentionally, it will be added for you – and you may not like where it's placed!

(This also happens at the SSD level: burst writes can be very fast as data is buffered in the SSD's own RAM, then performance steady-states at the true write speed once that's saturated)

comment 3mo ago · link · parent

Flowise was acquired by Workday in August 2025 [1].

At the time, they posted "Flowise isn’t going anywhere, we’re doubling down. In fact, we’re only just getting started!" [2]

I wonder if "keep the platform running for >= 1 year post-acquisition" was part of the terms! Ah well, another one for Our Incredible Journey [3]...

[1] https://newsroom.workday.com/2025-08-14-Workday-Acquires-Flo...

[2] https://www.linkedin.com/posts/flowiseai_were-thrilled-to-sh...

[3] https://ourincrediblejourney.tumblr.com/

comment 4mo ago · link · parent

> This is a clean separation, and clean separations are worth noticing. They tend to be load-bearing.

oh hi Claude

19.

What Bun Can Tell Us About AI, Open Source and Anthropic(redmonk.com ↗)

2 points · by mkeeter · 5mo ago · discuss

comment 6mo ago · link · parent

Does one also get dopamine from using LLMs to write comments on Hacker News?

comment 6mo ago · link · parent

A repository search shows 2.2K repos with the text "A Mini Shai-Hulud has Appeared", all created within the past day:

https://github.com/search?q=A%20Mini%20Shai-Hulud%20has%20Ap...

22.

GitHub Is Having Issues(githubstatus.com ↗)

7 points · by mkeeter · 7mo ago · 2 comments

comment 7mo ago · link · parent

Cryptic Titles Are All You Need

24.

A compelling title that is cryptic enough to get you to take action on it(ericwbailey.website ↗)

4 points · by mkeeter · 7mo ago · 2 comments

comment 7mo ago · link · parent

Fair enough, I accept "the blog post was written by someone from the 1800s" as an alternative hypothesis.

edit: For what it's worth, I also just tested the Gettysburg Address (using the "Bliss Copy" from [1]), and got a "100% Human" score.

[1] https://www.abrahamlincolnonline.org/lincoln/speeches/gettys...

comment 7mo ago · link · parent

The review is also heavily LLM-inflected, to the point of being distracting.

GPTZero gives it a 100% chance of being AI generated, and I've found that these tools may give false negatives from a well-prompted model, but false positives are rare.

If you are looking to tune your intuition for AI-written text, here's an interesting list of their quirks (ironically provided as a Claude skill for removing those quirks from emitted text):

https://github.com/stephenturner/skill-deslop/blob/main/refe...

comment 8mo ago · link · parent

The "Intermediate Report" [1] lists the authors as "Robert V. and Claude (Anthropic)". Is there any reason to believe this is not AI hallucinations?

[1] https://stateofutopia.com/papers/2/intermediate-report.pdf

comment 8mo ago · link · parent

Congrats!

(We had one back in December; you’re in for a fun ride!)

comment 8mo ago · link · parent

They certainly have ambitions – the most recent changelog claims to add "Full PCB design pipeline: schematic capture, routing, DRC, Gerber export, and signal integrity simulation."

It also seems to have a physics engine, a slicer for 3D printing, an embroidery mode, and a entire ecosystem of math crates (https://tang.toys/).

Whether any of that works – or whether it's pure LLM slop – is less clear. I tried to import a trivial STEP file, and it crashed my browser tab [1]. Every commit is co-authored by Claude.

[1] https://github.com/ecto/vcad/issues/7

12345
11