Disabling CrashReporter
defaults write com.apple.CrashReporter DialogType none
defaults write com.apple.CrashReporter DialogType none
Congrats to Mr Speirs on his 1.0 release. If you've been waiting for this to get out of beta before giving it a shot, now is the time.
All I want is the truth now
Just gimme some truth now
From The Daring Fireball Linked List comes a very cool article about a BSD filesystem reporting utility that previously I had know nothing about. If you haven't heard of fs_usage either, you might want to read up. It's one of those utils that will tell you more than you ever wanted to know.
cal
.
'cal' is short for 'calendar' and as you've probably guessed it displays a calendar:
[bob-adamantium:~] bob% cal October 2004 S M Tu W Th F S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31Which is nifty but not spectacular. But: ever want to know what day of the week your birthday was on in the year 1?
[bob-adamantium:~] bob% cal 1The year 3003?
[bob-adamantium:~] bob% cal 3003December of 8432?
[bob-adamantium:~] bob% cal 12 8432Nice, no?
Way back last Thursday I wrote about wanting a decent calculator from the command line in Quick Calculator. In the comments anonymous pointed out that there's a perl-based calculator available out there called the Astronomy-aware Unix calculator (don't let the name scare you) and I gotta say: it kicks some serious ass.
I was going to just post about its existence here, with the assumption that everyone would know how to install it but then I remembered a post awhile ago in which some reader comments mentioned that they'd like less geek-heavy content, which I took to mean: "more content presented in a way that didn't assume every reader spends their whole day writing code and compiling their own applications from source".
So instead I've written a complete installation guide for calc, which assumes, step-by-step, that the reader is new to the Terminal and command line. If you're already a command line user this probably won't be anything new to you; if you're not but you're curious about it and you want to explore another level of your Mac then this might be the starting point you need to bite through the crunchy Aqua shell and into the chewy command-line centre of OS X: Installing calc.pl under OS X.
69 Subject: New Member Incentive Program- Get an Apple computer! 66 Subject: Get an Apple iMac G5 Desktop computer! 55 Subject: Get the New Apple iMac G5 Desktop! 46 Subject: Apple 17" iMac G5 Desktop! 40 Subject: An Apple iMac G5 could be yours!That's 276 out of 2713 spamtrapped messages. Double-digit market share!
(No pictures, you don't really need to see a splotch to know its a splotch...)
bc
which works just fine as a calculator but from its man page description appears to be so much more than that:
bc is a language that supports arbitrary precision numbers with inter- active execution of statements. There are some similarities in the syntax to the C programming language. A standard math library is available by command line option. If requested, the math library is defined before processing any files.So a question: if you use a calculator from the command line, what do you use?
Here's the same thing for LanOSD:tell application "iTunes" set theArtist to artist of current track set theName to name of current track end tell tell application "GrowlHelperApp" notify with title theArtist description theName icon of application "iTunes" end tell
These examples are of course not very useful by themselves, but they do show how easy these services are to use. It wouldn't be that hard, for example, to write a cron script that popped up a notice when your favorite RSS feed got a new post, or when your blog got a comment or trackback, or when local disk free space dropped below 10%. The main thing about this style of notification is that it is minimally intrusive -- you don't have to dismiss it, move it out of the way, or deal with "Foobar.app requires your attention" alerts that aren't even smart enough to dismiss themselves after you've activated the app in question. I hope Apple takes the hint from all this activity and puts some of their supersmart interface people to work on making this part of the UI not just prettier, but better.tell application "iTunes" set theArtist to artist of current track set theTrack to name of current track end tell tell application "LanOSD" message kind "iTunes" text theArtist & " - " & theTrack icon "info" end tell
free reference tool for Cocoa Objective-C programmers. The goal of AppKiDo is to help you find what you want in the Cocoa documentation. It does this by parsing the header files and the HTML doc files that were installed with your Developer Tools, and presenting the results in a form that is easy to navigate.