News for hackers. Stuff that matters.
Re:Show HN: MynaUI Icons – 1180 Beautifully Crafted Open Sou... by freetonik on Tuesday October 15, 2024 @06:38AM (#41847128)
OK sure, bad example. A Photoshop .psd file then.
Re:Show HN: MynaUI Icons – 1180 Beautifully Crafted Open Sou... by alfredgg on Tuesday October 15, 2024 @07:23AM (#41847375)
I am not entirely familiar with the .psd format. However, a rule of thumb is that if you can open an image file in a text editor, see readable code, and modifying the code affects the image, then the image is definitely written in code.
Re:Show HN: MynaUI Icons – 1180 Beautifully Crafted Open Sou... by ffsm8 on Tuesday October 15, 2024 @08:25AM (#41847833)
TIL that Excel saves files as source code, as xlsx is XML
Re:Show HN: MynaUI Icons – 1180 Beautifully Crafted Open Sou... by echoangle on Tuesday October 15, 2024 @11:28AM (#41849598)
Is that supposed to be sarcastic? If a HTML source counts as „source code“, the excel file should count, too, right?
Re:Show HN: MynaUI Icons – 1180 Beautifully Crafted Open Sou... by ffsm8 on Tuesday October 15, 2024 @12:49PM (#41850506)
It just depends on the way the file is actually is in practice.

For xslx you basically get a XML file with a single tag, which then contains the whole content as a binary blob, stored in an attribute.

Just like you can make an svt that is essentially a single path tag with hundreds of numbers in a single attribute

And for the record, you can also do a single html tag with a gigantic inline blob binary. Calling that source code is just at best technically correct, because it practically isn't