Safari Web Content's high CPU usage was caused the Pocket extension.. Maybe downloading articles in the background? Zapp!
Sander van Dragt's Notes
-
-
End of Lives
Really handy reference site for many products. Remember that system provided packages are supported with backported security fixes in most cases.
-
Fix for Google Chrome Bouncing Forever in the macOS Dock
I had the issue where it was not possible to launch Google Chrome. It would bounce in the dock forever without actually starting. Trashing the application and associated files (with Hazel) did not work.
Other people had the same problem:
The following instructions will help get Chrome back up and running.
The Fix
The solution to this issue is to remove all application settings. Start a terminal:
cd "/Users/`whoami`/Library/Application Support/Google"<br></br>mv Chrome Chrome.old<br></br>mkdir Chrome<br></br>open "/Users/`whoami`/Library/Application Support/Google"Now start Chrome. If it starts correctly, trash the Chrome.old folder.
Restoring the folder
If the fix did not work in your case, use the following commands to restore the original folder.
rm -rf Chrome<br></br>mv Chrome.old ChromeGood luck!
-
Short form content promotes more of an emotional response, long form content a nuanced response. People should write more long form content, so I will try to blog more going forward.
-
Currently reading "Rapid Development" by Steve McConnell.
-
Password reset forms where paste is disabled. Trying to keep the hackers in ye?
-
Falsehoods Programmers Believe About Names
Falsehoods Programmers Believe About Names
So, as a public service, I’m going to list assumptions your systems probably make about names. All of these assumptions are wrong. Try to make less of them next time you write a system which touches names.
One of my favourite programming articles of all time.
-
Still thinking about how to solve the “posting a digest of interesting links today” problem.. In the meantime I'll post them on my website, not showing on the homepage but under https://vandragt.com/content/bookmarkedpages/
-
Opinion pieces used to be more insightful than the news. Now they’re just more ridiculous. Research the subject instead, you will be better informed than the people writing these articles.
-
Countdown - a bash countdown timer
I was looking for a tea timer countdown but quickly realised I might as well use a countdown script for this. I based my script on the linked script but added a customizable notification at the end
$ nano ~/bin/countdown#!/bin/bash<br></br># v2 - 2019-05-01<br></br>secs=$1<br></br>msg=${2:-$1 seconds passed.}<br></br>while [ $secs -gt 0 ]; do<br></br> echo -ne "$secs\033[0K\r"<br></br> sleep 1<br></br> : $((secs--))<br></br>done<br></br>notify-send 'Countdown Finished' "$msg"<br></br><br></br>$ chmod +x ~/bin/countdown<br></br>$ countdown 180 "Tea is ready."