Archive

Author Archive

Japanese Comedy

June 20th, 2007 No comments

Categories: Fun Stuffs Tags:

Announcement! BST and Merge Sort are broken!

June 20th, 2007 No comments

Believe it or not! it like what the title says!.. I was shocked today when our Teaching Assistance on Algorithms class said that the binary search tree algorithm we are using for decades has a bug found last year!

Recall this: mid = (low + high) / 2;

Its part of many algorithms, for few decades we were using this line of code on our programming lines and algorithms. Unfortunately, many programmers had missed this mistake. The bug is when you add both integers together and resulted an integer value higher than the max possible values of integer, the value becomes a negative value!

More information click here!

Categories: Programming Tags:

Interview about the new flash player video enhancement

June 15th, 2007 No comments

OnFlex realeases a new video interviews Tinic Uro, a flash player engineering working with flash player team. Click here to watch the video.

Adobe Apollo is officially AIR

June 14th, 2007 No comments

In last few days, Adobe announced that Apollo is now named AIR which stands for Adobe Integrated Runtime. At the same time, Adobe released a beta version of AIR.

On the other hand, Adobe has released flash player update. You can read about the update here.

What is RSS? asking the public

June 14th, 2007 No comments

College Saga

June 2nd, 2007 No comments

You’ll love it if you like Final Fantasy games. One of my favorite videos on the web… Enjoy!

Categories: Fun Stuffs Tags:

What is web 2.0? asking people

June 1st, 2007 No comments

LOLCODE… A birth of a new programming language

May 30th, 2007 No comments

“Programming the LOL way. All LOLCats, LOL, ALL CAPS”

I found this from Marco Casario blog and I would like to share it.
LOLCODE.. ever heared of it? Its a new programming laguage which codes are written in a funny way. I think its a nice idea to start such a language. The language is still at the early stages, maybe you should visite the website to support them or/and contribute if you want :).

Categories: Programming Tags:

Flashdevelop 3.0 alpha released!

May 30th, 2007 No comments

Flashdevelop is an IDE to write AS2 and AS3 codes. It is a complete open source development environment. For more information click here and to download it click here.

Project I have been working on.. Charting: part #1

May 30th, 2007 No comments

I have been working on some projects lately for my classes and others for money. One of the project I was doing is a web based program for senior students project on Petruleom Engineering department. The goal of the program is to find how long the oil will last in Kuwait. In addition, the program should find the maximum production and the year of maximum production.

So far it seems easy, but the hard part is coming.. drawing the chart!. Okay, that sounds easy for me at the begining, but after thinking for awhile I realize that will consume time. I start by looking for an open source of a chart program. Searching for over 12hours for charting program on JAVA or ActionScript. All I can find are the ones you have to pay ALOT of money just to make one. Therefore, I decided to make the charting program from scratch.

Adobe Flash’s Actionscript 2 was the language I decided to use for the program. The reason is because I’m going to make the program a web based program which loads on a webpage and works there. Java was my second option because first I’m more experienced on ActionScript than Java, and second because I didn’t have much time to waste on a language I’m less experienced in since final exam was close.

The first kind of graph/chart needed is “scattered xy” with a linear regression line. Arrghh, looking for linear regression equation really exhausted me because I was using the wrong term when searching for it for many hours. I’ll take about it in details in coming posts.

The second kind of the chart is scattered xy with nonlinear regression curve. But I won’t figure out this curve’s equation, I’ll just use the given data to draw the curve. Its almost the same as the first graph idea in coding, just needed to include few more stuffs.