Keep it simple ….

Random Musings

Software Engineering

leave a comment »

software_engineering_explained.gif

Written by Abhinav Jain

December 12, 2007 at 6:03 am

Posted in Uncategorized

Inspirational Poem

leave a comment »

Found this one online .. The poet however I am still not sure of ….

Himmat

Written by Abhinav Jain

December 10, 2007 at 2:40 pm

Posted in Uncategorized

Ubuntu 7.10 (Gusty Gibbon) – Pehla Jhatka !!!

leave a comment »

I have always been an avid Ubuntu fan. Not because I have met Mark Shuttleworth in person ( Yes I have !!! ) but because of its hassle free installation.

But ubuntu 7.10 was the pehla jhatka !!! Ubuntu supposedly failed to detect my graphic settings and I got a blank screen.

I have a Samtron 56v monitor with a VIA S3G graphics (onboard) controller.

Here’s how got it working :-

  • Boot in the safe mode
  • run :- sudo dpkg-reconfigure xserver-xorg
  • goto the /etc/X11 directory. If you have multiple xorg.conf files then rename the one you just made to xorg.conf. Delete or backup the other files .
  • reboot your system !!!

I heard that there are issues with other CRT monitors as well. Probably due to integration of the Compiz Fusion 3d Desktop in this release.

I would advice all who are happy with their previous installations of Ubuntu to keep a backup of the /etc/X11/xorg.conf file. I might be your only easy way out.

Written by Abhinav Jain

November 21, 2007 at 6:31 am

Posted in Uncategorized

Learnings :)

leave a comment »

If something can go wrong it will at the worst possible time !!!

Sometimes it’s not your skill that matters, it’s your zeal and team spirit that works for you. A good team can do wonders :)

Written by Abhinav Jain

April 4, 2007 at 8:45 am

Posted in Uncategorized

Setting up a home LAN, for internet access etc

leave a comment »

Very simple actually,

I have an Airtel Broadband connection which provides me with an ASDL modem.

Just configure your modem, so that it gets an IP address independent from the computer, basically you dont have to dial a connection from your computer.  Please call the customer service on how to do this.

The rest is simple. Get a Ethernet Switch (I used a D Link DES 1008v)  , on one port connect the ASDL modem and on others plug your computer. Please dont use the upload slot is any and try to use straight cables to do all the connections. Your LAN should work fine.

(If you are trying to use the upload link, probably you would need a cross LAN cable then) .

Now you can go ahead and setup workgroups etc.

Written by Abhinav Jain

March 30, 2007 at 10:57 am

Posted in Techy

Presentations from the DrupalCon

leave a comment »

One thing that drives me crazy about Drupal, is that it’s tough for one to find the right documentation or support “easily”.

Anyways .. found these good links to the recording of DrupalCon :-

Audio and Video (torrent files)

Written by Abhinav Jain

March 26, 2007 at 5:24 am

Posted in Open Source, Techy

Drupal Hack :- If you want only an admin login

with 7 comments

I was playing around with drupal recently, when I kinda stumbled on this problem :-

“I want to have a site which is more like an information site, and I don’t want any user registration on my site. So I won’t have user login block on my main page. But I do want to change the themes, manage content etc, and therefore I need a way to do an admin login.”

This is what I did :-

Goto the block management on your site , and disable the user login from the left side bar.

Leave the Navigation block intact.

Now log out of the site.

You don’t see the user login block on your site anymore.

To login to your site, you can use a link like :-

http://localhost/tabletesting/?q=user/login

PS: This might change if you are using clean URLs on your Drupal site.

OK … probably not something great … but I just found this interesting and useful for a novice who won’t open the user module and look at the hook_menu implementation and then discover that this is what he needs to do ;-) .

Written by Abhinav Jain

March 21, 2007 at 4:00 pm

Posted in Open Source, Techy

Can’t hide from self !!!

leave a comment »

Whereever you go, there will always be you !!!

Written by Abhinav Jain

March 20, 2007 at 9:29 am

Posted in Quotes

RED/GREEN/BLUE balls

with 2 comments

You are a vendor having some balls:-

1) 1994 RED balls
2) 1995 GREEN balls
3) 1996 BLUE balls

now if you tak two balls of different colors , then you can convert them to 1 ball of the third color

eg. one RED and one GREEN ball combine to form one BLUE ball

now you have to convert all the balls into one single color.

How will you do this ?

Written by Abhinav Jain

March 16, 2007 at 10:17 am

Posted in Logical, Puzzles

Sum of two numbers in an array to be equal to K

with one comment

You are given an array of numbers, and a constant K.

You need to find two elements from the array whose SUM is equal to K . (all such pairs)
Eg .

Let the array be

1 2 3 4 and the constant be 7 ,

then your output should be 3 and 4

Written by Abhinav Jain

March 16, 2007 at 10:08 am

Posted in Programming, Puzzles

Follow

Get every new post delivered to your Inbox.