@iCaspar@phpc.social
@iCaspar@phpc.social avatar

iCaspar

@iCaspar@phpc.social

Software Engineer. Tech Lead. Not a guru of anything. PHP Junkie.

I play #EveOnline when I get the chance. Find me in game as Casparius.

Also: Dad things, husband things, "Renegade Baptist" things.

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

macgybo, to eveonline

Do we use another tag here instead of , folk?

iCaspar,
@iCaspar@phpc.social avatar

@macgybo
Welcome to the fediverse!
o7
is the tag you want here and is how you showed up in my feed. (All lowercase will do, but the caps make reading easier.)

iCaspar, to random
@iCaspar@phpc.social avatar

169.2

iCaspar, to random
@iCaspar@phpc.social avatar

169.8

iCaspar, to random
@iCaspar@phpc.social avatar

169.3

kerban, to random
@kerban@twit.social avatar

So it begins… Again.

iCaspar,
@iCaspar@phpc.social avatar

@kerban are you moving?

iCaspar, to random
@iCaspar@phpc.social avatar

171.3

iCaspar, to random
@iCaspar@phpc.social avatar

Here is something that belongs in the files for @lowqualityfacts

I got an email today that said, in part:

"Did you know that French people rarely suffer from constipation?

"That’s right, they regularly poop more than any other country in the world."

iCaspar, to random
@iCaspar@phpc.social avatar

170.7

iCaspar, to eveonline
@iCaspar@phpc.social avatar

How I went to nullsec and made it back, but nearly empty-handed.
https://youtu.be/EcszTZ2oEDA

hywan, to random
@hywan@fosstodon.org avatar

The case for Nushell, https://www.jntrnr.com/case-for-nushell/.

Relevant article about shells, and how Nushell pushes the boundaries further. I highly recommend reading it.

#shell #nushell

iCaspar,
@iCaspar@phpc.social avatar

@cstross @Keltounet @hywan
This is my father now with Windoze on his desktop and iOS on his iPad. By the end of 2023, he will likely quit them all. This is a man who used to program stuff in assembly code.

iCaspar, to eveonline
@iCaspar@phpc.social avatar

My latest "Messing About in (space) Boats".
https://youtu.be/_Yyk0MQksUc

iCaspar, to eveonline
@iCaspar@phpc.social avatar

Well, duh!

iCaspar, to random
@iCaspar@phpc.social avatar

Today was good.
Today was fun.
Tomorrow is another one.
— Dr. Seuss

iCaspar, to Ohio
@iCaspar@phpc.social avatar

Congratulations on holding back the latest Republican fuckery.

iCaspar, to random
@iCaspar@phpc.social avatar

Dog bathed :verified:

iCaspar, to random
@iCaspar@phpc.social avatar

Mopped :verified:

iCaspar, to random
@iCaspar@phpc.social avatar

University tuition errors wrangled and bill paid :verified:

iCaspar, to random
@iCaspar@phpc.social avatar

Dog license renewed :verified:

iCaspar, to random
@iCaspar@phpc.social avatar

Vacuumed. :verified:

afilina, to random
@afilina@phpc.social avatar

Me, on this extra-hard legacy project where something outside of my control fails every other day (infrastructure, aggressive security police, etc.)

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

iCaspar,
@iCaspar@phpc.social avatar

@afilina Conway's law strikes again.
Sometimes it's not primarily the code in need of fixing.

iCaspar, to random
@iCaspar@phpc.social avatar

I have a graduate degree in a field that is mostly about interpreting obscure documents.

And yet, understanding these financial policy documents my kid's university sent me last week and which they insist contain directions for processes I must complete by tomorrow without fail utterly eludes me.

iCaspar, to random
@iCaspar@phpc.social avatar

I think this weekend it might be time to (yet again) re-start my blog, which has been neglected lo for many a month, going on a year.
The most recent iteration is built on Eleventy, but for the next incarnation, I’m thinking Laravel.

iCaspar, to random
@iCaspar@phpc.social avatar

What a strange day it's been already. And it's only just past lunch.

Crell, to php
@Crell@phpc.social avatar

I have only recently learned of the "before" attribute in @phpunit. It seems appealing. What I don't get is... why would I ever use setUp() when I can instead use a before method? It seems like the easier, more portable solution in ever case except when I actively want to bypass a parent class's setUp().

(Same for beforeClass.)

#PHP #Testing #PHPUnit

iCaspar,
@iCaspar@phpc.social avatar

@Crell @phpunit I'm probably speaking out of turn, but after several conversations with @sebastian, I've stopped using setUp() at all. Neither do I use before. At first it seemed contraindicated, but I don't miss it. Nearly always there is a better way of setting up. And if setting up a test is complicated enough that I need setup or before, it's usually a code smell.

iCaspar, to random
@iCaspar@phpc.social avatar

The second thing coverage data showed goes to TDD is hard:

We have several classes with around 25-30% coverage.

Why? Because the team TDD'd the first method on these classes, but then wrote 2 or 3 other methods afterwards without any tests at all.

It's not that we didn't want to do TDD. It's old habits die hard. These are are mostly 1- and 2-line methods. And we'd written lots of methods like them before.

Stopping to think about the test when you already "know" the answer is hard.

  • 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