Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #69891

Re: [OFF-TOPIC] How do I find a mentor when no one I work with knows what they are doing?

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; ';-)': 0.03; 'programmer': 0.03; 'subject:: [': 0.04; 'python)': 0.05; 'lines,': 0.07; 'php.': 0.07; 'admin,': 0.09; 'arrays': 0.09; 'comfortably': 0.09; 'handful': 0.09; 'pretend': 0.09; 'subject:How': 0.10; 'cc:addr :python-list': 0.11; 'python': 0.11; "wouldn't": 0.14; 'concurrent': 0.16; 'efficiently,': 0.16; 'exactly,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'guessing': 0.16; "he'll": 0.16; 'rewriting': 0.16; 'subject: \n ': 0.16; 'subject:when': 0.16; 'unlikely': 0.16; 'worst': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'work,': 0.20; 'subject:] ': 0.20; 'written': 0.21; '(the': 0.22; 'code,': 0.22; 'cc:addr:python.org': 0.22; 'own.': 0.24; '(or': 0.24; 'cc:2**0': 0.24; 'switch': 0.26; 'primary': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; '(this': 0.29; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'work.': 0.31; 'code': 0.31; 'getting': 0.31; 'breaking': 0.31; 'convince': 0.31; 'obscure': 0.31; 'python).': 0.31; 'subject:what': 0.31; 'there.': 0.32; 'probably': 0.32; "we're": 0.32; 'run': 0.32; 'there,': 0.34; "i'd": 0.34; 'subject:with': 0.35; 'anywhere': 0.35; 'something': 0.35; 'beyond': 0.35; 'operations': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'version': 0.36; "he's": 0.36; 'passwords': 0.36; 'subject:one': 0.36; 'subject:?': 0.36; 'similar': 0.36; 'so,': 0.37; 'easily': 0.37; 'server': 0.38; 'handle': 0.38; 'either': 0.39; 'even': 0.60; 'gone': 0.61; 'entire': 0.61; "you're": 0.61; 'more': 0.64; 'accounts': 0.64; 'latest': 0.67; 'wish': 0.70; 'bulk': 0.74; 'low': 0.83; 'asynchronous': 0.84; 'pike': 0.84; "project's": 0.84; 'subject:find': 0.84; 'terrible': 0.84; 'water.': 0.84; 'boxes': 0.91; 'favour': 0.91; 'to:none': 0.92; 'subject:OFF': 0.95
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=GIa8KOYf9/+8NjnxydI3EmL+LVaPAEFYkun/zzVEPjQ=; b=jDa+/iCCxi8njKIsJiINI4Jr4twm3dspk4TqIhaqs74QmNj7s9EHniHy1oI4pYHS/2 Icdqr4JUnidZCzkUQLiptC3+anoGNgaqzbrC57enNUlmjOxmXOoDvNsVopLpREktNpsd EFgqAiPigBw8A76GAFpWCWrCzYM2INR64yzrngLd5dsS1582cktvwLhXvc6Kqbj2r4vE 7pIKhzUFzdTvev8bjV/5HLRsNHVzk5LoB+bQDQlIU381dx/A5BRtpvXyCmd5oZILEk6b txUev2+FszAszKPI/N10OBf8cB9yv6fCCC9h/IJYAFAtqSw0vSYY9v1dIsWix+Z0anOH 6BFw==
MIME-Version 1.0
X-Received by 10.66.192.225 with SMTP id hj1mr6158296pac.142.1396978170452; Tue, 08 Apr 2014 10:29:30 -0700 (PDT)
In-Reply-To <ScW0v.98805$Pb.4577@fx31.am4>
References <ScW0v.98805$Pb.4577@fx31.am4>
Date Wed, 9 Apr 2014 03:29:30 +1000
Subject Re: [OFF-TOPIC] How do I find a mentor when no one I work with knows what they are doing?
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.9032.1396978173.18130.python-list@python.org> (permalink)
Lines 39
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1396978173 news.xs4all.nl 2971 [2001:888:2000:d::a6]:53316
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:69891

Show key headers only | View raw


On Wed, Apr 9, 2014 at 3:19 AM, alister
<alister.nospam.ware@ntlworld.com> wrote:
> On Wed, 09 Apr 2014 01:48:52 +1000, Chris Angelico wrote:
>
>> I managed to convince him to let me use Pike for a lot of the work,
>> though I suspect that - now that we're no longer working together -
>> he's ripping a lot of it out in favour of either PHP or JavaScript.
>> And that's a job I wouldn't wish on my worst enemy.
>>
>> ChrisA
>
> Why was your code that bad? ;-)

It was idiomatic Pike code, which is in many ways similar to idiomatic
Python (definitely not exactly, but I'm guessing you're not familiar
with Pike, so just pretend I'd written a good few KLOC of idiomatic
Python). The code is expressive; in just a handful of lines, I can do
bulk operations on entire arrays of values, and I can comfortably run
callbacks efficiently, and (this part wouldn't work so easily in
Python) on a SIGHUP, the code would smoothly switch over to the latest
version on the disk, without breaking any currently-processing work.
Now try rewriting that in PHP (or serverside JavaScript - probably
node.js or something - but he hadn't gone anywhere beyond the "vague
theory" stage with server JS, so PHP is more likely). Bear in mind
that you have to handle multiple concurrent network connections, so
you need to do either piles of threads/processes or asynchronous I/O
(the Pike code used the latter).

So, yeah. My code would make for terrible PHP. :) One day, out of
morbid curiosity, I might try SSHing into one of the boxes to see
whether any of the accounts are still there for which I know the
passwords. (I was the primary network admin, so I knew the passwords
for a lot of obscure accounts on obscure servers.) Would be
interesting to see what's going on there. But more than likely the
project's dead in the water. It's highly unlikely he'll find a decent
programmer willing to work for the low wages I was getting there, and
even less likely that he'll have the time to do it all on his own.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [OFF-TOPIC] How do I find a mentor when no one I work with knows what they are doing? alister <alister.nospam.ware@ntlworld.com> - 2014-04-08 17:19 +0000
  Re: [OFF-TOPIC] How do I find a mentor when no one I work with knows what they are doing? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-04-08 17:25 +0000
    Re: [OFF-TOPIC] How do I find a mentor when no one I work with knows what they are doing? Chris Angelico <rosuav@gmail.com> - 2014-04-09 03:36 +1000
  Re: [OFF-TOPIC] How do I find a mentor when no one I work with knows what they are doing? Chris Angelico <rosuav@gmail.com> - 2014-04-09 03:29 +1000
    Re: [OFF-TOPIC] How do I find a mentor when no one I work with knows what they are doing? alex23 <wuwei23@gmail.com> - 2014-04-09 10:02 +1000
      Re: [OFF-TOPIC] How do I find a mentor when no one I work with knows what they are doing? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-04-09 09:55 +0100
        Re: [OFF-TOPIC] How do I find a mentor when no one I work with knows what they are doing? alex23 <wuwei23@gmail.com> - 2014-04-10 10:41 +1000

csiph-web