frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Various Things in MetaPost (2019)

https://habr.com/en/articles/454376/
22•Tomte•2h ago

Comments

verytrivial•1h ago
I wish websites would stop preventing me from pinch-zooming. I'd like to see the diagram detail for this post.
Nzen•30m ago
tl;dr An illustrator's deconstruction of the drawing patterns used by their MetaPost library to produce twelve styles of programmatic illustration. These were developed for an unreleased physics textbook and include things like cones, globes, weights, and eyes. MetaPost is a software by Donald Knuth for producing illustrations using a domain language, for svg output.
taeric•18m ago
Strictly, MetaPost is not Knuth's. It is a derivative of Metafont, but is different. I keep meaning to learn to use it, and keep failing. So huge shout out for getting this posted!

That it is a language somewhat designed to solve linear equations is something I have yet to really wrap my head around. I want to say it is far far more descriptive of what you are drawing than something like SVG. That said, I'm not clear if I could justify that claim.

Nzen•6m ago
I see that you are right. I skimmed the wikipedia article about MetaPost, and Knuth's name caught my eye more than "derived from".
dhosek•1m ago
Metapost was first released in 1989 by John Hobby in who was also effectively a coauthor of Metafont. I will say that the MF language is really kind of a delight. It has a clear influence from TeX in its macro construction, but the presence of first-class variables which TeX lacks makes it a more productive language overall.

I was a bit inspired by it when I took my one and only CS class as an undergrad. One of the few homework assignments I actually turned in was supposed to be a simple calculator with 26 assignable variables (A–Z). I thought that was boring, so I let variables be of any length and turned the calculator into a linear algebra solver so if you wrote, e.g.,

    2X+3Y=14
    X-Y=1
    X
    Y
it would give you the values for X and Y that met the constraints. I got a C on the assignment because the TA didn’t understand my code (written in CWEB and presented as a 20+ page source listing alongside the functioning executable).

Lemmings: DMA Design Redefined Puzzle Games [video]

https://www.youtube.com/watch?v=8FTOySSAPo8
1•doener•2m ago•0 comments

Agent Starter Pack – Production-Ready Agents on Google Cloud, Faster

https://googlecloudplatform.github.io/agent-starter-pack/
1•alDuncanson•3m ago•0 comments

Spring 2025 AI Model Usage Trends

https://poe.com/blog/spring-2025-ai-model-usage-trends
1•e2e4•3m ago•0 comments

Ruby: Sane sorbet-ls setup in Emacs

https://gosha.net/2025/sorbet-emacs/
1•goshatch•4m ago•0 comments

Font Memories of Old Macs

https://leancrew.com/all-this/2025/05/font-memories-of-old-macs/
1•ingve•4m ago•0 comments

Nabla: Differentiable Programming in Mojo

https://github.com/nabla-ml/nabla
1•melodyogonna•7m ago•0 comments

Microsoft Advertising is closing the Xandr DSP, layoffs pending

https://digiday.com/media-buying/microsoft-advertising-is-closing-the-xandr-dsp/
1•LunaSea•7m ago•0 comments

Waymo recalls more than 1,200 automated vehicles after minor crashes

https://www.latimes.com/business/story/2025-05-14/waymo-recalls-more-than-1-200-automated-vehicles-after-minor-crashes
2•jaredwiener•10m ago•1 comments

VW and Rivian team up on $22.5K EV with software stack–affordable, advanced

https://www.businessinsider.com/rivians-software-chief-affordable-evs-dont-need-be-low-tech-2025-5
1•bit_qntum•13m ago•1 comments

Gradients Are the New Intervals

https://www.mattkeeter.com/blog/2025-05-14-gradients/
1•mkeeter•17m ago•0 comments

UK ministers block AI transparency amendment demanding copyright disclosures

https://www.theguardian.com/technology/2025/may/14/uk-ministers-to-block-amendment-requiring-ai-firms-to-declare-use-of-copyrighted-content
1•byte-bolter•17m ago•0 comments

Minister accused of being too close to big tech after rise in meetings

https://www.theguardian.com/politics/2025/may/14/minister-accused-of-being-too-close-to-big-tech-after-analysis-of-meetings
1•pera•18m ago•0 comments

Show HN: Pomni.ai – Train your image set for a consistent style

https://pomni.ai/
1•kihihosting•20m ago•0 comments

Building a multi-source ingestion pipeline with Ray

https://thehyperplane.substack.com/p/multi-source-ingestion-pipelines
1•andreeamiclaus•22m ago•0 comments

Nuclear blasts, preserved on film [video]

https://www.youtube.com/watch?v=ftCcMjXPpII
1•simonebrunozzi•22m ago•0 comments

Rogue communication devices found in Chinese solar power inverters

https://www.msn.com/en-us/news/world/ar-AA1EMfHP
2•elsewhen•23m ago•1 comments

The first year of free-threaded Python – Labs

https://labs.quansight.org/blog/free-threaded-one-year-recap
2•rbanffy•23m ago•0 comments

Hasui Kawase

https://en.wikipedia.org/wiki/Hasui_Kawase
1•handfuloflight•24m ago•0 comments

Software engineer lost his $150K-a-year job to AI - forced to DoorDash

https://www.yahoo.com/news/software-engineer-lost-150k-job-090000839.html
3•thenaturalist•25m ago•3 comments

10k Drum Machines

https://10kdrummachines.com/
2•mrzool•30m ago•0 comments

Butler: All of the AI tools you need, in one place

https://www.butler.ai/
2•bereketsemagn•30m ago•0 comments

A History Lesson – The Story of Railroad Tracks [pdf]

https://www.aghost.net/images/e0186601/ahistorylessonofrailroadtracks.pdf
1•jruohonen•30m ago•0 comments

Computational Chemistry Unlocked: Large Dataset to Train AI Models Has Launched

https://newscenter.lbl.gov/2025/05/14/computational-chemistry-unlocked-a-record-breaking-dataset-to-train-ai-models-has-launched/
1•gnabgib•32m ago•0 comments

Environment: Making Rivers Run Backward (1982)

https://time.com/archive/6883794/environment-making-rivers-run-backward/
1•jruohonen•35m ago•1 comments

Democratizing AI: The Psyche Network Architecture

https://nousresearch.com/nous-psyche/
2•namenumber•37m ago•0 comments

Smallweb – a self-editable website with an embedded VSCode UI

https://www.demo.smallweb.live/
1•madacol•37m ago•1 comments

Spika: An energy-efficient time-domain hybrid CMOS-RRAM compute-in-memory macro

https://www.frontiersin.org/articles/10.3389/felec.2025.1567562
2•PaulHoule•38m ago•0 comments

Proximity to Golf Courses and Risk of Parkinson Disease

https://jamanetwork.com/journals/jamanetworkopen/fullarticle/2833716
3•airstrike•41m ago•0 comments

Innovative Insurance Products to Introduce in 2025

https://openkoda.com/innovative-insurance-products/
1•mgl•41m ago•0 comments

An itch.io game became a million-dollar hit

https://howtomarketagame.com/2025/04/28/how-an-itch-io-game-became-a-million-dollar-hit-the-roottrees-are-dead/
1•mgl•42m ago•0 comments