Programming/Testing practice (Was Re: [Ilugc] Perl script for MySQL Monitoring)

2010-05-31 Thread Arun Khan
On Mon, May 31, 2010 at 12:04 PM, Raja Subramanian
 wrote:
> It's good programming practice to always check the return values of your
> system and function calls.

Great concept,  I still remember the coding guidelines that we had to
follow as a developer for embedded system  (local tel. switching
system) in a large MNC, w/o which your code would fail code inspection
and could not be submitted for integration; to name a few (a)
initialization of variables (especially pointers - C was the lang.) ,
(b) return error codes, (c) check error codes.  For testing, cases
were required to test boundary value conditions besides the "sunny"
day scenarios.

-- Arun Khan
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] tell the forthcoming events in june ?

2010-05-31 Thread Kenneth Gonsalves
On Monday 31 May 2010 12:25:26 Ravi Jaya wrote:
> > > > > As you are interest in learn python and LAMP stack
> > >
> > > L - Linux
> > > A Apache httpd
> > > M MySQL
> > > P PHP
> 
> with context of the workshop. in LAMP,  P stands for PHP.  They might be
> planned to cover PHP, thats what I mean.
> 

what you mean is irrelevant - use the term correctly - if you want, mention 
that you will be covering LAMP using linux, apache, mysql and php. I for 
example, conduct LAMP workshops using linux, nginx, python and postgresql.
-- 
regards
kg
http://livejournal.com/lawgon
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] tell the forthcoming events in june ?

2010-05-31 Thread balachandar muruganantham
what you mean is irrelevant - use the term correctly - if you want, mention
> that you will be covering LAMP using linux, apache, mysql and php. I for
> example, conduct LAMP workshops using linux, nginx, python and postgresql.
>


LAMP workshops using linux, nginx, python and postgresql is *not* correct.
It is LNPP then.

LAMP stands for Linux, Apache HTTP, MySQL, Perl / PHP or may be Python

- balachandar muruganantham
உலகம்.net - இலவச தமிழ் வலைப்பதிவுச் சேவை - http://ulagam.net
எனது தமிழ் பக்கங்கள் - http://www.balachandar.net/pakkangal
Beyond Work - http://beyondwork.wordpress.com/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] KanchiLug Conducting Boot Camp, Day-1

2010-05-31 Thread jemenisuresh
Dear All,
Greetings.

KanchiLug folks are conducting Boot Camp-1 for Freshers/Students from
today (31.05.2010) to Saturday (05.06.2010) in Sakthi I.T.I, Madam
st., Kanchipuram.
Time : 3pm to 7pm

Today topics : Introduction To Linux  & Basics Commands

More info: http://kanchilug.wordpress.com/2010/05/14/kanchilug-bootcamp-1/


-- 
Regards,
Tha.Suresh

Kanchi Linux User Group Rocks 
http://kanchilug.wordpress.com

My experiences with Linux are here,
http://thasulinux.wordpress.com

BootCamp For Freshers/Students is going
to conduct by our kanchilug members
from 31 st May to 5 th June.
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] tell the forthcoming events in june ?

2010-05-31 Thread Kenneth Gonsalves
On Monday 31 May 2010 14:25:01 balachandar muruganantham wrote:
> what you mean is irrelevant - use the term correctly - if you want, mention
> 
> > that you will be covering LAMP using linux, apache, mysql and php. I for
> > example, conduct LAMP workshops using linux, nginx, python and
> > postgresql.
> 
> LAMP workshops using linux, nginx, python and postgresql is not correct.
> It is LNPP then.
> 
> LAMP stands for Linux, Apache HTTP, MySQL, Perl / PHP or may be Python
> 

please read the article quoted.

-- 
regards
kg
http://livejournal.com/lawgon
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] what is LAMP?

2010-05-31 Thread balachandar muruganantham
As per the article,
http://onlamp.com/pub/a/onlamp/2001/01/25/lamp.html

the author says
"Of course, there are plenty of excellent open source variants for any of
the pieces of LAMP. Let the L stand for Linux, FreeBSD, NetBSD, OpenBSD, and
Darwin/Mac OS X, all of which are open source operating systems and all but
the latter have open source GUI layers. Let the M stand for MySQL and
PostGreSQL. Let the P stand for PHP, Perl, Python, and Ruby."

It is the author assumption. its not what every one took it.

As per Wiki,
http://en.wikipedia.org/wiki/LAMP_%28software_bundle%29

LAMP represents Linux (any flavour), Apache HTTP, MySQL, Perp / PHP / Python
(may be )

If wiki is not correct, please read this from IBM research
http://www.ibm.com/developerworks/edu/wa-dw-wa-lamp-i.html

To keep it simple for the beginners, LAMP should represent as Linux, Apache
web server, MySQL. PHP / Perl

may be for advanced users, it can be a platform or stack or what ever.

but one should remember Linux is not OS. its just a Kernel. In that case,
LAMP abbreviation is not correct.

ps: Starting a different thread on what is LAMP.
- balachandar muruganantham
உலகம்.net - இலவச தமிழ் வலைப்பதிவுச் சேவை - http://ulagam.net
எனது தமிழ் பக்கங்கள் - http://www.balachandar.net/pakkangal
Beyond Work - http://beyondwork.wordpress.com/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] what is LAMP?

2010-05-31 Thread Kenneth Gonsalves
On Monday 31 May 2010 14:58:37 balachandar muruganantham wrote:
> As per the article,
> http://onlamp.com/pub/a/onlamp/2001/01/25/lamp.html
> 
> the author says
> "Of course, there are plenty of excellent open source variants for any of
> the pieces of LAMP. Let the L stand for Linux, FreeBSD, NetBSD, OpenBSD,
>  and Darwin/Mac OS X, all of which are open source operating systems and
>  all but the latter have open source GUI layers. Let the M stand for MySQL
>  and PostGreSQL. Let the P stand for PHP, Perl, Python, and Ruby."
> 
> It is the author assumption. its not what every one took it.
> 

did you check the date of the article? these people coined the word LAMP - 
later on people have mistaken. LAMP basically defines a 4 component stack. 
-- 
regards
kg
http://livejournal.com/lawgon
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc]Job opening in my concern

2010-05-31 Thread velappan velappan
Hi All,

There are few openings in my concern if you looking for a change please let
me to my mail velapp...@gmail.com

PHP & Python, RoR, Great Plains

SSE

UI Developer

Engineer


-- 
Thanks
Vela
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Online Education via videos

2010-05-31 Thread Shrinivasan T
http://www.academicearth.org

This is a wonderful site to get educated via online videos.
awesome lectures from the professors of famous universities.

Keep on Learning.

-- 
Regards,
T.Shrinivasan


My experiences with Linux are here
http://goinggnu.wordpress.com

For Free and Open Source Jobs
http://fossjobs.in
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] what is LAMP?

2010-05-31 Thread Ashok Gautham
On Mon, May 31, 2010 at 2:58 PM, balachandar muruganantham
 wrote:
> but one should remember Linux is not OS. its just a Kernel. In that case,
> LAMP abbreviation is not correct.

You could assume it is Libre Application Management Platform :P

But I appreciate your ideals and drive to call it only GNU/Linux.

---
Ashok `ScriptDevil` Gautham
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Javascript Help

2010-05-31 Thread Rajesh kumar
Hi luggies,

Is there any way to find weather the page is closed or refreshed when
window.unload() function is called .???

--
Regards
Rajesh Kumar R.K
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Online Education via videos

2010-05-31 Thread benjamin
On Mon, May 31, 2010 at 3:52 PM, Shrinivasan T  wrote:
> http://www.academicearth.org
>
> This is a wonderful site to get educated via online videos.
> awesome lectures from the professors of famous universities.
>
> Keep on Learning.
>
> --
> Regards,
> T.Shrinivasan

Academic Earth is cool but I there are alot of lecture videos out
there not listed by Academic Earth
eg:

http://khanacademy.org/ for Math, Physics, Chemistry etc..

College Algebra by Richard Delaware
http://www.youtube.com/watch?v=1Amt_-uB9QQ
http://d.web.umkc.edu/delawarer/RDvsi.htm


-- 
benjamin rualthanzauva
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Post install guide for ubuntu 10.04

2010-05-31 Thread sivakumar
Came across this link recently. It a post install guide for ubuntu
10.04. 

http://blog.thesilentnumber.me/2010/04/ubuntu-1004-post-install-guide-what-to.html

Felt it would be a good read for newcomers for Ubuntu, do share it with
people who are new to ubuntu.

Rgds,
Siva.

___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Online Education via videos

2010-05-31 Thread Vatsala Dorairajan

Hi Luggies

I would like to add this - http://www.nalandau.com/ to this list of 
websites which help in online education via videos.

Vatsala

On 31-05-2010 16:54, benjamin wrote:

On Mon, May 31, 2010 at 3:52 PM, Shrinivasan T  wrote:
   

http://www.academicearth.org

This is a wonderful site to get educated via online videos.
awesome lectures from the professors of famous universities.

Keep on Learning.

--
Regards,
T.Shrinivasan
 

Academic Earth is cool but I there are alot of lecture videos out
there not listed by Academic Earth
eg:

http://khanacademy.org/ for Math, Physics, Chemistry etc..

College Algebra by Richard Delaware
http://www.youtube.com/watch?v=1Amt_-uB9QQ
http://d.web.umkc.edu/delawarer/RDvsi.htm


   

___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Online Education via videos

2010-05-31 Thread benjamin
and the NPTEL of course
http://www.nptel.iitm.ac.in/
http://www.youtube.com/user/nptelhrd

-- 
benjamin rualthanzauva
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Online Education via videos

2010-05-31 Thread Raja Subramanian
Sorry for the top post.

Here's some more -- YouTube.com/edu, Google Tech Talks and Authors At Google
YouTube channels, www. fora.tv, oculture.com.

Would be great if others can add to this thread with their favourite
learning video sites.

- Raja

On May 31, 2010 3:54 PM, "Shrinivasan T"  wrote:

http://www.academicearth.org

This is a wonderful site to get educated via online videos.
awesome lectures from the professors of famous universities.

Keep on Learning.

--
Regards,
T.Shrinivasan


My experiences with Linux are here
http://goinggnu.wordpress.com

For Free and Open Source Jobs
http://fossjobs.in
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] ssh tricks to access any private IP machine without VPN

2010-05-31 Thread R Rajendhran


>From: Guruprasad
>Sun, 23 May 2010 09:39:48 -0700  
>Hi,

>On Sun, May 23, 2010 at 7:01 AM, R Rajendhran  wrote:
> Windows users have plenty of third-party tools like GotoMyPC, TeamViewer, 
> etc. to overcome the Public IP problems.
>
> Now, TeamViewer is available for Linux also.  Here is the download link:
>
> http://www.teamviewer.com/download/index.aspx#downloadAreaLinux
>
> -- Rajendhran


>Is TeamViewer FLOSS? I don't think so.

>Regards,
>Guruprasad

Hi Guruprasad,

It IS available for Linux.  Visit the link I have provided.  You will get 
clarified.

Regards,
Rajendhran



___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Javascript Help

2010-05-31 Thread Vamsee Kanakala

Rajesh kumar wrote:

Is there any way to find weather the page is closed or refreshed when
window.unload() function is called .???
  


Ideally it should not matter - which leads me to the question, why do 
you want it? Either way, use this (window.onunload) with caution - 
nagging users not to close browser windows is generally considered bad 
form (unless you're warning users about unsaved data) and is a usability 
bug.


Vamsee.
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Javascript Help

2010-05-31 Thread Rajesh kumar
>
>
> Ideally it should not matter - which leads me to the question, why do you
> want it? Either way, use this (window.onunload) with caution - nagging users
> not to close browser windows is generally considered bad form (unless you're
> warning users about unsaved data) and is a usability bug.
>
> Vamsee.
>

I need this for the purpose of tracking user login and logout, if the user
clicks logout button then there is no problem, but if the browser get closed
or due to some bandwidth issues or if shutdown occurs, then i need to track
it.
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Online Education via videos

2010-05-31 Thread சுதன் | suthan
> Here's some more -- YouTube.com/edu, Google Tech Talks and Authors At
> Google
> YouTube channels, www. fora.tv, oculture.com.
>
> http://www.academicearth.org
>
> This is a wonderful site to get educated via online videos.
> awesome lectures from the professors of famous universities.
>
> Keep on Learning.
>



this thread was really usefull. i am a lecturer, and i have been trying
videos from academic earth and nptel to provide additional input to my
students. the other websites added will help me more.
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Online Education via videos

2010-05-31 Thread Roshan
On Mon, May 31, 2010 at 3:52 PM, Shrinivasan T wrote:
> http://www.academicearth.org
>
> This is a wonderful site to get educated via online videos.
> awesome lectures from the professors of famous universities.
>
> Keep on Learning.

Fabulous. Interesting to see the knowledge.

--
Roshan Baladhanvi
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Online Education via videos

2010-05-31 Thread Girish Venkatachalam
On Mon, May 31, 2010 at 8:45 PM, Roshan  wrote:
> On Mon, May 31, 2010 at 3:52 PM, Shrinivasan T wrote:
>> http://www.academicearth.org
>>
>> This is a wonderful site to get educated via online videos.
>> awesome lectures from the professors of famous universities.
>>
>> Keep on Learning.
>
> Fabulous. Interesting to see the knowledge.
>

We have too many Roshans in LUG now. ;)

Video based training is useful and incredibly insightful.

I have learnt many yoga poses mainly gymnastic in nature and the advanced ones
 from youtube.

It is wrong to do yoga without a qualified teacher but then with computers and
other forms of secular knowledge the best thing to do according to me is to
learn on one's own using videos but look at every source with healthy
scepticism.

Never believe anybody till you have tested it yourself practically.

I have written an article about creating screencasts using tools on UNIX like
ffmpeg and similar ones like istanbul and recordmydesktop.

http://aplawrence.com/Girish/gv-screencast.html

But I have not been able to do much on this later.

Videos are the best way to teach and learn, no doubt about it.

-Girish


-- 
Gayatri Hitech
web: http://gayatri-hitech.com

SpamCheetah Spam filter:
http://spam-cheetah.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Online Education via videos

2010-05-31 Thread Raja Subramanian
On Mon, May 31, 2010 at 3:52 PM, Shrinivasan T  wrote:
> Keep on Learning.

Forgot to mention the most awesome video websites: www.ted.com
There's too many great videos on TED to list here.


I also listen to Steve Gibson's Security Now podcasts:
http://www.grc.com/securitynow.htm
Steve tends to rant a lot, but the episodes on SSL vulnerabilities,
cracking electronic voting machines, etc are a lot of fun to listen.


IT Conversations has great content as well:
http://www.itconversations.com
Brewster Kahle's lecture titled Universal Access To All Knowledge
is exceptional:
http://itc.conversationsnetwork.org/shows/detail400.html

- Raja
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Beautiful way to upload a file using curl and FTP

2010-05-31 Thread Girish Venkatachalam
$ curl -T - ftp://ftpserver.somewhere.org/path/to/file.txt

  Press enter or Ctrl-D or Ctrl-C

The file gets uploaded from stdin. Or even redirect like this.

$ curl -T - ftp://1.1.3.4/foo.txt < foo.txt

Of course this would work for HTTP GET or POST also but that would be
not very easy as FTP.

I have not tried it at least.

WebDAV aimed to making HTTP read/write but I don't think it was a big hit...

FTP still continues to rule the roost.

And we have many tools for that. curl, wget, lftp, ncftp and so on.

-Girish

-- 
Gayatri Hitech
web: http://gayatri-hitech.com

SpamCheetah Spam filter:
http://spam-cheetah.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Online Education via videos

2010-05-31 Thread narendra sisodiya
On Mon, May 31, 2010 at 9:06 PM, Raja Subramanian wrote:

> On Mon, May 31, 2010 at 3:52 PM, Shrinivasan T 
> wrote:
> > Keep on Learning.
>
>
Keep on editing too
http://lug-iitd.org/Online_Education_via_videos


-- 
┌─┐
│Narendra Sisodiya
│http://narendrasisodiya.com
└─┘
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Javascript Help

2010-05-31 Thread Vamsee Kanakala

Rajesh kumar wrote:

I need this for the purpose of tracking user login and logout, if the user
clicks logout button then there is no problem, but if the browser get closed
or due to some bandwidth issues or if shutdown occurs, then i need to track
it.
  


Aha. In which case, just use window.onunload event, and when it happens, 
check location.href. If it equals your logout page, it's a normal exit. 
Else, you need to report/log the error. Does that solve your problem?


Vamsee.
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Online Education via videos

2010-05-31 Thread Yuvi Panda
2010/5/31 சுதன் | suthan <83su...@gmail.com>:
> this thread was really usefull. i am a lecturer, and i have been trying
> videos from academic earth and nptel to provide additional input to my
> students. the other websites added will help me more.
>

How well were they received? As a student myself, I've tried to get my
staff to use Academic Earth videos with absolutely no success. I even
downloaded them myself and gave them DVDs. Any suggestions on what I
can do to get my fellow students and faculty more interested?

-- 
Yuvi Panda T
http://yuvi.in/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Require help in configuring SMTP in zimbra mail server.

2010-05-31 Thread kannan krishnamurthy
Hi,

My name is kannan.

In my work place we are having mail distribution server (locally mail id's and 
passwords created in this server) and we are having a catch all box in mumbai. 
every 15 min our local server fetch the mail and redistribute the mails locally.

We are using zimbra server. To fetch the mails we are using our catchall box ip 
and for sending mails it will go directly from our local mail server using 
Airtel static ip. 

We are having multiple domains in the same server most of them are hosted with 
the same service provider(softcell) and the ip's are the same.

My query is that at present my static ip is blocked by RBL sites. Now i want to 
use my isp (softcell / catch all box) smtp ip. is it possible if yes can you 
please help for the same.

And MY isp (softcell) is using SMTP port is 2525.

Kindly do the needful

Thanks in advance. 
 
 

 
YOUR'S 

KANNAN.A.K.


  

___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Re: கல்வியும் தக வல் தொழில்நுட்ப மும் - கண்காட்சி கருத்தரங்கம் - தர ுமபுரி

2010-05-31 Thread ஆமாச்சு
On Monday 31 May 2010 7:23:03 am ஆமாச்சு wrote:
> கடந்த 03/02/2008[2] அன்று தொடங்கி வைக்கப்பட்ட தீர்த்தமலை
>

வருடம் 2009.

--

ஆமாச்சு
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Require help in configuring SMTP in zimbra mail server.

2010-05-31 Thread Arun Khan
On Tue, Jun 1, 2010 at 8:54 AM, kannan krishnamurthy
 wrote:

> In my work place we are having mail distribution server (locally mail id's 
> and passwords created in this server) and we are having a catch all box in 
> mumbai. every 15 min our local server fetch the mail and redistribute the 
> mails locally.
>
> We are using zimbra server. To fetch the mails we are using our catchall box 
> ip and for sending mails it will go directly from our local mail server using 
> Airtel static ip.
>
> We are having multiple domains in the same server most of them are hosted 
> with the same service provider(softcell) and the ip's are the same.
>
> My query is that at present my static ip is blocked by RBL sites. Now i want 
> to use my isp (softcell / catch all box) smtp ip. is it possible if yes can 
> you please help for the same.
>
> And MY isp (softcell) is using SMTP port is 2525.

In your setup, it is best to use your Email Service Provider's SMTP
server as the "outgoing" host.  Otherwise, you will be constantly
fighting RBL list providers to unblock your IP.  Furthermore, assuming
that your IP is not blocked, some sites like AOL (IIRC) will not
accept emails unless the MX record and PTR  record (for the MX host)
match.

You have not mentioned which program you are using for your MTA
(sendmail, qmail, postfix, exim to name a few).Each of them can be
configured to send outgoing message via "smart smtp host" which would
be your providers SMTP host.   Make sure your provider will allow
relay before attempting the changes in your settings o/w you will
going around in a circle.

HTH,
-- Arun Khan
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc