Re: [Tutor] threading mind set

2012-05-13 Thread Russel Winder
On Mon, 2012-05-14 at 10:31 +1000, Steven D'Aprano wrote: [...] > No hard compared to what? Compared to sequential programming. [...] > My argument is that once you move beyond the one-operation-after-another > programming model, almost any parallel processing problem is harder than the > equiv

Re: [Tutor] hello~

2012-05-13 Thread Russel Winder
On Mon, 2012-05-14 at 00:19 +0100, Mark Lawrence wrote: [...] > Sorry but it's unreadable to me. Have you sent this in HTML when you > should have sent in plain text? I think it is just line wrapping, email still is supposed to have no lines greater that 78 characters (RFC 2822) and some email c

Re: [Tutor] sorry seems like it was sent in html

2012-05-13 Thread Dave Angel
On 05/13/2012 07:22 PM, Keitaro Kaoru wrote: > is that better? not html... ? Your message is still html. The following section of code shows no indentation, so is very hard to interpret. > > def seen(mgr, room, user, msg, args): > name = args.lower().split(" ")[0] > if not name.isalnum(): retu

Re: [Tutor] threading mind set

2012-05-13 Thread Devin Jeanpierre
On Sun, May 13, 2012 at 8:31 PM, Steven D'Aprano wrote: >> Using processes and message passing, using dataflow, actors or CSP, >> parallelism and concurrency is far more straightforward. Not easy, >> agreed, but then programming isn't easy. > > My argument is that once you move beyond the one-oper

Re: [Tutor] threading mind set

2012-05-13 Thread Steven D'Aprano
Russel Winder wrote: Steven, On Sun, 2012-05-13 at 10:22 +1000, Steven D'Aprano wrote: carlo locci wrote: Hello All, I've started to study python a couple of month ago(and I truly love it :)), however I'm having some problems understanding how to modify a sequential script and make it multithr

Re: [Tutor] sorry seems like it was sent in html

2012-05-13 Thread Mark Lawrence
On 14/05/2012 00:22, Keitaro Kaoru wrote: is that better? not html... ? hey. Austin here for some reason this command. all it does it produces the error message at the bottom.. itll say my name and the persons name im trying to send the message to but thats it. heres the command. mgr.addCommand(

[Tutor] sorry seems like it was sent in html

2012-05-13 Thread Keitaro Kaoru
is that better? not html... ? hey. Austin here for some reason this command. all it does it produces the error message at the bottom.. itll say my name and the persons name im trying to send the message to but thats it. heres the command. mgr.addCommand("tell", 1, "send a person a message to the r

Re: [Tutor] hello~

2012-05-13 Thread Mark Lawrence
On 14/05/2012 00:04, Keitaro Kaoru wrote: hey. Austin here for some reason this command. all it does it produces the error message at the bottom.. itll say my name and the persons name im trying to send the message to but thats it. heres the command. mgr.addCommand("tell", 1, "send a person a me

[Tutor] hello~

2012-05-13 Thread Keitaro Kaoru
hey. Austin here for some reason this command. all it does it produces the error message at the bottom.. itll say my name and the persons name im trying to send the message to but thats it. heres the command. mgr.addCommand("tell", 1, "send a person a message to the rooms he is in", tell, unlisted

Re: [Tutor] How to start developing a website

2012-05-13 Thread Joel Goldstick
On Sun, May 13, 2012 at 11:40 AM, Emile van Sebille wrote: > On 5/13/2012 8:08 AM Surya K said... > >> I have a idea (Website) which I want to develop using Django (Still >> learning it!). Currently I am following DjangoBook (reading DataBase..). >> >> As I am really new to webframe works and Web

Re: [Tutor] How to start developing a website

2012-05-13 Thread Emile van Sebille
On 5/13/2012 8:08 AM Surya K said... I have a idea (Website) which I want to develop using Django (Still learning it!). Currently I am following DjangoBook (reading DataBase..). As I am really new to webframe works and Web development, I have a real dumb question which I don't really figure out.

[Tutor] How to start developing a website

2012-05-13 Thread Surya K
I have a idea (Website) which I want to develop using Django (Still learning it!). Currently I am following DjangoBook (reading DataBase..). As I am really new to webframe works and Web development, I have a real dumb question which I don't really figure out. # Question: Broadly speaking my webs

Re: [Tutor] threading mind set

2012-05-13 Thread Russel Winder
Steven, On Sun, 2012-05-13 at 10:22 +1000, Steven D'Aprano wrote: > carlo locci wrote: > > Hello All, > > I've started to study python a couple of month ago(and I truly love it :)), > > however I'm having some problems understanding how to modify a sequential > > script and make it multithreaded (

Re: [Tutor] syntax error

2012-05-13 Thread Alan Gauld
On 13/05/12 10:44, Steven D'Aprano wrote: and if I look at the email which started this thread, Keitaro Kaoru's email with no subject line, I see it has the same message ID: Message-ID: so my guess is that Thunderbird is just stupid. Like Dave I am on Thunderbird 12 and it is threading the

Re: [Tutor] syntax error

2012-05-13 Thread Devin Jeanpierre
On Sun, May 13, 2012 at 5:44 AM, Steven D'Aprano wrote: > Devin Jeanpierre wrote: >> >> On Sat, May 12, 2012 at 10:29 PM, bob gailer wrote: >>> >>> oh - and always provide a specific meaningful subject >> >> >> My client has no idea what thread this post came from. >> >> Is it supposed to? > > >

Re: [Tutor] syntax error

2012-05-13 Thread Dave Angel
On 05/13/2012 05:44 AM, Steven D'Aprano wrote: > Devin Jeanpierre wrote: >> On Sat, May 12, 2012 at 10:29 PM, bob gailer wrote: >>> oh - and always provide a specific meaningful subject >> >> My client has no idea what thread this post came from. >> >> Is it supposed to? > > > What's your client?

Re: [Tutor] Auto-response for your message to the "Tutor" mailing list

2012-05-13 Thread Dave Angel
On 05/13/2012 04:17 AM, Alan Gauld wrote: > On 13/05/12 07:21, Steven D'Aprano wrote: >> Devin Jeanpierre wrote: >>> This is the third time I've received a message "for those of you new >>> to the Tutor list". When does it stop? > > I think these come when the listserver gets a message from a mailb

Re: [Tutor] syntax error

2012-05-13 Thread Steven D'Aprano
Devin Jeanpierre wrote: On Sat, May 12, 2012 at 10:29 PM, bob gailer wrote: oh - and always provide a specific meaningful subject My client has no idea what thread this post came from. Is it supposed to? What's your client? I'm using Thunderbird, and it too doesn't have any idea. I see t

Re: [Tutor] Auto-response for your message to the "Tutor" mailing list

2012-05-13 Thread Alan Gauld
On 13/05/12 07:21, Steven D'Aprano wrote: Devin Jeanpierre wrote: This is the third time I've received a message "for those of you new to the Tutor list". When does it stop? I think these come when the listserver gets a message from a mailbox it doesn't recognise. It puts the mails in the mod

Re: [Tutor] threading mind set

2012-05-13 Thread Steven D'Aprano
bob gailer wrote: On 5/12/2012 8:22 PM, Steven D'Aprano wrote: By the way, in future, please don't decorate your code with stars: I think you got stars because the code was posted in HTML and bolded. Plain text readers add the * to show emphasis. I think you have it the other way around: if y