Replies

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

sarah, to random
@sarah@phpc.social avatar

No one is above the law. No one.

sarah,
@sarah@phpc.social avatar

@afilina no, accountability.

Justice happens after he’s sentenced and punished.

Accountability started when twelve people stood up in judgement.

sarah, to php
@sarah@phpc.social avatar

If you haven't picked up a free copy of my book, Mastering Object-Oriented PHP, make sure you head over to https://masteringobjectorientedphp.com and get your copy today! Free is my way of giving back to the PHP community.

#php #oop #opensource #software #development #free

sarah,
@sarah@phpc.social avatar

@webcodingcafe Hmm. Any error message or anything? If you DM me your address I can email you a copy of the book.

nutjob4life, to random
@nutjob4life@fosstodon.org avatar

MATH FUN!

Because there are always pregnant people, the average number of skeletons in a body is greater than one

sarah,
@sarah@phpc.social avatar

@nutjob4life @Girgias also if you count each month of a pregnancy as producing a fractional human approaching 1 at delivery, the number of humans on earth is theoretically not a whole number.

(Caveat: I’m not making any opinion here on abortion politics. Just having fun with math)

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

One week ago, I watched "20 Days in Mariupol", a gripping film when Russia started the full scale invasion of Ukraine.

At times, I had to pause watching it as it way too much.

The extraordinary cruelty of targeting civilian infrastructure made it even clearer to me that we're doing way too little to help them. Restricting what the Ukrainians can hit is stupid policy.

Any strike on a civilian target MUST be able to result in an appropriate response. Make the suckers pay for it.

#SlavaUkraina

sarah,
@sarah@phpc.social avatar

@derickr intentionally striking civilian infrastructure is a war crime and has been for a long time. Two wrongs don’t make a right.

sarah,
@sarah@phpc.social avatar

@derickr @saramg @Crell I agree. Legitimate military targets include these things and should not be off limits to Ukrainian attacks.

I draw the line at bombing a shopping mall though, as an example.

sarah, to random
@sarah@phpc.social avatar

New post: The danger of boolean flags in object methods https://sarah-savage.com/the-danger-of-boolean-flags-in-object-methods/

sarah,
@sarah@phpc.social avatar

@thomastospace shit. Thanks for the note!

sarah,
@sarah@phpc.social avatar

@dennistobar thanks! I’ll fix that.

maccath, to random
@maccath@phpc.social avatar

On my way to the airport for this week in Berlin. I'll be delivering two talks - 🔐 Auth 101 and 🧅 Shrek, Onions and Architecture.

Looking forward to seeing some familiar faces and indomitable @jrf_nl, @zzap, @michelle and @jessicamauerhan!

Will you be there? :)

sarah,
@sarah@phpc.social avatar

@maccath @michelle @flowcontrol @jrf_nl @zzap @jessicamauerhan nnooooo! I’m so sorry to hear about you having Covid Michelle. Feel better!

jclermont, to php
@jclermont@phpc.social avatar

It's best practice to always use the config helper in our application code, except for one place: Don't use the config helper in config files.

Here's an explanation as to why. #php #laravel https://masteringlaravel.io/daily/2024-05-27-dont-use-the-config-helper-in-a-config-file

sarah,
@sarah@phpc.social avatar

@jclermont isn’t it better practice to inject the config you need into the places you need it, rather than globally calling a function?

sarah, to random
@sarah@phpc.social avatar

I run a disaster test scenario at least once a quarter where I restore the database of mission critical components as though we were starting from scratch.

It's taught me three things:

  1. Restoring a database is a lot more complicated than simply unzipping a file and importing it into a database program.
  2. You inevitably forget things, so build a comprehensive checklist.
  3. Database imports take longer than you think with full production data.

Practice makes perfect in disaster recovery.

sarah,
@sarah@phpc.social avatar

@preinheimer Oh wow. That's a significant change that appears to have done well for you. :)

sarah, to random
@sarah@phpc.social avatar

Having a backup is a good idea.

Having a well-tested backup is a better idea.

Knowing with certainty that your database, file and code backups are working is the only way to be sure that you can recover from a disaster.

An untested backup is just a hope. A thoroughly-tested backup and restore approach is a good idea.

sarah,
@sarah@phpc.social avatar

@afilina Indeed!

sarah, to random
@sarah@phpc.social avatar

Hot take: the best framework in PHP is easy to figure out. I'll even tell you what it is.

Drumroll please...

The best framework in PHP is the one that gets the job done for your business case.

Frameworks are tools, and we should treat them as such. The best one meets your business needs and development goals, and achieves the objectives for which it was selected. Nothing more, nothing less.

sarah,
@sarah@phpc.social avatar

@ghostwriter I used Wordpress. It was pretty straightforward.

Crell, to random
@Crell@phpc.social avatar

I hate mocking libraries...

sarah,
@sarah@phpc.social avatar

@Crell try reading in them instead of the books are life changing. 😈

sarah, to random
@sarah@phpc.social avatar

If you're starting off your week looking for a new role, make sure you check out PHP For Hire, a directory of talent for PHP developers. You can create a profile that can be found by employers looking to hire PHP talent. See https://phpforhire.com for more.

sarah,
@sarah@phpc.social avatar

@iCaspar I'm behind this.

assertchris, to random
@assertchris@mastodon.social avatar

Built a custom drafting experience and it's wonderful. No more writing in the publishers' word docs.

image/png

sarah,
@sarah@phpc.social avatar

@assertchris Sounds cool. Hopefully you open source it at some point. :)

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