239 reputation
18
bio website
location Cambridgeshire, United Kingdom
age 35
visits member for 1 year, 8 months
seen Jun 25 at 1:49

I do Web ~ Python, JavaScript, CoffeeScript, App Engine...


Jun
25
comment Why aren't there other programming languages that compile to Python bytecode?
Python is a very nice language, but the library and ecosystem is getting really tired. There's little point replacing the language to access the libraries.
Apr
5
awarded  Yearling
Jan
7
comment Why do people hesitate to use Python 3?
It's a good answer, and makes a lot of sense, but there are significant upsides for companies that allow their developers to use the very best tools. Python3, as a language, is superior to Python2. A lot of software companies could make the investment back in time saved not dealing with unicode alone.
Oct
23
comment How to Avoid a Busy Loop Inside a Function That Returns the Object That's Being Waited For
I went with conditions over semaphores. It just fit the specifics of the problem better, but your answer's spot on. Cheers.
Oct
23
accepted How to Avoid a Busy Loop Inside a Function That Returns the Object That's Being Waited For
Oct
23
comment How to Avoid a Busy Loop Inside a Function That Returns the Object That's Being Waited For
It must return the string the user entered. If someone does help(), Python will print a message and create a prompt for some input by calling sys.stdin.readline. I need to assign a custom readline method that blocks and returns the user's input. It's removing the busy loop from that method [or whatever it calls] that's the problem.
Oct
23
asked How to Avoid a Busy Loop Inside a Function That Returns the Object That's Being Waited For
Jul
18
comment Is there any evidence that drugs can actually help programmers produce “better” code?
Personally, I can't code unless I smoke cannabis; it's boring. This is why I telecommute from the shed in my garden.
May
23
awarded  Scholar
May
23
accepted I need some help with defining a shell syntax
Mar
17
revised I need some help with defining a shell syntax
Reduced the size of the question, to make it more to the point.
Mar
17
revised I need some help with defining a shell syntax
added 87 characters in body
Mar
16
comment I need some help with defining a shell syntax
Thanks. I've updated the question to make it clearer what I really need.
Mar
16
revised I need some help with defining a shell syntax
tidy up
Mar
16
awarded  Student
Mar
16
revised I need some help with defining a shell syntax
Tried to more tightly define the problem, so as avoid making a request for resources.
Mar
15
comment I need some help with defining a shell syntax
I'm actually struggling to find examples though.
Mar
15
comment I need some help with defining a shell syntax
I've edited the question to try and make things clearer. I'd like to know about features and syntax, but I'd be happy to just get some pointers on little known shells and interactive interpreter hacks and that kind of thing.
Mar
15
revised I need some help with defining a shell syntax
Tried to make things easier to read.
Mar
15
revised I need some help with defining a shell syntax
added 141 characters in body