Re: [Ilugc] [Tip ]When was your OS installed?

2010-08-24 Thread benjamin
On Tue, Aug 24, 2010 at 11:44 PM, Ranjith wrote: > Hi Girish, >     I think you caught it wrongly, I supposed to tell that it worked on > fedora unix, ubuntu, debian and opensuse has far I know. Mainly I heard that > OpenBSD is similar to Linux OS so I thought it could work on it. Don`t > mistake

Re: [Ilugc] Help needed in Ruby

2010-08-24 Thread sasi
Hi, U can do like, irb(main):001:0> a=File.open("a","r") => # irb(main):002:0> arr=a.readlines => ["1\n", "2\n", "3\n", "4\n", "45\n", "1\n", "23\n", "4\n", "56\n", "3\n", "12\n", "45\n", "6\n", "34\n"] read the lines from file and assign into an array. irb(main):003:0> arr.length => 14 ir

Re: [Ilugc] [Tip] Add Timestamp to history

2010-08-24 Thread Dhansekaran Anbalagan
oh!! just noticed, you mean to say you are getting the same time stamp for all the commands ? I got the problem, the timestamp for command lines that executed in the previous sessions may not valid, as the time was not tracked. Even I see the same thing with my Debian. 463 2010-08-25 10:16:48

Re: [Ilugc] [Tip] Add Timestamp to history

2010-08-24 Thread Arun Khan
On Wed, Aug 25, 2010 at 12:13 AM, Tha.Suresh wrote: >  Add Timestamp to history > > $ export HISTTIMEFORMAT="%F %T " > > History usually only gives the command number and the command. This > will add a timestamp to the history file. Thanks for this great tip. I was just thinking about this a few

Re: [Ilugc] Need your suggestion

2010-08-24 Thread Rajagopal Swaminathan
Greetings, On Wed, Aug 25, 2010 at 12:36 AM, Asokan Pichai wrote: > On 24 August 2010 21:20, Shakthi Kannan wrote: >> Hi, >> >> --- On Tue, Aug 24, 2010 at 8:32 PM, subhojit ojha >> wrote: >> | I have suggested him to concentrate in JAVA and >> | Python, since I feel that JAVA is widely used Op

[Ilugc] Pranav Mistry, who wants to share his invention(SixthSense) as open source

2010-08-24 Thread Siddhu
Pranav Mistry is the inventor of SixthSense, a wearable device that enables new interactions between the real world and the world of data. He wants to bring his invention to the people who can build their own custom device. Please see his presentation here. http://www.ted.com/talks/lang/eng/prana

[Ilugc] OAOD (Zyxware Health Monitoring System)

2010-08-24 Thread Dhastha Gheer
Application: Zyxware Health Monitoring System What it is: This is a web based disease monitoring for monitoring diseases like chikungunya, malaria - reported by hospitals in a district, county, state or country. There is a reporting & analysis module and a GIS module which displays the data using

Re: [Ilugc] Need your suggestion

2010-08-24 Thread Asokan Pichai
On 24 August 2010 21:20, Shakthi Kannan wrote: > Hi, > > --- On Tue, Aug 24, 2010 at 8:32 PM, subhojit ojha > wrote: > | I have suggested him to concentrate in JAVA and > | Python, since I feel that JAVA is widely used Opensource language and Python > | is also growing fast and has same type of f

[Ilugc] [Tip] Add Timestamp to history

2010-08-24 Thread Tha.Suresh
Add Timestamp to history $ export HISTTIMEFORMAT="%F %T " History usually only gives the command number and the command. This will add a timestamp to the history file. Note: This will only put the correct timestamp on commands used after the export is done. You may want to put this in your .bas

Re: [Ilugc] [Tip ]When was your OS installed?

2010-08-24 Thread Ranjith
Hi Girish, I think you caught it wrongly, I supposed to tell that it worked on fedora unix, ubuntu, debian and opensuse has far I know. Mainly I heard that OpenBSD is similar to Linux OS so I thought it could work on it. Don`t mistake me Please... On Tue, Aug 24, 2010 at 9:03 PM, Girish Venka

Re: [Ilugc] Software Freedom Day (PR - Co-ordination)

2010-08-24 Thread Akilan R
On Mon, Aug 23, 2010 at 2:56 PM, Ma Sivakumar wrote: > Thanks Akilan. The image still speaks English even after > customizations :-). Can we do a dynamic image with entered text? Is it > too much to ask? > That would be awesome. But I'm not good at image editing. If someone could give me a Tamil

[Ilugc] Re: [OT] Status update on ilugc.tamil

2010-08-24 Thread Ma Sivakumar
2010/7/29 சிவகுமார் மா : > After heated discussions (which was civil throughout), ilugc.tamil, an > younger sibling to ilugc was born on July 22, 2009 with the > announcement by Prof Sriram to the list. > Further update: Ilugc Tamil list is one month old now. The membership has grown to 96 from 7

Re: [Ilugc] Need your suggestion

2010-08-24 Thread Shakthi Kannan
Hi, --- On Tue, Aug 24, 2010 at 8:32 PM, subhojit ojha wrote: | I have suggested him to concentrate in JAVA and | Python, since I feel that JAVA is widely used Opensource language and Python | is also growing fast and has same type of features like JAVA. | | I am not a programmer \-- Contradicti

Re: [Ilugc] [Tip ]When was your OS installed?

2010-08-24 Thread Bhargav Prasanna
On 24 August 2010 09:20, Tha.Suresh wrote: > When was your OS installed? > > Show time and date when you installed your OS. > > $ ls -lct /etc | tail -1 | awk '{print $6, $7}' > > 2010-08-03 12:44 > > I was able to get only date with this. I added $8 out of instinct, and voila! -- Bhargav Prasa

Re: [Ilugc] [Tip ]When was your OS installed?

2010-08-24 Thread Girish Venkatachalam
On Tue, Aug 24, 2010 at 6:10 PM, Ranjith wrote: > Hi  Girish, >    It will work on every linux os ergo I was surprised. It worked on OpenBSD which is not Linux. -Girish ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Re: [Ilugc] Need your suggestion

2010-08-24 Thread ganessh kumar rp
ask your friend to use "mono" s/w.Its an open source software equivalent to .NET framework in windows -ganesshkumar On Tue, Aug 24, 2010 at 8:32 PM, subhojit ojha wrote: > Hi all, > > One of my friend is a .NET developer and wants to move to opensource > programming language. I have suggested hi

[Ilugc] Need your suggestion

2010-08-24 Thread subhojit ojha
Hi all, One of my friend is a .NET developer and wants to move to opensource programming language. I have suggested him to concentrate in JAVA and Python, since I feel that JAVA is widely used Opensource language and Python is also growing fast and has same type of features like JAVA. I am not a

[Ilugc] One Day FOSS Workshop in SRM University

2010-08-24 Thread Arulalan T
Dear All, On behalf of ilugc and kanchilug, we people conducted One Day FOSS Workshop in SRM University, Poteri on 21.08.2010. We people Rajkumar, Dhasthagheer, Sanmugam, Balakrishnan, LogeshPrabhu and Arulalan (myself) conducted this workshop for CSE Department. Nearly 250 students participate

Re: [Ilugc] [Tip] When feeling down, this command helps

2010-08-24 Thread benjamin
> On 8/23/10, Tha.Suresh wrote: >>  When feeling down, this command helps >> >>     $ sl wow cool my most favorite still being fortune -- benjamin rualthanzauva ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Re: [Ilugc] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Roshan George
On Tue, 2010-08-24 at 17:50 +0530, Arulalan T wrote: > > This gives the what I need. > But I can not use this Decimal data type. > > I am doing project for Indian Meteorological Department using CDAT python > library. > > Now I am plotting weather symbol markers on India Map at corresponding > l

Re: [Ilugc] [Tip] When feeling down, this command helps

2010-08-24 Thread balaji sivanath
he he.. nice one.. :-) On 8/23/10, Tha.Suresh wrote: > When feeling down, this command helps > > $ sl > > $ sudo apt-get install sl > > $ man sl > :-) ;-) > > > -- > Regards, > Tha.Suresh > http://thasulinux.wordpress.com > ___ > ILUGC Mailing Li

Re: [Ilugc] [Tip ]When was your OS installed?

2010-08-24 Thread Ranjith
Hi Girish, It will work on every linux os On Tue, Aug 24, 2010 at 6:06 PM, Girish Venkatachalam < girishvenkatacha...@gmail.com> wrote: > On Tue, Aug 24, 2010 at 9:20 AM, Tha.Suresh > wrote: > > When was your OS installed? > > > > Show time and date when you installed your OS. > > > > $ ls

Re: [Ilugc] [Tip ]When was your OS installed?

2010-08-24 Thread Girish Venkatachalam
On Tue, Aug 24, 2010 at 9:20 AM, Tha.Suresh wrote: > When was your OS installed? > > Show time and date when you installed your OS. > > $ ls -lct /etc | tail -1 | awk '{print $6, $7}' > > 2010-08-03 12:44 > Superb. It works on OpenBSD too. -Girish -- Gayatri Hitech web: http://gayatri-hitech

Re: [Ilugc] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Arulalan T
2010/8/24 Chandrashekar Babu > Hi Arulalan, > > > > In python, I need to set the floating point precision as 2. > > > > I am getting the following output in python while adding two float nos. > > > > >>>a=79.73 > > >>>b=0.5 > > >>> a+b > > 80.234 > > > > I need exactly 2 precision poi

[Ilugc] Help needed in Ruby

2010-08-24 Thread Ranjith
Hi all, I have script which is used to read the apache server log file and returns the set values. Here is the script, require 'rubygems' require 'apachelogregex' require 'set' require 'pp' urls = Set.new format = '%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}\"' parser = Apach

Re: [Ilugc] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Roshan George
On Tue, 2010-08-24 at 17:31 +0530, Arulalan T wrote: > Thanks a lot. I forget to mention here. I dont want the result float value > in string. > > I need only the float values with 2 precision. That to without rounding the > result. > > Any idea? Well, then, go with what everyone else is tellin

Re: [Ilugc] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Arulalan T
2010/8/24 Roshan George > On Tue, 2010-08-24 at 16:57 +0530, Arulalan T wrote: > > Yes, we can do this multiply by 100 way. > > By this way I can handle 80 and 23 as two separate integers. > > But when I want make it as float > > >>>80+0.23 > > 80.234 > > > > again it will be come sa

Re: [Ilugc] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Roshan George
On Tue, 2010-08-24 at 16:57 +0530, Arulalan T wrote: > Yes, we can do this multiply by 100 way. > By this way I can handle 80 and 23 as two separate integers. > But when I want make it as float > >>>80+0.23 > 80.234 > > again it will be come same floating value. > so I cant use this w

Re: [ILUGC] : Tips-Learn Simple Ruby Scripting per day

2010-08-24 Thread balachandar muruganantham
On Tue, Aug 24, 2010 at 4:32 PM, Ranjith wrote: > Hi, > This script is used to remove binary (garbage) characters from a text > file. > > unless ARGV.length == 1 > puts "Dude, not the right number of arguments." > puts "Usage: ruby PrintableCharsOnly.rb YourInputFile > YourOutputFile\n" > exi

Re: [Ilugc] session in opensource

2010-08-24 Thread balaji sivanath
hi baskar, I have got permission from our HOD,please send me repositories to below address The Head of department, Information technology, K.L.N.college of information technology, pottapalayam-630 611 sivagangai district. Thanks. ___ ILUGC Mailing List:

Re: [Ilugc] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Arulalan T
2010/8/24 Roshan George > On Tue, 2010-08-24 at 16:04 +0530, Arulalan T wrote: > > > > I am getting the following output in python while adding two float nos. > > > > >>>a=79.73 > > >>>b=0.5 > > >>> a+b > > 80.234 > > > > I need exactly 2 precision point in this float value. i.e. 80.2

[ILUGC] : Tips-Learn Simple Ruby Scripting per day

2010-08-24 Thread Ranjith
Hi, This script is used to remove binary (garbage) characters from a text file. unless ARGV.length == 1 puts "Dude, not the right number of arguments." puts "Usage: ruby PrintableCharsOnly.rb YourInputFile > YourOutputFile\n" exit end file = ARGV[0] File.readlines(file).each do |line|

Re: [Ilugc] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Roshan George
On Tue, 2010-08-24 at 16:04 +0530, Arulalan T wrote: > > I am getting the following output in python while adding two float nos. > > >>>a=79.73 > >>>b=0.5 > >>> a+b > 80.234 > > I need exactly 2 precision point in this float value. i.e. 80.23 That's a limitation of binary floating p

Re: [Ilugc] IDE for PHP and joomla theme development work

2010-08-24 Thread kausikram krishnasayee
> > there is no real subsititute for dreamweaver - because the idea behind > dreamweaver is to make sure the coder knows nothing about coding. The > closest would be quanta plus, but to use that one has to know css, html, > js etc. i would also add kompozer to the list, if its vanilla web develop

Re: [Ilugc] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Ranjith
Hi Arulanan, Try this link http://docs.python.org/tutorial/floatingpoint.html On Tue, Aug 24, 2010 at 4:04 PM, Arulalan T wrote: > Dear All, > > I need one help. > > In python, I need to set the floating point precision as 2. > > I am gett

Re: [Ilugc] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Chandrashekar Babu
Hi Arulalan, > In python, I need to set the floating point precision as 2. > > I am getting the following output in python while adding two float nos. > > >>>a=79.73 > >>>b=0.5 > >>> a+b > 80.234 > > I need exactly 2 precision point in this float value. i.e. 80.23 > You might want to

[Ilugc] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Arulalan T
Dear All, I need one help. In python, I need to set the floating point precision as 2. I am getting the following output in python while adding two float nos. >>>a=79.73 >>>b=0.5 >>> a+b 80.234 I need exactly 2 precision point in this float value. i.e. 80.23 Even though I tried in

[Ilugc] How to synchronize Mobile contacts in DEbian?- Nokia e 63

2010-08-24 Thread SRIKANTH NS
Hi All, I run a dual boot system (WinXP/ Deb 5.0). Of late windows partition crashed and I use only Debian portion alone for my PC work. I bought a Nokia e 63 phone. Now,Kandy does not recognise this phone. I have the contacts from my earlier Sony Ericsson phone in Windows portion in Outlook a