@joachim@drupal.community
@joachim@drupal.community avatar

joachim

@joachim@drupal.community

'Jaz dood' - my 6yo.

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

joachim, to random
@joachim@drupal.community avatar

New blog post: code with - http://www.noreiko.com/blog/refactoring-rector (First blog post in nearly two years!)

joachim, to random
@joachim@drupal.community avatar

Gah the complexities of pre-teen diplomacy! Just said to 9yo: 'Yes, you can go in your [7yo] sister's room to look for a pritt stick while she's out. If she complains, I will take the blame. You are acting as my proxy because I am busy cooking dinner.'

joachim, to random
@joachim@drupal.community avatar
joachim, to UX
@joachim@drupal.community avatar

Could people please fix lightboxes that make the image SMALLER when you try to zoom the page!

joachim, to drupal
@joachim@drupal.community avatar

You can tell when I'm starting work on a new migration because I rebase all the merge requests for fixes and enhancements I consider essential. Such as https://www.drupal.org/project/migrate_tools/issues/2969227.

ultimike, to drupal
@ultimike@drupal.community avatar

“Your mileage may vary.”

Nice, sober, realistic advice about using AI for development from Brent Schultz from Third and Grove. Lots of good tips in here.

https://buff.ly/4bm806L

joachim,
@joachim@drupal.community avatar

@ultimike Given how much we all hate debugging crappy code... why are people putting themselves through this?

joachim,
@joachim@drupal.community avatar

@ultimike I don't see how this can get better. It's just probabilistic guesswork. And it's fucking the planet while it's doing it. Using AI is immoral.

joachim, (edited ) to drupal
@joachim@drupal.community avatar

The other day I was running tests on one of my contrib modules, and got a deprecation warning for a trait in #Drupal core that had been renamed. And my first thought was, 'Who the hell has been farting around renaming damn test traits, and what the hell for?'
Readers, it was me. I'd filed the issue to rename that test trait.

ultimike, to drupal
@ultimike@drupal.community avatar

Nice simple example of replacing jQuery.parents() with a CSS :has from @nod_ (Théodore Biadala):

https://buff.ly/3xCXIR1

This is useful for front-end developers trying to reduce/remove their dependencies on jQuery.

joachim,
@joachim@drupal.community avatar

@ultimike @nod_ Is our JS linting now allowing has() in selectors? Because a few months ago it wasn't letting me use it on https://www.drupal.org/project/drupal/issues/3028968

slashdot, to random
@slashdot@mastodon.cloud avatar
joachim,
@joachim@drupal.community avatar

@slashdot Put the stupid bullshit generators (i.e. 'AI') over there, and only run them when there's surplus power?

nixCraft, to linux
@nixCraft@mastodon.social avatar

What's the one or command-line tool you absolutely can't live without?

joachim,
@joachim@drupal.community avatar

@nixCraft 'ag'

joachim, to drupal
@joachim@drupal.community avatar

BIG update to my set of commands for working with contrib within a project: https://github.com/joachim-n/drupal-project-contrib-development I've added a command to make and apply a patch from a feature branch in a module's git clone!

joachim, to php
@joachim@drupal.community avatar

What's the generic term for keywords in like 'static', 'public', 'final', etc?

joachim,
@joachim@drupal.community avatar

@merms They apply to properties as well! I call them 'modifiers' but I wonder if there's a proper name.

joachim,
@joachim@drupal.community avatar

@davesh That's not specific enough though.

joachim, to random
@joachim@drupal.community avatar

#git commands I need, part 1: git related: show me all the branches that contain the same issue number in their name as the current branch

joachim,
@joachim@drupal.community avatar

@mal3aby Yes, I use 'sandbox-xxx-description' for WIP and rough ideas and 'xxx-description' to push to a MR.

joachim,
@joachim@drupal.community avatar

rel = "!perl -e '$branch = qx[git rev-parse --abbrev-ref HEAD]; ($issue) = $branch =~ m[\\b(\\d+)\\b]; print qx[git branch | grep $issue];'"
Added to my git aliases repository: https://github.com/joachim-n/git-aliases-drupal

joachim,
@joachim@drupal.community avatar
joachim, to random
@joachim@drupal.community avatar
meganL, to random
@meganL@mas.to avatar

Accessibility tip:

If you don't use a screenreader to access the internet, you may be unaware that case matters in hashtags. Sadly, Mastodon tends to lower case them even when you're trying to camel case them.

If you lower case a multiword hashtag, the screenreader reads it like it's one word - making gibberish out of it. If you camel case it (capitalize the start of each word even though you're not spacing between words), the screenreader can differentiate the words.

>

joachim,
@joachim@drupal.community avatar

@meganL Is there a bug report in Mastodon for this?

joachim,
@joachim@drupal.community avatar

@meganL I'd say that something that is detrimental to a11y is definitely a bug. I'm not sure that's what mastodon is doing though. I think it's basing it on existing uses of the tag. e.g. suggests that case, presumably because existing uses have it in that case. For I'm guessing it's because all or most of the existing uses are all lowercase. So the bug to fix is to prefer mixed case over lowercase.

joachim,
@joachim@drupal.community avatar

@meganL Though the question would then be, what does it do when there are several versions of mixed case, maybe because of people making typos?

jrf_nl, to random
@jrf_nl@phpc.social avatar

Gotcha!

Time to clean up my messy code littered with debug statements and create a clean atomic commit for public consumption.

joachim,
@joachim@drupal.community avatar

@jrf_nl I have the same technique! I make the messy commits on a branch called sandbox-something and then git merge --squash to either main or a feature branch if it's just one step of many.

ben, to random
@ben@werd.social avatar

This is completely awesome. I ran to buy a pack. https://dan.mastohon.com/@danhon/112287485935526955

joachim,
@joachim@drupal.community avatar

@ben Is the website supposed to have the stickers all covering each other up so you can't read what they say, and when you pull one out to read it the big mouse pointer covers up most of the text so you still can't read it?

  • 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