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

pluralistic, to DaftPunk
@pluralistic@mamot.fr avatar

"Enshittification" isn't just a way of describing the symptoms of platform decay: it's also a theory of the mechanism of decay - the means by which platforms get shittier and shittier until they are a giant pile of shit.

--

If you'd like an essay-formatted version of this thread to read or share, here's a link to it on pluralistic.net, my surveillance-free, ad-free, tracker-free blog:

https://pluralistic.net/2024/03/26/glitchbread/#electronic-shelf-tags

1/

joachim,
@joachim@drupal.community avatar

@kgoldsholl @pluralistic Also, the way that companies have converted their sites to platforms. E.g. B&Q, a chain of UK DIY shops, used to have a website that sold their stuff. It was fine. You could buy the things that they also sold in their shops. Now it's a PLATFORM and it lists products sold by loads of random other firms. There's no guarantee of quality, no idea who you're dealing with if things go wrong.

joachim, to drupal
@joachim@drupal.community avatar

If you want to help lower its carbon footprint, I've filed a TON of issues to convert form requests in browser tests to API calls: child issues of https://www.drupal.org/project/drupal/issues/3305376

joachim, to composer
@joachim@drupal.community avatar

Released a new command for switching a module installed in a project to a git clone install, so you can fix bugs and test MRs in the context of the project: https://github.com/joachim-n/drupal-project-contrib-development Please try it and report any problems!

sysop408, to drupal
@sysop408@sfba.social avatar

What's a good use case for creating a custom entity in ?

It seems to me that in terms of creating regular content, there are exceedingly few cases where you wouldn't be better served just by creating a new node bundle and then making your own custom field types, widgets, and formatters to extend the good ol' Node entity.

I thought that a custom entity might be warranted for performance reasons if you need to squeeze every bit of speed you can, but I read a couple of blog posts from someone who said he found the difference to be minimal.

In his estimation if you need squeeze as much speed as you can and have a highly structured data schema that's not likely to need changes, you should just create custom DB tables and write direct queries to retrieve the data.

https://www.rapiddg.com/article/when-should-i-use-custom-entities-part-2

joachim,
@joachim@drupal.community avatar

@mrdalesmith @sysop408 I'd add:
4. Do you need base fields, i.e. fields defined in code? (Bundle fields still have only partial support in core.)
5. Do you want custom indexes on the DB table?

joachim,
@joachim@drupal.community avatar

@mrdalesmith @sysop408 That works if you want your custom base field to be on all node types. In cases where you want N bundles to have a base field, but not on existing node types, I'd say make an entity type.

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

Really nice #Drupal module for creating multi-valued form elements in config forms: https://www.drupal.org/project/multivalue_form_element Developed by the @EU_Commission!

joachim, to random
@joachim@drupal.community avatar

DDEV has some excellent docs. Took me all of 30 seconds to get up and running using Xdebug from https://ddev.readthedocs.io/en/latest/users/debugging-profiling/step-debugging @ddev

joachim, to drupal
@joachim@drupal.community avatar

New release of Code Builder adds selecting of events to subscribe to. And new release of Module Builder has the autocomplete tweaked to treat '.' and '_' as interchangeable, so you no longer need to remember if it's 'entity.type.manager' or 'entity_type.manager' - either will work.

joachim, to drupal
@joachim@drupal.community avatar

Script to switch a contrib module from a fixed package to a Composer path repository that's a git clone: https://gist.github.com/joachim-n/4f1c046d61a68384c416eb806a904249 Longer-term plan: make this a addon that runs . @ddev

joachim, to random
@joachim@drupal.community avatar

Added instructions for installing the Drupal core development Composer project template on DDEV: https://github.com/joachim-n/drupal-core-development-project

joachim, to drupal
@joachim@drupal.community avatar

goes quantum: entity field data that changes when you look at it!! - https://www.drupal.org/project/drupal/issues/3367543

joachim, to random
@joachim@drupal.community avatar

Unexpected bonus of using PHP attributes instead of annotations for plugins: the new release of adds helpful comments to tell you what each property does -- https://github.com/drupal-code-builder/drupal-code-builder/releases/tag/4.3.7

joachim, to random
@joachim@drupal.community avatar

New release of with some updates for Drupal 10.2. Also adds route parameters to the controller callback, complete with entity upcasting! https://github.com/drupal-code-builder/drupal-code-builder/releases/tag/4.3.6

joachim, to random
@joachim@drupal.community avatar

A recent release of has added autocomplete to all commands, including custom ones. Big improvement! @ddev

joachim, to drupal
@joachim@drupal.community avatar

Are you lazy about writing a README file for your module? The new release of Drupal Code Builder writes some of it for you - module dependencies and instructions for navigating to the module's settings form are now automatically generated!

joachim, to drupal
@joachim@drupal.community avatar

Released an update to my core development Composer project template to make it compatible with Drush 12. Painless Drupal core development: https://github.com/joachim-n/drupal-core-development-project

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

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

joachim, to random
@joachim@drupal.community avatar

@organicmaps has been HUGELY useful for both planning and while away on holiday. I've downloaded maps of where we were going for offline use, so I can navigate without data or wifi. I've used it to find shops, playparks, restaurants, ice cream, and drinking water. With the bookmark feature I can make lists of useful spots ahead of time. I've filed LOTS of bugs in their issue queue because I'm a nitpicker and a magnet for bugs, but it's because I think it's a fantastic app with huge potential!

jpoesen, to random
@jpoesen@drupal.community avatar

Dealing with regular expressions?

You need https://regex101.com.

joachim,
@joachim@drupal.community avatar

@jpoesen @rachel @pcambra Ok the regex crosswords are okay but the regex wordle is EVIL.

joachim, to random
@joachim@drupal.community avatar

People writing articles about open source software: stop using AI-generated images.

LeftistLawyer, to random
@LeftistLawyer@kolektiva.social avatar

This space is open for discussion on factors influencing elevated ratios.

joachim,
@joachim@drupal.community avatar

@LeftistLawyer It's not that controversial an idea in the UK -- there are christian XR protesters, for instance, and at least one of them is a vicar.

revk, (edited ) to random
@revk@toot.me.uk avatar

OK, screen scraping Monmouthshire council site.

Seems to work, we'll see how it copes with the changes on the day.

Backlight LEDs know bin colours too :-) (boring when only one is green)

joachim,
@joachim@drupal.community avatar

@ekes @rachel @phlash @revk @falken @sangu I'm suddenly struck by the responsibility of my work! I was just faffing about with SearchAPI and recurring dates, and now it's got a direct impact on people's daily lives!

ultimike, to drupal
@ultimike@drupal.community avatar

“Your mileage may vary.”

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

https://buff.ly/4bm806L

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.

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