Today only, I’d like to offer the first 10,000,000 programmers unlimited FREE whitespace! Take advantage of this limited-time offer to update your code with all the newlines, tabs, and especially spaces it so richly deserves. Now you’ll finally be able to turn this:
if(true){
foo();
}else{
bar();
}
into this:
if (true) {
foo();
}
else {
bar();
}
So, go ahead, and let your code breathe.
Filed under code
When adding unit test targets and classes in XCode, it’s easy to accidentally choose the wrong SDK / project type. I could have saved myself a lot of head-scratching building my iPad app if I had bothered to pay attention.
Even running Windows in a VM when I need to test a site in IE is painful. The user experience is absolutely terrible.
Great suggestions. He should make an Xcode plugin to do just that. Oh wait, you can’t f’ing extend Xcode. That’s one of my biggest gripes with Xcode. Otherwise, I’d have hacked up Git support by now…
Xcode UI Improvements | Brandon Walkin
Umpire Jim Joyce admits his mistake like a man. I hope he’s remembered as much for his integrity as for this call. I also hope the league overturns this unfortunate mistake. (via Gruber)
I work with the terminal a lot. In fact, the first thing I do when I log in to my machine at work is to open up several shell tabs in Terminal and change directory. The specific directories I change to vary from project to project. With a little help from common shell commands and utilities, it’s easy to find out which directories you CD into most often. If you find yourself visiting a particular directory often, consider adding it to CDPATH.
Americans don’t realize how serious the oil catastrophe in the Gulf really is. The ecological and economic ramifications of this spill will be staggering.
Io seems like a wonderfully gentle introduction to Lisp.
Sometimes I think I know how Cicero or Cato must have felt as they watched the death of their Republic, powerless to prevent it. Last month, the New York Times reported that the President approved the “targeted killing” of an American citizen. The penalty for treason in the United States is death (or a minimum of 5 years and $10,000). But the Constitution is unwavering in its insistence that even especially traitors must be convicted in a court of law. What has happened to our Constitution? What has happened to us?
Update: Salon has an excellent op-ed piece on this travesty.