60 points

There are 3 types of files. Renamed txt, renamed zip, and exe

permalink
report
reply
55 points

Ah, good ol’ Microsoft Office. Taken advantage of their documents being a renamed .zip format to send forbidden attachments to myself via email lol

On the flip side, there’s stuff like the Audacity app, that saves each audio project as an SQLite database 😳

permalink
report
reply
29 points

Also .jar files. And good ol’ winamp skins. And CBZ comics. And EPUB books. And Mozilla extensions. And APK apps. And…

permalink
report
parent
reply
20 points

SQLite is amazing. Shush.

permalink
report
parent
reply
16 points

an SQLite database

Genius! Why bother importing and exporting

permalink
report
parent
reply
10 points

Minetest (an open-source Minecraft-like game) uses SQLite to save worlds.

permalink
report
parent
reply
5 points

Mineclone2 is an absolute masterpiece of a game for Minetest IMO

permalink
report
parent
reply
3 points

It used to use project folders, but due to confusion/user error was changed in 3.0.

permalink
report
parent
reply
15 points

that saves each audio project as an SQLite database 😳

Is this a problem? I thought this would be a normal use case for SQLite.

permalink
report
parent
reply
10 points

doesn’t sqlite explicitly encourage this? I recall claims about storing blobs in a sqlite db having better performance than trying to do your own file operations

permalink
report
parent
reply
8 points
*

Thanks for the hint. I had to look that up. (The linked page is worth a read and has lots of details and caveats.)

The scope is narrow, and well documented. Be very wary of over generalizing.

The measurements in this article were made during the week of 2017-06-05 using a version of SQLite in between 3.19.2 and 3.20.0. You may expect future versions of SQLite to perform even better.

https://www.sqlite.org/fasterthanfs.html

SQLite reads and writes small blobs (for example, thumbnail images) 35% faster¹ than the same blobs can be read from or written to individual files on disk using fread() or fwrite().

Furthermore, a single SQLite database holding 10-kilobyte blobs uses about 20% less disk space than storing the blobs in individual files.)

Edit 5: consolidated my edits.

permalink
report
parent
reply
37 points

Also renamed xml, renamed json and renamed sqlite.

permalink
report
reply
12 points

Those sound fancy, I just use renamed txt files.

permalink
report
parent
reply
3 points

Use binwalk on those

permalink
report
parent
reply
Deleted by creator
permalink
report
parent
reply
2 points

Microsoft office also is xml

permalink
report
parent
reply
19 points
*
Removed by mod
permalink
report
reply
15 points

When i discovered as a little kid that apk files are actually zips i felt like a detective.

permalink
report
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 4

    Monthly active users

  • 755

    Posts

  • 2.2K

    Comments