Show newer

I'm talking with someone who's saying that, instead of setting up a instance, it's a perfectly valid video-content-hosting strategy to ensure that videos are archived by the Internet Archive and then point viewers to their version of the video; they say the IA is ok with this under "access drives conservation"

I'm *pretty sure* that's not an ok way to do things, but I'm coming up empty in terms of citations for why. Can anyone help (or tell me I'm wrong!)

m.xkcd.com/386/

Anyone have notification daemons/setups they like?

I've heard good things about Dunst, but haven't really used any seriously…

I've always used Apache as webserver, just because that's what I'm used to.
It seems that Nginx is now (by far?) the most popular server. Is there any particular reason why it's become so popular? What's the main advantage over Apache?

Going to be on mobile internet for a couple of weeks because I'm moving. Already downloaded a lot of movies, series, and YouTube videos. Any other suggestions for things I should do before I lose my unlimited internet later today?

How many types of mongers are there?

I'm familiar with "fishmongers" and "fearmongers", but I'm guessing there are others that aren't coming to mind.

If I want to represent a one-to-many data set (e.g., "each directory has many files"), then pretty much any contemporary programming language would give me good data structures to do so. (A Hash of Set, a Hash of Hashes, or a Hash or Arrays, in most languages).

But if I want to represent a many-to-many relationship (e.g., each email has many tags; each tag applies to many emails), then I can't think of any common data structure that would let me capture that in most languages.

Any idea why?

re: ^^^^ I was thinking abut the best way to handle options in CLI apps after reading a blog debate between Chris Wellons (who I thought was on the fediverse, but I guess not?) and @cks

Wellons argues for what I'm calling the GNU style: `ls --color=auto` passes an argument to `--color`; `ls --color auto` passes `auto` as a filename to `ls`. nullprogram.com/blog/2020/08/0

@cks argues for what I called the BSD style: `--color` either *always* takes a value or *never* does. utcc.utoronto.ca/~cks/space/bl

Show thread

Sometimes, it makes sense for a CLI program to have an option that can be called with or without an argument:

ls --color
ls --color=auto

This is called an "optional option argument". But OOAs are ambiguous if called with a space:

ls --color auto

Is `auto` an argument to --color or to ls?

I've seen this solved in 3 ways:

BSD style: Don't allow OOAs

GNU style: Require = for OOAs, but nowhere else

Python style: Heuristically guess based on the arg after the OOA

Which do you prefer? Why?

(I need to type faster. I got 2 messages telling me the out-of-date quote I posted was wrong before I could make that point myself. I <3 you all!)

Show thread

(2/2) ^^^^^ is from joelonsoftware.com/2004/06/13/ posted in 2004.

As much as I'm not always thrilled at the shift to the web and the bloat of modern browsers, it's also good to have a reminder of how far the web has come in a fairly short period of time.

Pretty much *none* of those complaints are still true today. I have other complaints, sure, but still!

Show thread

> Here are a few examples of things you can’t really do well in a web application:
* Create a fast drawing program
* Build a real-time spell checker with wavy red underlines
* Warn users that they are going to lose their work if they hit the close box of the browser
* Update a small part of the display …without a full roundtrip to the server
* Create a fast keyboard-driven interface that doesn’t require the mouse
* Let people continue working when they are not connected to the Internet

(1/2)

My favorite response when I ask someone for help 

The proper search terms. :flan_hearts:

Seriously. "I know this is a thing. It happened/I've seen it/you talked about it. WTF is it again?"

I don't need my hand held, I don't want to waste your time. If you can just give me the proper name of The Thing, I can probably find it myself. :flan_cool:

I'm not sure why, but my brain keeps merging and . It's like my brain only has one slot for "niche compiled language with a focus on performance and a three-letter name" and they're forced to share.

Sorry about that, zim

a TOS violation is when they delete your account because you posted a fanfic that had Klingons with forehead ridges in a 23rd century setting, right?

I continue to really like as a programming language. Even though I'm writing more these days, I still love Rust (and am writing something in it right now).

That said, it's increasingly clear to me that Rust is _primarily_ targeted at the Big Tech usecase (aka "at scale") and only secondarily interested in the Free Software usecase.

Today's news that the Rust Foundation is reserving *half* of its board seats for Big Tech provides additional confirmation.
foundation.rust-lang.org/posts

I have to say that I'm really impressed by the first virtual #FOSDEM. Wouldn't have expected that it works that well and that it is that much fun to participate. 🙂

Thanks a lot to all the organizers, speakers, people who run the booths, etc! Well done! 👍

wow, this may be the first plain-text fishing email I've ever seen: lists.sr.ht/~skeeto/public-inb

(And to the mailing list for a tech project, no less!)

Show older
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.