November 2006 - Posts

I just noticed that more and more students are trying not to do their own homeworks/projects and use TPC as a place where they could get someone to do their work for them. Some people are also making these students their bread and butter which I think... Is wrong... This is degrading the Filipino image and I think more and more students are losing interest in programming because they know that they could just pay someone to do their programming homework/project for them.

I think that the site administrators should do something about this.
Posted by lamia | 23 comment(s)
Filed under: ,
While searching the web I came across this Javascript mario clone. I think people are really getting a little out of their mind to even think of doing this! Have fun! :)


http://www.janis.or.jp/users/segabito/JavaScriptMaryo.html








Posted by lamia | with no comments
Filed under:
I feel very frustrated at this point. Writing an Ajax application(the right way) is harder than I thought. It would seem that to be able to use the design patterns I knew in Java to javascript, I really have to become a master of javascript. I guess this could take sometime. The TipidPC clone I was writing a few months ago actually ground into a halth since I didn't have much time to do it and I have poured more interest on the game I'm trying to make.

Well, until I get my pawned laptop back, I will have to wait and carefully plan everything for the next revision of the TPC clone app. Things I want to include are

- A Java framework(oh please, not struts) so while learning a new framework I will be creating the app also.
- Hibernate, also to learn and create at the same time
- AJAX to get me comfortable in writing AJAX applications

I don't know. But I might change my mind and write a completely different app. One that is unique. But then, writing an already existing app might be favorable because I only have to focus on the design(architecture) and technologies I have to learn.

Posted by lamia | 3 comment(s)
Filed under:
Hmmmm... I never had any project that relates to swing/awt and I crave so much for those. I decided to try out NetBeans IDE 5.5, I'm following an article netbeans themselves provided. Here's the link.

http://www.netbeans.org/kb/articles/form_getstart40.html


Well... It's not like it's my first time trying out the IDE. We already used this on my first company but I never had the chance to explore it. I have to say it's really really really good. I tried to benchmark the RAM used by the IDE and it seems to eat approximately 153 MB of RAM. It all depends on what you're doing.

There's a lot of things you hav to familliarize yourself with. Although I came from a VB background (I know what you want to say, eeewwww!) and Strong(ehem) OOP background and (Ehem) Java background I still found myself lost for a llittle while there. I think it took me about 10 minutes to actually get comfortable, albeit not so with the IDE. I kinda hate the way Netbeans restricted me on cleaning up my code such as this one...

1
2
3
4
5
6
7
8
9
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                         
if (currentColor == java.awt.Color.lightGray)
currentColor = java.awt.Color.gray;
else if (currentColor == java.awt.Color.gray)
currentColor = java.awt.Color.black;
else
currentColor = java.awt.Color.lightGray;
jLabel1.setBackground (currentColor);
}


which I wanted written as

1
2
3
4
5
6
7
8
9
10
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) 
{
if (currentColor == java.awt.Color.lightGray)
currentColor = java.awt.Color.gray;
else if (currentColor == java.awt.Color.gray)
currentColor = java.awt.Color.black;
else
currentColor = java.awt.Color.lightGray;
jLabel1.setBackground (currentColor);
}

Netbeans just won't allow me to edit some of its auto-generated code... There must be an option somewhere that disables this...

In the end of the day I'm still one happy coder having learned something. Hmmm... Not so new... Here are some screencaps...

Souce code editing




Design View and Running with the app running(at the center)




Design view with pallete window. I was also dragging a JButton(mouse not visible)





And the properties window



Posted by lamia | 5 comment(s)
Filed under:
I think cruizer and I were discussing this in one thread in TipidPC.com. For those who still have doubts wether Java is opensource or not and for those who need motivation on why to stay or go with the Java flow. Here's a link for an interview with James Gosling.
Posted by lamia | 2 comment(s)
Filed under:
It's been a very boring day... While I'm asynchronously learning and reading stuff about AJAX and game development(C/C++), a new project was given to us. This one would include flash remoting. From what I think, it's similar to Java RMI(this is a hypothesis). Although, I'm not entirely sure because this is a field in Java which I haven't touched.

I'm taking a look at openAMF which is a port of AMF-PHP. It's an alternative to Macromedia's flash remoting services. And I just hope we could manage to learn this quick. I'm a little unconfident because I've never done anything related to remoting, web services, etc...


RESOURCES

Some notes about using OpenAMF

Hello World with Openamf

Posted by lamia | with no comments
Filed under: ,
I've been so busy again lately. There's hardly a time to blog because sometimes, I would rather spend my time reading than writing. But today I guess It's time to go and share something useful. While surfing gamedev.net's forum, I come to encounter this link

http://www.jasonlam604.com/books.php



Jason Lam offers a free J2ME book. No need to feel guilty about having an illegal copy anymore because this one is free! It's still under development though but I really think it's a good book he's making since you'll rarely find a decent book in J2ME that covered games. Especially shooting games! Yeheeeey! Now download that book for your mother's sake!
Posted by lamia | 8 comment(s)
Filed under: ,