Sunday, May 25, 2008

Google Web Toolkit - Out of memory

In case some of you are working on GWT(Google Web Toolkit) using eclipse and you are experiencing out of memory problems during loading or compiling your web apps.

The anser is here...

Under Eclipse on run->open run dialog...

Select GWT Hosted mode application on the side tree and choose prameters tab and comfigure your VM Options with this syntax "-Xmx800m"


in executing the java virtual machine the "-Xmx" means the maximum range of memory and the "800m" means 800MB. Which means increasing the maximum memory upto 800Mega bytes.

Friday, May 16, 2008

GWT(Google Web Toolkit)

I have just finish releasing my first AJAX application. It was cool and perhaps soon I can work more on the content and the structure.

Feel free to check it out: http://wormz.freehoxt.com/EIS.html

Thursday, May 08, 2008

DNS Complete (SMI-Branch)

I am please to announce that I have managed to complete my system after four years in the making. Currently the annex branch of CELCOR(SMI-Palangke) is using my system already. Every single transaction that they made is powered by DNS. Just yesterday, I no longer stay there for maintenance. One more week to make it more mature and we will launch the new system on the main office.

It really feels different whenever you see employees using your system you made all by your self. I could remember the day when John toured me to that place. I was excited because it was challenging but I was more nervous wondering if I could actually do it especially on the part of processing payments.


It’s always been hard work and persistence against all odds that made me complete this task. Here’s how my module look like now:


Another scary part when I visited the SMI was figuring out on how to create a program that will process the transferring of data from SMI to the main office. Once again thank God for the strength and guidance I mange to pull it off. Here’s how it look:

Everyday after 5pm this module will perform the critical task of getting the payments via phone line and transfer it to the main office and process it then transfer it back to the SMI office. The day it run and performs its task was a memorable one. For the longest time in my life I have always wonder how to do it and now I can’t believe that I manage to create one.

I am hoping that within this year everything will run.

Microsoft to show new search tech

I was reading an article about Microsoft new technologies and it says:

"Microsoft hopes to back up its refrain that it has a plan to catch Google by showing off some improvements to its Live Search product at a company-sponsored advertising conference later this month..."

Read more here

While reading the article I was about to believe in them because they have just withdrawn their bid on Yahoo! and decided to take things on their own to beat Google. However, at the end of the story one comment changes everything and it says:

"Once again we are on the Microsoft roundabout. Promising the next big thing in search or the next big thing in computing. Meanwhile, their competitors deliver the goods without the hype. People use Google for a reason, it delivers. Microsoft promises to deliver and simply continues to fail."

Honestly, It's so true! Maybe Microsoft should stop talking those hype and deliver.

Saturday, April 12, 2008

Free WIFI

Wow WIFI is going mainstream in our place as more coffee shop are being open now.

Thank God its free hehehe

Sunday, March 09, 2008

JDTS Database Connectivity

I finally manage to connect my Java program to MS SQL Server 2000 using JDBC JDTS after 11 hours of understanding how to connect and configure things. I guess that’s the beauty of OpenSource tools you have to dedicate most of your time in learning things but I am pretty much sure after this painful learning curve things will get smooth.

Here is the Simple Code:

import java.sql.*;

public class NewApplication {

public static void main(String[] args){
Connection conn;
try{

Class.forName("net.sourceforge.jtds.jdbc.Driver");
conn = DriverManager.getConnection("jdbc:jtds:sqlserver://ADVENT/DNS;user=mark;password=mark;namedPipe=true");
System.out.println("Successfully connected");
conn.close();
}
catch(Exception e){
System.err.println("Unable to connect");
e.printStackTrace();
System.exit(1);
}


}
}



Though I can search a lot of this code around the net most of it won't work. I've tried it. The one piece missing on their code is this:

namedPipe=true

Without it no matter how many times I tried to connect it will always refuse.

I used to hate curly braces but now things are getting better for me.

Wednesday, February 06, 2008

Unleashing the web through Facebook

I have been so curious about what’s with the facebook and what makes it different against all other social sites that are up right now? The answer is Facebook Platform.

I do believe that soon Facebook will be the next web OS in the coming years to come as long as they keep on track with what they are doing. Using Facebook today is pretty quite confusing but it’s pretty much obvious that their strategy is really strong. If they can work things the right way and execute things fast enough it will be a hit in the long run.

Google must learn to market their new products beyond search and prioritize their strategy as Facebook and Microsoft charging their way to eat their source of revenue which is the advertisement.

Watch the Video: http://developers.facebook.com/videos.php to better understand why.

Tuesday, January 22, 2008

DNS Implementation

I do believe that what I’m doing right now in my project is suicidal. It took me 4 years to build the project and last January 2, 2008 my system kick off. It lasted for only 4 days and right after that insane experience I was never the same again.

It almost took my life due to stress but I manage to execute plan B (Back to Old System) at the right time. The experience I had really proves to me the existence of God.

In technical details I do believe that the failures I had during those time was the lack of user’s cooperation on providing me the complete details on how things work. It’s really hard to build something where you start from scratch and you don’t have any clue on how the company system works. You have to look for problems, solve the problems and train the users on the module you made.

What choice do I have? Building something big like corporate system takes time and there are no shortcuts especially when you are just starting.

The experience I had provide me a clear view on how their overall system works and what are the flaws on my system. Right now three important lessons I have realize during my most difficult situation and those are: Analysis, discipline, and hard work.

Analysis is still the most vital part in any software development.
Discipline will dictate the result of your system.
Hard Work will put you somewhere where you have never been before.

I’m planning for another implementation this coming February 2008 and hopefully things will be better as compared before.

Thoughts on Sun’s billion dollar MySQL

I bet Microsoft is pretty much scared with this big news. 2008 will be a very interesting year to watch as Sun become more and more competitive than ever before. The combination of Sun, Linux and the OpenSource community will become main stream as they compete with Microsoft and other vendors. Choices from servers, operating system, systems development and web are very much laid right before our eyes.

With Sun's investment on MySQL the future is bright to those who aspire in choosing alternatives to license software.

Sun is still very much committed in providing support and innovation to other database such as Prostgre, Oracle, DB2 and Microsoft SQL Server.

Now for technical people who seek for alternatives that will provide the most low cost tools for their server and development has just gets better. Sun has now become the center for providing solution. Sun has been selling servers for years now and the combination of their server, Solaris, MySQL and NetBeans will be a stronger competitor in the coming years.

Truly, Sun understands the drive of technical innovation of being free.