frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Lines of Code Got a Better Publicist

https://curlewis.co.nz/posts/lines-of-code-got-a-better-publicist/
42•RyeCombinator•37m ago•9 comments

Pokémon Go Scans Trained the Navigation Tech for Military Drones

https://dronexl.co/2026/06/09/pokemon-go-scans-niantic-vantor-military-drone-navigation/
425•vrganj•6h ago•185 comments

AI agent runs amok in Fedora and elsewhere

https://lwn.net/SubscriberLink/1077035/c7e7c14fbd60fae9/
458•tanelpoder•12h ago•208 comments

Build a Basic AI Agent from Scratch: Long Task Planning

https://medium.com/@rogi23696/build-a-basic-ai-agent-from-scratch-long-task-planning-14e803f9bd6d
60•ruxudev•1d ago•18 comments

Cybersecurity researchers aren't happy about the guardrails on Anthropic's Fable

https://techcrunch.com/2026/06/10/cybersecurity-researchers-arent-happy-about-the-guardrails-on-a...
498•speckx•20h ago•437 comments

BYD is bringing its 5-min 'Flash' electric car charging to Canada

https://electrek.co/2026/06/10/byd-flash-charging-canada-5-minute-ev-charging-network/
53•breve•1h ago•25 comments

πFS

https://github.com/philipl/pifs
831•helterskelter•18h ago•189 comments

Anthropic requires 30 day data retention for Fable and Mythos

https://support.claude.com/en/articles/15425996-data-retention-practices-for-mythos-class-models
495•lebovic•1d ago•257 comments

Linux latency measurements and compositor tuning

https://farnoy.dev/posts/linux-latency
75•GalaxySnail•2d ago•15 comments

Starfish by Peter Watts (1999)

https://www.rifters.com/real/STARFISH.htm#prelude
85•zetalyrae•2d ago•25 comments

Reverse engineering the Creative Katana soundbar to control it from Linux

https://blog.nns.ee/2026/02/20/katana-v2x-re/
100•theanonymousone•4d ago•5 comments

Web Browsers on Video Game Consoles

https://vale.rocks/posts/game-console-browsers
71•robin_reala•4h ago•41 comments

I'm Eric Ries, author of "The Lean Startup" and new book "Incorruptible" – AMA

708•eries•22h ago•505 comments

The Life and Works of Raoul Bott

https://arxiv.org/abs/math/0201027
11•mindcrime•2d ago•2 comments

Sequoyah’s syllabary created a written language for the Cherokee

https://www.smithsonianmag.com/innovation/man-created-written-language-cherokee-did-efficiently-e...
170•grahambargeron•14h ago•99 comments

PgDog is funded and coming to a database near you

https://pgdog.dev/blog/our-funding-announcement
494•levkk•23h ago•232 comments

Making a Shading Language for My Offline Renderer

https://agraphicsguynotes.com/posts/making_a_shading_langauge_for_my_offline_renderer/
27•ibobev•3d ago•2 comments

Sweet Jeebus, macOS 27 Golden Gate Removes the Dumb Icons from Menu Items

https://daringfireball.net/2026/06/macos_27_golden_gate_removes_the_dumb_icons_from_menu_items
158•epaga•5h ago•59 comments

Human migration has surged since 2000 – these maps reveal where people are going

https://www.nature.com/articles/d41586-026-01796-y
33•tzury•1h ago•28 comments

How JPL keeps the 13-year-old Curiosity rover doing science

https://spectrum.ieee.org/curiosity-rover-jpl-mars-science
246•pseudolus•19h ago•73 comments

GeoLibre 1.0

https://geolibre.app/
269•jonbaer•19h ago•22 comments

L'Affaire Siloxane

https://mceglowski.substack.com/p/laffaire-siloxane
250•idlewords•2d ago•43 comments

Vacuum-Form Signage

https://bethmathews.substack.com/p/the-history-behind-the-signs-lighting
77•benbreen•1d ago•11 comments

Show HN: Extend UI – open-source UI kit for modern document apps

https://www.extend.ai/ui
225•kbyatnal•20h ago•63 comments

Klondike Solitaire game for curses in 5k of C

https://nanochess.org/klondike_in_c.html
89•nanochess•2d ago•15 comments

Who's the smartest corvid?

https://thetyee.ca/Culture/2026/06/05/Whos-the-Smartest-Corvid/
130•NaOH•1d ago•113 comments

Symbolicating a minified stack trace by hand: why source maps can't do it alone

https://tracewayapp.com/blog/deep-dive-into-the-sourcemaps
4•dusanstanojevic•1d ago•0 comments

CSS: Unavoidable Bad Parts

https://matklad.github.io/2026/06/04/css-unavoidable-bad-parts.html
100•surprisetalk•2d ago•57 comments

World Capitals Voronoi

https://www.jasondavies.com/maps/voronoi/capitals/
109•vincnetas•2d ago•55 comments

Building an HTML-first site doubled our users overnight

https://mohkohn.co.uk/writing/html-first/
1179•edent•1d ago•531 comments
Open in hackernews

HTML is a native image format, hear me out

https://hmml.eddocu.com
26•yeargun•2h ago

Comments

yeargun•2h ago
## What's an image

We consider rasters as image (.jpeg, .webp, ..)

We also invented svgs, its a vector. SVG is a declarative language, has its own format and has own renderer

HTML, CSS is no different. `<div style="background:black">html is underdog</div>`

Having this perspective on our mind, even considering any imperative code as a native image makes complete sense. `canvas.drawCircle();`

So, .html/.hmml/.js is as image as .webp

====

## How can we/future's genAI models could leverage the world's most popular and feature rich image format (HTML, CSS, JS, SVG, IMAGE altogether). And how can we leverage it to build editable/composable images?

This so to 'popular' image format we call .html has a caveat. It's UTF-8, and whenever you need to embed any resource, you either need to base64 encode it(it has extra size overhead) or link the resource as a seperate thing. So.. as you decide to serve single pack of data for a single image, a binary packing strategy makes sense.(Image can be anything as we discussed earlier)

To match these concerns, we created/proposing you a new format, HMML (HyperMedia Markup Language).

HMML (HyperMedia Markup Language) is a declarative+imperative markup+ language for images/videos/media.. *HMML is HTML, CSS, JS, SVG, image, but not UTF-8.*

https://hmml.eddocu.com

and we have a npm library that does encode/decode of this binary format, and mounts the so to image into dom. (2kb js for encode/decode each. For comparison React is 90kb js. )

`npm i @eddocu/hmml`

# image-leftdog-rightcat.html

``` <div style="display:flex"> <img src="base64" alt="i am dog image" /> <img src="base64" alt="i am cat image" /> </div> ```

Apart from doing this, hmml does embed the html, css, js blueprint into media binaries

# image-leftdog-rightcat.hmml

`binary stuff`

People already do similar things. But this format or POV of thinking accepts html/css/js as a native image format. Excited to see if future operating systems/browsers also accepts this format. <hmml /> or <img src="maybe.hmml" />

===

``` <Technical-Appendix> The word "green apple" is an image, that has no format and no renderer.

`const vectorMultiDimensional_768 = get_word_embeddings("green apple")` Now the word green apple has a format, its: "embedded by Embedding Model X" If you had a renderer as such Embedding_Model_X.render()

Now you could call entire english sentences/paragraphs are images. </Technical-Appendix> ```

bs or not. what you think?

plating1•1h ago
wait this is actually kinda brilliant in a weird way

like when you think about it we're already doing this with svg and nobody bats an eye. svg is literally xml markup that renders as an image and everyone just accepts it as normal

also the composability angle is interesting. being able to edit an "image" by just opening it in text editor instead of photoshop has some appeal

webdevnotlame•1h ago
that sounds interesting but can't find clear use cases
yeargun•1h ago
In fact it has lots of use cases,

1- For design tools, they can combine multipe images, texts, svgs and serve them with single pack/abstraction

2- When you need editable/composable images.

3- Future genai models for generating visuals/html/js/svg would have more feature rich abstraction/toolset

4- When you want to prevent base64 size overhead

c048•1h ago
You can also paint by squashing flies against a wall. Doesn't mean it's a good, or efficient, idea.
yeargun•1h ago
thats a great observation. In fact, I also tried how efficient wall painting is :D

https://x.com/yeargun24/status/1825516494861508943?s=20

And, yes. HTML & CSS rendering without js is doable with like max 400mb of ram? Idk. Sometimes the tradeoff worths, sometimes not

beardyw•1h ago
Isn't this making HTML in some ways more like a PDF? Or am I missing the point?
yeargun•1h ago
Nope

PDF is an irreversible format in terms of editability. (btw I build the world's most performant pdf/pptx editor at https://eddocu.com , I would enjoy if you have any feedback)

Regardless, I cant find the relation in between.

It's like an abstraction that might help future genai models, or a packing strategy, or ..

TazeTSchnitzel•1h ago
I would rather see native browser support for the familiar MHTML (https://bugzilla.mozilla.org/show_bug.cgi?id=40873) than creating a brand new format that does the same thing.

The AI slop homepage is really offputting too.

xnx•1h ago
Chrome started supporting this at some point (though I wish they would've added in motw support). Lack of support for mhtml is one of the things keeping me away from Firefox on mobile.
yeargun•1h ago
Completely agree with that. But look whats the situation with MHTML.

""" Open Bug 40873 Opened 26 years ago Updated 27 days ago """

So if you need some such feature in your web app, and if you are okay with 2kb encode/decode js. Its all good.

At least the posts are pretty much not AI slop I guess.. But I'll take your feedback. Thanks!

bjt12345•1h ago
This cute homepage provides me with nostalgic memories of Geocities spinning skull GIFs.
Tade0•1h ago
> Opened 26 years ago Updated 27 days ago

That's a particularly long discussion.

apt-apt-apt-apt•1h ago
There's so much text but nothing that clearly says what it is.

Is it HTML and its contents (e.g. images) in a binary format?

yeargun•1h ago
yes exactly.

you can go devtools at https://hmml.eddocu.com

it downloads single binary that contains media assets (svg, image, video, ..) and html/css blueprint, even js (security concerns!)

roywiggins•1h ago
Common side-effect of letting Claude write your landing page.

Apparently it's mostly this:

    // ENCODE — pack(html) → one .hmml (a Uint8Array you store or send)
    //   · lifts every data: image out of the HTML into raw bytes (no base64)
    //   · gzips the HTML/CSS/JS and frames it all as one binary blob
blixt•1h ago
If this shows itself to be highly useful as a concept, then I would perhaps avoid reinventing the wheel on the file format side of things, and just standardize what we already have:

- Come up with a file extension (.hmml)

- Decide on an entrypoint filename and format (index.html)

- Use an existing standard for combining resources into one file (tar + zstd)

Now you have something that is usable only using pre-existing tools.

yeargun•1h ago
Yeah I agree

in fact this is both a packing strategy or a POV of thinking. Next browser versions could support it.

<img src="html-underdog.hmml" />

or

when tomorrow's genai models mix declarative images with rasters, then they would like something like this

or

OS -> html-underdog.html double clicks -> browser opens it.

assimpleaspossi•45m ago
Note: the <img> tag does not use and does not need a closing slash and never has in any HTML specification.
yeargun•42m ago
Same HTML specification does not support .hmml

Until they support .hmml imma close my image tags. But thanks for highlighting

(its a joke)

assimpleaspossi•37m ago
Closing an <img> tag with a slash has no meaning. It does nothing. And browsers ignore it. So it's pointless cause <img> is self-closing by itself.
mpeg•1h ago
I don't understand the advantage of this vs an html file with embedded images, except the latter would work with no runtime.
yeargun•58m ago
If you plan to serve your image with a self contained, single pack.

Then with html + rasterized images (.jpeg/.png, ..) you would have to pay extra size overhead caused by base64.

With hmml, you dont

mpeg•53m ago
I get that, but the drawbacks outweigh the benefits imho and the b64 overhead is not solved, just deferred.

Say I want to distribute an hmml file as a single file, I'd have to create an html with the embedded js runtime, and then embed the hmml file... as b64, therefore negating any benefits.

wewewedxfgdf•1h ago
This is the sort of weird thing I would come up with - a solution without a problem perhaps, but a magnificent testament to some technical itch that had to be scratched.
yeargun•53m ago
I mean,

https://eddocu.com It's the worlds most performant pdf / pptx editor on web.

I have a page that I list documents, each with their thumbnails. I serve medium quality rasters(.webp) for them.

I could rather do it via hmml to save up network space for instance. I convert pdf/pptx/docx into completely editable with html at Eddocu.

So I already have everything in html, css, svg, image.

For the ones that can get represented with .hmml i could serve hmml link maybe.

Its an overengineering maybe.

But thats how I made https://eddocu.com world's most performant pdf/pptx editor. (alpha release, has bugs.)

warpech•54m ago
What wrong with inlining base64 in regular .html if you want it all in one file?

Plus zipping that one file is you insist on a smaller file size

yeargun•50m ago
Same zip also helps serving .hmml from cdns smaller (gzip/brotli)

Even then base64 is worse in size though

Also I wouldn't prefer serving a zip and load and render it within my web app (extra overheads).

AbuAssar•52m ago
this page failed to convey what exactly is the main pitch, is it a new image format? using html as image? rendering with canvas?

I got lost

yeargun•50m ago
sorry for this, im updating

in the meantime you can take a look at this

https://www.reddit.com/r/Design/s/hv0hyBow9I

unleaded•50m ago
https://www.nicovideo.jp/watch/sm2796083
ricardobeat•48m ago
A vibe-coded, binary mashup of SMIL and web components. Interesting.

If the goal is self-contained documents, is there anything here that can’t be achieved with SVG alone, using SMIL [1] and embedded HTML via <foreignObject>? Or an existing engine like Rive?

[1] https://developer.mozilla.org/en-US/docs/Web/SVG/Guides/SVG_...

yeargun•40m ago
happy that it interested you
chrismorgan•47m ago
I’ll engage with the editorialised title (which will probably be changed soon), “HTML is a native image format, hear me out”:

  data:image/svg+xml,
  <svg xmlns="http://www.w3.org/2000/svg">
    <foreignObject width="100%25" height="100%25">
      <div xmlns="http://www.w3.org/1999/xhtml">
        Behold!
      </div>
    </foreignObject>
  </svg>
voidUpdate•30m ago
That's pretty much what I was thinking too. "A way to create an image, with parts that can be edited using tags, that an LLM can deal with... this sounds like SVG"
yeargun•13m ago
yes but not every image/visual is efficiently representable with svgs. sometimes we need rasters
voidUpdate•5m ago
Luckily, you can embed raster images inside SVGs https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/E...
nobrains•39m ago
That "view page source" took some loong time to load.
etiquette•37m ago
> A real food-delivery page - markup, images & an SVG animation in one .hmml, 30% smaller than the same page as base64

Why the comparison with Base64 when Base64 itself has approximately 33% size overhead?

yeargun•34m ago
A: I want to serve html with images all in single pack

You have 2 options.

- Embed images into html (base64, size overhead)

- embed html/css/js into media binaries

.hmml is the packing strategy for option two. 2kb js for encode/decode. And extra rantings around what a 'digital image' is

sltkr•9m ago
If you compress the HTML, which you want to do anyway for HTML/CSS if you care about file sizes, then most of the base64 overhead goes away:

    $ head -c 1000000 /dev/urandom | base64 -w0 | gzip | wc -c
    1009042

    $ head -c 1000000 /dev/urandom | base64 -w0 | zstd | wc -c
    1000300
So gzipped base64 can add less than 1% overhead. Of course a binary format can be even more efficient (also when decoding, I imagine) but the question is if the difference is big enough to introduce an entirely new format when base64 data URIs are already widely supported.

Then the other question is why this proposed packed format is better than the dozen already existing formats like Web Archive, CHM, MAFF, MHTML, etc.

TZubiri•35m ago
Not the first time I saw this Hero header with text that's being written in real time, which is very cute but actually causes the layout to change every second.

I guess it happens when people vibecode and the llm generates code, and it cannot verify that the interface actually works well. Even with agents that use drivers either directly or through playwright/selenium, they might only see a single screenshot, so no video.

Anyways, immediately stopped reading, as the new adage goes, why should I read something you weren't bothered to write?

yeargun•23m ago
sorry for the bad experience

Some parts are llm written, yes but first parts of the webpage, I thought conveyed the general idea.

I know I lost some trust you have to me by partially vibecoded landing page here is a reddit post that I 've written (im human)

https://www.reddit.com/r/Design/s/mgDApes3hY

t1234s•26m ago
Looks like reinventing macromedia flash
G_o_D•24m ago
Isnt MHTML : THE HTML+CSS WITH BINARY Images embedded.A perfect Snapshot of site.

All we need is browsers to render Served MHTML

And JS Support in MHTML

Semaphor•22m ago
Opened. Had some typing animation make the page jump around because the text would switch between one and two lines. Closed the slop.

The frequency of these things certainly rose with AI.

malicka•30m ago
Unless you’re the type who wants their HTML to be valid XHTML! :^)