Author Archive
There has been much discussion (if you can call it that) in the Ruby on Rails community regarding a need for using applications while disconnected. I happen to be believe that despite the proliferation of connectivity options, ability to use web applications off-line is absolutely crucial. So, I’ve been looking at various technologies for taking web applications off-line. I am a big fan of Adobe Flex partly because it can be used to produce web-based applications that run on Adobe Air. I’ve also been watching Google Gears (now unbranded from Google). Just a few days back Yahoo went for a “Sneak Peek” availability of their BrowserPlus. So, I decided to install Yahoo BrowserPlus and give it a try with a few Yahoo properties that use it today.
I tried the FlickrUploader demo and go this dialog. This is actually expected and it is a good thing. Basically, what this means is that FlickrUploader needs these services and BrowserPlus is offering me to activate them:

This dialog suggests that FlickrUploader needs Ruby. I presume that this is because FlickrUploader is written at least in part using Ruby? After a bit more reading I am getting a feeling that we will be able to use Ruby to add extra functions and services to BrowserPlus. At least that is implied by all of the info I was able to find on the subject. Unfortunately, BrowserPlus is still in the “Sneak Peak” release mode (Yahoo must of run out of Greek letters) so it is not possible to try to add BrowserPlus capability to anything but a Yahoo operated site in Ruby or otherwise. I do however like the direction in which BrowserPlus seems to be heading and I love the fact that they chose to support Ruby.
Oh yeah, almost forgot to mention … at this point in time it is more of a promise than reality. I tried to activate the RubyInterpreter service and got “Not compatible”:

June 03 2008 | Musings | No Comments »
Just in time for halloween, we released a new version of DB2. If you are in to instant gratification, you can get DB2 Express-C v9.5 immediately from http://www.ibm.com/db2/express . I am not going to provide a detailed description of what is new in this version but I will say that if you were impressed with DB2 pureXML before you will be absolutely amazed what you can do with XML in DB2 v9.5 and DB2 Express-C includes pureXML at no charge, naturally. Oh, and it is all available to a Ruby on Rails programmer.
If you like running your database servers on Linux then you will really like DB2 Express-C v9.5. DB2 engine on Linux now uses threaded (as opposed to process) model of execution. This means that your database server will now use a lot less memory and you will be doing a lot less figuring out how to set it up for optimum memory utilization. In v9.5 you can replace a dozen or so memory tuning parameters with a single one. While threaded engine is new to Linux, DB2 for Windows has always been threaded. Less time to tune database server means more time to spend writing really cool Ruby on Rails applications with DB2. Oh, and I almost forgot … you no longer have to be root to install DB2 on Linux.
If you like counting money (and who doesn’t), there is a new datatype which is really good. It is called DECFLOAT and it allows you to do money arithmetic without loosing any of it in rounding. The really cool thing is that if you run DB2 Express-C on Linux on POWER 6servers (System p or System i) you have hardware assist right in silicone that makes these operations blazingly fast. We will have to wait for Intel and AMD to put decimal arithmetic in to their silicone. Intel, AMD, are you listening?
If you are building applications that deal with credit card data (here we go with the money again), or need to comply with privacy legislation or need to do anything to identify the actual originator of a transaction and record all actions performed in an audit log then you are also in luck with DB2 v9.5. Let’s say you are building a online store application and will want to accept credit cards. You may not know it yet, but your application will have to comply with something called PCI DSS. An whether you know it or not, if you can’t prove that you comply, your merchant account will be revoked so unless you figured out a way of how to take cash on the web, you will be out of business. I am not going to describe the exact details of how DB2 helps you comply with PCI but I say that being able to identify the end user completing a transaction rather then some proxy id you are using to connect from your code in to the database is the key component of it. Another important aspect is beign able to record everything that is going on in an audit log that can be reviewed and shown to the auditor when asked. Oh, and DB2 can encrypt data both in database and on the wire but believe it or not, the first two features I talked about are actually more important for achieving compliance and staying in business. And these features apply to more then just PCI DSS. The same requirements exist for complying with privacy and corporate governance legislation.
There are also a lot of new functions that make DB2 run faster and make it more scalable like optimistic locking. Then there is a raft of functions that make it easier to manage, back up and recover if need be. There is also a brand new and, you guessed it, free IBM Data Studio for building database objects, working with XML and creating web services (both SOAP and RESTfull) but I will save these topics for another post.
November 01 2007 | Announcements and Uncategorized | 2 Comments »
Next »