Skip to content

Apple Universe

Top-level category for all Apple, Mac, and OS X related topics.

A unique lava lamp time-lapse

We occasionally take our kids to a local place, Big Al's, which is one of those bowling/arcade places that give out tickets as rewards from the arcade games. Being good parents, we too sometimes play the games (you know, to spend time with the kids…yea, that's it). Over the years, we amassed quite a bunch of tickets, but weren't quite sure what to spend them on.

The last time we were there, I was smitten by a lava lamp, similar to this one, but ours has a black base and blue "lava." I don't know why (childhood flashback?), but I decided some of our points cache would go to this mesmerizing but otherwise useless device.

When I got it home, I was surprised at just how long it takes to warm up: It can take nearly an hour before any "lava" starts flowing, and about two hours before it really looks like a traditional lava lamp. During the first hour, though, the melting wax in the lamp makes some really cool abstract bits of art, as seen in the photo at right.

I thought this might make a neat time lapse, so I set out to record it with the iPhone. My first attempt failed, due to the iPhone's auto-adjusting time-lapse feature. Because the lamp takes so long to get going, the gap between frames winds up being quite long. Long enough that when stuff does start happening, the iPhone's time-lapse gaps are too wide to make for an interesting video.

I needed another solution, so I headed to the iOS App Store to see what was available…

[continue reading…]



Total PDF pages in subfolders across folder structure

Last week, I wrote a script that ran through a folder structure and output the page count of every PDF in all folders and sub-folders, and also spit out a grand total.

While this worked well, what I really wanted was a script that just totaled PDF pages by sub-folder, without seeing all the file-by-file detail. After trying to retrofit the first script, I realized that was a waste of time, and started over from scratch.

The resulting script works just as I'd like it to, traversing a folder structure and showing PDF page counts by folder:

$ countpdfbydir
    47: ./_Legal
     2: ./_Medical-Dental
    15: ./_Medical-Dental/Kids
    11: ./_Medical-Dental/Marian
     2: ./_Medical-Dental/Rob
    35: ./_Personal Documents/Kids
    87: ./_Personal Documents/Marian
    28: ./_Personal Documents/Rob
    10: ./_Personal Documents/Rob/Golf
    12: ./_Personal Documents/Rob/Travel
-------------------------------------------------------------------
   249: Total PDF Pages

It took a few revisions, but I like this version; it even does some simplistic padding to keep the figures lined up in the output.

[continue reading…]



Why Apple hasn’t responded to your bug report

I know Apple gets a lot of bug reports (i.e. RADARs, for Apple's internal name for the system). But I didn't realize just how many until I filed a minor flurry of reports over the last day and a half. OK, a minor flurry is four. For me, though, that's a lot. The time gap between the first and the last was 36.87 hours. The gap in RADAR numbers across those hours was 31,222—and that struck me as a huge number of bug reports.

That got me wondering if the numbers were actually sequential, so I asked Twitter. I received a single reply, but that reply confirmed that yes, they are sequential. Based on that, I could do math on my RADARs and find an average, then try to extrapolate. But there's a much better data source: Open Radar.

Open Radar is a site where users can republish the RADARs they've filed with Apple. Not everyone does so, of course, but that doesn't matter, because each one includes the original RADAR number. So I went back and found RADAR 19363080 from January 1st, 2015, and RADAR 23519997 from November 12th, 2015.

Do the math on those RADAR numbers ... 23,519,997 - 19,363,080 ...

4,156,917 bug reports so far in 2015

Wow. If that run rate continues for the remainder of the year, they'll finish with 4,811,865 bug reports! That number is so big as to be unimaginable, so here it is in some smaller units:

  • 551 per hour
  • 13,219 per day
  • 92,536 per week
  • 400,989 per month
  • 4,811,865 per year

That's an insane volume of actual submitted bug reports. How insane? If each bug report can be handled in just five minutes (very unrealistic), you'd need over 200 full-time bug report workers just to handle all the bug reports for one year! (I know: automated systems, duplicates, etc. But still...)

So if you're wondering why Apple hasn't replied to your bug report, it's probably because there are a few hundred thousand—or more—bug reports ahead of yours in the queue.



Count pages in all PDFs within a folder structure

Please see this newer post, with a new script that provides subtotals by subfolder, which is what I really wanted when I wrote this one.

Recently I've been trying to go paperless (well, mostly paperless) via a Fujitsu ScanSanp ix500. (I'll have more to say about the scanner in a future post).

One way to go paperless is to just go from now forward—start scanning stuff and don't worry about history. I decided that I'd go the other route, and work through our old paper files: some would be scanned and kept, much would just be recycled. The process went really quickly, compared to what I had expected. It helps that the Fujitsu is a wicked-fast document scanner!

But I was curious about how much I was scanning, in terms of total PDF pages—not files, but counting the pages in the files. Spotlight to the rescue; the field kMDItemNumberOfPages returns the number of pages in a document, and it seemed accurate in testing via mdls:

$ mdls /path/to/somefile.pdf | grep kMDItemNumberOfPages
kMDItemNumberOfPages = 4

So I set out to write a script to traverse my "Scans" folder, and return the total number of PDF pages.

[continue reading…]



Presenting the Apple TV (4th Generation) Password Tester

Earlier, I sent out this hopefully-humorous tweet about the difficulty involved in clicking one's passwords into the new Apple TV password input screen:

Presenting LIMNOPHILE, a 10-character yet easy-to-type Apple TV password.

The chart is just an Excel file, with absolutely no logic—I just colored the squares and counted to fill in the data. But then I got this reply…

So I thought "Why not?," and created an actual spreadsheet that will "click check" any all-letter password you feed it. Here's what it looks like in action:

Just replace RIDICULOUSLYLONGWORD with whatever you like, and see how it'll "click out" on your Apple TV. Obviously, this tool is totally tongue-in-cheek!. Any password built with this tool will be weak as heck. It's just for fun, so don't take it seriously.

Feel free to share and modify, but I'd appreciate a credit back if you do so.

Download Apple TV Password Tester (44KB)

Please note that this is an Excel file, and it relies on conditional formatting, so it may not work in Numbers.



On the vagaries of saving from Mail

As I suspect is true of many of you, I buy a fair bit of stuff from Apple, whether in a physical Apple Store or in the various online stores. I receive electronic receipts for all these purchases, which look something like this (but with all the personal info filled in, obviously):

Until yesterday, I have just filed all these receipts in their own folder in Mail (in the On My Mac section, so they're stored locally). But in the process of going paperless, I wanted to move them directly to my hard drive, so I could store them in a more-organized manner, and keep them alongside my other receipts. That meant saving the messages from Mail to the disk.

I had only two objectives when saving:

  1. Maintain the formatting and images in the original receipt
  2. Have the message content indexed by Spotlight

You'd think this would be a simple proposition, but you'd think wrong…the above two criteria are basically mutually exclusive with Mail's Save As feature. Read on for the details, and my eventually-discovered workaround (and labor-saving shortcut).

[continue reading…]



Cutting the (headphone) cord

Until very recently, I wasn't a user of Bluetooth stereo heaphones. I don't necessarily have a good answer as to "why not?," other than I recall trying a pair early on, and not being impressed by sound quality and battery life. That was, of course, years ago, but I hold grudges for a long time, it seems.

Recently I thought I'd try cutting the cord again; there are any number of Bluetooth headphones available—including some very expensive models. Needless to say, these are not in my budget as a casual music listener. I was more interested in something in the $100 or less price range, and in an over-the-ear (versus on-the-ear or in-the-ear) model.

While browsing Amazon one day, I stumbled onto these headphones, with possibly the longest product name I've ever seen in Amazon: Sentey Bluetooth Headphones v4.0 with Microphone B-trek H10 Wireless Headphones Headset Foldable with Mic for Running Sport or Travel, 40mm Audiophile Drivers - Also Comes with 3.5mm Cable -Up to 15 Hours Battery - Comes with Free Transport / Protection Carrying Case Ls-4570.

Rolls right off the tongue, doesn't it? I'll just call them Sentey Bluetooth Headphones. Although they list for $100, every time I've looked, they've been listed for sale at $50. And with over 100 very positive reviews—and Amazon's easy return policy—this felt like a safe bet. So I ordered a pair, and have had them for a few days now.

So were they worth $50? Absolutely; keep reading for my review.

[continue reading…]



Use a mouse and keyboard…and a trackpad

When Apple released its new accessories, I thought it might be time to revisit my input setup. For a few years, I've been using the original Magic Trackpad and the Logitech Wireless Solar Keyboard.

While this setup has worked well for me, I missed the precision of a mouse (so much so that I kept a corded one nearby, and plugged it in when I needed to do such work). So I thought I'd check out Apple's new gear, with the thought of either upgrading to the new Magic Trackpad, or perhaps moving to the new Magic Mouse as my pointing device, and maybe replacing the Logitech with the new Apple keyboard.

Unfortunately, the local Apple Store only had the mouse in stock, not the keyboard or trackpad. Unable to compare the pointing devices, I just bought the mouse. After setting it up, I loved the added precision it provided over the trackpad. But if I was going to be using a mouse regularly, I wanted to narrow the reach from keyboard to mouse, so I pulled out my old Apple wireless keyboard, which is about six inches narrower than the Logitech.

This setup seemed really good, except that I'd be giving up a lot of features by removing the trackpad: I use it with BetterTouchTool and our own Butler (as well as Keymo and Moom) to execute all sorts of gesture-related actions.

[continue reading…]



Resolve an iOS FaceTime/Messages activation error

After reinstalling iOS 8.4.1 on my iPad Air (due to some issues with the 9.0 developer betas), I was unable to use either FaceTime or Messages. When I'd enter my iCloud credentials in the setup box for either service, I'd be greeted by a long delay, followed by this error message:

FaceTime Activation
An error occurred during activation. Try again.

When I searched on this message, I got lots of hits, including the first one, which points to this article:

The advice in this article matches what I was told by Apple Support: back up the iPad, erase it, set it up as new, make sure Messages/FaceTime works, then restore from backup. And for me, it seemed to work at first: Everything worked fine until I did the restore, and that would then break Messages/FaceTime. Ugh.

Apple Support told me the backup must be corrupted, and I'd just need to start fresh. But with over 200 apps, and who knows how many that don't sync data via iCloud or other service, I did not want to do this.

But then I noticed something. Something completely self-induced. And that something turned out to be both the problem and the solution. So just what was that something? Nothing more than a bit of time travel…

[continue reading…]



How far we’ve come…

Happy 34th birthday, IBM PC!

While I didn't own the original, our family did get one of the follow-on models. But that tweet really got me thinking about just how far we've come in 34 years. And while the original PC did start at $1,565, that price didn't get you much of a usable machine, as noted by oldcomputers.net:

A basic system for home use attaches to an audio tape cassette player and a television set (that means no floppy drives or video monitor) sold for approximately $1,565. PC-DOS, the operating system, was not available on cassette, so this basic system is only capable of running the Microsoft BASIC programming language, which is built-in and included with every PC.

If you really wanted a usable IBM PC, you were looking at a much higher cost (from the same site):

A more typical system for home or school with a memory of 64K bytes, a single diskette drive and its own display, was priced around $3,000. An expanded system for business with color graphics, two diskette drives, and a printer cost about $4,500.

Keep in mind this is 1981 money. Adjusted for inflation, those costs are dramatically different in 2015 dollars:

  • $1,565 (Basic IBM PC) --> $4,109
  • $3,000 (Home IBM PC) --> $7,876
  • $4,500 (Business IBM PC) --> $11,814

Doesn't seem quite so cheap now, does it? But what's really amazing is what you can do with that same amount of money today. I'll use the Home IBM PC as a comparison, so I've got $7,876 to spend. Here's what you can get for that in 2015…

[continue reading…]