frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

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

https://openciv3.org/
372•klaussilveira•4h ago•79 comments

The Waymo World Model

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

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

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

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

https://github.com/pydantic/monty
106•dmpetrov•5h ago•48 comments

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

https://vecti.com
233•vecti•7h ago•108 comments

Dark Alley Mathematics

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

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

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

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
301•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•118 comments

Hackers (1995) Animated Experience

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

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

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

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
300•lstoll•11h ago•224 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

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/
48•jnord•3d ago•3 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•121 comments

Learning from context is harder than we thought

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

FORTH? Really!?

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

PC Floppy Copy Protection: Vault Prolok

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

Understanding Neural Network, Visually

https://visualrambling.space/neural-network/
222•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/
950•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
25•ray__•1h ago•4 comments

Claude Composer

https://www.josh.ing/blog/claude-composer
93•coloneltcb•2d ago•67 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

Evolution of car door handles over the decades

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

The Beauty of Slag

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

Planetary Roller Screws

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

LaTeX Coffee Stains (2021) [pdf]

https://ctan.math.illinois.edu/graphics/pgf/contrib/coffeestains/coffeestains-en.pdf
392•zahrevsky•1mo ago

Comments

kasane_teto•1mo ago
How nice.
aaronblohowiak•1mo ago
Interesting way to apply a water mark
alansaber•1mo ago
Coffee mark*
Zigurd•1mo ago
Brilliant! And people say Lucent overpaid for their logo.
spudlyo•1mo ago
I'm surprised nobody has yet mentioned how pleasant it is to create coffee stains using Typst, and if only LaTeX wasn't the de-facto standard in academia and stain-related journals, they would have already switched to it.

Of course, you can create coffee stains in HTML as well, but it's not something you can do in Markdown.

fourthark•1mo ago
Thankfully there is a Typst port of this package!

https://typst.app/universe/package/fleck/

philistine•1mo ago
That package still has the core limitation of Typst: images can only be placed top-middle-bottom and left-centre-right. Typst still has yet to support arbitrarily placed images.
doerig•1mo ago
You mean absolutely positioning it? You can do that with the place function and displacing it with dx/dy from the origin (https://typst.app/docs/reference/layout/place). Example: #place(top + left, dy: 2cm, dx: 4cm, image("image.png"))
philistine•1mo ago
That seems usable for manual layout, but it looks painful to use to place images without knowing exactly where they might end up on a page. I reuse my LaTeX code to make volumes of books, and I never touch the code. It's fire and forget for me, which this does not seem to solve.
tcfhgj•1mo ago
> but it looks painful to use to place images without knowing exactly where they might end up on a page.

they end up exactly at the specified location?

antonvs•1mo ago
Presumably they're referring to the ability to parameterize the target page size. In that case, absolute coordinates don't work well (if at all).
philistine•4w ago
Parameterize! That's a new word I didn't know. It adequately describes how I typeset my books, and I must not be alone. The ability to tell LaTeX to drop a picture around here, to the best of its ability, with the possibility of moving it down a paragraph or two if it doesn't fit is vital for me.
kzrdude•4w ago
I think that's a missing feature of Typst yes, to have figures be either "here" or "top next page" automatically, with that priority. It can't do that. The confusing part was that this has nothing to do with the images of this coffee stain package, because they are foreground/background and can be placed freely on the page (any corner or any custom offset from any corner; i.e from top left corner you can use page coordinates).

The coffee stains overlay/underlay text, so no layout problems at all.

mr_mitm•4w ago
But the dx/dy arguments also take percentages besides absolut lengths. I still don't get what the the other poster means by that fundamental limitation. I think they're confused about absolute positioning of background images vs floating figures. But typst has the analog setting of `[htbp]`, so the same "fire and forget" workflow is possible.
widforss•4w ago
> two splashes with light colours

Blood. That's blood.

mrichman•1mo ago
I came here to say this! I switched to Typst a couple of months ago and won't be going back.
alexitosrv•1mo ago
Typst requires a signup? It's web? It says developed in the open, but the main page also offers a login. What can you about latex vs typst?
quantummagic•1mo ago
Typst is an application you can use on your local machine without any signup. The compiler is hosted on GitHub. The Typst web app (the online editor at typst.app) is closed source and offered as a paid with cloud storage, collaboration, autocomplete, etc...
_flux•1mo ago
The financial aspect of the project is the service they sell, core is open: https://github.com/typst/typst

What the core lacks is the web service that offers e.g. collaborative editing.

ted_dunning•1mo ago
No. Typst is an open source application.

There is a very prominent web site that offers a hosted version without much clarity about the fact that you can run it yourself. The hosted version offers collaborative editing similar to what Overleaf provides which is incredibly useful.

See https://github.com/typst/typst for the CLI version

There is a page with pre-compiled binaries as well and on Macs, you can install using homebrew.

buo•1mo ago
The compiler is open-source and can be run locally. You need an account if you want to use their web editor, which is nice (it shows error messages where they occur along with an explanation and link to docs, and also shows a real-time updated preview).

As for Latex vs Typst, as a language Typst is much better, compiles very quickly, and has sane error messages. However, Typst still has a few rough edges, and can't do everything you can with Latex + packages (yet).

I've been using Typst for most of my documents for a few months and I've been generally happy with it.

cbolton•4w ago
You can use the online editor without login: https://typst.app/play/
kzrdude•1mo ago
You can start using typst by installing it using rust tooling (that's one way to install it): `cargo install typst-cli`

Or install it using vscode's extensions, or install it for neovim using mason. That's a few commonly used distribution paths.

tombert•1mo ago
I have never really used the web thing personally. I always use the command line version, and it works perfectly fine and it's FOSS.

I find the syntax to Typst to be generally better than LaTeX. I don't like its equations as much, but Typst has one huge advantage that makes it easier to forgive its faults: it compiles several orders of magnitude faster than LaTeX. This might not sound like much but it honestly sort of changes how you even think about problems. I keep Neovim open on the left, run `typst watch` in the background, and Evince on the right, and my updates show up immediately upon saving.

Also, adding plugins and libraries is trivial. All you have to do is declare it at the top of the file and it will automatically fetch it, which is considerably easier than LaTeX.

I don't like the default font it ships with, but it's easy enough to add a Latin Modern font and get something that looks like LaTeX.

Before Typst, I had typically been using Pandoc with Markdown to write my documents, and that served me well for quite awhile, but it had the disadvantage of being extremely slow to compile. A slide deck that I gave last year [1] would take a bit more than a minute to compile. This became an issue because I had to make a few small last-minute changes and having to wait an entire minute to view them actually made it so I was really pushing against the wire.

If I had done my slides in Typst, they would have compiled in about 40 milliseconds, they wouldn't have looked any worse, and I'd have a syntax not dissimilar to Markdown. I'm pretty much a convert at this point.

[1] https://git.sr.ht/~tombert/lambda_days_2025

bachmeier•1mo ago
I've been rewriting all my papers in Rust. It's been a pleasant experience getting memory safe coffee stains on my papers.
anu7df•1mo ago
Does coffee accelerate rusting?
semi-extrinsic•1mo ago
Depends on the acidity.
throwaway17_17•4w ago
I know it was probably said just as a joke, but are you really writing papers using Rust? I don’ t use Rust, BUT if you’ve got a better way to write symbol heavy type theory and/or logic than having to make PNG’s and put them in as images in a word processor I would love to hear about it.
eru•4w ago
You might like what people have cooked up with Racket.
tristanlukens•4w ago
Blazingly fast papers!
vlod•4w ago
Surely coffeescript would have been more appropriate?

[0]: https://coffeescript.org/

asimeqi•1mo ago
The best coffee stains by far are created directly in Postscript.
ihaveajob•1mo ago
I'd say the best ones are created by coffee...
ahazred8ta•1mo ago
Hanno's original coffee ring page from 2009. https://web.archive.org/web/20100719202509/http://hanno-rein...
jbrnh•1mo ago
There was the GIMP Coffee stain filter (though it looks like it is not included in Gimp 3). https://docs.gimp.org/2.10/en/script-fu-coffee-stain.html
__mharrison__•4w ago
I know it would be easier in typst than using this library... Ducks.
zippyman55•1mo ago
This looks like the old Lucent Technologies corporate logo. This would have been handy back in the day.
SanjayMehta•1mo ago
Dogbert's "Brown ring of quality."

Good times.

ravila4•1mo ago
This looks nice, but it is just placing some pre-defined vector files. I wonder if it could be possible to procedurally generate realistic coffee stains.
ted_dunning•1mo ago
Absolutely!

Go for it!

Rygian•1mo ago
Feature request: even/odd page stains that line up exactly as a single thru-stain.
aDyslecticCrow•1mo ago
slightly fading for each page.
blitzar•1mo ago
Page reordering for the inevitable large scale spill and hurried cleanup.
kubb•1mo ago
Not drinking coffee is the only reason I’ve ever felt truly excluded at a software company. Everyone loves their coffee!
bombcar•1mo ago
I'm in the same boat; I can pretend with tea but it's not really the same experience.

Diet soda sometimes works, but often isn't provided as easily.

nitnelave•1mo ago
You need to go all-in on tea and make your own mark. Get a fancy Chinese teapot with holes in the spout to use loose leaf tea, and start getting snobby about traditional vs modern techniques of Pu'er tea, and you'll get your own brand of respect!
pdpi•1mo ago
Everybody knows that coffee stains are the only surefire way to tell whether a paper has been read or just printed out and ignored. A colleague in uni (way back in early 00s) would add these to her documents every once in a while to give them the "has been read" stamp of approval.
cossatot•1mo ago
And wine glass stains are the only way to know your paper has been graded.
pwagland•1mo ago
And tear stains, or the lack thereof, are the only sure sign of quality.
tengwar2•4w ago
Could Garibaldi read Narn?
velcrovan•1mo ago
Reminds me of Windows 3.11 programs that would add random "coffee stains" to your "desktop" "wallpaper"
ChrisArchitect•1mo ago
(2021) Some previous discussion: https://news.ycombinator.com/item?id=39316193
pureagave•1mo ago
This is wonderful to see. I was a student and then entered into the tech industry in the mid 90's and at that time the Internet had fun whimsical things like this almost weekly.
mcswell•1mo ago
Obviously this was whimsical when it came out. However...we were creating synthetic data for training and testing OCR in multiple scripts. We would take a web page in some language with a non-Roman script, and reproduce it as multiple PDFs using different fonts. We also added various kinds of blurring, using ImageMagick and---of course---this very coffee stains program!
bmenrigh•1mo ago
I'm happy this is public domain. In 2023 I used the stain images as the basis for a CTF challenge (for BSidesSF). The encoded flag given to participants was https://github.com/BSidesSF/ctf-2023-release/blob/main/alien...

Unfortunately the challenge was a bit too hard and went unsolved during the competition.

hughw•1mo ago
It's hard to imagine a reason for it being kept... proprietary?
bmenrigh•1mo ago
A lot of people want to slap licenses on things without really thinking about what the license will do (or prevent), in practice.

I like the author's note about the license: "As we do not believe in imaginary property, this package belongs to the public domain."

I think it's much more common to see a Creative Commons license on this sort of thing.

viraptor•1mo ago
And even then, when people have good intentions they don't anyways know about edge cases. Please give things a licence in addition to placing it in public domain, because in some countries (like Australia) you can't release your rights that way.
Drunk_Engineer•1mo ago
Possibly related:

https://badspot.us/Brown-Ring-of-Quality.html

TwoFx•1mo ago
Maybe I'm just missing the joke, but it feels worth pointing out that almost all of the logos on that page are clearly inspired by the ensō circle from Zen art.
amelius•1mo ago
Putting a circle around your logo is about as silly as putting a horizontal line under your signature.
Seattle3503•1mo ago
I think it would be cool to see a version for epub 3.3, which is mostly html/xhtml with some limitations
tuhgdetzhh•1mo ago
"This page was intentionally left blank" is also an all time favorite of mine.
hanche•1mo ago
There’s an old story about that. Possibly apocryphal, but here goes:

IBM mainframes used to come with documentation in ring binders. Some pages might indeed be marked “This page intentionally blank”. And they would from time to time send out update packages to their customers, with instructions to replace pages so-and-so with the included replacements. On the replacement pages, text that had been altered would be marked with a change bar in the margin.

Lo and behold, one day an update package was received, replacing one completely blank page with one bearing the text “This page intentionally blank”. Complete with a change bar in the margin.

kkkqkqkqkqlqlql•1mo ago
Finally, I can drink my yerba mate and not be dismissed as a researcher.
drob518•1mo ago
My life is complete. I can die happy.
random_duck•4w ago
LaTex is complete it can die happy.
random_duck•4w ago
(This is a joke, please transfer LaTex's consciousness into a computer so it can live forever = w = )
deckar01•1mo ago
Coffee stains should look like water color paints. The fluid deposits pigment more at dry boundaries as evaporation and absorption approach equilibrium.
arunc•1mo ago
To save our children in the academia, we need a "Rewrite In Typst" movement, the equivalent of rewrite in rust!
sieste•1mo ago
If only they had stuck with latex maths syntax instead of inventing their own, I would have switched ages ago and encouraged others to do the same...
tcfhgj•1mo ago
maybe someone will write a package for latex math
TRiG_Ireland•1mo ago
It's called mitex: https://typst.app/universe/package/mitex
aragilar•4w ago
Does it support amsmath?
TRiG_Ireland•4w ago
I think so, but I'm no expert in typesetting mathematics.
aragilar•4w ago
That's not exactly encouraging... My biggest gripe with typst is the various design choices which make writing maths much harder than LaTeX (and given many of the issues with LaTeX usability come from having to use poorly maintained legacy packages, not having basic functionality in the core of the replacement seems naive at best).
kzrdude•1mo ago
math without infernal backslashes is one of the reasons I love Typst
xigoi•1mo ago
What’s the point of switching if you’re going to leave in the worst part?
auguzanellato•1mo ago
There’s a bit of resistance sadly. My supervisor is “forcing” me to use LaTeX for my MSc thesis sadly.
iberator•4w ago
Nearly all academia uses MS-OFFICE instead of TeX insanity. Only hardcore phds use it really
conformist•1mo ago
Another essential package is realhats (replace boring \hat with real hats)!

https://github.com/mscroggs/realhats

lelandfe•1mo ago
Originally from 2009: https://web.archive.org/web/20201101013903/http://legacy.han...

Previously: https://news.ycombinator.com/from?site=hanno-rein.de and https://news.ycombinator.com/item?id=39316193

This also reminds me of https://news.ycombinator.com/item?id=30024165

dcuthbertson•1mo ago
Now I want a package to add blood stains on my murder mystery screenplay.
Vicinity9635•4w ago
Love this. My resume has been in LaTeX for over 20 years now.

Underappreciated IMHO. You can version control it, no dealing with wild Word shenanigans. Totally deterministic. Just find a style, insert your bullets and you have a nice sharable PDF.

Nowadays you can even have your preferred LLM do the conversion for you. LaTeX is finicky and I've had it fix warnings in mine that I couldn't be bothered to.

Good stuff, highly recommend a LaTeX resume, whether or not you drink coffee.

Nitrolo•4w ago
Any particular template you'd recommend? My resume is LaTeX too but I'm not 100% happy with it (about 98% happy and much happier than with anything else however).
Vicinity9635•4w ago
I can't find the one I used now. But I just searched "latex resume template" and picked one that I liked. Some good ones at https://www.overleaf.com/gallery/tagged/cv
benttoothpaste•4w ago
Totally agree! I'm adding the coffee stains to my resume as we speak.
anishgupta•4w ago
Here we go, trying to feel authenticity in our new world. Mistakes are beautiful
jpfromlondon•4w ago
as amazing as these are, they do still look a little fecal.
notorandit•4w ago
Half done job or just a starting point! We need also:

* tea strains

* bread crumbles (squashed among paper leaves)

* tomato sauce drops

* hair

> A lot of time can be saved by printing [extra stuff] directly on the page rather than adding them manually!

Schlagbohrer•4w ago
And a squashed fly every thousand pages or so
dredmorbius•4w ago
Paw prints!

<https://news.artnet.com/art-world/cats-medieval-manuscripts-...>

jprezant•4w ago
This is a good read for similar "fun" packages: https://tex.stackexchange.com/questions/67656/are-there-othe....
TeamDman•4w ago
See also: using Mathematica for drawing the circles like in the movie Arrival

https://youtu.be/r8nTifCIr0c