Nifty Tricks !

26 10 2009

Trick 1:Running a simple HTTP / FILE server:

Supposing you have a folder where you have mirrored a repository and now want to use it instead of the on line (Over the Internet) repo.
So, since most Linux…et all OS es have PYTHON by default ,

cd to the mirror folder and execute
$python -m SimpleHTTPServer 9914
NOTE:here 9914 is an arbitrary port number, can be any unused port.

Trick 2:Resuming Torrent Downloads:
Recently because of some reason my ubuntu 8.10 which i was using for a long time, crashed. I had lots of unfinished torrent downloads there.
Not knowing what to do, i took a copy of the incomplete downloads and headed over to 9.04 and then copied them to Transmission Torrent client’s default download location and downloaded the same torrent files, to my amazement the
downloads resumed !





The UI of the Future

21 10 2009

The 10/GUI desktop UI is quite good though not revolutionary (Already existing on mobile phones)
Here is a brief preview of the concept.

10/GUI from C. Miller on Vimeo.





Just got My 9600GT & Corsair SMPS.

20 09 2009

I recently got my 9600GT along with a 450W Corsair SMPS and they are sweeeet ! :-)
Though i am very excited with my new toys here are a few preliminary observations about them:
1.The SMPS has got no fan and so makes ZERO noise.
2.The glxgears in my ubuntu 8.10 box maxed at 8700FPS in contrast to 1200FPS of the built in ATIx1250 Graphics Card.
3.The card comes with a cable to connect to my TV (That’s neat !).
4.The Nvidia drivers for Ubuntu are so good that they pointed out that i had not connected a power cable to my Graphics card :-p (Man this is good !!!).

For now i just feel like getting submerged in the millions of colors and realistic virtual worlds fed by the juice of my Graphics Card.
Haaaaaaaaah !

Kunal Ghosh
(kunalghosh)





Database Project

19 09 2009

The DB Design

The DB Design


We were asked by our Database professor to design and implement a Database for storing details of Practical Exams of our Department as a Mini-Project.
Though we were not given any particular goal, with this design of mine i aim to write an application which will generate the time table given a start date of the Practicals.
I have made following “Application” Design Decisions in this draft (Random Order):
1.Alternate semesters can have labs simultaneously.
2.Clash of Dates ,ie student’s regular and arrears are scheduled on the same day at the same time, are avoided by scheduling the Pracs of higher semesters first.
3.Some labs are subject specific. i.e. we should have Analog Electronics Prac only in a particular lab.

Thats all for this Draft. :-)
Kunal Ghosh
(kunalghosh)





XKCD at its best !

25 06 2009


(PS:ACK, i first saw it at Animesh Bhaiya’s Blog).





Guys check out Microsofts latest offering, and its not Windows !

3 06 2009

Guys i happened to chance upon Microsoft’s project Natal and it sure is impressive. Go have a look for your self: YOUTUBE





Quick Tips: Absolute SVN (subversion) basics.

20 05 2009

The very basic after installing SVN on your computer is to perform
CASE 1: In case you want to use svn offline.
1.svnadmin create /directory/path
NOTE:assuming you were working on some code copy the code to the svn directory.
2. cd /directory/path
3. “svn add .” OR “svn add –force .”
4. svn commit -m ” commit message”

CASE 2: In case you want to use svn with some online repository.
1.svn co http://path (enter username and password if prompted).
NOTE: do STEP 1 even if the SVN repo at the URL is empty
2.copy the files or directories to the Checked Out(svn co …..) directory
3.same as above.
4.same as above.

regards.

kunalghosh
(kunal ghosh)





Quick TIp: Resume svn check outs

20 05 2009

I’ve had power outages while doing svn checkouts ( method to get a local copy of source code on an online repository ), so to resume the checkout, cd to the svn working directory and issue “svn up” (without ” “) to resume the checkout.





Appjet.com Rocks !!

20 05 2009

If you have ever wondered where have all the user friendly web apps gone ? just check out Appjet.com’s recent addition the EtherPad(EtherPad.com, one such app, you’ll have to use it to realize.And if you had seen that before just check out their online IDE, i’m sure you’ll love it.
NOTE: I had blogged about Appjet.com some time back also and since then i’ve seen EtherPad and many other promising updates on the site.

kunalghosh
(kunal ghosh)





Wanna Auto-scroll , just give a missed call !!

18 05 2009

i recently observed a very strange phenomenon, place your mobile phone next to your optical mouse (I’ve got a standard logitech optical scroll mouse) and give yourself a missed call or an sms (from another phone call or sms the mobile kept next to the mouse ) and watch Firefox ( or for that matter any application having multi-line text) window auto-scroll down !! i don’t know why this happens ! any ideas ?