@michael@thms.uk
@michael@thms.uk avatar

michael

@michael@thms.uk

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.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

jan, to random
@jan@kcore.org avatar

Hmm. Mastodon reached the open file limit again, yet this is set at the 65535.

michael,
@michael@thms.uk avatar

@jan I got that yesterday too. Mine is set at an insanely large number (forgot what it was, but I’m pretty sure it was 20+ digits)

sarah, to php
@sarah@phpc.social avatar

What do you use for offsite backups for applications and databases?

michael,
@michael@thms.uk avatar

@sarah SnapShooter. Works great imo and very reasonably priced.

michael, to random
@michael@thms.uk avatar

Hm. Since today my sidekiq is full of these errors

HTTP::ConnectionError: failed to connect: Too many open files @ rb_sysopen - /etc/resolv.conf on […]<br></br>

I'm sure I've seen reports on and pointers to fix this before, but can't find it anymore. Can anyone help please?

michael,
@michael@thms.uk avatar

@jenbanim Thanks. I was vaguely aware of this, but not quite sure what best practices are for mastodon.

michael,
@michael@thms.uk avatar

@bergmeister thanks for this. Very strange …

michael, (edited ) to random
@michael@thms.uk avatar

There really is nothing you can't buy on Amazon, is there?!

https://www.amazon.com/dp/B000796XXM

paul, to random
@paul@oldfriends.live avatar

What's the proper URL for searching through Mastodon if you were doing a search via a URL?

For example, searching 'SearchContent has: media" Google would be https://www.google.com/search?q=searchcontent+has%3A+media"

I would like to add my Mastodon instance to my browsers search engines list. Interestingly, Miskey and Sharkey and some other federated platforms I've been to are already added.

I'm getting great results for content from my Mastodon search than Google and Bing, + no ads, and tracking.

michael,
@michael@thms.uk avatar

@paul You can't do this at the moment. It is apparently “planned, probably for 4.3”:

https://github.com/mastodon/mastodon/issues/26868

GossiTheDog, to random
@GossiTheDog@cyberplace.social avatar

I’ve a feeling at this rate I’ll be the opening act for Co-op Live. Give me a microphone and a hard hat.

michael,
@michael@thms.uk avatar

@GossiTheDog I really do feel for the poor person who convinced their superior to buy the naming rights on that:

“Every time the place is mentioned our name will be mentioned. Won’t that be great?!”

😬🙈🙉

GossiTheDog, (edited ) to random
@GossiTheDog@cyberplace.social avatar
  1. Introduces law requiring voter ID

https://www.bbc.co.uk/news/uk-politics-68947834

michael,
@michael@thms.uk avatar

@GossiTheDog

“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...’”

I bet it doesn’t 😁

michael, to random
@michael@thms.uk avatar

How cool is this:

Wounded orangutan seen using plant as medicine https://www.bbc.co.uk/news/science-environment-68942123

michael, to random
@michael@thms.uk avatar

LOOOOOOL. I just I received this email to my personal email address 🤣 🤣 🤣 🤣 🤣 🤣 🤣

michael,
@michael@thms.uk avatar
ericmann, to random
@ericmann@tekton.network avatar

With a new server set up, the next step in the great migration was to start moving services to it from the cloud. First up, my toy encrypted secret sharing service!

https://eric.mann.blog/the-great-migration-next-steps/

michael,
@michael@thms.uk avatar

@ericmann I want to check out Project Swordfish now 😆

Come On Sport GIF by UFC

michael,
@michael@thms.uk avatar

@ericmann thank you ☺️

Need to check it out properly. I’m currently using a self hosted instance of password pusher for secret sharing, but I think this might be overwhelming for some people, as it’s got so many options and buttons …

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 [...]

michael,
@michael@thms.uk avatar

@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.

lentenmass, to bible
@lentenmass@deacon.social avatar

The tradition has a daily reading lectionary where you read 4 or so chapters each day and go through the NT 2-3 times in a year, and the OT once (depends on which lectionary you use.)

I've been doing this awhile, and had the habit down, but health made me focus on essentials for a time and I got behind for about a month.

In my catch-up phase, I decided to just treat the epistles as single-sitting readings.

And you know, I'll probably do this more often. There's value in chapter breaks, but honestly: if it's a two-page letter, it shouldn't take five days to read it (I'm looking at you 1 Peter.)

Anyway. Just stating the obvious: the is full of short stories and letters and small, concrete narratives. You should read them that way. That's how they were meant to be read!

michael,
@michael@thms.uk avatar

@lentenmass It's amazing when you think that even letters like Corinthians where really just that: one letter that was likely read in one go by the receiving Church.

Yet, in our Church we are just about half way through a series on 1 Corinthians that I don't even remember when we started anymore 😆

(not suggesting there isn't also immense value in detailed study and sermons - but you do get a different perspective when you read large chunks in one go)

michael,
@michael@thms.uk avatar

@lentenmass haha. And here is poor me, hardly able to memorise my nephews names …

michael, to php
@michael@thms.uk avatar

Pretty cool stuff. Though I'm also wondering if leaving the connection open and reusing it repeatedly might have downsides too, especially if I have need to connect to many different hosts?

https://www.youtube.com/watch?v=BWAocgJVCbw

michael, to random
@michael@thms.uk avatar

PSA for admins for glitch-soc:

The latest version (merged in today) requires you to set up three environment variables before you can start your server.

Details can be found here:

https://github.com/glitch-soc/mastodon/issues/2525

nicoverbruggen, to random
@nicoverbruggen@phpc.social avatar

I've switched to QWERTY. A short blog post: https://nicoverbruggen.be/blog/switching-to-qwerty

michael,
@michael@thms.uk avatar

@nicoverbruggen I made the switch from QWERTZ to QWERTY many years ago.

My phone keyboard actually has three layouts (QWERTY, QWERTZ, and Arabic). Annoyingly it’s simple to switch accidentally, and you can easily not notice, as QWERTY and QWERTZ are very similar, until you randomly start mixing up your X’s and Y’s, or just use the ‘wrong’ quotation mark 🙄😂

ross, to random
@ross@fosstodon.org avatar

TIL what the most dangerous animal (measured by how many people are killed by them) in the UK is.

VERY interesting!

michael,
@michael@thms.uk avatar

@ross cows?

michael,
@michael@thms.uk avatar

@ross yeah, they are vicious creatures. And they are big. And really fast. Not a great combo 😬

And I think they really hate dogs. And when they see a dog they go berserk, apparently

Crell, to email
@Crell@phpc.social avatar

I just had an impressively pleasant customer service experience with @fastmail. Turns out it wasn't even their issue, but they responded quickly and in exactly the level of detail I needed.

It's so sad that it's so uncommon that it's worth tooting about...

#Email #SaaS #CustomerServices

michael,
@michael@thms.uk avatar

@Crell been with @fastmail for a number of years myself now.

Must admit my support experience with them is decidedly mixed. I’ve only had reason to contact their support twice. The first time they took forever to respond, and the response was completely useless. The second time was much better.

At least they do have support though, and to be fair their product itself is great and very good value for money, imo!

andrewfeeney, (edited ) to random
@andrewfeeney@phpc.social avatar

You request a review from a fellow contributor on a pull request. The reviewer doesn't review it in time for the PR to be merged. Approval is not required in your workflow, and the branched passed QA checks so you merge it. Days or weeks later, the reviewer marks the PR as 'Accepted'. You feel:

michael,
@michael@thms.uk avatar

@andrewfeeney I’d probably feel

(*) Annoyed - why did they wait so long, only to then sign it off …

michael, to AWS
@michael@thms.uk avatar

What on earth?! Amazon S3 charges you for unauthorised requests to S3?!

That's just absolutely insane! I better check my AWS account and delete any unused buckets I have in there …

https://medium.com/@maciej.pocwierz/how-an-empty-s3-bucket-can-make-your-aws-bill-explode-934a383cb8b1

michael,
@michael@thms.uk avatar

@RupertReynolds yes. It’s one of the big potential problems with AWS.

You need to really know what you are doing to eliminate the risk of bill shock …

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • kavyap
  • PowerRangers
  • hgfsjryuu7
  • magazineikmin
  • InstantRegret
  • rosin
  • everett
  • Youngstown
  • slotface
  • vwfavf
  • thenastyranch
  • mdbf
  • DreamBathrooms
  • Leos
  • Durango
  • tacticalgear
  • cubers
  • cisconetworking
  • khanakhh
  • osvaldo12
  • GTA5RPClips
  • ngwrru68w68
  • tester
  • normalnudes
  • ethstaker
  • modclub
  • provamag3
  • All magazines