Archive for July, 2003
< --- >o<--->
C Programming stuff
- Source Code for Data Structures
- C Data Structures
- HOWTO a Linux Device Driver
- Real Time Operating Systems
- Device Drivers Tutorials
- Small tutorial on device driver programming
- Unix Device driver basics
- RTOS basics
- Steve Holmes’ C Programming Class Notes
- Porting and Compiling – GCC – Automatically defined symbols
- (Codepage)
- HTTP protocol Examples
- McGraw-Hill – Beta Release of Books
- Yet another tutorial-Programming in C
- Network and Internet Protocols
- C-C++ Programming
- 256-Color VGA Programming in C – Home
- Cprogramming.com Your Resource for C++ Programming!
- Recommended C Style and Coding Standards
- C Language Tutorial
- C Programming
- Brian W. Kernighan: Programming in C: A Tutorial
- The Ten Commandments for C Programmers (Annotated Edition)
- Brian W. Kernighan: Programming in C: A Tutorial –
- A Tutorial on Pointers and Arrays in C
- Tutorials
- Jim Frost’s BSD Sockets: A Quick And Dirty Primer
- Steve Holmes’ C Programming Class Notes
- Developing multithreaded applications (IBM PartnerWorld for Developers)
- C/C++ User’s Journal
- Snippets of C code
- Algorithm Design Paradigms – Overview
- Lecture Notes – Analysis of Algorithms
- Online C Textbook (Hawaii)
- Programming in C
- C tutorial (Unice, France)
- Introduction to C Programming
- Online Mysql tutorial
- How do Socket Connections Operate…
- ANSI C on UNIX
- C++ Annotations
- C++ Glossary
- Computer Graphics, 2nd Edition, C Version
- C programming contest
- C Problem Set
- C++Tutorials
- C system calls
- The C Library Reference Guide
- Kernighan and Ritchie Solutions
- C Programming
- Data Structures in C
- C Programming Yet another
- Controlling The Real World With C
- Programming: C Examples
- alan/tutorials/tcpip/sample-code
- Applications Programming in ANSI C
- The C Library Reference Guide
- Free Online Books
Linux/Unix related stuff
- Debugger(GDB) related links
- More Linux Tutorials
- UNIX documents
- Porting and Compiling – GCC – Automatically defined symbols
- Linux Application Development: readpass.c.html (tcsetattr/TCSAFLUSH test)
- Unix Socket FAQ (routing packets through a particular interface)
- Installing Linux and Getting Started
- Linux Kernel Module Programming Guide
- Asynchronous Socket Programming
- Programming in C Unix System Calls and Subroutings using C
- 256-Color VGA Programming in C – Home
- The #LinuxOS Webpage Linux Programming
- The Linux Programmer’s BouncePoint
- Linux Kernel Module Programming Guide
- Unix socket FAQ for network programming
- Unix Programming FAQ – Table of Contents
- The Unix Secure Programming FAQ
- UNIX Network Programming
- The Linux Programmers Guide
- Linux Documentation (excellent!)
- GTK+ Documentation
- Unix Programming Frequently Asked Questions – Table of Contents
- Jim Frost’s BSD Sockets: A Quick And Dirty Primer
- Jim Plank’s System Programming Course
- J. Mark Shacklette’s Unix Systems Programming Course
- Peter Burden’s Systems Programming and Operating Systems Course
- Dave Marshall’s Programming in C: UNIX System Calls and Subroutines using C
- James M. Rogers’ The Standard C Library for Linux, part 7 (Linux Gazette)
- Fernando Matía’s Kernel Korner: Writing a Linux Driver (Linux Journal Article)
- An introduction to Linux/Unix programming
- Linoleum – Linux Programming Resources
- Linux Kernel Module Programming Guide
- The unix programming environment
- Programming UNIX Sockets in C – Frequently Asked Questions
- UNIX System Calls and Subroutines using C
- Unix Systems Programming
- Online C Textbook (Hawaii)
- The GNU C Library – Table of Contents
- How do Socket Connections Operate…
- The Traditional Vi
- Unix Systems Programming – Examples
- Linux Complete Command Reference
- Program Development using Unix
- Compiling a New Kernel
- Shell Programming
- Secure Programming for Linux and Unix HOWTO
- C Programming Yet another
- The Benefits of Linux
- The Linux Programmer’s Guide
- NCURSES Programming –HOWTO
- Text-Terminal-HOWTO
- Beej’s Guide to Unix Interprocess Communication
- The Linux keyboard and console HOWTO
- UNIX Unleashed, Internet Edition
- UNIX System Calls and Subroutines using C
- WANT TO DO SOME GUI..Here is one small tutorial about GLADE
- Another tutorial about GLADE !
- Sample GTK WidgetsC
- Glade to C translator…My be usefull
Website Designing stuff
- For Atom
- For web standards
- cssvault
- forum4bloggers
- A List Apart Magazine..for XHTML/CSS
- Webdesign- Tools and Wizards
- Listamatic: Listamatic: one list, many options
- Online Mysql tutorial
- HotScripts.com::PHP Scripts..
- Web designing Basics…
General
- PANDE.TK….It’s my home page !
- Linuxtoday…linux news !
- Beigetower….Free PHP/Mysql hosting
- Slashdot..News for nerds !
- Mandrake Linux….i just Love this Linux distribution !
- Yahoo
- Rediff
- Latest hindi movie Songs..LatestHitz(In real player format)
- Online Indian music
- Distrowatch..
- 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
- KDE 3.X as Desktop.
- Koqueror.
- Firefoxfor browsing.
- Kmplayer watching movies.
- XMMS for MP3.
- GIMP.
- Sodipodi.
- XawTV for watching TV.
- AVICAP for Video capture.
- Yahoo Messenger..
- Mozilla Composer for website design.
- K3B for CD writing.
- GFTP for uploading.
- Anjuta for Development.
- GLADE….GUI builder for GTK+.
- Kuickshow for image viewing.
- Prozgui as download manager.
Frequently using applications under Windows2000
- Ulead Video Studio for Video capture
- Adobe Photoshop for image edting
- Macromedia Dreamweaver for website design
- Ahed Nero for CD writing.
- Jiao system’s VCD Cutter for making clips from VCD
- Firefox for browsing
- Yahoo Messenger for both Voice and video chat
- Filezilla for uploading
- DAP 5 for downloading
- Winamp for MP3
- Cooledit for Audio Recording
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 ”
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
http://www.megaupload.com/?d=PL6DJLYI
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…
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
Sambhala Hain maine – All Time Favorite…
Check this song… the best ever from Kumar Sanu !
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
You are currently browsing the pande.info blog archives for July, 2003.

