@Alister@mastodon.cloud
@Alister@mastodon.cloud avatar

Alister

@Alister@mastodon.cloud

:verified: Open for Remote Symfony/PHP roles.

Programming with #PHP, specialising in #Scaling, #StaticAnalysis and #CodeQuality

I do things with computers, mostly :php: & :ubuntu:. Not a Serbian Thrash-Heavy Metal band. But they've got a good name :)
:hacker_a: :hacker_l: :hacker_i: :hacker_s: :hacker_t: :hacker_e: :hacker_r:

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

nocontexttrek, to StarTrek
@nocontexttrek@mastodon.social avatar
Alister,
@Alister@mastodon.cloud avatar
ramsey, to php
@ramsey@phpc.social avatar

Opinions/thoughts/advice on monorepos with . Is anyone working within this problem space? What tools do you use?

I know is a . Are the tools they use specific to them, or can others use them?

Alister,
@Alister@mastodon.cloud avatar

@ramsey A blogpost at https://tomasvotruba.com/blog/2017/01/31/how-monolithic-repository-in-open-source-saved-my-laziness has a talk from Fabpot & some links to some more tools (like https://github.com/splitsh/lite) & techniques

Alister, to random
@Alister@mastodon.cloud avatar

I've just joined as CEO. https://htmx.ceo/#alister_b

I will not be taking any further questions at this time.

az, to random
@az@scorpinc.social avatar

Microsoft is going all in on this AI stuff. They should make a Twitter account powered by an AI!

Alister,
@Alister@mastodon.cloud avatar
sarah, to random
@sarah@phpc.social avatar

PHP needs a code of conduct for the project itself. Is there anyone willing to push for an RFC to add one with me? #php

Alister,
@Alister@mastodon.cloud avatar

@maccath @Crell The last time I saw something like that was back in 2011, and the site was being uploaded via a hacked FTP (browser plugin) client, with the homepage edited/appended to on the fly as it was uploaded to add the extra JS/links.
These days it could also be a hacked .js script include.

Alister,
@Alister@mastodon.cloud avatar

@maccath @Crell I found another couple of sites on the same host, and that's got the same spam links added. I think the entire server/Cpanel has been compromised.

davew, to random
@davew@mastodon.social avatar

I'm tired of people using the term "podcast" when I can't find it at the place where I get my podcasts.

Alister,
@Alister@mastodon.cloud avatar

@harry_karadimas @davew While I never listened to Adam Curry's early podcasts on an iPod (I had something else at the time), I appreciate that he was good at branding - and it was those early mp3 players that people did use

faraiwe, to Russia
@faraiwe@mastodon.social avatar

"Hi, I am [ ], I lve in warm waters oblast in Amerika. I am Amerikan voter. I will not be voting for Biden"

Alister,
@Alister@mastodon.cloud avatar

@faraiwe I'd trust them about 5% more if I could see their hands.... 🤣

ctietze, to php
@ctietze@mastodon.social avatar

A question for more experienced developers than me:

We have this setup where all requests go through a PHP script for authorization (think: cookie) checking before serving files.

That's fine with HTML, but less ideal for 5MB PDFs.

I'm trying to search for ways to use PHP to allow/deny access, but otherwise let the web server (Apache) do its job.

Is there such a facility to rewrite requests for auth, but then go on serve the static files?

Alister,
@Alister@mastodon.cloud avatar

@ctietze The normal answer would by x-mod-sendfile, which is not specifically listed as working with Apache v2.4, but from a quick search has reports of working fine. There is also a similar system (module) for Nginx (https://www.nginx.com/resources/wiki/start/topics/examples/x-accel/)

Another very useful alternative is using a separate CDN to serve the files with token authorisation - you add some parameters to the URL, and it will check and allow/deny the DL.
I had good results with both Google-Cloud-storage and BunnyCDN doing that.

Alister,
@Alister@mastodon.cloud avatar

@ctietze It would depend what the files are - if there were pre-created and you might want to download them again (or you otherwise want to store them long term), then pre-creating and uploading the files to the CDN is a great solution.

If they are dynamically created one-offs, then a local XSendFile solution is probably better - or just taking the hit with sending them to the user with https://www.php.net/manual/en/function.readfile.php

NanoRaptor, to random
@NanoRaptor@bitbang.social avatar

This photo of an apple two-button two-handed mouse is banned in twenty three countries.

Alister,
@Alister@mastodon.cloud avatar

@NanoRaptor Sorry to say that reminds me of the "Get along chastity cage".
Don't Google that.

davidbisset, to webdev
@davidbisset@phpc.social avatar

Starting work on someone's legacy codebase realizing with TERROR it's not built with the framework you expected.

Alister,
@Alister@mastodon.cloud avatar

@davidbisset NGL, I'd love to try a slice

tvaziri, to random
@tvaziri@mastodon.social avatar

Happy "V" Day!

Alister,
@Alister@mastodon.cloud avatar

@tvaziri That's no mousey!

mhoye, to random
@mhoye@mastodon.social avatar
Alister,
@Alister@mastodon.cloud avatar

@mhoye So, you're saying the article wasn't written by an AI?

yesitsanna, to random
@yesitsanna@hachyderm.io avatar

So if 69 is the sex number, and 420 is the drugs number, what’s the rock n roll number?

Alister,
@Alister@mastodon.cloud avatar

@yesitsanna It doesn't go to 666. It's one more than ten.

cstross, to random
@cstross@wandering.shop avatar

TBH, putting "GIANT MURDER ____" in front of virtually any animal species' name makes it worse, except for Tyrannosaurs (where it's kind of redundant)

Alister,
@Alister@mastodon.cloud avatar

@jackwilliambell @angusm @cstross Please tell me they've not forgotten the destruction that was wrought by Kitten Kong already? https://en.wikipedia.org/wiki/Kitten_Kong#/media/File:Kitten-Kong.jpg

davew, to random
@davew@mastodon.social avatar

I don't know how you feel but I'm tired of people using the term "podcast" when I can't find it at the place where I get my podcasts. You'd think by now they'd drop the pretense that they're podcasts. This is something the users could fix. Because eventually the big companies will own all the podcasts just like they own all the other kinds of news.

Alister,
@Alister@mastodon.cloud avatar

@davew If a podcast doesn't have an RSS/ATOM feed, it's just a Sparkling MP3.

Meantime, I reminded myself last week of a writer who had self-published his work as a podcast, searched for his name (it was https://mastodon.social/@ScottSigler) in my podcast app and within 10 mins I was listening to his "Infected" saga for the first time in more than 15 years.

So yes, RSS FTW. :)

Alister, to random
@Alister@mastodon.cloud avatar

Happy birthday to Senator Cory Booker, Sheena Easton, & Doctor Who alumni Russell T. Davies & Jenna Coleman.

mattgrayyes, to random
@mattgrayyes@chaos.social avatar

Remember not to get the two confused:

Polyamory: I have multiple partners.
Pollyarmoury: I have multiple parrots. As weapons.

Alister,
@Alister@mastodon.cloud avatar

@mattgrayyes Polyarmoury: I have multiple swords.

grmpyprogrammer, to random
@grmpyprogrammer@phpc.social avatar

“Do they have 911 in Canada?” — @pollita

Alister,
@Alister@mastodon.cloud avatar

@grmpyprogrammer @pollita You mean dialing 112, eh? 😜

Alister, to random
@Alister@mastodon.cloud avatar

I'm just listening (for the first time, in a very long time) to https://mastodon.social/@ScottSigler 's Infected.
A 7yr old has just blown up a house and then the mid-roll-sponsor message ... "This episode is brought to you by Fireball..." 🔥 🤣

ApiPlatform, (edited ) to random
@ApiPlatform@fosstodon.org avatar

Watch the 2023 replay: Tracking user activity logs using Loggastic by Paula Cucuk.

🎥 https://youtu.be/JBU_jgu1S2A
Get your 2024 ticket: https://api-platform.com/con/2024/

Alister,
@Alister@mastodon.cloud avatar

@ApiPlatform Is it just me - or does that youtube link go to "API Platform Conference 2023 - Ryan Weaver - Create the DTO system of your dreams" ?

CountBinface, to random
@CountBinface@mastodon.world avatar

Vote Count Binface and I will abolish VAR.

Alister,
@Alister@mastodon.cloud avatar

@CountBinface I was a little disappointed that you weren't in the election booklet for the candidates I got through this week.

ramsey, to random
@ramsey@phpc.social avatar

I was reading about Rosaria Butterfield, a former lesbian activist who converted to Christianity and is now actively anti-LGBTQ and harmful. 🤬

Then, I came across this gem of a sentence on Wikipedia and had to share it because the comma placements are unfortunate and make it appear serial.

“She now lives in Durham, North Carolina with her husband, Kent Butterfield, a pastor, and their children.”

So, she lives with:

  • her husband
  • Kent Butterfield
  • a pastor
  • their children

??? 🤣

Alister,
@Alister@mastodon.cloud avatar

@ramsey Haven't you heard? The oxford comma is sinful 🤣

cstross, to random
@cstross@wandering.shop avatar

The Sinclair C5 is also less prone to rust than a Cybertruck, and the wheels don't randomly fall off.
https://chaos.social/@gsuberland/112299766520159828

Alister,
@Alister@mastodon.cloud avatar

@cstross the C5 was still safer than a Cybertruck, even when you strapped a rocket to the back of it, like a friend of mine tried... https://www.youtube.com/watch?v=_0UOaBVy61E

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