Saturday, June 6, 2015
Wednesday, May 27, 2015
Solution for ACM-ICPC world finals 2015 Problem A : Amalgamated Artichokes
Saturday, January 4, 2014
Using Arduino Analog Pins to Interact with LCD
Display
|
Original
|
Our Experiment
|
RS
|
12
|
A0
|
RW
|
GND
|
GND
|
EN
|
11
|
A1
|
D4
|
5
|
A2
|
D5
|
4
|
A3
|
D6
|
3
|
A4
|
D7
|
2
|
A5
|
Posted by
Xitij Shukla
at
11:24 PM
0
comments
Labels: Analog Pins, Arduino, LCD
Sunday, February 12, 2012
A Dream Undergrad Computing Institute
| Sr. | Position | Position Held By |
| 1. | Principal Director | Prof. Edsger Wybe Dijkstra |
| 2. | Research Director (Software Projects) | Prof. Andrew S. Tanenbaum |
| 3. | Research Director (Hardware Projects) | Mr. Steve Wozniak |
| 4. | Laboratory Coordinator | Prof. Ken Thompson |
| 5. | Laboratory Assistant | Mr. Linus Torvalds/ Mr. Bram Cohen |
| Sr. | Course | Taught By |
| 1. | Mathematics | Prof. Srinivas Ramanujan |
| 2. | Technical Communication for Computing Science | Prof. Donald E. Knuth/ Prof. Tim Berners-Lee |
| 3. | Computer Architecture | Prof. John von Neumann/ Prof. Seymour Cray |
| 4. | Theory of Computing | Prof. Alan Turing |
| 5. | Algorithms | Prof. Ronald Rivest |
| 6. | Operating Systems | Prof. Denis Ritchie/ Prof. Rob Pike |
| 7. | Compiler Design | Prof. Brian Kernighan/ Prof. James Gosling |
| 8. | Object Oriented Programming | Prof. Bjarne Stroustrup |
| 9. | Computer Networks | Prof. Leonard Kleinrock |
| 10. | Database Systems | Prof. Edgar F. Codd |
| 11. | Artificial Intelligence | Prof. John McCarthy |
Posted by
Xitij Shukla
at
8:00 PM
0
comments
Labels: Great People
Friday, October 21, 2011
Missing dmr!!

Posted by
Xitij Shukla
at
7:57 PM
0
comments
Thursday, October 6, 2011
Nostalgic Devices!
After more than two and a half years, very abruptly I am back to the Blogger dashboard. The Dussera holiday began with the hot saffron flavored Jalebies however, there were a sad news of the demise of Steve Jobs.
Coincidentally, these days I am reading iWoz by Steve Wozniak and Gina Smith a late-birthday gift by a student turned friend turned colleague Prof. Devji Chhanga.
This text reminded me of my memories of the past. I try to enlist those devices, which I have had a chance ever to work with.
CASIO FX 795P
Monday, June 15, 2009
The Grid Approach Towards Fighting Swine Flu
Today's one of the similar challenge for the human race is to fight against the pandemic Swine Flue or Influenza H1N1. An adorable initiative has been started to delegate and utilize the idle computational cycles of voluntary contributor computers to find the best matching chemical compounds to fight against the virus.
For more information the visitor is requested to visit http://www.worldcommunitygrid.org/projects_showcase/flu1/viewFlu1Main.do . Even you can contribute in this and other projects that are helpful for the entire human race, just by downloading a small program and voluntarily contributing the idle computational cycles of your computer from http://www.worldcommunitygrid.org/reg/viewRegister.do .
Posted by
Xitij Shukla
at
8:43 PM
1 comments
Labels: grid
Wednesday, May 6, 2009
List of Globus 4.2.1 Commandline Tools
A very handy list of Globus Toolkit (GT) 4.2.1 Commandline tools can be downloaded in PDF format from http://www.globus.org/toolkit/docs/4.2/4.2.1/commands/gtCommands.pdf with due thanks to http://www.globus.org.
Saturday, November 8, 2008
Connecting A USB Mobile with AIRTEL GPRS connection to Internet in Linux
The steps to be followed are as under:
1. edit /etc/wvdial.conf in your favourite text editor and make these changes:
[Dialer Defaults]
Init1 = AT+CGDCONT=1,"IP","airtelgprs.com"
Modem Type = USB Modem
Phone = *99#
Password = pass
Username = user
Modem = /dev/ttyACM0
Baud = 460800
2. In the 2'nd line Init1 shows the initialization string for your phone. airtelgprs.com will be the acceess point of you are using Airtel GPRS. For other carriers kindly contact your Internet Service Providor. The second last option Modem is the USB device, which may be traced by supplying the command dmesg | grep "ACM"
3. issue the command # wvdial and note down the DNS addressses. Now just disconnect by pressing Ctrl + C or somthing similar.
4. now some extra tweakings, despite doing these changes I was unable to browse the Internet, and heuristic worked here:
edit the file /etc/resolv.conf and append it with obtained Name servers, something like this:
search xxx.yyy.ppp.qqq
nameserver xxx.yyy.ppp.qqq
nameserver xxx.yyy.ppp.abc
5. Now it is almost ready to surf, just open a console and issue command # wvdial
6. Open Firefox and go to File -> Uncheck on Work Offilne option.
Now it is ready to!
Posted by
Xitij Shukla
at
5:41 PM
0
comments
Labels: Linux GPRS Airtel USB
Wednesday, March 19, 2008
Google's Summer Double Bonanza Offer!!
Freinds, this time we are talking on something else and no linux, no PI, no supercomputing.
On March 19, 2008 around 5.20 pm IST, (GMT +5.5) the orkut server suddenly seemed to have started a double bonanza offer and the number of scaps and fans was doubled. However, this lasted for only 10 minutes and hats off to the google people as the problem was resolved !! Can't beleive?? See the following screenshots.
Posted by
Xitij Shukla
at
5:59 PM
2
comments
Thursday, February 28, 2008
Install Linux from iso image without buring on CD
There are some pre-requisites for this task, which are as follow:
-> Copy the zenwalk iso in your home folder say /root/home
-> Execute the following commands :
#mkdir -v /mnt/zenwalk
#mount -o loop /root/home/zenwalk-x.x.iso /mnt/zenwalk
#mkdir -v /boot/zen_iso
#cp /mnt/zenwalk/isolinux/*.* /boot/zen_iso
-> Now fire up your favourite text editor, open /boot/grub/menu.lst for edititing and paste the following lines at the end:
title Install Zenwalk
root (hd0,x)
initrd /zen_iso/initrd.splash
-> Now save your work, you have edited your GRUB so that it will take you to the Zenwalk kernel
-> Reboot your system and select 'Install Zenwalk' option
-> This will start your Zenwalk kernel
-> Escape from installation menu
-> Mount your existing linux partition somewhere at /mnt/linux by the following command:
#mkdir -v /mylinux
#mount /dev/hdx+1 /mylinux
-> Mount the Zenwalk iso image from this partition as given below:
#mkdir -v /zw_install
#mount -o loop /mylinux/root/home/zenwalk-x.x.iso /zw_install
-> Restart the Zenwalk installation program by the following command
#setup
-> Specify the 'other' location to be /zw_install
-> Proceed to the installtion process
This should install the Zenwalk without burning it to a DVD/CD!Note: To determine your linux partition you may use lvmdisscan grep "hda" command
Posted by
Xitij Shukla
at
3:48 PM
1 comments
Saturday, January 26, 2008
Easiest Way Finding PI
- Inscribe a circle in a square
- Randomly generate points in the square
- Determine the number of points in the square that are also in the circle
- Let n be the number of points in the circle divided by the number of points in the square
- PI ~ 4 n
- Note that the more points generated, the better the approximation
A simple C program for the same may be downloaded from here:http://equinox-northeast.110mb.com/xus/pi.c
kindly send your feedbacks and bug reports on xitij1983@rediffmail.com
Posted by
Xitij Shukla
at
8:51 PM
3
comments
Labels: pi
Sunday, December 23, 2007
Recover the Linux Boot Loader (Grub)
- You need a bootable Linux CD (Preferably a live CD)
- Please note that the Linux partiton for which you are going to recover the MBR should be installed on an un-encrypted filesystem
- Boot with the bootable linux CD
- Invoke the shell
- Give the following commands
- # grub (This will drop you on the grub prompt)
- grub>geomettry (hd0) (Your Primary Hard Drive. Determine the Linux Partition number say "n")
- grub>root (hd0,n) ("n" is your linux partition searched by the previous command)
- grub>setup (hd0,n)/boot/grub/menu.lst
- quit
Voila!!.... just restart your computer and find your previous MBR restored!!
Posted by
Xitij Shukla
at
7:33 PM
1 comments
Sunday, December 16, 2007
All new Top500 along with one at India in Top5
Posted by
Xitij Shukla
at
11:26 PM
0
comments
Labels: Nov07, Top500-1107
Friday, June 29, 2007
2007's first Top500 list is out leaded by BlueGene!
Posted by
Xitij Shukla
at
4:28 PM
3
comments
Sunday, June 17, 2007
The unending π game
- A very good history of these efforts : http://www.codehappy.net/pi.htm
- An illustrative collection of different methods for calculating this magic figure: http://documents.wolfram.com/v5/Demos/Notebooks/CalculatingPi.html
- Algortihms and code to achieve π (PI) for mathamatics and computer science experts: http://www.cygnus-software.com/misc/pidigits.htm
- An incradible PI search page to find digits upto 200 million PI digits: http://www.angio.net/pi/piquery
- Leibniz's formula on wikipedia : http://en.wikipedia.org/wiki/Leibniz_formula_for_pi
- Collection of PI formula applied by various people: http://www.colab.sfu.ca/PiDay/3_14/PiTOC.html
- A nice collection of binaries as well as sources programs for PI: http://myownlittleworld.com/miscellaneous/computers/pilargetable.html
Posted by
Xitij Shukla
at
9:58 AM
1 comments
Friday, June 1, 2007
Fedora 7 is released excluding the "Core"!!
Posted by
Xitij Shukla
at
9:50 AM
2
comments
Sunday, May 20, 2007
From Giga Flop to Tera Flop!
- Intel Paragon XP/S @ Touchstone Delta System CalTech, 1993, 143.4 Gigaflops
- Fujitsu Numerical Wind tunnel @ National Aerospace Laboratory Japan, 1993, 170 Gigaflops
- Thinking Machine Corporation, CM-5, 1995
- Hitachi CP-PACS, 368.2 Gigaflops, 1996
Here comes the second phase: (Observe the hike in performance)
- IBM ASCI-Red @ Sandia National Laboratories, New Mexico, 1338 Gigaflops, 1997
- IBM ASCI-Red @ Sandia National Laboratories, New Mexico, 2121 Gigaflops, 1999
- IBM ASCI-White @ LLNL, 7304 Gigaflops, 2000
Here comes the third but slightly short phase:
- NEC, The Earth Simulator @ the Earth Simulator Center (ESC), Japan, 35860 Gigaflops, 2002
Finally Supercomputers delivers @ Teraflops, it is really increadible.
- IBM Blue Gene @ LLNL, 280.6 Teraflops (An increadible 280600 Gigaflops), on the top since 2004
Friends, this progress is just a glimpse of last 13-15 years, but the entire hardware as well as software technology behind this phenomena is now around almost 65 years old. To conclude this entery we have to remember Mr. Gordon Moore once again to just predict the future of Supercomputing!!
By the way the next list of top500 is to be launched in the June 2007 at ISC 07, Germeny (http://www.supercomp.de/). We will be back here again on this topic as the new list is declared..... till then wait for YABP!
Posted by
Xitij Shukla
at
2:31 PM
3
comments

