News for hackers. Stuff that matters.
Re:LLMs can read and write executables byte by byte from a h... by shermantanktop on Saturday November 21, 2026 @12:10PM (#50591274)
[delayed]
Re:LLMs can read and write executables byte by byte from a h... by catlifeonmars on Saturday November 21, 2026 @03:12PM (#50593165)
[delayed]
Re:LLMs can read and write executables byte by byte from a h... by pastel8739 on Sunday November 22, 2026 @03:48AM (#50597556)
A raster is not always larger than a vector; if you try to precisely vectorize an image of the real world (modeling each pixel), the vector version will be larger
Re:LLMs can read and write executables byte by byte from a h... by catlifeonmars on Sunday November 22, 2026 @11:45AM (#50601296)
[delayed]
Re:LLMs can read and write executables byte by byte from a h... by pastel8739 on Sunday November 22, 2026 @12:44PM (#50601955)
For a single black pixel, you can encode a raster in 1 byte (for the color). How will you encode that in 1 byte with a vector encoding? Seems to me that you’ll need to specify the color (1 byte) and some coordinates (more).
Re:LLMs can read and write executables byte by byte from a h... by catlifeonmars on Sunday November 22, 2026 @01:04PM (#50602182)
[delayed]
Re:LLMs can read and write executables byte by byte from a h... by pastel8739 on Sunday November 22, 2026 @01:36PM (#50602498)
Sure if your encoding includes the image itself, but you can do that with a bitmap encoding too if you want
Re:LLMs can read and write executables byte by byte from a h... by catlifeonmars on Sunday November 22, 2026 @04:11PM (#50603947)
[delayed]
Re:LLMs can read and write executables byte by byte from a h... by catlifeonmars on Monday November 23, 2026 @03:53AM (#50609091)
[delayed]
Re:LLMs can read and write executables byte by byte from a h... by tancop on Sunday November 22, 2026 @02:40PM (#50603131)
You can trivially transform any raster encoding into a vector one by adding 1 bit that means "decode the rest of this file as raster".

It's technically not just as efficient but the difference is constant and the smallest possible one. And the majority of images that are more efficient as vectors will compensate for it.

Re:LLMs can read and write executables byte by byte from a h... by pastel8739 on Sunday November 22, 2026 @08:50PM (#50606501)
Fine, but that’s not a vector encoding. I just don’t think it’s true that vector encoding is better for most images. In particular, for any photograph.
Re:LLMs can read and write executables byte by byte from a h... by coldtea on Saturday November 21, 2026 @08:31PM (#50595345)
>Executables are often larger than their source code.

Not because they contain more information. Just stuff like inlining or different expression, plus image and other similar assets that we can ignore for this.

Re:LLMs can read and write executables byte by byte from a h... by shermantanktop on Sunday November 22, 2026 @02:03AM (#50597026)
The term I would use is “projection” rather than compression.

Code belongs to the domain of source code. Compilation is a projection of that code into the domain of executables, and that involves enough types of transformation and mapping that it is a one-way operation.

From an information standpoint, some information is added (e.g. optimizations that encode knowledge about efficient bytecode) and some information is lost (e.g. the use of types that adapt to the native word size).

Re:LLMs can read and write executables byte by byte from a h... by mycall on Sunday November 22, 2026 @10:24AM (#50600514)
Projection as an instantiation, makes sense.