< --- >o<--->

C Programming stuff

  1. Source Code for Data Structures
  2. C Data Structures
  3. HOWTO a Linux Device Driver
  4. Real Time Operating Systems
  5. Device Drivers Tutorials
  6. Small tutorial on device driver programming
  7. Unix Device driver basics
  8. RTOS basics
  9. Steve Holmes’ C Programming Class Notes
  10. Porting and Compiling – GCC – Automatically defined symbols
  11. (Codepage)
  12. HTTP protocol Examples
  13. McGraw-Hill – Beta Release of Books
  14. Yet another tutorial-Programming in C
  15. Network and Internet Protocols
  16. C-C++ Programming
  17. 256-Color VGA Programming in C – Home
  18. Cprogramming.com Your Resource for C++ Programming!
  19. Recommended C Style and Coding Standards
  20. C Language Tutorial
  21. C Programming
  22. Brian W. Kernighan: Programming in C: A Tutorial
  23. The Ten Commandments for C Programmers (Annotated Edition)
  24. Brian W. Kernighan: Programming in C: A Tutorial
  25. A Tutorial on Pointers and Arrays in C
  26. Tutorials
  27. Jim Frost’s BSD Sockets: A Quick And Dirty Primer
  28. Steve Holmes’ C Programming Class Notes
  29. Developing multithreaded applications (IBM PartnerWorld for Developers)
  30. C/C++ User’s Journal
  31. Snippets of C code
  32. Algorithm Design Paradigms – Overview
  33. Lecture Notes – Analysis of Algorithms
  34. Online C Textbook (Hawaii)
  35. Programming in C
  36. C tutorial (Unice, France)
  37. Introduction to C Programming
  38. Online Mysql tutorial
  39. How do Socket Connections Operate…
  40. ANSI C on UNIX
  41. C++ Annotations
  42. C++ Glossary
  43. Computer Graphics, 2nd Edition, C Version
  44. C programming contest
  45. C Problem Set
  46. C++Tutorials
  47. C system calls
  48. The C Library Reference Guide
  49. Kernighan and Ritchie Solutions
  50. C Programming
  51. Data Structures in C
  52. C Programming Yet another
  53. Controlling The Real World With C
  54. Programming: C Examples
  55. alan/tutorials/tcpip/sample-code
  56. Applications Programming in ANSI C
  57. The C Library Reference Guide
  58. Free Online Books

Linux/Unix related stuff

  1. Debugger(GDB) related links
  2. More Linux Tutorials
  3. UNIX documents
  4. Porting and Compiling – GCC – Automatically defined symbols
  5. Linux Application Development: readpass.c.html (tcsetattr/TCSAFLUSH test)
  6. Unix Socket FAQ (routing packets through a particular interface)
  7. Installing Linux and Getting Started
  8. Linux Kernel Module Programming Guide
  9. Asynchronous Socket Programming
  10. Programming in C Unix System Calls and Subroutings using C
  11. 256-Color VGA Programming in C – Home
  12. The #LinuxOS Webpage Linux Programming
  13. The Linux Programmer’s BouncePoint
  14. Linux Kernel Module Programming Guide
  15. Unix socket FAQ for network programming
  16. Unix Programming FAQ – Table of Contents
  17. The Unix Secure Programming FAQ
  18. UNIX Network Programming
  19. The Linux Programmers Guide
  20. Linux Documentation (excellent!)
  21. GTK+ Documentation
  22. Unix Programming Frequently Asked Questions – Table of Contents
  23. Jim Frost’s BSD Sockets: A Quick And Dirty Primer
  24. Jim Plank’s System Programming Course
  25. J. Mark Shacklette’s Unix Systems Programming Course
  26. Peter Burden’s Systems Programming and Operating Systems Course
  27. Dave Marshall’s Programming in C: UNIX System Calls and Subroutines using C
  28. James M. Rogers’ The Standard C Library for Linux, part 7 (Linux Gazette)
  29. Fernando Matía’s Kernel Korner: Writing a Linux Driver (Linux Journal Article)
  30. An introduction to Linux/Unix programming
  31. Linoleum – Linux Programming Resources
  32. Linux Kernel Module Programming Guide
  33. The unix programming environment
  34. Programming UNIX Sockets in C – Frequently Asked Questions
  35. UNIX System Calls and Subroutines using C
  36. Unix Systems Programming
  37. Online C Textbook (Hawaii)
  38. The GNU C Library – Table of Contents
  39. How do Socket Connections Operate…
  40. The Traditional Vi
  41. Unix Systems Programming – Examples
  42. Linux Complete Command Reference
  43. Program Development using Unix
  44. Compiling a New Kernel
  45. Shell Programming
  46. Secure Programming for Linux and Unix HOWTO
  47. C Programming Yet another
  48. The Benefits of Linux
  49. The Linux Programmer’s Guide
  50. NCURSES Programming –HOWTO
  51. Text-Terminal-HOWTO
  52. Beej’s Guide to Unix Interprocess Communication
  53. The Linux keyboard and console HOWTO
  54. UNIX Unleashed, Internet Edition
  55. UNIX System Calls and Subroutines using C
  56. WANT TO DO SOME GUI..Here is one small tutorial about GLADE
  57. Another tutorial about GLADE !
  58. Sample GTK WidgetsC
  59. Glade to C translator…My be usefull

Website Designing stuff

  1. For Atom
  2. For web standards
  3. cssvault
  4. forum4bloggers
  5. A List Apart Magazine..for XHTML/CSS
  6. Webdesign- Tools and Wizards
  7. Listamatic: Listamatic: one list, many options
  8. Online Mysql tutorial
  9. HotScripts.com::PHP Scripts..
  10. Web designing Basics…

General

  1. PANDE.TK….It’s my home page !
  2. Linuxtoday…linux news !
  3. Beigetower….Free PHP/Mysql hosting
  4. Slashdot..News for nerds !
  5. Mandrake Linux….i just Love this Linux distribution !
  6. Google
  7. Yahoo
  8. Rediff
  9. Latest hindi movie Songs..LatestHitz(In real player format)
  10. Online Indian music
  11. Distrowatch..
  12. Hindi MIDI karoake songs

+

SOMETHING ABOUT LINUX INSTALLATION…

Before anything…
Let me clarify…everything here, is what I understood till date, if any mistakes PLEASE let me know.

Now I assume this!
. you have windows 9x/2000/XP
. And knows how to install Windows (‘;’)
. there is some 3GB free space on the hard drive.
. have 3 CDs (or more) of RPM based LINUX DISTRIBUTION (eg. Red Hat, Mandrake, SuSE ..etc)
. Most IMP of all…knows why you are installing LINUX ! (more…)

About ME . .


It’s me, Pande, Srinivas, deshya, Puttya, deshpande, Shree, Shreenath . . .whatever !
Currently working as a S/W Engineer in Bangalore, so called Silicon Valley of India.
Born and brought up in Haveri, a city(!) in North Karnataka where I finished my primary school, high school and also PU. Then on, I completed my BE(Mech) from UVCE in 2001.

About this site


First of all “Happy Browsing“;

Main contents



- Linux related stuff
- Web design
- Customizing KDE desktop
- C Programming.
- Some of my projects like SRIasm, OLTP, teldir, XCC…etc.
- Lots of photos with my friends,family….
- and Some of my Karaoke songs, so in case you are a Bathroom singer,can get some cool links to karoake MIDI songs and you also can try to sing along ;-)

If anything you want to tell, feel FREE to CONTACT

Frequently using applications under Mandrake Linux


Frequently using applications under Windows2000


Some comedy clippings from Johny lever and others !


Note: Please copy the URL and paste it in your browser and wait for some 40sec to get the Download link.

Here are tw0 clippings from film Miss 420 . . . –>
1) http://www.megaupload.com/?d=SRRHOHIV
Johny lever as TonyASM, means ” Aap Ki Seva Main ” :lol:
2) http://www.megaupload.com/?d=6LQP0GHT
Johny lever in sad mood :(

Here is a clipping from an unknown film . . . –>
http://www.megaupload.com/?d=8H2OAL9T
Johny lever as Tempo Khan with some latest news ;-)

Here is a clipping from film Saajan Chale Sasuraal . . . –>
http://www.megaupload.com/?d=HZ801ULS
Do wife problem ;-)

Here is a clipping from film Humraaz –>
http://www.megaupload.com/?d=FAADGYKK
India and America waar, if Shipping industry would have been in America ;-)

Here is a clipping from film Baadal –> http://www.megaupload.com/?d=2KXVBNI3
Sardar Gulerji’s funde regarding Suicide and time :)

Check this clipping from The Great Indian Laughter Champions, it’s Raju Srivastava
The Great Indian Laughter Champion, Raju Srivatsava !
http://www.megaupload.com/?d=PL6DJLYI

(more…)

Music ‘n’ Fun

You can download some karoake file in .mid format from the web.
I downloaded from Geetnet.
Here are some of them…
1.Chalte Chalte..
2.Pukarata Chalahon main..from Mere sanam
3.Chehara hai…from Sagar
4.Hamko hameese churalo…from Mohobatain
5.Pal pal dilke paas…from Blakmail
Want More………Click here
**U have to download one karoake player like Vanbasko’s Karoake Player

OLTP…

OLTP



What Is This..
——————–
‘oltp’ is a simulator for online transaction processing in a multiuser system
like UNIX/LINUX.A real time oltp application can process transactions(READ-WRITE-
MODIFCATION on a master data base file) done on different terminals with only one
system as server & all connected through a network.

Why I Wrote oltp:..
—————————
I finished my training on “Advanced C/UNIX” in “Uttara-Software training Centre,
Bangalore”.At the end of training we have to do one project in C on UNIX platform.
And oltp is “the best” assignment which has most of the Unix/Linux internals.
In real time, there will be a network through which all processes on different
terminals should communicate.But in HOME…a simulator & that is….oltp.

Two classes of SOLUTIONS to Concurrence Problem..
————————————————-
1.Decentralized OLTP:
Here every process is going to have READ-WRITE-MODIFY permissions on master database
file.Here one can use File locking/Data locking to along with some semaphores to
protect the integrity of the Master Database file.
2.Centralized OLTP:
Here only one process has got READ-WRITE-MODIFY permissions on master database file
& is called server process running as deamon.All other processes have request this
server to their job.This what is called as a Clint-Server Model.
“oltp” –what I wrote is also a simulator for Clint-Server Model.

About System/OS..
—————–
I wrote oltp on My PC with
-Mandrake Linux 8.2 [As UNIX environment]
-ncurses v5.2.x [For User Interface for Unix terminal]

Overview of oltp..
————————
1.A header file [oltp.h] with structure definitions for our message,account etc.
2.A server.c [server_oltp.c] having all IPC initilisation routines like semget(),
msgget()..etc.Also routines like setpgrp() for Deamon process.
3.A clint.c [clint_oltp.c] with some user interface to get user input.

Befor Going through the CODE..
——————————
-You should have a fair ammount of knowledge about system V IPC.
-Curses.

Books I am Referering..
—————–
-UNIX Network Programming…By W.Richard Stevens
-Vijay Mukhi’s– The ‘C’ Odyssey

How Server & Clints Interacting..
———————————
–They are communicating through a massage que with OLTP_MSGID[..in oltp.h].
–We have our own OLTP_MSG_BUFF for massage.Server is waiting for the clint to
send massages then replies back to clint.

Channels of communication..
—————————
–Clints are requsting for channel to the server for future communication through
Master Channel[MASTER_CHAN].
–Server is sending replies through massage que with massage type as clint PID
–Usage of PID is just for the simplicity.In real time..We have to go for some other
Technique.

About User Interface using ncurses..
————————————
– I am using ncurses for the first time..Please EXCUSE ME ! ! !
– You can ALWAYS get documentation at – HERE

About Files,Compilation..
————————-
–Compile clint_oltp.c using gcc ./clint_oltp.c -lncurses -o ./oltp_clint
–Compile server_oltp.c using gcc ./server_oltp.c -o ./oltp_server
[ELSE use script "ccoltp" to do JUST that.]
To get two excutables in current directory.

Run:

$./oltp_server install————- /*To create MDF.dbase in current dir.*/

$./oltp_server start ———/*To start oltp_server as DEAMON which
is dumping all logs in a file OLTP_server.log
in current dir*/

$tail -f ./OLTP_server.log ———————–/*To Monitor logs*/

$./oltp_clint———————– /*To start a clint process*/

$./OLTP_server stop —————–/*to remove semaphore & message que if for some reason server dies unexpectedly to remove semaphore & message que*/

Download the source code – HERE

Don’t forget to leave your comments – HERE

Deep Blue C….

Don’t forget to leave your comments – HERE

Debugger (GDB) related links

  • RMS’s gdb Tutorial
  • A quick tutorial on using gdb, the GNU debugger
  • GDB Slides
  • Yet another GDB Tutorial
  • ..
  • Sambhala Hain maine – All Time Favorite…

    Check this song… the best ever from Kumar Sanu !

    Sambhala Hain maine – Naraaz

    Welcome to the world of LINUX ! !

    Some HOWTOs



    How to NVIDIA on LINUX
    When u install Mandrake linux it auto detects nvidia, and loads module “nv” which is I think default driver for nvidia based cards.If u want better performance, then goto nVIDIA Driver Page download latest BIN file (eg. NVIDIA-Linux-x86-1.0-4349.run)
    How to install?
    It is recommended that first u change your run level to 3 (Open file “/etc/inittab ” in any editor change Runlevel:3) then “REBOOT”.
    Login at prompt.
    $cd /WHAT/ EVER/ DIR/CONTAINING/DOWNLOADED/RUNFILE
    $./ NVIDIA-Linux-x86-XXX.run
    Open “/etc/X11/XFREE86-4
    Replace
    Driver “nv” line BY Driver “nvidia”
    Then
    $startx
    If everything is fine, u should see “nvidia logo”
    And if there is some display problem u have to reboot.
    Now u can set Runlevel to 5 (again editing that “/etc/inittab” file).

    How to Internel Modem(WINMODEM) on LINUX
    If you are lucky?then u may get driver (in rpm or tz format) from vendor driver page.
    If you get RPM,
    Very simple.
    $rpm -ivh driver_xxx.rpm
    open “kppp ” in xwindow terminal and your ISP accordingly.
    If you get TZ format, (assuming u already installed Kernel sources)
    $tar -xvzf driver_xxx.tar.gz
    $cd driver_xxx
    $make
    If everything is fine do
    $make install.
    To confirm, just
    $lsmod
    to see which are all the modules loaded.
    Let us take eg,
    If u have Mototrola SM56 internal modem…
    I think Motorola site have driver for RH 7.1 “sm56_RH_xxx.rpm ” (just guessing)
    (Recently i visited a site, SM56.TK..Visit for more info.)
    $rpm -ivh sm56_RH_xxx.rpm
    $insmod sm56 —manually inserting sm56 module
    $lsmod —–You should see an “SM56″ entry in the table

    And if you have Conexant chip, no problem
    I think you get driver for RedHat,Mandrake,SuSe including for their latest release Here OR Here
    Just install that rpm..using
    $rpm -ivh hsf_XXXXX.rpm
    Follow the instructions..

    STILL MORE TO COME ! !

    Something about Mandrake Linux Installation..



    This is a small article about Mandrake Linux installation…

    And is almost same for All mandrake latest releases( Mandrake 8.1,8.2,9.0, and 9.1)

    ..MORE

    Some recently downloaded apps..



    I rescently downloaded some applications. Those are..
    * Opera 7.x (also have 6.x).
    * Real Player.
    * Netscape 4.x
    * Java Pluggin.
    * Cross Over Pluggin(DEMO).
    * NVIDIA-Linux-x86-1.0-4349.run (latest driver build for NVIDIA cards).
    * DOOM (Linux Version).
    * Some Billard games like BillardGL-1.75-6.i386,foobillard-2.0-1.i586..etc.

    I can’t put these apps here..and ofcoarce u can download these from the net.
    But if u urgently need, u can contact ME

    ( c ) Shreenath Deshpande 2003++