Archive

Archive for August, 2009

PaperVision3D and JigLib

August 31st, 2009 1 comment

I experiemented with PaperVision3D and JigLib last week. Since JigLib had a plugin specifically designed for PaperVision3D, making the two work together was a breeze. The only thing that really bothered me is the fact that when I applied a force on a body, it rolled instead of gliding smoothly along the surface. I’m used to 2D physics engines, so that was unexpected for me.

I found that the documentation for JigLib was pretty limited. There is only an API without any explanation as to what the methods do and a few tutorials. Oh yes, and my physics knowledge is limited, so many terms don’t mean much to me.

I spent sleepless nights in the source code, trying to figure out what everything does by myself (since nobody answered my e-mails). I stumbled upon a very nice class named “JConfig”. This was the jackpot. It had a nice property “limitAngVelocities”, which was set to 10. I set it to 0 and voilà! My objects glided nicely along the surface, colliding with each other, maintaining their initial rotation.

I hope that this will save some sleepless nights to others.

Tags: , ,

Gender in IT, a Different View

August 15th, 2009 20 comments

I try to keep my blog tech-only, but I couldn’t resist.

I read a post by Elizabeth Naramore yesterday about gender in IT

There are so many thoughts that I just couldn’t explain in a single comment on her blog, so I decided to write an article about it. Before you read it, know that my intention is simply to share my own point of view. I don’t have many facts to back up my claims. I’m just an observer. Know that I might be very harsh in my opinions, but I mean no disrespect to anyone. Feel free to disagree with me.

Discrimination

Being the only female developer in every single job, I have not personally experienced any discrimination related to my gender, nor do I know another woman who can give me a concrete example of her experiencing discrimination. I’m starting to believe that it’s an urban legend. Nobody ever saw it, except in the movies, and people keep saying it exists because everybody else is saying it. If you ever experienced such discrimination, by all means, tell me!

Are women really paid less than men? I remember being better paid than most men for an equivalent position in certain companies. Will someone promote a man rather than a woman simply because of gender? I never encountered such a problem. In fact, I don’t remember a single man get a promotion before me. A manager has no interest in promoting a man who has less skills than a woman. If he does that, then he doesn’t understand the concept of return on investment. If you think otherwise, let me know!

What about sexists remarks? I can’t remember a single remark that I deemed offensive towards my gender. I actually find myself making comments such as “these women can’t drive” and “these men drink so much”. Some stereotypes are true, others are not. In any case, stereotypes should not be considered offensive. When he yells to me “go home and wash your dishes” after almost running me over while he has a red light and I’m carrying a baby, I’ll get offended. But this is extreme and doesn’t happen in a work environment.

Read more…

Tags:

doctrine:insert-sql for MAMP users

August 10th, 2009 3 comments

One of my computers has MAMP installed. I was trying to build a database schema from a YAML file. When time came to insert the SQL using…

>php symfony doctrine:insert-sql

the following error message appeared:

>Couldn’t locate driver named mysql

MySQL worked fine on this computer for many years so a missing driver was out of the question. After some thinking I realized that the command “php” actually refers to OS X version of php and not the one that ships with MAMP. Since I was too lazy to properly configure the extensions for the OS X version, I simply pointed the “php” command to the MAMP version using the following line:

>alias php=’/Applications/MAMP/bin/php5/bin/php’

I ran the symfony command again and it worked perfectly!