Re: [Ilugc] Protecting the Ruby on Rails source code

2014-06-25 Thread Steve Robinson
Sheyam Selvaraj smartsheyam@... writes:

 
 Hi Users,
 I am trying to implement my application in my client place and the
 application is developed in Ruby on Rails.
 
 Since I am going to deploy on their premise I wish to make the code as
 encrypted can be compiled but not be able to view, use or copy.
 
 How can I do that using open-source tools.
 


Hi Sheyam,

It would be better if you could ask this question at the Chennai.rb Mailing 
list. (or any Ruby Mailing List for that matter :) ).

https://groups.google.com/forum/#!forum/chennairb

Btw, to answer your question. There are couple of encoding tools to protect 
your source code. I wont mention them here.

Also if you could use JRuby then you get protection by default.. if you know 
what I mean.

Thanks
Steve

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


Re: [Ilugc] Ruby Programming Basics - Tech Capsule

2014-05-29 Thread Steve Robinson
Karthikeyan A K 77minds@... writes:

 
 Hello People,
 
 There will be talk on Ruby programming basics in my office Techartus 
 Solutions (Chennai, India) this Saturday. 
 


at what Time?


--
Steve

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


[Ilugc] Chennai.rb February Meetup

2014-02-06 Thread Steve Robinson
Hello everyone,

The Chennai.rb community will be having its February meetup on the 15th 
February (Saturday) (2 - 5 PM).

Agenda:

1. Building Rich Rails apps with EmberJS by Vysakh Sreenivasan (@vysakh0)
2. Introduction to AngularJS by Santhosh Kumar ( 
https://github.com/santhotech)

RSVP: http://www.meetup.com/chennai-ruby/events/164707822/

Venue:

Techaffinity Global Private Ltd.
SP Infocity Block A, 8th Floor, Module 4B, 40, MGR Salai, Kandanchavadi, 
Chennai 600096

Landmark :
It is the road opposite to Hi Style near Perungudi, behind Lifeline 
hospital, next to RMZ Millenia Tech Park.

Security Pass:
To get a visitor's pass please inform the security at the security 
office that you are visiting Techaffinity for a meetup.

For all queries regarding the event please contact Santhosh Kumar 
(9941497246).

All are invited to come!

--
Regards
Steve Robinson
http://about.me/steverob

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


Re: [Ilugc] 24 pull requests is in Tamil

2013-12-28 Thread Steve Robinson
Arun Prakash arunprakash.pts@... writes:



  http://www.spritle.com/blogs/2013/12/27/24-pull-requests-in-tamil/ :)
 
  Good Attempt.
 Still you can improve the quality of the translation. There are
 translations which is translated word by word.
 Usually when we do quality check in real time projects, we check whether
 the meaning is conveyed right or not ?
 Try to do translation based on the meaning and dont try to replicate the
 sense. Before translation go through other pages/programs which is
 previously translated.
 

Hello everyone!
Arun you are completely right! We are by no means very good at this. 
But we wanted to put our 
language up there and started it. It's open source. 
It would be nice if you or someone else could 
improve the translation.

And thanks for the advice to see other Tamil applications. 
Never thought of that. I will try and fix 
the mistakes.

But anybody can do it. That's the whole point. 

I do understand that you're not criticising. Thank you. 

- Steve Robinson (@stev4nity)



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


Re: [Ilugc] How to delete multiple patterns from a text file easily?

2013-09-07 Thread steve
Hi,

On Friday 06 September 2013 10:46 PM, Shrinivasan T wrote:
 For a tamil wiktionary [ http://ta.wiktionary.org] project, we need to
 delete multiple patterns from a text file.

 currently, we are using gedit and using find/replace with space for the
 each pattern.

 See the task here.
 http://www.youtube.com/watch?v=rF2KLhxFq9w

 Is there any gedit plugin to find and replace multiple strings or any
 command line tool to do this?

 Hope we can do with some regular expression and sed/awk utilities.

 Can anyone try them and share the snippet?


There are plenty of options. Unix tools excel at this sort of thing. Some 
options:

1. Open the file in vim and then type:

:%s/search pattern/replace pattern/g

2. Run the command:

perl -pi -e 's/search pattern/replace pattern/g'

3. Run the command:

sed -i -e 's/search pattern/replace pattern/g'

You might notice that, all these approaches follow almost the same syntax, 
that's because it is a almost standard regular expression search-and-replace 
syntax. This form of seach-and-replace is *very* flexible, allowing you to 
search for multiple strings and replacing them or for allowing the replacement 
string to contain part of the matched searched string ...etc. If you could 
provide a more concrete example of search and replacement strings, we could 
possibly help you better (although, since I do not know tamil, that might 
possibly limit the extent to which I could help).

cheers,
- steve
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines


Re: [Ilugc] 1D1C - tee

2013-07-06 Thread steve
On Saturday 06 July 2013 10:52 AM, Arun Khan wrote:
 On Sat, Jul 6, 2013 at 9:13 AM, ShanthaKumar m...@shanth.tk wrote:
 --- On Fri, 05 Jul 2013 07:38 PM,  steve st...@lonetwin.net wrote:

 cat somefile.txt | sort | tee sorted.txt | uniq

 This reminds me once I was given UUoC award [1].

hehe, that's nice, thanks for the award ;-). Yeah, i just typed that out and 
realized after I saw the mail on the list.

 If I'm right, this could be,

 $ sort somefile.txt | tee sorted.txt | uniq

 FWIW, GNU sort has-u|--unique  option to remove the duplicate entries.

ehe, but that wouldn't demonstrate the point which was being made in the 
context, ie: capturing the intermediary sorted output in a text file before 
using uniq to remove duplicates.

cheers,
- steve
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines


Re: [Ilugc] 1D1C - tee

2013-07-05 Thread steve
On Friday 05 July 2013 05:43 PM, Dhana Sekar wrote:
 command: tee
 purpose: read from standard input and write to standard output and files
 syntax:  tee [OPTION]... [FILE]...

 options:
   -a append
   -i ignore interrupts

 example:

 1. To view and save the output from a command at the same time:

  $ ls | tee file1

 2. default tee command overwrites the file. tee command to append
  to the file using -a

 $ ls | tee -a file1

 3. To write the output to multiple files

  $ ls | tee file1 file2 file3


One useful thing about tee which I think is a bit underrated is the write to 
standard output part -- the fact that tee not only consumes its standard input 
but also copies it without any modification to its standard output (while also 
writing it to a file), is awesome when you want to ^log^ an 'intermediary' 
state, eg:

cat somefile.txt | sort | tee sorted.txt | uniq

cheers,
- steve

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


Re: [Ilugc] Insightful obituary of Doug Engelbart

2013-07-04 Thread steve
On Thursday 04 July 2013 10:34 AM, Prem Kurian Philip wrote:

 Engelbart is one of my heroes. Sorry to see him pass on.

 Doug Engelbart's mother of all demos will, very likely, never be surpassed.

 http://www.youtube.com/watch?v=JfIgzSoTMOs

 In a single live demo in 1968 he demonstrated: (From Wikipedia)
 a) Mouse
 b) Windowing user interface
 c) Video conferencing
 d) Teleconferencing
 e) Hypertext
 f) Word processing
 g) Hypermedia
 h) Object addressing
 i) Dynamic file linking
 j) Collaborative real time editor


...and all of this *19-freaking-68* !

cheers,
- steve
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines


Re: [Ilugc] PDF XL and HTML reporting

2013-07-02 Thread steve
On Tuesday 02 July 2013 04:36 PM, Ashwin Dixit wrote:
 On Tue, Jul 2, 2013 at 2:28 AM, Ashwin Dixit ganeshacompu...@gmail.comwrote:

 On Tue, Jul 2, 2013 at 1:28 AM, Girish Venkatachalam 
 girishvenkatacha...@gmail.com wrote:

 As part of my product development efforts I have had to create tabular
 data in
   various formats PDF, XL and HTML.



 Guru-ji, as you requested without using words, I have done my homework.
 Since you have not yet uttered any enlightened words on PDF generation in
 Perl, I deduced in my dimwitted ignorance, that this was an exercise left
 up to the reader.

 [...snip...]

 Please forgive my ignorance, as I am not worthy of interacting with a being
 so supremely attained, and skilled, beyond my comprehension.
 Also, please forgive Rick Measham. He is not a worthy example, to anyone.
 I look forward to reading all about how to generate PDF's using Perl.


LOL !!! Brilliant !! *NOW*, I shall look forward to Girish's mails just to read 
your responses ! If Girish can use this forum as his own personal soapbox, 
propaganda tool and incoherent rant space all rolled into one, you certainly 
can 
use it to indulge your inner creative writer !

cheers,
- steve
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines


Re: [Ilugc] PDF XL and HTML reporting

2013-07-02 Thread steve
 On Tue, Jul 2, 2013 at 4:21 AM, Balachandran Sivakumar benignb...@gmail.com
 wrote:

 Hi,

 On Tue, Jul 2, 2013 at 4:36 PM, Ashwin Dixit ganeshacompu...@gmail.com
 wrote:

 Guru-ji, as you requested without using words, I have done my homework.
 Since you have not yet uttered any enlightened words on PDF generation in

 Overdose of sarcasm is just as bad. It is easier to ignore emails, I
 guess. Let's not stoop very low, in trying to correct others. Thanks


I disagree with the statement that it was an overdose. The dose of sarcasm 
doled 
out by Ashwin was in perfect proportion to the dose of incoherent half-baked 
tech gyaan Girish relives himself off on this list.

Why the double standards ? If one has a big enough problem with Ashwin's reply 
so as to voice it, one should have the same problem with Girish's 
mis-information, personal propaganda and soopbox rants.

If on the other hand, ignoring Girish is something you can do, I think you can 
do the same for Ashwin's sarcasm laden replies ...ah ! or do you think Ashwin 
needs to be treated differently than Girish ?

On Tuesday 02 July 2013 05:00 PM, Ashwin Dixit wrote:

 Ignoring emails just produces ignorance.
 There are many things in the world that would be better, in my humble
 opinion, if we engaged in civil discourse, instead of letting machines
 filter our reality.
 As for stooping low, there really is no limit to my stupidity, or the
 Universe.
 I don't understand your concept of low.
 I say whatever this list lets me say. If anyone really minded, Girish would
 have been gone, long time ago.


I doubt that's going to happen. One can only use reason with reasonable people.

Girish is not going to change or stop because he firmly believes that all he 
does is right and anyone who thinks otherwise is doing so because they either 
have a personal problem with him or they are useless time-wasters not to be 
bothered with or they do it because they like correcting others rather than 
contributing something constructive. You see he *does not* think there is 
*anything* wrong with what he does.


cheers,
- steve
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines


Re: [Ilugc] PDF XL and HTML reporting

2013-07-02 Thread steve
On Tuesday 02 July 2013 05:28 PM, Shrinivasan T wrote:
 How are we going to manage this thread and different views ?
 Where can we stop ?


Well, there is nothing there to stop if you think about it:
- If you do not see a problem with Ashwin's mail, there is no reason to reply 
other than for saying, thanks (same as you do with Girish's posts)

- If you see a problem with Ashwin's mail, ignore the mail (same as you do with 
Girish's posts)

...unless of course you think rules should be different for Ashwin and Girish.

cheers,
- steve

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


Re: [Ilugc] V.A. Shiva Ayyadurai, a man who claims he invented email as in 1978

2013-07-01 Thread steve
On Tuesday 02 July 2013 12:10 AM, A. Mani wrote:
 On Mon, Jul 1, 2013 at 8:12 PM, Manokaran K manoka...@gmail.com wrote:
 This week, Chomsky — the professor emeritus of linguistics and philosophy
 at MIT who’s known as much for his criticism of US foreign policy and
 capitalism as much as his academic work —unexpectedly joined the
 debatehttp://www.prnewswire.com/news-releases/the-invention-of-email-by-a-14-year-old-in-newark-nj-in-1978-noam-chomsky-speaks-to-the-terminology-of-email-158572145.html
 over

 That is very uninformed of Chomsky or is the reporting all wrong?

Well, Chomsky wasn't defending a random person he believed to be right, he was 
defending one of his undergraduate students. Just goes to show that everybody 
is 
human and that relationships and interactions have a direct effect on how you 
think and they can colour perspective (Chomsky, of all people should know this 
:) ).

By the looks of it Chomsky seems to have been defending the idea that 
innovation 
can happen anywhere even by small kids (a.k.a - it is small student Vs Big Bad 
Industry ...the student is obviously right). It is unfortunate that the facts 
mattered less.

Note that the controversy reached it's height sometime in early 2012 when the 
Smithsonian inducted some of Shiva Ayyadurai's work as part of their 
collection. 
The above article appears to be from then.

In any case, I think the saving grace is that not many people took this 
non-sense seriously and the matter died due to lack of any more spice in the 
story.

cheers,
- steve

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


Re: [Ilugc] [OT] Why Our Country Lacking Enterprenuers Like Mark Zuckerburg ?

2013-05-15 Thread steve
Hi,

On Wednesday 15 May 2013 10:12 AM, jaya kumar wrote:
 [...snip...]
 So Why indian enterperneurs not having the   idea of start up sites Like
 Facebook  or etc .,


This is not exactly true. There are plenty of Indian entrepreneurs. Off the top 
of my head I can think of Gluster, SlideShare, PubMatic, Druva (disclaimer: I 
personally know the CEO of Druva) ...etc. All of these are pretty much market 
leaders in their market space, just like Facebook is in the socail network 
space.

That said, there are a few realities that are specific to India which act as 
deterrents or disadvantages toward entrepreneurship in India. This articles 
covers some of these problem:

http://articles.economictimes.indiatimes.com/2013-01-25/news/36548273_1_young-entrepreneurs-seedfund-job

Besides these, those are some practical issues too:
a. In India children's education and emergency medical costs are something that 
you have to plan towards and save up for. These costs are low to non-existent 
in 
a lot of developed nations. So bootstapping is much harder here in your 20s-30s 
unless you come from reasonably wealthy (and understanding) family.

b. In India, failure is seen negatively in startup circles (ie: by VCs and 
other 
potential investors or even family / society). In the valley VCs generally 
judge 
you from what you've learnt from your failures. So they are more likely to fund 
someone who has tried once and gained from the experience than a complete new 
entrepreneur. This is not true in India.

c. Government Bureaucracy and Corruption, coupled with arcane policies/lows 
governing the IT business.

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


Re: [Ilugc] Vim to edit binary file

2013-05-12 Thread steve
On Sunday 12 May 2013 02:21 PM, Balasubramaniam Natarajan wrote:
 Hi

 I found on the net that this is the command I need to be in to edit a
 binary file after converting to hex.

 :%!xxd


 I am confused as to why we use the *%* sign.  I know that if we need to run
 shell command we can press ESC + colon + exclamation + shell command.


% implies the contents of the file you are editing, for example:

:%sort
will sort all the lines of the file alphabetically

:%s/this/that/g
will substitute all the occurrences of 'this' with 'that' in the file you are 
editing and ...

:!wc -l %

with execute the command wc -l (echo the number of lines) passing the current 
file as an argument.


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


Re: [Ilugc] [OT] Which Linux is Best ?

2013-04-30 Thread steve
Hi,

Just as a clarification -- Linux is a kernel, the software that boots a 
computer, serves as an interface between the hardware and the software and 
manages resources like memory, cpu etc. There *is* just one upstream linux, the 
one that Linus Trovalds maintains at kernel.org.

The names that you mentioned (Red Hat / Fedora / ...etc) are known as Linux 
distributions. What these 'vendors' do is, take the linux kernel, customize it 
in some way if necessary, bundle it with different packages of different 
versions that they think addresses the needs of their target audience and 
release the whole thing as a 'distribution'. An interesting way to point out 
the 
difference is - Android, which is also a Linux distribution in a sense because, 
it runs on top of a (modified) linux kernel and the 'packages' on top of it 
come 
from google and other 'vendors' -- this android distribution is primarily meant 
for mobile/specific purpose devices. Now a lot of vendors (eg: Samsung, 
Motorola, LG, Sony ..etc) further customize android to suit their own devices.

So, now to answer your questions:

On Tuesday 30 April 2013 03:57 PM, jaya kumar wrote:
 Hai To all


 which Linux is best for beginners ?

There is just one Linux kernel. There are plenty of linux distributions.

 and which one is more flexible for
 Enterprise,home and all

 Redhat / Fedora / Oracle Linux / Ubuntu / Cent os / Open suse / kubuntu /
 slackware / Mint


Each of these are created with a purpose in mind and target a specific audience.

 there is only one Linux .. why these many Vendors ?  which one is standard
 for interviews  good for begineers ?


That's a very subjective question. However, most linux distributions can trace 
their ancestry to either a rpm based distro or a deb based distro, so in those 
terms, the best bets to get introduced to a linux environment and be confident 
that the skills would be translatable to a large number of distributions, would 
be either Fedora or Debian.

 why there are so many linux  vendors, why all not even following single
 linux vendors ?


This is very typical of a Bazaar Vs Cathedral model[1]. The question itself is 
meaningless because due to the nature of open source software, which 
/encourages/ people to 'build your own' implies that a single vendor will never 
possible nor even ideal.

cheers,
- steve

[1] http://en.wikipedia.org/wiki/The_Cathedral_and_the_Bazaar
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] [Gnu-linux-discussion] Be Careful When You Copy-Paste On Linux OS -- EFYTimes.com

2013-04-21 Thread steve
On Sunday 21 April 2013 11:35 AM, Arun Khan wrote:
 On Sun, Apr 21, 2013 at 4:05 AM, Chirag Vora  wrote:

 On Sat, Apr 20, 2013 at 10:52 PM, Soumyanath wrote:
 Just saw a seemingly misinformation on website of a popular Electronics
 Website - EFYtimes.com. The article claims that one need to be extra
 careful while doing copy-paste in Linux.


 http://www.efytimes.com/e1/fullnews.asp?edid=104324ntype=moredate=4/20/2013

 Not sure if there is any substance in the claim. Can anyone comment on
 this?


 The article is inane and author has not cited any particular example to
 support his/her claim.


 +1. At least one use case example or cite a reference for the original 
 content.

 I expected better vetting of content by the EFY editors, given that it
 publishes Open Source For You (formerly Linux For You).


ehe, what is the date for this article and who is the author ? Seems like this 
itself is a copy/paste or rather a rehash of better articles posted on HN a 
while ago:

https://news.ycombinator.com/item?id=5508225
http://www.reddit.com/r/netsec/comments/1bv359/dont_copypaste_from_website_to_terminal_demo/

While the actual concern is valid, it is along the common sense line of 
thinking 
about what you are doing, similar as Don't click on links from emails that do 
come from a trusted source Or Always check the URL if you are being 
redirected 
to a login page.

Here is an in-depth look at the issue (linked from the HN article submission 
mentioned above):

http://www.ush.it/team/ascii/hack-tricks_253C_CCC2008/wysinwyc/what_you_see_is_not_what_you_copy.txt


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


Re: [Ilugc] Off-topic: Bitcoin's Potential for Social Change

2013-04-16 Thread steve
On Tuesday 16 April 2013 07:53 AM, Ashwin Dixit wrote:
 Greetings fellow-Linuxers,

 I have a vision to share with you.
 Whether you call it a utopia, or a dystopia, I leave up to you.

 There is great power in people's numbers.
 I feel that a critical mass is gathering behind FOSS and BitCoin.
 I feel that these Davids can potentially overthrow Goliaths.

 Please read my latest blog article and share your opinion:
 http://ownlifeful.blogspot.com/2013/04/bitcoins-potential-for-social-change.html


An alternate perspective:
http://market-ticker.org/post=219284
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] A serious issue of Amazon Elastic Load Balancer

2013-03-20 Thread steve
Hey Nirmalya,

On Wednesday 20 March 2013 12:34 PM, Nirmalya Lahiri wrote:
 Hi all, for last few days I am facing problem while configuring ELB at Amazon
 cloud (EC2). The issue is, I am not getting client IP address while I have
 configured the ELB listener in Layer 4(TCP) mode in server variable, while I
 am getting that in Layer 7(HTTP) mode. I need client IP for my application.

 Still ELB has the issue of SSL/TLS Renegotiation vulnerability. So, I am not
 able to use ELB listener in Layer7(HTTP) mode, rather I am using ELB listener
 in Layer4(TCP) mode and handle the SSL/TLS Renegotiation vulnerability
 through Apache web server.


Umm, I'm sorry, but I don't know much about the second part -- could you 
describe what you exactly you mean by SSL/TLS Renegotiation vulnerability.

As far as getting the client IP is concerned the 'accepted standard' way of 
doing this behind an ELB (when using http)  is by looking at the 
X-Forwarded-For 
header. There are a few quirks you should be aware of but there is enough info 
available online to help you out.

https://www.google.com/search?q=amazon+ELB+X-Forwaded-For

cheers,
- steve

PS: @SK : I think this is a valid question and not OT. What if he had just 
phrased it differently as I have a debian EC2 instance running behind an ELB 
server, which responds to http requests. I need my apache server running on 
this 
debian instance to get the client IP ...  ? It is a tech question to do with a 
linux stack -- it's valid IMHO
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] keep track of super user activities

2012-12-19 Thread steve
On Wednesday 19 December 2012 02:46 PM, s...@ccmb.res.in wrote:
 Hi All

 How to keep track of super user login activities including file modification,
 addition, deletion etc when the Administrator hands over the root password to
 their colleague while on leave? The direct solution to this perplexing and
 recurring issue remains to be solved evern after seeking help from public
 forums. The solution is for CENTOS 6.0 and otehr linux flavours..


It is not advisable to share the root password with people whose actions you 
feel the need to track. Use group definitions / sudo to limit define 
groups/roles and the actions that are allowed for users in those groups.

That said, to do overall system auditing, take a look at the auditd daemon.

[pdf link] http://www.nsa.gov/ia/_files/os/redhat/rhel5-guide-i731.pdf

Please read 2.6.2 for auditd -- and the entire document if you want to learn 
how 
to properly secure your system.

cheers,
- steve

 with thanks in advance s.mahalingam


 ___ 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] headphones in fedora 17

2012-07-31 Thread steve
On Tuesday 31 July 2012 10:54 AM, kenneth gonsalves wrote:
 On Mon, 2012-07-30 at 20:17 +0530, Sankarshan Mukhopadhyay wrote:
 On Mon, Jul 30, 2012 at 5:59 PM, kenneth gonsalves
 law...@thenilgiris.com wrote:

 update - the headphones work out of the box on my wife's much newer
 laptop running Fedora 16
 If you play music/sound on the F17 box, do you get a sound output ?
 yes - but only on the internal laptop speakers - the headphones are mute

You most likely need to change the output device. Different ways to do this:

a. Go to 
https://extensions.gnome.org/extension/295/switch-output-audio-devices/
 Slide the toggle button to On, in a bit you'd be asked whether you 
want to install the extension. Select install. Reload gnome-shell (ie: 
Alt+r, type in 'r' and Enter). Now, right clicking the volume icon 
should hopefully show you the different output 'devices'. Select the one 
matching your headphone socket. (btw, if you are at extensions.gnome.org 
check out all the other extensions. Extensions make gnome3 so much more 
usable - In fact, at least for me gnome-shell F17 + extensions 
+gnome-shell-theme-zukini.noarch is proving to be better than gnome2 ;-) 
...yes, that's what I said ! )

b. Open a terminal and execute 'gnome-control-center', click on Sound, 
in the 'Output' tab, check if you have something like 'Analog 
Headphones' in the drop down for 'Connector'. Select that and then try.

if this doesn't work ...dump gnome and use something like xfce till the 
gnome guys sort it out.

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


Re: [Ilugc] sudo file on multiple machines

2012-07-18 Thread steve
Hi,

On 07/18/2012 05:43 PM, Mehul Ved wrote:
 On Wed, Jul 18, 2012 at 3:55 PM, Roshan George ros...@arjie.com wrote:
 On Wed, 2012-07-18 at 14:30 +0530, Mehul Ved wrote:
 You can can replace rsync with version control tools like git so you
 can even version the various revisions of the file.

 Git will, by default, happily turn /etc/sudoers 0644. Then there will be
 some trouble. etckeeper is supposed to work around this and someone
 seems to have asked a similar question on ServerFault regarding that:
 http://serverfault.com/questions/28973/is-it-possible-to-use-etckeeper-with-a-single-shared-git-repository
 
 Thanks for informing that. I hadn't tried the solution myself so was
 unaware of the same.
 Just wondering how would tools like puppet and chef work for such
 requirements. It would definitely be an overkill for just the sudoers
 file. But, considering if it were to manage all the 4 servers, how
 useful would it be? Someone here with hands-on experience of that.
 PS: Sorry for taking the thread at a tangent but I feel it would be a
 useful extension of this question so I'm not starting off a new
 thread.

The ^right^ way to do this ofcourse is to have centralized sudo rather than
copying the sudoers file to every machine:

https://www.google.co.in/search?q=centralized+sudo

If you think that is more effort than warranted for your use case, I would
suggest going with scp (if you are ok with overwriting, that is) every time you
update sudoers, basically:

$ export SYSTEMS=192.168.1.1 192.168.1.2 192.168.1.3 192.168.1.4
$ visudo  for i in $SYSTEMS; do scp /etc/sudoers root@$i:/etc/ ; done

If having the same sudoers file on all system is all that you need, this ought
to suffice

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] C coding tricks on UNIX

2012-06-26 Thread steve
Hi,

On 06/26/2012 09:05 PM, Girish Venkatachalam wrote:
 [...snipped randomness...]
 
 Now for the tricks part.
 

Disregarding all the usual incoherent ramblings in your post, pray tell, how is
this a 'C' trick ?

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] MICROSOFT solution in UID project

2011-11-23 Thread steve
On 11/23/2011 10:36 PM, Swapnil Bhartiya wrote:

  I know there are several components in this UID project. I know for
  sure the bio metric matching compoent (the software) is run in linux
  and i have seen the documents that are given to vendors bidding for
  bio metric matching component and it clearly states that the software
  apart from having a windows component should work in Linux. I have
  seen it clearly mentioning ubuntu in which software should work for it
  to qualify to the bidding process. I have seen the biometric software
  development process was happening in RHEL and in part C/C++ and in
  part java code. This is no one or two servers these matching software
  will run, but in a cluster of hundred or so servers. So you need a
  data center to run this not one or two servers.

 Links to evidences?

AFAICT Siddhesh already send this in another thread started by you:

http://www.ae.iitm.ac.in/pipermail/ilugc/2011-November/068791.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] FOSS for Organization chart

2011-11-23 Thread steve
On 11/23/2011 04:34 PM, Manokaran K wrote:
 On Wed, Nov 23, 2011 at 4:31 PM, Version Control 
 Buddyvcbu...@gmail.comwrote:

  Is there any FOSS to prepare organization chart? I checked many
softwares. But all are having 30 days trial.
  
  
  Wouldn't libreoffice - draw suite your need ?


 Or a mindmapping tool? Though am not sure mindmapping tools allow
 'network/graph' models!!


Or use graphviz (or more specifically dotty):

http://www.graphviz.org/Documentation.php

Example:
http://hoagland.org/Dot.html
http://linuxdevcenter.com/pub/a/linux/2004/05/06/graphviz_dot.html?page=2

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] [OT] Domain registration

2011-11-17 Thread steve
On 11/17/2011 02:17 PM, freeos wrote:
 Hi,

  I need to register one domain. May I have contacts in Chennai? please


If you are registering a .in domain, try this:

http://www.indiagetonline.in/

It is again a google initiative, but with:

excerpt

Here's what you'll get:

 Free easy-to-build professional website
 Free .in domain name and hosting for one year
 Free email addresses
 Free 365 days support
/excerpt

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] script to download videos from railscasts website

2011-05-21 Thread steve
Hi,

On 05/20/2011 07:27 PM, anbazhagan p wrote:
 Hi,
I can see a lot of difference between your script and mine,

That was intentional ;). Thought, I'd give you a reason to read up and learn 
some more python and some good programming practices :).

 a few things i
 can't understand ,

 1) you have used reporthook=lambda and xferred in try part , i can't
 understand those.


Well, ok, so the third parameter for urlib.urlretrieve() is reporthook. This 
parameter is supposed to be a function, which should accept 3 arguments. This 
function is called once at the time the connection is made and then again for 
every block that gets downloaded. The arguments passed to the function are 
number of block transferred so far, the block size in bytes and the total size 
of the file. Now, this reporthook parameter is optional, but I added it anyways 
to provide an indication if progress of the download. Furthermore, the reason 
it 
is a lambda instead of regular function is so that you can read up on what a 
lambda is :).


 2) you have used exception but i  think there is no possiblity of getting
 error ( i didn't get error
for few videos i downloaded using your script ), can you explain why
 you have used exception


Well, again it was not strictly necessary, but I added it just to demonstrate 
how one might handle conditions like loss of network or lack of disk-space 
(which are both possible error conditions). That said, yeah, strictly speaking 
for such a small script, exception handling isn't really necessary.


 3) can we change the download option byte to kb


Sure we can. Now that you know what the reporthook argument is, do you want to 
give it a this task a try ?

 4) whenever i cancel the script using ctrl+c and again start the script
 it overwrites the previous
 file also starts from first video (so only i had to use wget to
 download videos and continue), can we continue
  the download


Hmm, yep, that's just me being lazy. Sure, we could check for existence of the 
downloaded files and also check the Content-length header with a http HEAD 
request to determine which files have been completely downloaded. I'll add this 
and push.

I hope you are having fun with all of this, if your intention was just to get a 
working script, your initial script was just fine.

cheers,
- steve

PS: maybe we should take this off-list since this isn't exactly on-topic here.

-- 
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] script to download videos from railscasts website

2011-05-20 Thread steve
On 05/19/2011 07:19 PM, anbazhagan p wrote:
 Hi ,
 Thanks for your tips and i will try to change it .I have uploaded the script
 in gist.github.com
 and here is the link to my script .
 https://gist.github.com/980777


...and as promised, here are the changes:
https://gist.github.com/982515

Let me know if you have any questions :)

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] script to download videos from railscasts website

2011-05-18 Thread steve
Hi,

On 05/18/2011 07:37 PM, anbazhagan p wrote:
 Dear Friends
  I have written a python script to download all videos from
 the railscasts website ,
 and you can check my script in my blog
 http://love-blacky.blogspot.com.Please check my
 script and if there is any error or change to be made in my script please
 let me know.



Good stuff. A couple of comments:
a. If you intend to share code and are expecting people to contribute back, it 
would be nice to host the code at some code repository like github.com. That 
way 
people can checkout the code, make changes and push back changes to you easily. 
Even for trivial scripts, I would recommend using gist.github.com (which also 
integrates well with blogs).

b. Why are you using wget to download the url ? Use something like the urllib2 
module in the python standard library and your script becomes instantly usable 
by anyone who might have python installed but may not have wget (python 
developers on windows, for instance).

c. For such a small script having an external dependency on BeautifulSoup might 
not be ideal. I would suggest using the re module from the standard lib to do 
your pattern matching and extraction.

If you host the script on github, I'll submit these changes - deal ?

cheers,
- steve

PS: ehe ...I do find it slightly amusing that you went with python to write a 
script to download ruby related webcasts :D !
-- 
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] [ilugcbe] How to manage the code snippets

2011-05-10 Thread steve
On 05/05/2011 01:14 PM, Sathishkumar Duraisamy wrote:
 On Thu, May 5, 2011 at 12:55 PM, JAGANADH Gjagana...@gmail.com  wrote:
  On Thu, May 5, 2011 at 12:43 PM, Sathishkumar Duraisamy
  flowers...@gmail.com  wrote:

  Hi all,

  When I search the for solutions for some task, I usually come up with
  some code snippets. How to archive those for now and for future
  reference in a easily searchable way (can be in offline / online).



  Put those solutions in your blog with short notes . That will help you and
  others


 For now I going to put in a file and using FreeMind to manage the
 codes. This helps to easily browse the files and hence the codes.
 Since it is in files, I can use as it is in library.

 But this way we cannot able to share the codes. And it is not portable
 too. (between different computers).


I would recommend using `gist`[1] if you want to share snippets and if you just 
want to collect them for personal reference, use a local git/svn/whatever VCS 
you prefer. The advantage of putting them in gist or a local VCS is that you 
get 
all the native search/sort/manage/view tools 'for free'.

Besides snippets, I even put my vimrc and other assorted config files in git 
for 
this precise reason.

cheers,
- steve

https://gist.github.com/
-- 
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] ssd and linux

2011-03-17 Thread steve
On 03/15/2011 02:35 PM, Asokan Pichai wrote:
 On 15 March 2011 13:51, Vamsee Kanakalavkanak...@gmail.com  wrote:

  On Tuesday 15 March 2011 10:44 AM, Kenneth Gonsalves wrote:


 [SNIPPED]

 A curiosity question: like make, is there a facility to run only those tests
 that correspond to
 changed code. Even as I type this the question seems ill-defined etc., but
 still 


Umm, that kinda defeats the purpose of TDD. When you run the test suite 
basically, the intention is to know that you haven't inadvertently broken 
something that you thought was unrelated by your latest changes. That said 
though, I know that at least when using nosetest you can be selective about the 
tests you run using different patterns such as the modulename, filename, 
testnames, generic regex, only the ones that failed in the last run ...etc. So 
typical workflow is generally run a subset of the tests during development and 
run the entire suite before committing changes -- or at least this is what we 
follow at my workplace.

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] ssd and linux

2011-03-17 Thread steve
Hi,

On 03/15/2011 04:22 PM, Raja Subramanian wrote:
 On Tue, Mar 15, 2011 at 1:51 PM, Vamsee Kanakalavkanak...@gmail.com  wrote:
  ... I trigger the full test suite often enough on my workstation (4GB
  RAM, 160GB SATA, Ubuntu 10.10 x32) to make this a pain point. So my next
  iteration of upgrade I think, would be something like 8GB RAM,
  (compatible) SSD, Ubuntu 11.04 x64.

 On your current box run the test suite, data, DB out of a RAM disk
 or tmpfs.  A clean chroot test environment on a 4-8GB RAM disk will
 work faster than any HDD/SSD.  And much cheaper too.

 Sync the RAM disk state to HDD periodically so to ensure persistence.
 Syncing can run in background to minimize performance impact.


This is a very interesting approach. Going beyond periodic syncing, one of the 
things I've been planning to try out (although never got around doing) is to 
setup my dev environment (ie: app server including the db) on a ramdisk, which 
is disk backed up as part of a raid to a loopback mounted disk image :) ! 
...this is something suggested by someone on IRC -- not sure of the practical 
benefits, but it sounds like a nice idea.

I'll try to get it done this weekend.

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] [OT] Functional Programming [Was: Re: learning a new language]

2011-02-10 Thread steve
Hi,

On 02/10/2011 01:57 PM, Chandrashekar Babu wrote:
 On 10/02/11 11:23 AM, Vinod Parthasarathy wrote:

  Here's one way of writing factorial in Haskell.

  factorial 0=1
  factorial n=n*factorial(n-1)

 And here's the pythonic way:
  factorial = lambda n: n and n*factorial(n-1) or 1

 Succinct :-)

 Or even better:
  from math import factorial  # Batteries included!
  print factorial(6)

 The Haskell version is also neat (more readable IMO).

... just thought I'd share this since we were slowly drifting into the 
functional programming, here is one series of articles I read back-to-back in 
one go when I stumbledupon'd[1] it:

http://devlicio.us/blogs/christopher_bennage/archive/2010/09/06/what-is-functional-programming.aspx

cheers,
- steve

[1] www.stumbleupon.com (also see my sig)
-- 
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] need a web mail client with pop3 support

2011-02-10 Thread steve
On 02/10/2011 08:59 PM, Girish Venkatachalam wrote:
 There is nothing mutt does not support.

 Pop3, imap, pop3s, imaps...


If you had taken the time to follow list rules and attempted to quote the mail, 
there would've been an off-chance that you actually /read/ what was requested 
before shooting off a reply.

Sorry for my curt response, but you have been consistently top-posting 
irrelevant responses which is pretty annoying. Please resist the urge to 
respond 
to every mail here.

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] mysql db to db query

2011-02-10 Thread steve
On 02/10/2011 08:59 PM, Girish Venkatachalam wrote:
 On Thu, Feb 10, 2011 at 4:33 PM, JAGANADH Gjagana...@gmail.com  wrote:
  Hi

  Is it possible to quary and fetch data in one mysql db and store it in a
  second on .

  I have machine M1 and M2 with mysql configured . There is a DB in M1 namely
  employee_details . Now I have to fectch all the recods in M1
  employee_details from and have to store M2 mysql database via mysql query.
  Is it possible or is it my ignorance about db concepts .


 Google for SQL join.
 [...snipped rambling about SQL...]

Could you please elaborate on just exactly how does one use SQL join to ... 
fectch all the recods in M1 ... and ...store [in] M2 ... where M1 and M2 are 
clearly specified as 2 different machines with different instances of mysql ?

I'd really be interested in this !

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

2011-02-09 Thread steve
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


Re: [Ilugc] learning a new language

2011-02-09 Thread steve
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] Redhat Vs Suse

2011-02-03 Thread steve
Hi,

On 02/03/2011 02:12 PM, Chandrashekar Babu wrote:
 [...snip...]
 However, from support stand-point, I'm of the opinion that RedHat seems
 to have a much larger community base, and also more widespread
 deployment in the enterprise. It's very likely that someone in the
 community might help you out if you're stuck up with something on RedHat
 distribution, when compared to SUSE.

One thing that I forgot to mention in my earlier response (although quite 
honestly it /shouldn't/ make *any* difference at all -- but this is a good 
point 
if you make a case with suits who don't know are just concerned about costs) -- 
it is easier to find and hire RHCEs and other Red Hat certified people to 
manage 
your systems than it is to find Novell certified people.

(note: I am speaking in terms of numbers and am not passing judgment on the 
quality of the certifications or the abilities of those that are certified).

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] Redhat Vs Suse

2011-02-02 Thread steve
Hi Narendra,

On 02/02/2011 06:27 PM, narendra babu wrote:
 Hello folks ,

 Could you please let me know what are the major differences on the
 application tools and admin side, pkg management , ease of installation ,
 patch management  support and maintenance for RHEL and SUSE .

 i have done some search on the same, but could get only marketing info from
 Redhat and suse saying one is better than another .


In my completely biased opinion, I would say go with RHEL simply because the 
maximum number of contributions to the most commonly used applications that you 
might run on an Enterprise system come from Red Hat[1]. So:

a. Bug/Security fixes in an application tend to be relatively quicker when the 
upstream maintainer works for the company  (ie: in most probability the 
maintainer is going to consider the bug originating from a Red Hat support 
ticket on a higher priority than a bug originating from the community because 
that is what he/she is paid to work on).

b. When you are speaking with a Red Hat support engineers they have direct 
access to the maintainer of the package. It is not uncommon for support guys to 
copy/paste verbatim messages from the upstream developers into their tickets. 
So, resolving issues (I am not speaking of bugs here, rather, in terms of 
configuration or the 'what/why-is-this-happening' type of issues) is easier.

c. Red Hat's support life cycle is better defined and more consistent than 
Suse's[2] (ie: is not dependent on how 'big' is the volume of your purchase).

...and lastly also because, Red Hat has been consistent in its dealings with 
both the community and its customers for a long time -- unlike Novell[3]


cheers,
- steve

[1] Compare:
http://fedoraproject.org/wiki/RedHatContributions
to
http://www.novell.com/company/affiliations/

[2] Compare:
https://access.redhat.com/support/policy/updates/errata/
to
http://support.novell.com/lifecycle/

[3] Compare:
http://www.groklaw.net/article.php?story=20061102175508403
http://www.groklaw.net/article.php?story=20061103073628401
to
http://www.groklaw.net/articlebasic.php?story=2009021611190551
http://www.redhat.com/promo/svvp/ (specifically Q5)

-- 
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] Query about Pre-installed Operating system in official laptops

2011-01-22 Thread steve
Hi,
On 01/23/2011 01:36 AM, Pandian R wrote:
 Its very rare these laptop companies comes without windows. It happens very
 rarely. (i got vostro 1000 with freedos, I am searching for similar one.
 Dell refuses to distribute it without OS, pointing out on OEM warranty blah
 blah)


It amazing the regularity with which this question keeps coming up on this list 
and despite the fact that there are already a number of laptops available that 
come with linux preinstalled, this myth that there isn't is perpetuated from 
people within this community.

To the OP: Please search thru' the list archives. Both google and duckduckgo 
support limiting your search query to a URL, use the ILUGC archives URL to 
limit 
your search.

I personally have bought a Dell vostro (don't remember the model number - 
bought 
it for a friend - I can ask him if required) with Ubuntu pre-installed a few 
months back in Pune ...and yes, it wasn't just a installation, it was Ubuntu as 
a OEM install, as in I got a DELL stamped Ubuntu DVD with the laptop.

I refuse to believe that one cannot find a vendor that provides the same in 
Chennai.

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] Query about Pre-installed Operating system in official laptops

2011-01-22 Thread steve
Hi

On 01/23/2011 01:53 AM, steve wrote:
 I refuse to believe that one cannot find a vendor that provides the same in
 Chennai.


I was annoyed enough to do a quick search(*) and bury this myth of not being 
able to find a linux laptop locally. Here you go:

http://delllaptopprice.com/index.php?option=com_contentview=articleid=47Itemid=55

So, can we please stop telling people it is impossible ?

cheers,
- steve

(*) Notice the time difference between sending this mail and my last reply ? 
Besides searching that included composing this mail !

-- 
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] [EXCHANGE] Netgear WGR14 v7

2011-01-08 Thread steve
On 01/08/2011 12:16 PM, Vamsee Kanakala wrote:
 Hi all,

 I thought I might as well stick my head out once again, and this is not
 really a commercial transaction, so I hope it's a good way to start :).
 I have a Netgear WGR14 v7 wireless router lying around the house ever
 since I upgraded to a new one.


Out of curiosity I checked whether this model supported any of the open router 
implementations, seems like it doesn't:
http://www.myopenrouter.com/forum/thread/10511/Open-firmware-on-WGR614-v7/

...however, there seems to a hack that lets you get telnet into it:
http://blog.ktdreyer.com/2008/01/hacking-wgr614.html

so, it might make a nice toy for someone trying to do more than just regular 
'ol 
routing.

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] [Tip] For Python lovers !

2011-01-06 Thread steve
On 01/06/2011 02:28 AM, Tha.Suresh wrote:
 Are you python lover??? You must know this. ;)

   $ python -c 'import this'

 th...@tha-admin-da ~ $ python -c 'import this'
 The Zen of Python, by Tim Peters
...

Also try:

$ python -c 'import antigravity'

(best tried when connected to the net)

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] kernel to app and app to kernel communication : Preferred method

2010-12-29 Thread steve
Hi,

On 12/29/2010 07:03 PM, Manikandan B wrote:
 Hello

 I understand that there are many mechanisms for passing data between kernel
 code and user space code in Linux. But which is the preferred method in 2.6
 ?

Depends on what kind of data you would like to pass. If you want to pass a 
single value at initialization to your driver use a module parameter[1]. If you 
want to pass a tunable parameter, create a /proc entry for your module[2]. If 
you want any other dynamic data passing from user space to kernel space (for 
example communicating with a user space daemon/tool) use copy_[from|to]_user[3].

cheers,
- steve

[1] http://www.google.com/search?q=linux+kernel+module_param
[2] http://www.google.com/search?q=linux+kernel+create_proc_entry
[3] http://www.google.com/search?q=linux+kernel+copy_from_use

-- 
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] graphical view of postgresql database

2010-12-14 Thread steve
On 12/14/2010 12:00 PM, Kenneth Gonsalves wrote:
 hi,

 can anyone suggest a neat tool for a graphical view of a postgresql
 database?

I remember using pgaccess as recently as Fedora 12 but couldn't find it in the 
Fedora 14 repository. A quick search threw up pgadmin3 which looks a lot like 
pgaccess, so I am assuming the name changed:

http://www.pgadmin.org/index.php
http://www.pgadmin.org/images/screenshots/pgadmin3_linux.png


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] graphical view of postgresql database

2010-12-14 Thread steve
On 12/14/2010 03:10 PM, Kenneth Gonsalves wrote:
 On Tue, 2010-12-14 at 13:41 +0530, steve wrote:
can anyone suggest a neat tool for a graphical view of a postgresql
database?

  I remember using pgaccess as recently as Fedora 12 but couldn't find
  it in the
  Fedora 14 repository. A quick search threw up pgadmin3 which looks a
  lot like
  pgaccess, so I am assuming the name changed:

 it is two different things - I think pgaccess is no longer maintained. I
 have pgadminIII, but do not see any graphic view.

Did you check the links ? I just did a 'yum install pgadmin3' and it gives me 
the gui similar to the one in the links

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] Influence of M$ on hardware

2010-12-13 Thread steve
Hi,

On 12/13/2010 08:44 PM, siddharth srivastava wrote:
 Some findings and discussions have lead to this conclusion that some
 manufacturers have been duped into allowing there acpi code to be compiled
 by m$ compiler

You got it a bit backwards. From the ACPI wikipedia entry:
-
In computing, the Advanced Configuration and Power Interface (ACPI) 
specification provides an open standard for unified operating system-centric 
device configuration and power management. [...snip...] The standard was 
originally developed by Intel, Microsoft, and Toshiba ...
-

and then right there in the first section itself ...

-
Some software developers have trouble implementing ACPI and express concerns 
about the requirements that bytecode from an external source must be run by the 
system with full privileges.[5] Linus Torvalds, creator of the Linux kernel, 
once described it as a complete design disaster in every way, in relation to 
his view that modern PCs are horrible.[6]
-

So, it is not like acpi has to be /compiled/ with a M$ compiler (I am not even 
sure what that is supposed to mean). It is more like ACPI has to be 
/implemented/ using a 600 page specification designed by M$, which almost 
necessitates the acpi subsystem to include an entire freaking 'parser' as a 
driver[2] if one wants to use it as intended.

Of course, as is M$'s nature, their idea of a specification is stuff that 
others 
ought to implement although they are free to make exceptions and since h/w 
manufactures are happy just confirming to the M$ subset of the specifications, 
implementations that do actually confirm to the specification still might not 
work as expected. ...sigh.

cheers,
- steve

[1] http://en.wikipedia.org/wiki/Advanced_Configuration_and_Power_Interface
[2] http://en.wikipedia.org/wiki/ACPI_Machine_Language#Firmware_Interface
 http://www.advogato.org/article/913.html

-- 
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] c/C++ code performace tuning for network and i/o

2010-12-08 Thread steve

Hello Narendra,

On 12/07/2010 10:10 PM, narendra babu wrote:

Hello folks ,

I need some inputs or guidance on improving the performance of existing c/c++
code on Linux .

Places to look for improving the performance in terms of  cpu /network/ and
i/o  inside the code.

I would like to any guidelines to collect information for the application
resource usage/netwok and i/o metrices



Good question ! This is exactly the type of question to ask when dealing with 
performance. Most people forget that the precursor to performance tuning is 
performance measurement. Trying to tune something just based on gut instinct is 
like shooting in the dark hoping you hit your target. With proper benchmarking 
you can, for example, come to a conclusion that there aren't really any high 
gains to be achieved by optimizing that small bit of code where the application 
spends just 5% of the time but you can possibly improve I/O throughput 20% by 
just by tweaking a vm parameter.


Now, that said, you should understand 'performance' is a very generic broad 
term. Try to answer the question -- What is it that you wish to tune for ? 
Eventually you shall always end up making trade-offs. For instance, you could 
make gains in I/O or network throughput but that will come at at the cost of 
memory footprint or higher CPU requirements.



please let me know do we have guidelines , tools to identify these kind of
improvements inside the c/c++ code .

any tools or guidelines will be helpful

i have used vmstat/netstat/iostat for whole system but i  need on application
basis  .


If you think about it, your application is no different from any other 
application from the system's point of view. So you can't just measure your 
application in an isolated manner. That will just give you wrong metrics. You 
have to consider measuring both the performance of the system as well as your 
application in it's natural work environment to be able to correctly judge what 
you can tune. So, use the tools you mentioned in conjunction with others for 
your application.


Ok, talk aside - here are the tools that might help:

a. Start simple -- use time, strace (-C option) and ltrace (-c option) to get an 
idea where your time is being spent.
b. Use top/pmap in batch-mode over the life time of your application to see 
where and how memory is being used.
c. Use something like oprofile to get any idea of the environment that your 
application functions in.
d. Use system-tap to instrument the measurement of whatever parameters you are 
interested in measuring.
e. Use tcpdump/wireshark along with netstat to get an idea of actual bottlenecks 
in network traffic.


Once you've collected your data, identify the 'hot-spots' and check to see 
whether you can optimize anything there. There are tons of resources online to 
help you depending entirely on what you wish to optimize for.


Finally here's a site that you might want to take some time to go through:
http://www.performancewiki.com/


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] How to share the Internet Bandwith equally -reg.

2010-12-07 Thread steve

On 12/07/2010 07:33 PM, R.Kanagaraj (RK) wrote:

Dear Friends,

  Here is my scenario, We have about 7 Machines, which share the 1
MBps Internet from a wireless router. If any downloading is going on in any
of the system via (bit-torrent or http). the http requests of all other
systems goes down to dead. Is there any FOSS tools to monitor the traffic
for the entire network and to control manually or automatically to share the
available bandwith eqaully for all the systems and also to allocate the
predifined bandwith to a particular machine. If there is any provision to
control the traffic based on protocol it will be very useful.


Search for 'linux traffic control', 'linux QoS' or 'linux bandwidth shaping'.

The most popular reference is:

http://lartc.org/

However, note that this document is /huge/ and goes into a lot of detail. You 
might be able to find shorter tutorial which offer a step-by-step guide to 
introduce you to the task. For example:


http://www.topwebhosts.org/tools/traffic-control.php

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] resolution in extra monitor sometimes goes down

2010-12-03 Thread steve

Hi,

On 12/03/2010 02:55 PM, Kenneth Gonsalves wrote:

 [...snip...]
 If this problem persists, always disconnect your external monitor
 before
 hibernating your laptop.  Reconnect the display only after your laptop
 has fully completed resuming and X11/gnome is fully responsive.


ahh - this sounds sensible. will try when I am back home.



or, you could also dock the gnome-display-properties in the taskbar (check the 
Panel Icon option in g-d-p and switch on/off the monitor from there when 
reconnecting).


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] Python for mobile application development

2010-11-28 Thread steve

On 11/28/2010 12:16 AM, Shrinivasan T wrote:

Friends.

I have a nokia 5233 mobile which as symbian os 5th edition.

http://croozeus.com

From the above site's instructions, I installed PyS60 and learning python

development for nokia symbian mobiles.

But, got some quick questions.

Will the time spent on python with nokia symbian is worth?


Depends on how you define 'worth'. Python is not a popular development language 
for mobile phones. On symbian, PyS60 is pretty useful and allows access to most 
of the OS features. This makes it a good choice for symbian. However, the API is 
symbian specific and not transferable to other mobile/desktop OS. So, if you 
just want to create symbian apps, PyS60 is a good choice (at least to to start 
off with).


The recent Indian PyCon in bangalore had a very good talk on the introduction to 
PyS60 by N. Seshadri[1]. Check the demo code and slides if you are interested.



Will the learning be useful in the advance nokia moble platforms like meago?


Not directly, Meego is a completely different platform and designed quite 
differently from symbian. It not compatible with the Symbian API. However if you 
are new to mobile development, it might indirectly be useful as a means to learn 
from similarities and differences.



Will Python be useful for android or iphone development?



Although I've heard android has a scripting layer, I've also heard that python 
on that is fairly unusable on it beyond the hello world type scripts (in terms 
of speed). I have no clue about iphone.


hth,
cheers,
- steve

[1] http://in.pycon.org/2010/talks/34-python-on-mobile-phones
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Reg: Maemo OS

2010-11-28 Thread steve

Hi Manoj,

On 11/29/2010 10:15 AM, Manoj Kumar wrote:

Hi friends,

I have a fantastic smartphone ever from nokia which runs fortunately on
linux kernel.
Nokia N900. It runs on Maemo os, the bestEST competent for Android,


Congratulations on getting the N900 ! It really is a nice phone with a cool 
platform.


Now that said, I'm really sorry to be the person to bring you some bad news -- 
Although MeeGo is supposed to be the successor for Maemo, it is a /totally/ 
different platform. MeeGo is a ground up redesign of the best ideas of Maemo and 
Mobilin. As such, Maemo is not 'upgradable' to MeeGo. Worse still, the N900 will 
never see an official Meego release from Nokia (or rather the Meego project, 
which is part of the Linux Foundation). The good news though is there is a 
community effort to port Meego to the N900[1].


disclaimer: Biased opinions follow.


though,
i don't find a lot many developers on this platform..



Then you haven't really looked at the right place :). Maemo has been around 
since 2005 (since Nokia's 770 Internet tablet) and has a very large developer 
community. The main place for finding information, applications and developers 
for maemo is at:


http://maemo.org/



I invite some tech wizards and geeks to join this adventure and get their
hands dirty on maemo.



I would rather recommend switching to Meego instead. Considering the fact that 
there is no corporate push behind Maemo anymore (which is, IMHO, fairly 
important in the handheld device market -- but then again, I could be proved 
wrong in the years to come).



MeeGo which is the next supposed version of Maemo comes from the world's two
biggest rivals in microprocessor technologies, Intel with the support of
AMD. And from the smartphone giant Nokia.



As of right now tho', working on Meego is a bit painful (as compared to Android) 
given the fact that there isn't any clear roadmap or even a real world reference 
design for Meego. Nokia  Intel are being extremely lethargic in getting Meego 
ready for prime time (especially at a time when Android seems to be sweeping its 
way through the market to become the platform of choice).


IMHO, Meego is much more cleaner and 'open' than Android but might not make it 
simply because it is slow to move.


cheers,
- steve

[1] http://wiki.meego.com/ARM/N900

--
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] blocked websites - BSNL DNS

2010-11-18 Thread steve

On 11/18/2010 11:47 AM, Kenneth Gonsalves wrote:

On Thu, 2010-11-18 at 11:39 +0530, Raja Subramanian wrote:

 On Thu, Nov 18, 2010 at 9:35 AM, Kenneth Gonsalves
 law...@thenilgiris.com  wrote:
   actually the best solution is to run one's own cacheing only
 nameserver
   - I have been too lazy to set this up so far ...

 Should not take more than 15 mins of your time to setup a
 local DNS server.  Suggest you do this and solve this issue
 once and for all.


problem is I am always travelling and have to keep recofiguring stuff to
accomodate the (often weird) setups in places I have to connect my
laptop. ...snip...


etckeeper ftw ! You should really try it out if you keep changing configs.

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


Re: [Ilugc] [Tip] Show apps that use internet connection at the moment.

2010-11-17 Thread steve

Hi Girish,

On 11/17/2010 10:13 AM, Girish Venkatachalam wrote:

Netstat is the correct way. There are other ways of course, lsof,
fstat and so on.

Even sockstat(1) on BSD systems.

But netstat is the canonical way.

lsof is meant for tracing system calls.



Now that we are being pedantic about stuff. Interleaved posting is the canonical 
way to post replies here. Consistent top posting means that either one has not 
read what has been pointed out earlier or lacks comprehension skills.


cheers,
- steve

...snip...
--
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] Problem with symlink

2010-11-17 Thread steve

On 11/17/2010 12:25 AM, Zico wrote:

  I have a very large directory with various documents. And I am trying to
remove all it`s symlinks. Normal symlinks are already being removed. But
symlinks that point to other symlinks, cannot be found. I think there will
only be a few, and I will fix them by hand. And, I want to do something
like:

1. find all symlinks
2. use readlink (or simmilar) to follow link
3. test if new file is also symlink
4. if yes, then print double-symlink



What have you got so far and where are you facing problems ? All 4 steps above 
contain the exact command you need to for the operation.


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] cp command with retaining permission

2010-11-12 Thread steve

On 11/12/2010 02:37 PM, Roshan George wrote:

On Fri, 2010-11-12 at 14:09 +0530, Suresh Kumar wrote:

 (in
 other words not to change the owner and group if it was .. apache )


I might be over-complicating, but you can do this like so:

ls -la | grep -v apache | awk '{print $8}' | xargs chown newwonder:psgrp

You can probably change that a bit to get what you want.



or:

find pathname -group old group -exec chown newowner:newgroup {} \;

find is a pretty powerful tool, you should learn its option if you want be good 
at sysadmin/shell scripting. Some of the most useful search options are:


-name
-iname
-mtime
-type
-size
-perm
-maxdepth/-mindepth

and the action options:
-exec
-delete
-print/-printf

and of course the operators to combine search options -a, -o and !

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] copy files / directory

2010-11-09 Thread steve

Hi Suresh,

On 11/10/2010 12:08 PM, Suresh Kumar wrote:

Hi

i want to copy files and directory which are on the same server, in between
i want to exclude  some directories and subdirectories

  cp -pvr /var/www/vhosts/dev.site.com/httpdocs/*   /var/www/vhosts/
new.site.com/httpdocs/

but exclude the folders and subfolders in WZ directory



If the files you need to exclude cannot be expressed as a simple shell glob, I 
would use something like:


find src -name [pattern] -o -name [pattern] -exec cp {} dest \;

or something like:

cp -r `find src | egrep -v (patterns|to|exclude)` dest

However, if this is something you do regularly, I'd suggest using rsync instead. 
Do a man rsync and check opts like --exclude.



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] problem in installing printer driver

2010-11-09 Thread steve

On 11/10/2010 08:33 AM, balaji sivanath wrote:

hi.
I am having canon LBP2900B model printer and using ubuntu 10.04.
downloaded driver for my model from canon site. download consists of
cndrvcups-common.deb,cndrvcups-capt.deb files.


This might help:
https://help.ubuntu.com/community/CanonCaptDrv190

let us know how it goes,

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] Workshop/Seminar on monetising IP

2010-11-08 Thread steve


On 11/08/2010 10:11 PM, Chandran wrote:

This is regarding the 4-city Seminar on 'Monetising IP' that IPDome
cid:part1.05040207.04050705@lawgonindia.com  is  organising in
partnership with Achromic Point who are the event management partners.
Please contact ipdome.n...@gmail.com  to receive brochure for the event
at Chennai.
 [...snip...]

  The Seminar goes beyond the conventional defensive deployment of IP
and promotes a strategic perspective of IP that transforms it from a
cost-centre to a profit-centre.


Are  You  Serious ???


 The Seminar has an experiential and
hands-on approach to Intellectual Property targeting Value-enhancement,
not just Value-protection


ehe ...


and addressing RD and Marketing Managerial
personnel along with lawyers.   The methodology includes a Strategy Game
in which two corporations and two consulting firms deal with live IP
infringement and licensing issues that enables a higher quality of
learning on a wider canvas,


Now, I don't know whether to laugh or be afraid !!

Why the eff would this kind of thing be promoted here ? I call this spam.

BTW, speaking of IP, is the domain name of the OP's email ^monetizing^ in some 
manner the well know identity of list member of (dis)repute :)


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] Workshop/Seminar on monetising IP

2010-11-08 Thread steve

Hello Chandran,

On 11/08/2010 11:13 PM, Chandran wrote:

[...snip...]

Monetising IP - means -   How to get money from intellectual property? I
am sorry to say this, to me it sounds much like  A seminar on how to
become a patent troll?

In Free software and GNU/Linux there is no room from Intellectual
property. I am sorry, you have posted it to a **wrong**  list :-)

Dear all,


Every member in this list is an intellect. But members wanted to deliver
their intellects to the society without any consideration. In order to
protect your intellect[other than software], I am inclined to reply as
follows.

The post is not intended only for Software. It is an information for all
streams. Infact in my office Majority of the computer is running on Ubuntu
for the past one year. I have been promoting Opensource software among my
professional community. This is an information to pass it on to others who
are likely ot be benefitted. If you feel this information is leading to
patent troll. I am sorry you are misconcieved this information.
Intellectual Property rights includes Patents, Trademark, Copyright,
Design, Geographical Indications and Integrated Circuits layout protection.
Even your blog is copyrighted,*Copyright © 2007-2010 Arun's blog. Sorry to
mention personally. Our Patent Act is not granting patents to software
perse. So Source codes are protected under Copyright. Even when you want to
promote your opensource software, you need a trademark[brand name]. You
have to keep that brand name proctected in order to promote your software.
Members in the list will also develop integrated circuits which can be
protected. Designs which you are creating using opensource software is
protected under copyright and if it is a industrial design it can be
protected under Designs Act.Intellectual property is not only Patents.
Please look at the world with broad perspective. I have seen many  people
nowadays using open source software for their business/profession. That
doesn't mean that they are not entitled to protect their
products/designs/logo.*



In that paragraph above I see 7 mentions of the word 'protect' or variations 
thereof. I don't see anything about Value-enhancement, not just 
Value-protection ...so please do clarify how do you propose on using all the 
kinds of IP protection you listed above to go ... beyond the conventional 
defensive deployment of IP ... and to ... transforms it from a cost-centre to 
a profit-centre. ?


In case you missed the point, let me spell it out for you -- We in the 
opensource community are *not* against things like copyright -- In fact, we are 
very vocal about the who does or does not have the right-to-copy. What we find 
disgusting though is treating software as 'property' and using ^Intellectual 
Property^ as means to profit from.


People in the software business /ideally/ ought to monetize on software and 
services around it instead of monetizing IP.


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] Workshop/Seminar on monetising IP

2010-11-08 Thread steve

Hello Chandran,

On 11/08/2010 11:31 PM, Chandran wrote:

On Monday 08 November 2010 11:22 PM, Chandran wrote:

[...snip...]

 Please mention why you wanted to copyright your posts in your
 blog._*Copyright © 2010 lonetwin.net*_ . You wanted to protect your
 writings. That's it. Please read my explanation to SAGarun's mail.

Thanks for pointing that out. I've just been too lazy to update the footer since 
I hardly think there is anything worth copying there, but I've updated it. Feel 
free to 'monetize' on my IP (under the terms of the cc-by-sa copyright license, 
of course !).



This is an information about OpenOffice.org- a trademark registered by
Sun Microsystems, Inc. They are protecting their opensource software
using intellectual property only. visit
http://www.openoffice.org/about_us/summary.html

*Trademark*:

Because of trademark issues, OpenOffice.org must insist that all public
communications refer to the project and software as OpenOffice.org or
OpenOffice.org 1.x, and not OpenOffice or Open Office.
OpenOffice.org and the OpenOffice.org logo are trademarks or registered
trademarks of Sun Microsystems, Inc. in the United States and other
countries.



Yes ! The most successful and profitable open source company, Red Hat, also does 
that.


Copyright and trademarks are tools to protect the identity of artifacts (I 
*hate* the term Intellectual /Property/). They are employed so that one does not 
confuse the source of the artifact.


Copyrights and trademarks are tools for *identification* _not_ monetization.

Unfortunately, years of greed and subsequent brain-washing has led to the belief 
that ideas are 'property' that have 'owners' who can assert their claim over the 
idea.


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] Have you tried of Oracle Linux

2010-11-07 Thread steve

Hi,

On 11/08/2010 11:50 AM, Arun Prakash wrote:


Hi All,

Does any people here , tried of Oracle Linux . Before I could try , I want to
know something about it . So If any people tried it can you please post the
review of it .



Oracle Linux is a clone of Red Hat Enterprise Linux. Pretty much like CentOS 
with the only difference being in the support services being offered (and the 
pricing).


http://en.wikipedia.org/wiki/Oracle_Enterprise_Linux

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] Preventing Execution under home directories

2010-10-19 Thread steve

On 10/19/2010 12:37 PM, Arun Khan wrote:

On Fri, Oct 15, 2010 at 7:46 AM, Yogeshyogeshg1...@gmail.com  wrote:

 Hi,

 I wanted to prevent execution of file (binaries and scripts) under the
 home directory. I know I can do this by:

 sudo mount -o remount,noexec /home/user

 But I also want to prevent execution of scripts under the dir. For e.g.
 I can do a sh /home/user/filename.sh and it would still run the script.
 So I want to deny access to interpreters to the home directory.

 sh
 bash
 perl
 php
 python etc.



I don't think this can be done; I believe it would disable your basic
login process and CLI.   Would like to hear opinions from shell gurus.



That is correct ...due to the inherent nature of interpreters ...

[st...@laptop ~]$ echo ls | bash -i
or
[st...@laptop ~]$ bash -i  script.sh

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] How to code for an Open Source Project

2010-10-17 Thread steve

Hi,

On 10/17/2010 12:43 PM, maverick gugu wrote:

Hi,
   I've been always wanting to do this. Though my coding skills are not very
up to the mark, I wish to contribute to some open source project by coding
for it. Can you please guide me into which project can i start with. In the
process I hope i do understand the source control management systems which
are there for each n every project.



Besides the other suggestions you have received, I personally feel a more 
practical and easier path to contribution is to become a bug-zapper ! ie: Pick 
any random application you use everyday (or you can just aim high and pick the 
linux kernel itself) and then visit the project's bug tracker. Almost all open 
source software has bugs or feature requests that are being ignored only because 
the developers either do not have enough tuits [1] or the bugs aren't critical 
enough. Pick one or more of those and fix them.


Note that this approach is most useful if you do /not/ already have a project 
idea of your own that you would like to work on or are not already motivated 
enough to contribute to one specific application that you use and care about. If 
you do, just go ahead and do that (ie: scratch your own itch).


The reason I recommend the bug fixing approach is because:
a. You can make a very practical and useful contribution to a meaningful 
project. (as opposed to a random small project off sourceforge.net that you 
choose to contribute as a developer; where although you might learn and improve 
your coding skills at a faster rate (/if/ you are committed enough), you might 
not get the satisfaction of contributing to a 'real' project).


b. The time and effort involved between wanting to start contributing and 
actually contributing is much smaller.


c. You get to work with a much larger and more active set of people than when 
for instance working on yet another mp3 player/text 
editor/game/calander/terminal ...etc. This means that you are more likely to 
receive better help, suggestions and feedback.


d. The project developers would appreciate your help immensely.


hth,
cheers,
- steve

[1] Tuit: http://en.wiktionary.org/wiki/round_tuit

--
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] Linux scripting: need some idea

2010-10-17 Thread steve

On 10/18/2010 02:10 AM, Zico wrote:

On Mon, Oct 18, 2010 at 2:10 AM, Siddhesh Poyarekar
siddhesh.poyare...@gmail.com  wrote:


 You're basically looking to replace the oldest file at all times,
 kinda like log rotation, so you can simply follow the logic:

 n=$(ls -1|wc -l)
 lf n  5 then
   create the n+1th file
 else
   replace the file you get with ls -1t|tail -1
 end if



Thank you again. But, if I call the variable as n, the whole name of the
file becomes *n. *



Do a `man bash` or `info bash` and search for `Parameter Expansion`. Quick ref:

[st...@laptop ~]$ i=foo.txt
[st...@laptop ~]$ echo $i ${i%%.txt} ${i/txt/mp3}
foo.txt foo foo.mp3

hth,
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] how people are gaining money using opensource softwares

2010-10-14 Thread steve

Hi,

On 10/14/2010 08:16 PM, balaji sivanath wrote:

   can you be more specific - the link to show where they sell open
 source
   software
 
 That's the one.  RHEL is Red Hat Enterprise Linux.  More on that page,
 and on http://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux



I still do not see where they are selling open source software - as far
as I can see is that all they are selling is their brand/trademark. One
can download all of their software for free and use and redistribute it
if one removes the brands - which is what centos does. Selling open
source software reminds me of the guy on marina beach who is trying to
make his first crore out of selling buckets of seawater.


one of my friend went for rhce training,they gave redhat cd to him. he
said that it can be used only for him like geniune windows,he should
not redistribute it. is that true?


Yes, that is true. The RHEL CD contains Red Hat trademarks which cannot be 
redistributed by anyone except Red Hat. You can, if you wish to, remove all the 
trademarks (even from the included binaries) and redistribute the CD.


cheers,
- steve

PS: I have clarified a bit about Red Hat's policies in my blog post here:

http://lonetwin.net/20090706/rants-and-randomness/tech-randomness/is-red-hat-really-an-open-source-company/
--
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] decision[OT]

2010-10-08 Thread steve

On 10/08/2010 03:48 PM, Kenneth Gonsalves wrote:

On Fri, 2010-10-08 at 15:29 +0530, karthik ponnappan wrote:

 Hi, peers i had already asked about how to continue my career with
 networking  i got a good idea from all friends especially Ambika
 and
 Yuvaraj thanks guys Now i have decided to finish two courses and
 i
 want to finish in 4 months time which courses should i choose to  add
 a good
 weightage to my resume...Once again thanks for the guidance.


do you have a laptop/netbook?


+1 on this. Nothing beats getting hands-on experience. Investing money in 
hardware is a better option than joining a training course. Get a system, if you 
already have one, get another :)


...or since you mentioned you were interested in networking, search ebay or 
something similar for cheap second hand routers[1] and start hacking. For 
instance, installing and configuring and managing (for example implementing 
traffic shaping or security) using OpenWRT or Tomato (or any one of these[2]) on 
an old wireless router can be a learning and gratifying experience which would 
never be taught in any training course.


If you already have hardware or if you /do/ want to join a course, I'd suggest 
taking up a hobby class instead. Expanding your field of interests helps in many 
subtle ways, including career progression.


cheers,
- steve

[1] Something like:
http://computers.shop.ebay.in/Routers-/3706/i.html?_catref=1_fln=1_trksid=p3286.c0.m282
[2] http://en.wikipedia.org/wiki/List_of_router_or_firewall_distributions
--
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] Is our ILUGC mailing list for some entertainment?

2010-10-07 Thread steve

Hi,

On 10/07/2010 05:36 PM, Arulalan T wrote:

Dear Ilugc Members,


Is our mailing list for some entertainment?

http://twitter.com/kmanikandan/statuses/26055560696



Sure ! what's so bad about the lug list being entertaining to some ? That is the 
very nature of our community (by 'our' I mean the FOSS community). We should not 
take ourselves too seriously. Being part of the community should be Fun ! ..and 
the occasional flames, trolls, n00bs all are part of what makes us who we are. 
Denying that leads to a community which only has a whole bunch of 'serious' 
high-nosed elitists. There already exist mailing list in India of that nature. I 
am glad this list is not one of those.



Why its happening ?

Lets change.



Let's not ! :)

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] [Tip] command-line dictionary

2010-10-06 Thread steve

Hi,

On 10/07/2010 08:37 AM, Girish Venkatachalam wrote:

On Thu, Oct 7, 2010 at 12:31 AM, Tha.Sureshjemenisur...@gmail.com  wrote:

 commandline dictionary

   $ wn wide -over
[...snip...]

 It's like Artha. :)


What is artha?



A UI for wordnet - http://artha.sourceforge.net/wiki/index.php/Home


I use dict instead.

Far better than wn I think.



While dict is nice ...
a. It requires you be to connected to a dict server (ie: connected to the net, 
unless you are running your own server !)


b. It is just a dictionary. Whereas wordnet is more like a thesaurus. For 
example to find opposites (antonmys) of a noun, verb, adjective, call:


wn [noun|verb|adjective] -ants[n|v|a]

eg:
$ wn top -antsn
$ wn go -antsv
$ wn bright -antsa

You can also find hypernyms, hyponyms and synonyms (besides other stuff that I 
do not understand or use). Run 'wn' without any arguments or 'man wn' for more info.


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] Fw: [Fwd: Re: Gnu linux user groups or linux user groups ?]

2010-10-05 Thread steve

Hi,

On 10/05/2010 10:59 PM, sibi raj wrote:

For your information .
[...snip...]
Subject: Re: Gnu linux user groups or linux user groups ?
From:Richard Stallmanr...@gnu.org
[...snip...]
It is right to call the groups GNU/Linux User Groups, aka GLUGs.



Yep ! ...and my teacher also tells me that the correct and proper way to address 
non-believers is infidels and also that the proper way to deal with them is to 
bomb them so as to relieve them from the misery of their lives.


Down with the Infidels !

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] Open licenses question for hosted services built with OSS

2010-10-04 Thread steve

Hi,

On 10/04/2010 11:22 AM, Kenneth Gonsalves wrote:

was this meant to be offlist? anyway I am cc-ing the list on this.



Well, I just checked. You mailed me offlist a couple of responses back. I 
normally just do a Reply All to all mailing list mails, since if I bother to 
reply, I am doing so to content and not to people. Anyways ...



On Thu, 2010-09-30 at 18:21 +0530, steve wrote:

 I don't follow the reasoning here. If mysql was under a BSD license,
 sun/oracle
 could just as well /lifted/ the code without having to even buy mysql
 (like
 Apple does with the BSD kernel).


precisely. BSD license allows one to make the application proprietary,
but insists on name change and also insists that the application is not
touted as derived from the original. That is why apple calls it open
darwin or whatever. What they do is perfectly legal.


Ok, so lets call this scenario (1). Where it is perfectly legal for recipients 
of BSD code to modify it and turn it proprietary *but* there is not way for 
recipients of this modified BSD code to get access to the modifications.




   Reason: it was GPL'ed and dual licensed. Since it was dual licensed,
   mysql could not add any code contributed from outsiders, as if it
 did,
   then such code could not be added to it's proprietary version.

 I think you are misinformed. The mysql commercial license is for
 'users' of
 mysql who do not want to comply with the GPL:

 http://www.mysql.com/about/legal/licensing/oem/#3


the exact text is:

quote
Q3: As a commercial OEM, ISV or VAR, when should I purchase a commercial
license for MySQL software?
 A: OEMs, ISVs and VARs that want the benefits of embedding
 commercial binaries of MySQL software in their commercial
 applications but do not want to be subject to the GPL and do not
 want to release the source code for their proprietary
 applications should purchase a commercial license from Oracle.
 Purchasing a commercial license means that the GPL does not
 apply, and a commercial license includes the assurances that
 distributors typically find in commercial distribution
 agreements.
/quote

wonderful things one can do with GPL applications ;-). The same mysql:
you can either use it as a GPL'ed app or you can use it as a proprietary
app!!!



I think you are confusing matters here. Firstly, there are 2 *different* 
licenses we are speaking about. GPL and Commercial. That is the meaning of 
*dual* licensing. Secondly, yes, you as a recipient of the app, get to *choose* 
which license you want (unlike scenario 1).




   So what
   they did was only accept code if the contributor handed over the
   copyright to mysql. (they paid for it - but no handover meant the
 code
   was not accepted).

 Umm, here is what I know about Mysql licensing:

 a. If the user was to package mysql with a proprietary app.
 (with/without
 changes) he would have to purchase the Mysql commercial license.


with no need to contribute back - but allowed to change and modify the
code under the same name!



Let me get this straight -- what do you have a problem with ? That they can 
change and modify and make proprietary ? (from scenario 1, that doesn't seem to 
be the case) ...or that they can do all of that without changing the name ?


...because, in the first case it is just like BSD and in the second /less/ 
restrictive than BSD !! ie: for sake of argument, let us assume that they were 
only allowed to modify and turn proprietary *if* they changed the name, would 
you be ok with it ?


If you would, I'd suggest that as you read further while thinking of the mysql 
commercial license as a BSD license with the change of name clause removed 
(sarcasm yay ! /sounds/ still 'free-er', doesn't it ?!! /sarcasm )




 b. If the user wanted to distribute sources of his changes yet license
 the
 changes under a different license, he would have to purchase the
 commercial
 license and re-distribute his changes.


whatever this means - as I said I do not understand the GPL, and so
cannot understand whether this complies with the GPL or not.


ugh ! the commercial license != GPL. So, people purchasing under the commercial 
license need not comply with the GPL ...and whether people want to purchase 
under the commercial license (ie: think 'free-er' BSD license) is their own choice.




 c. If he wanted Mysql to accept (/merge) his changes back to Mysql he
 would have
 to use the GPL (Note: *not* hand over copyright to Mysql)


back in about 2003 I was involved in a flame war with the owner of
mysql, and he told me that they only accept contributions if the
copyright was handed over to mysql (under GPL of course). And assured my
that this would be paid for. If this had not happened, he would not have
been the owner of the whole copyright of mysql and would not have been
able to sell the software as if it was a commodity (and pocket
millions).



What is wrong with selling software

Re: [Ilugc] youtube downloader

2010-10-02 Thread steve

On 10/02/2010 11:58 PM, Ravi Jaya wrote:

All,

I want to download some video's from you tube, I tried youtube-dl program
which fails to download video and exits with an error.

Could you post the error message ? I heard from someone on an IRC channel that 
the currently packaged version of youtube-dl for Ubuntu fails. It seems to be 
working for me on Fedora (rpm version youtube-dl-2010.08.04-1.fc12.noarch).


I would recommend trying the latest version of the script from:

http://bitbucket.org/rg3/youtube-dl/wiki/Home

If you still have problems, it would be a good thing to file a bug against the 
package at:


http://bitbucket.org/rg3/youtube-dl/issues



I kindly request somebody to share the way or the tool to download content
from youtube would be highly appreciated.



I don't know of any other command line download tool. I sometimes use the Video 
Download Helper extension for Firefox:

https://addons.mozilla.org/en-US/firefox/addon/3006/

hth,
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] Open licenses question for hosted services built with OSS

2010-09-30 Thread steve

Hi,

On 09/30/2010 01:03 PM, Girish Venkatachalam wrote:

On Thu, Sep 30, 2010 at 12:17 PM, Kenneth Gonsalves
law...@thenilgiris.com  wrote:

 which license are you talking about? as far as BSD license is concerned,
 you can make the app proprietary and sell it too, as long as you change
 the name and do not claim that the original authors have anything to do
 with it. For GPL you cannot do this - other licenses have varying
 restrictions - GPL most restrictive and BSD most free.


Kenneth is quite accurate.

Look at what company does.

I take OpenBSD and commercialize it. In the BSD world OpenBSD allows
the maximum freedom.

But most people have their noses stuck in the sand like an ostrich and
their vision gets clouded
  the moment they see beyond Linux.

With Linux a lot of things are unclear. In the GNU world Stallman has
made life hell for commercial folks.



Care to elaborate on this ? While I understand and respect the choice of BSD 
users, making sweeping statements such as the above serves no purpose except 
confuse people.


There is *nothing* unclear about either Linux or GPL. Yes, you may say that in 
/your/ definition of freedom, the GPL is less free, but in the FSF's definition 
of freedom, the GPL is free. However that doesn't make it 'unclear', it makes it 
'different'.


Also, what exactly do you mean by generalizations such as 'Stallman has made 
life hell for commercial folks' ? References please.



He himself does not know what he wants.



Heh, this is so far away from the truth ! Stallman knows /exactly/ what he 
wants, even to the point of being stubborn, inflexible and annoying at times ! 
His principles have been consistently been proved right, be it the SCO trials, 
the dangers of Java/.NET, software patents ...etc. If anything at all, Stallman 
is consistent and stubborn in his beliefs. Saying he does not know what he 
wants, proves you do not know what you are talking about.




These problems are avoided in toto when you embrace the BSD world and
in particular OpenBSD.



...to the determent of the larger populace of users.

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] Open licenses question for hosted services built with OSS

2010-09-30 Thread steve

On 09/30/2010 01:34 PM, Kenneth Gonsalves wrote:

On Thu, 2010-09-30 at 13:18 +0530, Shakthi Kannan wrote:

 --- On Thu, Sep 30, 2010 at 12:17 PM, Kenneth Gonsalves
 law...@thenilgiris.com  wrote:
 | GPL most restrictive and BSD most free.
 \--

 It depends on who wants/gets the freedom. GPL ensures that the end
 user gets all the freedom, while with BSD, companies get all the
 freedom.


let us agree to disagree (which company benefits because python,
postgresql et al are truly free?)


Can't say about python and postgresql but Apple sure benefits from the ^freedom^ 
of BSD whereas Apple users don't :).


That's just one example.

Anyways, note the smiley, I do not wish to engage in a BSD Vs GPL flame (at 
least not with someone to knows the facts and then chooses one over the other).


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] Open licenses question for hosted services built with OSS

2010-09-30 Thread steve

On 09/30/2010 03:05 PM, Kenneth Gonsalves wrote:

On Thu, 2010-09-30 at 14:48 +0530, steve wrote:

   These problems are avoided in toto when you embrace the BSD world
 and
   in particular OpenBSD.
 

 ...to the determent of the larger populace of users.


just to add some ghee to the flames - guess what happened to MySQL and
why?


ehe, not quite sure what you are referring to here. AFAIK, MySQL has not (yet!) 
been harmed. In anycase, even if it does, the option of a fork always exists, as 
well demonstrated by the recent creation of LibreOffice [1]


cheers,
- steve

[1] http://www.documentfoundation.org/
http://www.documentfoundation.org/foundation/

--
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] Cannot Write in FTP

2010-09-30 Thread steve

Hi,

On 09/30/2010 10:22 AM, Zico wrote:

Hi, I have just installed a FTP server for providing some files among my
students. I want to set permission in such a way that:

  (1) Anonymous user can read / copy the file but no write permission
  (2) My students who will login with their ID, will able to read / copy and
*even write in that FTP* site.

My server is CentOS 5. And, I am using vsftpd for this purpose. I am
providing my vsftpd-anon.conf file here for your kind information:

*#
# Sample anonymous FTP server configuration
#
# Mandatory directives
#
listen=YES
local_enable=YES
anonymous_enable=YES
write_enable=YES
local_umask=077
anon_upload_enable=YES


This  is not consistent with your requirement to have read only access for 
anonymous user. What exactly do you mean by 'Anonymous' can 'copy' ?


Anyways, here is a nice article that might help:
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch15_:_Linux_FTP_Server_Setup#The_vsftpd.conf_File

If you still have problems, it might help to know what exactly happens (or does 
not happen as expected) along with the current configuration.


In any case, you should consider creating a complete read-only ftp server with 
users using scp to copy files instead of ftp, since that is more secure.


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] How to improve the throughput of c/c++ code

2010-09-30 Thread steve

Hi,

On 09/29/2010 08:52 PM, narendra babu wrote:

Hello all ,

I have done some search to improve the performance of existing c/c++ code , but 
could not find much .

So it will be great if any body can share thoughts on how to improve the 
performace or throughput of code .



This question is too generic to answer sensibly. Consider the following points:

a. Is your application I/O bound or CPU bound (ie: does it do mostly I/O or is 
it CPU intensive ?)
b. What do you define as 'performance' ? Low memory consumption ? Low 
latency/high user responsiveness ? Fast processing ?
c. What is the environment in which your application executes ? (ie: what are 
the external dependencies of the application's input and output ?)


The first step to 'improving the performance' is 'understanding the performance' 
of your application. So, I would recommend running your application under a 
profiler (there are tons of them out there both generic and specialized tools).



also if anybody has worked in converting single threaded code to multithreaded 
code in c/c++ .



Don't do this without first understanding why one would need to do this and even 
then don't do it without evaluating what other options are available. I say this 
because, writing multi-threaded code more often than not is too much effort to 
solve the wrong problem :-). That is to say, if you are converting single 
threaded code to multi-threaded /only/ for the sake of perceived gain in 
performance then don't do it.



do we any tools to identify where we can improve perfromace of c/c++ code .



strace/ltrace (especially the -C option), gprof, oprofile ...and simple printf, 
if used sensibly.


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] Open licenses question for hosted services built with OSS

2010-09-30 Thread steve

On 09/30/2010 06:36 PM, Roshan George wrote:

On Thu, 2010-09-30 at 14:48 +0530, steve wrote:

 Care to elaborate on this ? While I understand and respect the choice
 of BSD users, making sweeping statements such as the above serves no
 purpose except confuse people.


Serves no purpose other than to confuse people? I disagree. It serves a
very specific purpose. You see, the ilugc mailing list must have atleast
one flamewar every few weeks. Tune in next month for vi-vs-emacs if
you're not interested in this one.

The signal-to-noise here is abysmal. But that's how we like it.



Care to elaborate on this ? While I understand and respect the opinion that 
signal-to-noise ratio here is not ideal, making sweeping statements such as the 
above serves no purpose except increase responses such as this.


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] shows how popular ilug is

2010-09-20 Thread steve

On 09/20/2010 06:34 PM, Kenneth Gonsalves wrote:

On Mon, 2010-09-20 at 18:27 +0530, Sankarshan Mukhopadhyay wrote:

 On Mon, Sep 20, 2010 at 6:21 PM, Kenneth Gonsalves
 law...@thenilgiris.com  wrote:

   please see the footer on this page
 
   http://www.linux.ie/index.php

 Do you mean the link tohttp://www.ilug-cal.org/  ? Indranil (cc: ed)
 can perhaps clarify.


aparently lot of people looking for indian linux users group go to the
irish site


...perhaps because http://www.google.com/search?q=ilug

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] Best nosql database

2010-09-11 Thread steve

Hi,

On 09/11/2010 12:07 PM, Mohan L wrote:

On Sat, Sep 11, 2010 at 9:40 AM, rajkumar vbalakrishnasamy
rajkumar.l...@gmail.com  wrote:


 Hi all,
Which database is suitable for High performance and scalable.How nosql
 is gaining importance nowadays and which is the most powerful nosql
 database.And also which is the best alternative to the mysql database.

  Hi Rajkumar,

It is very hard to answer your question. I will try to give overview of all
about NoSQL.
[...snip...]


That was a nice write up ! For someone who just been curious about NoSQL but 
never had a reason or motivation to look it up, your post summed it up quite 
nicely, Thanks !


cheers,
- steve

PS: if you make this into a blog post or have links to the presentation you 
referred to in the post, please share it.


--
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] Re: How to protect an idea from getting patented by someone?

2010-08-22 Thread steve

Hi,

On 08/22/2010 10:50 AM, Kenneth Gonsalves wrote:

On Sun, 2010-08-22 at 10:44 +0530, Arun SAG wrote:

 On Sun, Aug 22, 2010 at 10:31 AM, Kenneth Gonsalves
 law...@thenilgiris.comwrote:

   yes
 

 Please read http://www.redhat.com/legal/patent_policy.html


wow - sensational. So where are the patents? I would hate to think I am
wrong about it not having patents.


Red Hat is part of the Open Invention Network.

http://en.swpat.org/wiki/Open_Invention_Network
http://www.openinventionnetwork.com/

I was planning to reply to this thread earlier but did not find the time. The 
fact of the matter is although they are evil, Patents still are an unfortunate 
reality as per the legal system in US. Even if you don't believe in Patents you 
can get sued because existing patents are so general that you cannot write any 
code beyond 'hello world' style programs without infringing on patents (no jokes !).


Just like so many other things wrong with the world the best way to beat the 
system is to work within it yet do the right thing.


To the OP, Rahul already mentioned defensive publication, for example:

http://www.openpatents.net/

Although, if you already own a patent, you could also consider contributing the 
patent to organizations such as Open Invention Network or the Open Patent Alliance


http://www.openinventionnetwork.com/contact_donation.php
http://openpatentalliance.com/

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] Re: How to protect an idea from getting patented by someone?

2010-08-22 Thread steve

Hi

On 08/22/2010 11:29 AM, steve wrote:

To the OP, Rahul already mentioned defensive publication, for example:

http://www.openpatents.net/


 sorry wrong url. That one is just to give up your idea for 
others to patent.


I meant to paste:
http://www.defensivepublications.org/

That too is part of the Open Invention Network mentioned in my last post.

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] Re: How to protect an idea from getting patented by someone?

2010-08-22 Thread steve

Hi,

On 08/22/2010 11:56 AM, Kenneth Gonsalves wrote:

 I meant to paste:
 http://www.defensivepublications.org/

 That too is part of the Open Invention Network mentioned in my last
 post.


aha - so you *can* do business in the US without getting patents!


Well, yes, you can. The ugly thing about patents is although you can run a 
business without getting patents, you can't become too big or too threatening to 
someone who does own patents.


The only reason these days patents are used is to arm-twist potential 
competition (I don't even need to supply references, look at almost any patent 
suit in the recent past, it is initiated by patent trolls or direct competition 
is a masked manner).


The other part of course is if, (like IBM, Novell and the other members of OIN) 
you already have patents, it is best to release them to the community or make a 
patent promise using something like OIN.



Correct me if I am wrong - the objective of patenting something (or
defensively publishing it) is to prevent someone else from patenting
your idea and then suing you for using your own idea. The objective is
*not* for the purpose of preventing other people from using your
idea/invention. right?


Yes.

Defensive patenting is to create a patent on something so that you can protect 
yourself from being sued.


Defensive publication is publication of an idea so that later on if someone 
tries to patent the idea, you can point to your publication to say the idea is 
'prior art' (and as such not patentable).


Red Hat practices both because it has to protect the trust of all it's 
supporters and has too much at stake to take put itself in a vulnerable position 
to legal attacks by as not doing so.


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] Re: How to protect an idea from getting patented by someone?

2010-08-22 Thread steve

Hi,

On 08/22/2010 02:28 PM, Narendra Sisodiya wrote:

On Sun, Aug 22, 2010 at 12:16 PM, stevest...@lonetwin.net  wrote:



 Defensive patenting is to create a patent on something so that you can
 protect yourself from being sued.

 Defensive publication is publication of an idea so that later on if someone
 tries to patent the idea, you can point to your publication to say the idea
 is 'prior art' (and as such not patentable).




Am I correct If I say -- Idea cannot be patented but once they are
published they can be used as prior art for defensing purpose ?


Well, *theoretically* ^ideas^ can *never* be patented. Not in the US, not 
anywhere.

*Theoretically* only a mechanism (ie: a system 'implementing' an idea) or a 
method can be patented. Unfortunately however, the US patent law is so broken 
when it comes to software that all you have to do to patent an idea is precede 
your idea with the statement 'A system, method or apparatus for your idea' 
and in all probability you would be granted a patent.


Ironically, the initial motivation for patent law was to protect the 'small guy' 
from the 'big corporations' who had the resources to just reverse engineer the 
small guy's invention and make money out of it without ever crediting the small 
guy. Unfortunately ignorance and sheer volume has led to the mess of software 
patents in its current state.


Anyways, to answer your question simplistically -- Yes, publishing your 
invention effectively proves that you thought about the invention first so 
anybody else applying for the patent will not be called the inventor (ie: will 
not be awarded the patent). So your publication is called as prior art.


There is an effort by eff as well as OIN to help the US patent office to 
identify such false patents:


http://w2.eff.org/patent/
http://linuxdefenders.org/projects?tab=1
http://linuxdefenders.org/projects?tab=2

If you are interested in (US) IP law and software, it is a good place to help 
out.

Fortunately for us Indians, there is an actively involved community of mostly 
unknown and under-appreciated activists including (surprise, surprise !) 
government babus who understand the issue of software patents ! This is the 
reason why India rejected the idea of software patents the last time it came up:


http://www.financialexpress.com/news/story/82155/

However, the threat still remains, all the MNC software companies who love the 
software patent culture and have deep pockets keep trying to push the agenda for 
this in India too. It really is up to us to inform and educate enough people so 
that the ridiculous notion of patenting 'ideas' (that's what software is all 
about anyways) is never accepted here in India.


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] difference between free and opensource software

2010-08-22 Thread steve

Hi,

On 08/22/2010 03:20 PM, Akilan R wrote:

On Sun, Aug 22, 2010 at 6:44 AM, Kenneth Gonsalves
law...@thenilgiris.comwrote:


 sorry, you got it wrong. open source software is truly free. So called
 free software under GPL is restrictive of freedom



you say this because GPLed software is not free to make it
proprietary right? I'm sorry. I don't want to place my software in near
public domain where people can do whatever they wished.



Excellent choice ! At the end of the day however, the people who do want to 
subvert this sharing, will probably just go ahead and do it anyways. The onus 
would be on you to prove that they did so (just take a look at 
gpl-violations.org for examples of how even big companies rip off the efforts of 
developers without any acknowledgment). However, at least by using something 
like GPL you expressively make it /illegal/ and not just /immoral/ to not share 
modifications.


cheers,
- steve

PS: note, that the only reason I bothered replying is you proved that you 
actually have code out there and are not all talk. Kudos !


--
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] difference between free and opensource software

2010-08-21 Thread steve
 definition of free 
software.


The term FOSS is supposed to include all Free/Open Source software.

Hope that clarified your queries.


is there any video illustrating them
There already is a lot of material explaining this including videos. Do a video 
search for free software. In face there are 2 movies which are pretty well know 
that cover the history of free software and linux -- search for 'The Code' or 
'Revolution OS' -- maybe someone should hold a friendly screening of these.



cheers,
- steve

(*) and shareware, which was free of cost software, but usually with some 
limitations such as limited time or limited users licenses or limited functionality


--
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] difference between free and opensource software

2010-08-21 Thread steve

Hi,


On 08/22/2010 12:31 AM, K.P. Senthil Kumar wrote:

People come to this forum to clarify their opinion that may be right or
wrong. This needs to be corrected and I appreciate your feeling. But again
we should also promote freedom of expression



The proper and most gracious way to respond to someone who corrects your mistake 
is to say 'Sorry, thanks for correcting me !' - *not* trying to cover your 
mistake under the guise of a different opinion or freedom of expression.


Be humble when being corrected and you'll be respected more than when you try to 
build a smokescreen to cloud your obvious mistake.


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] Contents in /var/www of Debian

2010-08-16 Thread steve

On 08/16/2010 11:15 PM, Zico wrote:

I am facing an annoying problem with KOHA ( Open Source Integrated Library
Management System ) OPAC modification in test server, which is
http://192.168.1.235/

As I did before, My all library sites are in /var/www/

But, when I tries to go from *http://192.168.1.235/index.php?show=aboutlib*,
it shows 404 error. But, If I put this with *
http://localhost/index.php?show=aboutlib*, it comes. I have checked apache
configuration file for hosts problem, but there is nothing there which may
create problem.

What problems may exists there?


Did you try http://127.0.0.1/index.php?show=aboutlib ? AFAICT this is host 
lookup problem. It helps to understand all the events that occur between typing 
something in the location box of the browser and a page being displayed. I 
started explaining this whole thing, but it just got too lengthy. So, instead 
i'll encourage you to find the answer yourself, using these hints - what happens 
when you execute:


$ ping 127.0.0.1
$ ping localhost
$ ping 192.168.1.235

$ host 127.0.0.1
$ host localhost
$ host 192.168.1.235

$ GET 127.0.0.1
$ GET localhost
$ GET 192.168.1.235

If you have questions after this, please ask, I'll probably feel more inclined 
to answer in depth then :)


hth,
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] Recover deleted files

2010-08-12 Thread steve

On 08/12/2010 04:41 PM, Balaji Damodaran wrote:

On Thursday 12 August 2010 04:01 PM, Kenneth Gonsalves wrote:

 how did this happen? I am always rm'ing links and the directories never
 get deleted.



sudo rm link-name  -  won't be a problem.

sudo rm link-name/ - deletes the underlying directory.


...and that's the reason why 'unlink' exists. You are unambiguous that way.

Anyways, to be pedantic, 'rm' by itself will not remove a directory or a link to 
a directory (when specified as link-name/) unless the directory is empty. Also, 
sudo is not required unless the logged in user doesn't have the correct 
permissions (ie: write permission on the containing directory).


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] [Humor] Bug 626593 - Gnome ate my boyfriend! Help!

2010-08-12 Thread steve

On 08/13/2010 10:34 AM, Shrinivasan T wrote:

Friends,

Here is the most funniest bug report for GNOME.

https://bugzilla.gnome.org/show_bug.cgi?id=626593




heh, reminds me of: https://bugzilla.mozilla.org/show_bug.cgi?id=95849

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] spammassassin + evolution does not work

2010-08-09 Thread steve

On 08/09/2010 11:39 AM, Kenneth Gonsalves wrote:

hi,

I am using evolution with spamassassin. I have doe a lot training -
several hundred mails, but spamassassin is yet to catch even a single
mail as spam. I cannot figure out if it is working or not. Any one has
some tips here?


If you look at the headers(*), you'll see a X-spam-score. Check the average 
scores for what you consider as spam and mention that in your spamassassin 
config (ref: config option - required_score)


Also, you might want to modify the default behavior of spamassassin of just 
setting this header to also modifying the subject line to reflect the spam status


(ref: config option - rewrite_header, for example:

rewrite_header Subject [SPAM]

)

A quick google also showed me this, which might be useful:
http://www.yrex.com/spam/spamconfig.php

hth
cheers,
- steve

(*) I am sorry don't know how to do that in evolution, but in thunderbird it is 
'view-headers-all' or through 'view-message source', I'd imagine there'd be 
something similar in evo.

--
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] Accenture survey sees open source investment rising

2010-08-06 Thread steve

On 08/06/2010 02:39 PM, Siddhu wrote:

I need a help from you, anyone knows any website, which gives list of the
stable open source applications in different category.

Fg.

for developers gEdit is a good tool to develop a program,
like this for Page layout designing InkScape is good one.

But when I search in google there are lot of tools available.
I don't know which one is a stable one to use.

could anyone help me to find it?



That's what distributions are for. Most distributions would offer you one 
default choice for your task. This choice might even be different based on the 
desktop manager you use. Most distributions will have a GUI package manager 
which would list, group and let you search for apps, based on the task you want 
to do.


One good thing about going with the distribution's choice is that stability of 
the app is to an e×tent certified by the fact that it is packaged with the 
distribution and you have one place to report all your bugs to.


At the end of the day though, I would recommend trying out different apps and 
seeing what fits you the best.


Finally, this isn't a problem unique to Linux, it's just that the M$ monopoly 
and unethical practices(*) of actively shoving 'preferred' applications down 
peoples throat desensitizes one to the fact that choice is abundant on any OS.


cheers,
- steve

(*) like using unclear ^standards^, breaking compatibility between OS versions, 
using proprietary undocumented API for which developers of 'preferred' apps need 
to sign NDA for and providing what they claim is better ^interoperability^ 
between apps, but in effect is making their own (or their partner's) products 
work better on their OS as compared to 3rd party apps.


--
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] [OT] From Mark Shuttleworth

2010-07-31 Thread steve

On 07/31/2010 10:04 AM, Akilan R wrote:

A very neat and timely essay from Mark Shuttleworth about tribalism in Free
Software world:


The very uncool thing about being a fanboy (or fangirl) of a project is that
 you’re openly declaring both a tribal affiliation and a willingness to
 reject the work of others just because they belong to a different tribe.



I'd just like to add, please read the comments to the post too. Which give you a 
good balanced idea. This post was prompted by the calling out on more than one 
occasion of Ubuntu's lack of contribution:


Most recently for GNOME:
http://gregdekspeaks.wordpress.com/2010/07/29/red-hat-16-canonical-1/

Prior to that for the kernel:
http://www.kroah.com/log/linux/lpc_2008_keynote.html

...and also on various mailing lists/forums etc.

IMHO, having to defend oneself by words rather than work in meritocracy based 
FOSS is ...ahem ...sad. At the end of day this whole issue is just that someone 
pointed out that the emperor has not clothes on and the emperor says - 'hey, 
look, I thought I had them on but if I don't you should really be pointing it out'.



cheers,
- steve

PS: Branding people who are just pointing to facts, as 'The Gregs' and engaging 
in this:

http://www.markshuttleworth.com/archives/77#comment-32120

...apparently doesn't qualify as tribalism ?

--
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] [உபுண்டு_தமி ழ்]கட்டற்ற தமிழ்க ் கணிமை கூடுதல்

2010-07-13 Thread steve

Hi,

On 07/13/2010 11:58 PM, ashwin kesavan wrote:

2010/7/13 Thyagarajan தியாகராஜன்citizenof...@gmail.com:

 Hi,

 the following one of the two solutions may help the situation.

 a) Request the tamil team to post an english translation to the respective
 tamil post
 or
 b) Request them to tag post with [tamil] , so that people who do not need
 it, have the facility and freedom to send it to /dev/null


i second this tamil tag approach. Please with/without interest in
tamil posting can have better handling of tamil mails.



+1 for the [tamil] tag. It beautifully fits the Postel's Robustness Principle[1] 
on the list's part.


Reasons:

* The list is mostly English with tamil being the occasional exception
* The insistence for a separate list for tamil posts is not justified, since
   - it might split a perfectly good community (most people do not like to be 
subscribed to more than one list with the same general agenda)

   - the volume of posts in tamil is too low for a separate list
   - the [tamil] tag is more elegant since even if we create a different tamil 
specific list, the problem will not be solved automatically, the list might 
still get a poster who does not know of the existence of the tamil list. OTOH, 
if the [tamil] tag is missing, anyone who replies can easily add it to the reply 
so the filters work well (and might also remove an existing tag, if a 
translation is posted). Hopefully, this won't break the flow of the conversation.


cheers,
- steve

[1] http://en.wikipedia.org/wiki/Robustness_principle
--
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] Simple Python Web Application

2010-07-12 Thread steve

On 07/12/2010 02:01 PM, Bharathi Subramanian wrote:

Hi All,

I wrote a very simple python web application (using CGI), which accept
a student roll number and show the student's detail from the DB. While
searching, I got many CGI, mod_python, WSGI based examples. Which is
the proper way? If possible, plz point to some good example/tutorial.



The problem with web development in python is there are so many choices ! It 
really depends on what you want to do and how simple/complicated your 
application is.


For a mostly static site with only a few form submission/query pages, cgi (using 
the cgi module) should be sufficient. If you need to 'host' your entire site/web 
application using python, you might want to consider a framework based on WSGI. 
WSGI has become an unofficial 'standard' on how to write web applications in 
python. However, you'd almost never use a standalone WSGI server implementation.


My own preference is cherrypy + SQLObject (database) + Genshi (templating), 
which is a good balance between light-weight cgi like application and full-stack 
frameworks like Django.


Some links that might help you make your own choice:
http://docs.python.org/howto/webservers.html
http://wiki.python.org/moin/CgiScripts
http://wiki.python.org/moin/WebFrameworks

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] Open source software system for book publishers

2010-07-09 Thread steve

Hello,

On 07/10/2010 12:44 AM, Zico wrote:


He needs something like this:

*Entry field*
*Book*:
Title, Author, Publisher, Catasarvice, Editor, Reprint, Published Year,
ISBN, Book Type, Price, Book State, Quantity. (No Image is available)



http://openlibrary.org/
http://github.com/openlibrary/


*Sales*:
Customer No, Contact, Commission


Google for open source CRM.

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] Open source software system for book publishers

2010-07-09 Thread steve

Hi,

Just to add to my suggestions ...

On 07/10/2010 03:01 AM, steve wrote:

Hello,

On 07/10/2010 12:44 AM, Zico wrote:


 He needs something like this:

 *Entry field*
 *Book*:
 Title, Author, Publisher, Catasarvice, Editor, Reprint, Published Year,
 ISBN, Book Type, Price, Book State, Quantity. (No Image is available)



http://openlibrary.org/
http://github.com/openlibrary/


 *Sales*:
 Customer No, Contact, Commission


Google for open source CRM.



http://www.google.com/search?q=open+source+library+management+software

Although that might not be /exactly/ what your friend might need, it should be a 
good starting point. Basically integrating a library management software with a 
CRM workflow would give you what you need.


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] Glaxo tries open-source philosophy in drug discovery

2010-07-02 Thread steve

On 07/02/2010 12:38 PM, Shrinivasan T wrote:

Galxo shares 13,500 chemical compounds with public which may be
capable against Malaria.
It won't seek any patents on any malaria drug, but might consider them
if the compounds yield drug for other diseases.

http://online.wsj.com/article/SB10001424052748703341904575266583403844888.html?mod=livemint



Well, guess what ? Galxo didn't just suddenly realize the benefit of an open 
source approach out of the goodness in their heart. They were compelled to do so 
by the people who gave them the research grant. Want to take a wild guess who 
these people are ?


http://tinyurl.com/32bklxb
http://tinyurl.com/2vrtv48

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] Glaxo tries open-source philosophy in drug discovery

2010-07-02 Thread steve

On 07/02/2010 01:47 PM, சிவகுமார் மா wrote:

2010/7/2 stevest...@lonetwin.net


 On 07/02/2010 12:38 PM, Shrinivasan T wrote:


 Galxo shares 13,500 chemical compounds with public which may be
 capable against Malaria.
 It won't seek any patents on any malaria drug, but might consider them
 if the compounds yield drug for other diseases.


 
http://online.wsj.com/article/SB10001424052748703341904575266583403844888.html?mod=livemint



 Well, guess what ? Galxo didn't just suddenly realize the benefit of an
 open source approach out of the goodness in their heart. They were compelled
 to do so by the people who gave them the research grant. Want to take a wild
 guess who these people are ?



It is Glaxo


Ugh, i hate explaining myself. Did you even bother to see the links I added ?

Well, to spell it out for those who cannot be bothered to read TFAs, Glaxo got 
research funding from the Bill  Melinda Gates foundation on the condition that 
they share the findings of the research. So, Billy boy the hypocrite that he is, 
thinks it is a good idea to share knowledge because it encourages innovation 
...only as long as the sharing doesn't happen from the company that is making 
him millions.


Read about his hypocritical stance:
http://www.google.com/search?q=bill+gates+open+drug+research

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] [Opinion needed] Fast, stable and no-animation distro

2010-06-30 Thread steve

Him

On 06/30/2010 08:41 PM, Ashish Bhatia wrote:

Hi LUG members,

[...snip...]
I wonder which releases do LUG members recommend with following four features
1) User has good enough experience with system(most work is done from
command line) the only reason to start X server for me is to run
Firefox and pidgin
2) Plain interface similar to XFCE but does not crash
3) Is not memory hog (like KDE 4)
4) must be fast(user hates compiz and any such flying effects)



Just to be clear, you do know that all desktop effects are optional right ? In 
GNOME go to System-Preferences-Desktop Effects and turn it off. I also 
recommend disabling Nautilus and other desktop 'daemons' 
(System-Preferences-Startup applications) which you might consider unnecessary.


If you /do/ want to change your window manager, I recommend using WindowMaker. 
It is ultra-fast, stable and has /very/ small memory footprint while also being 
very usable (infact if you learn how to customize it, it'll be /very/ hard to 
move away from it).


I speak from experience, I held out against moving to X as primary interface 
till about 2004. I used to work almost 95% of the time on terminal - heading to 
X only for browsing sites which were unusable in firefox (or whatever it was 
called then). I did mail, chat, media all on the cli (and good looking cli too ! 
with SVGATextMode). Then I moved to using WindowMaker which kept me satisfied 
till as recently as early 2009 -- after which i've moved to GNOME, mainly 
because I got tired of making all the 'new' essential stuff like hal/udev/dbus, 
NetworkManager, PulseAudio etc work correctly on WindowMaker.  Of course, i have 
compiz and all other eye candy disabled.


hth,
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] Some good news.....

2010-06-28 Thread steve

On 06/27/2010 10:52 AM, Kenneth Gonsalves wrote:

On Saturday 26 June 2010 21:16:13 you wrote:

 Supposed you are a garage mechanic who spends years developing a new and
 efficient carburetor. This is a fairly tedious time consuming and costly
  affair  for individuals. However, if you invent this new carburetor, you
  apply for a patent by disclosing the manner in which the carburetor
  functions so that on the one hand people understand how your carburetor
  works and can build on top of it and on the other hand those big companies
  who have the resources to can't just copy the design and mass produce the
  carburetor on their conveyor belts.



there are always two schools of thought regarding patents - one that they
encourage innovation and the other that they discourage innovation. There are
enough arguments on both sides to convince anyone. What I find strange is the
view that patents are bad in some fields - software, medicine and good in other
fields.

What's so strange about it ? I find at least two sites dedicated to the fight 
against software patents suggesting the same (albeit as a passing reference):


http://www.nosoftwarepatents.com/en/m/basics/whatis.html (the last 2 points)
http://stopsoftwarepatents.org/myth (4th myth)

One should not generalize rules arbitrarily across non-associated domains, even 
if they appear to be similar on the surface. For instance, moving in the other 
direction, ie: from some external field to software -- it does not make any 
sense to apply the rules for broadcasting and publication to online media 
although that doesn't stop our Indian 'cyber police' from trying to do so.



But the point is how does innovation come about. When one says linus wrote
linux - actually what he did was modify minix and release it as linux. When
RMS wrote gcc - he took an existing compiler and modified it. So it is when a
guy in Coimbatore made a submersible pump - he took an existing pump and
modified it. Yes, there have been inventions that are totally from scratch and
totally revolutionary and not built on work done by some one before (I cannot
off hand remember one - but there must be any number) - so the concept that one
has to pay royalty or get permission (or maybe even be denied permission) to
use pre existing work ...


Well, I don't know about the coimbatore guy's submersible pump but I am willing 
to bet if he hasn't patented his invention neither with anyone else.


Now, that i think about it, this issue is quite similar to the GPL/BSD debate.

Sharing of someone's creations, IMHO, should happen under the terms decided by 
the creator. With GPL this implies that if you want to build on top of the 
creator's work you recognize her, and offer the 'built-on' creation under the 
same terms as offered to you. You, if I am not mistaken, believe in the BSD 
philosophy that work should be open without restrictions, right ?


Anyways, returning back to patents, lest anyone thinks I am mixing up things, 
that digression in the paragraph above only goes to prove that patents are not 
necessary for protecting (or not) the rights of the creator of software. 
Copyright is sufficient.


As far as other non-software creations are concerned, that might not be the 
case.

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


  1   2   3   >