bob.php 

@bobmagicii@phpc.social
124 Followers
41 Following
3.6K 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

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.

hey @syntaxseed i finally did something without jquery lolol. was trying to normalise how video element looks/works across the browsers.

ok maybe a little jquery. i'm not doing the native onload crap myself again, that stuff is super stupid.

have a server where mariadb will get restarted by systemd and when it restarts innodb fails to load as a storage engine so my databases dont load. "system error 5" which is apparently permission denied. no mention as to why it did this at 1:58am.

then i get a phone call and i run `sudo service mysqld restart` and it fukken works fine.

the only google results are mysql bug reports that got auto closed by a bot with no replies. this is the third time it has happened it will be fine for a month.

i double dog dare you no wait i was just jo
×

have a server where mariadb will get restarted by systemd and when it restarts innodb fails to load as a storage engine so my databases dont load. "system error 5" which is apparently permission denied. no mention as to why it did this at 1:58am.

then i get a phone call and i run `sudo service mysqld restart` and it fukken works fine.

the only google results are mysql bug reports that got auto closed by a bot with no replies. this is the third time it has happened it will be fine for a month.

@bobmagicii I had a similar problem and it was due to an unhappy alignment of some backup scripts that were temporary filling the disk partition to 100%. Don't remember if there was the “unsupported storage engine” message ( I think so ), certainly there was the “can't read logfile bla bla”