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

mcc, to random
@mcc@mastodon.social avatar

I have just been informed that Plex has a bug where if you upload to your Plex server an album either credited to "Various Artists" or containing a mix of artists on each track, it will list that album in the UI as being by "KONAMI". This is apparently a known issue.

bobmagicii,
@bobmagicii@phpc.social avatar

@andrewfeeney @ramsey @mcc

  1. 0̷ (Unicode String Remix)
tjdraper, to random
@tjdraper@phpc.social avatar

I actually quite dislike the physical titanium card. It hasn’t held up well, it’s difficult to pick up because it has no flex, it falls out of my wallet very easily because it’s slicker and has a lot more weight. It is not a good physical product.

I do like Apple Card as a service. And I use Apple Pay whenever possible. But not everyone takes it yet.
https://mastodon.social/@danielpunkass/112532036185887748

bobmagicii,
@bobmagicii@phpc.social avatar

@tjdraper im still butthurt over how apple spent an hour presentation talking about how it was going to help people get financially healthy, and then they refused to give me one to help me get financially healthy. been living off debit card pretty much my entire life.

bobmagicii, to random
@bobmagicii@phpc.social avatar

it was silly for me to expect clicking "more info" to contain more info, rather than the same info in a different format. like a changelog maybe idk.

image/png

davidbisset, to maps
@davidbisset@phpc.social avatar

Why I 🧡 the web:

Someone made a customizable "shadow map": Every mountain, building and tree shadow mapped for any date and time.

https://shademap.app

bobmagicii,
@bobmagicii@phpc.social avatar

@davidbisset i wasn't expecting it to work on a per-building level thats awesome.

bobmagicii, to random
@bobmagicii@phpc.social avatar

man that guy sure is bitching a lot for someone convicted of 34 felonies and not being forced to be in jail until sentencing like i would be had i been a convicted felon today.

afilina, to random
@afilina@phpc.social avatar

As a colleague of mine said, developers who first sharpen their axe deliver much more and of higher quality. Sharpening the axe could be: getting the right tools, cleaning and testing the code, learning better code design, etc.

bobmagicii,
@bobmagicii@phpc.social avatar

@afilina something something too sharp chips very easily when suddenly thrown in corporate.

which i feel like is exactly what happened to me.

bobmagicii, to random
@bobmagicii@phpc.social avatar

swear i own more than 1 pair of pants, but at any given moment, i can only locate one. and sometimes its not even the pair i just took off.

andrewfeeney, to random
@andrewfeeney@phpc.social avatar

Seen on reddit:

"The average US president has been convicted of 0.7 felonies"

bobmagicii,
@bobmagicii@phpc.social avatar
elazar, to random
@elazar@phpc.social avatar

Using a dev diary seems to be worthwhile · cozemble/breezbook · Discussion #32
https://github.com/cozemble/breezbook/discussions/32

bobmagicii,
@bobmagicii@phpc.social avatar

@elazar my dev diary is just git log

ramsey, to random
@ramsey@phpc.social avatar

@a1ba Random question, but someone boosted a post of yours, and I noticed the UUID as your name. I’m curious about the story behind it (if there is one), since it doesn’t follow the standard. 🙂

(I’m not here to point out that it’s wrong, or anything like that. I’m just curious.)

bobmagicii,
@bobmagicii@phpc.social avatar

@ramsey @a1ba the first time i saw the uuid cross my screen i was like "lol bot account script went wonk" 🤣

bobmagicii, to random
@bobmagicii@phpc.social avatar

was suffering random disconnects of usb devices usually while gaming, and it seems like it has stopped happening since i uncoiled all the wires i had wrapped into a giant wire donut and zip tied into one bundle.

guess none of those cables are shielded >_>

bobmagicii, to random
@bobmagicii@phpc.social avatar

if you request your discord data package 3 weeks later they email you a link that does not require any authentication outside of the gibberish in the url. they did not confirm that i was the one clicking it. i am not signed into discord in firefox.

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,
@bobmagicii@phpc.social avatar

@preinheimer i have no interesting the-more-you-know reason for it. its only that before php i worked in c and i cant/wont shake the need to manage my vars. i even pre declare them all at the top of my scope in php still to this day. this includes the vars created by any loops since php wont scope them to the loop.

the hard block scopes are the only thing i actually like about javascript.

the immediate unset (or null if will be reused) my way of showing ephemeral nature of that var verbosely.

bobmagicii,
@bobmagicii@phpc.social avatar

@ramsey @preinheimer yeah. at my first php job had a few cases where someone would reuse a variable after a loop with some unexpected behaviours. but that tended to only happen in html templates that were too crazy.

dave self foot-shootings were a good metric for template complexity that needed to be worked on XD

bobmagicii,
@bobmagicii@phpc.social avatar

@tress777 @ramsey @preinheimer hehe yeah. though i still roll my eyes at the old "calisthenics" meme php had for a while lol.

Crell, to security
@Crell@phpc.social avatar
bobmagicii, (edited )
@bobmagicii@phpc.social avatar

@Crell while back i tried to explain that it was sort of kinda ok for the web app home page, but the api has no reason to be """user friendly""" in this manner... and that caught me shit for like 3 years >_>

now that everyone forgot i should go tweak the httpd conf and tell nobody. its like 3 lines to make apache to not do that to /api/ lmao. sadly they will still have attempted the transmission though.

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

was not expecting to see generic anime on disney plus. like, ever.

they are organized very poorly though. i'll have to get up every episode to skip the sub version. so im just not going to bother.

bobmagicii, to random
@bobmagicii@phpc.social avatar

at least the storm sucked away all the political signs too.

cspray, to php
@cspray@phpc.social avatar

I found myself needing to write tests for code that throw an exception with domain-specific information. I actually need access to the exception thrown in my test. So, I created a testing utility that will do just that.

https://github.com/cspray/assert-throws

#php

bobmagicii,
@bobmagicii@phpc.social avatar

@cspray neat. yeah this construct here is one i copy paste a lot, as sometimes there is inspection of some exception properties after the instance of check.

if your system could be packaged up into a good rfc might be something that could be pitched to sebastian for core inclusion.

im always personally leery of adding things to the testing suite, its hard for me to build the trust in addons for something i need to ultra trust.

preinheimer, to random
@preinheimer@phpc.social avatar

Why is the spell check built into Mac so bad?

Can I buy a better dictionary for it?

bobmagicii,
@bobmagicii@phpc.social avatar

@preinheimer not only is it bad at guessing a word, but half the times the suggestions are greyed out and wont let me click them.

davidbisset, to CSS
@davidbisset@phpc.social avatar

Why new features aren't getting fast adoption as one might think.

https://mxb.dev/blog/old-dogs-new-css-tricks/

"While there are many different reasons for the slow adoption, I think one of the biggest barriers are our own brains."

bobmagicii,
@bobmagicii@phpc.social avatar

@davidbisset "new feature fatigue" is a legit problem. it was the main reason that caused me to ignore flexbox for like 6 years. already had too many other things to deal with.

freekmurze, to random
@freekmurze@phpc.social avatar
bobmagicii,
@bobmagicii@phpc.social avatar

@freekmurze this is a paradigm i have subscribed to my entire career. "over abstracted" is my most over used yet correct critique of code.

skatox, to wordpress Spanish
@skatox@phpc.social avatar

I am manually fixing old links on my blog because #WordPress used to use the ID in the URL for articles, and now Google is complaining about it.

It's just one of those things that happens when you have a really old WP installation.

bobmagicii,
@bobmagicii@phpc.social avatar

@skatox are you going full slug or like a combo? our in-house blog library is all like /news/$ID/text-slug-that-doesnt-even-matter and google hasn't bothered us. yet.

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