@bobmagicii@phpc.social
@bobmagicii@phpc.social avatar

bobmagicii

@bobmagicii@phpc.social

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.
:elephpant_gold: :elephpant_white: :elephpant_purple: :elephpant_black:

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

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

"butch and suni, we'd like to confirm that you have both tablets configured for airplane mode" 1354 cst

bobmagicii, to random
@bobmagicii@phpc.social avatar

i... had completely forgotten.. that at one point i wanted to build a blog network and built this massive system so you could use your own domain on my platform. then i remembered i cant be arsed to deal with content moderation.

bobmagicii, to random
@bobmagicii@phpc.social avatar

we owe composer for a lot of things, but this is the one thing that makes me wanna buy em a beer the most. and it didn't need ai to do it.

bobmagicii, to random
@bobmagicii@phpc.social avatar

i also wish we could be like

foreach($Things as const $Thing)

so i could stop doing unset($Thing) after my foreach loop.

sometimes i will add overhead with a callable that is immediately called just to keep the scopes clean. its an obsession i have. but that doesn't really work well in templates that are more html than anything.

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

longing for a day where the typecast can be part of the foreach() instead of this magic comment stuff that i absolutely loath doing. or hard typed collections.

for context, in Skyrim scripting, if it doesnt fit the cast you get NULL that iteration. and im 100% ok with that. (but an exception is cooler)

bobmagicii, to random
@bobmagicii@phpc.social avatar

github and sites i log into with github keep telling me i have partial passkey support and offer to use it.

i have no idea wtf this means. i have been using the ms authenticatior app with github for the past 4 years never even heard of this passkey crap.

bobmagicii, to random
@bobmagicii@phpc.social avatar

bots i have banned this month for too many hits on my tiny websites that only have a few pages and most are non-profit. hits are since may 1st 2024.

anthropic dot com "claudebot" - 80,429 hits
babbar dot tech "barkrowler" - 24,347 hits

and i am seriously considering blocking the entire http client lib for go with its default user agent.

these are only the hits against the php application not any of the supporting resources.

bobmagicii, to random
@bobmagicii@phpc.social avatar

in school i never skipped any classes but i constantly have dreams about skipping too many and being a credit short to graduate. its usually p.e. class im skipping cuz i hated that. plus high school was over a score ago, come on.

bobmagicii, to random
@bobmagicii@phpc.social avatar

client's user: "i keep getting this message when i try to register what does it mean?"

to be fair there was no "* fields marked by asterisk are required"

this form has been approved by two levels of management, for two years straight. re-reviewed twice a year. lmao.

and the api shoots out the following message on submit. they sent us the screenshot of it:

Required Field: Office

so i wonder what it meant.

bobmagicii, to random
@bobmagicii@phpc.social avatar

hey i got a table where the primary key iterated over 1mil. its been a while most our projects are tiny.

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

its a constant struggle and it usually ends still with me editing the post later, to try and not start every single statement with "i"

youtube isnt helping. 90% of everything it shows me is "i bought something stupid" or "i made something stupid"

not enjoying the trend where everything is about the proverbial me these days.

bobmagicii, to random
@bobmagicii@phpc.social avatar

writing my own backup solution is kinda fun. there is a lot of attempts to over engineer when in reality all i need is:

  • cp or scp that to here
  • git clone first run then git pull later
  • mysqldump

i always struggle to just make a thing that does what i need now at this moment so that is my exersise this time.

"try not to turn it into a framework that does nothing for nobody"

bobmagicii, to random
@bobmagicii@phpc.social avatar

oh man oh man this one commit is going to 100% test this class

99.8%

booooooooooooooo wait what did i miss

totes gonna write a test to test that theory.

bobmagicii, to random
@bobmagicii@phpc.social avatar

regardless of operating system this is the most unused key on my keyboard. with a grand total of 0 intentional uses spanning pretty much my entire life. even scroll lock and pause gets used more.

bobmagicii, to random
@bobmagicii@phpc.social avatar

just gonna hope brew install composer does what i want without reading anything anywhere.

bobmagicii, to random
@bobmagicii@phpc.social avatar

annoying thing with sequel ace atm is every table edit is live.

imagine adding a new field to the table.

once you leave the name of the field and click the "default value" its been sent to be created and all your rows now have an empty value instead of what you were going to set for default.

how is that remotely sensible? mac people i guess.

good sql tools like heidisql queue all your changes up that you commit at once.

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

i need a blanket that i can roll up in, in the dead of summer, that traps no heat. i just cant get to sleep without covers. some magic space age material. wonder if something transparent to ir would work.

bobmagicii, to random
@bobmagicii@phpc.social avatar

i struggle to get firefox on mac to remember my pinned tabs.

on windows when i close firefox it saves that state and kills the exe.

on mac when i close firefox it registers the window closed, assumes i was done with all those tabs, the binary continues to run in the background windowless.

you're asking an old firefox for a new window. you're not getting a new firefox with a new window to load the pin states from disk unless you terminate the firefox process by hand.

mac dumb.

bobmagicii, to random
@bobmagicii@phpc.social avatar

friend found out llama ai sucks at math. "gave it a csv and asked it for totals."

this is why i don't really fear my job getting deleted by ai. because after someone ruins their business with that script, i'll still be here.

bobmagicii, to random
@bobmagicii@phpc.social avatar

people been reaching out to me lately so i am putting my feelers out to try and reboot DallasPHP - we went ultra idle from pandemic.

bobmagicii, to random
@bobmagicii@phpc.social avatar

screens & monitors: everyone thinks im nuts for turning hdr off but i hate "true" black stuff. it messes up the colours of everything else too.

like mac screens are abysmally gross. way over saturated. no wonder so many people hate my screenshots. you can almost fix mac screens by selecting "adobe rgb 1998" colour profile. almost.

on a technical level too i dislike when it so black you cant tell if its on. the missing visual confirmation of "its plugged in and working, but not getting data"

bobmagicii, to random
@bobmagicii@phpc.social avatar

according to the texas department of transportation it has been 23 years since texas had a single day where nobody died on the state managed highways.

bobmagicii, to random
@bobmagicii@phpc.social avatar

anyone using siri american 2 is the worst person, and each person exposed using siri american 2 is worse than the one prior. thats just the rules. i made them up. and they are non-negotiable.

bobmagicii, to random
@bobmagicii@phpc.social avatar

none of the normal caching stuff seems to succeed at getting ipad safari to get new scripts. i'm having to walk all of the es6 modules to add a ?v=today to their imports.

other browsers do not suffer.

and when they do, shift (or ctrl) refresh makes them stop suffering. ios safari is absolute trash. they deleted the delete local cache option and now you can only flush ALL of your stuff.

ios safari also got rid of long/hard press of the refresh "reload page from source" that mac has.

bobmagicii, to random
@bobmagicii@phpc.social avatar

there is almost no cell coverage in arkansas apparently so here are two screenshots until i can bake the timelapse. was surprised the wide angle was able to capture it being a ring!

our phones gave up on sos mode and even switched to satellite which i've never seen before.

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