New Adobe Color Profiles for Lightroom

I just watched this video about Adobe’s updated colour profiles, and it’s a really interesting update for Adobe Lightroom and Photoshop users!

I’m editing some photos from a morning jaunt with our kids and our new puppy in the park, and I like the new options. I hadn’t thought about colour profiles before, and now that I’ve experimented with them, I enjoy using them.

Here’s an introduction from Adobe:

Oh Firefox, You Little Resource Hog

I love using Firefox as my primary browser. I prefer using it for a variety of reasons. Lately, though, I've noticed that it's become a bit of a resource hog, and I can't work out why?

I love using Firefox as my primary browser. I prefer using it for a variety of reasons. Lately, though, I’ve noticed that it’s become a bit of a resource hog, and I can’t work out why? I’ve disabled add-ons that I don’t need, and it still uses about 1.4GB of RAM at a minimum for pages that Chrome uses a quarter of RAM for.

Has something changed in Firefox’s architecture? One thought I had is that maybe this has to do with something like page pre-fetching (I think Firefox does that), or something along those lines. I want to sort this out. Chrome seems to be so much better at resource management at the moment.

Update (2018-03-18): Mozilla shared this page to help troubleshoot Firefox memory issues: Firefox uses too much memory (RAM) – How to fix | Firefox Help

Photo by ideadad on Unsplash

Getting Stuff Done with Interstitial Journaling

Rather than just working through a list of tasks in your task manager, the idea seems to be to maintain an ongoing narrative of your day. A benefit of this approach is a pretty high degree of mindfulness.

Coach Tony’s post titled Replace Your To-Do List With Interstitial Journaling To Increase Productivity is a pretty interesting take on productivity.

During your day, journal every time you transition from one work project to another. Write a few sentences in your journal about what you just did, and then a few more sentences about what you’re about to do.

Rather than just working through a list of tasks in your task manager, the idea seems to be to maintain an ongoing narrative of your day. A benefit of this approach is a pretty high degree of mindfulness.

Journaling as you work produces mindfulness about your context, goals, mood, and skills.

Another aspect of this approach that appeals to me is how it incorporates elements of the GTD approach to getting your stuff done. One of those elements is clearing your mind by getting whatever is occupying it out of your mind and onto paper (digital or physical).

The Interstitial Journaling tactic solves all of these normal problems. It kills procrastination, empties our brain of the last project, and then gives us space to formulate an optimal strategy for our next project.

When you write about the task you’ve just completed, and then about the upcoming task, you’re transitioning more fully from the completed task to the next task. At least, that seems to be the idea.

I also just like the idea of maintaining a pretty deliberate account of my days. This feels like something worth attempting, at the very least.

I’ve started incorporating Evernote into my Remember the Milk workflow through a handy integration, so Evernote seems like a convenient choice for the journaling too. I’ll try it out this week and see how it goes.

Photo by Estée Janssens on Unsplash

Awesome batch print trick for macOS

I came across an old, yet awesome, batch print trick for macOS yesterday. I had a series of PDFs that I needed to print and didn't want to have to open each file to do it.

I came across an old, yet awesome, batch print trick for macOS yesterday. I had a series of PDFs that I needed to print and didn’t want to have to open each file to do it. I read about it in a post by Jesse Chapman titled “How to batch print multiple files in Mac OS X without opening them“.

The other day I wanted to print 25 PDFs without having to open each one and go to File > Print. Sounds simple enough. Turns out, it’s so simple that I couldn’t figure it out for quite a while.

There’s probably a command line way to do this, and I’d love to find that too. For now, this is pretty cool!

Image by Geraldine Lewa

Making sense of JavaScript array methods with Array Explorer

Sarah Drasner shared her awesome Array Explorer tool on Twitter the other day. It's design is pretty simple, and yet a powerful way to learn JavaScript arrays.

Sarah Drasner shared her awesome Array Explorer tool on Twitter the other day. It’s design is pretty simple, and yet a powerful way to learn JavaScript arrays. What you do is pick a couple options from drop-down lists to find the right array method you need for a project.

I still find arrays challenging and yet learning how to work with them in JavaScript is so important. If you’re still figuring this stuff out, definitely take a look at Array Explorer, bookmark it, and use it.

Sarah even made the code for Array Explorer available on GitHub so you can see how she put it together too.

Parenting moments with shell scripting

I'm both fascinated by and borderline besotted with shell scripting (you know, all that command line stuff). It turns out my son is intrigued by what you can do from the command line, and it opens the door to some pretty cool parenting moments.

I’m both fascinated by and borderline besotted with shell scripting (you know, all that command line stuff). It turns out my son is intrigued by what you can do from the command line, and it opens the door to some pretty cool parenting moments.

This afternoon I showed my son a little script I wrote that opens Firefox Developer Edition, VS Code, Remember the Milk, and displays the weather forecast for my city just by running an aliased script from my command line. The weather service is a very cool command line script that Jessie Frazelle wrote.

My son was astounded when he saw all these apps open after typing a single command in iTerm2. He immediately asked me to create something for him.

So I wrote a similar script for him for his Ubuntu PC. It doesn’t work quite the same as mine does on my Mac (Linux has an interesting way of opening some apps that tethers them to the terminal session) but he now has a little command he can use to open VS Code and give him a weather update from his terminal.

I love that he’s also into these things. He asked me to introduce him to something he can use to learn all these shell commands. He wants to write them down in a sort of cheatsheet. I have a couple of resources (the Linux Documentation Project is an awesome one I only recently came across) I’ll share with him, I think he’ll get a kick out of learning this stuff.

Photo by Lewis Ngugi on Unsplash

My favourite shell command for today – prepend lines of text in seconds

I'm working on a lead generation project for a client this week that, interestingly, led me to a simple, time-saving shell command that enables me to prepend lines of text with a quotation mark. It's more impressive than it sounds.

I’m working on a lead generation project for a client this week that, interestingly, led me to a simple, time-saving shell command that enables me to prepend lines of text with a simple quotation mark. It’s more impressive than it sounds because it saved me considerably more time than it took to write and run it.

One of the methods I’m using to find leads is by running Boolean searches that incorporate multiple search parameters. The search terms are pretty long and look a little like this: "Managing director" OR "sales director" OR "sales manager" OR "procurement manager" OR ...

My starting point is generally a list of search parameters that I need to convert into a Boolean search query. For example:

Managing director

sales director

sales manager

procurement manager

Except the lists are a lot longer. I started off by adding my lists to VS Code because working with this sort of thing in plain text greatly simplifies the process. One of the things I love about VS Code is that you can add a cursor to the end of each line in the text you select. This probably comes from Sublime Text and it’s an awesome feature.

The reason why this comes in handy is because I want to place each of those search terms into quotes so I can string them together with Boolean operators like AND, OR, and NOT.

The challenge I found myself facing is how to move the cursor to the beginning of each like to add the opening quotation mark? Because each line is a different length, I couldn’t just move the cursors from the end of each line to the beginning. I also didn’t want to overwrite the feature that lets me add cursors to the end of each line, either.

I thought that there must be some sort of shell command or script I could run that would parse the text file and add an opening quotation mark to the beginning of each line. It turns out there is (of course). Like many shell commands, it is deceptively simple and does exactly what it says on the box (if there was a box).

There are three options (probably more if you want something different) that I looked at:

sed -e 's/^/prefix/' file

# If you want to edit the file in-place
sed -i -e 's/^/prefix/' file

# If you want to create a new file
sed -e 's/^/prefix/' file > file.new

I went with option 3 and simply replaced the word prefix with my opening quotation mark and ran the command. I output the command to a new file because I didn’t want to destroy my original list. It ran instantly and when I opened the new file, I had quotation marks at the beginning of each line.

From there it was a relatively simple matter to add cursors to the end of each line to add my Boolean operator for my searches.

Using shell commands may seem absurdly geeky when we have GUIs for just about everything, but the more I learn about shell scripting, the more it amazes me. This particular line of code seems innocuous enough but it did something for me in seconds that would otherwise have taken a lot longer.

A reminder how to use a semicolon

Now and then I feel like I need a refresher on how to use certain forms of punctuation. Today it was the semicolon, which I have abused on multiple occasions.
How to use a semicolon by The Oatmeal
How to use a semicolon by The Oatmeal

Now and then I feel like I need a refresher on how to use certain forms of punctuation. Today it was the semicolon, which I have abused on multiple occasions.

The most feared punctuation on earth.

I did a little Googling and found this awesome guide on The Oatmeal titled “How to use a semicolon“. Not only is this guide really useful and worth bookmarking, it is a reminder of just how awesome The Oatmeal is, generally.

Other terrific grammar guides include:

Even people who write for a living could use a reminder now and then. I certainly do.

Source: How to use a semicolon – The Oatmeal