Re: [Ilugc] Problem in PHP Type conversion.

2009-03-17 Thread ashok samrat
Hi all ,

May be this works

>>> from __future__ import division
>>> (1/3)*10
3.333
>>>

>>Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38)
[GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> int(1/3)*10
0

This wont give the same result in python 3 may be its time to get upgraded :) .


Cheers
Ashok
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Problem in PHP Type conversion.

2009-03-17 Thread Kenneth Gonsalves
On Tuesday 17 March 2009 12:37:20 ashok samrat wrote:
> Hi all ,
>
> May be this works
>
> >>> from __future__ import division
> >>> (1/3)*10
>
> 3.333
>
> >>Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38)
>
> [GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
> >>> int(1/3)*10
>
> 0
>
> This wont give the same result in python 3 may be its time to get upgraded
> :) .

I am just through upgrading all my sites to python2.4
-- 
regards
kg
http://lawgon.livejournal.com
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] hi i need to get firewall.

2009-03-17 Thread linux r
hi sir i need to get the entire information in firewall about INPUT OUTPUT
FORWARD NAT PREROUTING POSTROUTING. im working as a trainee sir... so plz
help me to get the information regarding sir


thanks and regards

srinivasan
9176184224
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] hi i need to get firewall.

2009-03-17 Thread Kenneth Gonsalves
On Tuesday 17 March 2009 13:34:53 linux r wrote:
> hi sir i need to get the entire information in firewall about INPUT OUTPUT
> FORWARD NAT PREROUTING POSTROUTING. im working as a trainee sir... so plz
> help me to get the information regarding sir

what is the meaning of 'plz'?
-- 
regards
kg
http://lawgon.livejournal.com
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] hi i need to get firewall.

2009-03-17 Thread Bharathi Subramanian
On Tue, 17 Mar 2009, linux r wrote:

> hi sir i need to get the entire information in firewall about INPUT OUTPUT
> FORWARD NAT PREROUTING POSTROUTING. im working as a trainee sir... so plz
> help me to get the information regarding sir

Search for iptables tutorial or book in the net. Below link may help 
you to understand the IPTables: 
http://www.linuxtopia.org/Linux_Firewall_iptables/index.html

Bye :)
-- 
Bharathi S

___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Re: Re: Re: Re: PM office plagued by viruses

2009-03-17 Thread Prem Kurian Philip
>> It actually makes sense to use something like Squirrel Mail instead of a
>> desktop app like Thunderbird. All the emails will remain on the server and
>> this will help from the perspective of keeping backups,

>Even with thunderbird (or any other IMAP client), the mail can be
>kept on the server by (simple) configuration choices.

True. I was using thunderbird with an IMAP server for a while. The problem
will be if the laptop is stolen in which case all the emails could get
into wrong hands.

Regards,
PK


___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] hi i need to get firewall.

2009-03-17 Thread Gourav Shah

>> FORWARD NAT PREROUTING POSTROUTING. im working as a trainee sir... so plz
>> help me to get the information regarding sir
>> 
>
> Search for iptables tutorial or book in the net. Below link may help 
> you to understand the IPTables: 
> http://www.linuxtopia.org/Linux_Firewall_iptables/index.html
>
>   
you could also check shorewall http://www.shorewall.net/
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] suse 10.2 in acer loptop (ELCOT)

2009-03-17 Thread பத்மநாதன்
Dear LUGs,
   ELCOT supplied acer laptops to schools. It is very slow
in performance. I stopped PostgreSQL, Mysql and oracle Database service and
bind etc. eventhough the system performance is slow.

Guidelines are needed to fine tune the system performence


-- 

Padhu,
Pollachi.


Knowledge is power !

"Be an Energy (Opti)mizer - Use Electricity Wiser"
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] suse 10.2 in acer loptop (ELCOT)

2009-03-17 Thread Bharathi Subramanian
On Tue, 17 Mar 2009, பத்மநாதன் wrote:

> ELCOT supplied acer laptops to schools. It is very slow in
> performance. 

Stop all unwanted services like, HTTP etc

Bye :)
-- 
Bharathi S

___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe  "
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Tamil Wikipedia Workshop - தம ிழ் விக்கிப்பீட ியா பட்டறை

2009-03-17 Thread Dhakshina Moorthy K.M.

மார்ச்சு 21, 2009 பெங்களூர் இந்திய அறிவியல் நிறுவனம் தமிழ் விக்கிப்பீடியா பட்டறை
March 21, 2009 Bangalore Indian Institute of Science Tamil Wikipedia Workshop.

* திகதி: மார்ச்சு 21, 2009, சனிக் கிழமை
  Date March 21, 2009, Saturday
* இடம்: சோக்சி அரங்கம், இந்திய அறிவியல் கழகம், பெங்களூர். 
  Place : Choksi Hall , Indian Institute of Science, Bangalore
* நேரம்: மாலை 2:00 மணி தொடங்கி 5:00 மணி வரை
  Time : 2:00 PM to 5:00 PM
* சிறப்புரை: பேரா.வி.கே
  Special lecture : Prof V K.

கலந்து கொள்ள ஆர்வமுள்ளோர் இங்கு பெயர் பதியலாம்.
To Register 
http://ta.wikipedia.org/wiki/WP:2009_IISc_tawiki_workshop

Dhakshina Moorthy, K.M.



  Check out the all-new Messenger 9.0! Go to http://in.messenger.yahoo.com/
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe  "
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] how to block the sites in linux server

2009-03-17 Thread kesavan (K7)
hi guys,
  here using cent os 5.0 server . I want to block access of  the 
particular sites to particular client systems,
pls help me


regards 
kannan



  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe  "
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] how to block the sites in linux server

2009-03-17 Thread Mehul Ved
On Tue, Mar 17, 2009 at 5:57 PM, kesavan (K7)  wrote:
> hi guys,
>          here using cent os 5.0 server . I want to block access of  the 
> particular sites to particular client systems,
> pls help me

Set up a proxy server. For one you can check
http://www.cyberciti.biz/tips/linux-setup-transparent-proxy-squid-howto.html

-- 

Truthful, adj.: Dumb and illiterate. -- Ambrose Bierce, "The Devil's Dictionary"
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe  "
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] how to block the sites in linux server

2009-03-17 Thread Raja Subramanian
On Tue, Mar 17, 2009 at 5:57 PM, kesavan (K7)  wrote:
>          here using cent os 5.0 server . I want to block access of  the 
> particular sites to particular client systems,

Install a web proxy like Squid and you can control the web
sites your users can access.

Squid plugins -- Dansguardian or Squid Guard are also
good options to try out.

- Raja
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe  "
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] suse 10.2 in acer loptop (ELCOT)

2009-03-17 Thread Ashok Gautham
2009/3/17 பத்மநாதன் 

> Dear LUGs,
>   ELCOT supplied acer laptops to schools. It is very slow
> in performance. I stopped PostgreSQL, Mysql and oracle Database service and
> bind etc. eventhough the system performance is slow.

Am just curious about why ELCOT supplies laptops with 3 different database
services
running IMHO, MySQL exor Postgres would suffice for schools.
I am kinda unsure as to what the tool is in SuSe. In fedora, the tool is
ntsysv. You can
use it to tune the startup process. You can use
http://ubuntuforums.org/showthread.php?t=89491
as a guide.

Use top to find what takes up the most cpu time. If you find it unnecessary,
nip it!

Also, as an extreme (is it?) step, you can install a lighter distro on it. I
hope that
doesnt  nullify the warranty. It should not For this, try the Fedora
Xfce spin. I found it
very usable. Or probably even Archlinux (takes some time setting up.
Installing core
takes 10 minutes. Then you have to install xorg and ).
It
starts with just core apps an you may then use it as a meta-distro. It is
very fast too.

---
Ashok `ScriptDevil` Gautham
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe  "
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Re: Re: Re: Re: PM office plagued by viruses

2009-03-17 Thread Rahul Sundaram
Prem Kurian Philip wrote:
>>> It actually makes sense to use something like Squirrel Mail instead of a
>>> desktop app like Thunderbird. All the emails will remain on the server and
>>> this will help from the perspective of keeping backups,
> 
>> Even with thunderbird (or any other IMAP client), the mail can be
>> kept on the server by (simple) configuration choices.
> 
> True. I was using thunderbird with an IMAP server for a while. The problem
> will be if the laptop is stolen in which case all the emails could get
> into wrong hands.

If you are using a laptop, you should definitely look at using disk
encryption. Most recent mainstream distributions support this.

Rahul


___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Thanks Mr.T.Shrinivasan --Posting osi Tech Days info

2009-03-17 Thread mettur salem
Dear Lug Members

 Thanks Mr. T.Shrinivasan -- Posting OSI- Tech Days Information

  It is Really get some info about the days for the  People who missed
the meeting like me


with Regards,
Mcube (Mettur Mohan )
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Can i Try in Fedora 9

2009-03-17 Thread Arun SAG
>  Block access of particcular site in squid

create a file called "block" in /etc/squid/ directory, type the website name
you want to block in that file "block",save the file
Then open squid.conf file and  append the following two lines (without
quotes)

"acl blocked url_regex -i "/etc/squid/block"
"http_access deny block"

save squid.conf file and reload the squid service by "service squid reload"

Try to access the blocked site ;-)


>  Dansguardian or squid Guard  is it support for Fedora 9

Yeah squidguard is in official fedora 9 repository

"squidGuard.i386 : Filter, redirector and access controller plugin for
squid"


Regards
Arun SAG
-- 
A computer is like air conditioning: it becomes useless when you open
windows.
<-Fighting 4 Freedom->
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] suse 10.2 in acer loptop (ELCOT)

2009-03-17 Thread Rajendhran

From: பத்மநாதன் 
To: ilugc 
Sent: Tuesday, 17 March, 2009 4:04:17 PM
Subject: [Ilugc] suse 10.2 in acer loptop (ELCOT)

Dear LUGs,
   ELCOT supplied acer laptops to schools. It is very slow
in performance. I stopped PostgreSQL, Mysql and oracle Database service and
bind etc. eventhough the system performance is slow.

Guidelines are needed to fine tune the system performence


-- 

Padhu,
Pollachi.

-


Hi Padhu,

Performance varies according to hardware configuration.  Please note the 
following tips:


* Be sure the swap partition size is double of RAM.
* Use the 'top' command to view which processes consume more CPU power.
* If you are not using samba, disable 'nmb' and 'smb' services.
* Disable print services
* Disable smart card and bluetooth services whenever not in use.

Best Regards,

R Rajendhran
(Udumalpet)


  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe  "
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Microsoft Fights back with FIRE

2009-03-17 Thread Arun SAG
Many people has admired on L.K Advani's IT vision.

It seems like Gujarat is making an U-Turn
.http://www.expressindia.com/latest-news/project-on-it-upgradation-in-schools-makes-no-headway-in-gujarat/434979/

Conflicts of opinion between education department and IT department.

LOL MOU with Microsoft to aid teachers in teaching FOSS. (this shows
politicians dont know a heck about foss, or M$ might have bribed them (if u
sign MOU with software gaint you get publicity for sure ) )

ZD-net covers it extensively http://blogs.zdnet.com/open-source/?p=3718

Find out who are the enimies to BJP if they promote
http://economictimes.indiatimes.com/Infotech/MS-top-telcos-may-be-hit/articleshow/4266133.cms

Seems like microsoft is on FIRE
BizSpark
,DreamSpark  And Lot of Sparks to burn
competition !! :(

Just FYI

Regards
Arun SAG
-- 
A computer is like air conditioning: it becomes useless when you open
windows.
<-Fighting 4 Freedom->
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Microsoft Fights back with FIRE

2009-03-17 Thread Ashok Gautham
> The IT Department wants free and open source software (FOSS), while the
> Education Department is eager for Microsoft.

:o

Upside Down Cake!

---
Ashok `ScriptDevil` Gautham
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Microsoft Fights back with FIRE

2009-03-17 Thread pavithran
On Tue, Mar 17, 2009 at 8:14 PM, Arun SAG  wrote:

>
>
> Seems like microsoft is on FIRE
> BizSpark<
> http://blogs.livemint.com/blogs/incubator/archive/2008/12/17/microsoft-india-launches-bizspark-for-startups.aspx
> >
> ,DreamSpark  And Lot of Sparks to burn
> competition !! :(
>

M$ will never stop trying (LOL)
M$ might have realised that SME 's are going fastly towards FOSS to cut down
costs expecially in this recession environment . This might  be one step to
get their businesses back, hope they wont succeed ;)

Regards,
Pavithran

-- 
pavithran sakamuri
www.pavithran.org
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Microsoft Fights back with FIRE

2009-03-17 Thread Bharathi Subramanian
On Wed, 18 Mar 2009, Arun SAG wrote:

> LOL MOU with Microsoft to aid teachers in teaching FOSS. 

Joke of Year 2009. As IT became a part of political agenda in IT Super
Power(?) country, we may hear lot more jokes like this, in the coming
days.

Bye :)
-- 
Bharathi S

___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Microsoft Fights back with FIRE

2009-03-17 Thread ம . ஸ்ரீ ராமதாஸ்|Sri Ramadoss M
On Wed, Mar 18, 2009 at 1:44 AM, Arun SAG  wrote:
> Many people has admired on L.K Advani's IT vision.
>
> It seems like Gujarat is making an U-Turn
> .http://www.expressindia.com/latest-news/project-on-it-upgradation-in-schools-makes-no-headway-in-gujarat/434979/
> 
> Conflicts of opinion between education department and IT department.
>
> LOL MOU with Microsoft to aid teachers in teaching FOSS. (this shows
> politicians dont know a heck about foss, or M$ might have bribed them (if u
> sign MOU with software gaint you get publicity for sure ) )
>

People from Microsoft approach government and do whatever (one could
tag it as lobby, persuade, sell, bribe, market etc.,) for their
products.

Was there an attempt from people from the Community/ FOSSY corporates
to meet the government officials. politicians, identifying the right
person to get FOSS done at the government level?

Was there an attempt of this kind? If not it is likely that M$ will
push and rush through.

--

ஆமாச்சு
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe  "
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Tamil Wikipedia Workshop - தமிழ ் விக்கிப்பீடியா பட்ட றை

2009-03-17 Thread ம . ஸ்ரீ ராமதாஸ்|Sri Ramadoss M
2009/3/17 Dhakshina Moorthy K.M. :
>
> மார்ச்சு 21, 2009 பெங்களூர் இந்திய அறிவியல் நிறுவனம் தமிழ் விக்கிப்பீடியா 
> பட்டறை

நிகழ்ச்சி குறித்து அறியத் தந்தமைக்கு நன்றி. நிகழ்ச்சி நல்ல முறையில்
நடந்தேற வாழ்த்துக்கள்.

-- 

ஆமாச்சு
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Microsoft Fights back with FIRE

2009-03-17 Thread Shakthi Kannan
Hi,

--- On Wed, Mar 18, 2009 at 1:44 AM, Arun SAG  wrote:
| LOL MOU with Microsoft to aid teachers in teaching FOSS. (this shows
| politicians dont know a heck about foss, or M$ might have bribed them (if u
| sign MOU with software gaint you get publicity for sure ) )
\--

Billdog Billionaire! [1]

SK

[1] Or you can also call it Bull(ying)dog Billionaire? Just kidding :)

-- 
Shakthi Kannan
http://www.shakthimaan.com
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc