Ok, I have decided good ol’ Perl is better than both the new kids for a particular kind of task: quick-n-dirty text manipulation. Sorry, y’all, I’m going back, after all these years.
cat edWebLog.txt | perl -n -e '/caching service background update finished on thread \(id [0-9]+\) in ([0-9]+) ms/ && print "$1\n";'
Wow, just gotta say: installing Inkscape on a Mac is QUITE the adventure, if you’re starting from scratch.
Bomp, bomp, bomp. Another one bites the dust.
[I already retweeted this, but I forgot to add it to my blog.]
[Update: Sigh. Apparently, I did add it to my blog, but, for some reason, I didn’t think I had.]
Noah Smith 🐇 (@Noahpinion) Tweeted:
That answer surprised me. What about AI? Self-driving cars? Robots?
He basically said that none of these things seemed to be working out that well. Self-driving cars had disappointed, AI gains seemed to peter out in most areas after an initial burst of progress…
Can’t believe I never posted this to this blog.
« Every programmer occasionally, when nobody’s home, turns off the lights, pours a glass of scotch, puts on some light German electronica, and opens up a file on their computer. It’s a different file for every programmer. Sometimes they wrote it, sometimes they found it and knew they had to save it. They read over the lines, and weep at their beauty, then the tears turn bitter as they remember the rest of the files and the inevitable collapse of all that is good and true in the world.
This file is Good Code. It has sensible and consistent names for functions and variables. It’s concise. It doesn’t do anything obviously stupid. It has never had to live in the wild, or answer to a sales team. It does exactly one, mundane, specific thing, and it does it well. It was written by a single person, and never touched by another. It reads like poetry written by someone over thirty.»
I am continually impressed with Linux.
That Windows/Lenovo feature that enables you to NOT charge your battery to 100%, in order to extend its total lifetime?
Available in Linux, too.