Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.011 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'python,': 0.01; 'languages,': 0.03; 'demonstrates': 0.09; 'kinda': 0.09; 'pieces': 0.09; 'pm,': 0.11; 'linux': 0.11; 'c++': 0.12; 'wrote:': 0.14; 'subject:python': 0.15; 'bit.': 0.16; 'categories:': 0.16; 'firefox.': 0.16; 'glue': 0.16; 'partly': 0.16; 'subject:distribution': 0.16; "there'll": 0.16; 'two.': 0.16; 'code.': 0.18; 'awesome': 0.19; 'foss': 0.19; 'of.': 0.19; 'source.': 0.19; 'tue,': 0.20; 'code,': 0.20; 'language': 0.20; 'code': 0.22; 'header:In-Reply-To:1': 0.22; 'subject:code': 0.23; "didn't": 0.25; 'version': 0.25; 'windows': 0.26; 'there.': 0.26; "i'm": 0.26; 'chris': 0.27; 'message-id:@mail.gmail.com': 0.28; "doesn't": 0.28; 'beyond': 0.28; '(you': 0.29; 'assuming': 0.29; 'certainly': 0.29; 'probably': 0.30; 'least': 0.30; "won't": 0.30; '17,': 0.31; 'grasp': 0.31; 'however,': 0.31; "can't": 0.31; 'to:addr:python-list': 0.32; 'source': 0.32; 'things': 0.33; 'generally': 0.33; 'on,': 0.33; 'requires': 0.35; 'there': 0.35; 'open': 0.35; 'point': 0.35; 'put': 0.35; '(my': 0.35; 'quite': 0.36; 'running': 0.36; 'missing': 0.36; 'data': 0.37; 'two': 0.37; 'some': 0.37; 'should': 0.37; 'received:209.85': 0.37; 'either': 0.37; 'run': 0.37; 'received:google.com': 0.38; 'goes': 0.38; 'less': 0.38; 'but': 0.38; 'files': 0.38; 'completely': 0.38; 'hold': 0.39; 'help': 0.39; 'pack': 0.39; 'though,': 0.39; 'to:addr:python.org': 0.39; 'where': 0.39; 'received:209': 0.39; 'header:Received:5': 0.40; 'might': 0.40; 'database,': 0.60; 'simple': 0.60; 'learn': 0.60; 'course.': 0.60; 'back': 0.61; 'huge': 0.62; '2011': 0.62; 'valuable': 0.63; 'world': 0.65; 'tiny': 0.69; 'online': 0.70; 'guarantee': 0.75; 'decades,': 0.84; 'dust': 0.84; 'received:209.85.210.174': 0.84; 'received:mail- iy0-f174.google.com': 0.84; 'session,': 0.84; 'that),': 0.91; 'technique': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=p5btHBYMg4MoLLEm8SJwfE/1OzByxYJdxb2PyAeE2XI=; b=UBZyIjUZGNkB8I9OxNXwNGxChSh4OhLeGTA2B6jlUX8jB/+IMVMNkvYmTdAa7tcaDS ucp9cKoncltTcKswWBuiezetHl40TYV5hiEWo1dAxVybVLqYjmVjmNp8p6KFKXOt8Fnf 9A4X2FvmneQF8n/fcxUx5X0epQYu3gixGNXvk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=gSmTTSJnzxsohJIkeLq02Krvi3nXB13h8RmDvjOf2ARPVgufCM6nwWpPDjkSLin74T nstY4bklpf6dz3qxUa0Yq5x3To/kBVItrRLtSVqAOAqQAP3USEDRBo3aP5QU0TgYcSGS a5wBmMxw1Hv4w/g90OYlevT9ggmBFxsiG6dgI= MIME-Version: 1.0 In-Reply-To: References: <87boz3gw5u.fsf@benfinney.id.au> <4dd0a1fc$0$29983$c3e8da3$5496439d@news.astraweb.com> Date: Tue, 17 May 2011 16:39:48 +1000 Subject: Re: obviscating python code for distribution From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 33 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1305614391 news.xs4all.nl 49174 [::ffff:82.94.164.166]:60726 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:5553 On Tue, May 17, 2011 at 4:16 PM, Dotan Cohen wrote: > Actually, Chris, those applications are probably no less valuable to > be open source than Linux or Firefox. The reason is that when one goes > to learn a new language it is valuable to look at existing real world > code. However, the code available online generally falls into one of > two categories: > 1) Simple sample code, which demonstrates a principle or technique > 2) Full-blown FOSS application with hundreds of source files and a build > > It sounds to me like your home-brew code might be one of the missing > links between the two. It won't be so tiny as to be trivial, but it > won't be so huge as to be beyond the grasp of novices. You have a point there. Although I can't guarantee that all my code is particularly *good*, certainly not what I'd want to hold up for a novice to learn from - partly because it dates back anywhere up to two decades, and partly because quite a few of the things I was working with are completely undocumented! But if you have Pastel Accounting Version 5, running in a Windows 3.1 virtual session, and you want to export some of its data to a DB2 database, I can help you quite a bit. Assuming you have an OS/2 system to run it on, of course. (You see what I mean about obscure?) I should probably dust off some of the slightly-more-useful pieces and put them up on either The Esstu Pack (my old web site) or rosuav.com (my new web site, doesn't have any better name than that), but that kinda requires time, a resource that I don't have an awful lot of. I'm sure there'll be a few oddments in there where at least one half of the glue is more useful. Back then, though, I didn't know Python, nor Pike, nor any of quite a few other awesome languages, but REXX and C++ are at least available open source. Chris Angelico