Name: Octavi Ripollés
Member since: 2005-12-09 22:48:20
Last Login: 2009-07-02 09:08:46

Homepage: www.geocities.com/octaviripolles

Notes:

Hi there!
I'm from Barcelona, Catalonia. Now I'm about to finish ETIS (Computer Science Degree) at UB. Some of the teachers I ha(d/ve) are too at advogato, see fxn and cerquide.

I work on a small business where we make the final adaptations on Logic Class to fit Logic Control customers' needs.

Some of my hobbies are cycling, climbing (now a bit forgotten, but I will return...) and all related to railroads, specially old trains running as historical. Of course I enjoy playing with computers, gaming or programming :)

Feel free to contact me at moc.liamg>ta

Recent blog entries by orique

20 Feb 2006 (updated 20 Feb 2006 at 20:28 UTC) »

Back to the University
The last crusade :P

After the exams period, I'm back to the University. I hope that's my last semester, at least as an ETIS student. Now I'm learning Network Programming and Data Structures.

$here and $there

That returns true. I finish working at 2 pm and Tuesday, Wednesday and Thursday I start classes at 3'10 or 3'15 pm, so some days I arrive late at class...

DFP (or Degree Final Project)

Finally I earned enough credits to ask for a Degree Final Project. I have chosen Automatic java swing form generator using APT and reflexion technics, but until this Friday I won't know if I can do it. Other choices (we can request up to 5 DFP's) were Online Shop implementation with J2EE, Project Time Manager Distributed Application, Game for Symbian systems and Bidimensional and multiplatform game development

Didn't pass it
Yesterday was published the qualifications list for "Ampliació de Bases de Dades" (databases subject at UB). I knew it wasn't my best exam, but at least I expected to pass it.

Never expect.

Next Monday I'm going to an interview with the teacher, at least to know where I failed. Moreover, it's curious I passed the Communications & Networks exam, which supposedly was harder than the other.

Work
This week they made a mistake paying a supplier's invoice to me!... but I'm honest and I returned them all the money. I was rich for some days, now I'm poor back :P

However, today hasn't been a nice day at work.

J2ME
I bought a little guidebook to learn the basics of J2ME (Java for mobile devices) programming; right now just for fun, but it's a very interesting area and I think I could use it professionally in a future.

From this newspaper printed edition:

Darkness is faster than light. When light arrives somewhere darkness was already there.

19 Dec 2005 (updated 19 Dec 2005 at 22:33 UTC) »
Firefox random redirects

salmoni, I have a similar issue with Firefox. If I misspell a web address e.g. http://http://www.google.com Firefox takes me to El País (spanish newspaper). Other people got redirected to Microsoft's website (!). I wonder why it's happening this. I thought that could be somewhat related with cache pages, but I had never visited El País before!

(This line has been added some hours later) sneakums, thanks for your reply :)

17 Dec 2005 (updated 17 Dec 2005 at 18:27 UTC) »

Getting usergroup in PostgreSQL
I'm building with a classmate a console application (written in Java) which connects to a PostgreSQL database.

Eventually we wanted to know in which user group was the user trying to connect to the database. Looking for some information about this, we found there's a table called pg_group where for each group we have a field with users' id (grolist). Then the problem was to know where a concrete id was present. We thought grolist was a plain string, so we had to code a StringTokenizer to get the id's, and then test if it was the one wanted. That resulted in an ugly, unefficient code which I wanted to rewrite.

Fortunately, we misunderstood the type of data stored in the field grolist. It's an array of id's instead a string. So, and after visiting this page :P, I finally could solve our problem like follows:

private static void setGroup() throws SQLException {

ResultSet rs2;
String myGroup,query;

query = "SELECT groname FROM pg_group WHERE "+idUser+" = ANY(grolist);";

rs2 = DBConnection.execQuery(query);
rs2.next();

myGroup = rs2.getString(1);

...
}

4 older entries...

 

orique certified others as follows:

  • orique certified orique as Apprentice
  • orique certified esteve as Journeyer
  • orique certified salmoni as Journeyer
  • orique certified sneakums as Journeyer

Others have certified orique as follows:

  • orique certified orique as Apprentice
  • Omnifarious certified orique as Apprentice
  • fxn certified orique as Apprentice
  • halcy0n certified orique as Apprentice
  • esteve certified orique as Apprentice

[ 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