12 Ocak 2010 Salı

En iyi 20 Programcı Mazareti



The Top 20 replies by programmers when their programs do not work:
  1. That’s weird…
  2. It’s never done that before.
  3. It worked yesterday.
  4. How is that possible?
  5. It must be a hardware problem.
  6. What did you type in wrong to get it to crash?
  7. There is something funky in your data.
  8. I haven’t touched that module in weeks!
  9. You must have the wrong version.
  10. It’s just some unlucky coincidence.
  11. I can’t test everything!
  12. THIS can’t be the source of THAT.
  13. It works, but it hasn’t been tested.
  14. Somebody must have changed my code.
  15. Did you check for a virus on your system?
  16. Even though it doesn’t work, how does it feel?
  17. You can’t use that version on your system.
  18. Why do you want to do it that way?
  19. Where were you when the program blew up?
  20. It works on my machine.”


Kaynak: http://www.thatwasfunny.com/top-20-programmers-excuses

6 Ocak 2010 Çarşamba

Oracle PL/SQL Free Unused Memory

Oracle'ın XML kütüphanesindeki bir memory leak problemi bizi uzun süredir uğraştırıyordu. Başta hatanın yazdığımız koddan kaynaklandığını düşünmüştük, ancak anladık ki bu Oracle'ın bir bug'ıymış:

Miracle Benelux isimli blog'da bu problem için dbms_session.free_unused_user_memory() metodunun kullanılmasını tavsiye edilmiş. Bu da bizim problemimize 100% bir çözüm sağladı.