DIVID Technology Riffraff & Whatnot

by Kevin Bassham, Web Interface Developer

Macbook Pro GPU Menubar Indicator Monitoring

Macbook Pros now have two graphics chips. One is used to conserve battery life, while the other is used automatically on demand. OS X detects this need per application, and monitoring if an app has triggered GPU access can be found in System Profiler, but there’s another way. Bjango’s iStat menus can monitor power on each GPU so you can tell when the discreet graphics are active at all times, Allowing you to quit whatever app (looking at you Tweetie) is keeping it active while you’re out and about.

http://bjango.com/apps/istatmenus/

Update: This is even better => gfxcardstatus menubar

Bumptop for the rest of us. (ultra mini-review)

Like it a lot. Turned it off because it doesn’t really help me get anything done. Try it if you like eye candy, it’s quite entertaining.

http://bumptop.com/mac/

Cool Your Jets

Coolbook rocks for keeping your Macbook fans quiet and making your CPU run more efficiently. These settings work for me, but as they say YMMV. Oh, and don’t forget to RTFM.

UPDATE: Keep your kernel at 10.6.1 until there’s an update for this app. Version 2.15 is current at time of writing. More here: http://discussions.apple.com/thread.jspa?threadID=2227825&tstart=0

200910261645.jpg

Font smoothing changes in 10.6

Typefaces can appear a bit darker in Safari under OS X 10.6. Toggling the LCD (subpixel anti-aliasing) option doesn’t seem to have any affect. This is noticable in Safari 4.0.3 on certain web pages where the font-weight is over 600. I assume this is related to the GPU-driven UI, so I’d be interested to see if this appears on your screen too.

Growl and Adium styles with OS X Leopard theme

Here’s a matching set of Growl notification style and Adium list layout themes. Follows a certain minimal bezel look. This also goes well with my Elegant Simple + avatars message style, which is a modified version of Jules Gravinese’s excellent work.

I’ve also been happy with SnowTunes theme for OS X 10.6, which gives you a global black menubar and iTunes-like scrollbars.

ConciseDark-adium.zip – Adium appearance colors
ConciseDark-growl.zip – Growl style
http://adiumxtras.com/index.php?a=xtras&xtra_id=7470 – message style
MessageWindow.nib.zip – HUD message window

The HUD messagewindow.nib can be dropped into the Adium.app/Contents/Resources folder. Quartz compositing was left off intentionally to avoid “automatic graphics switching” from triggering the discrete GPU on late model Macbook Pros. Tabs and normal window shortcuts and behaviors are intact aside from pgup/down and focus marking (we must use javascript to handle scrolling to get the desired look).

Picture 2.png 200908031541.jpg Screen shot 2010-04-29 at 11.48.34 AM.png

Photoshop performance tips

201005181918.jpg Having a fast hard drive helps, but scratch disks provide scalability at the cost of performance. YMMV with larger files, but these tips can help with psds of around 200mb.

Experiment with lowering memory and checking your results. There are extensive test suites for this, but you may find an easier way to measure. Don’t trust your gut, actually time something.

With each setting, try opening documents and comparing the efficiency, targeting 100%. Each change in preferences > performance requires you to restart Photoshop. This changes after Photoshop has time to “warm up”, so if you set it and run with it for a bit you will see better results. I think I ended up using about 50% and small tiles for my setup, since I also need memory for other things like a VMware.

201005181839.jpg

Adobe has a technote about this stuff: http://kb2.adobe.com/cps/320/320005.html

CS4 users, if you are not working with too many huge files, take a look at what happens when you drop in a few legacy plugins from Adobe: PSCS4Optional_LegacyPlugins_MAC.dmg

CS5 plugin information can be found here: go.adobe.com/kb/ts_cpsid_82824_en-us and here: http://www.adobe.com/go/ps_cs5_plugins_mac_en. This includes some of the same optional extensions.

There are some interesting tests related to this article worth checking out, especially if you have large psds or lots of extra memory: http://macperformanceguide.com/OptimizingPhotoshopCS5-MaxMemory.html

geektool logfile append patch

200906031823.jpgIf you’re seeing “logfile turned over” errors from geektool, note that a patch has been submitted years ago here:

https://trac.tynsoe.org/projects/geektool/ticket/11

and has been built and ready to download here:

http://infinite-sushi.com/2006/02/intel-build-of-geektool/

Pomodoro Dashboard Widget

A simple timer to use with Francesco Cirillo’s pomodoro technique.
You may name your tasks, change the timer, and hear both a speech notification and optionally get growl notifications. Get to work!

Icon.pngMac OS X 10.4 Tiger or later is required. If you’re using Safari, click the download link. When the widget download is complete, show Dashboard, click the Plus sign to display the Widget Bar and click the widget’s icon in the Widget Bar to open it. If you’re using a browser other than Safari, click the download link. When the widget download is complete, unarchive it and place it in /Library/Widgets/ in your home folder. show Dashboard, click the Plus sign to display the Widget Bar and click the widget’s icon in the Widget Bar to open it.


Note: This download has been removed.


Mounting with “noatime”

Found this for all you geeks looking for a little IO boost on the OCZ forums, which I am republishing to make it easier to find for the next one like me out there looking for the mac equivalent of linux mount options :)

This is an excellent suggestion:

Quote:
Originally Posted by ssobolev View Post

It would be VERY useful to turn off access time recording in Mac OSX.
For Leopard would be enough to add

Code:
#!/bin/sh
# Mount root drive with noatime
mount -vuw -o noatime /

to your /etc/rc.local file.
Or create /etc/rc.local file by typing following in terminal (take previous code into clipboard beforehand):

<SNIP>

After reboot you should get noatime enabled.

I think everyone who has tried it has found it to be useful. However, while it may work now, it may very well “break” in the future. Ever since Apple introduced launchd with 10.4, it has been slowly removing dependence upon launch scripts found in earlier versions of the OS. For more information, you can refer to http://developer.apple.com/MacOsX/launchd.html.

To improve upon this excellent suggestion, I would suggest that you instead use launchd to add the noatime option. (And this will work for those of you who may have had difficulty getting the previous hint to work.) Simply create the following text file:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>Label</key>
        <string>com.my.noatime</string>
        <key>ProgramArguments</key>
        <array>
                <string>mount</string>
                <string>-vuwo</string>
                <string>noatime</string>
                <string>/</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
</dict>
</plist>

Save this file using the same name you used in the file with a .plist extension. For example, using the sample code above, you would save this file as “com.my.noatime.plist”. (I’ve attached a copy of this file in case you don’t want to create it on your own.)

The file needs to be owned by root and placed within the correct directory so that launchd will find and execute it. To do this, open a terminal window, change to the directory where you saved this file, and execute the following commands:

Code:
sudo chown root:wheel com.my.noatime.plist
sudo mv com.my.noatime.plist /Library/LaunchDaemons/

At this point, you should also remove the rc.local file you created with the earlier tip:

Code:
sudo rm /etc/rc.local

And finally, you can restart your computer:

Code:
 sudo shutdown -r now

After the restart, verify everything is working by viewing the system log. Open Console.app, select system.log, and search for “noatime”. You should see an entry similar to the following (again, using the same name we used above):

Code:
Apr 24 11:29:31 darwin com.my.noatime[75]: /dev/disk0s2 on / (hfs, local, journaled, noatime)

Alternatively, you can open a terminal window and type:

Code:
mount

You should see something like the following:

Code:
/dev/disk0s2 on / (hfs, local, journaled, noatime)


Kevin

disabling spindump

http://jamesreubenknowles.com/disable-spindump-71