Re: [Ilugc] [TIP] perl beginning
On Thu, Dec 1, 2011 at 1:09 PM, Suraj Kumar su...@careergear.in wrote: Not just India, world over, perl is not as widely used as, say, Java or Python because perl, for writing anything significant, requires mastery over the language's internals. Without experience and/or careful thought, one can completely ruin or make one's code horribly difficult to maintain if they don't know what they're doing with perl. Correct. It requires heavy investment like UNIX. I agree. But that is fast changing - with Moose (and other emergent frameworks built on top of Moose (like Catalyst MVC framework)), perl is now an extremely fast paced environment. I dunno why. I never liked Catalyst and I am sure I won't like Moose either. I am just comfortable with plain old perl with the hand. I might be a luddite. Well. At least in LUG, the perl knowledge seems woefully poor. Perhaps because no such survey (we know of) has been conducted in ILUGC to conclude whether the knowledge is there or not ;) Well good that i see one comment from you. So I take back my words. Ha ha. Unlike shell scripts and makefile variables, perl always requires a variable to be prefixed with one of $, @ or # before it. % is used to prefix hash variables, not #. But I can totally understand how that freudian slip happened :) Sorry. I have become very lazy and I was in a bad mood in the morning. Anyway the # character is the comment character in perl, config files and shell scripts. ;) Thanks again for correcting me and helping the community. Much appreciated. -Girish ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Fwd: [chennai.rb] [JOBS] Opportunities at Heurion a.k.a Rails Detectives - Both India and Abroad
On Wed, 2011-11-30 at 18:46 +0530, Antano Solar wrote: I am a technology author, architect and trainer. I was earlier working as the CTO of NuVeda Learning. what exactly about the following words do you not understand: 'Please donot REPLY ALL or REPLY to the group' -- regards Kenneth Gonsalves ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] [TIP] perl beginning
On Thu, 2011-12-01 at 10:19 +0530, Girish Venkatachalam wrote: Today we find perl being used in all OSes but it is primarily a UNIX thing and has very strong leanings towards UNIX geeks, IPC and UNIX internals than Python. although your tips are appreciated, please avoid stating your opinions as if they were facts. -- regards Kenneth Gonsalves ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] [TIP] perl beginning
On Thu, Dec 1, 2011 at 3:04 PM, kenneth gonsalves law...@thenilgiris.com wrote: On Thu, 2011-12-01 at 10:19 +0530, Girish Venkatachalam wrote: Today we find perl being used in all OSes but it is primarily a UNIX thing and has very strong leanings towards UNIX geeks, IPC and UNIX internals than Python. although your tips are appreciated, please avoid stating your opinions as if they were facts. Though your comment is correct I think in this particular case I am right. Perl certainly is very UNIX focused unlike Python. Now don't catch my neck. ;) -Girish -- G3 Tech Networking appliance company web: http://g3tech.in mail: gir...@g3tech.in ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] talk on 18th
Dear all, Just a gentle reminder: http://ae.iitm.ac.in/pipermail/ilugc/2011-November/068653.html Please make it if you find it useful to attend. Thanks. -Girish -- G3 Tech Networking appliance company web: http://g3tech.in mail: gir...@g3tech.in ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] edubuntu thin-client hardware recommendations
On Thu, Dec 1, 2011 at 12:23 PM, Arun Khan knu...@gmail.com wrote: case you can use iBall Netbook cabinet; it does come with a small s/Netbook/Nettop/ -- Arun Khan ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] problem in connecting internet via terminal
thanks for all who replied for my mail regarding installation error today only I found that some problem in connecting internet via terminal, eventhough proxy address and port no. is correct.. the error I got was dinesh@dinesh-Infotech:~$ export http_proxy=172.16.32.200:3128 dinesh@dinesh-Infotech:~$ ping www.google.com PING www.l.google.com (74.125.236.81) 56(84) bytes of data. From 172.16.100.1 icmp_seq=88 Destination Host Unreachable From 172.16.100.1 icmp_seq=114 Destination Host Unreachable From 172.16.100.1 icmp_seq=134 Destination Host Unreachable From 172.16.100.1 icmp_seq=141 Destination Host Unreachable From 172.16.100.1 icmp_seq=227 Destination Host Unreachable From 172.16.100.1 icmp_seq=228 Destination Host Unreachable From 172.16.100.1 icmp_seq=240 Destination Host Unreachable i also changed in system---preferences-network proxy but it doesn't work... i'm using ubuntu 10.10 ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] problem in connecting internet via terminal
On Thu, Dec 1, 2011 at 7:01 PM, Dinesh Infotech dinesh@gmail.com wrote: thanks for all who replied for my mail regarding installation error today only I found that some problem in connecting internet via terminal, eventhough proxy address and port no. is correct.. the error I got was dinesh@dinesh-Infotech:~$ export http_proxy=172.16.32.200:3128 dinesh@dinesh-Infotech:~$ ping www.google.com PING www.l.google.com (74.125.236.81) 56(84) bytes of data. From 172.16.100.1 icmp_seq=88 Destination Host Unreachable From 172.16.100.1 icmp_seq=114 Destination Host Unreachable From 172.16.100.1 icmp_seq=134 Destination Host Unreachable From 172.16.100.1 icmp_seq=141 Destination Host Unreachable From 172.16.100.1 icmp_seq=227 Destination Host Unreachable From 172.16.100.1 icmp_seq=228 Destination Host Unreachable From 172.16.100.1 icmp_seq=240 Destination Host Unreachable Is it possible to browse internet from browser using the proxy settings? If so, the proxy/firewall admin may blocked the ping. try an console based browser like lynx or links. lynx http://google.com -- Regards, T.Shrinivasan My Life with GNU/Linux : http://goinggnu.wordpress.com Free/Open Source Jobs : http://fossjobs.in Get CollabNet Subversion Edge : http://www.collab.net/svnedge ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] Fwd: [Wikimediaindia-l] Wikimedia's participation in Google Summer of Code
-- Forwarded message -- From: Sumana Harihareswara suma...@wikimedia.org Date: 30 Nov 2011 01:54 Subject: [Wikimediaindia-l] Wikimediaapos;s participation in Google Summer of Code To: wikimediaindi...@lists.wikimedia.org On 11/28/2011 08:43 AM, wikimediaindia-l-requ...@lists.wikimedia.org wrote: Date: Mon, 28 Nov 2011 19:12:41 +0530 From: Srikanth Lakshmanan srik@gmail.com Subject: Re: [Wikimediaindia-l] IEP Pilot - Preliminary Analysis To: Wikimedia India Community list wikimediaindi...@lists.wikimedia.org Message-ID: ca+30aumo65zcp8wulpcu7kjbbze6olkevze6j70i5kfomfc...@mail.gmail.com Content-Type: text/plain; charset=iso-8859-1 Hi, Apart from studying ourselves, It would also be interesting to do a case study of similar student participatory programs and take best practices and incorporate them. Google Summer of Code would be a classic example, though its a summer contract, but some of the aspects are worth comparing. 1. GSoC has a steep(okay relatively much higher) barrier to entry to attract the cream of students inturn the number of students would be significantly less. 2. Many students continue to contribute to the organization / open source in general beyond the contract 3. Strong staging process to cross the gates(merging the codeline happens mostly post final evaluation) ensures impact of the student does not affect the community. 4. Many communities are largely happy to participate in GSoC since they usually get contributors to the community. 5. Communication models that exist in the program, typically there would be hardly anyone from the city / country for that matter to mentor. The communication happens online inspite of timezone differences. 6. GSoC gives a huge money as motivation, but most students join the program for reasons beyond money though they swipe the cards :D There are few students on this list who took the same program with WMF, they could share some insights too! I managed MediaWiki's participation in Google Summer of Code this year, and could talk with anyone interested in participating, anyone researching it, and anyone who is curious. :-) We try to document our participation on mediawiki.org wiki pages. Some useful resources: https://www.mediawiki.org/wiki/Google_Summer_of_Code For some quantitative analysis of our past participation, Max Semenik's analysis page: https://www.mediawiki.org/wiki/User:MaxSem/GSoC_analysis The four Indian students from this year's participation were Devayon Das, Yuvi Panda, Akshay Agarwal, and Ankit Garg. You can read more about this year's participants at: https://www.mediawiki.org/wiki/Summer_of_Code_2011 But of course there are about 170 other organizations that participated in Google Summer of Code this year. Our experience might differ from some of theirs. Any student who is interested in applying to GSoC next year: now is a good time to start learning about MediaWiki so you'll have a good proposal when the application time comes in the spring! You can start with this guide: https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker . And of course I'm happy to give help. -- Sumana Harihareswara Volunteer Development Coordinator Wikimedia Foundation ___ Wikimediaindia-l mailing list wikimediaindi...@lists.wikimedia.org To unsubscribe from the list / change mailing preferences visit https://lists.wikimedia.org/mailman/listinfo/wikimediaindia-l ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] problem in connecting internet via terminal
On Thu, Dec 1, 2011 at 7:13 PM, Shrinivasan T tshriniva...@gmail.com wrote: On Thu, Dec 1, 2011 at 7:01 PM, Dinesh Infotech dinesh@gmail.com wrote: thanks for all who replied for my mail regarding installation error today only I found that some problem in connecting internet via terminal, eventhough proxy address and port no. is correct.. In a corporate setup, the port used for ping is usually blocked in the firewall. Is it possible to browse internet from browser using the proxy settings? If so, the proxy/firewall admin may blocked the ping. try an console based browser like lynx or links. If you couldn't get lynx installed, try links or wget. infact wget would be easier, as you can set the proxy settings easily through the command line. For lesser beings, like me, who are stuck with M$, with no links/lynx/wget/ping, what we do is this: telnet server port if there is a proxy inbetween telnet proxy port and then use it to connect to the actual term. (WGET is far easier) -- Natarajan ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] Anyone knows Skype for Ubuntu ?
Hi all, Is there any Skype for Ubuntu 8.10 ? Or atleast let me know of any instance of working Skype in any Ubuntu version. The Skype download page does not list Ubuntu 8.10. Thanks, Selva. ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] [TIP] perl tutorial 0
There was some comparison with Python yesterday. Though perl is not as good as python in many ways for some reason perl has a very strong developer community around it. It has got a certain way to obtain copious documentation in UNIX man page format. Perl has CPAN(www.cpan.org) which is integrated into the standard distribution. The sheer energy and force behind perl seems enormous. No other language has enjoyed such sheer patronage. Not C, not java,not even php. And perl's UNIX focus lies in its manpage format for documentation unlike python's help(module) style, though every language has OS bindings perl is a direct copy when it comes to regex, its IPC and so on. It is nothing but UNIX in a new flavor. Today we will see some more examples. $ cat 0.pl --- #!/usr/bin/perl $scalar1 = This is a string scalar; @arr = (1,2,3,5, string1, one more, $scalar1); %h = (key1 = 6, key2 = 10); print The array is @arr\n; for(keys %h) { print key is $_, value is $h{$_}\n; } --- I will explain the above code. We have seen scalars yesterday. All scalars start with $ and hold singular values. If you want to store a list of values you require arrays that start with the @ character. Then we see the hash which starts with the % and it uses the same assignment style. Meaning that we use (...) to assign values to the hash. This is because hash is also an array. Instead of numeric prefix it uses named keys. That is why it is called an associative array. So it has exactly 1/2 of the array length. This is because half of the assignment items go towards making the key and half the values. Hashes have no ordering. It is stored and retrieved in a different order. So in order to use ordering we need to resort to the sort() function in perl. We saw that the array can be printed just by enclosing the array in double quotes(). If you print it like this: print @arr; you will get the same result without the space between array elements. This is a key feature of perl. Perl is context aware. Depending on whether the lvalue is singular or plural(scalar or array), the RHS will be assigned as the length of the RHS or the list in the RHS itself. For instance, if you write, $sca = (1,3,4,5); You will see that $sca contains 4. $ perl -e '$sca = (1,2,3,4); print $sca;' 4$ But if you do this: @a = (1,2,3,4); you will be able to assign the whole array. This can trip many people, even experienced programmers. One can even argue it is a bug. For instance in many situations it will be obvious we want the entire list but you won't get it without resorting to () on the LHS. Anyway we will get to that on a future date. For now, the hash statement and the print in the above code is confusing. %hashsample = (1, 100, 2, 200); will get assigned as : 1 - 100 2 - 200 So, $hashsample{1} = 100; $hashsample{2} = 200; Note the syntax. This will drive you mad initially. Perl uses a lot of funny characters. One more thing. Another confusing thing but you can say it is a feature. You assign the hash like this also and get the same result. %foo = (1 = 100, 2 = 200); This is because = is an alias for ,. Howzzat? Anyway array values are accessed with [index] and hash values are accessed with {$key}. For example, @a = (1,3, 10); print first value is $a[0]\n; %foo = (1 = 100, 2 = 200); print hash content with key 1 is $foo{1}\n; Since hash always contains scalars as keys and could contain anything as value it is always one to one. For instance you can hold an array or function pointer as value but it has to be an array pointer. So every time you access a hash value, it will be $hashname{$key}; The usage, for(keys %h) { print key is $_, value is $h{$_}\n; } will be explained tomorrow in iterators. This is the foreach() iterator. Perl makes it very convenient to use array elements in a for loop. More tomorrow. -Girish -- G3 Tech Networking appliance company web: http://g3tech.in mail: gir...@g3tech.in ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Anyone knows Skype for Ubuntu ?
The Skype download page does not list Ubuntu 8.10. Skype has been acquired by Microsoft so this should not be a surprise. -- 0 ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Anyone knows Skype for Ubuntu ?
Is there any Skype for Ubuntu 8.10 ? Or atleast let me know of any instance of working Skype in any Ubuntu version. The Skype download page does not list Ubuntu 8.10. I belive it is still in the repository. you can try apt-get or synaptic to install it. I have not validated this in ubuntu, but its there in my mint, which is based out of ubuntu. Rgds, Siva. ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Fwd: [chennai.rb] [JOBS] Opportunities at Heurion a.k.a Rails Detectives - Both India and Abroad
what exactly about the following words do you not understand: 'Please donot REPLY ALL or REPLY to the group' Did it ever occur to you that it could have been an error, an accident. Or do you have limitations appreciating human error? On Thu, Dec 1, 2011 at 2:52 PM, kenneth gonsalves law...@thenilgiris.comwrote: On Wed, 2011-11-30 at 18:46 +0530, Antano Solar wrote: I am a technology author, architect and trainer. I was earlier working as the CTO of NuVeda Learning. what exactly about the following words do you not understand: 'Please donot REPLY ALL or REPLY to the group' -- regards Kenneth Gonsalves ___ 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] Fwd: [chennai.rb] [JOBS] Opportunities at Heurion a.k.a Rails Detectives - Both India and Abroad
what exactly about the following words do you not understand: 'Please donot REPLY ALL or REPLY to the group' Did it ever occur to you that it could have been an error, an accident. Or do you have limitations appreciating human error? If you have made a mistake, apologize and move on. No point in asking these questions, every one knows it could be a human error. -- 0 ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] [OT] Carrier IQ : India
If you have not already heard, Android phones (and iphones) have a spyware called Carrier IQ. http://www.youtube.com/watch?v=T17XQI_AYNo I am unable to find information as to whether this is added by the manufacturers or by the mobile operators. I personally don't have an android phone/iphone to check this out. Does anyone know whether smartphones in India are affected by it ? or Can someone check this out for me ? Also, Anyone aware of a stable android 2.1/2.2 image without this spyware ? -- 0 ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] edubuntu thin-client hardware recommendations
We have the thin client hardware that matches mostly your requirements. Which perfectly works with the Ubuntu 10.04 LTSP. On Thu, Dec 1, 2011 at 4:12 PM, Arun Khan knu...@gmail.com wrote: On Thu, Dec 1, 2011 at 12:23 PM, Arun Khan knu...@gmail.com wrote: case you can use iBall Netbook cabinet; it does come with a small s/Netbook/Nettop/ -- Arun Khan ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc -- With Regards, RK, +91 9976294191 ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] [OT] Carrier IQ : India
http://www.theverge.com/2011/12/1/2602313/google-nexus-android-phones-and-original-xoom-tablet-do-not-include Hi If you have not already heard, Android phones (and iphones) have a spyware called Carrier IQ. Yeah. Even I came to know about this recently. http://www.youtube.com/watch?v=T17XQI_AYNo I am unable to find information as to whether this is added by the manufacturers or by the mobile operators. I personally don't have an android phone/iphone to check this out. Does anyone know whether smartphones in India are affected by it ? or Can someone check this out for me ? Also, Anyone aware of a stable android 2.1/2.2 image without this spyware ? Google Nexus android phones does not include this Carrier IQ http://www.theverge.com/2011/12/1/2602313/google-nexus-android-phones-and-original-xoom-tablet-do-not-include -- Regards Ramachandran ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] [TIP] perl tutorial 0
On Fri, Dec 2, 2011 at 5:44 AM, Girish Venkatachalam girishvenkatacha...@gmail.com wrote: Though perl is not as good as python in many ways for some reason perl has a very strong developer community around it. It has got a certain way to obtain copious documentation in UNIX man page format. perl is not as good as python? Good lord, I got not the time for this flame bait. And perl's UNIX focus lies in its manpage format for documentation unlike python's help(module) perl's documentation is not in the manpage format. Perl's document is written in the POD format (for Plain Old Documentation). It is possible to obtain the documentation using perldoc (not man) and pod easily gives way to turning the same documentation into any format. Yes, its a big advantage, but its not just man pages. Given man's popularity and familiarity, for the sake of convenience, some package maintainers choose to also turn the pod documentation into man. style, though every language has OS bindings perl is a direct copy when it comes to regex, its Could you please explain what you mean by perl is a direct copy when it comes to regex? IPC and so on. It is nothing but UNIX in a new flavor. Perl is a language with an interpreter on top of Unix-like OSes (and windows and mac and many others including real-time embedded OSes). Perl is not an OS. the OS is below perl and does all the hard-lifting, but perl, as do all languages, attempts to let the programmer write an elaborate recipe of achieving something by manipulating the OS underneath, without us having to know about the internals (of interacting with the OS). So it is confusing when you say that the driver is the vehicle, ie., perl is the OS. [snip] Depending on whether the lvalue is singular or plural(scalar or array), the RHS will be assigned as the length of the RHS or the list in the RHS itself. Err... For instance, if you write, $sca = (1,3,4,5); You will see that $sca contains 4. $ perl -e '$sca = (1,2,3,4); print $sca;' 4$ $ perl -e '$s = (1,3,5,6); print $s' 6 Oops. Its not the length of the array. Its the last element in the array. But if you do this: @a = (1,2,3,4); you will be able to assign the whole array. This can trip many people, even experienced programmers. One can even argue it is a bug. Everything requires a certain approach to learning, learning to deal with a dog is very different from dealing with a dragon. But there are obvious differences in end applications for the two. The question is whether you have learnt that approach fully well and can explain the same to everyone. It is not very helpful to make sweeping statements that only point out problems without providing solutions. Regards, -Suraj -- Career Gear - Industry Driven Talent Factory ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] edubuntu thin-client hardware recommendations
On Fri, Dec 2, 2011 at 10:09 AM, R.Kanagaraj (RK) kanagaraj...@gmail.com wrote: We have the thin client hardware that matches mostly your requirements. Which perfectly works with the Ubuntu 10.04 LTSP. On Thu, Dec 1, 2011 at 4:12 PM, Arun Khan knu...@gmail.com wrote: On Thu, Dec 1, 2011 at 12:23 PM, Arun Khan knu...@gmail.com wrote: case you can use iBall Netbook cabinet; it does come with a small s/Netbook/Nettop/ Please do not top post and quote the posting appropriately. The quotations included in your posting have no reference to the hardware specs. They are there in the OP which is what should have been quoted in your response. -- Arun Khan ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Fwd: [chennai.rb] [JOBS] Opportunities at Heurion a.k.a Rails Detectives - Both India and Abroad
On Fri, 2011-12-02 at 09:24 +0530, Antano Solar wrote: what exactly about the following words do you not understand: 'Please donot REPLY ALL or REPLY to the group' Did it ever occur to you that it could have been an error, an accident. Or do you have limitations appreciating human error? when people make posts by mistake they are expected to make a follow up post like 'sorry, this was a private post but got sent to the list by mistake'. You did not. -- regards Kenneth Gonsalves ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] [OT] Carrier IQ : India
I have a Samsung Galaxy and can confirm this is not present (I could not see any running app by the names shown in video, nor any unstoppable third party apps). Since Google builds of Android were shown not to contain this and indications are that carriers are making OEMs add it, we in India are safe, I guess. We generally don't have direct relationships between carriers and phone companies, and use 'international edition' of phones. May be people who got phones from carriers should check for this and post here(iPhones and IIRC HTC Android was also released in partnership by Airtel, Vodafone) -- அகிலன் (Akilan R) [ blog.akilan.in ] *I should have no use for a paradise in which I should be deprived of the right to prefer hell.* --Jean Rostand ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc