Sep 01 2008

Predictable Binary Representation (PBR)

Published by Kefah Issa under General

XML is nice, YAML and JSON are cool, proprietary formats for binary encapsulation are not good; those are all facts that many people agree to.

But they all the good solutions remain sub-optimal when it comes to network bandwidth overhead and cpu usage needed to parse the blob every time.

This might have, and should have been considered long time ago. I didn’t find any open format to cover it however, hence I’m suggesting one…

Features

The following needs are not addressed by those data representation formats, but are by PBR :

1. Supporting Binary content. You need to revert to Base64 or the like to do this. but its not natively supported.
2. Completly Predictable (so no guess work in parsing). I don’t want to waste cpu cycles and logic to parse the content in an unpredicable manner. I want to be able to exactly tell what the next step a head and how much data I need to manage.
3. No escaping. I really don’t like escaping. I want to be able to put my content AS IS ™.
4. Reliable : Checksum. Thats a cool addition that will make me confident of my data.

Continue Reading »

One response so far

Jul 16 2008

Groovy with SQLite

Published by Kefah Issa under Grails, groovy

SQLite is a very interesting database engine. Its performance, simplicity and that fact it runs as a library (not a server) make it the perfect candidate for small project with few users.

Today I experimented with accessing SQLite database from within groovy.

Continue Reading »

4 responses so far

Jul 16 2008

QT for GNOME

Published by Kefah Issa under Fedora 9, General

I feel very strongly about the historical opportunity for the GNOME community to switch their tool kit over to QT 4.x. GNOME was originally a fork of effort from KDE back in the old days when QT was not GPL-enabled.

Continue Reading »

No responses yet

Jul 12 2008

Weaving Groovy Threads

Published by Kefah Issa under groovy

Could writing threads be easier than this? I wonder. :)
Continue Reading »

No responses yet

Jul 12 2008

Groovy Introspection, know what you have

Published by Kefah Issa under groovy

Lots of fun with Groovy introspection. Java already provides something similar but in Groovy it has completely different taste and use.

I actually use introspection often from within groovysh to investigate on what a class provides, just like auto-complete in modern IDE’s :)

Continue Reading »

One response so far

Jul 07 2008

Databases with Groovy

Published by Kefah Issa under groovy

GORM is cool, but groovy Sql is for the simpler cases were you just need to interact with the database.
Continue Reading »

No responses yet

Jul 07 2008

Groovy Simple Templates

Published by Kefah Issa under groovy

Dynamic text templates are joy to do in groovy.
Continue Reading »

No responses yet

Jul 05 2008

The wars are over, let the era of peace and prosperty begin!

Published by Kefah Issa under linux

In the computer industry, the pendulum of debate, innovation, and building infrastructure at one end vs building up complete and ready solutions on the other end keeps swinging every 20 years (more or less).

So here it comes, to the rest of the thinkers and planners and to the delight of the builders and engineers; the era of FLOSS

Continue Reading »

No responses yet

Jun 14 2008

GEdit with Groovy

Published by Kefah Issa under Fedora 9, Grails, Groovlet, groovy

Need a cool development setup for Groovy and Grails on Linux?

No I don’t mean Eclipse nor IntelliJ, and Yes, I’m smart enough for that I’m dumping the autocompletion and autoerror detection; at least I know i’m smarter than the current plugins for those two. :)

Continue Reading »

5 responses so far

Jun 14 2008

Uploading files to a groovlet

Published by Kefah Issa under groovy

Groovlets, could be the coolest thing since sliced-bread … except for the fact that it does n’t seem to support fileupload! what? why? is there a solution?

Yes!

Continue Reading »

No responses yet

Jun 14 2008

Groovlets and GSP, setting up

Published by Kefah Issa under groovy

Groovelts and Groovy Server Pages are unbelievably simple to set-up and use, quick and dirty web-api’s and proof of concept can be implemented in no time!

Continue Reading »

8 responses so far

Jun 14 2008

My search for a web-development framework

Published by Kefah Issa under General

Would the debate on the best Web-development framework evern end? probably not, becuase debate reflects the very nature of us humans. We see things from different angles, and apply them to different cases …

Nevertheless, for the yours truly this does not have to be the case… here is my angle …

Continue Reading »

No responses yet

Jun 14 2008

Hello world!

Published by Kefah Issa under General

I never thought that I would have a blog, I am not a talking-kind-of-person. But now I started to see it as a good method to keep my notes in one place and make them availalbe. Just a 2 cents kind of stuff.

No responses yet