agileaholic :)

Java, groovy, grails, hacking and more…

Archive for the ‘agile’ Category

126: The specified module could not be found – ../mysql.so

Posted by Prabhu Beeman on September 29, 2009

I was trying my hands for the first time on RoR (Ruby on Rails).
(Netbeans 6.7 , Windows XP).

In the process, I got the following (misleading error)

126: The specified module could not be found – ../mysql_api.so

But mysql_api.so was in the path where ruby was looking for.
Solution:
Make sure your MySql bin path is in your PATH variable.

Posted in agile | Tagged: , | Leave a Comment »

Objective-C why using @class

Posted by Prabhu Beeman on August 11, 2009

One primary reason for using the @class is to avoid multiple inclusion of a same header file.
It is clear explained in the Objective-C 2.0 Language guide

The @class directive minimizes the amount of code seen by the compiler and linker, and is therefore the simplest way to give a forward declaration of a class name. Being simple, it avoids potential problems that may come with importing files that import still other files. For example, if one class declares a statically typed instance variable of another class, and their two interface files import each other, neither class may compile correctly.

Posted in agile | Tagged: | Leave a Comment »

Groovy – operator overriding

Posted by Prabhu Beeman on July 18, 2008

What do you think will the world without Google will be?

Let us try to represent this using a groovy code and in the process know more about the groovy language.

   1: class World {

   2:     String result = "World";

   3:

   4:     World(){}

   5:

   6:     World minus(Company company) {

   7:         if(company.getName() == "Google") {

   8:             result = "No Search!!!No AdSense!!!"

   9:         }

  10:         else {

  11:             result = "Don't Know"

  12:         }

  13:         return this;

  14:     }

  15:

  16:     World minus(String company) {

  17:         minus(new Company(company))

  18:     }

  19:     // This method is called when we try to print the object

  20:     String toString() {

  21:         return result;

  22:     }

  23: }

  24:

  25: class Company {

  26:     String name

  27:     Company(String name) {

  28:         this.name = name

  29:     }

  30: }

  31:

Let me explain the code here

We do not have any more semicolons (optional)

Line 6: We have overridden the ‘-’ (minus) operator here, I will explain this later

Line 7: Now where was getName() defined, well getName() and setName(…) method is created for you the moment you create the property (Line 26)

Line 16: That is operator overloading

Alright so here is the final piece of code, let us go ahead and look at it…

   1: def ourWorld = new World()

   2: def google = new Company("Google")

   3: ourWorld - google

Line 1: This is dynamic typing, the compiler takes care of the object type it should be converting to.

We create a world instance and a Company instance.

So when we remove google from ourWorld(Line 4)

ourWorld – google

What do we get??

Result: No Search!!!No Adsense!!!

Even better with the following code

   1: def ourWorld = new World()

   2: ourWorld – “Google”

Isn’t this amazing. You just subtract Google from ourWorld and you see the result, couldn’t depict better than this.

Posted in agile, groovy | Tagged: , | Leave a Comment »

NONOH – NO Security

Posted by Prabhu Beeman on July 8, 2008

I stay away from India and had to use some cheap voip service to call back home.

I used nonoh, pretty cheap so you have to compromise on the quality.

Well, i realized very recently that i need to compromise even on the security aspect of it.

When I login to the application they are passing the username and password as part of the url (a GET request). Well, the username and password is encrypted. But it didn’t take me more than 10 secs to know that they use ROT13. Probably might help you protect from lame users but not from the ever watching nerds.

Posted in agile | Leave a Comment »

Goowy – Webtop

Posted by Prabhu Beeman on October 24, 2006

Goowy is a Web(Desk)top with lot of features. Though its built on flash it was fairly fast on a 64 kbps connection. The look and feel was good too.It has the following features e-mail, contacts, calendar, news, rss, file storage (1 GB from Box.net), games and many more.
You can create an account in a flash (pun unintended).

I have attached some screenshots for those who wants to have a view before they try out.

Snapshot of the Desktop

Snapshot of file upload

Posted in agile | Leave a Comment »

Qumana way

Posted by Prabhu Beeman on October 19, 2006

Qumana impressed me a lot in terms of usability.

What is Qumana ? Its a blog editor with some real good feature.

Worth a try!!!

Powered by Qumana

Posted in agile | Leave a Comment »

World’s First Open Movie

Posted by Prabhu Beeman on July 18, 2006

This is the world’s first movie (animated) using some of the open source tools.The open source software used for animation is Blender

Click here to download Elephant’s Dream

Posted in agile | Leave a Comment »

Microsoft delays release of Windows Vista

Posted by Prabhu Beeman on May 3, 2006

SEATTLE: Microsoft Corp’s long-awaited release of the upgrade to its flagship Windows operating system will likely be delayed again by at least three months, research group Gartner Inc. said on Tuesday.

The research note, released to clients on Monday, said the new Windows Vista operating system is too complex to be able to meet Microsoft’s targeted November release for volume license customers and January launch for retail consumers.

A Microsoft spokeswoman said the company disagreed with the Gartner report and it was still on track to meet its launch dates.

Vista is the first major overhaul of its operating system, which sits on 90 per cent of the world’s computers and accounts for nearly a third of Microsoft’s total revenue, since Microsoft rolled out Windows XP nearly five years ago.

Microsoft originally targeted a 2005 launch for the new Windows, then pushed the release out to 2006 before announcing in March that Vista would again be delayed to improve the product’s quality.

Gartner targets a Windows Vista release in the April-June quarter of 2007, nine to 12 months after Microsoft conducts a second major test, or “beta,” release for Vista during the current quarter.

Posted in agile | Leave a Comment »

Maxthon browser

Posted by Prabhu Beeman on March 1, 2006

This is cool if you are a MS IE user. Maxthon is here to make you happy with the features that you feel missing in IE. Its based on the IE Engine.

Posted in agile | Leave a Comment »

The Web Archive

Posted by Prabhu Beeman on February 24, 2006

Wouldn’t it be great to have an archive of the www and that too since its inception. I am not sure if all the sites are mapped since its inception. But certainly helps you to bring back the good old memories you had with the sites some years back.

Click here to check out the yesteryear looks of your favourite site.

Posted in agile | Leave a Comment »