frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Mesh LLM: distributed AI computing on iroh

https://www.iroh.computer/blog/mesh-llm
147•tionis•5h ago•33 comments

We Know Simple Fluids Can Flow. Turns Out, Some Can Fracture

https://www.quantamagazine.org/we-know-simple-fluids-can-flow-turns-out-some-can-fracture-20260710/
29•Anon84•1h ago•5 comments

A pure scheme web programming tool

https://goeteia.dev
33•guenchi•3h ago•13 comments

Show HN: Ant – A JavaScript runtime and ecosystem

https://antjs.org
206•theMackabu•7h ago•86 comments

I Did Not Kill Stanley Lieber: How to Draw (With 9front)

https://triapul.cz/automa/i_did_not_kill_stanley_lieber
26•c-c-c-c-c•2d ago•3 comments

RISCBoy is an open-source portable games console, designed from scratch

https://github.com/Wren6991/RISCBoy
77•mariuz•6h ago•17 comments

A dock that wakes up reliably

https://fabiensanglard.net/tb4/index.html
43•ingve•3h ago•32 comments

The Energetic Costs of Cellular Computation (2012)

https://arxiv.org/abs/1203.5426
10•lioeters•1h ago•1 comments

Nvidia, CoreWeave, and Nebius: Inside the Circular Financing of the GPU Boom

https://io-fund.com/ai-stocks/nvidia-coreweave-nebius-circular-financing-gpu-boom
183•adletbalzhanov•10h ago•62 comments

A Erlang style pure Scheme Webserver and further

https://igropyr.com
13•guenchi•2h ago•1 comments

What xAI's Grok Build CLI Actually Sends to xAI

https://gist.github.com/cereblab/dc9a40bc26120f4540e4e09b75ffb547
106•jhoho•2h ago•56 comments

Billions of Sketches Reveal Hidden Cultural Variation in Human Concepts

https://arxiv.org/abs/2607.07267
63•Anon84•2d ago•8 comments

We scaled PgBouncer to 4x throughput

https://clickhouse.com/blog/pgbouncer-clickhouse-managed-postgres
187•saisrirampur•12h ago•38 comments

UPI: Anatomy of a Payment Transaction

https://timeseriesofindia.com/economy/reads/upi-architecture/
121•prtk25•11h ago•45 comments

An agent in 100 lines of Lisp

https://thebeach.dev/posts/lisp-agent/
51•jamiebeach•4d ago•1 comments

Long Covid May Physically Damage the Nerves That Control the Stomach

https://www.ijidonline.com/article/S1201-9712(26)00608-9/fulltext
65•thenerdhead•3h ago•34 comments

Jellyfish Undersea Roundabout

https://visitfaroeislands.com/en/plan-your-stay/getting-around/world-first-under-sea-roundabout
10•hydrogen7800•3d ago•0 comments

The early History of the Singular Value Decomposition (1993) [pdf]

https://www.math.ucdavis.edu/~saito/courses/229A/stewart-svd.pdf
100•wolfi1•12h ago•60 comments

Show HN: Quantum-Qec / Matrix-Free Quantum Homeostatic Engine(Blueprint)

https://github.com/PJHkorea/quantum-mesh-qec
3•PJHkorea•1h ago•3 comments

Prefer strict tables in SQLite

https://evanhahn.com/prefer-strict-tables-in-sqlite/
237•ingve•10h ago•118 comments

Doctors die. It's not like the rest of us, but it should be (2016)

https://archive.cancerworld.net/featured/how-doctors-die/
101•downbad_•4h ago•59 comments

Biff.graph: structure your Clojure codebase as a queryable graph

https://github.com/jacobobryant/biff/tree/v2.x/libs/graph
92•jacobobryant•4d ago•9 comments

Show HN: Learn by rebuilding Redis, Git, a database from scratch

https://shipthatcode.com
137•acley•14h ago•39 comments

Optimization Solver as a Service

https://www.quicopt.com/developer/getting-started/
21•paddi91•3d ago•12 comments

Martha Lillard, last US polio patient using iron lung, dies at 78 in Oklahoma

https://abcnews.com/US/wireStory/martha-lillard-us-polio-patient-iron-lung-dies-134668491
44•daniel_iversen•3h ago•6 comments

Why are US consumers so angry? It's not just high prices

https://www.theguardian.com/us-news/ng-interactive/2026/jun/04/us-consumer-rage-prices-economy
9•dilawar•48m ago•0 comments

Show HN: Sqlsure – deterministic semantic checks for AI-generated SQL

https://github.com/sqlsure/sqlsure
23•tejusarora•7h ago•3 comments

Sixtyfour (YC P25) Is Hiring

https://www.ycombinator.com/companies/sixtyfour/jobs/bIbgQkL-operations-associate-data-samples-cu...
1•HPMOR•10h ago

Fixed three bugs that made Qwen3.5-122B a daily driver on Mac Studio

https://mrzk.io/posts/qmlx-maximising-ai-psychosis-minmaxing-mac-studio/
10•marzukia•5h ago•1 comments

How to Achieve Pruning When Querying by Non-Partitioned Columns in PostgreSQL

https://hakibenita.com/postgresql-partition-pruning
8•theanonymousone•2d ago•1 comments
Open in hackernews

Writing your own CUPS printer driver in 100 lines of Python (2018)

https://behind.pretix.eu/2018/01/20/cups-driver/
203•todsacerdoti•1y ago

Comments

roywashere•1y ago
Pretix is a very interesting piece of open source software for selling event tickets. It’s nice to see them venturing out to writing printer drivers for ticket printers! All the best for them.
behnamoh•1y ago
https://gimp-print.sourceforge.io/ which uses CUPS helped me resurrect an old Canon printer for which the company refused to provide updated drivers on macOS.

I was about to throw it in the recycling/trash, but I just couldn't accept that a perfectly fine hardware was crippled because the software was not updated to work on the latest macOS versions. Perplexity pointed me to Gutenprint and it worked wonderfully! The only thing that doesn't work is the scanner functionality.

asveikau•1y ago
Many years ago I remember Windows support vanished on a bunch of printers at the 32 to 64 bit transition. That was around the time I learned how printing on Linux and BSD worked, to save a printer or two.
fsckboy•1y ago
>support vanished on a bunch of printers at the 32 to 64 bit transition

that was after the win16 to win32 transition when every single cutting edge tech Sony product I owned, many of them quite expensive (and designed for win98/winME because that was cutting edge), stopped working. I've never bought anything Sony since, and no regrets.

Some time later, Sony Pictures wanted something from me and I said, "I boycott Sony" and they said "we're a different company" and I said "change your trademark then, that's the whole point of trademark, reputation"

sherr•1y ago
It was the rootkit on a CDROM that did it for me. Ever since then, I avoid Sony. As you say: reputation.
LargoLasskhyfv•1y ago
Did you try http://sane-project.org for the scanner part? They have support for some Canons, maybe you're lucky?
exhilaration•1y ago
I bought VueScan in 2014 specifically for a Canon scanner, looks like it's still around: https://www.hamrick.com/
saltcured•1y ago
This takes me waaaaaaaay back to when I did my first bit of practical low-level programming. I wrote a little C program that translated PNM bitmaps into the wire format for my dusty 24-pin Epson dot matrix printer. I don't remember the details, but I used it with some plugin system involving Ghostview to print postscript documents from my first Linux system in the early 90s.
whycome•1y ago
Is there an LLM specifically for this use case scenario?
a-ungurianu•1y ago
I’m not clear what you’re asking with this question.

Do you mean a LLM to write printer drivers? For that I think any of the coding LLMs should be able to help

Or do you mean using an LLM to do the raster -> FGL format translation? While I’m sure it might be possible, feels like an awful waste of resources, and when it comes to printers, you kinda want the guarantee that what comes out is the same that comes in.

whycome•1y ago
I was wondering about “domain specific LLM” for printer drivers.
userbinator•1y ago
However, the license of the BOCA driver forbids using their driver to control printers of other vendors.

Since this is a printer, I interpret those the same way as "you're not allowed to use third-party ink": I don't care.

ale42•1y ago
Personally, I don't either. But if you're a business, you probably need to care even if you don't want to.
userbinator•1y ago
Enforceability of EULAs has always been a rather open-ended question.
carlos22•1y ago
Especially in non common law countries like Germany or France. Not sure about drivers and other vendors but 3rd party ink or even patches to counters, hw modifications to "repair" (better to remove the planned obsolescence) are legal.
ValdikSS•1y ago
Oh!

Take a look at EPSON printer driver, which prohibits you from:

1. Sharing the printer you own with anyone else unless they agree to the license of the driver (incl. business setup)

2. Sharing the printer over the internet unconditionally, because this allows to use the driver for people who did not agree to the license

3. Incorporating the driver in any "revenue generating product or service"

https://download.ebz.epson.net/la/linux/inkjet_for_linux.htm...

1. Grant of License.

[…] provided that the Software is used (i) only in a single location (e.g., a home or office or place of business), or in the case of a mobile device, on a Device owned or otherwise controlled by you, and (ii) only in connection with Epson Hardware owned by you. You may allow other users of the Epson Hardware connected to your network to use the Software, provided that you shall ensure that such users use the Software only in accordance with this Agreement. You agree to be responsible for and indemnify Epson for liabilities incurred as a consequence of use by such users.

3. Other Rights and Limitations.

[…] Further, you agree not to place the Software onto or into a shared environment accessible via a public network such as the Internet or otherwise accessible by others outside the single location referred to in Section 1 above.

You may not rent, lease, distribute, lend the Software to third parties or incorporate the Software into a revenue generating product or service.

ValdikSS•1y ago
>Unfortunately, CUPS sends us grayscale values and our printer only supports pixels that are either fully black or white. Since we do not want to drop grayscale values compeltely, we want to apply Dither.

CUPS can send black-and-white 1 bit data, dithered. It's just a matter of proper option in a PPD file. It could also handle rotation by itself.

Other than that, pretty good and accurate article! I bet you can write the driver (filter) even in <50 lines of Python code :P

dale_huevo•1y ago
This is great.

Until now I thought CUPS drivers had to be written in C in order to link against its internal APIs.

Most inexpensive Chinese thermal printers ship with blatantly GPL violating drivers and they are precompiled binaries. Which means half the time they won't work in your situation, assuming you trust their probable malware in the first place.

Havoc•1y ago
Ideally don't buy a thermal printer at all. The paper usually contains BPA. You found one that says BPA free? Yep they switched to BPS. Also toxic and harmful to reproductive health.

If you absolutely must - use a European supplier - both are banned there for thermal paper.

zrobotics•1y ago
I was about to write an incredulous comment accusing you of licking receipts, but I thought I'd look into it first. It does appear that just handling thermal paper can expose you to BPA [0].

Such a shame, thermal printers are the only printing device I don't suspect of being a plot by Satan to tempt us into wrathful thinking. Thermal printers are insanely reliable, I've worked IT for several businesses with shipping departments and thermal label printers are less troublesome than even keyboards, I struggle to think of a class of equipment that generated less issues. I guess I should have suspected there was something devious about them, they are printers after all and all other printers I've had to support have always just been constant sources of annoying issues.

[0] https://www.pca.state.mn.us/business-with-us/bpa-and-bps-in-...

dqv•1y ago
That article has a good alternative though: ascorbic acid. I think the last time I looked into this I had a hard time finding thermal labels that used ascorbic acid, but they at least have receipt paper. I do still have concerns that even the ascorbic acid paper still has something bad in it absent any documentation going over the full ingredient list.
devmor•1y ago
I had the same incredulity when BPA alarms started going off, thinking it was another Prop 65 warning type thing. Finding out that it is literally absorbed through the skin sent shivers down my spine. That stuff is scary.
th0ma5•1y ago
CUPS was instrumental in me getting an old Commodore 64 printer working haha. It can do some amazing stuff.
_rami_•1y ago
Author here. Funny this ended up here again!

These days, we don't use this any more. First, because we now use primarily original Boca printers and are allowed to use the official drivers, and second, because we do 99% of printing from Android devices, where we also handle the protocol conversion ourselves, but it's a lot simpler without CUPS. Still, was a fun ride doing this back then!

ivolimmen•1y ago
I currently own 7 printers. 6 I got from a small business owner who wanted them gone. He asked me to check them and give them away to others who needs them. Maybe I just just grab one and hook it to the internet and let others print stuff. Would be a nice social experiment and a big middle finger to the manufacturer and those stupid EULA's.
CableNinja•1y ago
Youd want some sort of filter and ocr in between to prevent things that were prevalent in the days of faxes. All black pages, endless printing, etc. And ofc youd want some csam filter because you dont want to end up having printed that. Gl proving it wasnt you.

That being said, it would be an interesting thing to see what people would decide to send to a random printer on the internet

0_____0•1y ago
Oh man... I've definitely crumpled up and put a receipt in my mouth before... probably even eaten one at some point, probably to horrify a girlfriend in my younger days. I know, I'm a gremlin.
Havoc•1y ago
Yeah knowledge of it seems pretty thin on the ground despite this being decade+ known. Haven't quite worked out why - unlikely say tobacco it doesn't seem like an industry that would have financial might behind it.
_rami_•1y ago
There's completely safe thermal paper in Germany by this company: https://www.oekobon.de/ There's a similar company in France, I forgot the name
kiliankoe•1y ago
I use these for printing my shopping lists, I like synced lists (in Todoist in my case), but hate walking through stores with a device in my hand. The Ökobons have the added benefit of me being able to scratch items off the list with my fingernail. Also the blue is cool.