February 2007 - Posts

0
Comments

Dynamic Memory Allocation in C++ by lamia

Ever wondered how you can create a resizable array in C/C++? I will not be discussing the C stuff here since I'm not at all that good in C. So let's try to take a look on how to make dynamic memory allocation in C++. 1 2 3 4 5 6 7 8 9 10 11 class MyClass...
Filed under:
1
Comments

Job Browsing is Knowledge/Skill Updating by lamia

Almost every, I would open my business e-mail (the one I use in my resumes) and browse through jobstreet. I don't mind doing this all the time since I'm mostly interested on the current requirements of other companies rather than the companies themselves...
Filed under:
1
Comments

Review Strategy for SCJP by lamia

It's February. And unless I run out of budget or our client brings up another killer request, nothing's gonna stop me from taking the SCJP 1.5 this coming March. I feel a little down when I scored low(actually, failed) on the examulator mock exam (trial...
Filed under: ,
2
Comments

How to use $_GET in your included files by lamia

I'm used to doing just <c:import url="/viewaccount.do?id=${account.accountId}"/> in JSP. So when I was asked to make a simple PHP script I thought the same thing was possible in PHP using the include() command. I was wrong though and thought of...
Filed under:
0
Comments

J2ME Programming tips by lamia

Since I'm mostly exposed to enterprise development(or not-so-enterprise) I deal mostly with how an application would scale. This left me wondering how everything is done in Java 2 Micro Edition or J2ME which is the mobile platform for Java. I remember...
Filed under: ,
11
Comments

The evil short open tag in php by lamia

Our client asked for a short portion of their php code to be modified. Since I'm a Java guy and so is my team lead, we asked our new developer (web developer) to do the dirty stuff for us. Good, he was able to finish quick. But then, when I tested the...
Filed under:
4
Comments

The curse of char* by lamia

Whew! Finally I was able to solve the bug I was tring to fix in my game. To explain briefly, I have an std::map<char*, BITMAP*> which is a static member of a class. Now, I have a Manager class which loads resources that somehow looked like this...
Filed under: