Only Firefox 3 handles Javascript menace well
By: oever29
Jul
After visiting a really nice collection of exhibit gardens, I decided to make an application to see how different plants are related by making a phylogentic tree generating webpage.
For many groups of species, the familiar relationships have been examined very well, but for the combination of arbitrary species, you have to rely on taxonomic data for now. A convenient resource for getting at this data is NCBI taxonomy (ftp). This data unfortunately has no timeline distance between the branch points, but it's nice enough for starters.
For implementing the website I do not want to rely on server-side scripts. So the page will have to process the data via javascript. The current development version has a 12 Mb JSON file. This is the minimal amount of data for working on a tree with all species listed by NCBI.
And this is where the problems start. Because javascript is not the most efficient language for doing this. And the current version of the page is very heavy for all browsers. In fact, Firefox 3 is the only browser that can load the page in a decent amount of time (8 seconds on a 1.1 Ghz machine). Konqueror 3 keeps asking me if I really want to continue running the script. Konqueror 4 crashes. Opera 9.5 is less than least half as fast as Firefox. So perhaps this page can be used as a nice torture test for javascript developers.
To use the page, type latin species names in the text box and press enter. This way you can build up a tree. It's not user friendly at all. I'm still making a more nicer version with links and pictures.
- oever's blog
- 3 comments
- Read more
- 1589 reads
State of Kross in KDE4
By: dipesh8
Jan
Kross, the scripting framework, is one of the pillars new with KDE4. While the project started already a while back in 2004 it enveloped over the time to a rather big codebase. During the KDE4-process one of the main-goals was to decrease the codebase what can be even more difficult then writting new code.
- dipesh's blog
- Login or register to post comments
- Read more
- 4068 reads
SuperKaramba with JavaScript
By: dipesh13
May
Once in a while we had an interesting pool about the Preferred Scripting Language where the result showed something of a concensus that Python and Ruby are the primary preferred scripting languages (from within those small list of possibilities the pool offered).
- dipesh's blog
- 2 comments
- Read more
- 1455 reads
Progress
By: geiseri13
Aug
Well I got in a few good nights of hacking on KJSEmbed and am getting back up to speed again. Last night I fixed a big problem rich was having in the scribble demo.
- geiseri's blog
- Login or register to post comments
- Read more
- 744 reads
KJSEmbed 4, small steps
By: rich29
Mar
I finally got some time to spend on KDE last weekend, so on Sunday I started working on a new binding generator for KJSEmbed on Qt 4. In the KDE 3 version I used Doxygen to generate XML output then processed that with XSLT (using xsltproc) to produce the C++ code for the bindings. Unfortunately this provded to be a bit too inflexible, and difficult for other developers (who weren't familiar with XSLT) to work on. The new code uses KJSEmbed's DOM bindings to process the Doxygen output and seems to be a lot easier to work with - [mX] was making improvements within a few hours of the first commits. This also means we might be able to make the bindings self-hosted in KDE 4 which would be nice.
When I get a bit more time (this weekend hopefully!) I plan to try to get this code pushed a bit further - thanks to [mX] it can already mostly do value types, just objects and scalars to go!
- rich's blog
- Login or register to post comments
- Read more
- 501 reads
Status of KJSEv4
By: geiseri1
Jun
Oh man, these last few weeks have been rough. I got a new toy, but that is an entirely different blog all together. So here is the lowdown on what I got working with KSJEmbed in the last few weeks:
- geiseri's blog
- Login or register to post comments
- Read more
- 663 reads
KJSEmbed takes wings...
By: geiseri1
May
So over the last few weeks I have started work on the new KJSEmbed that will be in KDE 4. In a change of heart that is an entirely different blog all together I have decided that I will push to have KJSEmbed in the core of KDE 4.
- geiseri's blog
- 4 comments
- Read more
- 483 reads
Preparing for Qt4
By: rich26
Mar
I've started looking into porting KJSEmbed to Qt 4. To begin with, I've recreated most of the Q_CLASSINFO demo I posted recently using the Qt 4 equivalents. Listing the slots of an object is even easier than before, as is finding a marker interface:
- rich's blog
- 7 comments
- Read more
- 503 reads