Ladies and gentlenerds, it is with profound pleasure that I introduce to you,

Mira Delenn Furlan Dane

I don't know how but she already loves me.
It's truly amazing.

I feel guilty for taking up >14 MB on that last toot, but the downscaler on my phone didn't seem to have a batch mode. :(

But then again, I think Ad?min is def' gonna be ok with this one ;)

@rl_dane

It's a worthy cause. :)

Also GoToSocial automatically does compression and what not.

@amin

That was the size downloaded (looking at /tmp/tutfile1111111yaddayadda.jpg)

Random aside, why the heck are people still enforcing three-letter extensions? That's so dumb. :P

@rl_dane

Most clients show different images based on support and screen size I think. Tut downloads the maximum resolution every time.

@amin

Which would give a good idea of how much space it's using on the server, no?

@rl_dane
Sure, I guess. I worry more about bandwidth than storage space though.
@amin @rl_dane AIUI GtS only has a preview thumbnail and a fullsized image, extra compressed though
@mirabilos @rl_dane
On the webview, yeah.

@mirabilos @rl_dane

It's definitely generating some other stuff though, as I recall from the last time I looked through the files…

@amin @rl_dane I just see attachment/original/ and attachment/small/

@mirabilos @rl_dane

Hm maybe. It's been a while. I thought it was generating other formats too.

@amin @rl_dane haven’t seen that but don’t want to categorically exclude the posibility. I only ever saw it ship the original PNG/JPG and create a JPG thumbnail that sometimes was larger than the original PNG. They now switched to WebP, which nobody wants or can display except on vastly modern tech, but the principle is probably still the same.
@rl_dane
Be glad it's not ".jpe"...
@amin

@ddlyh @rl_dane

Speaking of, the "P" should pronounced as an "F". After all, it stands for "Photographic".

I will die on this hill.

@amin
I mean, strictly speaking, it should be "JFIF" anyway...
@rl_dane

@ddlyh @amin

JFIF is the container format. JPEG is the spec/algorithm.

...as I understand it...

@rl_dane @ddlyh

Strictly speaking, "JPEG" is the name of the group that made the spec. "Joint Photographic Experts Group". ;)

@amin @rl_dane @ddlyh and .jpg is β€œJPEG-encoded Photo or Graphic”, bam.

@mirabilos @amin @ddlyh

I'm not a fan of providing retronyms for abbreviations necessitated by crappy operating systems and/or crappy conventions.

It should always be .jpeg, in my book.

@rl_dane
I still use .htm for my HTML files, so you'd probably hate my websites...
@mirabilos @amin

@ddlyh @mirabilos @amin

I'm used to it BUT WHY DOUGH

@rl_dane @mirabilos @amin I like the idea of my webpages being openable on DOS machines or Windows 3.11 and earlier...

@ddlyh @mirabilos @amin

I'd like someone to test whether or not a dos/win3.x machine can view a webpage ending in .html

I'm thinking it totally could, because it's not saving the entire filename locally. Even when cached it's probably saved to something like ABCD3991.HTM and has a db or lookup table or something.

Because even in the really early days of the web, individual web pages were often longer than 8 characters.

@rl_dane @ddlyh @mirabilos

Could it visit a site like mine which has no file extensions but properly sends the content-type: text/html header?

@amin @ddlyh @mirabilos

Depends on what version of http that feature came from, and what the browser supports, I suppose.

@rl_dane @ddlyh @mirabilos

It's in the HTTP 1.0 spec. πŸ€·β€β™‚οΈ

https://www.w3.org/Protocols/HTTP/1.0/spec.html#Content-Type

Hypertext Transfer Protocol -- HTTP/1.0

@amin @ddlyh @mirabilos

Then hopefully so, but no idea for sure.

@rl_dane @mirabilos @amin As someone who once tried to get Viola running on a (then) modern(ish) computer, when you say you want to test it out, I worry about the world of pain you're walking into...

(DOS/Win16 browsers/Internet are much nicer now, but old ones were hard to set up then and are even harder to get working now).

@ddlyh @rl_dane @amin it can, remote URLs are not filenames and not subject to their limitations, BTDT around 1997

@ddlyh @amin @rl_dane nah, 3-char extensions are fine and the usus.

And in some cases even more correct, e.g. in .htm (as the file is not the language).

@mirabilos @ddlyh @amin

Then it should be .htmf πŸ˜…

I still think three character extensions are a dumb constraint.

This ain't C/PM.

@rl_dane @ddlyh @amin cd9660 has the same restriction, and Unix filesystems originally 14 chars in total, too.

Also, more tidy and less to type.

@mirabilos @ddlyh @amin

14, really?
I had always heard 255. How long ago was it 14?

@ddlyh @amin @rl_dane pre-Berkeley UFS and such

@mirabilos @ddlyh @amin

Interesting. I'm guessing proper long file names was another #BSD innovation, then?

@mirabilos @amin @rl_dane Interestingly, some old 8.3 systems were really a char-limit of 12 total and just allowed 8.3 for compatibility.

@ddlyh @mirabilos @amin

I thought it was always just an 11 character filename and the fullstop was in a static position.

@rl_dane @mirabilos @amin Usually, yes. Some custom systems (such as the Amstrad NC series machines) just went with 11 or 12 chars total...

@mirabilos @ddlyh @rl_dane

And if we’re talking the Unix world the file extensions are basically ignored anyway. It’s only on Windows that it actually matters.

@amin @ddlyh @rl_dane that, too.

@amin @ddlyh @rl_dane though using them is still beneficial. Consider…

for f in /etc/profile.d/*; do . "$f" done

… versus…

for f in /etc/profile.d/*.sh; do . "$f" done

… and now tell me which one you’d choose for which reason.

@mirabilos @ddlyh @rl_dane

With the latter I can add a .disabled or something to the end of a filename to keep it from being sourced, so that's what I'd do. If I wanted that.

@rl_dane @amin @ddlyh also .dpkg-old and ~ (editor backup) are ignored

@amin @mirabilos @ddlyh

Ehh, kinda.

Graphical file managers (Yes, I know the REALLY cool kids don't use 'em) use the extension to determine the mime type.

The craziest was classic Macintosh OS, which did not use extensions at all (and most applications (especially in the early days) did not create them). File type was determined by an invisible (kept in the fs metadata) case-sensitive four-character alphanumeric file type code, and file association was determined per file via a similar four-character creator code.

So a PNG you created in Photoshop would always open in Photoshop, and a PNG you opened in Illustrator would always open in Illustrator. And a file named "Mona Lisa" was just "Mona Lisa," not "Mona Lisa.JPG" or "mona_lisa.jpeg." Later Macintosh applications started adding extensions to standard files (like JPEGs) to ease compatibility with PCs, but most native Macintosh applications had no three-letter extension set or defined in any way.

Somehow, we never thought all that that odd in the least.

Modern MacOS is even weirder, using neither extension, MIME, nor type codes, but something else I don't know the name of (but it's strongly tied to extension and MIME type)

@rl_dane @mirabilos @ddlyh

(Yes, I know the REALLY cool kids don't use 'em)

I don't use TUI ones either. :P

@amin @mirabilos @ddlyh

There are some workflows for which a GUI fm helps. For that, I use Dolphin.

But most of the time, I just use bash and a few custom scripts that make heavy use of fzf. ;)
Oh, and edir. That's super helpful.

@rl_dane @mirabilos @ddlyh

True. I use vidir (from moreutils) now though, so I don't need to install via pipx.

@amin @mirabilos @ddlyh

I like vidir, but it doesn't use trash. I prefer to use the trash, just in case. ;)

@rl_dane @mirabilos @ddlyh

I've stopped bothering with the trash. :P

@amin @mirabilos @ddlyh

Well, at least you have borg. How often does yours run? I have mine set to 15 minutes, as the diffs are quite small.

@rl_dane @mirabilos @ddlyh

Mine are hourly to multiple locations. Never losing more than an hour's work is an acceptable situation for me.

@rl_dane @mirabilos @ddlyh

If you have 15-minute backups, why do you need the trashcan? πŸ˜‚

@amin @mirabilos @ddlyh

Do not underestimate the POWAH of the dork side!!!!

@amin @mirabilos @rl_dane Only on the commandline - in graphical shells, the Unix world uses them for the icons.

It's RISCOS that ignores them pretty much entirely (I think?)...

@ddlyh @amin @mirabilos

I need to play with RiscOS.

I need to get a proper three-button (no wheel) mouse, first.