Live data from Hacker News

I Stored a Website in a Favicon

timwehrle.de

91–100 of 120 posts

Re: I Stored a Website in a Favicon

#91

I found the agressively staccato, clearly LLM-generated content extremely difficult to read.

I like the way it's written. I often write in a similar manner and I have never used LLMs to generate an writing for me. I have written exactly this way at work. Too me, the author is just trying to get to the point. They know people start skimming if there is too much text.

> The important catch

> The favicon doesn't actually contain the whole website itself.

This is the kind of thing that is extremely idiomatic LLM speak. There's nothing particularly wrong about it per se, but it just makes everyone who is familiar with LLMs say "oh, it's written by an AI" and it just becomes disappointing.

Re: I Stored a Website in a Favicon

#92

Earlier quoted context omitted.

You might find my tinkering useful: https://strich.io/blog/posts/embedding-webassembly-in-qrcode... A QR code isn’t much different from a favicon I guess. :)

The link is 404

It’s not for me?

Re: I Stored a Website in a Favicon

#93

Is this timing coincidence? I just submitted 1h (30 mins before this) ago a website I just made about storing your stock porfolio in a URL + favicon! https://news.ycombinator.com/item?id=48606396

Then there is this one. Seems to be a trend.

“Pong in S Favicon” https://news.ycombinator.com/item?id=48608681

Re: I Stored a Website in a Favicon

#95

> The length header is important because the image itself may contain unused pixels at the end. If there's no length value, there's no way to know where the real payload stops. Not really, can’t you just pad with 0 bytes and stop reading when you encounter one that’s not part of the current Unicode codepoint?

Zero bytes won't ever be part of a multi-byte character in UTF-8. They simply represent code point 0 (which is valid, but wouldn't appear in normal text) by themselves.

Re: I Stored a Website in a Favicon

#96
post #37

Fun Fact: You can use any inline SVG for a favicon and keep it right in the HTML document. This also allows you to use an emoji directly as a favicon, like so: (your emoji here) " /> (HN isn't showing the emoji)

Just as a heads-up, if you do this and you want to use #rrggbb color codes or url(#id) links, you have to escape the # as %23, otherwise it gets parsed as a URL fragment and your SVG code is cut off there.

Re: I Stored a Website in a Favicon

#97
post #95

> The length header is important because the image itself may contain unused pixels at the end. If there's no length value, there's no way to know where the real payload stops. Not really, can’t you just pad with 0 bytes and stop reading when you encounter one that’s not part of the current Unicode codepoint?

Zero bytes won't ever be part of a multi-byte character in UTF-8. They simply represent code point 0 (which is valid, but wouldn't appear in normal text) by themselves.

Ah even better so you can just use null terminated strings

Re: I Stored a Website in a Favicon

#98
post #18

Earlier quoted context omitted.

The ico file format allows multiple resolution icons, so a lot of data

Good point, I might add a section in the article where I list alternative approaches. Thanks

Or just put the entire website in a and render it in the favicon.

Re: I Stored a Website in a Favicon

#100

I found the agressively staccato, clearly LLM-generated content extremely difficult to read.

There should be a pathology for thinking things must be LLM generated when it's simply not always the case.

People's ability to discern is completely fried.

Post reply on HN