Hindustan Institute of Technology & Management

It’s been almost a year now. I was busy with a lot of things all this while but Hindustan Institute of Technology & Management(HITM) has been the most important one. This year, we (my family) started a new project - Hindustan Institute of Technology & Management (HITM), an engineering college in the District Ambala, Haryana (India). Though it was always under the plans but then it materialized only this year.

Presently, the college is offering B.Tech. course in 4 streams namely - Information Technology, Computer Science, Electronics and Mechanical with 60 seats per course with a total of 240 seats. Further, we are planning to start a management course as well by next year.

We started the project around January’08 with the construction of the college and completed Phase I of the construction after 7 months by August’08. Soon after the college construction was completed, we started the first batch of the college. The first day of the college was quite an event with lot of students, parents, university officials and the press people. All the people who were present that day appreciated the college for its strong and stable infrastructure. The college is fully air-conditioned with 100% power backup, Wifi enabled campus with unlimited Internet, an extensive library with more than 6000 books and subscription to journals and magazines and Transportation facilities from/to neighbouring cities.

For more information, have a look at the college website here: http://www.hitmedu.com

On the whole, it will take us another 3 years to complete the construction of the college. It’s a long time but I guess that’s the pace of such projects.

Comments

Configuration of Gmail on Gnus/Emacs (Ubuntu Gutsy)

I tried configuring Gnus/Emacs to send/receive mails through Gmail using IMAP/SMTP protocol on my Ubuntu-Gutsy Linux Box.

Emacs Version: 22.1.1
Gnus Version: 5.11

I performed the following steps:

  • I had to install sendmail and starttls programs using apt-get first and start sendmail service.
  • Enable IMAP support for your Gmail account online as described here:

    http://mail.google.com/support/bin/answer.py?answer=77695

  • Create a file named .gnus.el in your home directory and copy the configuration as given below:

    ;; Configuration of ~/.gnus.el

    ;; Customize the next three lines with your ISP information.
    (load “starttls”)
    (load-library “smtpmail”)

    (setq user-mail-address “username@gmail.com”)
    (setq user-full-name “User Name”)

    ;; Configure incoming mail (IMAP)
    (setq gnus-select-method ‘(nnimap “gmail”
    (nnimap-address “imap.gmail.com”)
    (nnimap-server-port 993)
    (nnimap-authinfo-file “~/.imap-authinfo”)
    (nnimap-stream ssl)))

    ;; Configure outbound mail (SMTP)
    (setq smtpmail-starttls-credentials ‘((”smtp.gmail.com” 587 nil nil))
    smtpmail-smtp-server “smtp.gmail.com”
    smtpmail-default-smtp-server “smtp.gmail.com”
    send-mail-function ’smtpmail-send-it
    message-send-mail-function ’smtpmail-send-it
    smtpmail-smtp-service 587
    smtpmail-auth-credentials ‘((”smtp.gmail.com” 587 “username@gmail.com” nil))
    smtpmail-debug-info t
    smtpmail-debug-verb t
    )
    (setq smtpmail-local-domain nil)
    (setq gnus-permanently-visible-groups “gmail”)
    (executable-find starttls-program)

  • Create another file named .imap-authinfo in your home directory with the following line:

    machine imap.gmail.com login username@gmail.com password my_password port 993

  • Now, start Emacs, and type M-x gnus to launch Gnus

    Gnus should automatically check for email on Gmail.com

    After a while, when gnus process completes it displays a list of subscribed mailboxes. By default, you are subscribed to nndoc+gnus-help:gnus-help mailbox only.

  • To add your Gmail INBOX and other Gmail Labels you need to add them as mailboxes. Type ‘U’ in the Gnus Group Buffer and type the name of the Gmail Label or type INBOX to subscribe that Label to Gnus. You can also use auto-completion feature here to list all labels.
  • Now, you should see the subscribed Mailboxes in the Groups buffer. You can press ‘Enter’ on any mailbox to read mails under that label.
  • To send an email, type ‘m’. You should get a buffer to send email. Remember here that it will prompt you to enter your password to send emails every time. If you wish to skip this step, change the value of smtpmail-auth-credentials variable in .gnus.el file you just created :

    smtpmail-auth-credentials '(("smtp.gmail.com" 587 "username@gmail.com" "password"))

  • You can change the permissions on the file .gnus.el and .imap-authinfo to restrict the access to your username only.
  • chmod 700 ~/.gnus.el ~/.imap-authinfo

All the above steps must configure Emacs to send and receive email using Gmail successfully. Hope this helps!

Comments

Ubuntu Gutsy - Microphone Issues on Dell Inspiron 1520

Please go through the previous post, in case sound is not working correctly for you on Feisty/Gutsy. First you need to setup the sound card correctly.

I was facing problems with Internal Microphone on Ubuntu Feisty, so when Gutsy was released, I upgraded to it. Status did not change even after upgrading to Gutsy. Anyway, I tried reinstalling ALSA, but it did not help either. For Gutsy, there are not much different solutions available. So, I tried various settings in the Sound Mixer again. Finally, I got the Internal Microphone working. I used Audacity/Skype to test the microphone. Those facing the same issue with similar hardware (Sigmatel STAC9205), may try the same settings. It might help. Attached is the screenshot of the gnome-mixer settings that worked for me.

ALSA Gnome Mixer Playback Tab ALSA Gnome Mixer Recording Tab ALSA Gnome Mixer Switches Tab ALSA Gnome Mixer Options Tab

Comments (3)

Ubuntu Feisty Installation - Dell Inspiron 1520

It’s been quite sometime that I installed Ubuntu 7.04 Feisty Fawn on Dell Inspiron 1520. My experience with this Ubuntu installation has been good and I have got Compiz Fusion working this time (something I could not do before).

Installation was slightly problematic with Feisty, since the Live CD did not boot at all. It failed after I pressed “Enter to Install” and I had to search for available solutions for this problem. I solved the problem by following the steps provided here. The workaround provided helped me out and I could boot using Live CD and installed Ubuntu Feisty subsequently. No problems after the boot process. Installation was simple and straightforward and completed in 18-20 minutes.

Now, since many essential features were missing, so first thing I had to do was to install those missing packages. So, I needed to update the packages list or apt-get should I say. But I did not choose apt-get, instead I selected Smart Package Manager this time. I have had a very good experience with smartpm previously, so decided to try it out this time on Ubuntu as well. I haven’t faced any problems till now, in fact I’m impressed with Smart Package Manager. I find it better since as per my experience, it resolves package dependencies better and I never faced any version conflicts which I faced otherwise with apt-get at times.

Here’s how you can configure smart package manager to add apt-get channels available in default sources.list file:

Issue all these smart commands as root.

smart channel –edit

Now add the following repositories:

[aptsync-a30ca3197e720a6180d50388c93162f8]
type = apt-deb
name = feisty - free non-free
baseurl = http://packages.medibuntu.org/
distribution = feisty
components = free non-free

[deb-sys]
type = deb-sys
name = DEB System

[feisty-backports]
type = apt-deb
name = feisty - backports
baseurl = http://in.archive.ubuntu.com/ubuntu/
distribution = feisty-backports
components = main restricted universe multiverse

[feisty-main]
type = apt-deb
name = feisty - main
baseurl = http://in.archive.ubuntu.com/ubuntu/
distribution = feisty
components = main restricted universe multiverse

[feisty-security]
type = apt-deb
name = feisty - security
baseurl = http://security.ubuntu.com/ubuntu
distribution = feisty-security
components = main restricted universe multiverse

[feisty-updates]
type = apt-deb
name = feisty-updates
baseurl = http://in.archive.ubuntu.com/ubuntu/
distribution = feisty-updates
components = main restricted universe multiverse

[medibuntu]
type = apt-deb
name = medibuntu-updates
baseurl = http://medibuntu.sos-sts.com/repo/
distribution = feisty
components = free non-free

After adding all the sources, I updated smartpm using the following command:

smart update

First, I installed envy to fetch the Nvidia Graphics Driver. Envy worked extremely smoothly and setup everything automatically without requiring any manual edit of xorg.conf file. So, I got the wide screen 1440×900 resolution setup correctly. Later, I used the Amaranth repository to setup Compiz Fusion on the system. But I had to remove the other 3D desktop packages like Desktop effects, beryl before that. Then I followed this link to install the Compiz Fusion package and it worked without further issues. Here are some screen shots: Screenshot 1, Screenshot 2, Screenshot 3

Smart worked well for the installation of other essential packages as well; you can refer this page for the list of essential packages like DVD support, Multimedia audio codecs, mplayer, banshee, flash plugin, java plugin, vlc, rar archives: http://ubuntuguide.org

One problem that I noticed on Ubuntu Feisty is that I get less battery life for my laptop using the same settings (screen brightness, hdd activity) that I have on Windows Vista Premium. Other issues are related to Sound, Sleep mode, Bluetooth and the Internal Microphone.

Note: Don’t use “Sound Recorder” application (Applications->Sound & Video->Sound Recorder) to check if the microphone is working. Instead try using the Audacity program.

In case of speakers when I plug in the headphones, speakers are not muted. So I had to upgrade ALSA manually as instructed at this link.

After I installed ALSA, I had to edit the /etc/modprobe.d/alsa-base file by adding the following line at the end of the file:

options snd-hda-intel model=3stack

Rebooted the system and the speakers worked perfectly. But the bluetooth and internal microphone are still not working. Moreover, there is a problem with the power management functions. If the system goes into sleep mode, it does not resume, you get blank screen. I could not find any solution for this problem.

Otherwise, it’s a nice distribution over all.

Update:
I got Bluetooth working. Follow the steps given below :

Start the Bluetooth Adapter using the Button on the left side of the laptop. The Blue lights of Wifi and Bluetooth Adapter should light up.

As root, issue the following command : /etc/init.d/bluetooth start

Now, run this command : hciconfig hciX reset

Start Bluetooth File Sharing application from the Applications Menu.

Now, try to discover your Laptop using other Bluetooth enabled devices.

Comments (1)

Dell Inspiron 1520

Yes! I bought a laptop for myself, the Dell Inspiron 1520 (Black). Must say, it’s quite a beauty with the matte finish.

Dell Inspiron 1520

Though delivery time was a bit long (13 days), I got it finally with all the accessories as mentioned in the order, so no surprises. I bought the following configuration :

    Intel(R) Core(TM)2Duo Processor T5250 1.5Ghz 2MB Cache, 667Mhz FSB
    1 GB (2×512MB) DDR2 SDRAM
    15.4 Widescreen WXGA+ Display
    160 GB SATA HDD (5400 RPM)
    Nvidia(R) Geforce(TM) 8400M GS - 128MB GDDR2
    Integrated Sound Blaster Audigy Advanced HD Audio Software
    Dell Wireless 355 Bluetooth Module
    Intel Pro Wireless 3945 Dual Band 802.11a/g Wirless Mini Card
    Camera
    Dell (TM) Remote Control
    Internal 8X DVD+/-RW combination drive with dual layer write capabilities
    6-cell 53 WHr Lithium Ion Primary Battery

Windows Vista (with Aero) runs fine, although I don’t see much difference between Vista and XP. There are some unrequired features that you may want to turn off. See this link for some help.

All the hardware components, like Bluetooth, Camera, Touchpad, DVD Writer were configured properly. So, there were no glitches with the default installation. Speakers in the front performs well and battery performance is quite good as well.

But there are some other nuisances, I must say when you decide to change the partitioning, either reducing the size of C drive or installing another operating system.

  • I must say that partitioning scheme is crazy. I had 140-145 GB as one partition, C: for Windows Vista. Then there was one recovery partition taking around 10GB of space. And there is also a 2-3GB space allocated for Dell Media Direct.

    Now, since I wanted to install Linux along with it, but I couldn’t due to this partitioning scheme. All these partitions were primary. So, I needed to delete a partition (basically C:) and repartition the whole system. Anyway, I had to do that. Installed Dell Media Direct also, but lost the recovery partition.

  • Hard Disk is another disappointment. It makes a irritating crackling sound already (typical Seagate HDD!). Though otherwise, it works fine. I kept the laptop running for 10-12 hrs, doesnt get too heated. Works fine absolutely except the irritating HDD noise. I think I need to get it replaced to a non-Seagate drive.

The next step is to install Linux (Ubuntu most probably).

Comments (11)

DB2 decimal to varchar conversion issue : leading zeroes

Recently, I came across this problem, someone faced while casting a decimal datatype to varchar data type in DB2.

Here’s the link to the whole thread :

db2– Decimal to Varchar without leading zeros

So, the idea is to replace the 0’s with spaces and convert them back to 0 with second replace. I’ve already explained the reason for this double-do for both replace and rtrim/ltrim functions instead of a single trim, strip functions.

Comments (1)

Targetized

After a period of 18 months approximately, I made first job switch of my career. I separated from my previous company - a IT Company (probably the biggest) to another big company, although in a different industry (Retail).

Last working day was quite eventful. At office, I spent the whole day managing the separation process & said good-bye to everyone. At home, all 3 of us (my 2 room-mates and myself) wished each other Good Luck. One of my room-mates got a job, other one was going abroad. Next day, I left Pune for my home at Delhi and stayed there for a week before taking up my new job at Bangalore. I did nothing at home except relaxing and partying, that was the objective anyways.

Next week I went to Bangalore and joined my new company.

My job change was actually a Career Shift. I’ve changed my role from pure technical to that of a mixed one. My current role requires both technical skills as well as functional knowledge. It was a personal choice for me, so I took this decision. I wanted to gain business insight in my work so as to feel excited about it and my new role offered exactly same thing; so I didn’t mind _relocation_ pain also.

When I joined the new organization, I also observed the difference in working culture of a relatively smaller and non-IT organization with my previous company. Smaller organizations are less process oriented when compared to the big shots of Technology arena where you need to follow process for everything, right from requesting stationary to separation (except going to the loo - as mentioned by another professional from similar organization). Too much process-orientation is a pain especially when you don’t achieve much benefit or efficiency from it. Processes are beneficial only when they are practically followed.

Since it’s not an IT organization, the objective here is not to achieve ultimate & ace technical solutions. But to use technology to make accurate business decisions smartly. It makes sense for them since their primary goal is to conduct business efficiently rather than implementing latest technology solutions.

I got started with my project work on the 3rd day. Since, it is a new field and role (requiring functional knowledge) for me, I’m having a tough time to learn the business concepts and processes. It’s actually analyzing the business & helping in decision support. Even the technology is a bit different as I have to work here on a Data Warehouse whereas I worked as a PL/SQL Developer previously.

Comments

Oscars @ Home

Yes, I am feeling exactly this at the moment.

As I mentioned already in my last post, work pressure is not much these days at office so I started feeling a little too idle to spend time when you’re all alone in a new city. Moreover, there is not much to discover in and around Pune, or maybe I’m just not interested. I’ve already visited the city landmarks.

Then it came to my mind, let’s watch movies & spend some quality time. Let me confess in advance that I’ve very little knowledge & exposure to movies. I know that doesn’t make me a lesser audience but I mentioned it just to make sure you’re not surprised about my selection, pick of movies.

Actually, I was thinking how to get information about a movie relating to its cast, plot, ratings, reviews & other credentials. I stumbled upon these 4 major resources :

Usually, I watch one movie in say 1-2 months, but now as I’ve got enough time; I watched a little more during this time, namely :

Planning to watch some more, I’ve got - The Thin Red Line, The Shawshank Redemption, Children of Men, The Illusionist, The Pursuit of Happyness, Music and Lyrics.

I also found certain other resources offering movies’ scripts and subtitles as well - DivXMovies, IMSDB etc. which are quite useful when you’re a little more interested in a particular movie.

Any resource you feel is worthy to improve the experience of selecting or watching a movie, be it Reviews, Storyline, Cast, Subtitles or Scripts then please contribute.

Comments

Pune Vol. 2

Being idle for quite a long time in my organization, I was offered my next assignment in Pune. Though I didn’t want to, but still I had to go. So on Jan 8th, 2007, I came back to Pune. Last time when I was here, I had a brief and not so nice time in Pune.

Anyways, I reached the official guest house after arriving in Pune and rushed back to the office immediately. I met the contact person in the office. By the grace of God, I got a desk here unlike my previous project where I worked for around 8-9 months without a desk. But then, it was still a minor issue there. After some initial frequent changes, I was finally assigned to a project. For the rest of week there was nothing to be done, as everyone was new to this project.

During the first weekend, I went out and looked for accommodation and other things, I needed to arrange. I couldn’t find much options near the Office. I moved around the city to re-discover the landmarks (according to me). Prabhat Lodge on J M Road, Garware Chowk, Kamath & Prithvi restaurants near Kothrud, all of them still exist. Pune has not changed during last 15 months. Roads, Transport, Food options are same as before. I arranged the accommodation with help of a good college-time friend, thanks a ton to him.

I also visited M G Road and had Vada-Pao near J J Garden. Surprisingly, Vada-Pao didn’t taste bad this time & Lime Juice was just too good. Walking Plaza on M G Road is a nice concept followed on Sundays.

Another week passed on in office without much of activity, but during the weekend, I shifted to my flat and started setting up things. Though, I was alone, it was not a problem this time to set up. Mainly it’s a furnished flat and market is nearby; food is the only issue. Anyways, experiences cum adventures I’ve had at Bangalore were helping!

What’s more in store for me at Pune, I’m yet to discover.

Comments

Reunion of Batch 1999, Ramjas School - Pusa Road

After a long time, due to sincere efforts of few enlightened a.k.a connected people (people in touch with old pals), Reunion of Batch 1999, Ramjas School - Pusa Road happened.

Time & Venue : Dec 17th, 2006 11 A.M. @ Cafe Coffee Day, Connaught Place - New Delhi

Well, I reached the venue quite late. Reason being, I was searching my wardrobe specifically for a Yellow pullover, which took me sometime. Although, experts from textile industry didn’t appreciate really; I guess they’re learning about the fashion trends :P

Anyways, when I reached the venue I welcomed other late comers. Another surprise was the strength of this reunion, must say. Big round of applause for friends who organized this affair. I believe the attendance achieved was worth the ordeal for them.

People from all streams (Science, Commerce, Arts) were present. Since, not everyone knew everyone else, we all introduced ourselves. We discovered people coming mainly from IT industry (quite obvious), Textiles & Banking industry. Rest are doing their family/own business.

I met everyone although I didn’t know all of them well. But then that’s the reason for a reunion, so that person like me can benefit from it.

Thank you Sumita, Sherry for organizing the reunion.

Comments

« Previous entries