Re: [Webware-discuss] Python equivalent to Jarkarta Lucene
Gavin wrote: Has anyone written or knows of something similar to Jarkarta Lucene? http://jakarta.apache.org/lucene/docs/index.html The Chandler people are also working on making the Java Lucene easily available from Python -- they're planning to compile it to binary with gcj (or gjc?) and then make C bindings. I don't know how it's gone so far, but it's another way to go about it. Ian --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] Python equivalent to Jarkarta Lucene
Hi, give Lupy a try. Its a Python implementation of Jakarta Lucene. http://www.divmod.org/Home/Projects/Lupy/index.html Regards Lutz On Wed, 31 Mar 2004 21:25:19 +1000 Gavin <[EMAIL PROTECTED]> wrote: > Has anyone written or knows of something similar to Jarkarta Lucene? > http://jakarta.apache.org/lucene/docs/index.html > > > > --- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > ___ > Webware-discuss mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/webware-discuss -- Lutz Steinborn mailto:[EMAIL PROTECTED] 4c AGTel +49 6092 999592 Stefan-George-Ring 22-24 Fax +49 89 99341 399 81929 Münchenhttp://www.4c-shopping.de --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] Python equivalent to Jarkarta Lucene
Has anyone written or knows of something similar to Jarkarta Lucene? http://jakarta.apache.org/lucene/docs/index.html --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] Re: how to cancel initialization of plugins?
Uset Pawel J Maczewski wrote: hi, I'd like to use only WebKit, not other modules of webware (no psp, no com, etc). Is it possible to cancel the initialization of theese modules when AppServer starts? This would speed up the start time and maybe reduce memory usage of WebWare. Some time ago I saw somewhere three ways to do it. One of the method was: you should go to WebKit directory and then rename __init__.py files inside unwanted modules directories. -- regards, Dominik Kotowicz --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
[Webware-discuss] how to cancel initialization of plugins?
hi, I'd like to use only WebKit, not other modules of webware (no psp, no com, etc). Is it possible to cancel the initialization of theese modules when AppServer starts? This would speed up the start time and maybe reduce memory usage of WebWare. regars, Pawel -- Pawel "Kender" Maczewski http://kulinarna.art.pl/home/en JID: [EMAIL PROTECTED] --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
Re: [Webware-discuss] .pyc files
> Is there any way to really protect source? Of course, there are several possibilities to scrable and encrypt the code, but in the end it has to be descrambled and decrypted in order to be executed by the Python interpreter anyway, and a versatile hacker will always be able to intercept the code here. So, you can make it a bit harder to get your source, but you can't really protect it. If you only deliver .pyc, at least the comments won't be there, and if you deliver only .pyo, the docstrings won't be there, either. You could also use source code obfuscators which would scramble the names of your variables and do some tricks to make your source code hard to read and understand for others. In real life, people don't use comments and docstrings anyway, and the code is already so obscure that you cannot ofuscate it any further anyway ;-) > There are only pyc files and I have edited Applicacion.config but is not > working. Can you show me how to edit it. Sorry, I just saw you need to patch ServletFactory.py also. Otherwise, .pyc files will be not treated as executables, but delivered to the client as binary files. Here are the patches I made in order to use .pyo files. With these patches, you can also use .py and .pyo together (.py takes precedence). This is helpful in the development phase. # Application.config 'ExtensionsToIgnore': ['.pyc', '.py~', '.psp~', '.html~', '.bak', '.tmpl'], 'ExtensionsToServe': ['.py', '.pyo'], # if specified, only extensions in this list will be used 'UseCascadingExtensions': 1, 'ExtensionCascadeOrder': ['.py', '.pyo'], # needs ServletFactory patch! 'FilesToHide': ['.*', '*~', '*.bak', '*.tmpl', '*.config', '__init__.*', '*.pyc'], 'FilesToServe': ['*.py', '*.pyo'], # if specified, only files matching these patterns will be served # ServletFactory.py: # this patch is needed for running .pyc or .pyo files without .py # normally .pyc and .pyo files would be delivered instead # of being executed, which is a security problem also # replace: return ['.py'] # with: return ['.py','.pyc','.pyo'] # ImportSpy.py: # this is needed when you want to use .pyo files # replace: if f[-4:] == '.pyc': # with: if f[-4:] in ('.pyc', '.pyo'): # Application.py: # this is needed for allowing .py plus .pyc or .pyo index files # this is a quick and dirty patch, a more sophisticated patch # considering cascading extensions has already been submitted # replace: elif num>1: # with: elif num>3: Gtx Christoph Zwerschke --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss