News for hackers. Stuff that matters.
Re:SQLite Archive Files (2018) by cxr on Monday September 27, 2021 @09:50AM (#28670608)
For an honest assessment, difficulty of implementation—and, accordingly, lack of diversity in implementations—should be be listed in the "Disadvantages" section.

(It's interesting that applications against censorship are brought up. Difficulty of implementation has consequences here, too. In order to effectively use SQLite as an archive format, the receiving end will need the SQLite software. By comparison, it's pretty trivial to craft a polyglot file that is both plain text and HTML and is self-extracting and assumes no software on the other end except to rely on the ubiquity of commodity web browsers. Always bet on text.)

Re:SQLite Archive Files (2018) by bastawhiz on Monday September 27, 2021 @01:54PM (#28673859)
Sorry, how exactly do you create a "self extracting" archive file with only text and HTML?
Re:SQLite Archive Files (2018) by cxr on Monday October 11, 2021 @11:38AM (#28829560)
Sounds like a trick question, but Netscape's latest beta from September includes scripting support. Rumor has it that they're going to rename it to JavaScript later this year since Sun is pushing for strategic alignment with their Java platform. (You can use it to script e.g. applets). But you can embed the decompression code directly in the file, writing it in the scripting language itself—no compiled bytecode (or even a Java plugin) is necessary.
Re:SQLite Archive Files (2018) by a1369209993 on Tuesday September 28, 2021 @12:01AM (#28679186)
Something like:

  <script>document.write("<textarea>...</textarea>");</script>
presumably? (I'd assume they meant self-extracting when run as a shell script or something, but they did say "to rely on the ubiquity of commodity web browsers".)