frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The curious case of retro demo scene graphics

https://www.datagubbe.se/aipixels/
103•zdw•2h ago•17 comments

I use excalidraw to manage my diagrams for my blog

https://blog.lysk.tech/excalidraw-frame-export/
22•mlysk•1h ago•6 comments

ChatGPT won't let you type until Cloudflare reads your React state

https://www.buchodi.com/chatgpt-wont-let-you-type-until-cloudflare-reads-your-react-state-i-decry...
585•alberto-m•11h ago•374 comments

Hamilton-Jacobi-Bellman Equation: Reinforcement Learning and Diffusion Models

https://dani2442.github.io/posts/continuous-rl/
12•sebzuddas•45m ago•1 comments

VHDL's Crown Jewel

https://www.sigasi.com/opinion/jan/vhdls-crown-jewel/
42•cokernel_hacker•3h ago•19 comments

Copilot edited an ad into my PR

https://notes.zachmanson.com/copilot-edited-an-ad-into-my-pr/
429•pavo-etc•4h ago•141 comments

Voyager 1 runs on 69 KB of memory and an 8-track tape recorder

https://techfixated.com/a-1977-time-capsule-voyager-1-runs-on-69-kb-of-memory-and-an-8-track-tape...
513•speckx•16h ago•196 comments

15 Years of Forking

https://www.waterfox.com/blog/15-years-of-forking/
149•MrAlex94•2d ago•20 comments

Coding Agents Could Make Free Software Matter Again

https://www.gjlondon.com/blog/ai-agents-could-make-free-software-matter-again/
161•rogueleaderr•9h ago•154 comments

Philly courts will ban all smart eyeglasses starting next week

https://www.inquirer.com/news/philadelphia/smart-glasses-ai-meta-courts-20260326.html
218•Philadelphia•6h ago•77 comments

C++26 is done: ISO C++ standards meeting Trip Report

https://herbsutter.com/2026/03/29/c26-is-done-trip-report-march-2026-iso-c-standards-meeting-lond...
224•pjmlp•14h ago•183 comments

Douglas Lenat's Automated Mathematician Source Code

https://github.com/white-flame/am
11•hydrolox•4d ago•0 comments

Gonon: Building a Clock with No Numerals

https://tonygaeta.com/perceptor/code/gonon
25•nullpath•3d ago•16 comments

15 years, one server, 8GB RAM and 500k users – how Webminal refuses to die

https://community.webminal.org/t/15-years-one-server-8gb-ram-and-500k-users-how-webminal-refuses-...
61•giis•2h ago•14 comments

Hardware Image Compression

https://www.ludicon.com/castano/blog/2026/03/hardware-image-compression/
17•luu•1d ago•3 comments

Pretext: TypeScript library for multiline text measurement and layout

https://github.com/chenglou/pretext
295•emersonmacro•1d ago•52 comments

I am definitely missing the pre-AI writing era

https://www.lesswrong.com/posts/BJ4pnropWdnzzgeJc/i-am-definitely-missing-the-pre-ai-writing-era
20•joozio•1h ago•3 comments

Midnight train from GA: A view of America from the tracks as airports struggle

https://apnews.com/article/airports-shutdown-long-lines-train-travel-amtrak-e4d8ea591b3b036142c2b...
88•walterbell•12h ago•76 comments

Eclipse GlassFish: This Isn't Your Father's GlassFish

https://foojay.io/today/eclipse-glassfish-this-isnt-your-fathers-glassfish/
15•henk53•4d ago•2 comments

The Cognitive Dark Forest

https://ryelang.org/blog/posts/cognitive-dark-forest/
412•kaycebasques•12h ago•184 comments

HD Audio Driver for Windows 98SE / Me

https://github.com/andrew-hoffman/wdmhda
36•userbinator•3h ago•4 comments

My MacBook keyboard is broken and it's insanely expensive to fix

https://tobiasberg.net/posts/my-macbook-keyboard-is-broken-and-its-insanely-expensive-to-fix/
170•TobiasBerg•13h ago•196 comments

"Roadrunner": a bipedal, wheeled robot for multi-modal locomotion [video]

https://www.youtube.com/watch?v=9kae-UAME1U
25•surprisetalk•4d ago•11 comments

AI and bots have officially taken over the internet

https://www.cnbc.com/2026/03/26/ai-bots-humans-internet.html
18•zaikunzhang•1h ago•28 comments

ninja: a small build system with a focus on speed

https://github.com/ninja-build/ninja
6•tosh•2d ago•1 comments

Interview: Nobonoko, Master of the Minimal Sequencer

https://fi-le.net/nobo/
28•fi-le•2d ago•2 comments

Claude Code runs Git reset –hard origin/main against project repo every 10 mins

https://github.com/anthropics/claude-code/issues/40710
242•mthwsjc_•10h ago•177 comments

The road signs that teach travellers about France

https://www.bbc.com/travel/article/20260327-the-road-signs-that-teach-travellers-about-france
95•1659447091•11h ago•45 comments

About the Atmosphere

https://toni.org/2026/03/27/about-the-atmosphere/
54•Kye•2d ago•9 comments

The RISE RISC-V Runners: free, native RISC-V CI on GitHub

https://riseproject.dev/2026/03/24/announcing-the-rise-risc-v-runners-free-native-risc-v-ci-on-gi...
131•thebeardisred•3d ago•36 comments
Open in hackernews

That fractal that's been up on my wall for years

https://chriskw.xyz/2025/05/21/Fractal/
571•chriskw•10mo ago

Comments

taeric•10mo ago
Holy cow, I was expecting a quick read. Wound up having to skim some, as I need to get some work today. Will be coming back to this to play with some. Really well done!
CBLT•10mo ago
Well written! Would you mind sharing how you came up with the "middle out" numbering system? I can never seem to come up with something this inspired when I'm doing math problems by myself.
chriskw•10mo ago
The post presents it a bit out of order, but it was mostly from realizing at some point that the way the fractal grows by a factor of 5, base 5 number systems, and the "spiral" mentioned in the post can all fit together. I also thought a lot about how to programmatically draw the fractal and a natural way would be to start from the middle and zoom out.

There's an apocryphal story about Richard Feynman about how he used to keep a dozen or so random problems in the back of his mind and made a little bit of progress on them every time he saw a connection, until finally he'd solve one and everyone would think he magically figured it out instantly. This was a bit similar except I'm not nearly at that level and I've only been able to do that for one problem instead of a dozen.

leni536•10mo ago
Got a bit nerd-sniped by this and came up with an L-system that fills out (I think) "the wallflower":

https://onlinetools.com/math/l-system-generator?draw=AB&skip...

edit: On second thought, this probably generates the other fractal, but I'm not sure.

leni536•10mo ago
Found a space-filling curve for the wallflower:

https://onlinetools.com/math/l-system-generator?draw=ABCD&sk...

The previous one fills out the Koch island.

chriskw•10mo ago
That's really cool! I tried to get something to work last week on pen and paper but couldn't get anything to stick. Is there a strategy you used or did you just go by feel?

Edit: just noticed how you encoded a flip (AB <--> CD) between iterations like how the matrix flips the orientation of space. Super neat!

leni536•10mo ago
> noticed how you encoded a flip (AB <--> CD)

Exactly! There is also a less obvious relationship between A and B too: B is a A "backwards" (A rotated 180°, starting the curve from the opposite end).

The strategy was to put 5 lines on the plus sign on the sides of the 5 cells, with the idea that each line eventually fills out a neighboring cell in subsequent iterations. I found one such path that had a chance of working. Not sure if this makes sense.

entropicdrifter•10mo ago
Kinda looks like a propeller
shermantanktop•10mo ago
Things with four arms that all curve the same way unfortunately tend to look swastika-ish.
leni536•10mo ago
The the arms of the author's "wallflower" fractal don't seem to curve, as opposed to the other, similar fractal (quadratic von Koch island). Which can be explained by each iteration adding a mirroring.
winnit•10mo ago
The unfortunate thing here is that the swastika was appropriated by a genocidal regime. The symbol still has a totally different life in India and Japan.
bdamm•10mo ago
That was fun.
nico•10mo ago
Amazing insightful and thoughtful write up, thank you!

Loved the 3d visualizations

It reminds me of this thing I built some time ago while playing with recursive decimation to generate effects similar to fractals from any image

You can play with it here: https://jsfiddle.net/nicobrenner/a1t869qf/

Just press Blursort 2x2 a couple of times to generate a few frames and then click Animate

You can also copy/paste images into it

There’s no backend, it all just runs on the browser

Don’t recommend it on mobile

Iwan-Zotow•10mo ago
Curious if it would work in 3D
nico•10mo ago
Very interesting! I wonder what that would look like

Right now, roughly, the algorithm recursively divides the image by doing decimation (ie. picking every other pixel), and keeps the decimated pixels as a second image

Not sure how that algorithm would apply to a 3d data structure

Do you know how 3d objects/images are usually represented?

It would be cool to recursively decompose a 3d object into smaller versions of itself :)

Scene_Cast2•10mo ago
I wonder if something similar can be applied to get a dither pattern with built-in level of detail adjustment.
cess11•10mo ago
Nice writeup. The Heighway dragon of Jurassic Park fame is pretty neat too.

https://en.m.wikipedia.org/wiki/Dragon_curve

CliffStoll•10mo ago
Outstanding work and a delightful read.
chriskw•10mo ago
Thanks Cliff, it means a ton coming from you! The videos from you and all the other folks on Numberphile always inspired me to see the beauty in math growing up :)
speeder•10mo ago
Please you two, make an awesome YouTube vídeo out of this. It is fascinating and beatiful and deserves a chance to viralize a little :)
sakesun•10mo ago
Wow
tcshit•10mo ago
Nice writeup! I was hoping to see a photo of the fractal on your wall.. Nice link to Knuth video that I somehow have missed.
leephillips•10mo ago
Isn’t that it on the left in the last image?
tcshit•10mo ago
Yeah, maybe it is. It would be cool to make it much bigger, frame it and put it on the wall. Or create a mosaic tiled artwork, similar to Knuth’s dragon curve wall.
chriskw•10mo ago
Yeah, it's in the last image and in the thumbnail at very top (which I realize now is really hard to spot on mobile), intentionally not in the spotlight to leave space for the twist at the end.

https://chriskw.xyz/images/fractal/thumbnail.jpg

I think it would work perfectly as a mosaic eventually, but for the time being I'm perfectly content with the "rustic" 8x11 graph paper sized one taped to the wall. Currently planning to put up a slice of the orthotopeflower as a companion piece once I find matches for the colored pencils I used back then.

matt3210•10mo ago
Now make a tiling game engine that uses these!
Cogito•10mo ago
Thought I'd check the arithmetic for 2 two-digit numbers, and it works!

I expect 41+14 to be 12 (two right plus two up equals two right and two up).

Long addition in long form below uses:

'=' to show equivalent lines (reordering of terms (1+2=2+1), spliting numbers (41=40+1), adding single digits (1+4=22))

'->' for when the algorithm gives a digit

'<' for when we move over a column

    41+14
    = (40+1)+(10+4)
    = 40 + 10 + (1+4)
    = 40 + 10 + 22
    -> 1s digit = 2
    < 4 + 1 + 2
    = 22 + 2
    = 20 + 2 + 2
    = 20 + 41
    -> 10s digit = 1
    < 2 + 4
    = 0
    -> done
    == 12
[edit] Just noticed the article has two different numbering systems, one where 10, 20, 30, 40 are clockwise and one where they are anticlockwise. In both, 1, 2, 3, 4 are clockwise. My addition is on the second, where 10s are anticlockwise (this is what is used in the addition table).

It still works in the alternative system (14+21 should equal 12)

    14+21
    =10+20+42
    ->2
    <1+2+4
    =13+4
    =10+3+4
    =10+31
    ->1
    <1+3
    =0
    ==12
cies•10mo ago
I had this one up the wall (giant print) at a place I worked:

https://raw.githubusercontent.com/cies/haskell-fractal/refs/... [17MB, sorry Github]

It contains the Haskell code that produced it: https://github.com/cies/haskell-fractal

Especially the `sharpen` function was interesting to come up with (I used some now-offline tool to do curve fitting for me): https://github.com/cies/haskell-fractal/blob/master/fractal....

Fun little project. :)

baq•10mo ago
This went much deeper and harder than expected. One has to admire the dedication.

Question to the author: what would you recommend to hang on my kid’s wall today?

chriskw•10mo ago
I'm by no means a parenting expert, but my answer would be anything related to something they feel passion or wonder for in the moment. I snuck in a paragraph near the end about burnout. At the root of the problem for me was that I lost the feeling of fascination and curiosity I had for math and programming, and doing this write-up helped me tap into that feeling of childlike wonder that used to come easily.
Tade0•10mo ago
> Deciding to delegate to a future version of me that knows more math

Relatable. Huge part of my decision on what degree to pursue was a list of problems (mostly linear algebra) I needed to solve, but didn't have the guidance (and internet connection) to.

867-5309•10mo ago
well, that escalated beautifully
kragen•10mo ago
This is beautiful. Thank you.
mathfailure•10mo ago
Too much math.
wistlo•10mo ago
This is so much better than reading the news.

Favorited—I'll be coming back to absorb more, as my aging semi-fluency in engineering physics and SQL doesn't help much with the notation I last saw in the 1980s.

mckeed•10mo ago
Fun post! I drew the first 5 iterations by hand myself and I'm finding it easiest to think of as a self-similar coloring of a square tesselation.

If you start with the shape of iteration 3, it tessellates as a 5x5 square tile. Make an infinite grid of those tile shapes with one iteration 3 version in the center. Treat that center tile as the center square in the iteration 3 pattern and color the tiles around it according to how the 2nd and 3rd iterations were built of squares. This gives you the 4th and 5th iteration and you can continue to iterate on the coloring outwards to color the grid of tiles in the wallflower pattern.

mbty•10mo ago
Really cool and in-depth, thank you!

I believe that there is a typo in the pattern formula (right after "Looking closely you might pick up on the pattern"): it should read

  5**(n/2) instead of 5**n
  5**((n-1)/2) instead of 5**(n-1)
(\overrightarrow{10*4} is [0, 25] but your original formula gives [0, 625])

Also, regarding Knuth's mistake: Youtube comments point out that his fractal is in fact correct; he just mistook the beginning point with the end point. Loosely speaking, the fractal is symmetrical about its middle turn, which is precisely the one Knuth believed to be incorrect. All in all, he still made a fractal-related mistake, so the conclusion holds.

chriskw•10mo ago
Good catch, corrected the formula!