Re: [python-uk] The London Python Code Dojo is coming back next Thursday

2019-04-02 Thread Stestagg
The People’s Independant Python Dojo? Dojo means dojo. Steve On Tue, 2 Apr 2019 at 17:01, S Walker wrote: > The Popular Python Dojo? > > > S > > On 02/04/2019 16:45, Tim Golden wrote: > > Start a spin-off: The South Coast Python Code Dojo? > > Or maybe "The Cinque Ports Python Code Dojo" soun

Re: [python-uk] C is it faster than numpy

2022-02-25 Thread Stestagg
This is a fascinating subject. Firstly: a lot of people think that C (or C++) is faster than python, yes I agree, > if you look at raw execution speed, then this is absolutely correct. The reasons for this are many and complex, but people who use this as a standalone reason to avoid Python almos

Re: [python-uk] Dojo at PyconUK

2011-09-09 Thread Stestagg
On Fri, Sep 9, 2011 at 9:08 AM, Nicholas Tollervey wrote: > On Fri, 2011-09-09 at 13:23 +0100, John Pinner wrote: >> On 9 September 2011 13:02, Tim Golden wrote: >> > On 09/09/2011 12:04, Nicholas Tollervey wrote: >> >> >> >> Here's one from me to kick things off: >> >> >> >> Roman Numeral Calcul

Re: [python-uk] Python Developers - ReportLab, Wimbledon, London

2012-12-11 Thread Stestagg
Having just gone through this, I would expect a python role of this nature to be offered between £35-45 k DOE in London. There are certainly candidates around who could satisfy all of the stated requirements, but will be given competitive offers from other people looking. I got the impression tha

Re: [python-uk] The perils of reply-to

2013-01-03 Thread Stestagg
I'm for keeping it, reply-to-list is easier for me, and definitely more entertaining, at times Steve On Thu, Jan 3, 2013 at 3:21 PM, Daniele Procida wrote: > On Thu, Jan 3, 2013, Jon Ribbens wrote: > > >On Thu, Jan 03, 2013 at 11:40:51AM +, Andy Robinson wrote: > >> In the light of this mo

Re: [python-uk] Advice on decorator grammar

2013-04-03 Thread Stestagg
This seems redundant to me, the MyDecorator instance would not be bound to anything, so you'll 'loose' the reference to it, except through the call to decorator_method(). You could do this by making decorator_method a classmethod: class MyDecorator(object): @classmethod def decorate_this

Re: [python-uk] Advice on decorator grammar

2013-04-03 Thread Stestagg
Technically, you don't have to worry about refcounts here. evaluating 'AClass().method' results in a 'bound' method. The method binding contains a reference to the instance, so internally, a reference is always held. It does mean however that the AClass instance is anonymous, there is no simple

Re: [python-uk] Advice on decorator grammar

2013-04-05 Thread Stestagg
a missing feature. However, I feel that in practice, not allowing such syntax is 'a good thing' (tm) Yours Steve On Thu, Apr 4, 2013 at 5:32 PM, Simon Yarde wrote: > Thanks Nick. I wonder if you see any use or validity in an expanded > grammar allowing class-initialisation w

Re: [python-uk] Biggest Fake Conference in Computer Science

2013-04-30 Thread Stestagg
Is this just spam? It certainly has that feel about it.. On Wed, May 1, 2013 at 12:12 AM, wrote: > Biggest Fake Conference in Computer Science > > We are researchers from different parts of the world and conducted a study > on the world’s biggest > bogus computer science conference WORLDCOMP >

Re: [python-uk] Biggest Fake Conference in Computer Science

2013-05-01 Thread Stestagg
9:32 AM, Thomas Morton wrote: > They've been sending it to loads of list; Wikimedia lists got bazillions > of copies :D > > Tom > > > On 1 May 2013 09:23, Richard Barran wrote: > >> Spam? Sounds on-topic for a Python mailing list :-) >> >> On 1 May

Re: [python-uk] Suggestions / best practices for deployment

2013-05-15 Thread Stestagg
To add a slightly different angle to this, whatever deployment solution you use, make sure it is fully automated, and then hook it into you CI system. Deployment, disaster recovery etc. are made so much simpler if you're thinking about it from the start rather than just before release. One way to

Re: [python-uk] Suggestions / best practices for deployment

2013-05-16 Thread Stestagg
The Zope 'brand' got trashed back in the bad old days. If things have truly improved, then the sensible thing to do would be to release the new code in a way that has no obvious links to the name 'Zope', and let that stand on its own merits. Another factor here, is that the current trend is towar

Re: [python-uk] The London Python Dojo is this Thursday

2013-07-12 Thread Stestagg
The only obvious thing I can think of here would be to have a speed-dating style bell/noise that rings periodically, prompting people to swap over on the keyboard. I think this could be quite fun, maybe slightly annoying(?) but worth it, IMO. Teams who decide to use multiple laptops should still

Re: [python-uk] The London Python Dojo is this Thursday

2013-07-15 Thread Stestagg
I wonder, with the dojo happening every month, and most people turning up most times, if this might turn into a bit of a popularity contest. If a leader won last time, then people will be more likely to go for the 'safe option' and join that person next time. I do like the current method of havin

Re: [python-uk] internship suggestions for a gap-year maths student?

2013-08-19 Thread Stestagg
The Year in Industry scheme is a great way to do this. There are placement opportunities with some very interesting companies, and they organise courses and social events with other local YINI people, which can really help. http://www.etrust.org.uk/year_in_industry.cfm I did this 7 years ago, an

Re: [python-uk] London Python Code Dojo is happening next Thursday

2013-08-29 Thread Stestagg
There's some confusion about which season/episode we're actually at, there's definitely some lack of consistency :). This link was posted on twitter: https://ldnpydojo.eventwax.com/london-python-code-dojo-season-6-episode-1and seems to have a working registration link, so I think *this* is likely

Re: [python-uk] copyright info in source

2013-09-09 Thread Stestagg
The (il-)logic of trying to apply copyright statements to an otherwise empty file should be weighed against the effort of writing a syntax checker that can ignore such files. Generally, it's easier to script these things, so having a script that blindly adds the copyright header to all python file

Re: [python-uk] London Dojo Next Thursday at onefienstay (07/11/2013)

2013-10-31 Thread Stestagg
Its just started working for me. Steve On 31 Oct 2013 18:28, "Carles Pina i Estany" wrote: > > it says "Unfortunately, no tickets are available for this event." > > But it's just a few minutes after you sent it :) some error some place? > > On Oct/31/2013, Luis Visintini wrote: > > Hi Everyone,

Re: [python-uk] Announcing: The London Dojo next week at BAML

2014-01-30 Thread Stestagg
Hi Tom Thanks for this. I'd like to give a lightning talk about decorators if you still need one, It should be about 5-7 minutes depending Thanks Steve On Thu, Jan 30, 2014 at 2:12 PM, Tom Viner wrote: > Hi all, > > For February's London dojo we'll be back at the Bank of America again. If >

Re: [python-uk] Question from uniq dojo about fileinput

2015-01-07 Thread Stestagg
When I try to run it, I get a hang too, in my case (there may be other factors for you) what's happening is because of the openpty stuff. In the parent process, you're creating two file handles, master and slave. Subprocess then forks, meaning the child inherits them. At this point, both the pare

Re: [python-uk] Question from uniq dojo about fileinput

2015-01-07 Thread Stestagg
So, I was running this in python2.7, hence the tracebacks and decoding issues. However I think the blocking issue is still to do with not closing the slave half of the pty from the parent process. On Wed Jan 07 2015 at 11:30:00 PM Stestagg wrote: > When I try to run it, I get a hang too, in

Re: [python-uk] Job Ad: Senior Python Engineers -Skimlinks - London

2015-02-04 Thread Stestagg
Hi Tom I'm currently looking for work, as my current employer is awful, and I pretty much hate my boss. Do you have any roles available that could save me from this hell? Thanks Steve p.s. If you have a referral bonus, I can give you all my colleagues details too.. j/k ;) On Wed Feb 04 2015

[python-uk] Pycon '15 - website update?

2015-03-03 Thread Stestagg
Hi It's been pointed out that google searching for pycon uk takes you to a site that talks about 2014. This is a bit confusing, as it states early bird tickets are available from 1st March Is anyone able to change this? Or remove the booking info? Any updates on '15? Thanks Steve

[python-uk] Python Jobs Board - Request for Adverts

2015-03-09 Thread Stestagg
Hi All A few of us are setting up a community run, free to use (and advert free) Jobs board (similar in nature to jobs.python.org) It's designed to be simple to post to (if you're into that sort of thing, we use Github pull requests), easy to moderate, and strictly no agencies. The site will be s

Re: [python-uk] python-uk Digest, Vol 144, Issue 5

2015-09-02 Thread Stestagg
The rule we use for pythonjobs.github.io is that the advert has to name the actual company the ad is for(not just an agency/broker). This was something that Sal Fadhley suggested, IIRC. This allows posts by agents, but tends to lead to more useful/informative ads, and avoids the vague teasers that

Re: [python-uk] Reminder: The *other* python job board

2015-10-04 Thread Stestagg
Hi Andy The code's all in the repository! :) We hook into the travis build system to do this, with some simple scripts. On the post-merge-to-main branch travis run, if the tests pass, then it pushes the built site files to a separate github repository which is hosted as a github pages site. This

Re: [python-uk] Microbit motion sensors at PyCon UK Teachers' Day

2016-06-21 Thread Stestagg
Hi! I have a micro:bit and would love to help in any way possible. Feel free to get in touch if you would like to discuss Thanks Steve On Mon, 20 Jun 2016 at 09:42, Leona So via python-uk wrote: > Hi Stephen, > > I teach Maths at a FE college, have general interest in programming > especiall

Re: [python-uk] job postings to this list

2016-09-02 Thread Stestagg
Hi Andy We use travis to build the site. You can see the travis yaml file and build scripts in our repo: https://github.com/pythonjobs/jobs/blob/master/.travis.yml The scripts are a bit more complex than they need to be because I segregated the actual job .md files out from the rest of the site

Re: [python-uk] Static site generators with Python

2016-09-02 Thread Stestagg
On Fri, Sep 2, 2016 at 7:57 PM Andy Robinson wrote: > Re-subjecting... > > On 2 September 2016 at 19:30, Stestagg wrote: > > Hi Andy > > > > We use travis to build the site. You can see the travis yaml file and > build > > scripts in our repo: > ... > &

Re: [python-uk] Announcing the Yorkshire Inquisition

2016-12-07 Thread Stestagg
Perhaps offenders could have their words replaced by the server with suitably contrite Monty Python quotes. I believe the Knights who say ni have a particularly apt vocabulary. On Wed, 7 Dec 2016 at 13:47, Andy Robinson wrote: On 7 December 2016 at 13:36, Thomas Kluyver wrote: > Give the inquis

Re: [python-uk] Announcing the Yorkshire Inquisition

2016-12-07 Thread Stestagg
I think we submitted Guido for consideration, but did so using a byte string rather than Unicode, so the submission got rejected ;) On Wed, 7 Dec 2016 at 15:05, Jon Ribbens wrote: > On Wed, Dec 07, 2016 at 02:15:27PM +, Daniel Pope wrote: > >Idle thought: can the code of conduct be violat

Re: [python-uk] 2 Principle Engineer roles in London up to £95k

2016-12-08 Thread Stestagg
I agree with John While recruitment emails don't bother me directly, the debates around allowing them are getting quite repetitive. My vote goes on a no job adverts policy. It's not clear to me that enforcement will be difficult. Do we really think that the pyuk recruiters will not honour this?

[python-uk] Looking for contracts

2017-03-22 Thread Stestagg
Hi All I'm getting married right at the start of July 🎉, and am looking for some work between now and then. Do any of you know a company that might be looking for someone to come in (London or remote based) for a short spell? I specialise in back end optimisation and architecture, preferably with

Re: [python-uk] A stack with better performance than using a list

2017-06-07 Thread Stestagg
Do you have any more context? For example, is the add_to_first_n likely to be called with very large numbers, or very often? Does the stack get very deep, or stay shallow? I'm assuming that lines look like this: push 1 push 2 add_to_first_n 2 10 pop pop with all arguments as integers, and the fi

Re: [python-uk] A stack with better performance than using a list

2017-06-08 Thread Stestagg
integers inside 'dispatch'. 'args' must have actually been > created with: > > args = [int(i) for i in tokens[1:]] > > Where len(tokens) is never going to be bigger than 3. > > Return values (from 'pop') were unused. > > > On 6/7/2017 13:2

Re: [python-uk] A stack with better performance than using a list

2017-06-08 Thread Stestagg
If it's who I think it is, then I'm not entirely surprised, this particular implementation is quite taxing for python in particular, and they don't do much in the way of catering to more modern languages in general (not a criticism, but most problems/samples are stated in a very 'traditional' way t

Re: [python-uk] A stack with better performance than using a list

2017-06-08 Thread Stestagg
n't help, printing is already buffered. > > Jonathan > > On 6/8/2017 03:54, Stestagg wrote: > > I honestly can't see a way to improve this in python. My best solution > is: > > def main(lines): > stack = [] > sa = stack.append > sp =

Re: [python-uk] A stack with better performance than using a list

2017-06-08 Thread Stestagg
Apologies, In my previous email, I meant 'insert a marker', rather than 'push a marker' On Thu, Jun 8, 2017 at 7:17 PM Stestagg wrote: > I tracked down the challenge on the site, and have a working solution (I > won't share for obvious reasons). Basically the

Re: [python-uk] Burning desire to watch cataract surgery?

2017-10-13 Thread Stestagg
I think I’ll keep a close eye on this thread! On Fri, 13 Oct 2017 at 17:00, S Walker wrote: > These puns are delivered with surgical precision. > > > S > > > On 13/10/17 16:31, Nicholas H.Tollervey wrote: > > Iris you could have given us more details... > > (BTW, plenty more where that came from.