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

nixCraft, to linux
@nixCraft@mastodon.social avatar

How to edit a file when you are viewing it using more / less pager https://www.cyberciti.biz/faq/edit-file-when-youre-viewing-withmore-less/

joachim,
@joachim@drupal.community avatar

@nixCraft Does that also work with non-awful text editors?

ZachWeinersmith, to comics
@ZachWeinersmith@mastodon.social avatar
joachim,
@joachim@drupal.community avatar

@ZachWeinersmith Is the implication that the alien is the ex?

ben, to random
@ben@werd.social avatar

Zero tolerance for nationalism.

joachim,
@joachim@drupal.community avatar

@tshirtman @ben Yup, the SNP in Scotland calls it civic nationalism. And they are very careful in their campaigns and policies to make it about all people who live there, whatever their ethnic origin.

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

Really not keen on #Drupal commerce adding a 'Commerce inbox' item to the admin toolbar. #DrupalCommerce

joachim,
@joachim@drupal.community avatar

@pcambra I don't mind the messages at /admin/commerce, but putting something in the toolbar is too much.

kaydo, to random
@kaydo@aus.social avatar

It should be illegal for appliances to beep, they should just yell out what they are.

I don't want my fridge to beep when I leave it open, just yell "fridge".

When my toaster is done, it could just yell "toast".

This is a perfect idea that I haven't thought through.

joachim,
@joachim@drupal.community avatar

@kaydo I was thinking this recently when I couldn't figure out which was beeping out of two fire alarms and one CO alarm. Does run into problems with customisation (which fire alarm?) and localisation. Maybe patterned beeps, like lighthouses?

Crell, to php
@Crell@phpc.social avatar

Teacher: Replace any validation a function does on its inputs with more robust types instead. Eliminate all conditionals that could be types instead.

Student: But doesn't that just push the validation problem up a level?

Teacher: Exactly. Now do it again. And keep doing it until you run out of upper levels.

Student: But now I'm just parsing input into an object as soon as I get it. There's nothing for other code to even do.

And the Student was enlightened.

joachim,
@joachim@drupal.community avatar

@Crell I've long had the maxim 'Push complexity down'. Maybe this is its complement, 'Move validation up'.

joachim,
@joachim@drupal.community avatar

@Crell I can't think of a good example, but basically I try and make APIs and surfaces simple, and contain ugly special cases and complex handling inside the black box, and push that down through multiple layers if possible.

joachim,
@joachim@drupal.community avatar

@symfonystation Changer la classe du formulaire ça casse si qq d'autre veut faire pareil. Il faut plutot utiliser hook_form_alter().

joachim, to random
@joachim@drupal.community avatar

The teeny-tiny credit card payment widget in Classlist is the weirdest thing ever.

cliffwade, (edited ) to fediverse
@cliffwade@allthingstech.social avatar

Do you turn off your PC after you are done using it for the day?

Please BOOST for maximum exposure to the

Comment below with your thoughts on powering off or not powering off your PC after each use.

joachim,
@joachim@drupal.community avatar

@cliffwade I put my laptop to sleep, but my desktop machines I always power off.

joachim, to random
@joachim@drupal.community avatar

They changed this at the top of UK passports post-#brexit to satisfy the gammon, didn’t they?

brainwane, to opensource
@brainwane@social.coop avatar

If you're an maintainer seeking a good task to give a less-skilled new contributor, ask them to do a discovery report on the project, such as:

Starting from scratch, try to get a local installation up and running, and note how long it took.

Take an hour to explore our documentation and fora, and tell us your impressions.

Given a demo install, try these common user tasks.

Examples:

https://diff.wikimedia.org/2014/03/25/seeing-through-the-eyes-of-new-technical-contributors/

http://blog.linuxgrrl.com/2014/03/25/hyperkitty-at-the-0th-spinachcon/

https://blog.openhatch.org/2014/spinachcon-zero-a-huge-success/

https://www.changeset.nyc/resources/installation-audit.html

joachim,
@joachim@drupal.community avatar

@ehmatthes @brainwane That looks great! Comes across a lot better than some templates I've seen that sound like 'Answer ALL these questions or we will CLOSE the issue.'

b0rk, (edited ) to random
@b0rk@jvns.ca avatar

this morning I'm thinking about how git's history of being built as a series of shell scripts has affected its user experience

my sense is

  1. a lot of git was originally built as shell scripts (see https://github.com/git/git/tree/215a7ad1ef790467a4cd3f0dcffbd6e5f04c38f7/)
  2. the user experience you can provide in a shell script is extremely limited
  3. a lot of that now can't change for backwards compatibility reasons

does anyone have examples of this? will talk about how I think this affects merge conflicts in the next post

(1/?)

joachim,
@joachim@drupal.community avatar

@b0rk There's a lot of inconsistency. E.g. a lot of commands are 'git COMMAND VERB SUBJECT', like 'git remote add'. But git tag mysteriously uses flags for its verbs.

joachim,
@joachim@drupal.community avatar

@b0rk I suspect it's because they were development separately rather than as a coherent whole, presumably one script for each command?

joachim,
@joachim@drupal.community avatar

@dvogel @b0rk It was git or mercurial, but I don't remember how git managed to win over mercurial. The benefit of DCVS was clear though.

organicmaps, to random
@organicmaps@fosstodon.org avatar

Now everyone can back up or share all bookmarks and imported tracks as one KMZ file with just one click! And then import everything back from the same file.

Apple users can now edit the colors of imported tracks and have a more convenient way of editing bookmarks. And don't forget to check our updated About dialog!

Read the detailed changelog on our website: https://organicmaps.app/news/2024-03-11/now-everyone-can-back-up-or-share-all-bookmarks-and-imported-tracks-as-one-kmz-file-with-just-one-click/

Drinking water emoji example
Export all bookmarks - iOS
Recycling container types in search results

joachim,
@joachim@drupal.community avatar

@organicmaps What's the file format? Is it human-readable and editable (which would be a workaround for ordering bookmarks).

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

What should I propose as a session to #DrupalCon Barcelona?

joachim,
@joachim@drupal.community avatar

@jpoesen has a policy of accepting 1 session per person, to encourage more people to present. So I'd rather just submit one!

midcamp, to drupal
@midcamp@fosstodon.org avatar

Exciting News for Enthusiasts & Content Creators 🌟

Join Vincenzo Gambino for an innovative session on integrating with Drupal at . Revolutionize your web experience!

https://buff.ly/3IzEayU

joachim,
@joachim@drupal.community avatar

@midcamp We should be boycotting this garbage, not encouraging it.

b0rk, (edited ) to random
@b0rk@jvns.ca avatar

let's imagine you're resolving this merge conflict (in screenshot).

You've forgotten which code comes from your current branch and which one comes from the "other" branch. How do you figure it out? Do you:

  1. remember what the "top" and "bottom" parts correspond to from past merge conflicts?
  2. remember what HEAD means?
  3. read the last line of the merge conflict?
  4. run something like git show main or git diff mybranch..main to see the diff?
  5. enable diff3
  6. something else?
joachim,
@joachim@drupal.community avatar

@b0rk There is a git config option to show a 3rd chunk, the common ancestor of both changes. But I'm not managing to find what it is on google, and looking in my .gitconfig files is not showing me anything useful!

joachim,
@joachim@drupal.community avatar

@b0rk In a rebase conflict, I copy the SHA from the CLI conflict message (which frustratingly has a '...' glued to it which means you can't double-click to select it...), then in a separate terminal window do 'git show SHA' to try to understand what the commit wants to change. I generally don't ever do merge conflicts -- if there is one, I rebase the branch, resolve conflicts in that, then merge.

joachim,
@joachim@drupal.community avatar

@b0rk Aha! I just saw another reply mention this -- it's diff3. (Though I have no idea how I've managed to get my system to show me this.)

joachim, to random
@joachim@drupal.community avatar

It's great to know that I have the knack for throwing in a difficult point that effectively freezes the whole discussion in a parent whatsapp group as well as in Drupal issue queues. :/

ultimike, to drupal
@ultimike@drupal.community avatar

A bit of a deep dive into how to determine what’s overriding your config from a serious core (and security team) contributor, Drew Webber:

https://buff.ly/3P43mBo

This is the kind of article I’m saving for a rainy day - I suspect it’ll come in handy in the future.

joachim,
@joachim@drupal.community avatar

@ultimike I didn't even know about module config overrides!

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