Announce: WHIFF 1.1 Release

2011-03-17 Thread Aaron Watters
cks http://whiffdoc.appspot.com/docs/W1100_2200.TreeView Google App Engine compatibility http://whiffdoc.appspot.com/docs/W1100_2300.GAEDeploy And much more. Please try it out and let me know what you think. Also, thanks to all for suggestions and other feedback. -- Aaron Watters === This one goes

Re: bool behavior in Python 3000?

2007-07-11 Thread aaron . watters
or precedence appropriately (versus using and, or, not) and also correctly implementing DeMorgan's laws and other property's of boolean algebra ~(a*b) == ~a + ~b etcetera. 1+True is bad practice and should be an error. Anything else is false advertising (and the java community has the pa

renaming an open file in nt like unix?

2007-07-13 Thread aaron . watters
pport this feature (which I think is standard for POSIX systems)? Inquiring minds want to know. -- Aaron Watters === an apple every 8 hours will keep 3 doctors away. -- kliban -- http://mail.python.org/mailman/listinfo/python-list

Re: renaming an open file in nt like unix?

2007-07-25 Thread aaron . watters
entest.py", line 31, in rename Process os.rename(firstname, secondname) WindowsError: [Error 13] The process cannot access the file because it is being used by another process So it looks like the answer in general is "no: you can't do that on Windows." Drat! Foiled again.

ANN: NUCULAR fielded text searchable indexing

2007-10-08 Thread aaron . watters
ing issues. -- Nucular indexes and retrieves large collections quickly. Read more and download at: http://nucular.sourceforge.net Online demos: http://www.xfeedme.com/nucular/gut.py/go http://www.xfeedme.com/nucular/mondial.py/go I hope you like! -- Aaron Watters === I don't know ka-RAH-te

Re: NUCULAR fielded text searchable indexing

2007-10-09 Thread aaron . watters
ot; has already turned me off wanting to find out more about it. > > Tim Delaney No, it doesn't stand for anything. I guess it's not for you :(. Sorry about that. (see the graphic at the bottom of http://nucular.sourceforge.net) -- Aaron Watters === An apple every 8 hours wil

Re: NUCULAR fielded text searchable indexing

2007-10-09 Thread aaron . watters
in my open source projects? Besides there is a great tradition of tounge-in-cheek package names, like "Cold fusion", for example. Actually one reason I chose it, is I own nucularOption.com and also http://nucular.sourceforge.net was available. too late now. sorry again, -- Aaron Wat

Re: NUCULAR fielded text searchable indexing

2007-10-09 Thread aaron . watters
roblem it's probably only the first of many reasons they won't want to use it or will not like it because it doesn't match their preconceptions. But if there's some way to change the name easily in the next week or so, I'll consider it anyway. hints? -- Aaron Watters ===

Re: NUCULAR fielded text searchable indexing

2007-10-10 Thread aaron . watters
most purposes into nucular. Others may appear in later releases, but the one's that are there cover the most common needs, I think. I would prefer benchmarks that compared simple common examples, not obscure complicated ones. -- Aaron Watters === if you want a friend, get a dog. -- Trum

Re: Fwd: NUCULAR fielded text searchable indexing

2007-10-11 Thread aaron . watters
an be very nice to have one access handled by one process in one thread leaving the other cpu's available to handle other accesses or do other things. imho, fwiw, ymmv, rsn, afaik. -- Aaron Watters === even in a perfect world where everyone is equal i'd still own the film rights and b

Re: Fwd: NUCULAR fielded text searchable indexing

2007-10-11 Thread aaron . watters
ed in really addressing the "google" size of data set at the moment. > http://www.newegg.com/Product/Product.aspx?Item=N82E16820147021 holy rusty metal batman! way-cool! thanks, -- Aaron Watters === less is more -- http://mail.python.org/mailman/listinfo/python-list

Re: Fwd: NUCULAR fielded text searchable indexing

2007-10-15 Thread aaron . watters
> Heh, check out the benchmark graphs: > > http://www.tomshardware.com/2006/09/20/conventional_hard_drive_obsole... My point exactly :)... Thanks again -- Aaron Watters give me chocolate and no one gets hurt. (from a tee shirt) -- http://mail.python.org/mailman/listinfo/python-list

ANNOUNCE: NUCULAR 0.1 Fielded Full Text Indexing [BETA]

2007-10-24 Thread aaron . watters
cess or other system support such as shared memory locking. -- Nucular supports concurrency. Arbitrary concurrent updates and accesses by multiple processes or threads are supported, with no possible locking issues. -- Nucular indexes and retrieves large collections quickly. I hope you like.

Re: "Standard" Full Text Search Engine

2007-10-26 Thread aaron . watters
t;cp"?) -- I suspect some sort of trickery, frankly. Anyway, if you want a feature like proximity searching or some sort of internationalization support (it works with unicode, but that's probably not enough), please let me know. I focused on the core indexing and retrieval function

Re: NUCULAR fielded text searchable indexing

2007-10-26 Thread aaron . watters
for a package released back in '94, eh? -- Aaron Watters === The method employed I would gladly explain, While I have it so clear in my head, If I had but the time and you had but the brain-- But much yet remains to be said. -- http://www.xfeedme.com/nucular/gut.py/go?FREETEXT=sn

Re: marshal vs pickle

2007-10-31 Thread Aaron Watters
dfly.sourceforge.net and nucular full text/fielded search http://nucular.sourceforge.net use marshal as the underlying serializer. Using cPickle would probably make serialization worse than 2x slower. This is one of the 2 or 3 key tricks which make these packages as fast as they are. -- A

Re: marshal vs pickle

2007-10-31 Thread Aaron Watters
On Oct 31, 1:37 pm, Raymond Hettinger <[EMAIL PROTECTED]> wrote: > On Oct 31, 6:45 am, Aaron Watters <[EMAIL PROTECTED]> wrote: > > > I like to use > > marshal a lot because it's the absolutely fastest > > way to store and load data to/from Python

Re: marshal vs pickle

2007-11-01 Thread Aaron Watters
Therefore pickle should not be used as a general RPC > mechanism. This is absolutely correct. Marshal is more secure than pickle because marshal *cannot* execute code automatically whereas pickle does. The assertion that marshal is less secure than pickle is absurd. This is exactly why the gadf

Re: marshal vs pickle

2007-11-01 Thread Aaron Watters
On Oct 31, 6:10 pm, Raymond Hettinger <[EMAIL PROTECTED]> wrote: > On Oct 31, 12:27 pm, Aaron Watters <[EMAIL PROTECTED]> wrote: > > Makes more sense to use cPickle and be done with it. > > FWIW, I've updated the docs to be absolutely clear on the subject:

Re: marshal vs pickle

2007-11-01 Thread Aaron Watters
On Nov 1, 2:15 pm, Raymond Hettinger <[EMAIL PROTECTED]> wrote: > On Nov 1, 4:45 am, Aaron Watters <[EMAIL PROTECTED]> wrote: > > > Marshal is more secure than pickle > > "More" or "less" make little sense in a security context which > typi

Re: marshal vs pickle

2007-11-01 Thread Aaron Watters
On Nov 1, 4:59 pm, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote: > On Thu, 01 Nov 2007 20:35:15 -0000, Aaron Watters <[EMAIL PROTECTED]> wrote: > >On Nov 1, 2:15 pm, Raymond Hettinger <[EMAIL PROTECTED]> wrote: > >> On Nov 1, 4:45 am, Aaron Watters <[EMAIL

Re: marshal vs pickle

2007-11-02 Thread Aaron Watters
On Nov 1, 11:42 pm, Paul Rubin <http://[EMAIL PROTECTED]> wrote: > Aaron Watters <[EMAIL PROTECTED]> writes: > > > >>> marshal.loads('RKp,U\xf7`\xef\xe77\xc1\xea\xd8\xec\xbe\\') > > > Segmentation fault > > >... > > I'll

Re: marshal vs pickle

2007-11-02 Thread Aaron Watters
On Nov 1, 10:12 am, Aaron Watters <[EMAIL PROTECTED]> wrote: > On Oct 31, 6:10 pm, Raymond Hettinger <[EMAIL PROTECTED]> wrote: > > Alright already. Here is the patched file you want > > http://nucular.sourceforge.net/kisstree_pickle.py This file has been removed. A

Re: Python good for data mining?

2007-11-05 Thread Aaron Watters
ol If you find that you need some functionality that is missing, it may be easy to add. Let me know. For example the underlying indexing methodology can be manipulated in many clever ways to get different performance characteristics. -- Aaron Watters === When at first you don't succeed give up

Re: Python good for data mining?

2007-11-05 Thread Aaron Watters
ter than most other rdbms's for apps like data mining where you don't need transactional support, especially if you use the table implementations that don't support ACID transactions. -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=segmentation%20fault

Re: Python good for data mining?

2007-11-06 Thread Aaron Watters
eory (or category theory or similar) which is fundamentally relational. Historically hierarchical/network databases preceded rdbms's because they are fundamentally more efficient. Unfortunately, they are also fundamentally more inflexible (it is generally agreed). -- Aaron Watters === http:/

Re: Information manager/organizer with tags question.

2007-11-12 Thread Aaron Watters
t (especially for free). However, I have to plug nucular as a possible back end data store that may make it easier for you to implement the app you outlined. Please have a look: http://nucular.sourceforge.net See the "demos" for examples of what you can do with it very easil

Re: Populating a dictionary, fast [SOLVED SOLVED]

2007-11-14 Thread Aaron Watters
ch are longs, as done in http://nucular.sourceforge.net and http://bplusdotnet.sourceforge.net and elsewhere. Someone please summarize. -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=white%20trash -- http://mail.python.org/mailman/listinfo/python-list

Re: Populating a dictionary, fast [SOLVED SOLVED]

2007-11-15 Thread Aaron Watters
thing. The bulk of the newbies are either off in VB land or struggling with java. -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=silly+walk -- http://mail.python.org/mailman/listinfo/python-list

Re: Populating a dictionary, fast [SOLVED SOLVED]

2007-11-15 Thread Aaron Watters
dicts that consume beyond that.That's better than I feared at any rate... -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=especially+nasty+windows -- http://mail.python.org/mailman/listinfo/python-list

Re: Populating a dictionary, fast [SOLVED SOLVED]

2007-11-15 Thread Aaron Watters
ace), so you run into memory contention issues sooner than on 32 bit machines, for similar memory sizes. If there is something deeper going on please correct me, I would very much like to know. -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=alien+fri

gc penalty of 30-40% when manipulating large data structures?

2007-11-16 Thread Aaron Watters
our run, finding nothing every time. Just my 2c. -- Aaron Watters nucular full text fielded indexing: http://nucular.sourceforge.net === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=dingus%20fish -- http://mail.python.org/mailman/listinfo/python-list

Re: Log Search code is not working

2007-11-18 Thread Aaron Watters
and the dictionary.has_key(...) method instead of looping over lists. -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=long+necked On Nov 18, 7:12 pm, "martin" <[EMAIL PROTECTED]> wrote: > Hello, > > I need some help with my job assignment

Re: Python too complex ?!?!?!

2007-11-19 Thread Aaron Watters
as some serious advantages. I don't see anything wrong in teaching a bit of both, tho. Students also like to learn languages which they can find in the "help wanted" section very easily ;). -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=perverse+zone -- http://mail.python.org/mailman/listinfo/python-list

Re: Python too complex ?!?!?!

2007-11-20 Thread Aaron Watters
strings in week 3+ and hash tables and other scary things would probably wait for the second course. IronPython anyone? (btw, what's up with IronPython?) -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=crash+many+ways&FocusId=1593 -- http://mail.python.org/mailman/listinfo/python-list

Re: 100% CPU Usage when a tcp client is disconnected

2007-11-22 Thread Aaron Watters
Try chaning it to data = "dummy" while data: ... -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=help+infinite+loop -- http://mail.python.org/mailman/listinfo/python-list

Re: mod_python

2007-11-26 Thread Aaron Watters
nything. > > Any help would be appreciated. I'm guessing the file is okay, but something involving naming is wrong. Check the error log file(s). It may show that mod_py is looking inside the module and not finding the right function/method. As others have said, some sample code wou

Re: How to Teach Python "Variables"

2007-11-27 Thread Aaron Watters
mple examples at the interactive prompt. But if you talk like the above to them, they will run for the hills... (no offense intended). -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=evil+fish -- http://mail.python.org/mailman/listinfo/python-list

Re: How to Teach Python "Variables"

2007-11-27 Thread Aaron Watters
-- adding, deleting, changing freely -- and I think this was motivated by the "C" level understanding that it really is just another hash table. From a pythonic perspective you would never think of behaving this way except under extreme duress. -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=revolting+delicate -- http://mail.python.org/mailman/listinfo/python-list

Re: How to Teach Python "Variables"

2007-11-27 Thread Aaron Watters
ation frameworks, even in Python -- too much strange magic floats around in the air -- usually in order to make things "easy" that I never thought were hard in the first place. -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=lame+hack+wink -- http://mail.python.org/mailman/listinfo/python-list

Re: How to Teach Python "Variables"

2007-11-28 Thread Aaron Watters
rst few weeks trying to talk about the filesystem. Instead you say "follow these steps and all will become clear later." It's not a matter of preference -- it's a matter of necessity. -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=lazy+future+generation -- http://mail.python.org/mailman/listinfo/python-list

Re: Python web frameworks

2007-11-29 Thread Aaron Watters
nterpreter a lot slower (which may be why javascript is pretty slow). -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=msie+de-facto+recognized+dim -- http://mail.python.org/mailman/listinfo/python-list

Re: "Python" is not a good name, should rename to "Athon"

2007-11-30 Thread Aaron Watters
ltural backgrounds. -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=nasty+reasons -- http://mail.python.org/mailman/listinfo/python-list

Best way to merge/sort two sorted lists?...

2007-12-06 Thread Aaron Watters
ice tiny extension module (at least for my purposes). See timing demonstration code below. Let me know if there is a better way or if the test is fatally flawed, please. --- Aaron Watters http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=greedy+bastard ==snip: test code belo

Re: Best way to merge/sort two sorted lists?...

2007-12-06 Thread Aaron Watters
On Dec 6, 2:14 pm, Neil Cerutti <[EMAIL PROTECTED]> wrote: > On 2007-12-06, Raymond Hettinger <[EMAIL PROTECTED]> wrote: > > See recipes: > >http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/491285 > >http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/305269 > > That's fairly awesome. T

Re: Best way to merge/sort two sorted lists?...

2007-12-07 Thread Aaron Watters
On Dec 6, 9:51 pm, "Terry Reedy" <[EMAIL PROTECTED]> wrote: > "Aaron Watters" <[EMAIL PROTECTED]> wrote in message > The current version of list.sort (timsort) was designed to take advantage > of pre-existing order. It should discover the 2 sorted sublist

Re: Best way to merge/sort two sorted lists?...

2007-12-10 Thread Aaron Watters
On Dec 6, 2:01 pm, Raymond Hettinger <[EMAIL PROTECTED]> wrote: > On Dec 6, 9:30 am, Aaron Watters <[EMAIL PROTECTED]> wrote: > > See recipes: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/491285 http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/305269 I previ

cloud computing (and python)?

2008-01-01 Thread Aaron Watters
it could be used. Bonus points if you mention Python in the response! An actual example would be great, if it's not web scraping and searching. - Aaron Watters == http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=snow -- http://mail.python.org/mailman/listinfo/python-list

Re: cloud computing (and python)?

2008-01-01 Thread Aaron Watters
m having trouble understanding why people would want to buy in to this. For example at the amazon site I see things like "it might take a couple minutes to load your image..." Are they joking? hmmm. -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=try+not+to+a

Re: cloud computing (and python)?

2008-01-02 Thread Aaron Watters
ome hints above, but it's mixed in with a lot of other stuff...) -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=fud -- http://mail.python.org/mailman/listinfo/python-list

ANN: NUCULAR B3 Full text indexing (now on Win32 too)

2008-02-13 Thread Aaron Watters
d, with no possible locking issues. Nucular supports document threading in the manner of USENET replies. Built in semantics allows "follow ups" to messages to match patterns that match the "original" messages. Nucular indexes and retrieves data quickly. I hope you like. -- Aaron

Re: ANN: NUCULAR B3 Full text indexing (now on Win32 too)

2008-02-14 Thread Aaron Watters
intended use. If it isn't maybe you should find something else. Suggestions and criticism are always welcome. -- Aaron Watters === "Visit New Jersey: It's not as bad as you think!" -- suggested New Jersey tourism slogan http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=frighten+away+evil+spirits -- http://mail.python.org/mailman/listinfo/python-list

Re: ANN: NUCULAR B3 Full text indexing (now on Win32 too)

2008-02-22 Thread Aaron Watters
better/standard name, yes? What is it please? Thanks! Answers from anyone else welcomed also. [Nucular: http://nucular.sourceforge.net/ ] -- Aaron Watters === There are 3 kinds of people: those who can count, and those who can't. http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=shit

Re: ANN: NUCULAR B3 Full text indexing (now on Win32 too)

2008-02-25 Thread Aaron Watters
On Feb 22, 5:31 pm, Paul Rubin <http://[EMAIL PROTECTED]> wrote: > Aaron Watters <[EMAIL PROTECTED]> writes: > > 3) ...I was thinking > > of adding an optional feature to Nucular which would allow > > a look-up like "given a word find all attributes that con

Re: Article of interest: Python pros/cons for the enterprise

2008-02-26 Thread Aaron Watters
the programming stuff on the job, since most of what counts seems to be politics, really. -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=spam+eggs -- http://mail.python.org/mailman/listinfo/python-list

Andy Pausch (of Alice fame) -- last lecture

2008-02-26 Thread Aaron Watters
h/ You've probably already seen it, but I thought I'd point out the Python angle. It's a good view to help put things in perspective. Its one of those internet phenomena. -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=life+instance -- http://mail.py

Re: Andy Pausch (of Alice fame) -- last lecture

2008-02-26 Thread Aaron Watters
On Feb 26, 10:03 am, Aaron Watters <[EMAIL PROTECTED]> wrote: > Hi folks. Andy Pausch who headed up the Alice project > which aims to teach 3D animation using Python ... Oops. It looks like Alice 1.0 was Python; 2.0 is java, but whatever. -- Aaron Watters === http://www.xfeedme

Re: why not bisect options?

2008-03-04 Thread Aaron Watters
e fine to add something like this as an additional elaboration, but I want bisect to scream as fast as possible in the default streamlined usage. -- Aaron Watters === dueling bumper stickers: use java/get rich use perl/get laid -- both equally sensible http://www.xfeedme.com/nucular/pydist

off topic: 2 videos on source control and open source development

2008-03-08 Thread Aaron Watters
This one is about managing the community dynamics in the subversion project. http://video.google.nl/videoplay?docid=-4216011961522818645 It only made me a little uncomfortable at certain moments :). Good viewing. -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT

Re: Pycon disappointment

2008-03-19 Thread Aaron Watters
guis... without conveying any useful information (to me) in 30 minutes. If you tell them they have 10 minutes and make them get organized in advanced they are much more likely to get to the point and everyone can see something else before they run out of attention span. -- Aaron Watters === by

Re: csv Parser Question - Handling of Double Quotes

2008-03-27 Thread Aaron Watters
s, delimiter): for line in lines: fields = line.split(delimiter) fields = map(trimQuotes, fields) yield fields def test(): lines = ['"t"h"is";"is";"a";"test"'] for fields in simpleCsv(lines, ';'):

Re: csv Parser Question - Handling of Double Quotes

2008-03-28 Thread Aaron Watters
zarre and surprising results in the illustrated case. It's a matter of taste of course... -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=mondo+bizarre -- http://mail.python.org/mailman/listinfo/python-list

Re: search speed

2009-02-01 Thread Aaron Watters
erms anywhere (full text) searches for terms within fields, searches for prefixes in fields, searches based on field inequality, or searches for field exact value. I would argue this subsumes the standard "fielded approach". -- Aaron Watters === Oh, I'm a lumberjack and I'

ANN: Nucular full text indexing 0.4

2009-02-05 Thread Aaron Watters
rmats (the change was needed to fix a bug). On Windows XP I had to delete the old package manually from the Python library before the install for the new package would work properly. I hope you like it. -- Aaron Watters === Fear has several advantages over gratitude. Gratitude is intrinsical

Re: Project structure - Best practices

2008-11-30 Thread Aaron Watters
7;m completely confused about any implications related to integrated system testing or "easyinstall"... Wise, pragmatic advice would be appreciated. (But if we could avoid the "buzzillion directories" approach prevalent in the java alternative universe, that would be nice.)

Ann: WHIFF -- WSGI/HTTP INTEGRATED FILESYSTEM FRAMES

2009-04-12 Thread Aaron Watters
king a web application. Instead WHIFF is designed to provide a set of ingredients which can be easily combined to make web applications (with no need to refine your own sugar or mill your own wheat). I hope you like it. -- Aaron Watters === Why is a giraffe's neck so long? Because its head is

Re: Data Model:

2009-04-12 Thread Aaron Watters
ns when making this decision? > > Thanks! It looks to me that the two designs might be useful for different purposes. What are you trying to do? -- Aaron Watters whiff.sourceforge.net http://aaron.oirt.rutgers.edu/myapp/root/misc/erdTest -- http://mail.python.org/mailman/listinfo/python-list

Re: HTML Conversion in python

2009-04-13 Thread Aaron Watters
There are many other HTML generation approaches as indicated by the Wiki link previously. As far as I know the WHIFF approach is the most "compositional". Please correct me if I'm wrong. Thanks, -- Aaron Watters === 'To join the Guild I had to kill somebody, cruelly, with no

Re: Using Python after a few years of Ruby

2009-04-15 Thread Aaron Watters
me testing the comments feature :) ). Back in the old days you could at least count on someone yelling at you about how your design was such a bad idea -- Aaron Watters === HELP! HELP! I'M BEING REPRESSED! -- http://mail.python.org/mailman/listinfo/python-list

Re: WHIFF - was: Re: Using Python after a few years of Ruby

2009-04-15 Thread Aaron Watters
etter way to explain what I mean. -- Aaron Watters ( http://whiff.sourceforge.net ) === Sisyphus got ripped. -- http://mail.python.org/mailman/listinfo/python-list

Re: WHIFF - was: Re: Using Python after a few years of Ruby

2009-04-16 Thread Aaron Watters
wledge. I'm looking forward to learning otherwise. Please don't be too harsh. -- Thanks, Aaron Watters === If all the economists in the world were placed end to end they'd still point in different directions. -- http://mail.python.org/mailman/listinfo/python-list

Re: Too early implementation

2009-04-18 Thread Aaron Watters
months but I think I started/restarted 3 times before I was happy with the basic approach and could move forward past step (3). -- Aaron Watters http://aaron.oirt.rutgers.edu/myapp/docs/W1500.whyIsWhiffCool === Software time estimation rule: How long could it possibly take? Double that. Switch

OT: a metacomment on feedback comments

2009-04-23 Thread Aaron Watters
and the FCK wisiwig editor, checked in to the repository and demoed in the documentation, but not tarred up in a release yet. At least I'm having fun with it! -- Aaron Watters http://aaron.oirt.rutgers.edu/myapp/docs/W1500.whyIsWhiffCool === ban dhmo! http://www.dhmo.org/ -- http:/

Re: OT: a metacomment on feedback comments

2009-04-23 Thread Aaron Watters
te for my initial thoughts inspired by J.B's comments. [BTW: I had to back out a handful of mootools coolnesses because they broke in horrible ways under IE8 -- I apologize if you saw a blank page or any other weirdness.] Thanks again! -- Aaron Watters http://aaron.oirt.rutgers.edu/mya

Re: OT: a metacomment on feedback comments

2009-04-27 Thread Aaron Watters
Regarding feedback about WHIFF -- WSGI/HTTP Integrated Filesystems Frames On Apr 23, 3:43 pm, Aaron Watters wrote: > On Apr 23, 11:54 am, Johannes Bauer wrote: > > > To sum it up, I think it's a neat idea, but it's not really intuitive. > > After being quite sta

Ann: Nucular full text search 0.5 +boolean queries +unicode fixes

2009-05-20 Thread Aaron Watters
ular is pure Python. Nucular indexes and retrieves data quickly. Nucular has a funny name. More information about Nucular including links to documentation, and releases is available at http://nucular.sourceforge.net Thanks: Rene Maurer and Matt Chaput and others for comments, suggestions, patches.

Re: marshal.dumps quadratic growth and marshal.dump not allowing file-like objects

2008-06-18 Thread Aaron Watters
aranoid, whereas pickle is a security disaster waiting to happen unless you are extremely cautious... yet again. Sorry, I know a even a monkey learns after 3 times... -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=disaster -- http://mail.python.org/mailman/listinfo/python-list

object-relational mappers

2008-04-01 Thread Aaron Watters
s to say I feel that they all make me learn so much about the internals and features of the O-R mapper itself that I would be better off rolling my own queries on an as-needed basis without wasting so many brain cells. comments? -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro

april fools email backfires

2008-04-02 Thread Aaron Watters
would be a great idea; it's about time; gotta do something about this mess... -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=other+surprises -- http://mail.python.org/mailman/listinfo/python-list

Re: object-relational mappers

2008-04-02 Thread Aaron Watters
nd in emergencies it can save you a lot of pain. But if you use it too often and too seriously you end up with really big problems. -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=mysterious+objects -- http://mail.python.org/mailman/listinfo/python-list

Re: april fools email backfires

2008-04-02 Thread Aaron Watters
On Apr 2, 11:07 am, Paul McGuire <[EMAIL PROTECTED]> wrote: > > Can you post a link? > > -- Paul Sorry. It came from private email. And I don't want to get anyone in trouble... -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=

Re: Profiling programs/scripts?

2008-04-11 Thread Aaron Watters
Python installations. The profile "run" function will run the tests function and print a report on the timings and counts it found. More info here: http://docs.python.org/lib/profile.html -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=emulate+perl -- ht

Re: Tremendous slowdown due to garbage collection

2008-04-14 Thread Aaron Watters
hink the default behaviour of the gc is pretty silly. I tend to disable automatic gc and explicitly put in collections when I know I'm done with some big operation these days. -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=dumb+slow -- http://mail.python.org/mailman/listinfo/python-list

Re: Tremendous slowdown due to garbage collection

2008-04-15 Thread Aaron Watters
igned to stream results sequentially from disk whenever possible. The one place where it doesn't do this very well (proximity searches) shows the most problems with performance (under bad circumstances like searching for two common words in proximity). -- Aaron Watters === http://www.xf

Re: py3k s***s

2008-04-16 Thread Aaron Watters
istake :) (but I still think full stackless would be much better, which python seems to be very slowly moving towards.) -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=nonsense -- http://mail.python.org/mailman/listinfo/python-list

Re: py3k s***s

2008-04-16 Thread Aaron Watters
e the basic treatment of strings is totally different in py3k, it seems. Maybe there is a secret desire in the Python community to remain a fringe minority underdog forever? -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=reap+dead+child -- http://mail.python.org/mailman/listinfo/python-list

Re: py3k s***s

2008-04-16 Thread Aaron Watters
On Apr 16, 11:15 am, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > On 16 abr, 09:56, Aaron Watters <[EMAIL PROTECTED]> wrote: > > > In my opinion python's adherence to backwards compatibility > > has been a bit mythological anyway -- many new python versions

Re: py3k s***s

2008-04-16 Thread Aaron Watters
On Apr 16, 12:27 pm, Rhamphoryncus <[EMAIL PROTECTED]> wrote: > On Apr 16, 6:56 am, Aaron Watters <[EMAIL PROTECTED]> wrote: > > > I don't get it. It ain't broke. Don't fix it. > > So how would you have done the old-style class to new-style class >

Re: py3k s***s

2008-04-16 Thread Aaron Watters
on environment, ecosystem and community. In the short term I foresee everything bifurcating into two separate code bases, and I think that's a shame, and I don't really see the need. -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=nightmare -- http://mail.python.org/mailman/listinfo/python-list

Re: Profiling very small/quick functions, help!?

2008-04-16 Thread Aaron Watters
in xrange(1,1): test = power(10,10) if __name__=="__main__": try: from cProfile import run except: from profile import run for x in range(1, 1): run("test1()") all the best! -- Aaron Watters === http://www.xfeedme.com/nuc

Re: py3k s***s

2008-04-16 Thread Aaron Watters
uld be a good thing. It seems to have happened in the Perl4->5 migration some years ago. Could happen again. -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=repeatedly+hammer -- http://mail.python.org/mailman/listinfo/python-list

Re: py3k s***s

2008-04-16 Thread Aaron Watters
e Perl 4 was. The cost paid for these minor improvements is too high in my book. But I suppose if it is going to happen do it sooner rather than later. Just *please* *please* don't systematically break the pre-existing code base again for a very long time, preferable ever. -- Aaron Wat

Re: py3k s***s

2008-04-16 Thread Aaron Watters
an python" is a "better coding practice". I've seen it happen. -- Aaron Watters === http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=alien -- http://mail.python.org/mailman/listinfo/python-list

Re: py3k s***s

2008-04-17 Thread Aaron Watters
ally or accidentally which means I'll have to carefully rewrite and retest any code which uses the new and improved libraries ... and the "deprecated/removed" libs won't work anymore, so I can't just put them into my package... sigh. -- Aaron Watters === http://www.xfe

Re: py3k s***s

2008-04-18 Thread Aaron Watters
sting code. I really like developing in Python -- but it's hard to keep doing it when the growth curve is so slow and a so many people have deep reservations about it, inspired in part, justifiably, by nonsense like this. In fact, I basically stopped. Then I came back. Now I'm won

Re: Database vs Data Structure?

2008-04-18 Thread Aaron Watters
ho have a "rabbit cage" project -- and if you just pickle everything you will end up traversing the entire database, possibly multiple times to find it. A little old fashioned database design up front can save you a lot of pain. -- Aaron Watters === http://www.xfeedme.com/nucular/pydi

py3k concerns. An example

2008-04-18 Thread Aaron Watters
mple way to translate my code, I think. I suspect you will find this kind of subtle issue in many places. Or worse, you won't find it until after your program has been installed in production. It's a damn shame because if string%dict was just left in it wouldn't be an issue. Also,

Re: py3k concerns. An example

2008-04-18 Thread Aaron Watters
alty (afaik there isn't). An alternative is to provide an alternate interface to string.format so that you could pass in an object which might emulate a dictionary, like string.formatDict(D) -- or you could even adopt a shortcut notation like string % D -- hey there's an idea! -- Aaron Watt

Re: py3k concerns. An example

2008-04-24 Thread Aaron Watters
On Apr 24, 10:10 am, Paul McGuire <[EMAIL PROTECTED]> wrote > end point applications (I consider maintaining 2 branches to be in the > "not working" category), but it does NOT WORK for people who maintain > modules for other people to use, because those people may be on a > range of Python versions

Re: py3k concerns. An example

2008-04-27 Thread Aaron Watters
ith no changes (but please note that I don't write gui stuff, which is less stable -- I'm speaking of algorithmic and system libraries). -- Aaron Watters === btw: usage (5) for "shame" in the python source: http://www.xfeedme.com/nucular/pydistro.py/go?FocusId=463&FREETEXT=shame -- http://mail.python.org/mailman/listinfo/python-list

  1   2   >