We got walkie talkies…

Kid: Come in, Dad, over. Me: Rodger Rodger, over. Kid: Don’t call me Rodger!

Walkie jokes must just be built-in to our systems now. 😂

Composer tip for the day:

This will most likely fail and cause you endless pain and sadness.

composer require project/with-lots-of-dependencies:1.2.3

This will work. Makes developers happy.

composer require project/with-lots-of-dependencies:1.2.3 –update-with-all-dependencies

One year ago, on this day, I was drinking a beautiful beverage, indoors, in a place that is not my home.

I hope a year from now that those qualifiers seem mundane.

Kiddo got a Spirograph. I experimented by adding Sharpies to the mix.

If you DM a person...

I shared some advice in our work chat today:

If you DM a person you have one person helping you. If you ask in a group chat, you have the whole team collaborating.

If you give an answer in DM, you help one person. If you give an answer in a group chat, you help the whole team.

This isn’t a 💬 (quote), but a reflection of my own experiences working on highly collaborative teams and open-source projects.

She made homemade biscuits over the holiday. I put eggs, fried onions, and cheese in them. It was a delicious mess. 🥞🤤

A messy breakfast sandwich on a yelliw plate.

Custom domains, Cloudflare, and micro.blog

If you use Cloudflare for your domain as I do for froboy.org, you may have to make some modifications in order to get your domain set up with micro.blog:

  • In Cloudflare’s SSL/TLS settings, turn SSL “Off”.
  • In Cloudflare’s DNS settings, be sure to “grey-cloud” the CNAME and A record pointing to micro.blog.
  • Once micro.blog detects the DNS change and issues the certificate, leave Cloudflare SSL off. Micro.blog now has you covered!

The road ahead

I’ve been stuck in analysis paralysis about how to do a blog for about a year now… experimenting with Jekyll, looking into Hugo. My goal was to do as little development as possible, because this place should be about making words, not code.

Micro.blog looks super, and @manton has already been helpful in getting me set up. Here’s to the road ahead.

When is a number not `input type='number'`?

When it “only consist[s] of numbers but isn’t strictly speaking a number”. See Why the GOV.UK Design System team changed the input type for numbers for more details.

While Drupal supports #pattern on FormAPI elements, there’s no top-level property for #inputmode. That can be added via #attributes, like:

$form['textfield'] = array(
  '#type' => 'textfield',
  '#title' => 'Any number of digits',
  '#pattern' => '[0-9]*',
  '#attributes' => [
    'inputmode' => 'numeric',
  ],
);

I am here (and here’s a beer).