@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

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

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 #re24 - don't worry, he switches to English after a few moments:

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

#Republica

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 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 (!) for that focuses on Codium, Firefox and other Open-Source tools. My specific interests are to learn , , and . Perhaps some minor , 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 .

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?

timbray, to Israel
@timbray@cosocial.ca avatar

Every paragraph makes me want to puke about what humans will inflict on other humans. I still believe, against the evidence, that we can be better than this.
https://www.washingtonpost.com/world/2024/05/26/west-bank-aid-trucks-gaza-settlers/

Crell,
@Crell@phpc.social avatar

@timbray The "far right" is the same in every country. Racist assholes.

Fundamentalist anything is toxic.

I wish the article covered the counter protests more. They mention them off hand, but had no details.

Crell, to random
@Crell@phpc.social avatar

I of course have not verified this at all, but it's just dumb enough to be true.

Crell,
@Crell@phpc.social avatar

@ntha I am so glad I got a new job in October 2022, right before Musk bought Twitter, the tech sector imploded, AI made everyone go crazy...

Crell, to random
@Crell@phpc.social avatar

I'm hanging out with a group of under 10 year olds. They insist on listening only to the Backstreet Boys.

I guess the kids like Oldies.

carbontwelve, to php
@carbontwelve@notacult.social avatar

Ooh look is getting some more JavaScript array functions https://laravel-news.com/php-8-4-array-find-functions

Crell,
@Crell@phpc.social avatar

@carbontwelve More like functional tools. :-) The functionality exists in most languages standard libraries at this point.

Crell, to random
@Crell@phpc.social avatar

How Judge Cannon is undermining the case against Trump.

https://youtu.be/v1rTtbQJuTI

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

@ramsey Bored young males are the most dangerous thing in the world, regardless of species.

Crell,
@Crell@phpc.social avatar

@ramsey Oh, interesting. Can't trust them either, I guess. :-) (I was thinking of the current fad of playing with rudder.)

ollieread, to php
@ollieread@phpc.social avatar

So, I’m building a dependency-injection package, and it’s a lot of fun. I’ve gone a route that I don’t really see many, if any, following. I suspect it may be that a lot of the solutions out there are old, and while they have been updated, they’re still going to inherit certain approaches.

Crell,
@Crell@phpc.social avatar

@ollieread I've been looking into doing similar. What are you doing differently/new?

ramsey, to random
@ramsey@phpc.social avatar

Why do IDEs always default the terminal to the bottom of the screen? I’m always—always—going to move it to right side of the screen. No matter what. Am I the only one who does this?

Crell,
@Crell@phpc.social avatar

@ramsey I leave mine at the bottom, and I use a horizontal monitor. So there.

Crell, to random
@Crell@phpc.social avatar

Moving as a metaphor for software management.

https://www.garfieldtech.com/blog/moving-metaphor

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