Skip to main content

Mobomo webinars-now on demand! | learn more.

It’s been nearly a year since the release of the iPhone 4, and much to the dismay of the tech community, it’s still the only product in the Apple lineup with a high pixel density ‘Retina’ display. While the much-hyped feature drew universal praise when the device was unveiled, some were wondering the following:

  • Would consumers see this as a compelling feature?
  • Would competitors follow suit, establishing critical mass for high PPI displays?
  • Would Apple eventually launch a Retina display for iPad or Macbook Air? Or would another manufacturer release an ultra-high resolution tablet or laptop?

In a little over 10 months time, high PPI displays are currently everywhere in mobile. Walk into any carrier retail store, and chances are that the featured smartphones already feature high-resolution displays. Those that don’t have them likely will within an iteration or two.

Retina display for Mac will be here sooner rather than later. Apple’s yet-to-be-launched OS X Lion includes built-in support for the Retina display, along with ultra high-res desktop wallpapers and icons. It’s a decent bet that we’ll eventually see some variation of the Retina display across the entire product line. And of course, as happened in mobile, the rest of the industry will follow Apple’s lead, effectively eliminating the concept of a default dpi standard.

How can designers and developers prep for this change?

Embrace resolution-independent design practices for the web, not just mobile. Up until this point, designers and developers who haven’t worked in mobile have been able to avoid the extra hassle of prepping content for high PPI displays. But with the classic notion of the ‘pixel’ fading away, it’s a good time to reiterate the importance of resolution-independent design practices across the board. Specifically:

  • Minimal use of bitmaps (reserved for photography, video, and illustrations)
  • CSS3 for buttons, gradients, shadows, and lines
  • HTML5 canvas and SVG libraries for complex and interactive graphics
  • @font-face for custom type
  • Vector graphics for interface elements

Start to use Scalable Vector Graphics (SVG) on the web. With Internet Explorer 9 finally getting onboard with the basic SVG feature set, it’s time to adopt vector graphics on the web (for real this time). Unless you are designing for a specific audience using certain browsers (in which case you may need fallbacks), now is a great time to consider using SVG for:

  • Icons
  • Background images
  • Custom type treatments
  • Logos and mastheads

Get comfortable with Adobe Illustrator. This advice was doled out around the web when the Retina display was first introduced, and one year later it rings more true than ever. Photoshop is still the industry standard for producing web graphics, but as the web steers towards resolution independence, so should the toolkit.

Photoshop users: keep all of your source files in vector format for as long as you possibly can. If you must use Photoshop (full disclosure, we love it and use it daily at Intridea), it’s a good idea to create your interface elements as vector Smart Objects, or import them directly from Illustrator. This way, your elements can scale when you resize the source files without effectively losing resolution.

For time being

The current process of designing for high PPI displays is a bit of a hassle, but it’s hopefully transitional. Designing for the Retina display with targeted CSS and high-res bitmaps is already intensive. Throw in the eventual release of high PPI displays on tablets and laptops and it’ll be painstaking.

There are a number of established design practices for supporting high PPI displays. Many of the tutorial articles written soon after the iPhone 4’s launch are still relevant (here’s a great list of some key takeways).

Categories
Author

Back in the good ol' days of PowerPC Macintosh computing, and WAY before USB there was a marvelous (albeit proprietary) technology called Apple Desktop Bus or ADB for short. You might remember killer keyboards like the "Apple Adjustable Keyboard" seen here:

One of the great features of those older keyboards was the ability to power on the machine right from the keyboard itself. In 1998 Apple changed the keyboard for their brand new iMac line to utilize the increasingly popular USB format. The "Apple USB Keyboard" model number M2452 was the last keyboard (USB or otherwise) to ship with a power button.

If anyone's ever had a Mac that they wanted to be able to cold boot remotely (for instance from another room) you'll join me in shedding a tear for that last tidbit of information. No more power button on the keyboard?!?! I've been curious for the past several years if there was a way to remotely boot a machine via a USB button or some other method involving the LAN port with the "Wake on LAN" feature, but without some help from Apple it seems that no one has been able (or perhaps been allowed?) to solve this problem yet*. That is... until now!

If you keep your desktop Mac's AC plugged into a UPS that has USB support capable of issuing a shutdown command, then what I'm going to describe might sound familiar. Imagine you're at work and streaming some killer tunes from home from the 2TB music collection on your 27" iMac i7 with 16GB of ram and a 400GB OWC SSD (hey, we can all dream right?) when there is a sudden and extended power failure. Luckily for you your iMac is plugged into a shiny new APC UPS. However, after 20 min or so the UPS runs out of battery and needs to safely shut down your $2500 iPod. Since there isn't a way to power on your iMac remotely or know when power will be restored you're a sad panda for the rest of the day while trying to code in a noisy office. That is unless you enabled the preference in Energy Saver that says "Start up automatically after a power failure". If you have that checked then as soon as power is restored to your home, your iMac will boot again and you can return to rocking out.

For all of this to work though, the UPS has to forcibly remove power from the machine to simulate an all out power failure. This is achieved by the UPS issuing a special kind of shutdown just before yanking the virtual plug, Christina Aguilera's favorite kind in fact... a dirty one ;-)

If you look at the man page for shutdown you'll notice a bunch of optional flags. The two that we're concerned with are -h and -u.

      -h      The system is halted at the specified time.    -u      The system is halted up until the point of removing system power,   but waits before removing power for 5 minutes so that an external UPS   (uninterruptible power supply) can forcibly remove power.  This simulates   a dirty shutdown to permit a later automatic power on. OS X uses this mode   automatically with supported UPSs in emergency shutdowns.      

To allow me to simulate what a UPS does and be able to power on my mac from another room, I picked up a $10 Wireless Remote Control Electrical Outlet with an RF keychain remote that has an on/off switch:

When it comes time to shut down the Mac make sure to go through and close out all apps, save all documents and get the system to the point where only the Finder is running. Then issue the following terminal command:

$> shutdown -u -h now

Wait until you're sure the machine has shut down and then click the "off" button on the RF remote (you'll have a 5 minute window). You've now simulated a power failure in a totally safe way. You can come back hours/days later and "restore power" to the machine by pressing the "on" button on the RF remote and the Mac will boot! I even created an automator action to run the shell script via applescript with administrator privileges so I can just use Alfred (my new favorite launcher utility) to call the "Shutdown Dirty.app" that I made.

The AppleScript code that I used is:

do shell script "shutdown -u -h now" user name "Jon Kinney" password "noway"   with administrator privileges

Please note: this does pose some what of a security risk by embedding your system password in essentially a plain text file, but I really didn't care. Use this solution at your own risk. Alternatively you can leave the bit about password out and it will prompt you in the OS X GUI.

The reason that I wanted to come up with this solution is that I have a recording studio in my basement and I put in conduit in the walls/ceiling so I could keep my Mac Pro and external hard drives in a server closet that I built under our basement stairs. The main reason for that is my 8-core Mac Pro puts out way too much heat to keep in the control room. It gets hot enough with the LCD monitors, studio monitors (speakers) and my high voltage track lighting. Not to mention that even though FireWire is supposed to be a hot swappable technology, every piece of FW audio gear that I've ever owned says to shut down the machine before plugging or unplugging it to avoid possibly frying your FW ports on your computer and/or your audio interface. Now I can shut down and boot from the comfort of my studio chair :-)

*Note: Apple's only modern hardware designed to be booted remotely is the Xserve server, which supports Lights Out Management (LOM).

Categories
Author

There's a company out there that aggressively bundles its products to ensure lock-in. They have an end-to-end chain of devices and software crafted to create an impenetrable, closed ecosystem. They aggressively squash competition, even refusing to let competing products exist on their platform. Yeah, it's *Apple*.

I'm getting tired of the geek world being Apple apologists. We don't hold them to the same standards we hold other companies, especially Microsoft. They make cool stuff and that seems to give them a pass to do whatever they want. I say its time to stop being complacent.

I love Apple's stuff. It's pretty, and the operating system lets me do my work better. In fact, I don't really think I could do my job if I didn't run OS X. Windows is a terrible environment for developing Ruby, and Linux doesn't have the Adobe suite of products for the design work I do. That's exactly where the problem lies: I *must* use Apple software to perform my job, which means that I *must* buy Apple hardware to perform my job. Apple has a monopoly over my computer purchases and that doesn't sit well with me.

The reason that Apple hasn't gotten in trouble for their blatant product bundling and other anti-competitive tendencies is simple: they've never had the broad install base to warrant that kind of consideration. But with Apple's meteoric success in the consumer notebook market and an ever-increasing market share, how long can that really stay true? If Apple ever tips the scales at Microsoft-level popularity (or even a substantially smaller but still significant percentage of the market) they should be called to task just as Microsoft was.

OS X is an operating system. It "can be run on other machines":http://www.insanelymac.com/ and would be except that Apple says no. I'm sick of being told what hardware I have to use to use their software, and I'm surprised that everyone else seems to not only be complacent with this fact but revels in the "awesomeness" of Apple. I use Apple because their software is the best (and only) tool for my particular job, not because I feel some bizarre affinity to a consumer products manufacturer.

Maybe some day anti-trust hearings will force Apple to open up and allow any hardware to run OS X. Maybe not. One thing's for sure though, they aren't going to do it unless their hand is forced. Maybe that makes them a successful business, but it doesn't earn them my respect.

Categories
Author
1
Subscribe to Os X