frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Prediction-Encoded Pixels image format

https://github.com/ENDESGA/PEP
31•msephton•1d ago

Comments

msephton•1d ago
I've put together a quick CLI for macOS and a very naïve benchmarking suite to see what the gains are like. Compared to optimised PNG, it's worse most of the time but the interesting thing is when it is better. I'm not sure there's a hard and fast rule, at least not that I've found so far.
mrbluecoat•1d ago
Link?
msephton•1d ago
pepr on GitHub https://github.com/gingerbeardman/pepr (macOS-only)

Also I posted some results earlier today: https://twitter.com/gingerbeardman/status/195993422257285161...

And I already added support to my pixel art app, Dottie, just for kicks https://twitter.com/gingerbeardman/status/195998796230676915...

gforce_de•1d ago
I really needs more benchmarks, especially decompression time. Also the sizes are interesting for very small images, but for real images, there are maybe better lossy variants:

  nz_scene - PEP = 73.542 bytes,
       lossy-PNG = 43.557 bytes,
      lossy-WEBP = 26.654 bytes,
  lossy-mozcjpeg = 15.716 bytes
So it's not about filesize here, it must be decompression speed.
msephton•1d ago
The creator says that the PEP image format is meant for small, limited colour images and of course it does lossless compression.
gforce_de•19h ago
Thanks for making that clear. But is it worth the hassle?

https://nigeltao.github.io/blog/2021/fastest-safest-png-deco...

PNG decoding seems to be fast enough:

  tree1    - PEP =  0.412 ms PNG = 0.25 ms
  font     - PEP =  0.602 ms PNG = 0.663 ms
  nz_scene - PEP = 32.121 ms PNG = 3.069 ms
Anyway, PEP is interesting!
msephton•4h ago
I don't see any hassle, really. It's just another image format: good for some use cases, bad for others. No one file format is perfect. It was interesting enough for me to give it a couple of hours to implement a cli and add support to my pixel app.
tobinc•1d ago
Endesga is always cooking up something interesting.
Zecc•1d ago
If someone makes a presentation about this format, it will be a PEP talk.

</philosoraptor>

The Therac-25 Incident

https://thedailywtf.com/articles/the-therac-25-incident
113•lemper•3h ago•71 comments

WebLibre: The Privacy-Focused Browser

https://docs.weblibre.eu/
18•mnmalst•1h ago•8 comments

Claude for Chrome

https://www.anthropic.com/news/claude-for-chrome
655•davidbarker•15h ago•350 comments

Scientist exposes anti-wind groups as oil-funded. Now they want to silence him

https://electrek.co/2025/08/25/scientist-exposes-anti-wind-groups-as-oil-funded-now-they-want-to-...
209•xbmcuser•3h ago•42 comments

Malleable Software Will Eat the SaaS World

https://www.mdubakov.me/malleable-software-will-eat-the-saas-world/
18•tablet•2h ago•23 comments

Gemini 2.5 Flash Image

https://developers.googleblog.com/en/introducing-gemini-2-5-flash-image/
935•meetpateltech•20h ago•428 comments

Dissecting the Apple M1 GPU, the end

https://rosenzweig.io/blog/asahi-gpu-part-n.html
478•alsetmusic•8h ago•105 comments

Light pollution prolongs avian activity

https://gizmodo.com/birds-across-the-world-are-singing-all-day-for-a-disturbing-reason-2000646257
74•gmays•3d ago•14 comments

GNU Artanis – A fast web application framework for Scheme

https://artanis.dev/index.html
222•smartmic•14h ago•45 comments

Chinese astronauts make rocket fuel and oxygen in space

https://www.livescience.com/space/space-exploration/chinese-astronauts-make-rocket-fuel-and-oxyge...
230•Teever•2d ago•96 comments

The man with a Home Computer (1967) [video]

https://www.youtube.com/watch?v=w6Ka42eyudA
38•smarm•5h ago•18 comments

Rv, a new kind of Ruby management tool

https://andre.arko.net/2025/08/25/rv-a-new-kind-of-ruby-management-tool/
254•steveklabnik•1d ago•90 comments

Bypass PostgreSQL catalog overhead with direct partition hash calculations

https://www.shayon.dev/post/2025/221/bypass-postgresql-catalog-overhead-with-direct-partition-has...
21•shayonj•3d ago•5 comments

Reverse Engineered Raspberry Pi Compute Module 5

https://github.com/schlae/cm5-reveng
38•_Microft•2d ago•5 comments

Neuralink 'Participant 1' says his life has changed

https://fortune.com/2025/08/23/neuralink-participant-1-noland-arbaugh-18-months-post-surgery-life...
287•danielmorozoff•3d ago•328 comments

One universal antiviral to rule them all?

https://www.cuimc.columbia.edu/news/one-universal-antiviral-rule-them-all
302•breve•20h ago•135 comments

US Intel

https://stratechery.com/2025/u-s-intel/
459•maguay•23h ago•483 comments

Molluscs of the Multiverse: molluscan diversity in Magic: The Gathering

https://jgeekstudies.org/2025/08/24/molluscs-of-the-multiverse-molluscan-diversity-in-magic-the-g...
6•zdw•2d ago•0 comments

Japan has opened its first osmotic power plant

https://www.theguardian.com/world/2025/aug/25/japan-osmotic-power-plant-fukuoka
259•pseudolus•2d ago•83 comments

Denmark summons top US diplomat over alleged Greenland influence operation

https://www.bbc.com/news/articles/c0j9l08902eo
85•vinni2•1h ago•58 comments

SpaCy: Industrial-Strength Natural Language Processing (NLP) in Python

https://github.com/explosion/spaCy
90•marklit•4d ago•31 comments

Uncomfortable Questions About Android Developer Verification

https://commonsware.com/blog/2025/08/26/uncomfortable-questions-android-developer-verification.html
296•ingve•5h ago•212 comments

A teen was suicidal. ChatGPT was the friend he confided in

https://www.nytimes.com/2025/08/26/technology/chatgpt-openai-suicide.html
297•jaredwiener•20h ago•306 comments

iOS 18.6.1 0-click RCE POC

https://github.com/b1n4r1b01/n-days/blob/main/CVE-2025-43300.md
207•akyuu•1d ago•46 comments

Show HN: Regolith – Regex library that prevents ReDoS CVEs in TypeScript

https://github.com/JakeRoggenbuck/regolith
25•roggenbuck•7h ago•22 comments

Why do people keep writing about the imaginary compound Cr2Gr2Te6?

https://www.righto.com/2025/08/Cr2Ge2Te6-not-Cr2Gr2Te6.html
168•freediver•16h ago•92 comments

The McPhee method for writing deeply reported nonfiction

https://jsomers.net/blog/the-mcphee-method
166•jsomers•1d ago•41 comments

Michigan Supreme Court: Unrestricted phone searches violate Fourth Amendment

https://reclaimthenet.org/michigan-supreme-court-rules-phone-search-warrants-must-be-specific
483•mikece•16h ago•89 comments

Undisclosed financial conflicts of interest in DSM-5 (2024)

https://www.bmj.com/content/384/bmj-2023-076902
225•renameme•17h ago•162 comments

LiteLLM (YC W23) is hiring a back end engineer

https://www.ycombinator.com/companies/litellm/jobs/6uvoBp3-founding-backend-engineer
1•detente18•13h ago