So this allows everything to work in a broadly compatible, but still user friendly way. The downshot is that as a user, you need to be consistent with your casing.
That said, I don't think it'd be unreasonable to case-fold in THIS instance, since it's within the same mastodon-scoped instance.
Okay, a few things:
1/ The VerifyLinkService does a case-sensitive compare, even of the domain. https://github.com/mastodon/mastodon/blob/c3aef491d66aec743a3a53e934a494f653745b61/app/services/verify_link_service.rb#L31
2/ The ActivityPub spec doesn't specifically mention case, but since URIs are used for identifiers and URIs are technically case sensitive (apart from the hostname), that makes identifiers case sensitive. https://www.w3.org/TR/activitypub/#obj-id
3/ ((And this part is just supposition)) Mastodon sweeps case under the rug by preventing two accounts from having the same case-insensitive identifier.
S1E17, she tossed it out again. Putting this on Joss primarily, but at a certain point can't Charisma be like, "Can we pick a better word here?"
I mean, I know it was less taboo at the time, but it was definitely in the poor taste column.
I ended up putting on the Hamilton sound track. I actually napped briefly, but I woke up in (light) tears.
Evidently all those ipads they put in airports around the world are already irrelevant.
They're literally just mechanisms for presenting QR codes now and you order from your phone and pay with applePay/googleWallet.
This is why we have a garbage patch in the pacific.
P.S. If you see this toot in the next half hour, you might be tempted to order me a Tequilla Sunrise, then reply to let me know it's coming. Definitely not. That would be irresponsible.
While I applaud the recent migrants from Twitter who've decided that enough is enough, the sad reality is that you (and we) are the minority. The VAST majority of twitter users don't give any fucks who owns the platform and will continue yelling at brands like any other day ending in Y.
Twitter is going to be a shitstorm for a LONG time to come yet.
Stay buckled in, and enjoy the relative peace of the fediverse.
Walgreens 2000: You can buy AA batteries in packs of 2, 4, or 8 if you're insane.
Walgreens 2022: Most stuff has it own rechargeable batteries these days, but we still carry AA batteries, but to make sure it stays convenient we now only offer them in handy travel packs of 16 or more.
Me, with my insulin pump that uses precisely one AA battery...,
You might not toot without Bruno, no no...
e.g.
function psrN_autoload(string $class): void {
$path = explode('\\', $class);
while (count($path)) {
$file = ROOT_PATH . implode('/', $path) . '.php';
if (file_exists($file)) {
require($file);
return;
}
array_shift($path);
}
throw new \Exception("class '$class' not found");
}
Hrmmmm. Maybe I should propose a new autoloading PSR. Basically, PSR-4 with class tree fallback.
Then you could dump your numerous struct classes into a single namespace file instead of making a bunch of little ones, while still having regular PSR-4 love. It'd be entirely BC with PSR-4 layout, so no migration fails.
I do #OpenSource, and I'm one of the Release Managers for #PHP 7.2 and 8.0.
PHP toots happen at: @pollita
For everything else, you're in the right spot.
Also, I seem to rate/review #TV shows and movies lately. Not sure when that started.... weird...
#fedi22 #programming #code #c++ #cpp #oss #foss #sailing
Toots are my own opinion and do not represent my employer(s).