Turning off SafeSleep

Quoting completely from Remiel

Ever since the PowerBook G4, Apple notebooks use a system called Safe Sleep to restore your computer to working order after being left unattended for a while. With Safe Sleep, the current session is written to both RAM and your hard disk — RAM because waking up is faster that way, and the hard disk so that the system can safely go into hibernation if the battery drains while it’s asleep.

Your computer will go into standby faster if you turn this off. You can also save some space on your hard drive by disabling Safe Sleep, and removing the sleep image. You’ll still be able to sleep your computer, but there’s no zero-battery safety net anymore. Your MacBook can go a very long time in RAM-only sleep mode on a full battery, so this should rarely affect your life. But keep in mind that if the battery does run out, you’ll lose any unsaved work.

This Macworld article goes into greater detail about Safe Sleep, but for our purposes, the short version is this:

  1. Open up Terminal.
  2. Type “sudo pmset -a hibernatemode 0” without the quotes, and hit Enter.
  3. Enter your password when prompted.
  4. You are now using RAM-only / “old school” sleep mode.
  5. Now type “cd /var/vm” and hit Enter.
  6. Finally: “sudo rm sleepimage”
  7. This will delete the existing sleep image file on your hard drive, reclaiming that space for future use.

Mac Keyboard Hacks

Want to change your control key and caps lock key on your Mac (or just disable your caps lock key)? Use the built-in settings (System Preferences -> Keyboard -> Modifier Keys).

Want to change your fn key? Use DoubleCommand.

RSS Feed Translation

Got an interesting RSS feed you wan to follow, but it’s in a different language?

You can use the steps from this article by Rafe Needleman. The process includes using Yahoo Pipes to get the RSS feed, translate it, and then create new content output from that. Not horribly complicated, and quite a nice trick to know about.

Note that Yahoo’s Pipes has moved the Babelfish translation into the deprecated list… not sure how long the functionality will continue to be supported.

Mac Blogging Software

I used to use Microsoft Live Writer on Windows to post to my WordPress blogs, but now am looking for an equivalent program on the Mac… so far, no luck.

Here are the programs I’ve reviewed, and the shortcomings they have… I started with this list, and the most reasonable app I found was Ecto.

All of the programs fail on one of the simpler (in my opinion) tasks — rendering your post in edit mode with the blog’s live css stylesheet. They also often failed with some other relatively simple tasks, such as being able to edit Pages and not just posts.

  • Ecto – doesn’t show preview with css
    • $18 for this? I guess that’s reasonable, but Live Writer had more features and was free…
  • MarsEdit – doesn’t allow you to edit pages, no css preview
  • Flock – have to sign up for pictures account (aka Flickr or PhotoBucket) to upload pictures. Also, no css preview, no page editing…
  • Qumana – doesn’t even seem to work with OSX 10.5
  • iBlog – doesn’t support WordPress (just writes files to file system or ftp)
  • JBlogEditor – no active development; focus on html editing
  • Journler – not obvious how to use for blogging, focus is on journaling
  • MacJournal – looks nice, not focused on blogging, no css view, no page editing, expensive @ $35