Archive for February, 2008

Easy Way to Create Dynamic Flash Charts

Wednesday, February 27th, 2008

For the Javascript Framework performance comparison I needed a good quality bar chart so I got my Microsoft Excel to do the work (as you can see quite good) however if you need to do some quick changes or to dynamically generate charts the answer is Open Flash Chart. It has a good API including .Net, PHP, Java, Perl and other languages support. Documentation is not great but enough to do your work. I played around with it loading data from .txt file and got the performance chart bellow easily done

You do not have flash installed.

Cool huh !!!

Xedunism is Alive – My Second WordPress Theme

Tuesday, February 26th, 2008

Finally this blog has some decent look. After 2-3 days of coding xhtml/css and playing around with the few graphical elements this theme went public under the name Xedunism – Cheerz! I know it is not very colorful but I wanted a nice, clean and easy to read layout. I hope you like it and if you have any comments please drop me a line 🙂

Legal stuff:

There are still bits and pieces from Kubrick Theme so – http://binarybonsai.com/wordpress/kubrick/

Floral element (top right) comes from – http://ro-stock.deviantart.com/art/Floral-Deco-Brushes-2-54001452

RSS Icons are from the Oxygen Icon Theme – http://www.oxygen-icons.org/

If there are any licenses i have broke please contact me and i will take the needed measures.

Thanks

Dojo vs JQuery vs MooTools vs Prototype Performance Comparison

Sunday, February 24th, 2008

Updated: MooTools vs JQuery vs Prototype vs YUI vs Dojo Comparison Revised

As part of my Mootools lecture at Codecamp I showed a brief speed comparison between the most used Javascript Frameworks running in the major browsers. Now as the Mootools team has extended their performance test tool (slickspeed) it is time to revise my benchmarks and extend them over more browser/platforms.

Test results (Lower is better):

Speed Comparsion Graph

*For example FF (XP-NA) is Firefox 2.0.0.12 with no addons (extensions) enabled running under Windows XP

You can check the actual numbers (in ms) and the full browsers information in the table bellow:

Dojo 1.0.2 JQuery 1.2.3 MooTools 1.2beta2 Prototype 1.6.0.2
Mozilla Firefox 2.0.0.12 – no addons – winxp 128 266 115 259
Mozilla Firefox 2.0.0.12 – winxp 144 290 127 260
Mozilla Firefox 2.0.0.12 – linux 253 438 255 384
Opera 9.26 – winxp 32 136 148 194
Opera 9.26 – linux 110 188 238 364
Internet Explorer 7 – no addons – winxp 263 330 662 1563
Internet Explorer 7 – winxp 264 334 674 1583
Internet Explorer 6 387 600 945 2279
Internet Explorer 6 – linux (wine) 692 978 1310 2616
Safari 3.0.4 Beta 3 – winxp 36 76 84 116
Konqueror – linux 324 450 X X

Conclusions:

  • Safari under Windows XP is really blazing fast
  • Mootools and Prototype JS do not work under Konqueror (KDE’s default browser)
  • Dojo performs great. If we take only these test into consideration it safe to say it is the fastest Javascript Framework
  • Linux browsers are relatively slower against their Windows versions
  • Prototype is insanly slow under Internet Explorer

Disclaimer: This benchmark is somehow subjective because the test results depend on the current OS load and other factors. If you have any corrections or comments on this topic I will gladly review them and will revise the results if needed.

Codecamp Sofia, Bulgaria Coverage

Sunday, February 17th, 2008

On 15-th and 16-th of February in a mountain hut(near Sofia) took place the first CodeCamp meeting in Bulgaria.I took part in it as a speaker and it was great experience for me. Thanks for inviting me!

Organization: Generally we had all we needed for good discussion-based seminar with few areas we can improve:

  • We need a better place because this hut proved as not quite comfortable for living. Also connectivity will be great.
  • For more attendants we will have to think about organized transportation.

Speakers and topics: People were one of kind! Even for me as designer/html-css-javascript-web3.0-geek there was plenty of interesting topics like virtualization, developing .NET applications with Mono and continuous integration with CI Factory. Basically because of the format of the event (a bit less formal with many discussions) it also covered many topics that were not included in the agenda and that made the event so interesting.

People who attended CodeCamp:

Emil Stoychev, Hristo Iliev, Ivaylo Bratoev, Vladimir Dimitrov, Stefan Dobrev, Deian Varchev, Martin Kulov, Jordan Dimitrov, Svetlin Nakov, Peter Velichkov (me), Radi Buhleva 😉

and many other friends (you know who you are)

My topic was introduction to Mootools Javascript Framework and nevertheless that I’m not quite experienced speaker as most of the people there I think it came out very good. In the next couple of days I will translate the slides from Bulgarian and will put here. Also updating and fixing couple of bugs on the site is in the plan too.

You can find more information on Codecamp’s site

It was fun and interesting with lots of knowledge gained. For the next time I wish only warm weather and no accidents

New features expected in KDE4.1

Saturday, February 9th, 2008

Just checked out an interview with Sebastian Kuegler (KDE developer) about the upcoming features in KDE4.1 :

I think the part that most people — just like me — are really looking forward to is an improved Plasma desktop shell. It really is the most visible part of the desktop. The good news here is that Plasma, a relatively young subcommunity within KDE is really alive and kicking. We’ve already been able to fix most of the problems that were still there in 4.0.0, and if we continue to keep the current pace of development, it looks like we have exceeded feature parity in those part with the 3.5 series already by summer.

Then of course, I’m looking forward to KDE-PIM in 4.1. It will make use of the Akonadi storage framework and as such be more stable and usable as the 3.5 series. Then, just recently, Dragon Player has been merged into our 4.1 tree. Dragon Player is a very simple but powerful video player, which of course makes use of Phonon, our new multimedia framework. For non-Linux/UNIX users, 4.1 will also bring the first stable applications to Mac OSX and Windows, which is another very big thing in my eyes.

Other features include more scripting support, newly ported applications (Amarok for example seems to be aiming for a summer release as well), performance improvements all over the place, new plugins for the KWin window manager with its nifty compositing features, and many more.

This really suggests what I expect from the KDE 4 series, new, innovative and really exciting features and improvements at a steady pace. With the KDE 4
series, we’ll simply outperform our proprietary competitors in terms of speed of innovation and user orientation.

More information on this topic can be found on Sebastian’s blog

Full interview link

How-to Install VMware Player / Workstation on 2.6.24 Kernel

Saturday, February 2nd, 2008

Update: If you are looking for patching VMware for Linux 2.6.25 Kernel – check here

Currently latest VMware Player and Workstation do not install under Linux 2.6.24 Kernel. This is a short how-to resolve the gcc/make errors that arise while configuring (vmware-configure.pl)

1. Download the latest vmware player (workstation) – currently VMware Player 2.0.2 Build 59824
url: http://www.vmware.com/download/player/ – Read the Eula before downloading

2. tar xzvf VMware-player-2.0.2-59824.i386.tar.gz

3. cd vmware-player-distrib/

4. ./vmware-install.pl – Proceed as usual when asked to run vmware-config.pl answer NO

5. Download the latest any-any patch – currently vmware-any-any-update-116
url: http://vm…s.googlegroups.com/web/vmware-any-any-update-116.tgz

6. tar xzvf vmware-any-any-update-116.tgz

7. cd vmware-any-any-update116

8. ./runme.pl and when asked to run vmware-config.pl answer YES

9. Configure as usual

10. Enjoy!

PS. Link is broken so I reuploaded on my hosting. Patch is presented as is and I don’t take any responsibility for it. All credits go to the author.

Anyway http://blog.creonfx.com/temp/vmware-any-any-update-116.tgz