Matthew Lang avatar

Matthew Lang

Family guy and web developer

Baby steps with StimulusJS

Last night I needed a much needed break from the usual Rails coding, so I worked through an example on the StimulusJS website so that I could add a “copy to clipboard” button for the displayed writing prompt on Writeabout.

For me, this is the ideal level of integration I need with JavaScript. A framework that does some of the heavy lifting on the user-interface without me having to re-write the whole front-end.

The end result is nice, but I don’t like the way the elements on the page move up and down when the copy button has been pressed. I’ve added a little div section with an indicator that the button has been pressed. It disappears after a few seconds, but it moves the elements on the page up and down when it changes its display state. I’ll fix it another day, but the first pass at this functionality is still good.

It’s been a horrible week of colds, coughs and flu in our house. Today was a major turning point though with everyone back at school and work. Planning for a quiet weekend now so that we can all recuperate.

Blogs, blogs, blogs

Over the holidays I mentioned that I was writing a blog post that I would publish this week. Well, after a delay thanks to the flu, I finally hit the publish button on my return to using my main domain. My first post, about my focus for 2020, is a return to building up some long form content that I want to reside on that domain.

Is this the end of my time on Micro.blog?

Definitely not. Micro.blog is a wonderful blogging platform that I will keep on using. This blog on Micro.blog will be my social feed to the net. It’s the one place that I will post to daily. Short posts, photos and links will continue to pour out from here.

So what’s the point of the new site?

For a while I’ve been trying to find a way of supporting short and long content. I’ve tried mixing these two lengths of posts over the years and it’s never sat well with me each time I have tried it.

Now that Micro.blog is my daily social feed, I can now focus on pushing longer posts through my main site again.

Apologies for the radio silence over the last few days and the days to come. The flu has swept through our house. 🤒

I’m hoping to return back to normal blogging service next week.

I’m writing this morning on Ulysses. I forgot how great it is to simply write.

Happy new year to everyone! I’m slightly befuddled by a little too much eat and drink but it’s been a great start to the year with the family.

Mind mapping again

It’s been a while since I last did any mind mapping—a few years, in fact. I’ve probably doodled a few smaller mind maps in that time, but this is the first time that I have done anything more than a doodle.

The two-page spread of my notebook works quite well for it, and the paper is thick enough to cope with most of my markers, so there’s little chance of it bleeding through.

I can see myself doing more of this in the months ahead.

Mind map to curated list to final plan.

It took an hour to do but I’ve managed to outline 12 blog posts for 2020 that I’ll publish at my main home page. These will be longer posts than I publish here at Micro.blog.