Categories
Uncategorized

C++ code complete

Yes, I complete my first C++ code, it took me around 10 Hours to write simple code, which an expert might take only 2 hrs to write, but since there are few things that I never tried in C++, and with my other work load, its good to do that in that less time…

Now, I have to test that code and once I does that I will be very thank ful for those help me write this code…

Thanks to all for reading this.

Sumit Gupta

Categories
Uncategorized

C++ : Quite a Good thing

As a Programmer you always want to program in C++, but also if you don’t know this language you don’t dare to learn it: atleast this is what I saw in my surrounding and fellow developers.

I learn C++ while doing my high school, this experience doesn’t include any work commerical project or for matter any kind of project accept making some basic Alogrithm Function that one learn while learning any programming language. But since than, I never touch C++, I always want to programme in it.

Know I get a chance to try my hand in this Dream Language of mine. I have to make Custom Authentication Module for Courier Imap, and you know what I doesn’t know any Unix Standard for this as I never work on C++ for *nix System.

Though I haven’t write my code yet, but tomorrow (if come for me :o) ) I will write that historic code for me, My First Professional C++ Code, and I will ask my company to allow me to post it on Net for every one looking for that code. (but don’t be hopefully in getting code, but you know you can asking on how to do it anytime.)

So I am waiting for “tomorrow” to come only 17 Hrs + left for me to write that code…

waiting …
Sumit Gupta

Categories
Uncategorized

LDAP: What it is?

I just configure my first LDAP server installation on Linux machine. A Directory service running on port no 389, that can be used for Authentication, Directory listing of person and Organization resources like computer, printer etc. is known as LDAP (Lightweight Directory Access Protocal). Don’t know whats light in it :o).

I used OpenLdap server to configure my service, So far able to add Linux based user to LDap server and can access the data from LAN machine through command line.

Will start more work on it … seems a good application all together.

Sumit Gupta

Categories
Uncategorized

Making Mail Server

I have been trying establishing local mail server, so far so ..boring. Its 3 days I have been doing this, First I thought Exim fulfill all my requirements,
I never heard of any other software other than MTAs for this requirement. I thought Exim alone is enough for making Mail server, but I was wrong, Exim fulfill one of the requirement for mail server. and it is only a MTA (Mail transfer Agent) that transfer emails from one server to other,

But it doesn’t implement POP3 and IMAP which is required for a Mail client to recieve emails from your Mailbox on to your windows or linux desktop machine.

But good point is that I easily found other required software for the purpose like courier which I am also installing on my Mail server.

Hope fully I will get it complete today itself, Getting lots of error, but good point is still going ahead

-Sumit Gupta

Categories
Uncategorized

SumitGupta.net

Just a difficult task for me to put in words, But I got my new domain http://www.sumitgupta.net, My special thanks to my Mr. Rajesh Gupta. He help me setting up this domain, so that I can shift my blog to it.

Soon I will shift my Blog to its new address, or maybe I start some other stuff there, not sure about it.

Thanks Again to “sir”.

Sumit Gupta

Categories
Uncategorized

Perl Package

Have you ever heard of Classes. OR You must have heard of packages..

I have wrote few perl scripts for my on going Project. I use procedural programming logic and perform the action I want my perl script to do. It goes all good.

But one day I got a project analysis task, It’s about Bugzilla a Bug Tracking software. I gone through its code and found a new concept. Making Packages in Perl. Now I got a Idea to implement my OOPs concept in perl. And I restart coding my perl scripts.

Now the result of my last 3 days of recode .. I reduce 40% of code

Though one thing concern me a lot if a programmer been paid for line of code he writes I get 40% less salary

Sumit Gupta

Categories
Uncategorized

Frontpage finally done

In my Last post I refer that I have install Frontpage extension for Apache. It looks like that I have complete all the things that are required, but when I try to “Extend” a Virtual Host on my apache server it fails, till later in the day I found the correct syntax to do the required…

To install Frontpage on Virtual host this works for me

./owsadm.exe -o install -t apache-2.0 -p 80 -xu testuser -xg testgroup -u testuser -p somepassword -m testuser.com -s /etc/httpd/conf/httpd.conf

To uninstall Frontpage from Virtual Host

./owsadm.exe -o uninstall -t apache-2.0 -p 80 -xu testuser -xg testgroup -u testuser -p somepassword -m testuser.com -s /etc/httpd/conf/httpd.conf

To fully uninstall I use this

./owsadm.exe -o fulluninstall -t apache-2.0 -p 80 -xu testuser -xg testgroup -u testuser -p somepassword -m testuser.com -s /etc/httpd/conf/httpd.conf

hope that will help someone…

Sumit Gupta