Archive for May, 2006

PHP and MySql

Finally, my simple insert call to MySQL using PHP worked.

Insert_success_1

Working with open-source software could be too much of a headache.  These are some of the  things I did to make this work.  Posting this here to remind me and maybe help out anyone who might encounter the same problems.

1) Placed c:\php in the Path environment variable.
2) Uncomment also the extension php_mysql.dll in php.ini (not only php_mysqli.dll)
3) Restarted the PC (some weird error came out when loading the dll)

Also, I downloaded and installed phpBB 2.0.20.  It has a very critical bug.  An error occurs when Accept is clicked during Registration.  Maybe this is a degrade from the previous version since this is just a new bug dated Wed May 10, 2006 12:14 pm.  Here’s the link:

http://www.phpbb.com/bugs/viewreport.php?b=1790&sid=2cc00fc67c57c39c847404420056767e

Open-source softwares need a lot of improvement in both documentation and quality assurance.  Maybe some open-source developers are just too lazy/busy to document and test their work.  Or maybe that’s is just how open-source works.  They code and we, the end users, test. :)

Aside from those problems, they work great. :)

Courtesy on the Train

The trains in the Tokyo area are always busy and sometimes even jam-packed.
It’s almost crazy when you think there’s no more space, another jap comes in and just shove and squeeze his way in too the pack.  then another comes again, then another.. Some japs just don’t know when it’s enough (just like in the workplace).

My problem is, since it’s too crowdy, I cannot take a seat.  Not that there’s no available seat.  It’s because there may be an elderly who will ride and will find no seat.  What really annoys me is when a young jap comes in and sits on the seat where I was supposed to be.  If only I know how to say in japanese "hey, I didn’t sit there so you could sit there, you a-hole!"

Also, I’m just wondering right now why there should be a designated priority seat.  Aren’t all seats supposed to be priority seats?  Is courtesy in the train just limited to four little corners?

Web Noob

I’ve found a new hobby now called web design.  Being a noob in this side of the programming world, I was surprised IE and Firefox does not render an html and css code in the same way.  What ever happened to the standards??  The one I’m making right now really looks ugly in IE.  Some parts also keeps on disappearing once I hover on a link

I’ve spent so many hours figuring out what is wrong with my html and css code.  I finally gave up and had to google it.

Searched "css problem in internet explorer"
Results 29,100,000.

Ie_bug

Does Google have a grudge against Microsoft?
I know I have one.  Why don’t they create a patch for these css problems?

Better yet, why don’t we all just use Firefox as our web browser?

The Owl

I’m getting really nocturnal recently.  When I think of 2am, I think "it’s still ealry.  anyway, i slept 3am last night".  This must be because of those senseless OT.  Oh well, time to break this nasty habit.  Time to hit the sack.

Dsc00125

Really depressing…

Working 12 to 16 hours a day (usually incl. weekends) really sucks.  I’m not gonna last too long in this job at this rate.  Especially when I think I could be at home sleeping, surfing, designing, playing, and just basically doing what I want to do.

As Ron once said, we are just "Corporate slaves".  Tiny little ants working day and night to feed the company to make the already rich stockholders even more richer.

Now some companies try to eliminate this notion of "Corporate slavery" by giving company stocks to its hard-working ants.  If the ants work extra hard, they get their tiny share of the fruits of their labor.

Unfortunately for most of us ants,  we just get the OT pay.

I therefore propose there be a law that requires all companies to share its profits to its employee…

Or maybe i’ll just find another job.. :)

I think it’s funny..

Some people will do anything just to get what they want… Like this guy here..

http://www.avirginsplea.com

I think it’s a little funny and very pathetic.  I wonder how he got all that hits.  Probably from blogs like this.  And to think I’m helping him.  :p

At least I found some interesting site there.  http://www.gossipand.com

Almost the beginning..

I was about to purchase a domain name together w/ a web hosting package when I realized my credit card is already expired.

Dsc00123_1

Seems like i’ll have to wait for my next card to start my dreams of world domination.

On the good side, this means more time to plan ahead and be better prepared.

And also more dota games.  You punks from sg! I won’t be a noob for too long! Watch out for gaidinX!

Goodbye Y9,975.00! Hello ixy400!

I went to Shinjuku yesterday to have my camera repaired.  It was my first time to see what’s outside the Shinjuku station.

Now the first thing to do would be to find the Canon repair center.  I wrote down the address and kept a map in my cellphone.  Problem is I’m no good in reading maps.  Fortunately, I found the place by asking around (just two times :)) 

Once inside, I was surprised to see it was rather busy.  There were also no English instructions.  Good thing some girl staff helped me out to get the priority number.  I was expecting the camera will be fixed by next week.  Surprise again! It would be fix at 2:30pm (It was 12noon at that time).  Wow, only 2 and a half hours! Really fast considering there was a continuous stream of broken cameras and printers coming in.

So, off I went to Akihabara to burn the 2.5 hours.  I bought a CPU heatsink/fan for my PC.  It’s an Artic Cooling Freezer Pro 7.

117_1763_large

At 2:45pm, I was back at the Canon repair center in Shinjuku.  The camera is now fixed and the bill is on the table.

117_1759_large_1

So that’s goodbye to Y9,975.00! welcome back ixy400!

Dsc00122_large_4

was it worth repairing? or was it better if i’d just bought a new camera?
what do you think?