@Crell@phpc.social avatar

Crell

@Crell@phpc.social

Anything worth doing is worth doing well.

Anything worth doing well is worth teaching others to do well.

Author of Thinking Functionally in PHP, now on LeanPub: https://leanpub.com/thinking-functionally-in-php

#tootfinder

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

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

PSA: just announced they're changing their privacy policy to default all of your account info, who you support, etc. to public. You need to go into the settings and disable that. (Check the two toggles at the bottom of the Settings page to off.)

And then send Patreon a nasty letter, because default-open is just a stupid model to begin with, period.

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

This is sadly entirely accurate, and the whole problem...

(Edit: Original is here. Go follow the artist. https://mastodon.social/@workchronicles/112417993863156684)

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

Estimates.

(From https://workchronicles.com)

Crell, to random
@Crell@phpc.social avatar

"Unity announced the changes following a difficult couple of years that saw an Apple privacy change cut off much of its ad revenue."

Excuse me, why does a game engine company have ad revenue? Only because they're double-dipping and spying on their customers' customers (you).

Their apology can get stuffed.

Side note: This is why Free Software matters!

https://www.engadget.com/unity-apologizes-and-promises-to-change-its-controversial-game-install-fee-policy-082408455.html

Crell, to llm
@Crell@phpc.social avatar

Your engineers were so concerned with whether or not they could, you never stopped to think if you should.

CAPTCHAs are dead.

#LLM

Crell, to mastodon
@Crell@phpc.social avatar

Tangled Threads: How admins should respond to and in a way that protects our users best. Tip: It's not through proactive defederation.

https://peakd.com/mastodon/@crell/tangled-threads

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

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

Sorry not sorry.

Crell, to php
@Crell@phpc.social avatar

Oh HELL yes!

"We propose to update and modernize the English PHP documentation, review and remove user comments, integrate 3v4l.org for interactive examples, and simplify the maintenance process. This will make PHP more accessible to new developers and serve as a reliable reference for experienced ones."

https://thephp.foundation/blog/2024/02/26/transparency-and-impact-report-2023/

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

devm.io interviewed me about Crell/ , my serialization library.

https://devm.io/php/php8-library-serde-interview-larry-garfield-001

Crell, to php
@Crell@phpc.social avatar

Using -3 placeholders properly in (and other awesome alliterations).

https://peakd.com/hive-168588/@crell/using-psr-3-placeholders-properly

Crell, to random
@Crell@phpc.social avatar

An honorable meme...

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?

Crell, to space
@Crell@phpc.social avatar

Career goals. Absolute programming badasses.

#NASA #programming #Voyager

Crell, to php
@Crell@phpc.social avatar

Nothing makes you love more than trying to work out package management in most other language ecosystems.

FTW

Crell, to php
@Crell@phpc.social avatar

The most important metric for automated testing is "if the tests all pass, how comfortable am I just hitting deploy?"

Code coverage, test count, and all your other measurements can and should inform that metric, but ultimately that's the only metric that matters.

#PHP #Testing #Programming

Crell, to php
@Crell@phpc.social avatar

Cutting through the static: When should you use static methods in #PHP? Rarely, but not never.

https://peakd.com/hive-168588/@crell/cutting-through-the-static

Crell, to random
@Crell@phpc.social avatar

Scroll down to the end. 🙂

https://www.last.fm/robots.txt

Crell, to random
@Crell@phpc.social avatar

A friend of mine is applying for a non-tech job at Canonical. Anyone have experience working there, or know someone who does/did? Good/bad place to work? Anything to know before going in?

Their interview screening questionnaire seems ridiculous, but that doesn't tell us anything about the rest of the company. 🙂

Boost for reach and all that.

Crell, to javascript
@Crell@phpc.social avatar
Crell, to php
@Crell@phpc.social avatar

Using arrays as pseudo-objects is almost never the right answer. They're less self-documenting, slower, worse on memory, and more bug prone.

https://peakd.com/php/@crell/php-use-associative-arrays-basically-never

Crell, to php
@Crell@phpc.social avatar

Ryan and Leanna are the kind of wonderful people we all aspire to be. If there was ever someone who didn't deserve this, it's them.

Please help if you can, #PHP.

https://gofund.me/c283d28a

#PHP #Symfony

Crell, to php
@Crell@phpc.social avatar

Any time I see "bad" code, the first answer is usually "you need more precise and strict types."

Often there's other stuff wrong, but easily 70% of the time, the fix starts with "define the problem better and the problem goes away."

#PHP #Kotlin #Programming

  • 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