Re: Giving away my code
In addition to what other people say, and other caveats apply (I am not a lawyer, etc.). On Tuesday 15 September 2009 04:14:50 Steve Bertrand wrote: Ok. Some of you have probably come across my post on monks, but I ask here with a bit more detail. My project is a suite for Internet Service Provider management. The core engine is topped off with a web gui interface. This project contains about 7,800 lines of code, POD and unit tests. The HTML/email templates are separate, but I do intend to integrate them into the core of the project. There are also a few other personal packages which I've written that I tap into, but they are better left separate ( RadiusMgmt, EmailMgmt etc). These will be re-written, because what I know now, I didn't know then. The company that employs me is very small, and although I don't believe there will ever be a problem with giving my code away, I want to take advantage of the fact that I have never signed anything to say I ``can't'' give it away. I'm at a stage where some of our staff is testing, so before the powers-that-be decide that this is company code: You should make sure. An employer may make claim to code you've written on job time, and for job purposes. So you should get their explicit permission for releasing the source into the wild as Free and Open Source Software (FOSS). What is the quickest and easiest way to ensure my code is truly licensed as public domain, if I don't feel that the code is quite CPAN worthy? You may wish to read what I wrote about it here: http://www.shlomifish.org/philosophy/computers/open-source/foss-licences-wars/ Also see the Coverage and Comments section at the bottom - some good stuff there. As other people noted, putting code under the public domain is problematic because the Public Domain is not widely understood or accepted internationally, and because licensing code under the Public Domain may not be possible. (to quote the article). See: http://linuxmafia.com/faq/Licensing_and_Law/public-domain.html You can get pretty close to the American conception of the Public Domain using a permissive licence. The MIT/X11 Licence ( http://en.wikipedia.org/wiki/MIT_License ) explicitly allows sub-licensing, and the current interpretation of the 2-clause or 3-clause BSD licences is similar. There's also the http://en.wikipedia.org/wiki/ISC_license which is similar to the BSD, but uses a simpler language, and is favoured by the OpenBSD project for their own project. According to what I've heard from some people, such licences require that the entire licence be present in each source file. Though with similar and longer permissive licences such as the Apache Licence, this is not necessary. Note that you should be sure that by public domain you actually mean that people can take your code, and create derived copies under different (possibly non-open-source) licences. If that's not what you want, make sure you license your code under weak-copyleft or strong-copyleft licenses. (See my article for a description). As someone noted the Artistic License 2.0 is not exactly weak copyleft, but rather weak-weak-copyleft, in the sense that one can still distribute modified binaries under different licences. I'm not aware of a good weak copyleft that's also compatible with GPLv2 and above, and I went over all the GPL-compatible licences on: http://www.gnu.org/philosophy/license-list.html Do I put it somewhere with a license in it? Can I simply share it with someone else, with a license in it? Assuming you get a green light from the company that contracted you, you can host it somewhere like http://sourceforge.net/ , http://berlios.de/ http://code.google.com/hosting/ , http://github.com/ , http://savannah.gnu.org/ , http://bitbucket.org/ , and the list goes on: http://en.wikipedia.org/wiki/Comparison_of_open_source_software_hosting_facilities Steve Regards, Shlomi Fish -- - Shlomi Fish http://www.shlomifish.org/ What Makes Software Apps High Quality - http://shlom.in/sw-quality Chuck Norris read the entire English Wikipedia in 24 hours. Twice. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/
Re: Giving away my code
On Tuesday 15 September 2009 09:06:29 Shlomi Fish wrote: In addition to what other people say, and other caveats apply (I am not a lawyer, etc.). [SNIP] Assuming you get a green light from the company that contracted you, you can host it somewhere like http://sourceforge.net/ , http://berlios.de/ http://code.google.com/hosting/ , http://github.com/ , http://savannah.gnu.org/ , http://bitbucket.org/ , and the list goes on: http://en.wikipedia.org/wiki/Comparison_of_open_source_software_hosting_fac ilities In addition to that, I should note that you should announce it on http://freshmeat.net/ , http://directory.fsf.org/ , http://lwn.net/ , etc. Regards, Shlomi Fish Steve Regards, Shlomi Fish -- - Shlomi Fish http://www.shlomifish.org/ Original Riddles - http://www.shlomifish.org/puzzles/ Chuck Norris read the entire English Wikipedia in 24 hours. Twice. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/
regex question
Hi I'm look for code example that will only select a string containing 3 digits .. The string cant be less than 3 digit , can't be more than 3 and can't contain any other characters. I have googled and found code that will find 3 consecutive digits within a string or at the beginning. Any ideas ? Thanks G -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/
Re: regex question
GM == Gregory Machin g...@linuxpro.co.za writes: GM I'm look for code example that will only select a string containing 3 GM digits .. The string cant be less than 3 digit , can't be more than 3 GM and can't contain any other characters. that is called containing exactly three digits. you spent way too many words describing it. GM I have googled and found code that will find 3 consecutive digits GM within a string or at the beginning. and what is that code? did you understand how they work? did you try them out? have you read any of the intros to perl regexes (perlretut and perlrequick)? finally if you have code that works at the beginning of a string, would you want to find something that matches digits at the end of a string? perl might have something useful like that so rtfm and look for it. it will be easier than you think. uri -- Uri Guttman -- u...@stemsystems.com http://www.sysarch.com -- - Perl Code Review , Architecture, Development, Training, Support -- - Gourmet Hot Cocoa Mix http://bestfriendscocoa.com - -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/
Re: regex question
On Tue, 2009-09-15 at 09:30 +0200, Gregory Machin wrote: Hi I'm look for code example that will only select a string containing 3 digits .. The string cant be less than 3 digit , can't be more than 3 and can't contain any other characters. I have googled and found code that will find 3 consecutive digits within a string or at the beginning. Any ideas ? Thanks G So you want a regex that will identify a three digit string (any 3 digits or 3 specified digits?) and anchor to both the start and end of the string? Tim Bowden -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/
RE: Giving away my code
Steve Bertrand wrote: My project is a suite for Internet Service Provider management. The company that employs me ... I have never signed anything to say I ``can't'' give it away. First -- I'm an engineer, not a lawyer. If you want legal advice, hire an attorney. That said, knowing a little about intellectual property law helps me in my vocation. I've been in situations similar to yours. The following topics come to mind: http://en.wikipedia.org/wiki/Work_for_hire http://en.wikipedia.org/wiki/Trade_secret I suspect that the software you wrote is copyrighted as an unpublished work and the confidential property of your employer. In any case, the next step is to do a cost/ benefit analysis, business plan, etc., comparing the current arrangement against creating and operating a free/ open source software (FOSS) project based on all or part of the software you wrote. What does the company put in? What do they get out? What do you put in? What do you get out? Who else will use this software, and why? Who else will contribute time or money, and why? What is the fallback plan? What is the exit plan? Be realistic. Better yet, be pessimistic. HTH, David p.s. Be wary of disclosure agreements, intellectual property assignment agreements, etc., and people who say sign it now or else. I once chose to be fired rather than sign something that could have made be unemployable. p.p.s. If you just have an itch to release some FOSS, do something on your own: http://search.cpan.org/~dpchrist/Math-TriangularNumbers-r0_03/lib/Math/T riangularNumbers.pm http://sourceforge.net/projects/dirdiff/ I don't recall a single inquiry for either of the above; ever. I no longer use the first, so it hasn't changed in a while. I use the second often, and it's 24 versions newer than what is posted! -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/
Re: regex question
Any numbers, but only 3 digits in the string. I'm filtering out local extention numbers from phone numbers Where in the log the extension is 104 and the phone number would be something like PSTN0/2-0115070545. All the stuff I have tried have returned would return both the extension number and 3 digits from the phone number eg 011 . So I only want the records that beginning and end in a number and have exactly 3 digits not longer. Thanks for you time. G On Tue, Sep 15, 2009 at 9:52 AM, Tim Bowden tim.bow...@mapforge.com.au wrote: On Tue, 2009-09-15 at 09:30 +0200, Gregory Machin wrote: Hi I'm look for code example that will only select a string containing 3 digits .. The string cant be less than 3 digit , can't be more than 3 and can't contain any other characters. I have googled and found code that will find 3 consecutive digits within a string or at the beginning. Any ideas ? Thanks G So you want a regex that will identify a three digit string (any 3 digits or 3 specified digits?) and anchor to both the start and end of the string? Tim Bowden -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/ -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/
Re: regex question
On Tue, 2009-09-15 at 10:10 +0200, Gregory Machin wrote: Any numbers, but only 3 digits in the string. I'm filtering out local extention numbers from phone numbers Where in the log the extension is 104 and the phone number would be something like PSTN0/2-0115070545. All the stuff I have tried have returned would return both the extension number and 3 digits from the phone number eg 011 . So I only want the records that beginning and end in a number and have exactly 3 digits not longer. Thanks for you time. G Ah, so you do want to anchor at the beginning and end of the string. Have you looked at perlrequick (http://perldoc.perl.org/perlrequick.html) as Uri suggested? That should show you how to anchor a regex to the start and end of a string. Post what you're trying after looking there. Regards, Tim Bowden BTW, please try not to top post. It breaks the flow of the thread. On Tue, Sep 15, 2009 at 9:52 AM, Tim Bowden tim.bow...@mapforge.com.au wrote: On Tue, 2009-09-15 at 09:30 +0200, Gregory Machin wrote: Hi I'm look for code example that will only select a string containing 3 digits .. The string cant be less than 3 digit , can't be more than 3 and can't contain any other characters. I have googled and found code that will find 3 consecutive digits within a string or at the beginning. Any ideas ? Thanks G So you want a regex that will identify a three digit string (any 3 digits or 3 specified digits?) and anchor to both the start and end of the string? Tim Bowden -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/ -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/
Re: regex question
Thanks for the help .. knowing the anchor thing help me. if you not sure what ur looking for or what it call you end up with the wrong thing. On Tue, Sep 15, 2009 at 10:21 AM, Tim Bowden tim.bow...@mapforge.com.au wrote: On Tue, 2009-09-15 at 10:10 +0200, Gregory Machin wrote: Any numbers, but only 3 digits in the string. I'm filtering out local extention numbers from phone numbers Where in the log the extension is 104 and the phone number would be something like PSTN0/2-0115070545. All the stuff I have tried have returned would return both the extension number and 3 digits from the phone number eg 011 . So I only want the records that beginning and end in a number and have exactly 3 digits not longer. Thanks for you time. G Ah, so you do want to anchor at the beginning and end of the string. Have you looked at perlrequick (http://perldoc.perl.org/perlrequick.html) as Uri suggested? That should show you how to anchor a regex to the start and end of a string. Post what you're trying after looking there. Regards, Tim Bowden BTW, please try not to top post. It breaks the flow of the thread. On Tue, Sep 15, 2009 at 9:52 AM, Tim Bowden tim.bow...@mapforge.com.au wrote: On Tue, 2009-09-15 at 09:30 +0200, Gregory Machin wrote: Hi I'm look for code example that will only select a string containing 3 digits .. The string cant be less than 3 digit , can't be more than 3 and can't contain any other characters. I have googled and found code that will find 3 consecutive digits within a string or at the beginning. Any ideas ? Thanks G So you want a regex that will identify a three digit string (any 3 digits or 3 specified digits?) and anchor to both the start and end of the string? Tim Bowden -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/ -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/
Re: regex question
GM == Gregory Machin g...@linuxpro.co.za writes: GM Thanks for the help .. knowing the anchor thing help me. if you not GM sure what ur looking for or what it call you end up with the wrong GM thing. did you read my post? if you had a clue about the digits starting at the beginning of the string, that sections in the docs would also cover digits at the end of the string. also the term anchor would crop up. please learn how to read the docs and you will be a much better coder then someone who googles for every little thing. this is for your own skill improvement. uri -- Uri Guttman -- u...@stemsystems.com http://www.sysarch.com -- - Perl Code Review , Architecture, Development, Training, Support -- - Gourmet Hot Cocoa Mix http://bestfriendscocoa.com - -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/
Re: Ternary operator
Tim == Tim Bowden tim.bow...@mapforge.com.au writes: Tim Oh good, O'Reilly hasn't given up. Is there some uncertainty as to the Tim success a future version might have? Or is it a question of the right Tim resources being available and willing to undertake the task? Or has it Tim been put on the backburner for Perl6? I suspect there is a significant Tim level of latent demand for an update after so many years and Perl Tim versions. As far as I know, the plans for the past few years have been that the Camel for Perl5 won't be getting any more updates until at least the first Camel for Perl6 has been published, if ever. Same thing for the llama/alpaca... we're on hold, waiting for Perl6 to get out of toy stage and into a useful beta state. The next llama will be for Perl6. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/
Tucows OpenSRS Module
Hello, I'm trying to use the Net::OpenSRS module to post new domain registrations for the Tucows API. I've been attempting to grasp the method for posting a new domain registration but haven't been able to understand how this module works for posting to Tucows. I've looked at the module info posted on Cpan but haven't grasp how this works yet. Was hoping someone has used the module and maybe share an example of how to post the request. Any help would be appreciated. TIA, Mike(mickalo)Blezien === Thunder Rain Internet Publishing Providing Internet Solution that Work http://www.thunder-rain.com === -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/