Sukhbir Singh

One Day, I Am Gonna Grow Wings, A Chemical Reaction. Hysterical And Useless . . .

Archive for August 2006

Emacs Psychotherapist: Damn Cool!

with 8 comments

Ok. I use Emacs cause its fast, very powerful and cause Richard Stallman is behind it!

A very cool feature in Emacs (apart from all other ‘great’ things it has to offer) is the Emacs Psychiatrist. Now what is that? Read the conversation to find out.

This is the actual conversation with a software. Yeah. Unbelievable!

To start the Emacs Psychotherapist, go to Help > Emacs Psychotherapist.

—–
Emacs: I am the psychotherapist. Please, describe your problems. Each time
you are finished talking, type RET twice.

Me: hello

Emacs: How do you do? What brings you to see me?

Me: i need your help. i have heard that you are a good psychiatrist.

Emacs: Why do you say that?

Me: hmm. cause i read about it somewhere.

Read the rest of this entry »

Written by Sukhbir

August 29, 2006 at 7:28 pm

Posted in Emacs, Fun!

Me @ Fonzter.com

with 3 comments

Fonzter.com is a popular teen blog which has a huge audience in Punjab.

I was surprised when I recieved an email from one of the founders – requesting me to write for the blog. Of course! I was too happy to accept.

Check it out once!

Written by Sukhbir

August 24, 2006 at 12:13 am

Posted in Fun!, Uncategorized

Compilers

with 2 comments

Here is a nice little post on where to get the most common programming language compilers. As has happened in the past, on the request of a friend..

1. C -  GCC {gcc.gnu.org}

2. C++ – Dev C++ {www.bloodshed.net/devcpp.html}

3. Assembly – MASM {www.masm32.com}, FASM {flatassembler.net}, NASM {nasm.sourceforge.net}

4. JAVA – JAVA JDK {java.sun.com/javase/downloads/index.jsp}

5. Pascal - Free Pascal {www.freepascal.org}

6. Python – {www.python.org}

7. SML - {www.smlnj.org}

8. Visual Basic.NET, ASP.NET, Visual J#, C# – Microsoft Visual Studio {msdn.microsoft.com/vstudio}

9. HTML - No compiler needed. Simply code in Notepad and save as .HTML.

A surprising thing I have noted – most of the compilers are programmed in the language they are used for compiling!

Written by Sukhbir

August 13, 2006 at 5:40 pm

Happy Birthday

with 12 comments

A very happy birthday to me. I have turned 18 now.

Since it is a special day, may:

- people stop discriminating on the basis of religion and race.

- you adopt open source software. Get Linux. I don’t say don’t use Windows; but prefer using open source. After all, software is meant to be free. At least the code.

- the Manmohan Singh government wake up and stop living in dreams. Quota based on caste is as obsolete as Windows 98.

- you may finally realize that IE sucks and please don’t ask me why. I am sick of explaining to people this simple fact. I get people calling me after messing up their computers. I ask them one simple question. Do you use IE? And they say yes. I tell them to switch over to Firefox. Then they make me go nuts by asking WHY IS IE not GOOD? Damn it.

- if you do use commerical software, buy it. Don’t use cracks or keygens.

- and please don’t outcast an entire community just cause of a few people.

- wish me happy birthday!

Written by Sukhbir

August 4, 2006 at 12:20 am

Posted in Fun!, Uncategorized

Partitioning HardDisks – A Tutorial

with 3 comments

This post is for my friend – Faraz, who called me up and asked me about this. So here it is.

Why Partition?

Let us imagine a scenario in which you only one partition (C:\) on your PC. And you have everything on it – all your Mp3s, movies and other documents.

The problems with a single partition are many – your OS can get corrupted, a virus which can’t be removed (yes!), a root-kit or some other problem which is forcing you to format your hard-disk. In such a case, you will lose your all data or you will be forced to backup folder-by-folder to another media – which is a tidy process itself.

This is where partitioning comes in. You have different partitions for everything. One for the OS, the other for the data and someother for your music collection.

In this way, you can safely reinstall your OS – and preserve your data.

How To?

The most common partitioning tool is Partition Magic by Norton, though it is paid (expensive)

I recommend an open source alternative (as usual) called GParted which is based on the Linux kernel. It is fast, easy and FREE.

Go over to http://gparted.sourceforge.net and download the ISO (30 MB, fits on a biz-CD). Burn it to a CD and then boot your PC from the GParted Live CD. It will allow you to create, move or resize your partitions.

Common filesystems :

Windows – FAT,  FAT32 and NTFS

Linux – ext2, swap

BTW, found a very good blog related to daily health problems. I suggest you go over and read it! Health Blog

Written by Sukhbir

August 3, 2006 at 9:07 pm