Archive for the ‘ News ’ Category

median values and collection type in oracle 9i

During that process, I had to get Median values out of it. With oracle9 gettign median value is so easy. However, once I had to deal with oracle8 in the first stage of the development process and oracle8 didn’t have the built in function.

Anyways, here’s oracle 9 approach to get median value in basic form:

SELECT
percentile_cont(0.5) within group (order by a.”Setup Duration” ASC)
from
studysetup_metric;

See? It’s that simple.

One another thing I had to deal with was that string value passing from asp.net to oracle procedure. Actually it’s related to string length limitation in sql statement in oracle.(I’m not sure whether it applies to another sql..)

Usually string is passed from asp.net, it is stored in one of variables in oracle stored procedure. The variable is used in sql statement within the procedure. But the string length of the variable that is used in sql is limited to somewhere 255 as I recall(but I’m not 100% sure.. please look for the information on internet for accuracy). What if string values are longer than what’s supposed to be. In this case, you would want to use collection type instead. I’ll write this about collection type and where-in sometimes later…

to be continued…

No components in ActionScript project??

I downloaded the alpha version of flex builder yesterday and played a bit. Drawing is fine, APIs are good, and I’m glad that it has real language feels on as3.

Anyways, somehow I couldn’t add components in mx.controls package to the stage. Why? Drawing button shape in the class file is fine, but mx.controls.Button was’t added… It reminds me of which in flash I would need a component placed in the library in order to add component to the stage using actionscript. Anyone has the answer to this?

macromedia lab

Macromedia opened a whole new site for pre-released applications, code samples and best practicies, documentations, etc.

I think this is a great move for both developer community and company. Cheers!

“http://labs.macromedia.com/about/”:http://labs.macromedia.com/about/

Ajax webmail – roundcube

Here is another webclient application using Ajax.

“http://www.roundcube.net/”:http://www.roundcube.net/

This blows away current gmail and once-attempted-flash-client-webmail application. That is great to see RIA starting to appear. For web application like that, AJax fits to the category as a proper technology. Why is it good(better)? My reason is obvious.

PERFORMANCE!
Read more

Flex2 and Flash player 8.5 on the way

Macromedia released a note that Flex2 and Flash player 8.5 are on the horizon. In the summary of what they released:

Flash player 8.5 – ActionScript 3!!! with ECMAScript specifications.

Flex Framework 2 – not sure what’s included

Flex Builder 2 – previsouly code-named Zorn. For those who don’t have background of this Zorn, this IDE is based on Eclipse.

Note that all new product line will be available sometime first half of 2006.

“Read more?”:http://www.macromedia.com/macromedia/proom/pr/2005/announcing_flex2.html

Interesting Interesting gOOify!

“http://www.gskinner.com/blog/archives/2005/10/flash_8_gooify.html”:http://www.gskinner.com/blog/archives/2005/10/flash_8_gooify.html

Very interesting approach done by GSkinner. Guy watson’s approach was awesome, but this new goofier thing blows me away. that tells you how incredible things you can do with flash 8! I should’ve learnt things like that instead of doing boring enterprise development work… sigh..

ajax with Java ????

AJax? ??? tutorial?

Ajax Tutorial 1
Ajax Tutorial 2

Microsoft Max

Microsoft?? Photo??? ?? Max?? ??? ??????? ????. “http://www.microsoft.com/max/”:http://www.microsoft.com/max/

??? ??? ?? ??? ??? WinFX? ?????? ??. MAX? ?? ??? ???? ?????? ???? ?? ? ? ??.

flash 8: pixel? rgb?? ??


px = bitmap.getPixel(x,y);

r = px >> 16 & 0xff; // red??

g = px >> 8 & 0xff; // green??

b = px >> 0xff; // blue??

br = Math.sqrt(r*r + g*g + b*b); // brightness ??

google’s portal

“http://www.google.com/ig”:http://www.google.com/ig

?? ?? ??? ??? ??? ???? personalized page? ??? ? ??. ???? ?? gmail????? ?? ??. ?? ???? ???? ?? ???? ?? ??? ??, ?? ??? ??? xml-rss? ???? ??? ??.

??? ??? ???? ? personalized page? ? ??? ? ???? ???? ??? ???? ??? ??? ??? ???? ? ???? ??? ??.