bob.php 

@bobmagicii@phpc.social
124 Followers
41 Following
3.7K Posts
Resident PHP & Jacascript iconoclast. I still think PSR is the worst, even now that I'm on Mastodon. You might remember me from Dallas PHP and Lone Star PHP. Proud to be final-free.
Mehttps://bob.majdak.net
Projects & Bloghttps://pegasusgate.net
GitHubhttps://github.com/bobmagicii
cant stop laughing at how in the original tmnt series, shredder is just a sarcastic moron who can only *barely* handle himself in a physical altercation. then the games made him "good" at combat and the movies made him dark and emo for no reason. stupid shittalking shredder was so much better.

at somepoint i realised trying to add a bunch of PrintThis PrintThat methods to my command line client is stupid. started with a class dedicated to printing out tables without depending on 900 symfony2 packages. its already 342 lines long so yeah having all these methods on my cli client was going to bloat into ultra dumb if i had added all the options this has now.

anyway i built a whois client that uses the "new" rdap stuff they want to retire whois with.

and then i renewed an ssl cert.

yep, they did used to come with 12.
sure looks like these boxes used to come with 12 of them. capitalism ingenuity at its peak: how to both scam a consumer while "not raising the price" of "an item" all while also wasting space for an already wasteful product.

att won't let me use their website at all while connected to the vpn that i host inside of digitalocean.

thats what got my new mailjet account flagged too. agents stopped responding to my angry rants so i made a new account without being on the vpn and it didn't get jailed. which is fkn hilarious because that vpn ip is gonna be where the api requests come from too.

this is an ip i have owned for about 10 yrs. its reputation has to be 0 threat. so everyone is just blanket blocking digitalocean.

mailjet has fallen.

at least its not as bad as sendgrid who treats you like a criminal and makes you go to their ticket system to manually create the ticket yourself.

[update] i spoke to soon. they immediately started treating it as a criminal case.

the strangle hold on just trying to send a damn email without spam bouncing by big tech is complete.

tl;dr i built my own pdf viewer because ios still does not support embedding the browser's native viewer inside of pages yet. only if you send them to the raw file url.

case you needed to know, poppler-utils pdfimages kind of sucks. pages are only partial and one page is not even the format asked for. seems like php with imagick loop is the only way.

main issue: figure out how many pages there to iterate one page at time. some of these pdfs are too large with thousands of pages. you can ask imagick to only load one page but counting first remains an issue.

weirdly pdfinfo also from poppler-utils is able to properly count even though pdfimages cannot.

how is this still happening

microsoft is being weird today. first the "sign in" wasn't even a hyperlink. then i clicked refresh.

[update] got a message about high demand that refreshed before i could screen shot it.

×
or, and i know this is probably very difficult for your tiny enterprise business brains to comprehend, but, why not base the tailored videos off my subscriptions? idiots.