That's Not How Much They Pay
#244 Henry, 13 April 2015 4:15 PM (Category: Books)
(Tags: book)

Couple of days ago I mentioned a blog post about interviewing and the countdown from 100 test. That blogger referred to a book he had recently written. I followed that reference down and Rajiv Popat has written a small self-published book for the Kindle that costs 99 cents. The book is That's Not How Much They Pay. That's How Much They Pay You: A definitive guide to a meaningful professional life and a rewarding career. I bought it, I read it. It needs a little proof-reading, but that's just a tiny nitpick. The book is interesting and contains some cold hard truths. I read it, and I learnt from it, and I will apply it. I also recommend it.

No comments
Mac Mini Server memory problems
#243 Henry, 12 April 2015 2:12 PM (Category: Apple)
(Tags: macmini)

I mentioned earlier that the Mac Mini Server I have been using at work to dabble with XCode has stopped booting. During one weekend, it ran amok and when I got to work the CPU was running at 100%, the box was hot, and it had grey-screened. I turned it off and let it cool. Since then, it has not booted. When I attempt, it gives a three tone beep, then pauses, then repeats.

While I was looking at the Mac Minis this weekend, I tried to boot and match the sounds to what Apple Support's List Of Startup Tones.

What I have is "3 successive tones, a 5 second pause (repeating): This indicates RAM does not pass a data integrity check." Maybe when it went bad that weekend and stayed hot for the rest of the weekend, it fried the memory. Or maybe the memory was bad. Or something. I'll look for replacement memory and see if I can get it working again. But then again, why throw good money after bad? Maybe I should just abandon this thing, and pursue non-Apple hardware.

No comments
Mac Mini testing
#242 Henry, 12 April 2015 10:56 AM (Category: Apple)
(Tags: macmini)

I muddied the waters with my Mac Mini media server at home. I installed the latest updates from Apple. The Mac Mini is now running OS X 10.10.3. That update was big, had a lot in it, and it took about an hour to apply.

And while I was at it with all the rebooting, I decided to do the hardware test. When the OS had stabilised and there was no more updating, I rebooted again and kept my finger pressed on the D on the keyboard. Didn't work. Bluetooth keyboard. Replaced it with a wired keyboard, did it again, that worked. Came up with Diagnostics. I ran the simple test first - no problems found. I ran the extended tests, and that took about an hour and a half. No problems found. Hmm. The diagnostics tell me that the hardware is fine.

Hardware test results

So maybe all my problems are with the software. I booted it up in Recovery mode, ran Disk Utility and repaired the Macintosh book disk. Just making sure there are no residual problems. When I had done everything I could possibly to make sure the system is clean, I rebooted normally and let it sit for a while. Looked good. Started rsyncing data again, and it's gone well, but not perfectly. I haven't had a grey-screen event since the upgrade, but I've had two other issues - runaway processes, and update issues.

I keep the Activity Monitor running so I can try and see what's going on. The Mac Mini can sit there for hours doing nothing at all, just chilling. And if I try to get to it via my Linux box, like vnc to it, or ssh to it, or rsync to it, sometimes the connection is rejected. When I turn around and look at the Mac Mini screen, I can see on the Activity Monitor that there is a kernel_task consuming 98% of the CPU. What is it doing? I don't know. I can't kill that kernel_task, I can't really do anything. Sometimes the mouse and keyboard are responsive, most times they just ineffectively move a twirling ball around the screen. Only thing I can do to get control of it again is hold the power button down and wait for it to power down. Then reboot, clean, try again.

When the Mac Mini is just passively sitting there, the Activity Monitor should show no processes using more than 1% of CPU. Nothing should be happening. But stuff is happening. I have noticed in the Activity Monitor that another process will often zoom up the ranks and start consuming 98% of the CPU, and that's the AddressBookSourceSync. I know it sits in the background, like the Calendar, and regularly check for updates to the Contacts. It's normal to do that, but it's not normal to consume 98% of CPU while doing it.

And I still have an issue with updates. I noticed it when I started thinking that Evernote was releasing a lot of upgrades. I would install the updates, go on my way, then notice that a new update was available. Eventually I took notice of the version number, and found that I had installed version 6.0.8 of Evernote ten times already, and the iMovie and XCode update several times too. So I watched to see what was happening. The App Store notifies me that there are three updates waiting to install - Evernote, iMovie and XCode. I perform the update for Evernote, the App Store announces that the update was successful, puts the details down below in the Updates Installed in the last 30 days section, the count of waiting updates drops down to 2. One minute later, the count is back up to 3, and the App Store notifies me that an update to Evernote 6.0.8 is waiting to be installed.

The recent big Mac OS X update didn't behave like this. It's iMovie, Evernote and XCode that are doing it. I've Googled for solutions but haven't got a good search term yet, because I can find no solution so far.

My older big fat white Mac Mini should still be functioning, except for the hard drive. I'm going to replace the hard drive and see if I can get it to boot up. I had that machine for my media server for years without any problems like this. If I can get it back into service, I will. I am not happy with these newer all metal Mac Minis.

I'm also going to pursue investigations into non-Apple media systems, like Plex on Linux and Rokus. Macs used to be very stable, but I haven't seen that lately.

No comments
Forgot about HFS+ lack of case
#241 Henry, 12 April 2015 10:19 AM (Category: Apple)
(Tags: hfs+ rsync)

I am rsyncing the last 2 T of data to the Drobo. I do it in chunks and restart the Mac Mini. I have noticed two sets of data that get rsynced across every single time, and I was worrying that the data had become corrupt at one end or the other. I tracked down the exact files that were being copied and then realised that it was HFS+ at fault again.

I had two directories on my Linux ext3 partition like this:

|-- 1991_Plays_Franck_And_Liszt
    |-- 01_Cesar_Franck__Prelude_Choral_et_Fugue__I.flac
    |-- 02_Cesar_Franck__Prelude_Choral_et_Fugue__II.flac
    |-- 03_Cesar_Franck__Prelude_Choral_et_Fugue__III.flac
|   |-- 04_Franz_Liszt__Mephisto_Waltz_No_1_The_Dance_in_the_Village_Inn.flac
|   |-- 05_Franz_Liszt__Petrarchs_104th_Sonnet.flac
|   |-- 06_Franz_Liszt__Two_Concert_Studies__S145__1__Whisper_Of_The_Woods.flac
|   |-- 07_Franz_Liszt__Two_Concert_Studies__S145__2__Dance_Of_The_Gnomes.flac
|   |-- 08_Franz_Liszt__By_a_spring.flac
|   |-- 09_Franz_Liszt__Spanish_Rhapsody.flac
|   `-- track.dat
`-- 1991_Plays_Franck_and_Liszt
    |-- 01_Cesar_Franck__Prelude_Choral_et_Fugue__I.flac
    |-- 02_Cesar_Franck__Prelude_Choral_et_Fugue__II.flac
    |-- 03_Cesar_Franck__Prelude_Choral_et_Fugue__III.flac
    |-- 04_Franz_Liszt__Mephisto_Waltz_No_1.flac
    |-- 05_Franz_Liszt__Sonetto_104_del_Petrarca.flac
    |-- 06_Franz_Liszt__Two_Concert_Studies_Etudes__No_1.flac
    |-- 07_Franz_Liszt__Two_Concert_Studies_Etudes__No_2.flac
    |-- 08_Franz_Liszt__Au_bord_d_une_source.flac
    |-- 09_Franz_Liszt__Rhapsodie_espagnole.flac
    `-- track.dat

HFS+ is not case sensitive. That is something I have to remember, and watch for.

I had ripped one CD in 2005 and had ripped it and stored it again in 2010. The first was in a directory called 1991_Plays_Franck_And_Liszt with a capital A in And, and the second was in a directory where the and had the a in lower case. Linux treats them as two totally different directories, HFS+ sees them as the same. So every single time I would rsync, the remote would see that 1991_Plays_Franck_And_Liszt had the wrong files in it, delete them, copy them over again, then get 1991_Plays_Franck_and_Liszt, see that the wrong files were there, delete them, and copy them in again. Every single time.

I renamed the directories so HFS+ could not confuse them. I can sort out the content later.

No comments
Phone call from Microsoft Technical Services
#240 Henry, 11 April 2015 9:34 AM (Category: General)
(Tags: microsoft phone)

We got a "Name unavailable" phone call this morning, and ignored it. They phoned back an hour later, and Anne told me to answer it. I did. Silence for a while, then a click and the call dropped into a noisy call center, really noisy. Guy with a slight Indian accent said "Good morning, this is Microsoft Technical Services".

I've read about this, heard plenty of stories. I'm not interested in playing games or leading them on. I just let out a bray of laughter, said "Big joke. Fuck off." and hung up.

No comments