frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

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

https://openciv3.org/
367•klaussilveira•4h ago•76 comments

The Waymo World Model

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

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

https://github.com/valdanylchuk/breezydemo
127•isitcontent•4h ago•13 comments

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

https://github.com/pydantic/monty
103•dmpetrov•5h ago•48 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/
47•jnord•3d ago•3 comments

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

https://vecti.com
231•vecti•6h ago•108 comments

Dark Alley Mathematics

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

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

https://github.com/microsoft/litebox
300•aktau•11h ago•148 comments

Sheldon Brown's Bicycle Technical Info

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

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

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

Hackers (1995) Animated Experience

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

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

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

An Update on Heroku

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

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

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

How to effectively write quality code with AI

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

Learning from context is harder than we thought

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

Understanding Neural Network, Visually

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

FORTH? Really!?

https://rescrv.net/w/2026/02/06/associative
32•rescrv•12h ago•14 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/
949•cdrnsf•14h ago•409 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...
16•MarlonPro•3d ago•2 comments

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

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

Claude Composer

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

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

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

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

https://red.anthropic.com/2026/zero-days/
31•lebovic•1d ago•10 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•11h ago•22 comments

The Beauty of Slag

https://mag.uchicago.edu/science-medicine/beauty-slag
26•sohkamyung•3d ago•3 comments

Evolution of car door handles over the decades

https://newatlas.com/automotive/evolution-car-door-handle/
37•andsoitis•3d ago•59 comments

Planetary Roller Screws

https://www.humanityslastmachine.com/#planetary-roller-screws
33•everlier•3d ago•6 comments

Masked namespace vulnerability in Temporal

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

Show HN: Txt2plotter – True centerline vectors from Flux.2 for pen plotters

https://github.com/malvarezcastillo/txt2plotter
35•tsanummy•2w ago
I’ve been working on a project to bridge the gap between AI generation and my AxiDraw, and I think I finally have a workflow that avoids the usual headaches.

If you’ve tried plotting AI-generated images, you probably know the struggle: generic tracing tools (like Potrace) trace the outline of a line, resulting in double-strokes that ruin the look and take twice as long to plot.

What I tried previously:

- Potrace / Inkscape Trace: Great for filled shapes, but results in "hollow" lines for line art.

- Canny Edge Detection: Often too messy; it picks up noise and creates jittery paths.

- Standard SDXL: Struggled with geometric coherence, often breaking lines or hallucinating perspective.

- A bunch of projects that claimed to be txt2svg but which produced extremely poor results, at least for pen plotting. (Chat2SVG, StarVector, OmniSVG, DeepSVG, SVG-VAE, VectorFusion, DiffSketcher, SVGDreamer, SVGDreamer++, NeuralSVG, SVGFusion, VectorWeaver, SwiftSketch, CLIPasso, CLIPDraw, InternSVG)

My Approach:

I ended up writing a Python tool that combines a few specific technologies to get a true "centerline" vector:

1. Prompt Engineering: An LLM rewrites the prompt to enforce a "Technical Drawing" style optimized for the generator.

2. Generation: I'm using Flux.2-dev (4-bit). It seems significantly better than SDXL at maintaining straight lines and coherent geometry.

3. Skeletonization: This is the key part. Instead of tracing contours, I use Lee’s Method (via scikit-image) to erode the image down to a 1-pixel wide skeleton. This recovers the actual stroke path.

4. Graph Conversion: The pixel skeleton is converted into a graph to identify nodes and edges, pruning out small artifacts/noise.

5. Optimization: Finally, I feed it into vpype to merge segments and sort the paths (TSP) so the plotter isn't jumping around constantly.

You can see the results in the examples inside the Github repo.

The project is currently quite barebones, but it produces better results than other options I've tested so I'm publishing it. I'm interested in implementing better pre/post processing, API-based generation, and identifying shapes for cross-hatching.

Comments

joshu•2w ago
Neat!
c-jiph•2w ago
Yeah using AI to do a first stage pass seems to work well. I did something similar with Nano Banana: https://github.com/c-jiph/bitmap-to-gcode

I didn't actually end up playing with it too much but the problem I found was it's a hard to get a one-size-fits-all prompt. The AI generated images are usually okay but some features aren't great for a plotter or just don't look visually pleasing. It's still better than having to manually mess with the initial image.

piebro•2w ago
Cool project! I tackled the same problem a few weeks ago to plot some nice Christmas cards. I will have a look at your skeletonization approach, because I was struggling with that.

In the end I just used potracer and was fine with having double lines for my cards: https://github.com/piebro/personal-plotting-util/blob/main/i...

max002•2w ago
Nice one :)
mft_•2w ago
Very nice - I’ve struggled (and failed) with a similar approach previously.

FLUX.2 can run on a Mac - any thoughts on making this work on Mac? Needing a 24GB NVidia card is limiting…

ansc•2w ago
Isn't the examples not very telling if you can't see the input too? Results look good, but I don't know what the input / what kind of preprocessing what done on it.
hwj•2w ago
> Requirements

> NVIDIA GPU with 24GB VRAM (RTX 3090/4090)

That's a little bit to much for my trusty notebook...

thot_experiment•1w ago
lmao, `autotrace -centerline filename.png` would also achieve this, I wonder how many tokens were burned to achieve what a 1mb GPL program from 1999 could do

very depressing that our incentive structures are so malformed that finding the 27 year old solution is more difficult than burning a few kW getting an LLM to regurgitate a facsimile