Categories
Current Events Tampa Bay Uncategorized

While I was away (or: Getting married and getting my 2011 MacBook fixed)

Things have been quiet lately here on Global Nerdy. I have a couple of good excuses. Here’s the first one:

Photo: Anitra Pavka and Joey deVilla at their wedding.

Anitra and me, shortly after getting married. Click the photo to see more.

On Saturday, March 7th, the lovely lady for whom I moved from Toronto to Tampa and I got married. We had our ceremony on St. Pete Beach followed by a brunch reception on the penthouse ballroom of the Grand Plaza Hotel, a stunning room that looks like it would’ve made a great hideout for Sean Connery-era Bond villain. As you might expect, this big life event took priority over a great many things, including blogging.

Photo: Joey deVilla's MacBook Pro (early 2011 15-inch model), as seen from his vantage point in an Air Canada window seat. In the background, a movie plays on the seat-back in-flight entertainment system.

“El Guapo”, my trusty early 2011 15″ MacBook Pro, circa 2012.

My other excuse is technological: “El Guapo”, my trusty early 2011 15″ MacBook Pro, was beginning to show some glitchy behavior just before my wedding. (Maybe it had some reservations about leaving the bachelor computing lifestyle.) At first, it started running hotter than usual, and its fans would often be going full bore. Then came the random restarts. Finally, it would fail to boot up. It would start up fine…

Photo: MacBook Pro screen, showing the OS X Yosemite progress bar a little past the halfway mark.

Photo taken from the Stack Exchange Forum Ask Different. Click to see the source.

…but after the progress bar filled up — a process that seemed to take a little longer than usual — it would display a blank gray screen like the one shown below:

Photo: MacBook Pro showing a bank gray screen.

Photo taken from the Stack Exchange Forum Ask Different. Click to see the source.

At this point, the computer would either hang there or spontaneously reboot, which would lead back to the blank gray screen.

The first resort: Resetting the NVRAM, a.k.a. the PRAM

Long-time Mac users know that when a Mac starts exhibiting wonky behavior, resetting the PRAM — that’s short for Parameter RAM — often does the trick. Those same long-time Mac users are also the ones who still call it PRAM; Apple’s moved on from that old name and now calls it NVRAM, which stands for Non-Volatile RAM. No matter what you call it, NVRAM/PRAM is a small store of persistent, writable memory that contains a number of system settings and configurations, including:

  • Which disk is your startup disk
  • Networking and port configurations
  • User input settings such as autokey delay and rate, mouse speed, the blink rate of the “text insert point” cursor, how quickly you have to double-click for it to register as a double-click, and so on…
  • All manner of memory settings, including virtual memory, disk cache, and RAM disk

When your Mac starts acting strangely, it’s often the case that the configuration data inside your NVRAM somehow got corrupted. Luckily, there’s a simple but not-very-obvious way to reset your NVRAM, and it’s all based on a combination of keys that you need to press simultaneously when your Mac boots up. This trick goes back to the days when it was still called PRAM, which explains the keys you have to press:

Headline: The key combo for resetting the PRAM on your Mac when you power up / Photo: Mac keyboard with "command", "option", "P", and "R" keys highlighted.

The steps are simple:

  1. Shut down your Mac. Don’t just log out or put it to sleep, shut it all the way down.
  2. Press the power button to turn your Mac on. Get ready to pounce on the keyboard.
  3. Hold down these keys simultaneously: command, option, P, and R. Make sure that you’re holding down this combination of keys before the gray screen appears. You have to be quick.
  4. Your Mac will reboot. Wait for the startup sound, then let go of the keys and let the machine boot as usual.

While this trick has served me well in the past, it didn’t work in this case. It was time for the next trick: resetting the SMC.

The second resort: Resetting the SMC

The SMC — short for System Management Controller — doesn’t have as long a history as the PRAM, as it was introduced with Intel-based Macs (prior to that. Macs were based on Motorola CPUs). The SMC controls a number of interesting hardware goodies, including indicator lights, the display and keyboard backlights, the cooling fans, power, and more.

The steps for resetting the SMC vary depending on the model of Mac. For my particular machine (once again, it’s an early 2011 15″ MacBook Pro), here are the steps:

  1. Shut down your Mac. Don’t just log out or put it to sleep, shut it all the way down.
  2. Unplug the power cord and all peripherals.
  3. Press and hold the power button for 5 seconds.
  4. Release the power button.
  5. Reconnect the power cord.
  6. Press the power button and let the machine boot as usual.

I’m told this trick fixes a lot of hardware weirdness, but not for me. It was time to take it to the shop, but before I could do that, I wanted to back up some files.

Target disk mode: turning your Mac into a drive that other Macs can use

Target disk mode allows a Mac to function as a drive that other Macs can access. My plan was to hook up the following to my wife’s perfectly-functioning Mac:

  • My Mac, with a Thunderbolt cable, and
  • An external hard drive, with a USB cable.

My plan: to boot my Mac into target disk mode, after which I would copy the files I wanted from my Mac to the external hard drive. I crossed my fingers and booted my Mac into target disk mode using the magic key:

Headline: To boot your Mac in target disk mode, hold the T key while booting up / Photo: Mac keyboard with the "T" key highlighted.

Luckily for me, my Mac was working just well enough to boot into target disk mode. You’ll know when a Mac is in this mode by what it shows on its display: a screensaver-like display of a Thunderbolt or FireWire icon that pops up on random locations on the screen. I used a Thunderbolt cable to connect my Mac to my wife’s (it feels a little odd typing wife rather than girlfriend), and the setup looked something like this:

Headline: Wife's Mac - Normal Mode --- My Mac - Target Disk Mode / Image: Two MacBooks connected via ThunderBolt cable, with one Mac showing a window on its screen and the other Mac showing the Thunderbolt icon on its screen.

With my files backed up so that I could work on them with my backup machine, a Windows/Ubuntu box, it was time to take it to the shop.

Good news, bad news, and a NetBoot at the shop

Photo: The storefront of the PeachMac at Citrus Park Mall in Tampa.

The closest authorized Apple dealer and repair shop to me in the PeachMac at Citrus Park Mall. A number of people I know from the Suncoast iOS Meetup group consider it their go-to store for Macs and Macessories, and they’ve generally done right by me as well. I took my machine to the service desk, where they plugged an ethernet cable into it and performed a netboot in order to run their diagnostics application:

Headline: To boot your Mac from the network, hold the N key while booting up / Photo: Mac keyboard with the "N" key highlighted.

Everything except the graphics card checked out fine. “Yeah, I figured that was the problem — it’s been happening with a lot of 2011 MacBooks.”

“What’s been happening with a lot of 2011 MacBooks?” I asked.

The AMD graphics cards on that line of MacBooks, especially the early 2011 models, have been crapping out. In the beginning, Apple just said that you should zap your PRAM, reset the SMC, or even reinstall the OS. That works — for a little while. Then the graphics card just dies again, and your machine’s hanging in mid-boot with nothing but a gray screen. The real fix is a replacement motherboard.”

“And how much is that going to cost?” I was already wondering if I’d have to drop some cash for a new machine. I was hoping to put off that kind of purchase until next year.

“You’re in luck. Apple’s not calling it a recall, but they’ve got a ‘Repair Extension Program’, and you’ll get a brand new mobo for free…but in your case, there’s a hitch.”

Now what? I thought.

“It’s the replacement battery you put in. In order to qualify for this repair, your machine can’t have any non-standard parts in it. We can’t fix it as it is right now, but if you were to go home and put the original battery back in and bring it back here, we wouldn’t know about it, nudge nudge wink wink.”

Banner: Is your MacBook eligible for a free motherboard replacement? Click here to enter its serial number into Apple's Service and Support Coverage page.

I had a new problem: I’d already recycled the old battery, as it barely held a charge and was just taking up space in my home office as an inert, useless block.

Replacing the battery

Screen capture: eBay page for an Apple A1382 laptop battery

Click the screen shot to visit the eBay page.

eBay to the rescue! I found a dealer selling A1382 batteries — the kind that early 2011 15″ MacBook Pros take — for much cheaper than even the replacement battery I bought through OWC. I didn’t need this battery to be any good; I just needed it to be a genuine Apple one in order to qualify for the free repair.

The battery on the 2011-era MacBooks is technically replaceable, but Apple make it a little difficult by holding it in place with tri-lobe screws, which look like Philips screws, but with one less “wing”:

Photo: Two tri-lobe screws.

Your local hardware store doesn’t typically stock tri-lobe screwdrivers, but they can be ordered online, and the non-Apple replacement battery I got from OWC comes with all the screwdrivers you need to install it. Luckily for me, I’d decided to keep them, which made this operation possible:

Back in action

With a standard Apple battery back in its belly, I brought my MacBook back to PeachMac. They ran the diagnostics again, and this time, the support guy — not the same guy I talked to during my earlier visit — pointed out that I should discharge my battery from time to time. “Don’t leave it plugged in all the time,” he said, not knowing that I’d had the battery for all of one day.

“We’ll call you when we’ve finished swapping out the motherboard,” he said. “It’s pretty quick to do. The slow part is getting it shipped to us.”

With my main machine in the shop, I pressed my backup machine — a Lenovo T430, the quintessential TPS Reports writing machine — into active duty. It has an annoying habit of dropping wifi connections, even with the latest drivers installed.

Photo: Joey deVilla's MacBook Pro, complete with 'Nyan Cat' sticker on the palm rest.

“El Guapo”, my trusty early 2011 15″ MacBook Pro, at the time of this writing (April 2, 2015).

They got the job done in a couple of business days. The new motherboard looks newer, as the markings on the chips don’t look as faded by the heat of regular operation, but the real sign is that it takes a little extra force to insert cables into the USB and Thunderbolt jacks; it feels like breaking in a new pair of shoes. The PeachMac guys even replaced a couple of the rubber feet that had gone missing from the bottom of the machine over the years, as well as one of the screws I lost while upgrading my RAM a little while back, all free of charge.

With my preferred machine back in action, I’ll be able to get back to writing iOS apps, as well as iOS development tutorials here on Global Nerdy. Keep watching this space!

Categories
Uncategorized

The new MacBook’s single port and why every new MacBook needs a different goddamn charger

Heading: Why every new MacBook needs a DIFFERENT GODDAMN CHARGER / Photo: Custom clover-leaf MagSafe power adapter being plugged into a MacBook.

Our more cynical readers already know why the new MacBook requires a completely new goddamn charger that’s totally incompatible with your old one, but in case you didn’t, this CollegeHumor video featuring “Jony Ive” and “Tim Cook” will explain it all for you (be warned, there’s swearing):

The designers at Apple have always taken an anti-clutter approach, which has always gotten on a few alpha nerds’ nerves. When the iMac debuted without floppy drives and old-school serial ports and went with just USB, it was followed by a litany of complaints until that approach became the standard. Over time, a number of “must-have” features have been disappearing from Mac laptops, including optical drives and ethernet ports, and each time, the change has been immediately followed by the gnashing of teeth, and later followed by the rest of the industry doing the same. It would appear the Jony Ive and his team have been reading The Little Prince:

Heading: 'Perfection is achieved not when there is nothing left to add, but when there is nothing left to take away.' -- Antoine du Saint-Exupery / Illustration: The Little Prince standing on his home planet.

The latest furor in Apple’s Little Prince approach to hardware has been over the new MacBook’s ports being reduced to a single reversible USB 3 port. Power, video, peripherals — they’ll all connect to this single interface:

Caption: The new MacBook's actual lone USB 3 port / Photo: USB 3 plug being plugged into a new MacBook.

And it’s likely that most of the time, you can get by. But there will come times when you’ll need to plug it into a monitor and power and an external drive or other USB thingy, and that’s when you’ll need this thing, which Apple will happy sell to you for a mere $79:

Caption: Apple’s USB 3 - to HDMI / USB / USB pass-through adapter...yours for a mere $79! / Photo: Apple USB 3 dongle.

If the pattern holds, the outrage will eventually die out and other hardware vendors will follow suit. The trend towards doing everything wirelessly and the fact that our phones are now are cameras, iPods, and increasingly our primary computing devices means that for most of us, those ports that we know and love will become superfluous. Will Stabley echoes my thinking when he writes:

Take a look at the laptop you’re typing on right now. If you have more than one cable plugged into it, you’re not the typical consumer. Backup drives, printers, internet connections, and even syncing your iPhone are increasingly done wirelessly. So don’t freak out that the new MacBook only has one port. The odds are it’s been awhile since you’ve used a USB accessory anyway.

That doesn’t mean that there won’t be bumps in the road; there’s always been some annoyance in the less-is-more transition. As Wired put it in their article titled Life with the MacBook’s Single Port Won’t be Easy — Yet:

In many ways, this new MacBook is an exciting harbinger of a bright future, one teeming with interoperability and free of proprietary connectors. We’re not quite there yet, though. And until we are, it’s going to be a long, dongle-paved road.

Fine, fine. But I still have to rant: Why did the hell did this change have to render my current power supply obsolete?!

Thanks to Laughing Squid for finding the CollegeHumor video!

Categories
Uncategorized

I see it’s “Browser Cosplay Day” today

browser cosplay

Categories
Uncategorized

What’s happening at Mobile World Congress 2015, Day 3

The turnaround is ahead of schedule, says BlackBerry CEO John Chen

turn-around

“We are a little ahead of our two-year turnaround and strategy,” said BlackBerry CEO John Chen at a briefing outside Mobile World Congress. “The company financially is stabilizing. We made a little bit of money last quarter. We’re going to be making more money. We’re going to be generating more cash.” AT&T and Verizon are carrying BlackBerry devices again, and Chen says that the positive results from the previous quarter is a sign of things to come.

blackberry leap

One of the ways in which they plan to generate more cash is to sell more devices, of which they’re planning to release 4 this year. The one they showed off yesterday was the BlackBerry Leap, which is expected to be released this spring and sell for $275 unlocked. Aimed at the “young career builder”, this BlackBerry is an all-touch device, runs apps from BlackBerry World and Android apps from the Amazon Appstore, and boasts a battery life of 25 hours (“based on a heavy usage scenario on a power user profile”). It’s the phone aimed at getting ambitious twentysomethings back into the BlackBerry fold.

BlackBerry plan to introduce three other devices, all of which feature the physical keyboards that are their mark in trade. One of these is a curved-screen device with a slide-out physical keyboard, and will be released “as soon as it’s done,” in Chen’s own words.

blackberry tablet

There are other ways in which BlackBerry is working on making more money:

  • For starters, there’s a focus on software, most notably the “BlackBerry Experience”, a set of packages to improve security and communications for government and business customers, and “Work Life” which makes it possible to separate billing and communications on employee-liable devices into “work” and “personal” categories.
  • Patent licensing is another avenue for money-making. BlackBerry has 45,000 patents, and Chen isn’t afraid to share for a price. “I’m not a believer in holding on to your secret sauces,” he said.
  •  Chen also remarked that he’d be open to releasing another tablet, saying “It’s not in the works, but on my mind.”

Goodies from SanDisk

sandisk 200gb microsd card

SanDisk have introduced a number of goodies, the most notable of which is a 200GB microSD card that boasts a 90MBs data-transfer speed. Simply put, it’s holds a lot of data, and can move it about quickly. It doesn’t come cheap, though: it’s priced at US$400 and becomes available in the second quarter.

sandisk 64gb card

Their new 64GB card doesn’t have as impressive an amount of storage, but it makes up for it in durability. Most flash cards are made for intermittent use, and not meant to be accessed continuously, which means that often-used video cameras such as those for car dashboards and security systems can overtax them. SanDisk’s new high-endurance cards can take this sort of use. The 64GB version will sell for $150, and a 32GB version will sell for $85.

dual drive and ixpand

And finally, there are the new Dual Drive and iXpand flash drives for boosting your mobile devices’ storage capabilities. The Dual Drive features 2 USB 3.0 connectors and provides 32GB of pluggable storage for your Android phone or tablet. The iXpand drive has Lightning and USB connectors for bringing an addition 128GB to your iOS device.

See us at MWC!

gsg at mwc

We’re in Barcelona to see what’s new at MWC, and to talk to people! In attendance are:

Want to meet up with us while we’re there? Drop us a line at info@gsgtelco.com.

this article also appears in the GSG blog

Categories
Uncategorized

What’s happening at Mobile World Congress 2015, Day 2

Zuckerberg’s MWC keynote: friendly overtures for the carriers, boredom for the audience

zuckerberg - i come in peace

In his keynote panel at Mobile World Congress, Facebook CEO Mark Zuckerberg changed his approach and made friendly overtures to carriers. Their relationship with his company has been a strained one, thanks to free messaging services, WhatsApp and Messenger, which are displacing SMS, and their Internet.org project, which aims to provide free wireless internet to people who would otherwise not have it. It seems that one of the points that Zuckerberg wanted to convey in this appearance was that Facebook was a boon to them, not a threat.

Referring to Android head Sundar Pinchai’s earlier keynote presentation, in which he talked about Google’s Loon and Titan projects, whose goals are to create balloon- and drone-based cellular networks to bring the internet to underserved people, Zuckerberg reassured carriers by saying that they, and not these projects, will actually do the job. “People like talking about that stuff because it’s sexy,” he said, “That’s at the fringe of the real work that’s going on. Ninety percent of the people in the world already live within range of the network. “Going forward the face of Internet.org needs to be the companies doing the work, laying the fiber in the ground, building the infrastructure that’s actually connecting people in the world.”

While Facebook’s free messaging apps are said to eat intro carrier revenue and be detrimental to customer-carrier relationships, Zuckerberg argues that Facebook’s continued growth and Internet.org will be good news for carriers: “The feedback from partners is not only do more people start adopting data, but people use more voice and SMS and pay for that even more. We’ve seen a lot of cases where ARPU [average revenue per user] goes up.”

More reading:

Some observers noted on Twitter that the exchanges between Zuckerberg and carrier representatives looked like a love-in…

…while others thought it was a snoozefest: 

Huawei’s watch

huawei watch

There’s a lot of buzz about wearables at MWC, and especially about Huawei’s watch. Described by The Verge as “the most watch-like Android smartwatch yet”, it’s been getting a lot of praise from many quarters. Here’s The Verge’s hands-on with the watch:

See us at MWC!

see us in barcelona

We’re in Barcelona to see what’s new at MWC, and to talk to people! In attendance are:

Want to meet up with us while we’re there? Drop us a line at info@gsgtelco.com.

this article also appears in the GSG blog

Categories
Uncategorized

“The cartoonist has no idea how net neutrality works”

First, let’s look at some editorial cartoons covering Net Neutrality in which the cartoonist is either misguided or misleading:

stupid net neutrality cartoon 1

stupid net neutrality cartoon 2

stupid net neutrality cartoon 3

Luckily for us, someone at the editorial cartoon blog A Good Cartoon took the liberty of fixing them:

fixed net neutrality cartoon 1

fixed net neutrality cartoon 2

fixed net neutrality cartoon 3

There are more fixed cartoons in that post, including this one, my favorite:

fixed net neutrality cartoon 4

Categories
Uncategorized

Microsoft’s Swift/C# “cheat sheet”

swift to visual c sharp

swift kick

Here’s something a little different: a “Rosetta Stone”-style poster that shows you how to move from Swift to C#, courtesy of Microsoft. The languages do bear a strong resemblance to each other:

swift c sharp poster small

Click the poster to download the PDF version.

Since this came out of Redmond, it’s apparent that the poster’s goal is to convince Swift developers to try out C# for building iOS apps. The interesting thing is that Microsoft is promoting Xamarin — a tool that uses its programming language but isn’t made by Microsoft — and that it’s pushing development across all platforms. That’s something we wouldn’t have seen in the Ballmer era.

While the poster is useful for its intended audience, it should also be useful for .NET developers who want to give Swift a try.