@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 php
@Crell@phpc.social avatar

I've just tagged a new release of Crell/Serde, version 1.2.

This release includes support for Unix timestamps, makes TypeFields more flexible and customizable, and fixes an issue with handling null values. Note that the latter fix has a very small BC break that only impacts a select number of custom Importers, so odds are you won't notice.

Get it while it's hot!

https://github.com/Crell/Serde

Crell, to random
@Crell@phpc.social avatar

When you say what a word "means", what do you mean by "mean?" It's actually not a trivial question.

https://peakd.com/language/@crell/bounded-vs-centered-sets

Crell, to StarTrek
@Crell@phpc.social avatar

🎵 It is life but not as we know it... and I feel fine... 🎼

-- Michael Spock

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?

Crell,
@Crell@phpc.social avatar

@grmpyprogrammer I tried just a mustache in grad school.

My camera at the time refused to take pictures of it. I never figured out why, but I took it as a sign that I should not do that.

Crell, to Russia
@Crell@phpc.social avatar

The US has already been at war with Russia for a decade, just not with bullets. Or rather, has been at war with us, and all of NATO. It's high time we recognized that for what it is.

Crell, to webdev
@Crell@phpc.social avatar

"You build an integration with the API you have, not the API you wish you had." --Programmer Rumsfeld

timbray, to random
@timbray@cosocial.ca avatar

Xi PT, rhymes with GPT: “China has introduced 'Chat Xi PT,' a new AI chatbot trained on President Xi Jinping's political philosophy, as the country seeks to balance AI development with strict content control and compliance with socialist values.”

https://www.perplexity.ai/page/Chinas-Chat-Xi-QyjXwHVZTMS_4wB8PsZb_g

Crell,
@Crell@phpc.social avatar

@timbray Satire is dead. And stop giving Trump ideas.

supergarv, (edited ) to php German
@supergarv@phpc.social avatar

Property #Getter methods (in #PHP, and frameworks like #TYPO3 #Drupal #Symfony)...

(Boost for reach, trying to get a feel for this)

Crell,
@Crell@phpc.social avatar

@supergarv They should be idempotent, but may trigger caching and such.

(This will get more interesting in 8.4 with hooks... :-) )

Crell, to random
@Crell@phpc.social avatar

I've seen software built like this, too.

https://youtube.com/shorts/ptRjzMBSTW8

Crell, to random
@Crell@phpc.social avatar

Inheritance has is uses and advantages!

... But oh boy does it add a lot of gross complications to the language.

Crell,
@Crell@phpc.social avatar

@ntha Traits are a surgical tool. It's very easy to cut yourself with them badly. (See also, Laravel.)

Crell,
@Crell@phpc.social avatar

@blackwolf12333 @ntha

https://www.garfieldtech.com/blog/beyond-abstract

I also think the way I use them in Serde is reasonable, mainly because there's no external dependencies in the traits:

https://github.com/Crell/Serde/tree/master/src/Formatter

Crell, to random
@Crell@phpc.social avatar

Impeach Justice Sam Alito.

(And Thomas, while you're at it.)

https://www.youtube.com/watch?v=fuHFFkezgVs

Crell, to random
@Crell@phpc.social avatar

When all you have is a hateful hammer, everything looks like a culture war.

https://youtu.be/HQMgeasXjLs

carrideen, to random
@carrideen@c18.masto.host avatar

I know Althusser (caveat), but his insight that there is nothing outside of ideology (which for him is actions that support power, not beliefs) is undervalued. I'm so tired of obviously fascist patriarchal oppressors telling us they're "critical thinkers not ideologues" when they obviously do everything to uphold power as it is. You can't step outside of ideology without stepping into another ideological system. Better to know what system you are promoting rather than "unwittingly" back evil.

Crell,
@Crell@phpc.social avatar

@carrideen @MisuseCase In theory, the whole point of a representative democracy with frequent elections is to allow change to happen at a steady pace, rather than getting stuck in the mud until something breaks badly and people die. It's to avoid bloody revolution as much as possible.

It... hasn't quite worked out as intended.

Crell, to random
@Crell@phpc.social avatar

When you say what a word "means", what do you mean by "mean?" It's actually not a trivial question.

https://peakd.com/language/@crell/bounded-vs-centered-sets

Crell, to random
@Crell@phpc.social avatar

I do not endorse violence. Which is why strong unions are the better option.

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

Crell,
@Crell@phpc.social avatar

@tress777 Presumably small towns ans school libraries, mostly.

Crell, to security
@Crell@phpc.social avatar
Crell, to random
@Crell@phpc.social avatar
saramg, to random
@saramg@fosstodon.org avatar

Star Trek TNG 3x16 The Offspring (The one where Data builds a daughter).

SHUT UP!
I'M NOT CRYING, YOU ARE!

Crell,
@Crell@phpc.social avatar

@saramg Jonathan Frakes' directoral debut. He came out swinging.

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

Crell,
@Crell@phpc.social avatar

@heiglandreas @syntaxseed @rskuipers @derickr Murder in self-defense is generally considered justified.

If someone attacks you with their fists, it's reasonable to break their nose, but not snap their neck.

If someone comes at you with a knife, gloves off, slit their throat with it.

Any industrial target in Russia should be fair game right now. The Putin operatives in Congress (GOP) are a threat to everyone's national security.

Crell, to random
@Crell@phpc.social avatar

Whoever decided that bad standards are better than no standards never had to use them...

Crell,
@Crell@phpc.social avatar

@deane I've been at a Kotlin-based company for a year and a half. First year I was managing their one PHP division. Now I'm transitioning into Kotlin/Spring applications.

So far, I kinda like Kotlin. I quite dislike Spring.

Crell, to random
@Crell@phpc.social avatar

A pet peeve of mine is "reinventing something old with a new name and insisting the new name is the only valid name."

The latest: Anyone who calls it a "DTO" instead of "product type", you're on notice.

Crell,
@Crell@phpc.social avatar

@pierstoval You see my problem...

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