macos

Ubuntu running on a 2008 27” iMac

As shown in the image, I just installed Ubuntu on my 2008 27” iMac. The UI is interesting, a combination of MacOS and Windows. From what I’ve seen, I think I’ll like the Ubuntu UI (Unity) more than Linux Mint, but I’m open. So far Ubuntu is also significantly faster than the latest versions of MacOS were on the same hardware, though that may be because MacOS had a few hundred thousand more files on it than Ubuntu has at the moment.

Steve Jobs: Products vs profits

bgr.com found a nice part of a talk by Steve Jobs in 1998 where he talked about products vs profits. I don’t think I’m the only one who thinks that Apple has lost their way in this regard. macOS keeps getting more and more clumsy, and both it and iOS have more bugs (that affect me) than ever. And then there’s the battery issues in the 2016 MacBook Pro and macOS, which is discussed in the bgr.com article.

How to replace newline character with sed on Mac OS X (macOS)

I don’t have much time to explain this today (I’ll try to remember to update it when I get back), but ... if you’re interested in seeing how to use the sed command on a Mac OS X (macOS) system to search for newline characters in the input pattern and replace them with something else in the replacement pattern, this might point you in the right direction.

How to hide annoying MacOS update notifications

It drives me crazy when I log into my MacOS Yosemite and Sierra systems and I’m quickly hit with an Apple “You have updates” notification. It’s like I just want to get to work, and I’m reminded of updates I don’t care about.

I just learned that you can hide some updates from annoying you, but I haven’t found a way to get rid of other updates.

How to fire Mac OS X notifications with AppleScript (and Scala)

Summary: This tutorial demonstrates how to fire MacOS system notifications with AppleScript (and Scala or Java).

In this article I assume that you already know at least a little bit about how to use AppleScript, and just want to know how to trigger a MacOS notification. At the end of the tutorial I show how to invoke the AppleScript code using Scala and Java.

Mac exodus? alvin October 30, 2016 - 3:41pm

I haven’t been blown away by MacOS (nee OS X) in quite some time, and the latest MacBook design seems to have annoyed even more developers. A good thing about this is that it got me looking into Qubes OS, “a reasonably secure operating system.”

Apple’s philosophy of “we design the hardware and software” works well when people like your work, but when people don’t like your design it’s easy to lose customers.

Two more Textmate commands (capitalize, CSV to list)

As a “note to self,” I wrote two more Textmate commands yesterday, one to capitalize each word in a selection of words, and another to convert a CSV list of words to a simple list. Here’s the source code for the Capitalize command:

#!/bin/sh

perl -ne 'print ucfirst $_'

The $_ portion of that Perl command isn’t required, but I include it as a reminder to myself about how Textmate commands and snippets work.

Here’s the source code for my Textmate command that uses the Unix tr command to convert a CSV list of words (such as a paragraph of comma-separated words) into a simple list of words:

#!/bin/sh

tr , "\n"

As you can see, those commands are fairly simple. If you know Unix/Linux and then know a little about how to write Textmate commands, you can usually get it to do what you want. I like that you can use any Mac/Unix programming language or tool to solve the problem at hand.

Apple has an iOS/macOS “Stagefright” security flaw

According to Forbes and other sources, Apple now has its own version of a “Stagefright” security flaw, and it affects all but the most recent versions of iOS and Mac OS X. Theoretically all it requires is that a hacker sends your phone one text.

Apple’s minimalist security announcements are here: iOS 9.3.3 update, OS X update.