Re: [Ilugc] learning a new language
Hi, in order to improve my programming skills, I am contemplating learning a new language. Not a scripting language - something else. So far my research indicates either C or C++ - recommendations? IMHO you can learn C and skip C++, assuming that you already know Python (as C++ merely adds OO features on top on C). To understand, learn and enjoy C programming, some knowledge on hardware/platform architecture is recommended. Learning Assembly programming (on any architecture or platform) and then progressing to C language will add a lot of value in understanding various aspects of the C language (things like little-endian/big endian-ness, signed variables vs unsigned variables, long-jumps, compiler optimization tricks, pointers, etc). If you are inclined towards learning a programming language that is widely used for developing large-scale enterprise applications - you might want to learn Java (Platform and the language) and its newer descendant that runs on Java platform - Groovy. You get to learning and use AOP, concurrency models on enterprise apps and higher-level architecture design (SOA, Enterprise Component driven design) and so on. Then again, most of what can be done on Java can also be done on Python - just that Java does things differently being a more rigid/statically-typed language. There are also languages like LISP, CLOS, Scala, Clojure - they teach us new ways/approaches to solve a problem. They are worth learning (though not very widely by all) as they broaden our understanding in logical thinking, concepts and algorithms. Happy hacking :-) Cheers, Chandrashekar. -- http://www.chandrashekar.info/ http://www.slashprog.com/ ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] learning a new language
Hi, On 02/09/2011 11:13 AM, Kenneth Gonsalves wrote: hi, in order to improve my programming skills, I am contemplating learning a new language. Not a scripting language - something else. So far my research indicates either C or C++ - recommendations? I'd say learn C only if you are interested in systems programming. There just is no way to do systems programming and /not/ know C -- but that's about the only thing C would be useful for these days. Since you know python, you won't learn anything new from C++ and will only end up wondering why C++ programmers do that to themselves. If you want to improve programming chops, learn lisp or any other functional programming language. soft troll mode Don't listen to the guys telling you about UML. Time would be better spent learning Computer Science (ie: Algorithms and Data structures) and Design Patterns. I've yet to see UML being successfully (and /effectively/) used in a real-world non-academic setup. /soft troll mode cheers, - steve -- random spiel: http://lonetwin.net/ what i'm stumbling into: http://lonetwin.stumbleupon.com/ ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] Report of FDP on LAMP at Vels Srinivasa College of Engineering
Greetings, On 4th and 5th of February a two day Faculty Development Program was organized and successfully completed by Free Software Foundation, Tamil Nadu with the support of faculties, and volunteers. On behalf of Free Software Foundation, Tamil Nadu, I like to thank the Management of Vels Srinivasa College of Engineering for their extended support and hospitality, faculties from all the organized and participated colleges, and volunteers from GLUG of Vels Srinivasa College, for making this a grand success. Free Software Foundation, Tamil Nadu, is in the process of expanding, we like to move our work of spreading awareness to the next level in Tamil Nadu, interested people can contact us to be part of us in spreading the movement. -- Alagunambi Welkin Executive Committee Member Free Software Foundation, Tamil Nadu. Part of - Free Software Movement of India. ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] learning a new language
Hi, On Wed, Feb 9, 2011 at 2:04 PM, steve st...@lonetwin.net wrote: Patterns. I've yet to see UML being successfully (and /effectively/) used in a real-world non-academic setup. Motorola has been using UML and other model driven engg./testing for many many years now. UML/SDL kind of model driven stuff are being used by a lot of companies in the corporate world. But I am not aware of any free software projects using them. Thanks -- Thank you Balachandran Sivakumar Arise Awake and stop not till the goal is reached. Mail: benignb...@gmail.com Blog: http://benignbala.wordpress.com/ ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] learning a new language
Hi, --- On Wed, Feb 9, 2011 at 12:00 PM, Kenneth Gonsalves law...@thenilgiris.com wrote: | haskell sounds interesting - but is it used much? \-- Haskell in the industry: http://www.haskell.org/haskellwiki/Haskell_in_industry SK -- Shakthi Kannan http://www.shakthimaan.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] learning a new language
On Wed, Feb 9, 2011 at 2:04 PM, steve st...@lonetwin.net wrote: I'd say learn C only if you are interested in systems programming. There just is no way to do systems programming and /not/ know C -- but that's about the only thing C would be useful for these days. Since you know python, you won't learn anything new from C++ and will only end up wondering why C++ programmers do that to themselves. If you want to improve programming chops, learn lisp or any other functional programming language. +1 And if you want to explore the programming languages of your younger days, but with a twist, then there is always multithreaded COBOL ;) -- Siddhesh Poyarekar http://siddhesh.in ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] learning a new language
On Wed, 2011-02-09 at 13:55 +0530, Chandrashekar Babu wrote: in order to improve my programming skills, I am contemplating learning a new language. Not a scripting language - something else. So far my research indicates either C or C++ - recommendations? IMHO you can learn C and skip C++, assuming that you already know Python (as C++ merely adds OO features on top on C). ok C it is. thanks guys for your inputs. @steve relax, wild horses would not drag to within a mile of UML ;-). Any good resources you can recommend for a person with python background trying to learn C. (not KR please) -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] learning a new language
Hi How about FreePascal and its IDE, Lazarus? http://freepascal.org and http://lazarus.freepascal.org. Object oriented, Platform independent and OS independent, write once, compile anywhere, GTK/QT/Windows toolkit support Any of the old Delphi VCL guys would appreciate. Too quaint for words. On Windows,Mac,Linux.. Compiler generates native code, (stand alone executable). Done a lots of x86 apps on linux. Nowadays writing a few apps for Arm-linux on Atmel Arm9 at91sam9263 (embedded) using fpc. regards Nataraj On Wed, Feb 9, 2011 at 5:43 AM, Kenneth Gonsalves law...@thenilgiris.com wrote: hi, in order to improve my programming skills, I am contemplating learning a new language. Not a scripting language - something else. So far my research indicates either C or C++ - recommendations? -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ ___ 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] learning a new language
On Wed, Feb 9, 2011 at 6:43 AM, Kenneth Gonsalves law...@thenilgiris.com wrote: in order to improve my programming skills, I am contemplating learning a new language. Not a scripting language - something else. So far my research indicates either C or C++ - recommendations? Famous quote: Ironically, C programmers understand this much better than Lisp programmers. One of the ironies of the programming world is that using Lisp is vastly more productive than using pretty much any other programming language, but successful businesses based on Lisp are quite rare. The reason for this, I think, is that Lisp allows you to be so productive that a single person can get things done without having to work together with anyone else, and so Lisp programmers never develop the social skills needed to work effectively as a member of a team. A C programmer, by contrast, can't do anything useful except as a member of a team. So although programming in C hobbles you in some ways, it forces you to form groups whose net effectiveness is greater than the sum of their parts, and who collectively can stomp on all the individual Lisp programmers out there, even though one-on-one a Lisper can run rings around a C programmer. IMHO, every programmer must know C. It exposes the actual working of your program. Once you cross the basics, you will HAVE to understand how your program data and code gets organised in memory and stuff. Once you start trying to optimise for code size and performance, you will get to understand a lot more. Getting a systems perspective is VERY important. Go learn C (if you can do parallel learning do LISP) http://groups.csail.mit.edu/mac/classes/6.001/abelson-sussman-lectures/ -- A ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] learning a new language
On Wed, 2011-02-09 at 09:41 +, Nataraj S Narayan wrote: How about FreePascal and its IDE, Lazarus? http://freepascal.org and http://lazarus.freepascal.org. I forgot to add that I used turbo pascal from 87 to 92 and do not want to go back -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] learning a new language
Hi, On 02/09/2011 03:10 PM, Kenneth Gonsalves wrote: On Wed, 2011-02-09 at 13:55 +0530, Chandrashekar Babu wrote: in order to improve my programming skills, I am contemplating learning a new language. Not a scripting language - something else. So far my research indicates either C or C++ - recommendations? IMHO you can learn C and skip C++, assuming that you already know Python (as C++ merely adds OO features on top on C). ok C it is. thanks guys for your inputs. @steve relax, wild horses would not drag to within a mile of UML ;-). Any good resources you can recommend for a person with python background trying to learn C. (not KR please) I think the fear of KR (pretty much like that of C) is hyped. C (as well as KR) is very small and easy to understand (yes, I just said that !). *However*, to become /good/ at C (and to truly grok KR) may take years ! I personally found Steve Summit's Notes to Accompany The C Programming Language, by Kernighan and Ritchie (``KR'')[1] and Richard Heathfield's Answers to Exercises[2] especially useful: [1] http://www.eskimo.com/~scs/cclass/krnotes/top.html [2] http://users.powernet.co.uk/eton/kandr2/index.html If you still want to try other resources: (I liked this one back in college might be a bit dated though) http://www.cs.cf.ac.uk/Dave/C/ http://www.iu.hio.no/~mark/CTutorial/CTutorial.html cheers, - steve -- random spiel: http://lonetwin.net/ what i'm stumbling into: http://lonetwin.stumbleupon.com/ ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] learning a new language
Hi Aanjhan, Comparing these two recursive factorials in Lisp and C (define factorial (lambda (n) (if ( n 1) 1 ( * n (fact (- n 1)) int factorial(int i) { if (i1) return (i * factorial(i-1)); } Pardon me for a flawed logic. Lisp code does look cool to me. Much more intutive than C. So says Paul Graham too, http://paulgraham.com/diff.html. regards Nataraj regards Nataraj On Wed, Feb 9, 2011 at 9:44 AM, Aanjhan R aanj...@gmail.com wrote: On Wed, Feb 9, 2011 at 6:43 AM, Kenneth Gonsalves law...@thenilgiris.com wrote: in order to improve my programming skills, I am contemplating learning a new language. Not a scripting language - something else. So far my research indicates either C or C++ - recommendations? Famous quote: Ironically, C programmers understand this much better than Lisp programmers. One of the ironies of the programming world is that using Lisp is vastly more productive than using pretty much any other programming language, but successful businesses based on Lisp are quite rare. The reason for this, I think, is that Lisp allows you to be so productive that a single person can get things done without having to work together with anyone else, and so Lisp programmers never develop the social skills needed to work effectively as a member of a team. A C programmer, by contrast, can't do anything useful except as a member of a team. So although programming in C hobbles you in some ways, it forces you to form groups whose net effectiveness is greater than the sum of their parts, and who collectively can stomp on all the individual Lisp programmers out there, even though one-on-one a Lisper can run rings around a C programmer. IMHO, every programmer must know C. It exposes the actual working of your program. Once you cross the basics, you will HAVE to understand how your program data and code gets organised in memory and stuff. Once you start trying to optimise for code size and performance, you will get to understand a lot more. Getting a systems perspective is VERY important. Go learn C (if you can do parallel learning do LISP) http://groups.csail.mit.edu/mac/classes/6.001/abelson-sussman-lectures/ -- A ___ 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] learning a new language
Hi Ken FPC does'nt look like TP at all, its more in lines of VB and Delphi. Just that the syntax is Pascalish style. Everything derived from a TObject. Of course, you are free to go without objects, if you choose, the old procedural way. In that too, I like the nested procedures and its scopings very much. Maybe you tried Ruby? Whip up demos very fast. regards Nataraj On Wed, Feb 9, 2011 at 9:57 AM, Kenneth Gonsalves law...@thenilgiris.com wrote: On Wed, 2011-02-09 at 09:41 +, Nataraj S Narayan wrote: How about FreePascal and its IDE, Lazarus? http://freepascal.org and http://lazarus.freepascal.org. I forgot to add that I used turbo pascal from 87 to 92 and do not want to go back -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ ___ 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] learning a new language
On Wed, 2011-02-09 at 10:58 +, Nataraj S Narayan wrote: Maybe you tried Ruby? ouch -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] learning a new language
Oh no! sorry for hitting you where is hurts. May be you are looking for something which fires you up in the cool of Nilgiris. How about some good ol' assembler? Program main; function fact(x : integer):integer;assembler; label loop; asm .text .align 2 mov r1,r0 mov r2,#1 loop: mul r3,r2,r1 mov r2,r3 subs r1,r1,#1 cmp r1,#0 bgt loop MOV r0,r2 MOV pc,lr end; Have fun. regards Nataraj var i:integer; begin for i:=1 to 10 do writeln('factorial',i,fact(i)); end. On Wed, Feb 9, 2011 at 11:26 AM, Kenneth Gonsalves law...@thenilgiris.com wrote: On Wed, 2011-02-09 at 10:58 +, Nataraj S Narayan wrote: Maybe you tried Ruby? ouch -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ ___ 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] Understanding Free and Open source code licenses
On 02/09/2011 07:08 AM, Kenneth Gonsalves wrote: are you implying that I have not done research? My research shows that choice of license is irrelevant with regards to success, failure or sustainability of a project, which solely depends on the project fulfilling a need and on the methodology (what you call governance. And I will continue to believe this unless I can be shown an example (documented example) to the contrary. You continue to vehemently miss the point I have been making.I rest my case. Rahul ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Understanding Free and Open source code licenses
On Wed, 2011-02-09 at 17:17 +0530, Rahul Sundaram wrote: You continue to vehemently miss the point I have been making. frankly I am totally unable to understand the point you have been making. -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Understanding Free and Open source code licenses
On 02/09/2011 05:43 PM, Kenneth Gonsalves wrote: On Wed, 2011-02-09 at 17:17 +0530, Rahul Sundaram wrote: You continue to vehemently miss the point I have been making. frankly I am totally unable to understand the point you have been making You already agreed on the fundamental point I was making which is that a decision on which license to pick for your projects is an important one. How it can affect potentially affect sustainability can be understood by looking at various important projects. I have already pointed one example. If you need more, take a look at Wine history. You will have to do further research on your own and come to your conclusions after that point.If you want to discuss this further, catch me up on IRC or mail me offlist. I am sure the list needn't be bothered further with this. Rahul ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] need a web mail client with pop3 support
Dear All, I am moving ~70 mail boxes from an old email provider to a new one. During the migration, I want to provide users access to their old POP3 mailboxes using a web mail client. All web mail clients I have used and evaluated - Squirrel Mail, Round Cube, etc - are IMAP only, and do not support POP3. Any recommendations are for a POP3 web mail client are very welcome. Thanks! - Raja ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] learning a new language
How to train your brain to flip to a new language : http://www.bitesizeirishgaelic.com/blog/self-learning-non-widespread-languages/ -V http://blizzardzblogs.blogspot.com/ ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] learning a new language
On Wednesday 09 February 2011 11:48 AM, Arun SAG wrote: I'd suggest lisp http://www.landoflisp.com/ or haskell. +1. Every time I'm feeling rather chuffed that I managed to crack a hard problem, I go back and try some functional programming. It quickly brings me back to the familiar I'm not worthy feeling every time I try to work through SICP exercises. Why just one? Personally, I would recommend you learn half a dozen languages at a time - Lua, Io, Haskell, Clojure, Erlang, etc. Or Javascript (I'm not kidding). Or you could probably start with this: http://pragprog.com/titles/btlang/seven-languages-in-seven-weeks. Good luck! Vamsee. ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] learning a new language
Hi, I think learning C would be good for a start. One advantage of C is that it is the most used language of the kernel. So if you're interested in kernel programming, C is a must have. I've heard that the book Deep C Secrets written by an Indian author is a good place to start. With Regards, --Kumaran R ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] need a web mail client with pop3 support
Hi, SquirrelMail is capable of retrieving e-mail from a POP3 server, via the included Mail Fetch plugin. However, SquirrelMail requires an IMAP server to run atop of. The IMAP server store the e-mails and is also used for authentication, so if there is no IMAP server, SquirrelMail can not be used. With Regards, --Kumaran R = ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Understanding Free and Open source code licenses
On Wed, 2011-02-09 at 18:07 +0530, Rahul Sundaram wrote: frankly I am totally unable to understand the point you have been making You already agreed on the fundamental point I was making which is that a decision on which license to pick for your projects is an important one. yes How it can affect potentially affect sustainability can be understood by looking at various important projects. I have already pointed one example. I have read the citation you have given - 6 times so far. There is nothing about license there - the citation talks of what you call governance - governance is bad and is the root of the problem. If you need more, take a look at Wine history. aha - at last a good example - shift from BSD license to lgpl in the belief that BSD license was harming the project and lgpl would benefit the project. Will look into it further. This thread is extremely interesting: http://www.winehq.org/pipermail/wine-devel/2002-February/003912.html You will have to do further research on your own and come to your conclusions after that point.If you want to discuss this further, catch me up on IRC or mail me offlist. I am sure the list needn't be bothered further with this. I do not want to discuss anything offlist - I am quite sure that lots of list members are eagerly following the discussion (and most of them cheering for you) -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Understanding Free and Open source code licenses
[SNIPPED] I do not want to discuss anything offlist - I am quite sure that lots of list members are eagerly following the discussion +N (and most of them cheering for you) That I am not very sure. -- Asokan Pichai *---* We will find a way. Or, make one. (Hannibal) ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] [OT] [OH Definition] OSHW Definition v1.0 - RELEASED!
DONE! Please forward far and wide! and endorse if you agree http://www.openhardwaresummit.org/2011/02/10/open-hardware-definition-1-0-released/ This is a very exciting moment for the movement Congrats and thanks to all! ayah On Feb 8, 2011, at 8:11 PM, ayah bdeir wrote: Dear all We are finally ready to release the Open Hardware Definition v1.0! The definition will be released to the public WEDNESDAY FEB 9th AT MIDNIGHT. I will post on the Open Hardware Summit page at that time, please also help us by publishing on your sites, blogs, twitter so we can be synchronized.. In the meantime, if you approve of the definition, you can go ahead and endorse it: http://freedomdefined.org/OSHW Thanks to all! and here's to a better 1.1 Cheers ayah ___ definition mailing list definit...@lists.openhardwaresummit.org http://lists.openhardwaresummit.org/listinfo.cgi/definition-openhardwaresummit.org -- Regards, Sathishkumar D ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] learning a new language
On Feb 9, 2011 11:15 AM, Kenneth Gonsalves law...@thenilgiris.com wrote: in order to improve my programming skills, I am contemplating learning a new language. Not a scripting language - something else. Still a scripting language, but do have a look at JavaScript. It has more features and programming constructs than you would think and is used in a lot more places than a web browser. - Raja ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] learning a new language
On 9 February 2011 11:48, Arun SAG saga...@gmail.com wrote: On Wed, Feb 9, 2011 at 11:13 AM, Kenneth Gonsalves law...@thenilgiris.comwrote: in order to improve my programming skills, I am contemplating learning a new language. Not a scripting language - something else. So far my research indicates either C or C++ - recommendations? I'd suggest lisp http://www.landoflisp.com/ or haskell. I would also suggest haskell. Its a pure functional programming language, and the style of programming is drastically different from conventional procedural languages and Object-oriented languages. You can check out more at http://www.haskell.org. Vinod. -- Arun S.A.G http://zer0c00l.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
[Ilugc] Exception in jpcap path
Hi, I've created a GUI application which uses jpcap library. i installed jdk1.6.0_11 in /opt folder and place the libjpcap.so, jpcap.jar files in /opt/jdk1.6.0_11/jre/lib/ext. i've set the JAVA_HOME variable to my /opt/jdk1.6 in .bashrc file . Then,I've the built the jar file for my application and placed it in /usr/local/share and created a sh file to run the jar file and placed it in /usr/local/bin. now when i run that sh file from terminal, it works perfectly. Now i add that jar file to GNOME menu as stated here Howto Add entries in GNOME Menu|Ubuntu Geek. Command i've used is /usr/local/bin/sh_file_name. now when i clicked the application from menu, it shows an exception as No class found jpcap/packetreceiver like that. why it doesn't take the path which i set to JAVA_HOME ? Anyone please clarify me. -- with regards Raja Pandi ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] learning a new language
On 9 February 2011 16:02, Nataraj S Narayan natara...@gmail.com wrote: Hi Aanjhan, Comparing these two recursive factorials in Lisp and C (define factorial (lambda (n) (if ( n 1) 1 ( * n (fact (- n 1)) int factorial(int i) { if (i1) return (i * factorial(i-1)); } Pardon me for a flawed logic. Lisp code does look cool to me. Much more intutive than C. So says Here's one way of writing factorial in Haskell. factorial 0=1 factorial n=n*factorial(n-1) Nice, isn't it? Just the way you learnt it in school! Pattern matching rules! Vinod. Paul Graham too, http://paulgraham.com/diff.html. regards Nataraj regards Nataraj On Wed, Feb 9, 2011 at 9:44 AM, Aanjhan R aanj...@gmail.com wrote: On Wed, Feb 9, 2011 at 6:43 AM, Kenneth Gonsalves law...@thenilgiris.com wrote: in order to improve my programming skills, I am contemplating learning a new language. Not a scripting language - something else. So far my research indicates either C or C++ - recommendations? Famous quote: Ironically, C programmers understand this much better than Lisp programmers. One of the ironies of the programming world is that using Lisp is vastly more productive than using pretty much any other programming language, but successful businesses based on Lisp are quite rare. The reason for this, I think, is that Lisp allows you to be so productive that a single person can get things done without having to work together with anyone else, and so Lisp programmers never develop the social skills needed to work effectively as a member of a team. A C programmer, by contrast, can't do anything useful except as a member of a team. So although programming in C hobbles you in some ways, it forces you to form groups whose net effectiveness is greater than the sum of their parts, and who collectively can stomp on all the individual Lisp programmers out there, even though one-on-one a Lisper can run rings around a C programmer. IMHO, every programmer must know C. It exposes the actual working of your program. Once you cross the basics, you will HAVE to understand how your program data and code gets organised in memory and stuff. Once you start trying to optimise for code size and performance, you will get to understand a lot more. Getting a systems perspective is VERY important. Go learn C (if you can do parallel learning do LISP) http://groups.csail.mit.edu/mac/classes/6.001/abelson-sussman-lectures/ -- A ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ___ 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] Exception in jpcap path
2011/2/10 ராஜ பாண்டி vrp...@gmail.com Hi, I've created a GUI application which uses jpcap library. i installed jdk1.6.0_11 in /opt folder and place the libjpcap.so, jpcap.jar files in /opt/jdk1.6.0_11/jre/lib/ext. i've set the JAVA_HOME variable to my /opt/jdk1.6 in .bashrc file . Then,I've the built the jar file for my application and placed it in /usr/local/share and created a sh file to run the jar file and placed it in /usr/local/bin. now when i run that sh file from terminal, it works perfectly. Now i add that jar file to GNOME menu as stated here Howto Add entries in GNOME Menu|Ubuntu Geek. Command i've used is /usr/local/bin/sh_file_name. now when i clicked the application from menu, it shows an exception as No class found jpcap/packetreceiver like that. why it doesn't take the path which i set to JAVA_HOME ? It seems that you are using relative path in the script. When you use gnome menu, the working directory will be your home directory. So check if there is any relative path in your script. I hope this may help. regards, Aravind J -- // Enjoy your life to the fullest.. ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] learning a new language
On 9 February 2011 12:00, Kenneth Gonsalves law...@thenilgiris.com wrote: On Wed, 2011-02-09 at 11:48 +0530, Arun SAG wrote: in order to improve my programming skills, I am contemplating learning a new language. Not a scripting language - something else. So far my research indicates either C or C++ - recommendations? I'd suggest lisp http://www.landoflisp.com/ or haskell. haskell sounds interesting - but is it used much? no point learning something that is only used by 2.5 people in Sweden ;-) Sadly true! But then, learning is for the fun and challenge in it too, no, KG? ;-). On a much serious note, the number(2.5) that you mentioned can improve if programmers like us try to bring such languages into the application domain in an effective way. Vinod -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ ___ 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] learning a new language
On Thu, 2011-02-10 at 10:50 +0530, Raja Subramanian wrote: On Feb 9, 2011 11:15 AM, Kenneth Gonsalves law...@thenilgiris.com wrote: in order to improve my programming skills, I am contemplating learning a new language. Not a scripting language - something else. Still a scripting language, but do have a look at JavaScript. It has more features and programming constructs than you would think and is used in a lot more places than a web browser. I have been trying to learn javascript for the past 7 years - I seem to have some block. Just not happening. However the good news is that I seem to be getting on ok with C - feels very primitive, but the good thing is the internet which explains all the errors and warnings. Last three times I tried, internet had not reached India. -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Understanding Free and Open source code licenses
On Thu, 2011-02-10 at 04:20 +, Asokan Pichai wrote: That I am not very sure. *you* are in my camp - w000t -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] FOSS intro session in Karpagam Institute of Technology, coimbatore dt.
Dear all, Yesterday, myself did a session on Intro To FOSS at Karpagam Institute of Technology, Coimbatore dt, for the First and Second Year MCA students. I would like to thank the Principal Dr. T. Ramachandran and HOD-MCA for organizing the programme. This institution have started migrating to linux/foss applications in all departments. Regards, S. Baskar CEO/LinuXpert Systems ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc