Carlo Capocasa Tech Blog Sharing 20 years worth of my best technical knowledge
  • Home
  • Programming
  • Systems
  • Music
  • About
  • 5 March 2026

    Pharao- PHP-Like charm for Nim

    There are some genuinely good things about PHP, the greatest of which, in my humble opinion, is the ability to just dump a script on a web server and run it on request. It's eminently practical and I missed it, but there is no way I will part from my fiercely appreciated Nim programming language any more.

  • 19 July 2012 18:19

    Traits with Symfony 1.4

    PHP 5.4 is so nifty. And traits are mad cool.

  • 5 March 2012 16:28

    Practical Use for Hash Functions

    And now for something completely different: A piece of information that seems to get taught at universities that not only has plenty of practical use in everyday web development, it is also surprisingly easy to understand. Here goes.

  • 23 February 2012 17:25

    Blobs in Doctrine Fixtures

    Looks like Doctrine 1.2 (in Symfony 1.4) doesn’t like loading blobs in fixtures. You can base64_encode them, but that kind of defeats the purpose of having a blob, now does it!

  • 16 February 2012 00:12

    PHP Doctrine ORM: Low memory

    Today, I made an arduous discovery: Doctrine 1.2, the Object-Relational mapper used with symfony 1.4, has a HYDRATE_ON_DEMAND fetch mode. This allows doctrine to function just like pdo does: You do a query, loop over it, and the data doesn’t consume memory until it gets fetched. (And can be freed before the next pass)

  • 28 November 2011 15:14

    UTF-8 and ISO-8859-1 in Emails

    Emails are tricky. There’s so many legacy systems to keep track of.

  • 14 August 2010 00:08

    What to learn first in CSS

    Creating a page in HTML and CSS is a lot like baking a cake.