@DaleTrexel@drupal.community
@DaleTrexel@drupal.community avatar

DaleTrexel

@DaleTrexel@drupal.community

Drupal developer & site manager from Minnesota. Enjoy outdoor adventures with my 2 huskies whenever not behind a computer.

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

mglaman, to random
@mglaman@phpc.social avatar

For my blog, I wrote a media type source plugin that allows adding rich embeds of links (like on social platforms.)

Should I turn it into a contrib module? I call them "Embed links", I'm not sure what the project would be named.

DaleTrexel,
@DaleTrexel@drupal.community avatar

@mglaman I like it! It would be good to have something like that which is agnostic of specific platforms.

What are you looking at for metadata to identify things like title, feature image, etc.?

DaleTrexel,
@DaleTrexel@drupal.community avatar

@mglaman Nice! I was trying to imagine doing a DIY of all the platform-specific formats out there on top of opengraph and thinking that could be a deep rabbit hole to chase down.

DaleTrexel,
@DaleTrexel@drupal.community avatar

@mglaman @mandclu Are you thinking that "Embed Links" might be too generic?

"Social Embed Links" is a bit more descriptive, but is that too specific for your application?

"Rich Embed Links" actually has a good ring to it: you're adding a link that's enhanced with additional display elements.

DaleTrexel,
@DaleTrexel@drupal.community avatar

@mglaman We already use "media" to refer to files (images, video, sound), whether local or remote, so that might be confusing.

If you're linking to general "content" that could be social media posts or web pages, maybe you'd want something like:

  • Content Preview Links
  • Content Embed Links
  • Content Rich Links

"Rich Content Links" reads better to me, but I could see you wanting the name to start with the object, followed by modifiers in this case.

DaleTrexel,
@DaleTrexel@drupal.community avatar

@mglaman Ah right, that makes sense!

DaleTrexel, to random
@DaleTrexel@drupal.community avatar

I have jury duty next week, so I picked up an Aranet 4 CO2 monitor to see how good the air quality is in the courtroom and deliberation chambers.

With the windows open for the first time this spring today, our house got down into the low 400s for CO2 ppm, but Gypsy's panting brought it up into the 700s!

DaleTrexel, to random
@DaleTrexel@drupal.community avatar

Ahhh... Perfect weather for working outdoors (with supervision!) in early spring before the mosquitoes come out). Enjoying it while it lasts!

DaleTrexel, to drupal
@DaleTrexel@drupal.community avatar

I recently created my first @ViewsField plugin, which apparently is unique among plugins in that you also need to implement a hook (hook_views_data_alter) to tell Views about it and how to use it. The properties you define in the hook seem very similar to what other plugins take as annotation.

Is there something especially complex about this plugin type that regular annotation isn't enough, thus the hook? Or is this just a case of a plugin type that COULD be simplified but hasn't yet?

DaleTrexel,
@DaleTrexel@drupal.community avatar

I tried searching the internet, and the Drupal Core issue queue, but I didn't find anything useful. So, I'm turning to the Federated Hive Brain to see if y'all have any better answers!

DaleTrexel,
@DaleTrexel@drupal.community avatar

Confirmed my suspicion that the Views Field plugin "discovery" process was atypical, but without explanation for WHY. (We both seem puzzled.)

https://mikemadison.net/blog/2020/8/27/tutorial-using-the-plugin-system-in-drupal-9

DaleTrexel, to random
@DaleTrexel@drupal.community avatar

I just ran into a thread on toxic culture in social media, and a group of Very Smart People were agreeing with each other that the Fediverse is just as bad because "activits" who gate keep nazis and fascists out of their circles are just as bad as the nazis and fascists themselves.

DaleTrexel, to random
@DaleTrexel@drupal.community avatar
DaleTrexel, to random
@DaleTrexel@drupal.community avatar

Proposal for a new acronym:

AI;DB

AI (art/text); Didn't Boost

DaleTrexel, to random
@DaleTrexel@drupal.community avatar

I HATE AMBIGUOUS TOGGLES!

I wondered why a new list I set up was still showing members' posts in my main timeline. When I went to configure the list, I saw a big white dot (the brightest thing in the UI) next to "Hide these posts from home" and figured that meant this was default and already ON. I presumed the "X" meant I should click to disable it.

Turns out I was wrong!...

DaleTrexel,
@DaleTrexel@drupal.community avatar

Apparently if I had clicked on the control, it would have looked like this. Much more apparent now as clearly on. Since it was the only instance of this control on the screen, I had no others to compare to, and I'm not in the habit of clicking on every control that looks properly set to confirm it's not actually misleading me!

(At least not on a platform that I trust isn't trying to trick me with dark patterns.)

DaleTrexel,
@DaleTrexel@drupal.community avatar

EVERY other control in the Mastodon UI that I can find is either a checkbox or a radio button. Why this sudden shift to an ambiguous toggle for this one control when checkboxes have served their purpose well everywhere else?

DaleTrexel, to random
@DaleTrexel@drupal.community avatar

I'm sure Meta's Threads have only the purest intentions in joining the Fediverse!

https://techcrunch.com/2024/03/26/facebook-secret-project-snooped-snapchat-user-traffic

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

Released a new #Composer command for switching a #Drupal 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!

DaleTrexel,
@DaleTrexel@drupal.community avatar

@joachim This looks super useful! I'll have to check it out.

A lot cleaner than my current approach of symlinking the original module directory to another location outside my site's repo.

DaleTrexel,
@DaleTrexel@drupal.community avatar

@joachim It's also great to have a tool that helps standardize practices among developers.

mattferrell, to tes
@mattferrell@mastodon.social avatar

Do you want thermal energy storage for your home?

Check out our video on it, here: https://youtu.be/KVqHYNE2QwE

Or check out the page on our website, here: https://undecidedmf.com/how-a-sand-battery-could-revolutionize-home-energy-storage/

#Undecidedmf #TES #Batteries

DaleTrexel,
@DaleTrexel@drupal.community avatar

@mattferrell That sounds really promising! But over what timeframe are those 90+% numbers for? Just day/night cycles? Longer weather cycles (like, a cloudy week of rain)?

I presume we're still far from annual cycles, storing excess production in the summer for use through the winter.

DaleTrexel,
@DaleTrexel@drupal.community avatar

@mattferrell Thanks! I figured as much

It's an important detail that is often left out of efficiency estimates. I'd love to see more side-by-side graphic comparisons of how various storage systems perform over time, both electricity and heat.

joachim, to firefox
@joachim@drupal.community avatar

Why does an app having an update pending make it run like crap? Anytime starts to be slow, it'll be because it's got an update ready to install. Similarly if my mac starts running like crap, it'll be Firefox, , or which have an update. What causes the slowdown?

DaleTrexel,
@DaleTrexel@drupal.community avatar

@joachim I'd love to know this too! For me, it's either Firefox or Chrome.

And what's more, this happens BEFORE the app puts up its you-have-an-update notice in the UI, which is extra frustrating.

si, to random
@si@kolektiva.social avatar

@DaleTrexel I think if they did it from scratch it would be more like github/gitlab markdown but it was added during the evolution of the project module which often predated patterns we take for granted today.

DaleTrexel,
@DaleTrexel@drupal.community avatar

@si It sounds like they are doing just that for gitlab, so I look forward to what comes next.

But as it is now, THIS is the only place to learn how to add the special issue tags. They're really helpful! And people use them all over! But if you've been away from the issue queue for a while and forgot, it's REALLY hard to find the specifics. Google is no help.

DaleTrexel,
@DaleTrexel@drupal.community avatar

@si I know that more than once I've tried clicking on that "More information about text formats" link below the input box, and thought to my self, "Oh, this is just basic how-HTML-works info. I don't need this" and click away before I got to the important part added as an afterthought at the very bottom.

The thing that is totally unique to Drupal.org should be at the TOP, before the basic stuff about HTML that most people will already know.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • bokunoheroacademia
  • mdbf
  • DreamBathrooms
  • ethstaker
  • magazineikmin
  • Youngstown
  • slotface
  • osvaldo12
  • thenastyranch
  • InstantRegret
  • khanakhh
  • everett
  • kavyap
  • rosin
  • lostlight
  • GTA5RPClips
  • Durango
  • Leos
  • cubers
  • tester
  • modclub
  • normalnudes
  • tacticalgear
  • cisconetworking
  • anitta
  • HellsKitchen
  • relationshipadvice
  • sketchdaily
  • All magazines