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

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

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.

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

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

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

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

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

I've seen software built like this, too.

https://youtube.com/shorts/ptRjzMBSTW8

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

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

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

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

Crell, to security
@Crell@phpc.social avatar
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...

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

  • 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