@tress777@phpc.social avatar

tress777

@tress777@phpc.social

Director of Web Development at Clayton Kendall

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

grmpyprogrammer, to random
@grmpyprogrammer@phpc.social avatar

I wonder if I could get rid of my beard and just have a moustache without looking like a white supremecist?

tress777,
@tress777@phpc.social avatar

@grmpyprogrammer mustache only looks like pedo

Crell, to random
@Crell@phpc.social avatar

If you're looking for subversive literature, try the Banned Book of the Week:

https://dp.la/news/introducing-the-banned-book-of-the-week

tress777,
@tress777@phpc.social avatar

@Crell seriously, exactly where are these books banned?

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.

tress777,
@tress777@phpc.social avatar

@ramsey @bobmagicii @preinheimer small functions helps prevent that

nunomaduro, to random
@nunomaduro@mastodon.social avatar

just a quick reminder that you can run php code in the terminal using the -r option; not sure how obvious this tip is, but sharing it anyway

tress777,
@tress777@phpc.social avatar

@ramsey @uberbrady @nunomaduro I use interactive shell all the time. What is PSYsh?

Crell, to random
@Crell@phpc.social avatar
tress777,
@tress777@phpc.social avatar

@Crell 🐝 > 🧅

Crell, (edited ) to php
@Crell@phpc.social avatar

Hey . When you use union and intersection types, do you include spaces?

(RT for reach, etc. This is survey data for @phpfig. If you know of any official policies by major projects already, please note/link in the replies.)

tress777,
@tress777@phpc.social avatar

@Crell @phpfig no spaces, just like in phpdoc. I say this as a white space fanboy.

thomastospace, to php
@thomastospace@phpc.social avatar

Making PDF's in makes me cry.

tress777,
@tress777@phpc.social avatar

@thomastospace we use a custom application built on Cairo/Poppler

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.

tress777,
@tress777@phpc.social avatar

@bobmagicii this is my go-to. Have a larger version of it on my office wall.

scottkeckwarren, to random
@scottkeckwarren@phpc.social avatar

Last night we pushed the largest PR I've ever created at over 40k lines changed. We couldn't quite get sign-off from the stakeholders so scope creep was a nightmare. It's finally done and we only had a handful of bugs reported thanks to heavy TDD and Static Code Analysis!

tress777,
@tress777@phpc.social avatar

@scottkeckwarren that size is only acceptable for library additions or mass formatting changes 🤮

grmpyprogrammer, to baseball
@grmpyprogrammer@phpc.social avatar

friends — offense is still down despite the pitch clock and limiting pickoffs and banning the shift. League OBP is almost down to .310 with an endless parade of strikeouts as players struggle to make contact with pitches due to velocity and movement. Run scoring is the lowest it’s been in 10 years.

Still more strikeouts than singles — BORING. Stealing bases becoming ridiculously easy — BORING.

tress777,
@tress777@phpc.social avatar

@grmpyprogrammer I do like the pitch clock. One thing of which I’m not a fan is the runner on 2B in extra innings.

Crell, to random
@Crell@phpc.social avatar

I hate mocking libraries...

tress777,
@tress777@phpc.social avatar

@Crell so what do you suggest?

doefom, to php
@doefom@mastodon.social avatar

#PHP 8.4 introducing "Property Hooks". This means you will be able to hook into the default read and write behavior of your class properties. The design also allows for more hooks in the future. Really looking forward to this one!

Read more about this feature in the RFC:
https://wiki.php.net/rfc/property-hooks

tress777,
@tress777@phpc.social avatar

@doefom this looks awesome! Thanks for sharing.

Crell, to Ukraine
@Crell@phpc.social avatar

Remember: Every mile of land lost by #Ukraine this month to Russian invaders is the direct result of #GOP intransigence and refusal to stand by our allies just so they could make Biden look bad.

Every Republican legislator is a threat to national security. Every. Single. One. Treat them as such.

tress777,
@tress777@phpc.social avatar

@Crell one could reasonable make the argument that Ukraine has always been a money laundering vehicle for politicos.

tress777,
@tress777@phpc.social avatar

@Crell not really sure how that’s a non-sequitur argument. If Ukraine is a laundromat, it stands to reason that some legislators would oppose throwing more money in the tub. You assume it’s to “make Biden look bad.” Both major parties suck! Why can’t we just keep politics off this platform and stick to tech-related content? I get enough of this on twitter.

tress777,
@tress777@phpc.social avatar

@Crell fair enough so long as you’re okay with us being in disagreement on some things

ramsey, to random
@ramsey@phpc.social avatar

I was pretty down this weekend. I had no desire or motivation to do anything (much less than usual).

On Saturday, Jeff would’ve turned 36.

Maybe that subconsciously affected me. I don’t know, but I do still miss Jeff.

tress777,
@tress777@phpc.social avatar

@ramsey who is Jeff, may I ask?

tress777,
@tress777@phpc.social avatar

@ramsey very sorry for your loss. Some ppl leave an indelible fingerprint on our lives and we are better for having known them.

scottkeckwarren, to random
@scottkeckwarren@phpc.social avatar

Me: Can we schedule some time to discuss this? Here is a link to my calendar so you can pick the time that works best for you.

Client: Sounds great when can you meet

Me: ...

video/mp4

tress777,
@tress777@phpc.social avatar

@scottkeckwarren it’s even worse dealing with marketing folks. They’re the worst on the planet.

ramsey, to php
@ramsey@phpc.social avatar

I was looking at this Sass (SCSS) compiler, written in #PHP, and I noticed something very odd.

Under “requires (dev)," it requires two packages, sass/sass-spec and thoughtbot/bourbon, both of which appear to be empty packages, containing only a composer.json file, which has no dependencies.

What’s the purpose of these packages? They otherwise appear suspicious, to me, but I can’t see that they're doing anything nefarious right now—they just appear pointless.

https://packagist.org/packages/scssphp/scssphp

tress777,
@tress777@phpc.social avatar

@ramsey seems that SCSS package is just a test, based on the name “Php Package Test”

MarkBaker, to random
@MarkBaker@phpc.social avatar

PhpSpreadsheet 2.1.0 released. This provides sanitization of cell comments when writing to HTML, as well as significant bugfixes. See the Change Log for details https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/2.1.0

tress777,
@tress777@phpc.social avatar

@MarkBaker our company is still using PhpExcel (long past EOL). Would this be a suitable replacement, and is it a reasonable conversion? Thanks in advance.

ramsey, to random
@ramsey@phpc.social avatar

It’s official, now!

RFC 9562: Universally Unique IDentifiers (UUIDs) https://www.rfc-editor.org/rfc/rfc9562.html

tress777,
@tress777@phpc.social avatar

@ramsey woo Hoo!!!

scottkeckwarren, to random
@scottkeckwarren@phpc.social avatar

Me: Can you please check (1) and (2)

Client: (1) is correct

Me: ....

video/mp4

tress777,
@tress777@phpc.social avatar

@scottkeckwarren I have this on my wall at work

Crell, to Discord
@Crell@phpc.social avatar

Reminder, you only have 5 days left to tell to pound sand on binding arbitration and protect your right to a jury trial:

https://www.techradar.com/computing/social-media/discords-updated-terms-of-service-are-exactly-the-wrong-response-to-its-recent-data-breaches

tress777,
@tress777@phpc.social avatar

@Crell thanks! Wasn’t aware of this. Just did it.

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.

tress777,
@tress777@phpc.social avatar

@bobmagicii when I have to work in windows I use it quite a bit

tress777, to random
@tress777@phpc.social avatar

Looking for some help with SimpleSAMLPhp. New to this platform, so I doubt my posts are getting much exposure. Please see previous posts. Thank you!

tress777,
@tress777@phpc.social avatar

@ramsey @bobmagicii thanks for the tip!

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