Good Books for Wedding Planners

2013-07-10 Thread fletcherbenjiaa
Wedding planners may seek guide from a wide range of good planning books essential in planning the perfect wedding. There are a number of reasons why one must be backed up by these books. But perhaps the biggest reason is that these good books can help wedding planners stay organized and be on top

Wedding Planning Shortcuts

2013-07-10 Thread fletcherbenjiaa
A wedding is truly a labor of love for most engaged couples, and it's natural to feel a bit wary of the wedding planning process. However, it doesn't have to be so intimidating or cumbersome. Sure there are lots of details in even the smallest wedding, but most brides have months (and sometimes yea

Re: Concurrent writes to the same file

2013-07-10 Thread Cameron Simpson
On 10Jul2013 22:57, Jason Friedman wrote: | Other than using a database, what are my options for allowing two processes | to edit the same file at the same time? When I say same time, I can accept | delays. I considered lock files, but I cannot conceive of how I avoid race | conditions. Sure. (

Re: Documenting builtin methods

2013-07-10 Thread Steven D'Aprano
On Thu, 11 Jul 2013 04:15:37 +0100, Joshua Landau wrote: > I have this innocent and simple code: > > from collections import deque > exhaust_iter = deque(maxlen=0).extend At this point, exhaust_iter is another name for the bound instance method "extend" of one specific deque instance. Other i

Re: Default scope of variables

2013-07-10 Thread Frank Millman
"Ian Kelly" wrote in message news:calwzidk2+b5bym5b+xvtoz8lheyvhcos4v58f8z2o1jb6sa...@mail.gmail.com... > On Tue, Jul 9, 2013 at 11:54 PM, Frank Millman wrote: >> You had me worried there for a moment, as that is obviously an error. >> >> Then I checked my actual code, and I find that I mis-tra

Re: Documenting builtin methods

2013-07-10 Thread alex23
On 11/07/2013 1:15 PM, Joshua Landau wrote: I have this innocent and simple code: from collections import deque exhaust_iter = deque(maxlen=0).extend exhaust_iter.__doc__ = "Exhaust an iterator efficiently without caching any of its yielded values." Obviously it does not work. Is there a way to

Re: Concurrent writes to the same file

2013-07-10 Thread Dave Angel
On 07/11/2013 12:57 AM, Jason Friedman wrote: Other than using a database, what are my options for allowing two processes to edit the same file at the same time? When I say same time, I can accept delays. I considered lock files, but I cannot conceive of how I avoid race conditions. In gener

Concurrent writes to the same file

2013-07-10 Thread Jason Friedman
Other than using a database, what are my options for allowing two processes to edit the same file at the same time? When I say same time, I can accept delays. I considered lock files, but I cannot conceive of how I avoid race conditions. -- http://mail.python.org/mailman/listinfo/python-list

Re: Stack Overflow bans Mats Peterson (was Re: Stack Overflow moderator “animuson”)

2013-07-10 Thread Michael Torrie
On 07/10/2013 06:06 AM, Mats Peterson wrote: > I haven't provided a "real-world" example, since I expect you Python > Einsteins to be able do an A/B test between Python and Perl yourselves > (provided you know Perl, of course, which I'm afraid is not always the > case). And why would I use any "cu

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Michael Torrie
On 07/10/2013 06:22 AM, Mats Peterson wrote: > You're showing by these examples what regular expressions mean to you. Chris is showing no such thing. And you are simply trolling. What do you want us to do, fall down and worship you and admit that Python is a horrible language and we should all u

Re: Documenting builtin methods

2013-07-10 Thread Joshua Landau
On 11 July 2013 05:13, Joshua Landau wrote: > Ah, I get it. It is easy to misread my post as "I have this exhaust_iter" and it's obvious it doesn't work because why else would I post here what do I do HALP! Yeah, sorry -- it wasn't meant to come across that way. -- http://mail.python.org/mailm

Re: Editor Ergonomics [was: Important features for editors]

2013-07-10 Thread jussij
On Wednesday, July 10, 2013 2:17:12 PM UTC+10, Xue Fuqiao wrote: > * It is especially handy for selecting and deleting text. When coding I never use a mouse to select text regions or to delete text. These operations I do using just the keyboard. -- http://mail.python.org/mailman/listinfo/pyt

Re: Documenting builtin methods

2013-07-10 Thread Joshua Landau
On 11 July 2013 04:57, Ben Finney wrote: > Joshua Landau writes: > >> I have this innocent and simple code: >> >> from collections import deque >> exhaust_iter = deque(maxlen=0).extend >> exhaust_iter.__doc__ = "Exhaust an iterator efficiently without >> caching any of its yielded values." >> >>

Re: Documenting builtin methods

2013-07-10 Thread Ben Finney
Joshua Landau writes: > I have this innocent and simple code: > > from collections import deque > exhaust_iter = deque(maxlen=0).extend > exhaust_iter.__doc__ = "Exhaust an iterator efficiently without > caching any of its yielded values." > > Obviously it does not work. Right. It raises a Synta

Re: Documenting builtin methods

2013-07-10 Thread Mark Janssen
> I have this innocent and simple code: > > from collections import deque > exhaust_iter = deque(maxlen=0).extend > exhaust_iter.__doc__ = "Exhaust an iterator efficiently without > caching any of its yielded values." > > Obviously it does not work. Is there a way to get it to work simply > and wit

Documenting builtin methods

2013-07-10 Thread Joshua Landau
I have this innocent and simple code: from collections import deque exhaust_iter = deque(maxlen=0).extend exhaust_iter.__doc__ = "Exhaust an iterator efficiently without caching any of its yielded values." Obviously it does not work. Is there a way to get it to work simply and without creating a

Re: Stupid ways to spell simple code

2013-07-10 Thread Joshua Landau
On 30 June 2013 07:06, Chris Angelico wrote: > So, here's a challenge: Come up with something really simple, and > write an insanely complicated - yet perfectly valid - way to achieve > the same thing. Bonus points for horribly abusing Python's clean > syntax in the process. This occurred to me o

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread alex23
On 10/07/2013 11:53 PM, Benedict Verheyen wrote: Op Wed, 10 Jul 2013 12:06:06 +, schreef Mats Peterson: And why would I use any "custom" version of Python, when I don't have to do that with Perl? If you're able to do that with Perl, and Perl is faster that Python, why would you want to bot

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread alex23
On 10/07/2013 10:13 PM, Mats Peterson wrote: You're obviously trying hard to be funny. It fails miserably. It's obvious that you are quite familiar with miserableness. Also obvious is that animuson did the world of StackOverflow quite the favour. If only e moderated this list... -- http://m

Re: the general development using Python

2013-07-10 Thread Joshua Landau
On 11 July 2013 00:18, CM wrote: > >> I was mainly talking in the context of the original post, where it >> seems something slightly different was meant. If you're deploying to >> customers, you'd want to offer them an installer. At least, I think >> you would. That's different from packing Python

Re: python for loop

2013-07-10 Thread Chris Nash
The first item in a sequence is at index zero because it is that far away from the beginning. The second item is one away from the beginning. That is the reason for zero-based indexing. -- http://mail.python.org/mailman/listinfo/python-list

Re: Recursive class | can you modify self directly?

2013-07-10 Thread Ian Kelly
On Wed, Jul 10, 2013 at 4:50 PM, Russel Walker wrote: > def append(self, x): > if len(self) < 3: > list.append(self, x) > else: > oldself = LRExpression(*self) > self.__init__(oldself) > self.append(x) It's probably not wise to b

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Steven D'Aprano
On Wed, 10 Jul 2013 18:53:34 +0100, Joshua Landau wrote: > I might be misattributing posts then. Or... YOU'RE IN DENIAL! Ranting Rick? Is that you? :-) > Who wins? You decide! Ah, definitely not RR :-) -- Steven -- http://mail.python.org/mailman/listinfo/python-list

Re: the general development using Python

2013-07-10 Thread CM
> I was mainly talking in the context of the original post, where it > seems something slightly different was meant. If you're deploying to > customers, you'd want to offer them an installer. At least, I think > you would. That's different from packing Python into a .exe file and > pretending it'

Re: Recursive class | can you modify self directly?

2013-07-10 Thread Russel Walker
I've been mucking around with this silly class pretty much the whole day and my eyes are about closing now so this is the solution for now I think. Please feel free to drop any suggestions. I think I mostly just ended up shaving off allot of extraneous responsibility for the class, that and inhe

Re: Buying a used iPhone 5

2013-07-10 Thread Fábio Santos
On 10 Jul 2013 15:15, "Rodrick Brown" wrote: > > Die > > > On Wed, Jul 10, 2013 at 6:49 AM, oswaldclem wrote: >> >> I'm planning on buying a used ATT iPhone 5 off of craigslist, and i've been >> reading on how some people sell their iPhones to people and later on >> blacklisting it, screwing the

Re: the general development using Python

2013-07-10 Thread Ian Kelly
On Tue, Jul 9, 2013 at 10:49 PM, CM wrote: > Can all the installation of the runtimes be done with an installer that is > itself an .exe, like with PyInstaller? If so, that's probably fine. It should be noted that PyInstaller is confusingly named. It actually creates standalone executables, no

Twisted and argparse

2013-07-10 Thread writeson
Hi all, I'm trying to write an Twisted program that uses the Application object (and will run with twistd) and I'd like to parse command line arguments. The Twisted documentation shows how to use a Twisted thing called usage.Options. However to me this looks a lot like the older Python module g

Re: Recursive class | can you modify self directly?

2013-07-10 Thread Russel Walker
On Wednesday, July 10, 2013 9:33:25 PM UTC+2, Terry Reedy wrote: > On 7/10/2013 4:58 AM, Russel Walker wrote: > > > > > There is the name x and the class instance (the object) which exists > > > somewhere in memory that x points to. self is just another name that > > > points to the same objec

Re: Best Scripting Language for Embedded Work?

2013-07-10 Thread Johann Hibschman
David T. Ashley writes: > We develop embedded software for 32-bit micros using Windows as the > development platform. ... > I know that Tcl/Tk would do all of the above, but what about Python? > Any other alternatives? Given that list, I'd say just use Tcl and be done. You could force the squar

Re: Recursive class | can you modify self directly?

2013-07-10 Thread Terry Reedy
On 7/10/2013 4:58 AM, Russel Walker wrote: There is the name x and the class instance (the object) which exists somewhere in memory that x points to. self is just another name that points to the same object (not self in general but the argument passed to the self parameter when a method is calle

Re: Prime number generator

2013-07-10 Thread Joshua Landau
On 10 July 2013 19:56, Ian Kelly wrote: > On Wed, Jul 10, 2013 at 11:47 AM, Joshua Landau wrote: If you care about speed, you might want to check the heapq module. Removing the smallest item and inserting a new item in a heap both cost O(log(N)) time, while finding the minimum in

Re: Prime number generator

2013-07-10 Thread Ian Kelly
On Wed, Jul 10, 2013 at 11:47 AM, Joshua Landau wrote: >>> If you care about speed, you might want to check the heapq module. Removing >>> the smallest item and inserting a new item in a heap both cost O(log(N)) >>> time, while finding the minimum in a dictionary requires iterating over the >>>

Re: Stack Overflow bans Mats Peterson (was Re: ....)

2013-07-10 Thread Terry Reedy
On 7/10/2013 3:55 AM, Mats Peterson wrote: A moderator who calls himself “animuson” on Stack Overflow doesn’t want to face the truth. He has deleted all my postings regarding Python regular expression matching being extremely slow compared to Perl. Additionally my account has been suspended for 7

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Joshua Landau
On 10 July 2013 17:18, Ethan Furman wrote: > On 07/10/2013 08:54 AM, Joshua Landau wrote: >> >> On 10 July 2013 10:00, Steven D'Aprano wrote: >>> >>> On Wed, 10 Jul 2013 07:55:05 +, Mats Peterson wrote: >>> A moderator who calls himself “animuson” on Stack Overflow doesn’t want to f

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Joshua Landau
On 10 July 2013 18:15, Steven D'Aprano wrote: > On Wed, 10 Jul 2013 16:54:02 +0100, Joshua Landau wrote: > >> On 10 July 2013 10:00, Steven D'Aprano wrote: >>> On Wed, 10 Jul 2013 07:55:05 +, Mats Peterson wrote: >>> A moderator who calls himself “animuson” on Stack Overflow doesn’t

Re: Prime number generator

2013-07-10 Thread Joshua Landau
On 10 July 2013 17:15, Chris Angelico wrote: > On Thu, Jul 11, 2013 at 1:47 AM, bas wrote: >> On Wednesday, July 10, 2013 5:12:19 PM UTC+2, Chris Angelico wrote: >>> Well, that does answer the question. Unfortunately the use of lambda >>> there has a severe performance cost [ ...] >> If you care

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Steven D'Aprano
On Wed, 10 Jul 2013 16:54:02 +0100, Joshua Landau wrote: > On 10 July 2013 10:00, Steven D'Aprano wrote: >> On Wed, 10 Jul 2013 07:55:05 +, Mats Peterson wrote: >> >>> A moderator who calls himself “animuson” on Stack Overflow doesn’t >>> want to face the truth. He has deleted all my postings

Re: Prime number generator

2013-07-10 Thread Chris Angelico
On Thu, Jul 11, 2013 at 2:54 AM, Ian Kelly wrote: > As promised. Apologies for the excessive commenting. As noted, this > implementation is a recursive generator, which is done so that the > primes in the sieve can go only up to the square root of the current > prime, rather than tossing in ever

Re: Prime number generator

2013-07-10 Thread Ian Kelly
On Wed, Jul 10, 2013 at 10:16 AM, Ian Kelly wrote: > The other interesting thing about my sieve is that it's a recursive > generator. I'll dig it up later and share it. As promised. Apologies for the excessive commenting. As noted, this implementation is a recursive generator, which is done so

Re: Prime number generator

2013-07-10 Thread Chris Angelico
On Thu, Jul 11, 2013 at 2:01 AM, Steven D'Aprano wrote: > On Thu, 11 Jul 2013 00:00:59 +1000, Chris Angelico wrote: >> Thirdly, is there any sort of half-sane benchmark that I >> can compare this code to? And finally, whose wheel did I reinvent here? >> What name would this algorithm have? > > I c

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Joel Goldstick
call your mom On Wed, Jul 10, 2013 at 12:18 PM, Ethan Furman wrote: > On 07/10/2013 08:54 AM, Joshua Landau wrote: > >> On 10 July 2013 10:00, Steven D'Aprano wrote: >> >>> On Wed, 10 Jul 2013 07:55:05 +, Mats Peterson wrote: >>> >>> A moderator who calls himself “animuson” on Stack Overf

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Ethan Furman
On 07/10/2013 08:54 AM, Joshua Landau wrote: On 10 July 2013 10:00, Steven D'Aprano wrote: On Wed, 10 Jul 2013 07:55:05 +, Mats Peterson wrote: A moderator who calls himself “animuson” on Stack Overflow doesn’t want to face the truth. He has deleted all my postings regarding Python regula

Re: Prime number generator

2013-07-10 Thread Chris Angelico
On Thu, Jul 11, 2013 at 1:47 AM, bas wrote: > On Wednesday, July 10, 2013 5:12:19 PM UTC+2, Chris Angelico wrote: >> Well, that does answer the question. Unfortunately the use of lambda >> there has a severe performance cost [ ...] > If you care about speed, you might want to check the heapq modul

Re: Prime number generator

2013-07-10 Thread Ian Kelly
On Wed, Jul 10, 2013 at 8:00 AM, Chris Angelico wrote: > And now for something completely different. > > I knocked together a prime number generator, just for the fun of it, > that works like a Sieve of Eratosthenes but unbounded. It keeps track > of all known primes and the "next composite" that

Re: StackOverflowmoderator “animuson”

2013-07-10 Thread Steven D'Aprano
On Wed, 10 Jul 2013 09:03:24 +, Mats Peterson wrote: > Not a troll. It's just hard to convince Python users that their beloved > language would have inferior regular expression performance to Perl. I can't speak for others, but I've known for many years that Python's regex implementation was

Re: ANN: psutil 1.0.0 released

2013-07-10 Thread Jurko Gospodnetić
Hi. I'm pleased to announce the 1.0.0 release of psutil: http://code.google.com/p/psutil/ Great! :-) Btw. any change you can put up a prebuilt installer for a 64-bit built with Python 3.3? You have one for Python 3.2 (http://code.google.com/p/psutil/downloads/list), but the version fo

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Ian Kelly
On Wed, Jul 10, 2013 at 6:06 AM, Mats Peterson wrote: > Joshua Landau wrote: >> If you actually can satisfy these basic standards for a comparison (as >> I'm sure any competent person with so much bravo could) I'd be willing >> to converse with you. I'd like to see these results where Python comp

Re: ANN: psutil 1.0.0 released

2013-07-10 Thread Steven D'Aprano
On Wed, 10 Jul 2013 17:46:13 +0200, Giampaolo Rodola' wrote: > Hi there folks, > I'm pleased to announce the 1.0.0 release of psutil: > http://code.google.com/p/psutil/ Congratulations on the 1.0.0 release! -- Steven -- http://mail.python.org/mailman/listinfo/python-list

Re: Prime number generator

2013-07-10 Thread Steven D'Aprano
On Thu, 11 Jul 2013 00:00:59 +1000, Chris Angelico wrote: > And now for something completely different. > > I knocked together a prime number generator, just for the fun of it, > that works like a Sieve of Eratosthenes but unbounded. [...] > So, a few questions. Firstly, is there a stdlib way to

Re: Prime number generator

2013-07-10 Thread Chris Angelico
On Thu, Jul 11, 2013 at 1:43 AM, Joshua Landau wrote: >> So, a few questions. Firstly, is there... > Of course there is. > >> Secondly, can the... > Of course it can. > >> Thirdly, is there... > Of course there is. I have no clue what, though. Heh, I guess I was asking for that kind of response :

Re: Default scope of variables

2013-07-10 Thread Ethan Furman
On 07/09/2013 10:54 PM, Frank Millman wrote: "Ian Kelly" wrote in message news:calwzidnf3obe0enf3xthlj5a40k8hxvthveipecq8+34zxy...@mail.gmail.com... On Tue, Jul 9, 2013 at 10:07 AM, Ethan Furman wrote: You could also do it like this: def updating(self): self.transaction_active

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Joshua Landau
On 10 July 2013 10:00, Steven D'Aprano wrote: > On Wed, 10 Jul 2013 07:55:05 +, Mats Peterson wrote: > >> A moderator who calls himself “animuson” on Stack Overflow doesn’t want >> to face the truth. He has deleted all my postings regarding Python >> regular expression matching being extremely

ANN: psutil 1.0.0 released

2013-07-10 Thread Giampaolo Rodola'
Hi there folks, I'm pleased to announce the 1.0.0 release of psutil: http://code.google.com/p/psutil/ === About === psutil is a module providing an interface for retrieving information on all running processes and system utilization (CPU, memory, disks, network, users) in a portable way by using

Re: Prime number generator

2013-07-10 Thread bas
On Wednesday, July 10, 2013 5:12:19 PM UTC+2, Chris Angelico wrote: > Well, that does answer the question. Unfortunately the use of lambda > there has a severe performance cost [ ...] If you care about speed, you might want to check the heapq module. Removing the smallest item and inserting a new

Re: Prime number generator

2013-07-10 Thread Joshua Landau
On 10 July 2013 15:00, Chris Angelico wrote: > And now for something completely different. > > I knocked together a prime number generator, just for the fun of it, > that works like a Sieve of Eratosthenes but unbounded. It keeps track > of all known primes and the "next composite" that it will pr

Re: Default scope of variables

2013-07-10 Thread Ian Kelly
On Tue, Jul 9, 2013 at 11:54 PM, Frank Millman wrote: > You had me worried there for a moment, as that is obviously an error. > > Then I checked my actual code, and I find that I mis-transcribed it. It > actually looks like this - > > with db_session as conn: > db_session.transaction_a

Re: Prime number generator

2013-07-10 Thread Chris Angelico
On Thu, Jul 11, 2013 at 12:35 AM, Bas wrote: > On Wednesday, July 10, 2013 4:00:59 PM UTC+2, Chris Angelico wrote: > [...] >> So, a few questions. Firstly, is there a stdlib way to find the key >> with the lowest corresponding value? In the above map, it would return >> 3, because 18 is the lowest

Re: Stack Overflow moder ator “animuson”

2013-07-10 Thread Steven D'Aprano
On Wed, 10 Jul 2013 08:46:44 +, Mats Peterson wrote: > Chris Angelico wrote: >> On Wed, Jul 10, 2013 at 6:33 PM, Mats Peterson >> wrote: >>> Steven D'Aprano wrote: On Wed, 10 Jul 2013 18:26:19 +1000, Chris Angelico wrote: [...] > And this matters... how? What are we supposed to do

Re: Prime number generator

2013-07-10 Thread Bas
On Wednesday, July 10, 2013 4:00:59 PM UTC+2, Chris Angelico wrote: [...] > So, a few questions. Firstly, is there a stdlib way to find the key > with the lowest corresponding value? In the above map, it would return > 3, because 18 is the lowest value in the list. I want to do this with > a single

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread memilanuk
On 07/10/2013 05:39 AM, Joshua Landau wrote: On 10 July 2013 13:35, Skip Montanaro wrote: Either that or it's funny only to other Australians. Or the Dutch. Or us Brits. Or the Yanks... Normally I kill-file threads like this pretty early on, but I have to admit - I'm enjoying watching

Re: Best Scripting Language for Embedded Work?

2013-07-10 Thread Grant Edwards
On 2013-07-10, David T Ashley wrote: > We develop embedded software for 32-bit micros using Windows as the > development platform. > > We are seeking a general purpose scripting language to automate > certain tasks, like cleaning out certain directories of certain types > of files in preparation

Re: Buying a used iPhone 5

2013-07-10 Thread Rodrick Brown
Die On Wed, Jul 10, 2013 at 6:49 AM, oswaldclem wrote: > I'm planning on buying a used ATT iPhone 5 off of craigslist, and i've been > reading on how some people sell their iPhones to people and later on > blacklisting it, screwing the buyer over, or how people are mistakenly > buying already b

Prime number generator

2013-07-10 Thread Chris Angelico
And now for something completely different. I knocked together a prime number generator, just for the fun of it, that works like a Sieve of Eratosthenes but unbounded. It keeps track of all known primes and the "next composite" that it will produce - for instance, after yielding 13, the prime map

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Benedict Verheyen
Op Wed, 10 Jul 2013 12:06:06 +, schreef Mats Peterson: > I haven't provided a "real-world" example, since I expect you Python > Einsteins to be able do an A/B test between Python and Perl yourselves > (provided you know Perl, of course, which I'm afraid is not always the > case). I don't kno

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Skip Montanaro
On Wed, Jul 10, 2013 at 7:39 AM, Joshua Landau wrote: > On 10 July 2013 13:35, Skip Montanaro wrote: >>> Either that or it's funny only to other Australians. >> >> Or the Dutch. > > Or us Brits. Hells bells... It appears everyone found it funny except the trolls. S -- http://mail.python.org/m

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Joshua Landau
On 10 July 2013 13:35, Skip Montanaro wrote: >> Either that or it's funny only to other Australians. > > Or the Dutch. Or us Brits. -- http://mail.python.org/mailman/listinfo/python-list

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Paul Scott
On 10/07/2013 14:22, Chris Angelico wrote: Either that or it's funny only to other Australians. ChrisA As a South African, I found it funny too, but then again, we often get confused. -- http://mail.python.org/mailman/listinfo/python-list

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Skip Montanaro
> Either that or it's funny only to other Australians. Or the Dutch. S -- http://mail.python.org/mailman/listinfo/python-list

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Mats Peterson
Chris Angelico wrote: > On Wed, Jul 10, 2013 at 7:01 PM, Mats Peterson wrote: >> Chris Angelico wrote: >>> I know what regular expressions are. I've used them in Perl, PHP, >>> JavaScript, Python, C++, Pike, and numerous text editors (which may >>> have been backed by one of the above languages,

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Joshua Landau
On 10 July 2013 12:14, Antoon Pardon wrote: > Op 10-07-13 11:03, Mats Peterson schreef: >> Not a troll. It's just hard to convince Python users that their beloved >> language would have inferior regular expression performance to Perl. > > All right, you have convinced me. Now what? Why should I ca

Turn off Genius on iPhone

2013-07-10 Thread oswaldclem
How do I turn off the genius button on the iPhone ? I keep hitting it whenever I want to scrub to the middle of through a song. It's pretty annoying. - used iphone -- View this message in context: http://python.6.x6.nabble.com/Turn-off-Genius-on-iPhone-tp5024341.html Sent from the Python

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Chris Angelico
On Wed, Jul 10, 2013 at 10:13 PM, Mats Peterson wrote: > Steven D'Aprano wrote: >> On Wed, 10 Jul 2013 07:55:05 +, Mats Peterson wrote: >> >>> A moderator who calls himself “animuson” on Stack Overflow doesn’t want >>> to face the truth. He has deleted all my postings regarding Python >>> reg

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Mats Peterson
Steven D'Aprano wrote: > On Wed, 10 Jul 2013 07:55:05 +, Mats Peterson wrote: > >> A moderator who calls himself “animuson” on Stack Overflow doesn’t want >> to face the truth. He has deleted all my postings regarding Python >> regular expression matching being extremely slow compared to Perl.

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Mats Peterson
Joshua Landau wrote: > On 10 July 2013 08:55, Mats Peterson wrote: >> . [anumuson from Stack Overflow] has deleted all >> my postings regarding Python regular expression matching being >> extremely slow compared to Perl. Additionally my account has been >> suspended for 7 days. . > > Whilst I don

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Joshua Landau
On 10 July 2013 13:01, Mats Peterson wrote: > Antoon Pardon wrote: >> Op 10-07-13 11:03, Mats Peterson schreef: >>> Not a troll. It's just hard to convince Python users that their beloved >>> language would have inferior regular expression performance to Perl. >> >> All right, you have convinced

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Mats Peterson
Antoon Pardon wrote: > Op 10-07-13 11:03, Mats Peterson schreef: >> Not a troll. It's just hard to convince Python users that their beloved >> language would have inferior regular expression performance to Perl. > > All right, you have convinced me. Now what? Why should I care? > Right. Why shoul

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Benedict Verheyen
Op Wed, 10 Jul 2013 12:12:10 +0100, schreef Joshua Landau: > > Do you have any non-trivial, properly benchmarked real-world examples > that this affects, remembering to use full Unicode support in Perl (as > Python has it by default)? > Indeed, as Joshua says, instead of going through all the

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Skip Montanaro
> ... meant to be the word "posted", before his sentence got cut off by the > Python Secret Underground. Argh! That which shall not be named! Please, for the sake of all that is right, please only use the initials, PS -- http://mail.python.org/mailman/listinfo/python-list

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Steve Simmons
Steven D'Aprano wrote: >On Wed, 10 Jul 2013 07:55:05 +, Mats Peterson wrote: > >> A moderator who calls himself “animuson” on Stack Overflow doesn’t >want >> to face the truth. He has deleted all my postings regarding Python >> regular expression matching being extremely slow compared to Perl

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Joshua Landau
Google Groups is writing about your recently sent mail to "Joshua Landau". Unfortunately this address has been discontinued from usage for the foreseeable future. The sent message is displayed below: On 10 July 2013 12:08, Robert Kern wrote: > > On 2013-07-10 10:52, Joshua Landau wrote: >> >> >>

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Antoon Pardon
Op 10-07-13 11:03, Mats Peterson schreef: > Not a troll. It's just hard to convince Python users that their beloved > language would have inferior regular expression performance to Perl. All right, you have convinced me. Now what? Why should I care? -- Antoon Pardon -- http://mail.python.org/m

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Joshua Landau
On 10 July 2013 08:55, Mats Peterson wrote: > . [anumuson from Stack Overflow] has deleted all > my postings regarding Python regular expression matching being > extremely slow compared to Perl. Additionally my account has been > suspended for 7 days. . Whilst I don't normally respond to trolls,

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Robert Kern
On 2013-07-10 10:52, Joshua Landau wrote: On 10 July 2013 10:12, Ian Kelly wrote: On Wed, Jul 10, 2013 at 2:46 AM, Mats Peterson wrote: Then they would have full control of this list and what gets pos Ahhh so this is pos, right? Telling the truth? Interesting. I don't know what you me

Iphone 3gs Problem

2013-07-10 Thread oswaldclem
I have a problem with my iPhone 3gs, It was Jailbreaked with cydia and then one day it stoped working, all it says is connect to itunes, and when I connect it to Itunes it say restore iphone, when I do that it get stuck on waiting for iphone, it have been stuck on that for 6 hours without doing an

iTunes not detecting iPhone

2013-07-10 Thread oswaldclem
I just received a used iPhone I purchased on Amazon. I took the phone out of the box and turned it on. The Apple logo appeared, then a "connect to iTunes" screen appeared, with the text "No SIM card installed" over the connect to iTunes graphic. I installed my SIM (which I know works, as I just pu

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Joshua Landau
On 10 July 2013 10:12, Ian Kelly wrote: > On Wed, Jul 10, 2013 at 2:46 AM, Mats Peterson wrote: >>> Then they would have full control of this list and what gets pos >> >> Ahhh so this is pos, right? Telling the truth? Interesting. > > I don't know what you mean by that, but since the joke app

Buying a used iPhone 5

2013-07-10 Thread oswaldclem
I'm planning on buying a used ATT iPhone 5 off of craigslist, and i've been reading on how some people sell their iPhones to people and later on blacklisting it, screwing the buyer over, or how people are mistakenly buying already blacklisted iPhones. I was wondering if there's a way I can prevent

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Chris Angelico
On Wed, Jul 10, 2013 at 6:50 PM, Mats Peterson wrote: > Have you ever compared the regular expression performance between Perl > and Python? If not, keep quiet. I think I can see why you were suspended. You and jmf should have a lot of fun together, I think. ChrisA -- http://mail.python.org/ma

WiFi problems with iPhone 4

2013-07-10 Thread oswaldclem
Hi, I have Been looking into it and I can't find anything. My son's iPhone 4 ( iOS 6), according to him, is on and off from our wifi all by itself. Basically, when hé goes on YouTube before 8 am it is on 3G, even if we have wifi on. And the signal is strong enough. Is there a setting That he could

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Chris Angelico
On Wed, Jul 10, 2013 at 7:01 PM, Mats Peterson wrote: > Chris Angelico wrote: >> I know what regular expressions are. I've used them in Perl, PHP, >> JavaScript, Python, C++, Pike, and numerous text editors (which may >> have been backed by one of the above languages, or may have been >> somethin

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Mats Peterson
Ian Kelly wrote: > On Wed, Jul 10, 2013 at 2:46 AM, Mats Peterson wrote: >>> Then they would have full control of this list and what gets pos >> >> Ahhh so this is pos, right? Telling the truth? Interesting. > > I don't know what you mean by that, but since the joke appears to have > flown ov

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Ian Kelly
On Wed, Jul 10, 2013 at 2:46 AM, Mats Peterson wrote: >> Then they would have full control of this list and what gets pos > > Ahhh so this is pos, right? Telling the truth? Interesting. I don't know what you mean by that, but since the joke appears to have flown over your head, I'll explain i

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Mats Peterson
Ian Kelly wrote: > On Wed, Jul 10, 2013 at 2:42 AM, Mats Peterson wrote: >> Chris Angelico wrote: >>> On Wed, Jul 10, 2013 at 5:55 PM, Mats Peterson wrote: A moderator who calls himself “animuson” on Stack Overflow doesn’t want to face the truth. He has deleted all my postings regardi

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Mats Peterson
Chris Angelico wrote: > On Wed, Jul 10, 2013 at 6:42 PM, Mats Peterson wrote: >> Chris Angelico wrote: >>> On Wed, Jul 10, 2013 at 5:55 PM, Mats Peterson wrote: A moderator who calls himself “animuson” on Stack Overflow doesn’t want to face the truth. He has deleted all my postings re

Re: Recursive class | can you modify self directly?

2013-07-10 Thread Russel Walker
On Wednesday, July 10, 2013 12:20:47 AM UTC+2, Ian wrote: > On Tue, Jul 9, 2013 at 4:18 PM, Ian Kelly wrote: > > > If you actually want to modify the current object, you would need to > > > do something like: > > > > > > def expand(self): > > > import copy > > > self.expr

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Ian Kelly
On Wed, Jul 10, 2013 at 2:42 AM, Mats Peterson wrote: > Chris Angelico wrote: >> On Wed, Jul 10, 2013 at 5:55 PM, Mats Peterson wrote: >>> A moderator who calls himself “animuson” on Stack Overflow doesn’t >>> want to face the truth. He has deleted all my postings regarding Python >>> regular ex

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Chris Angelico
On Wed, Jul 10, 2013 at 6:42 PM, Mats Peterson wrote: > Chris Angelico wrote: >> On Wed, Jul 10, 2013 at 5:55 PM, Mats Peterson wrote: >>> A moderator who calls himself “animuson” on Stack Overflow doesn’t >>> want to face the truth. He has deleted all my postings regarding Python >>> regular ex

Re: Recursive class | can you modify self directly?

2013-07-10 Thread Russel Walker
I didn't do a good job of explaining it cos I didn't want it to be a TLDR; but I could've added a little more. To clarify: Expr is just a way to represent simple arithmetic expressions for a calculator. Because the expression has to be modified and built over time, and evaluated from left to ri

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Steven D'Aprano
On Wed, 10 Jul 2013 07:55:05 +, Mats Peterson wrote: > A moderator who calls himself “animuson” on Stack Overflow doesn’t want > to face the truth. He has deleted all my postings regarding Python > regular expression matching being extremely slow compared to Perl. That's by design. We don't w

  1   2   >