Tag: osx
-
Debugging JavaScript With Safari
I usually use FireBug and other FireFox-based tools for troubleshooting JavaScript issues, but never found a solid way to approach it in Safari, my primary browser. It turns out that the nightly builds of WebKit (Safari’s core) also come with a great utility called Drosera.app, which allows you to attach to a running WebKit process…
-
Writing Good Error Messages
I received this little note from my Mac today. This made me feel all warm and fuzzy inside despite the interruption of my work because it satisfies my general criteria for displaying error messages to users. A graphical severity indicator is given so I know whether or not to care. It provides a succinct, human-readable…
-
Ruby Troubleshooting: Hpricot On OS X Leopard
If you upgraded to Leopard, you may be getting this nasty error when trying to install Hpricot, which is required by other popular gems such as mechanize.. preston$ sudo gem install mechanize Password: ******** Bulk updating Gem source index for: http://gems.rubyforge.org Install required dependency hpricot? [Yn] Select which gem to install for your platform (i686-darwin8.10.3)…
-
OS X Ruby Troubleshooting: "command not found: dot"
If you’re trying to run rdoc but are getting errors like.. Generating HTML… Diagrams: ./opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27: command not found: dot -Tismap dot/f_0.dot ./opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27: command not found: dot -Tismap dot/f_1.dot ..the package you need to install is called graphviz. You can install it using Darwin Ports on OS X like so.. sudo port install graphviz
-
Parallels Desktop Coherence Mode Rocks: OS X/Windows XP Screenshot
I tried Parallels Desktop‘s Coherence mode today, and was so blown away I had to blog about it immediately. The above image has not been doctored. It’s my normal OS X desktop with Windows XP running in coherence mode. When activated, the window around the XP virtualization session vanishes, the XP taskbar integrates into your…