Personal website of Filipe Figueiredo Correia
I stumbled on this 2002 essay by Guy Steele, and it felt more current than ever. Definitely, go read it if you’re interested in the topic.
[...] to say that objects have failed because they don’t solve all possible problems is like saying carbohydrates have failed because you can’t live on pure sugar. [...]
Yes, it’s just around the corner. The second edition of the Portugal-located conference on Agile Software Development is two weeks away. We are going to great lengths to bring you a great program, with huge names in the world of software development.
Don’t miss it, really.

What’s the relation between these two, you may ask. Django, and other frameworks of the sort, try to provide all that stuff that developers could otherwise need to implement over and over in their web applications. They allow to focus on what really differentiates our web apps from the rest of them. In part, this means letting developers focus on the domain model.
Django’s models do this well1, but they are more “relational” than they actually needed to be — we still have to deal with stuff like ForeignKeys and the like.
I would rather think exclusively in terms of objects, but, no ORM can fully abstract the relational database underneath. This is a leaky abstraction that half of the world would like to see fixed, and the other half as actually tried to fix it but failed to varying degrees. And that’s why I understand why django’s approach has converged to what it is today. It reflects a reasonable balance of these forces.
I still think there are better names than ForeignKey to represent one-to-many associations, though.
Even if not purely object-oriented in their nature, I still think of django models as object-oriented domain entities. And the domain model of a system can really grow beyond the point where it can fit in a single person’s mind. Django projects are no exception.
So, I’ve been trying to find a tool that helps me dealing with large django projects. Here are some of my findings:
The graphmodels extension is serving me good for now, after some hacking to make the generated diagrams closer to UML class diagrams. Here’s an example of how it looks for the pycon system source code:
Here’s how it looked before the modifications:
This example doesn’t have generalizations, which also look much nicer with my changes. Here’s an example of how they look using my patch, before and after respectively:
Update 2011/09/23: Fixed big mixup with the pictures.
This website’s contents and layout just received a well overdue renewal. Namely, you can now find in here some info about my research, and additional contents will eventually find their way here too.
Lacking the time to make my own theme, this time I’m just going with one by someone else, with of course a couple of customizations of my own. For posterity, this is how the website used to look.

This blog has faded away, and twitter sort of became my voice to the world, but I have no intentions of closing it down just yet. As some say, hope is the last to die, which might explain why I still believe I will manage to post here some thoughts over the next months.
What has been keeping me so busy you ask? My job and my PhD research are the main culprits. I’ve lost count on the number times my thesis title has changed, but I’m pretty confident I’ve finally reached one with which I can reasonably see where I’m heading, and with which I am pretty sure to enjoy the ride. I hope I’ll be ready to give you more details soon :)
But the last few weeks, my mind has also been somewhere else. I’ve been organizing an event on Agile Software Development — Agile Portugal 2010. This will be the biggest event of the kind in Portugal that I have memory of, and putting it together has been quite an endeavor, but an incredibly fun one. I’m very excited about the program and the invited speakers we already have on board, and it keeps getting better and better.
If you want to be part of this great event, you can do it either as a speaker or a participant. The Call for Speakers and the early registration period will be open until the next June 5th.
I’ve just stumbled on this post by Danilo Sato and remembered what a great time we had on the Kake Coding Dojo last August, at Agile 2009.
Want to know what a Kake Coding Dojo is? Hugo Corbucci explains it on his blog, and so does Danilo (note that this Coding Dojo format was previously called UberDojo).
I’m tempted to promote some Kake sessions with fellow co-workers. We’ve been talking about ways to share knowledge on TDD and other agile practices across the company, and I found this to be an excellent way to improve one’s TDD skills, and to have contact with different languages while we’re at it. Will try to report back on my findings.
Update: Hugo has just made a post about this too, with some extra info.
Today I’m going go to sleep with this song on my mind (read it thinking on the melody of On the First Day of Christmas).
On the first day of EuroPLoP, my workshop said to me:
“Delete everything on page 3″
On the second day of EuroPLoP, my workshop said to me:
“Too many patterns,
and Delete everything on page 3″
On the third day of EuroPLoP, my workshop said to me:
“Three known uses,
too many patterns,
and Delete everything on page 3″
On the fourth day of EuroPLoP, my workshop said to me:
“Four forces,
three known uses,
too many patterns,
and Delete everything on page 3″
On the fifth day of EuroPLoP, my workshop said to me:
“Five good things,
four forces,
three known uses,
too many patterns,
and Delete everything on page 3″
On the sixth day of EuroPLoP, my workshop said to me:
“Six dumb suggestions
five good things,
four forces,
three known uses,
too many patterns,
and Delete everything on page 3″
On the seventh day of EuroPLoP, my workshop said to me:
“Seven minor changes,
six dumb suggestions
five good things,
four forces,
three known uses,
too many patterns,
and Delete everything on page 3″
Credits: Not sure who the author is, but Charles Weir has compiled a very fun song sheet of EuroPLoP conferences which I recommend to all the PLoPers out there.
While helping a friend dealing with a professional crossroad, I started wondering which universities are considered to be the top ones nowadays. I had ran some searches about this matter some time ago, helping one of my brothers to select a school where to apply for the ERASMUS programme, but this was back in 2006, and I was hoping more reliable data would exist by now (ie, from independent parties, and using sensible criteria).
Although I still don’t blindly trust the numbers I’ve found (University of Porto isn’t on the list, so it can’t be right, can it? ;) they were the most convincing ones I came upon. They do try to explain which was the used criteria, which is a good thing.
I finally found some time to install Ubuntu on my Eee pc 901, and it’s a good thing I’ve waited for the holidays (if I can call them holidays — despite what some lady friends tell me, hunting for Christmas presents in shopping malls is hard work), because the entire process sure took a lot more time than I was initially expecting.
I’ve followed a a post over on tombuntu, while also referring to Rui Carmo’s post on the subject and to a series of other resources that address more specific issues:
So everything was going great… that is, until I tried to establish a connection to my wireless router at home. Network Manager refused to cooperate — it kept asking for authentication credentials, even though he already had the right ones — and I took a while to understand I was facing some sort of bug in NM, and not an incompatibility with the Eee hardware (at least, this is my theory for now). This seems to be reproducible with hidden WPA networks, like the one I had at home. I just ended up changing the router settings to broadcast the SSID, and all is working fine now. Still, this worries me, I wonder if I won’t have trouble connecting to eduroam networks — will have to try it.
Btw, I have to say I now strongly agree that Network Manager badly needs a refresh feature.
Another difficulty I add was finding a convenient way to quickly configure VGA output, as I frequently need to connect to a projector, either for classes or the occasional presentation. Again, this has nothing to do with the Eee 901 specifically, although the fact that it uses a 16:9 resolution does add a bit to the challenge. I ended up using LXRandR, that is provided by the Ubuntu repositories, but also found two other promising applications that do mostly the same: uRandR and aRandR.
At this point, I realized I had very little space left on the 4GB SSD, as it was to be expect. I’ve done two things to get some space back: first, I’ve used this setting on synaptic packet manager: Settings -> Preferences -> Files -> Delete Downloaded Packages After Installation; second, there are loads of pre-installed documentation that typically never get used: /usr/share/doc told me what was taking too much space, and I got rid of some of these docs by using apt). I still have 1.1GB free now, which is quite reasonable, since I kept almost everything, including open-office, and installed texlive and several other smaller packages.
You've reached the personal website of Filipe Correia. Software Engineer and Researcher with an inclination to agile methods, design patterns, architecture, collaborative systems and information science.