28 Março 2011, 04:01 h
This little tip has saved me a few hours debugging errors and I wonder why Xcode doesn’t come with it pre-configured already (if it does, let me know). I found it in a Stackoverflow thread and I will just reproduce it here. In Xcode, go to “Run – Show – Breakpoints”. Then select the “Global Breakpoints” and add 2 breakpoints: “objc_exception_throw” for Location “libobjc.A.dylib”
“-[NSException raise]” for Location “CoreFoundation”
You should have it like this screenshot:
Now everytime an un...
26 Março 2011, 15:59 h
I’ve been following the evolution of iOS development and I have to say that is becoming increasingly easier to assemble a quality application these days. Apple just released iOS 4.3.1 and Xcode 4.0.1. Great releases, and the new Xcode is a great step forward. I think this is the first big IDE to fully support Git as a first class citizen in the development workflow. Every serious IDE should do it and any serious developer should be comfortable with Git by now.
The new LLVM Compiler 2.0 is very impressive, it helps a lot in making memory leak free applications. By the way, I don’t buy the “it is too difficult doing memory management”, this is just saying “I’m too lazy and cheap”. Come on, there are thousands of quality apps both for OS X and iOS. Memory management is a little bit more difficult than having a full features generational garbage collector, but it’s nowhere near as difficult as some people claim it to be. Any reasonable developer should be able to accomplish this with minimum effort.
And to help even more, the community has been releasing more and more great libraries that further increase productivity. Let me list a few of my favorites:
08 Março 2011, 14:04 h
Existe um padrão de desenvolvimento no mundo Ruby on Rails que ainda não foi bem ajustado: Componentes. Por exemplo, digamos que seu site seja parecido com o exemplo seguinte:

01 Março 2011, 12:52 h

Mais uma vez o Gmail perdeu os e-mails de muita gente por causa de um problema técnico. Rumores indicam que pelo menos 150 mil contas foram afetadas, muitos deles parece que estão sendo resolvidos mas alguns vão ficar a ver navios.
O problema aqui é lembrar o seguinte: isso não é um problema exclusivo do Google, todo sistema está suscetível a problemas, não importa quanto cuidado os administradores de sistema tomem. A realidade é que software dá problema, hardware falha, e procedimentos sempre estão fadados a falhas humanas. Falha é inerente ao sistema. Mesmo um sistema de produção de altíssima qualidade Six Sigma, com 99.99966% de segurança, ainda significa 3.4 falhas por milhão.
Parece pouco?
Atualização: Parece que o Google conseguiu recuperar uma boa parte dos dados que perdeu.