Ajit K

November 15, 2007

The android bonanza from Google

Filed under: Links — AjitK @ 5:44 pm

http://googleblog.blogspot.com/2007/11/calling-all-developers-10m-android.html

May 13, 2007

“What will Steve Jobs kill next?”

Filed under: Links — AjitK @ 4:27 pm

An interesting point. As Robert Scoble points out in his post:

Apple II? Didn’t have switches on the front.
Macintosh? No tape drive. No cursor keys.
Next? No disk drive.
iMac? No floppy drive.
iPod? No on/off button.
iPhone? No keyboard.

April 29, 2007

Damien Katz talks about Volkswagen LISP ;)

Filed under: Links — AjitK @ 6:30 pm

http://damienkatz.net/2007/01/the_volkswagen.html

April 8, 2007

Paul Graham talks about why Microsoft is DEAD!

Filed under: Links — AjitK @ 10:07 am

Microsoft is Dead

…and counter arguments

seems to be a shallow argument by Paul !

March 14, 2007

VIM and vimrc resources

Filed under: Links — AjitK @ 9:41 am

Just started playing around with VIM. If you are looking for a quick start google can be your best friend. The vim tutorial is a good point to start with. To customize the behavior of VIM, I took help of the following resources to setup my vimrc:

http://www.semicomplete.com/misc/rcfiles/vimrc (A great site with some very good open source content.)

http://www.stripey.com/vim/vimrc.html

http://phuzz.org/vimrc.html

Search and replace in VIM at linux.com:

http://www.linux.com/article.pl?sid=06/06/26/1525255

March 12, 2007

Dependency injection

Filed under: Links — AjitK @ 7:20 pm

Man! there’s so much to learn. I hadn’t heard of dependency injection till today!

http://en.wikipedia.org/wiki/Dependency_injection

Dependency injection (DI) is a programming design pattern and architectural model, sometimes also referred to as inversion of control or IOC, although technically speaking, dependency injection specifically refers to an implementation of a particular form of IOC.
The basic idea is that if an object depends upon having an instance of some other object then the needed object is “injected” into the dependent object. For example, being passed a database connection as an argument to the constructor instead of creating one internally.
The term “Dependency injection” is a misnomer, since it is not a dependency that is injected, rather it is a provider of some capability or resource that is injected.

Looking for an implementation to learn more about it? Have a look at the external links section in the wikipedia entry. Some are:
Guice Intro by Crazy Bob
Home of Guice

March 4, 2007

Error in installing sqlite3-ruby on Ubuntu: Solved

Filed under: Links — AjitK @ 3:32 pm

I have been facing this problem and googled for a solution. The error that I was getting is:

Building native extensions. This could take a while…
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

ruby extconf.rb install sqlite3-ruby
extconf.rb:1:in `require’: no such file to load — mkmf (LoadError)
from extconf.rb:1

After some fight I came a blog post suggesting to install the dev package for ruby.

sudo apt-get install ruby1.8-dev

And that I did and viola… everything worked fine. The problem was because mkmf isn’t installed by default! So, installing the dev package solves the problem :)

A few references that may help in Ruby on Rails setup:

http://daniel.lorch.cc/docs/rails_install_debian/
http://rubyforge.org/forum/forum.php?thread_id=4161&forum_id=4050

Setting up PostgreSQL on Ubuntu

Filed under: Links — AjitK @ 8:52 am

A nice step-by-step tutorial about setting up PostgreSQL on Ubuntu.

If the Postgre hasn’t already been installed, install it using the command line or the basic add/remove utility in Ubuntu.

Using command-line:
Installing Postgre and pgAdmin:

  • sudo apt-get install postgresql-8.2
  • sudo apt-get install pgadmin3 pgadmin3-data

Changing the default password (postgres):

  • sudo su postgres -c psql template1
    template1=# ALTER USER postgres WITH PASSWORD ‘<enter your password>’;
    template1=# \q

To access the pgAdmin from the program menu, add a link for the menus:

  • sudo gedit /usr/share/applications/pgadmin3.desktop
  • [Desktop Entry] Comment= PostgreSQL Administrator III
    Name=pgAdmin III
    Encoding=UTF-8
    Exec=pgadmin3
    Terminal=false
    Comment[en_GB]=PostgreSQL Administrator III
    Icon=/usr/share/pixmaps/pgadmin3.xpm
    Type=Application
    Categories=GNOME;Application;Database;System;
    Name[en_GB]=pgAdmin III

If the entry exists (if installed using add/remove utility), don’t need to anything.

For more options, e.g. enable access from a local network, read more at hocuspokus.us.

February 10, 2007

Another google bomb?

Filed under: Links — AjitK @ 7:28 pm

Search query: how student loans affect fico score

Google Bomb

The screenshot shows the search results that appeared on the first page of the search result. Notice the top results linking to blogspot.com!

Digg It

Update: Google seems to have fixed it!

January 17, 2007

Caching in PHP

Filed under: Links — AjitK @ 6:22 am

Caching in PHP isnt as straightforward as it is in Java. For a starter, here’s a nice article on caching in PHP.

On a sidenote, why caching is important: Time is MONEY. Caching saves time. So, caching saves MONEY. Has it got your attention…

« Previous PageNext Page »