frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
377•klaussilveira•4h ago•81 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
742•xnx•10h ago•456 comments

Monty: A minimal, secure Python interpreter written in Rust for use by AI

https://github.com/pydantic/monty
112•dmpetrov•5h ago•49 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
132•isitcontent•5h ago•13 comments

Show HN: I spent 4 years building a UI design tool with only the features I use

https://vecti.com
234•vecti•7h ago•112 comments

Dark Alley Mathematics

https://blog.szczepan.org/blog/three-points/
21•quibono•4d ago•0 comments

Microsoft open-sources LiteBox, a security-focused library OS

https://github.com/microsoft/litebox
302•aktau•11h ago•150 comments

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
302•ostacke•10h ago•80 comments

Show HN: If you lose your memory, how to regain access to your computer?

https://eljojo.github.io/rememory/
156•eljojo•7h ago•117 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
375•todsacerdoti•12h ago•214 comments

A century of hair samples proves leaded gas ban worked

https://arstechnica.com/science/2026/02/a-century-of-hair-samples-proves-leaded-gas-ban-worked/
52•jnord•3d ago•3 comments

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
301•lstoll•11h ago•227 comments

Show HN: R3forth, a ColorForth-inspired language with a tiny VM

https://github.com/phreda4/r3
42•phreda4•4h ago•7 comments

I spent 5 years in DevOps – Solutions engineering gave me what I was missing

https://infisical.com/blog/devops-to-solutions-engineering
100•vmatsiiako•9h ago•33 comments

How to effectively write quality code with AI

https://heidenstedt.org/posts/2026/how-to-effectively-write-quality-code-with-ai/
165•i5heu•7h ago•122 comments

Learning from context is harder than we thought

https://hy.tencent.com/research/100025?langVersion=en
136•limoce•3d ago•75 comments

FORTH? Really!?

https://rescrv.net/w/2026/02/06/associative
35•rescrv•12h ago•17 comments

Understanding Neural Network, Visually

https://visualrambling.space/neural-network/
223•surprisetalk•3d ago•29 comments

I now assume that all ads on Apple news are scams

https://kirkville.com/i-now-assume-that-all-ads-on-apple-news-are-scams/
951•cdrnsf•14h ago•411 comments

PC Floppy Copy Protection: Vault Prolok

https://martypc.blogspot.com/2024/09/pc-floppy-copy-protection-vault-prolok.html
7•kmm•4d ago•0 comments

Introducing the Developer Knowledge API and MCP Server

https://developers.googleblog.com/introducing-the-developer-knowledge-api-and-mcp-server/
7•gfortaine•2h ago•0 comments

I'm going to cure my girlfriend's brain tumor

https://andrewjrod.substack.com/p/im-going-to-cure-my-girlfriends-brain
28•ray__•1h ago•4 comments

The Oklahoma Architect Who Turned Kitsch into Art

https://www.bloomberg.com/news/features/2026-01-31/oklahoma-architect-bruce-goff-s-wild-home-desi...
17•MarlonPro•3d ago•2 comments

Show HN: Smooth CLI – Token-efficient browser for AI agents

https://docs.smooth.sh/cli/overview
76•antves•1d ago•56 comments

Claude Composer

https://www.josh.ing/blog/claude-composer
94•coloneltcb•2d ago•67 comments

Evaluating and mitigating the growing risk of LLM-discovered 0-days

https://red.anthropic.com/2026/zero-days/
31•lebovic•1d ago•11 comments

Show HN: Slack CLI for Agents

https://github.com/stablyai/agent-slack
36•nwparker•1d ago•7 comments

How virtual textures work

https://www.shlom.dev/articles/how-virtual-textures-really-work/
22•betamark•12h ago•22 comments

Masked namespace vulnerability in Temporal

https://depthfirst.com/post/the-masked-namespace-vulnerability-in-temporal-cve-2025-14986
31•bmit•6h ago•3 comments

Evolution of car door handles over the decades

https://newatlas.com/automotive/evolution-car-door-handle/
38•andsoitis•3d ago•61 comments
Open in hackernews

Celtic Code: Drawing knots with Python

https://2earth.github.io/website/20250202.html
82•HansardExpert•3mo ago

Comments

HansardExpert•3mo ago
A web app that uses Python to create Celtic knots and it's really fun!
xnx•2mo ago
Looks neat. Might be worth constraining the inputs. I got an error at 200x200:

  Uncaught PythonError: Traceback (most recent call last):
  File "<exec>", line 22, in resetKnot
  File "<exec>", line 473, in generateKnot
  File "/lib/python3.12/site-packages/PIL/Image.py", line 2941, in new
    return im._new(core.fill(mode, size, color))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
MemoryError
2earth•2mo ago
200x200? You're crazy!

Also: yes, good idea

hodgehog11•2mo ago
I'm thinking this might have broader use than artistic appeal. From what I've heard, knot generation is a young but increasingly important topic in knot theory, since it can be used to generate data to train ML models on, and subsequently (hopefully) discover new algorithms for knot classification. See https://www.nature.com/articles/s41586-021-04086-x for example.
velcrovan•2mo ago
The linked article references George Bain’s book on Celtic knotwork construction methods, but his son Ian Bain actually found a much, much better method, and argues convincingly that this, not his father’s, was the method used by medieval Celtic illustrators. Ian’s method more easily produces consistent rope widths (when done by hand), and addresses the issue of how to soften these angular turns which ruin the rope effect and produce a robotic grid.

The book is out of print now but it looks like you can borrow it on archive.org: https://archive.org/details/celticknotwork0000bain/mode/2up

quag•2mo ago
Thank you! I’ll have to take a look.
gilleain•2mo ago
Interested in what Iain's method might be, but the method I like is:

1) Draw the 'skeleton' as a connected (simple?) graph in the plane

2) Place crosses at the midpoint of each edge

3) Connect the crosses with shortest (non-crossing!) connections (bit vague this, but is more obvious by hand)

4) Erase the crosses, and run over the line, assigning under/over as appropriate - you can also thicken at this step

This gives good free-standing knots, although may be more work for the dense knotwork in the OP's examples.

gilleain•2mo ago
Actually, this is described well in reverse here :

https://armory-rasa.tumblr.com/post/151872673763/drawing-wit...

mcphage•2mo ago
So I do agree with you that Iain Bain's methods is better than his father's, especially for us mere mortals. But George's method for consistent rope widths (step 1: draw them all the same width) did work better for me when I was getting a program to generate knotwork on grid of squares and rhombuses, where following Iain's method led to irregular rope widths because the angles changed.
iansteyn•2mo ago
I really like how the author walks us through the generation process step-by-step. It makes it seem possible for me to build stuff like this too!!
iansteyn•2mo ago
This post makes me wonder - does anyone else think there is a need for a term to more strongly differentiate between procedural generation (like this knot-drawing program) and genAI? I feel it really diminishes the impact of the work of programmer-artists nowadays to say they make “computer-generated” art. Or maybe we already have such a term?
jonahx•2mo ago
I instinctively agree there is an important difference.

If you try to define systematically what that difference is, though, it's not obvious. At the end of day, I think it's something like "degree of difficulty" or "amount of thought", which are vague concepts. Yet most would agree what the author here did requires more skill and thinking than typing "image of celtic knot" into Gemini.

marssaxman•2mo ago
I used to work on procedural graphics, and to me the clear difference is that all the training involved happened inside my brain. This author's article describes a similar process. He's not throwing a lot of existing examples into a black box, letting it learn their features, then driving it to emit new images with similar features: he is learning, himself, what those features are, inventing a process which fits those bounds, then automating it with code.
NoboruWataya•2mo ago
Is "procedural generation" not exactly that? I wouldn't think of genAI when I hear that term.
iansteyn•2mo ago
Yeah fair enough. I don’t think of genAI either when I hear “procedural generation” (or CGI - “Computer Generated Imagery” - for that matter). But the word “generate” has taken on new significance for the broader public now and I’m not sure that non-technical folks know the difference.
vlz•2mo ago
There is algorithmic art:

https://en.wikipedia.org/wiki/Algorithmic_art

> From one point of view, for a work of art to be considered algorithmic art, its creation must include a process based on an algorithm devised by the artist. An artist may also select parameters and interact as the composition is generated. Here, an algorithm is simply a detailed recipe for the design and possibly execution of an artwork […]

Creating art by AI certainly also uses an algorithm to some extent but it cannot be said to have devised that algorithm and arguably also not to clearly define all parameters to the algorithm.

OscarCunningham•2mo ago
Fans of Celtic knots might also like the daily game Celtix (https://www.andrewt.net/puzzles/celtix/) where the objective is to separate a Celtic knot into five coloured strands.
cyrusradfar•2mo ago
Dropping a thank you to the OP for sharing.

Really enjoyed how you traced your mental model through the journey of solving the problem.

foofoo12•2mo ago
Webapp doesn't work for me (current version Firefox):

  Uncaught TypeError: loading.showModal is not a function
    <anonymous> https://2earth.pyscriptapps.com/celtic-knot/  latest/:20
  latest:20:17
    <anonymous> https://2earth.pyscriptapps.com/celtic-knot/    latest/:20
and

  Uncaught (in promise) DOMException: IDBFactory.open: The operation is insecure
    <anonymous> index.js:65
    Xe index.js:63
    Ye sync.js:8
    engine pyodide.js:95
    get interpreters.js:36
    promise callback*get/< interpreters.js:34
    xn loader.js:66
    promise callback*xn loader.js:66
    Kn script-handler.js:91
    or custom.js:99
    define custom.js:266
    <anonymous> core.js:307
    promise callback\* core.js:182
core-Dwn9Kajy.js:1
2earth•2mo ago
Thanks, I'll look into it
taeric•2mo ago
If you are interested in this art style, Knuth shared that there is a very cool art display that includes Celtic Tours. https://www-cs-faculty.stanford.edu/~knuth/knights.html is his writeup on the art. If you are in the area, highly recommend getting to see it.
imba404•2mo ago
You should check out Knot dice, which is a fun tactile way to make one.

www.blackoakgames.com/collections/knot-dice