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


Groups > comp.lang.python > #69684

Re: converting strings to hex

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!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.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'programmer': 0.03; '"this': 0.03; 'exercise': 0.04; 'interpreter': 0.05; 'learn,': 0.09; 'measure': 0.09; 'whatever.': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'hint': 0.16; 'plan.': 0.16; 's/he': 0.16; 'sat,': 0.16; 'student': 0.16; 'wrote:': 0.18; 'do.': 0.18; 'bit': 0.19; 'trying': 0.19; 'cc:addr:python.org': 0.22; 'own.': 0.24; 'regardless': 0.24; 'cc:2**0': 0.24; 'post': 0.26; 'asking': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'quickly': 0.29; 'strongly': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'asked': 0.31; 'another': 0.32; 'programmers': 0.33; 'advice': 0.35; 'something': 0.35; 'one,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'really': 0.36; 'done': 0.36; 'two': 0.37; 'sometimes': 0.38; 'little': 0.38; 'bad': 0.39; 'how': 0.40; 'read': 0.60; 'dave': 0.60; 'entire': 0.61; 'course': 0.61; 'first': 0.61; 'soon': 0.63; 'between': 0.67; 'himself,': 0.84; 'is)': 0.84; 'learn.': 0.84; 'negotiate': 0.84; 'to:none': 0.92; 'differences': 0.93; 'obtained': 0.96
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=OK7GGHASfHWhTMpERW0YDFB+bdQ+J74kc+MRV7d7FMI=; b=iT4BzbGNHi7CRMiyK+HhEkpyaVL7FOfLktgLd7QwxtUgjB/vowbFwA7YrQHOjtQDRU vbnyJKMmw8bENGqLWCN6q1ww8qjjOdTnb0y/D/49/QRN2poZqRBOi3PHlOcifDLOhn6R XoW+9NCu2qeWnoob2GlUokK9j2ger/xlnins6qzrVaxy1YPi3EP9qd79VOU0RgN5Z26/ /Zii57RAFn7mcvs/3TRvMELfTakFfDCp7vkVFGk6by0oRbZA9XDGPRs/CLN71jIeKI5a 7BujZx8NE8ODVT9+BZsuAJ5JMTqk+bn/53KNEHgCkx5Qxb4+cT4cZM2Hj2J6zlUpcAo9 dY0Q==
MIME-Version 1.0
X-Received by 10.68.194.97 with SMTP id hv1mr107070pbc.162.1396651003545; Fri, 04 Apr 2014 15:36:43 -0700 (PDT)
In-Reply-To <lhn8eg$d7v$1@speranza.aioe.org>
References <c23e9bfd-63f4-4381-b3e2-a75cb87c8293@googlegroups.com> <533E1B2E.5040608@gmail.com> <lhlioc$b4s$1@dont-email.me> <lhn8eg$d7v$1@speranza.aioe.org>
Date Sat, 5 Apr 2014 09:36:43 +1100
Subject Re: converting strings to hex
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.8902.1396651007.18130.python-list@python.org> (permalink)
Lines 32
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1396651007 news.xs4all.nl 2861 [2001:888:2000:d::a6]:52292
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:69684

Show key headers only | View raw


On Sat, Apr 5, 2014 at 8:33 AM, Mark H Harris <harrismh777@gmail.com> wrote:
> On 4/4/14 1:16 AM, James Harris wrote:
>>
>> YMMV but I thought the OP had done a good job before asking for help and
>> then asked about only a tiny bit of it. Some just post a question!
>
>
>    Indeed they do. Its a little like negotiating with terrorists. As soon as
> you negotiate with the first one, you then must negotiate with all of them.
> Bad plan.

What, you treat student programmers like terrorists?!? Ouch.

>    The OP was soooo close, that to give him the help is immoral for two
> reasons: 1) it deprives him of the satisfaction of accomplishing the
> solution to the puzzle himself, and 2) it deprives the instructor (whoever
> she is) of the teachable moment. There is something she is trying to get
> Dave to learn, and she really *does* want him to go through the entire
> exercise on his own.

I strongly disagree. If someone is asking for a hint, it's because
s/he is trying to learn. I'm always willing to help someone learn,
regardless of whether they're going through a course or currently
employed or whatever. Sometimes a small hint can be obtained from the
interpreter itself; but often, it takes a measure of experience to
grok (one of the differences between the expert and the inexperienced
is how quickly a traceback can be read - an expert can often go
straight to the line with the problem); a hint from another Python
programmer can be immensely helpful, as it can include advice as well
as a hard "this works, that doesn't".

ChrisA

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


Thread

converting strings to hex dave em <daveandem2000@gmail.com> - 2014-04-03 19:10 -0700
  Re: converting strings to hex Tim Chase <python.list@tim.thechases.com> - 2014-04-03 21:31 -0500
    Re: converting strings to hex dave em <daveandem2000@gmail.com> - 2014-04-03 20:10 -0700
      Re: converting strings to hex Mark H Harris <harrismh777@gmail.com> - 2014-04-03 22:20 -0500
        Re: converting strings to hex dave em <daveandem2000@gmail.com> - 2014-04-03 20:22 -0700
          Re: converting strings to hex Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-04-04 09:14 +0100
  Re: converting strings to hex Mark H Harris <harrismh777@gmail.com> - 2014-04-03 21:38 -0500
    Re: converting strings to hex "James Harris" <james.harris.1@gmail.com> - 2014-04-04 07:16 +0100
      Re: converting strings to hex Mark H Harris <harrismh777@gmail.com> - 2014-04-04 16:33 -0500
        Re: converting strings to hex Chris Angelico <rosuav@gmail.com> - 2014-04-05 09:36 +1100
          Re: converting strings to hex Mark H Harris <harrismh777@gmail.com> - 2014-04-04 18:00 -0500
    Re: converting strings to hex alister <alister.nospam.ware@ntlworld.com> - 2014-04-04 10:07 +0000

csiph-web