@stevegrunwell@phpc.social avatar

stevegrunwell

@stevegrunwell@phpc.social

Software developer, open-source contributor, and speaker. Amateur stompbox builder. Cishet, but love & support my LGBTQ+ homies.

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

stevegrunwell, to random
@stevegrunwell@phpc.social avatar

Unsolicited career advice for staff+ engineers:

If someone complements your team, take the time to call out particular members by name.

You’re staff+, and should be visible enough (especially my fellow cishet white dudes). Instead, make it impossible for management to ignore the team members who actually get shit done while you’re in meetings about how we can get shit done faster.

stevegrunwell,
@stevegrunwell@phpc.social avatar

@laurentoget nope, you’re right. I blame the cocktails, thank you!

shawnhooper, to random
@shawnhooper@fosstodon.org avatar

Town fair going on this weekend a few blocks away. Current sounds from my backyard: sirens on the midway, and a Euro dance hits.

stevegrunwell,
@stevegrunwell@phpc.social avatar

@shawnhooper that sounds preferable to the sounds in my town this week: https://ntpapull.com

stevegrunwell,
@stevegrunwell@phpc.social avatar

@shawnhooper can confirm 😑

grmpyprogrammer, to random
@grmpyprogrammer@phpc.social avatar

Whenever you feel like a task is impossible, remember that I have been married for 25 years as of today.

stevegrunwell,
@stevegrunwell@phpc.social avatar
exchgr, to random
@exchgr@mastodon.world avatar

it sucks that mocha is the name of a testing framework and not a mock framework

stevegrunwell,
@stevegrunwell@phpc.social avatar

@exchgr there’s an opportunity to create Mock-iato?

stevegrunwell, to random
@stevegrunwell@phpc.social avatar

Regular reminder: if your site or app doesn’t work in Firefox, it’s broken.

I lived through the “this site requires and/or is best in IE” era, and I’d rather burn it all down than return to that.

Pro-tip: Firefox does most things better anyway. Give it a spin and enjoy a less-tracked web.

stevegrunwell,
@stevegrunwell@phpc.social avatar
stevegrunwell,
@stevegrunwell@phpc.social avatar

@hexxy_the_grouch @dustinrue @chris the only way to win is not to play 🙃

stevegrunwell,
@stevegrunwell@phpc.social avatar

@dustinrue @chris :shudder:

stevegrunwell,
@stevegrunwell@phpc.social avatar

@GrumpyGirdle @grrrr_shark I bet that site loads fast as fuck, though. Hemming and hawing over a couple hundred kilobytes while today’s sites are cramming five or six megs down the pipe.

Oh, ActiveX? Never mind…

Crell, to php
@Crell@phpc.social avatar

I have only recently learned of the "before" attribute in @phpunit. It seems appealing. What I don't get is... why would I ever use setUp() when I can instead use a before method? It seems like the easier, more portable solution in ever case except when I actively want to bypass a parent class's setUp().

(Same for beforeClass.)

#PHP #Testing #PHPUnit

stevegrunwell,
@stevegrunwell@phpc.social avatar

@Crell @phpunit another advantage that hasn’t been mentioned so far is the ability to use traits without conflicts.

Have a few test classes where, for example, the DB must be very fresh and seeded? Maybe a beforeClass to explicitly drop everything and re-migrate, then a before to truncate and re-seed before each test case.

These can be especially useful if you’ve spent too much of your career working in an ecosystem with a huge market share but shitty PHP hygiene 😉

davidbisset, to space
@davidbisset@phpc.social avatar

Cool. beta site runs on :

https://beta.nasa.gov/

stevegrunwell,
@stevegrunwell@phpc.social avatar

@chris @curtismchale @davidbisset unless he looped back, he left LW/Nexcess/Stellar a couple months before I did

grmpyprogrammer, to php
@grmpyprogrammer@phpc.social avatar

What are the weirdest things you did with ?

Convinced people using the mostly loosely-typed scripting language to start caring about testing their code. No ragrets

stevegrunwell,
@stevegrunwell@phpc.social avatar

@grmpyprogrammer really? Not even one letter?

Seriously though, thank you.

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

Hey devs. I'm curious. When using a global class like SplFileInfo, Exception, Attribute, etc, do you say \Exception inline in the code, or do you use it at the top of the file and then use it as Exception inline?

stevegrunwell,
@stevegrunwell@phpc.social avatar

@Crell A friend proposed the convention of “use” for stuff in user land (e.g. “use Ramsey\Uuid;”) and explicit leading slashes for things built into the language (“throw new \RuntimeException(/* … */);”)

If forced to pick one or the other, “use” FTW.

Crell, to random
@Crell@phpc.social avatar

If you give me a popup saying "do X to make life easier when you get to the stadium", then clicking the popup should take me to the place to do X.

This isn't hard, Ticketmaster. Except for you, apparently.

Seriously, the number of companies that fail basic usability is mind boggling.

stevegrunwell,
@stevegrunwell@phpc.social avatar

@Crell At first, I was like “yeah, definitely!”

> This isn’t hard, Ticketmaster.

Yeah, that would explain it. Asking Ticketmaster to create a good (or even passable) user experience would be like asking Atlassian to do…well, the same thing: it’s not going to happen.

I tried multiple times to unsubscribe from their newsletters, to no avail. Whenever I clean up my spam folder, I inevitably find at least one promotional email in there. A pox on the entertainment industry and the web.

kboyd, to random
@kboyd@phpc.social avatar

Hmm, not only is humidity higher, but it feels like gravity is stronger too.

I wonder how Hoth's gravity compares to Earth's...

Luke on the ice planet Hoth

stevegrunwell,
@stevegrunwell@phpc.social avatar

@kboyd I believe the gravity is canonically about double, making 2000lbs a ton-ton.

grmpyprogrammer, to random
@grmpyprogrammer@phpc.social avatar

Here at Grumpy Learning, we don’t just mine pixels. Our horticultural division is growing

image/jpeg
image/jpeg
image/jpeg

stevegrunwell,
@stevegrunwell@phpc.social avatar

@grmpyprogrammer @saramg plus draining the water below the level of the returns, then sealing the plumbing.

As a bonus, rain + snow help fill the pool over the winter!

stevegrunwell,
@stevegrunwell@phpc.social avatar

@saramg @grmpyprogrammer if you can help it, never own a pool. Instead, become friends with pool owners, and use their pools instead.

That is unless you like dealing with bleach, cleaning out leaves/frogs/rodents, backwash hoses, and replacing pump seals 😅

Chris, do you use TFP’s Pool Math app?

awoodsnet, to php
@awoodsnet@phpc.social avatar

i wonder how often people are honest about copy/pasting code from StackOverflow and reference the specific question in their PhpDoc comment e.g.

/**

*/

stevegrunwell,
@stevegrunwell@phpc.social avatar

@awoodsnet @Crell the short URLs for Stack Overflow and the @link@phpc.social docblock annotations are regulars in my coding practices.

ian, to random
@ian@phpc.social avatar

Watch for people unmuting in Zoom because if someone is wanting clarification badly enough to hop off mute that's significant. And watch for typing indicators/chat. And look at the camera rather than the screen when presenting. - Tori Brenneison

stevegrunwell,
@stevegrunwell@phpc.social avatar

@kboyd @ian I have googly eyes on my webcam, but my eyes still drift to the screen.

ephbaum, to random

Finish this Toot:

People who cavalierly use git pull --rebase without actually understanding the risk of rewriting commit history are probably the same sort of people that...

stevegrunwell,
@stevegrunwell@phpc.social avatar

@ephbaum add --skip-ci to every commit message “because it’s faster”

stevegrunwell, to random
@stevegrunwell@phpc.social avatar

Hey all, I finally decided to drop my old account (@stevegrunwell) for one with all of my PHP friends.

A bit about me: Staff Software Engineer, FOSS contributor, and conference speaker. I've been remote since '14 and have no intention of going back.

A couple years ago, I also started building effects pedals for guitar/bass.

In 2021, I moved back to my college town with my family. I'll always carry a torch for Columbus, Ohio.

More about me @ https://stevegrunwell.com

stevegrunwell,
@stevegrunwell@phpc.social avatar

Alternate :

Hi, I’m @stevegrunwell. You might remember me from other social media handles, including @stevegrunwell and @stevegrunwell.

I’m here to talk to you today about enshitification and late-stage capitalism: if some rich, white asshole isn’t making a fortune, does it really count as social media?

The answer might surprise you!

  • 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