Navin Samuel

Archive for the ‘Technology’ Category

Apple, why AT&T?

In Business, Technology, Uncategorized on August 1, 2008 at 3:29 pm

Apple,

    You guys have a done great job with the iPhone. You set a new standard. You raised the bar.

    Yet, what were you thinking when you handed over your reputation to the most notorious telecom company in the world? 

    Were you more interested in satisfying your greedy investors than your countless fans around the world?

    Why? Why?

ActiveScaffold & STI (Single Table Inheritance)

In Technology, Tecnoquips on July 21, 2008 at 11:53 am

I had a tough time getting ActiveScaffold to work with STI.  As per the development roadmap for AS, this will be available only in version 1.3! Since I desperately needed this to work, I figured out a quick workaround. In the models, rename your foreign keys to the name of the derived class. That’s it! Below is an example.


# Base class
class Promotion < ActiveRecord::Base
end


# Derived class
class SurveyPromotion < Promotion
has_many :surveys,
:foreign_key => 'survey_promotion_id'
end


# Associated class
class Survey < ActiveRecord::Base
belongs_to :survey_promotion,
:foreign_key => 'survey_promotion_id'
end

ActiveScaffold @ REST

In Technology, Tecnoquips on July 19, 2008 at 1:34 pm

All of a sudden my REST routes stopped working for my ActiveScaffold controllers. No errors, not even a pointer! After a few ours of debugging, I figured out that the plugin was not being loaded for some odd reason. Since the last plugin to load was ActiveMerchant, I guessed correctly that this may be the culprit and deleted the it entirely. Voila! ActiveScaffold was working again!

The problem? Well, I accidently installed the ActiveMerchant Rails 2.1 version instead of an older one! This may have caused the loader to ignore plugins that follow it in the load sequence!

Once again, a lot of energy gone waste! I wish I had read a bit more before installing ActiveMerchant! I now use the gem version instead.

Firefox 3 – Dissapointing!

In Cribbings, Technology, Tecnoquips on June 12, 2008 at 10:23 am

While FF3 has a much faster rendering engine and includes a lot of bug fixes, I am very much disappointed at the lack of full CSS3 support! Guess what, I have to go back to photoshop to make those stupid drop shadows on text!! Now, why would this be such a big hassle for the Firefox team to do?

I am back to Safari/Webkit for my needs! The webkit engine supports almost all of the CSS3 features and makes some my HTML emails look fantastic.

IE8? Yeah, never expected anything much from Redmond. The guys in the IE team can’t seem to get anything right these days! Yo IE team, no point in releasing another version of such an idiotic browser. You are in the game just because of the fact that 40% of all users tend not to change their browsers from what is preloaded on their PCs!

PS: Heard rumors that Windows 7 will include a jazzed up version of IE with some features that according to the Redmond guys will kill Firefox! Take a shot!

PicLens Rocks!

In Technology on February 15, 2008 at 11:23 am

Okay, so you thought that Apple can beat anyone hands down at building killer apps. Right? Wait till you take a look at PicLens from the guys who brought you CoolIris.

Let me know if you are willing to change your mind!

Ruby Derailed?

In Technology on January 16, 2008 at 1:33 pm

Zed Shaw, the man who wrote Mongrel which consequently cost him his career (almost), caused quite a stir and all sorts of reaction from readers with his ‘Rails is a Ghetto‘ rant.

While there may be some amount of truth in his words, it is quite disappointing to see how he chose to put forward his feelings. While I do admire his candor, I feel that he may have done more harm than good to himself. Though his hard work definitely demands appreciation, his words do not. Pouring one’s frustration in public by demeaning others as well as whole community is definitely not a mature way to do things. I sincerely hope he gets over this and starts to realize that nothing can be gained by such actions and that the world will still move on. Zed Shaw may, after all, not leave any pleasant memories in the minds of many other who once admired him for his genius.

What??????  Say that again?….

So if you think that I am mad at Zed, you got me wrong! He is great guy! Crazy, I must admit though! As Zed puts it, “it all an act”!

Follow

Get every new post delivered to your Inbox.