@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

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

@saramg @derickr IIRC, Ukraine isn't allowed to hit anything in Russia with US weapons. They have to use domestic gear for it.

Whereas a munitions factory on Russian soil should absolutely be a fair target for the HIMARS we gave them, especially as Russia has made the ineffective in Ukraine through jamming.

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

Oh. My. Fucking. God.

I have just learned that " Bean" has two completely different and incompatible definitions.

One is a dumb, badly designed data object with getters and setters.

The other is... a service object managed by the Spring framework IoC container.

Holy hell. This is 10x worse than "facades."

Am I wrong here? This is what I'm finding from online tutorials. Is there more nuance that is not coming through, because for now I just hate even more.

Crell,
@Crell@phpc.social avatar

@travisfw The data Bean definition goes back to early Java 1.1. I remember doing it in college.

The Spring "Bean" I just discovered the definition of. Spring is the most common JVM framework. And that makes me very sad.

Crell,
@Crell@phpc.social avatar

@travisfw There's that, too. (Though Doctrine in PHP does the same, and I hate it just as much.)

Crell,
@Crell@phpc.social avatar

@josh What Laravel calls a facade and what the rest of the programming world calls a facade are quite different. Laravel got the name wrong, and has poisoned the minds of a decades worth of developers. l

Crell,
@Crell@phpc.social avatar

@deane The first kind were because the language designers didn't think about serialization, and how serialization and private properties might be a problem. They're a hack.

The second kind, I mean, services in IoC are a good thing. Just don't use the same damned name!

AlexVoss, to random
@AlexVoss@fosstodon.org avatar

On of my favorite Philosophers on innovation and punching Nazies: @tante speaking at - don't worry, he switches to English after a few moments:

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

Crell,
@Crell@phpc.social avatar

@AlexVoss @tante Wow. Gloves off. I love it.

Crell, to random
@Crell@phpc.social avatar

The most misunderstood parable. (The Good Samaritan Israelite.)

https://youtu.be/S0YyC4lEIBM

ramsey, to Matrix
@ramsey@phpc.social avatar

A single-user #Matrix #Synapse server should not require so many resources to run. 1 vCPU and 1 GB of RAM should be plenty.

Crell,
@Crell@phpc.social avatar

@mcg @ramsey We need to be writing it in more efficient languages. And by devs who can be more efficient. Modern common dev practices throw all performance considerations out the window. Even OSes are slower than they used to be.

Crell,
@Crell@phpc.social avatar

@ramsey @bobmagicii @mcg And then compiled to Wasm for a portable, universal VM.

Really, I'm only half joking. For something like an ActivityPub framework, a Wasm host with Rust for the core components makes a huge amount of sense. If I had infinite side project time, I'd probably be working on that myself.

Crell, to random
@Crell@phpc.social avatar
jasongorman, to random
@jasongorman@mastodon.cloud avatar

It sometimes feels like the last 25 years of progress in software development has just been thinking up cool names for the things we were doing in the previous 25 years.

Crell,
@Crell@phpc.social avatar

@jasongorman Or in some cases, forgetting it, again, and having to reinvent it.

Natanox, to webdev
@Natanox@chaos.social avatar

I probably get flooded by asking this but welp, here I go:

I'm looking for a good, visual (!) #tutorial for #WebDevelopment that focuses on Codium, Firefox and other Open-Source tools. My specific interests are to learn #HTML, #CSS, #PHP and #SQL. Perhaps some minor #Javascript, however I'd like to primarily work without it.

I'm a visual learner, extended theory in text won't help me at all. As language is visual to me, so is #programming.

Anyone knows something that checks these boxes?

Crell,
@Crell@phpc.social avatar

@Natanox Would videos work? Symfony Casts has a ton of videos, some free some pay, on basic PHP through advanced Symfony usage.

Crell,
@Crell@phpc.social avatar

@Natanox That's why I don't usually like videos, either. :-) What counts as visual, then? Lots of code samples?

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.

#GetOffMyLawn

Crell,
@Crell@phpc.social avatar

@pierstoval You see my problem...

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