Re: Problem receiving UDP broadcast packets.

2011-04-20 Thread Sherm Pendley
it does announcement/discovery. Or maybe just use it directly, if this happens to be a case of gee, I didn't know that wheel had already been invented. :-) sherm-- -- Sherm Pendley http://camelbones.sourceforge.net Cocoa Developer -- http://mail.python.org

Re: value of pi and 22/7

2011-03-18 Thread Sherm Pendley
*anyone* know Cosby any more? Kids today, no appreciation for the classics. :-( sherm-- -- Sherm Pendley http://camelbones.sourceforge.net Cocoa Developer -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 32-bit on Windows 64-bit

2011-02-11 Thread Sherm Pendley
you're running Snow Leopard on your Mac, you're using a 64-bit Python interpreter *and* a 64-bit OS. You need to have both to take advantage of a 64-bit memory space. sherm-- -- Sherm Pendley http://camelbones.sourceforge.net Cocoa Developer -- http

Re: __pycache__, one more good reason to stck with Python 2?

2011-01-19 Thread Sherm Pendley
on a large one. How? -exec passes each file name to a separate invocation of the given command - it doesn't build one large command line with multiple args. sherm-- -- Sherm Pendley http://camelbones.sourceforge.net Cocoa Developer -- http://mail.python.org

Re: __pycache__, one more good reason to stck with Python 2?

2011-01-18 Thread Sherm Pendley
, it can make a big difference. sherm-- -- Sherm Pendley http://camelbones.sourceforge.net Cocoa Developer -- http://mail.python.org/mailman/listinfo/python-list

Re: [OT] Python like lanugages

2011-01-17 Thread Sherm Pendley
with that as well. sherm-- -- Sherm Pendley http://camelbones.sourceforge.net Cocoa Developer -- http://mail.python.org/mailman/listinfo/python-list

Re: do you know what's CGI? (web history personal story)

2011-01-15 Thread Sherm Pendley
HISTORY — if you didn't live it, you can't feel it. CGI is still used in some places today, hello? Yeah, James Cameron made a *ton* of money using it to make Avatar. What? Why is everyone looking at me that way? ;-) sherm-- -- Sherm Pendley http

Re: Trying to parse a HUGE(1gb) xml file

2010-12-28 Thread Sherm Pendley
in general, although a parental advisory would more often be a range of possible values (G, PG, R, MA, etc.) rather than a boolean. sherm-- -- Sherm Pendley http://camelbones.sourceforge.net Cocoa Developer -- http://mail.python.org/mailman/listinfo/python-list

Re: toy list processing problem: collect similar terms

2010-09-26 Thread Sherm Pendley
Jürgen Exner jurge...@hotmail.com writes: Alexander Burger a...@software-lab.de wrote: In PicoLisp: What the f does PicoLisp have to with Perl? It's Xah. He cross-posts in an attempt to start a language feud. Please don't feed the troll. sherm-- -- Sherm Pendley

Re: toy list processing problem: collect similar terms

2010-09-26 Thread Sherm Pendley
Jürgen Exner jurge...@hotmail.com writes: livibetter livibet...@gmail.com wrote: Here is mine for Python: What the f*** does Python have to do with Perl? Xah is a cross-posting troll. Please don't feed the troll. sherm-- -- Sherm Pendley http

Re: SQLObject 0.9.1

2007-07-26 Thread Sherm Pendley
Gerardo Herzig [EMAIL PROTECTED] writes: So..at 11:23 we got version 0.7.8...at 11:30 was version 0.8.5...now there is a 0.9.1 version?? Have a coffe dude Sounds more to me like he needs to lay off the coffee, or at least switch to decaffeinated for a while. :-) sherm-- -- Web Hosting by

Re: SQLObject 0.9.1

2007-07-26 Thread Sherm Pendley
Steve Holden [EMAIL PROTECTED] writes: Sherm Pendley wrote: Steve Holden [EMAIL PROTECTED] writes: Sherm Pendley wrote: Gerardo Herzig [EMAIL PROTECTED] writes: So..at 11:23 we got version 0.7.8...at 11:30 was version 0.8.5...now there is a 0.9.1 version?? Have a coffe dude Sounds more

Re: I am giving up perl because of assholes on clpm -- switching to Python

2007-07-26 Thread Sherm Pendley
Ben Finney [EMAIL PROTECTED] writes: [EMAIL PROTECTED] writes: Python is a better language, with php support, anyway, but I am fed up with attitudes of comp.lang.perl.misc. Please, if you must fred the troll, drop comp.lang.python from the discussion (i.e. post trplies only to the

Re: SQLObject 0.9.1

2007-07-26 Thread Sherm Pendley
Steve Holden [EMAIL PROTECTED] writes: Sherm Pendley wrote: Gerardo Herzig [EMAIL PROTECTED] writes: So..at 11:23 we got version 0.7.8...at 11:30 was version 0.8.5...now there is a 0.9.1 version?? Have a coffe dude Sounds more to me like he needs to lay off the coffee, or at least switch

Re: I am giving up perl because of assholes on clpm -- switching to Python

2007-07-26 Thread Sherm Pendley
Steve Holden [EMAIL PROTECTED] writes: On c.l.py there are standards of behavior, and we encourage people to observe them (while attempting to engage politely with those who don't). We also do that on c.l.perl.misc. The problems tend to arise when people get defensive and argumentative in

Re: Build EXE on Mac OsX 10.4

2007-06-13 Thread Sherm Pendley
Gabriel Genellina [EMAIL PROTECTED] writes: En Wed, 13 Jun 2007 17:35:19 -0300, Paul McNett [EMAIL PROTECTED] escribió: Tempo wrote: Has anyone sucesfully built a *.exe file on a mac operating system before from a *.py file? I have been trying to do this with pyinstaller, but I keep getting

Re: test

2007-05-11 Thread Sherm Pendley
Joe Eagar [EMAIL PROTECTED] writes: sorry just a test. Sorry, you failed. You missed alt.test by a mile. sherm-- -- Web Hosting by West Virginians, for West Virginians: http://wv-www.net Cocoa programming in Perl: http://camelbones.sourceforge.net --

Re: SEO - Search Engine Optimization - Seo Consulting

2007-04-29 Thread Sherm Pendley
Alvin Bruney [MVP] some guy without an email address writes: Top posting Did not. I replied to the message at the bottom of the thread. Congratulations, you've now made a fool of yourself in public. Top posting has nothing to do with where your reply is placed with respect to other messages.

Re: SEO - Search Engine Optimization - Seo Consulting

2007-04-29 Thread Sherm Pendley
Juan T. Llibre [EMAIL PROTECTED] writes: Top or bottom posting is a user choice. Yes, one can choose to be polite and follow established usenet conventions, or one can choose to be rude and self-centered. Those who choose rudeness over courtesy can expect to be called down for it - which is

Re: bitwise shift?

2007-04-25 Thread Sherm Pendley
desktop [EMAIL PROTECTED] writes: for k in range(10, 25): n = 1 k; I have never read Python before but is it correct that 1 get multiplied with the numbers 10,11,12,12,...,25 assuming that 1 k means 1 shift left by k which is the same as multiplying with k. Shift left is *not* the

Re: bitwise shift?

2007-04-25 Thread Sherm Pendley
John Machin [EMAIL PROTECTED] writes: On 26/04/2007 7:10 AM, Sherm Pendley wrote: Shift left is *not* the same as multiplying by k. It is the same as multi- plying by 2^k. Where I come from, ^ is the exclusive-or operator. Of course YMMV in WV :-) Make that YMMV in VB. :-( Funny thing

Re: Python Feature Request: Allow changing base of member indices to 1

2007-04-14 Thread Sherm Pendley
Paddy [EMAIL PROTECTED] writes: Having more than one index start point would be a maintenance nightmare best avoided. Quite right. (It can be done in Perl). When was the last time you used Perl? It was allowed in Perl 4 and earlier, because many Perl users were moving from Awk, which uses

Re: Python Feature Request: Allow changing base of member indices to 1

2007-04-14 Thread Sherm Pendley
Paddy [EMAIL PROTECTED] writes: I don't think we should add it to Python because it would make porting VB code easier. Great Cthulhu no! I chimed in because your first comment regarding Perl implied that it's commonplace for Perl programmers to fiddle with the index base. It can be done, for

Re: Hide the python-script from user

2007-04-08 Thread Sherm Pendley
[EMAIL PROTECTED] (Jason F. McBrayer) writes: A determined and technically savvy user will surely find the key (not least by debugging the start-script). ... and then write a patch that disables the key, and distribute that to a few million of his not so determined or savvy friends.

Re: Why NOT only one class per file?

2007-04-05 Thread Sherm Pendley
Steven Howe [EMAIL PROTECTED] writes: On class per file was easier to do when Java was developed (remember it was develop to control vending machines Not quite. Java grew out of a set-top box at Sun, code-named Oak. ; scary. Reminds me of the movie 'Tron' Vending machines in Tron were

Re: Why NOT only one class per file?

2007-04-05 Thread Sherm Pendley
Bruno Desthuilliers [EMAIL PROTECTED] writes: Sherm Pendley a écrit : It's a stylistic thing, nothing more. A bit more than just 'stylistic' IMHO. It's a matter of convenience. Having to manage hundreds of files each with a dozen lines of code is a PITA. Yes, but the pain in that case

Re: Why NOT only one class per file?

2007-04-05 Thread Sherm Pendley
Bruno Desthuilliers [EMAIL PROTECTED] writes: Sherm Pendley a écrit : In my book, it's huge classes and methods that are usually a smell of a design problem. Obviously we're reading different books. But that's OK - I'm not on a crusade to convince everyone to work my way. If one class per

Re: Why NOT only one class per file?

2007-04-05 Thread Sherm Pendley
Nate Finch [EMAIL PROTECTED] writes: As to the guy who writes 1000+ line classes dude, refactor some. You're trying to make the class do too much, almost by definition. You haven't even seen my code, you don't even know what language it's in, but you're telling me it's wrong? Wow - and I

Re: Why NOT only one class per file?

2007-04-05 Thread Sherm Pendley
Bruno Desthuilliers [EMAIL PROTECTED] writes: Sherm Pendley a écrit : Bruno Desthuilliers [EMAIL PROTECTED] writes: Sherm Pendley a écrit : In my book, it's huge classes and methods that are usually a smell of a design problem. Obviously we're reading different books. Obviously. But I

Re: Why NOT only one class per file?

2007-04-04 Thread Sherm Pendley
Bruno Desthuilliers [EMAIL PROTECTED] writes: Chris Lasher a écrit : so I thought I'd ask here to see why the Python idiom is the way it is: why should we NOT be placing classes in their own separate files? Because it just sucks. ... Just ask him why Java insists on

Re: ISO programming projects

2007-04-01 Thread Sherm Pendley
kj [EMAIL PROTECTED] writes: I'm looking for a collection of useful programming projects, at the hobbyist level. My online search did turn up a few collections (isolated projects are less useful to me at the moment), but these projects are either more difficult than what I'm looking for

Re: Idiom for running compiled python scripts?

2007-03-25 Thread Sherm Pendley
Mark [EMAIL PROTECTED] writes: Of course I realise the modern mantra that premature optimisation is the root of all evil but I don't subscribe to it. Note the first word - premature. It's an important distinction, and you've entirely missed it. Optimization is premature if you haven't yet

Re: On Java's Interface (the meaning of interface in computer programing)

2007-03-23 Thread Sherm Pendley
Lew [EMAIL PROTECTED] writes: But if Xah were being trollish, why didn't they jump on my response and call me names? Xah never replies to the threads he starts. At least, I've never known him to do so. I still think that analysis of the original post is a useful exercise to learn Java.

Re: On Java's Interface (the meaning of interface in computer programing)

2007-03-22 Thread Sherm Pendley
Lew [EMAIL PROTECTED] writes: Jim Burton wrote: Or you could stop feeding the trolls. Does not apply. The OP was not being trollish You obviously don't know Xah. He's been doing this for years, cross- posting to various language groups trying to start an argument between them. He even brags

Re: Computer Language Popularity Trend

2006-09-27 Thread Sherm Pendley
[EMAIL PROTECTED] [EMAIL PROTECTED] writes: Xah Lee wrote: Computer Language Popularity Trend Careful there with the sweeping generalizations and quick judgments Such things are all Xah does. Look at the distribution list for this message - of what possible use is cross-posting something

Re: Xah's Edu Corner: Examples of Quality Technical Writing

2005-12-06 Thread Sherm Pendley
Ulrich Hobelmann [EMAIL PROTECTED] writes: btw, why is this posted to every newsgroup EXCEPT a PHP one? Xah's a pretty well-known troll in these parts. I suppose he thinks someone is going to take the bait and rush to defend the other languages or some such nonsense. sherm-- -- Cocoa

Re: Daisy Daisy, give me your answer do

2005-10-09 Thread Sherm Pendley
Xah Lee [EMAIL PROTECTED] writes: there is a MacPerl program posted in 1998 that uses Mac's speech synth to sing Daisy Bell. See: http://bumppo.net/lists/macperl/1998/11/msg00412.html can anyone modify it so it runs out of the box on today's OS X? For pre-Tiger OS versions you'll need to

Re: check html file size

2005-10-05 Thread Sherm Pendley
Ulrich Hobelmann [EMAIL PROTECTED] writes: Richard Gration wrote: Are you fucking seriously fucking expecting some fucking moron to translate your tech geeking fucking code moronicity? Fucking try writing it fucking properly in fucking Perl first. Fucking excuse me? Fucking maybe you

Re: check html file size

2005-10-05 Thread Sherm Pendley
Richard Gration [EMAIL PROTECTED] writes: Are you fucking seriously fucking expecting some fucking moron to translate your tech geeking fucking code moronicity? Fucking try writing it fucking properly in fucking Perl first. Good fucking job! That's the funniest fucking response I've ever

Re: OT: Phases of the moon

2005-10-01 Thread Sherm Pendley
Bart Lateur [EMAIL PROTECTED] writes: As a similar example: I've been told by various women independently, that there are more babies born near a full moon. So... is there a correlation between insanity and babies being born? :) If you weren't insane before the baby was born, you will be

Re: OT: Phases of the moon

2005-09-30 Thread Sherm Pendley
Steven D'Aprano [EMAIL PROTECTED] writes: On Fri, 30 Sep 2005 18:02:14 -0400, Sherm Pendley wrote: [EMAIL PROTECTED] writes: I wonder if his postings are related to the phases of the moon? It might explain a lot. Yes, it would. Note that the word lunatic is derived from the Latin word

Re: A Moronicity of Guido van Rossum

2005-09-29 Thread Sherm Pendley
Matt [EMAIL PROTECTED] writes: OK... your post seems to indicate a belief that everyone else is somehow incompetent. Xah's just a troll - best to just ignore him. He posts these diatribes to multiple groups hoping to start a fight. sherm-- -- Cocoa programming in Perl: