henrique is currently certified at Journeyer level.

Name: Henrique Romano
Member since: 2008-03-05 01:50:38
Last Login: 2009-12-08 15:16:19

FOAF RDF Share This

No personal information is available.

Projects

Recent blog entries by henrique

Syndication: RSS 2.0
25 Feb 2009 (updated 25 Feb 2009 at 01:39 UTC) »
Django's loaddata

So, I've to admit two things: 1) I was a bit accelerated when I needed to import my data using loaddata command, then it obviously was my fault; 2) In fact, I hate with a passion (tm) to use these commands when I change my DB schemas.

Well, at least I learned something...

  • Do not post anything on your blog if you are not with time or if you are having problems with something (that is the subject you are going to post about) that you don't have researched enough.
  • Definitely, using dumpdata & loaddata for manually rebuilding your database record is very passive of problems and will guide you through an unknown path, where everything will looks like "I don't know what is going on, but I have to leave this DETAIL apart".

or, hmm, I could be the man with the unchanged database schema during all the software lifetime... hmm, no, I don't think it will finish well.

9 Feb 2009 (updated 9 Feb 2009 at 01:30 UTC) »
Django's dumpdata

I feel like an idiot every time I need to use dumpdata on my django projects. First, it is very sad to have to run the following set of commands when I change some column definitions on my models:


$ python manage dumpdata > foo-dump.json
$ python manage reset app
$ python manage loaddata foo-dump

Second, it drive me nuts after I note that the loaddata command doesn't work like I was expecting, that is "restore my data in this new schema configuration". For some reason, the loaddata doesn't load my app's data, but only the data of "built-in" django applications (like auth and admin, for example). The result you can deduce: the impression is that I lost all my data (luckly, demonstration data) and I'm too bored to check if it is really the truth.

Tomorrow I'll check it with more attention and, very likely, I'll be reporting a ticket at django's trac.

Definitely. I'm the right guy, at the wrong place, in the wrong time.

10 Jan 2009 (updated 10 Jan 2009 at 22:23 UTC) »

I'm moving to São Paulo this monday. The good thing is that I found a house near the office that I started working and it will take only 30 minutes to arrive there, walking.

The work is going fine, there were some initial problems, but finally there are nice people to work with and I got the tasks very easily.

Happy new year.

Not a good beginning I'd say, but at least I leave SigX. I'm going to work at Sao Paulo, I can't wait to start working there.

12 older entries...

 

henrique certified others as follows:

  • henrique certified timbl as Master
  • henrique certified calderone as Master
  • henrique certified Fyodor as Master
  • henrique certified mjg59 as Master
  • henrique certified lgs as Master
  • henrique certified timj as Master
  • henrique certified kojima as Master
  • henrique certified chalst as Master
  • henrique certified MarkAtwood as Journeyer
  • henrique certified lkcl as Master

Others have certified henrique as follows:

  • badvogato certified henrique as Apprentice
  • chalst certified henrique as Journeyer

[ Certification disabled because you're not logged in. ]

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

X
Share this page