frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Innernet – A private network system that uses WireGuard under the hood

https://github.com/tonarino/innernet
2•baobun•17m ago•1 comments

An innovative superfamily of fonts for code

https://monaspace.githubnext.com/
1•laex•19m ago•0 comments

Tiny worms form living towers to become a super-organism

https://english.elpais.com/science-tech/2025-06-05/these-tiny-worms-form-living-towers-to-become-super-organism.html
1•belter•20m ago•0 comments

Calories Count App for iOS – Powered by AI

https://apps.apple.com/mt/app/myfoodyai/id6746223626
1•DanjelDurmo•40m ago•1 comments

I Went Inside the Factory for the Insane Printer Everyone's Talking About [video]

https://www.youtube.com/watch?v=3IBMjZDMdcc
4•YZF•42m ago•1 comments

Ask HN: What is something you deeply care about?

3•blahaj•52m ago•0 comments

Researchers genetically altered fruit flies to crave cocaine

https://www.popsci.com/science/fruit-fly-cocaine/
2•zdw•52m ago•2 comments

ChatGPT AI Can Be Fooled to Reveal Secrets

https://texttoslides.ai/blog/chatgpt-ai-reveals-secrets
2•sh_tomer•58m ago•0 comments

In Crokinole Country

https://www.cbc.ca/newsinteractives/features/crokinole-country
1•BiraIgnacio•1h ago•2 comments

Myrddin: Language Design Checklist

https://myrlang.org/lang-checklist
1•9d•1h ago•0 comments

Why Solana Remains One of Crypto's Best Long-Term Opportunities

https://www.alphaplease.com/p/why-sol-remains-one-of-cryptos-best
2•lawrenceyan•1h ago•0 comments

Don't Panic, but Douglas Adams Predicted a Lot of This

https://krisstgabriel.substack.com/p/dont-panic-but-douglas-adams-predicted
17•wrongcards•1h ago•9 comments

Tracking Starlink satellite reentries during the rising phase of solar cycle 25

https://www.frontiersin.org/journals/astronomy-and-space-sciences/articles/10.3389/fspas.2025.1572313/full
1•gnabgib•1h ago•0 comments

Kabul at risk of becoming first modern city to run out of water, report warns

https://www.theguardian.com/world/2025/jun/07/kabul-could-become-first-modern-city-to-run-out-of-water-report-warns
4•bookofjoe•1h ago•0 comments

Adventures in the Design of Ultra-Precision Machine Tools [video]

https://www.youtube.com/watch?v=vEr2CJruwEM
1•eigenform•1h ago•0 comments

Reinforcement Learning to Train Large Language Models to Explain Human Decisions

https://arxiv.org/abs/2505.11614
2•PaulHoule•1h ago•0 comments

The Computer Chronicles: HyperCard (1987)

https://www.youtube.com/watch?v=FquNpWdf9vg
2•gdubs•1h ago•0 comments

The US is turning into a mass techno-surveillance state

https://english.elpais.com/usa/2025-06-05/how-the-us-is-turning-into-a-mass-techno-surveillance-state.html
13•geox•1h ago•1 comments

Scaling Helix: A New State of the Art in Humanoid Logistics

https://www.figure.ai/news/scaling-helix-logistics
3•jk_tech•1h ago•0 comments

Germany plans rapid bunker expansion amid fears of Russian attack

https://old.reddit.com/r/worldnews/comments/1l5pcnl/germany_plans_rapid_bunker_expansion_amid_fears/
2•Teever•1h ago•0 comments

Garmin rolls out feature-packed Forerunner 570 smartwatch at a reasonable price

https://www.phonearena.com/news/garmin-forerunner-570-smartwatch-official-specs-features-price-release-date_id170417
2•teleforce•1h ago•0 comments

Solar is good, solar microgrids are better

https://www.microgridknowledge.com/editors-choice/article/11432203/solar-is-good-solar-microgrids-are-better
3•teleforce•1h ago•0 comments

The Illusion of Thinking: Strengths and Limitations of Reasoning Models

https://machinelearning.apple.com/research/illusion-of-thinking
4•k1m•1h ago•1 comments

Federated Pastebin (Plonk.li)

https://plonk.li
2•jszymborski•1h ago•0 comments

Swift 6 and LLMs

https://mister.computer/@kyle/114608923901892223
3•graeme•1h ago•1 comments

Protect Your Site with a Doom Captcha

https://hackaday.com/2025/01/01/protect-your-site-with-a-doom-captcha/
2•ohjeez•1h ago•1 comments

High-Level Infrasound – Negative Effect on Human Myocardial Contractility (2021)

https://pmc.ncbi.nlm.nih.gov/articles/PMC8411947/
4•walterbell•1h ago•1 comments

Why Your CPU Is a Fortune Teller

https://articles.akatski.com/posts/branch-prediction-and-speculative-execution.htm
3•a_void_sky•1h ago•1 comments

Breaking the Sorting Barrier for Directed Single-Source Shortest Paths

https://arxiv.org/abs/2504.17033
3•landonxjames•2h ago•0 comments

Morgan Stanley tool saved developers 280k hours

https://www.wsj.com/articles/how-morgan-stanley-tackled-one-of-codings-toughest-problems-4f465959
5•thisisauserid•2h ago•0 comments
Open in hackernews

Convert photos to Atkinson dithering

https://gazs.github.io/canvas-atkinson-dither/
190•nvahalik•4h ago

Comments

JKCalhoun•3h ago
Still my favorite B&W dither algorithm.

The university had a B&W flatbed scanner attached to a Mac running ... a Hypercard stack? that allowed you to scan an image and get a B&W image.

A clipart book I picked up from the college bookstore and a quick scan and I had a "logo" for the Mac shareware games I started writing in 1988 or so.

At the time I didn't;t realize how really ... nice .. Atkinson's algorithm is. But when, later, I tried dithering with other algos I saw how nice the diffusion was in Bill's code.

More recently I was playing with an eInk calendar project and wanted an "Atkinson-esque" series of images of the Moon in various phases. So I found a site very like the linked one to Atkinson-dither the moon photos I found [1].

[1] see the moon in screenshot: https://github.com/EngineersNeedArt/SystemSix/blob/10f2332b5...

larodi•3h ago
Is it the same Atkinson that died today and is this a tribute ?
throwanem•3h ago
Yes, he invented* the algorithm. One assumes it must be.

* Corrected from 'discovered;' see below.

zahlman•3h ago
Invented the algorithm. The choice and arrangement of weights is a matter of fine-tuning to balance practical concerns - not some natural law of mathematics that could be figured out.
4b11b4•3h ago
That's a good clarification
throwanem•2h ago
I appreciate the correction.
zahlman•3h ago
In a sense, but the first commit in the repository was 15 years ago - it's not something that someone whipped up in response to the news.
throwanem•3h ago
The implementation is excellent, and could be slightly improved by giving a default name and .png extension to the downloaded file, by passing a value to the "download" property on the anchor. See https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorE...
57473m3n7Fur7h3•2h ago
In his defence, that attribute has been available in browsers since March 2017 according to your link [1], whereas the most recent commit in the repo for the dithering tool was in March 2016 by the looks of it.

https://github.com/gazs/canvas-atkinson-dither

He’s still active on GitHub though, in other repos. Maybe he will accept a pull request? :)

[1]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorE...

throwanem•2h ago
Oh, I assumed it had been recently built and probably posted today by its author given the news and the lack of a year in the title. I'll open a PR.

edit: I might open a PR. 'CoffeeScript...now there's a name I've not heard in a long time. A long time...'

57473m3n7Fur7h3•2h ago
> CoffeeScript

It was acceptable in the 2010s

It was acceptable at the time

:p

https://www.youtube.com/watch?v=dOV5WXISM24

throwanem•2h ago
Nor have I said there is anything wrong with it, only that it's been a long time. So reflexively to equate calling something old with calling it bad seems like a young man's game, but it has been some time since I had close experience of being one of those, also.
57473m3n7Fur7h3•2h ago
It’s a reference to the linked song. One of my favorite songs :D
amelius•3h ago
If you want to do this in Python, there's:

https://github.com/tgray/hyperdither

ddingus•3h ago
I just converted my home stereo. Pioneer, so lots of brushed metal. It looks really great at 2560x1440. Great dither.
AndrewStephens•3h ago
This implementation is great and the interface brings back memories.

I was wondering why my Atkinson dithering web-component[0] was getting more hits today - sad news. I’ve always thought that Atkinson dithering produces the nicest images on really crisp monitors like the original Mac - something about it just looks cool and 80s which is why I used it in a game last year.

[0] https://sheep.horse/2023/1/improved_web_component_for_pixel-...

ksr•3h ago
Cute UI! GitHub link of demo: https://github.com/gazs/canvas-atkinson-dither
nedt•2h ago
Don't click the "as follows" in the info dialog. Looks like this wasn't updated in a while and since then the link became NSFW.
gcanyon•2h ago
What am I doing wrong? I import a photo, I click save to desktop, and I get an unidentified file in an unknown format.
busymom0•1h ago
I believe the file is missing a name and extension. If you rename the file with .png extension, then it works.
gcanyon•6m ago
HA! For some reason it never occurred to me that it would be in a format the original Mac never knew. Thanks!
kgbcia•1h ago
Would be great for eink/epaper devices.
9d•1h ago
Sorry but where did you get the JS/CSS for this? It's so small.
minorbug•1h ago
Here's one I've been working on and off that lets you convert multiple images to MacPaint in a 400k MFS formatted disk image.

https://github.com/minorbug/mfsjs

I've had this project gathering a light layer of dust in my home directory for a couple months now. I used Gemini Deep Research to help produce the library, and I included the LLM-generated markdown for anyone who wishes to reproduce on other languages, improve upon it, etc.

zdw•50m ago
Interesting that one of the size options is 512x384, not 512x342 which was the original mac resolution.
gcanyon•9m ago
I think that's not a coincidence.
RodgerTheGreat•42m ago
A similar tool I wrote several years ago: http://beyondloom.com/tools/dith.html
htk•20m ago
Thank you for posting this. Very nostalgic!