Full stack web developer currently working mostly with #PHP / #Laravel, Vanilla #Javascript and #SCSS. Love learning more about (almost) anything, but particularly #MySQL and #InfoSec. Currently learning Arabic. Husband, father of two boys, Christian.
“Asked about Mr Johnson being turned away, Northern Ireland Secretary Chris Heaton-Harris, who served as his chief whip, told BBC Radio: ‘As someone who knows Boris well, I can't say it completely surprises me...’”
When you are deploying code to a server and not with containers then it is critical to know how to properly restart Opcache. Why? Opcache never throws old files out of the cache. Therefore, if a new version is deployed in a completely new directory, all files from the old version will remain in the [...]
@symfonystation I’ve been using systemctl restart php-from for a long time.
The problem with any of these other tools is that they always rely on some php code to refresh the opcache. But what if the opcache has an outdated version of that code cached?
I’ve been bitten by it a couple of times. So restart php-fpm is far more reliable for me.
Kicking up a stink about Amazon's failure to deliver a £700 iPhone to me (and then refusing to refund/replace) has - I'm delighted to say - resulted in the money being returned to me today. 🥳
What I've learnt:
★ Exploiting social media and video to complain can get the attention of AmazonUK's PR team
Amazon only fulfills their legal obligations if their customers have enough of an audience and enough technical skills to brew up a storm on social media 😠
@gcluley i believe the guardian (and maybe others) reported on this sort of problem a while ago.
They quotes several lawyers that made it clear that amazon was acting illegally here.
But of course you’d have to sue them, and they can afford better lawyers…
Best options are Section 75 claim (if paid by credit card), which you’d be almost guaranteed to win. Second best: chargeback, which you’d still be likely to win. If the bank refuses initially, raise a complaint and take it to the Financial Ombudsman if needed (but the ombudsman has a several months long backlog). Final option is Small Claims.
Problem is that Amazon will close your account when you do any of that, so you’ll have to do without Amazon from then onwards
I'm curious. What kind of volume are other #mastoadmin people seeing in their object storage?
I'm running a brand new instance with about 3 active users so far and a relatively low volume of stuff on the federated timeline. However my storage bucket is at nearly 6GB after 4 days of the instance being up. 🤯
I haven't set up the media cache retention setting yet, which might be a big chunk of it. But I'm curious what number people put in there and what their bucket size looks like.
There is a general content retention setting but that will ruthlessly delete anything older than the time specified, including posts I’ve bookmarked, favourited, or otherwise interacted with, so I haven’t turned it on yet.
I wish there was a proper way to delete non-interacted remote posts after a while. That I’d probably do …
Oh, is PHP finally gonna get an HTML5 parser? Hoping this will be implemented soon, because the existing parser really isn't suitable for anything but ancient HTML.
I've noticed a lot of chatter about setting up Elasticsearch for Mastodon 4.2's new full text search over the last few days, including what hardware is required, how difficult is it, etc.
So I thought I’d write down my experience, including the hardware I'm running Elasticsearch on for my single user instance:
I just checked, and it appears that only about 1% of all 300k Mastodon users that my instance knows about currently have opted into full text search 😢
Really hoping that number will increase!
Also, does anyone know how Mastodon indexes users from non-Mastodon fediverse servers? These presumably don't have the indexable flag set. I hope Mastodon still indexes those, given that pretty much all other Fediverse software indexes all users?!
(edit: been asked a few times how i got those numbers: Two simple SQL queries: select count(*) from accounts; followed by select count(*) from accounts where indexable = true;)
This is VERY bad news for users of small instances like myself.
I do understand the reasoning behind it, and I'm not sure there is a good alternative. But it sure feels a bit like a deja vu from the self hosted email days ...
Wondering if Mastodon GmbH filed a trademark complaint?
Also highlights one problem with Mastodon: you cannot change the domain name of an instance. If the problem (whatever it is) isn't resolved, the instance is gone forever.
I'm super happy to announce the release of #FediFetcher v6.0.0.
The headline feature is that FediFetcher now supports pulling in context and missing posts from #Lemmy servers! Thank you so much, @teq for your hard work.
This release brings no new features, but simplifies and unifies configuration of it: Instead of a large list of command line flags / environment variables, FediFetcher is now configured using a JSON file.
You don't need to update to this version immediately, but if you are running FediFetcher as a GitHub Action, you'll need to update and create a JSON file with options eventually, as configuration through Environment variables will no longer be possible going forward.
THIS IS A BREAKING CHANGE, so please read the release notes for detailed instructions, and let me know if you have any questions.
Properly restart Opcache after deployment ( tideways.com )
When you are deploying code to a server and not with containers then it is critical to know how to properly restart Opcache. Why? Opcache never throws old files out of the cache. Therefore, if a new version is deployed in a completely new directory, all files from the old version will remain in the [...]