Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Old programmers never die, they just become managers.


devel / comp.lang.python / Third round of the Smart Iterator Challenge: September-October 2022

SubjectAuthor
o Third round of the Smart Iterator Challenge: September-October 2022dn

1
Third round of the Smart Iterator Challenge: September-October 2022

<mailman.759.1666327268.20444.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19972&group=comp.lang.python#19972

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: PythonL...@DancesWithMice.info (dn)
Newsgroups: comp.lang.python
Subject: Third round of the Smart Iterator Challenge: September-October 2022
Date: Fri, 21 Oct 2022 17:40:57 +1300
Organization: DWM
Lines: 38
Message-ID: <mailman.759.1666327268.20444.python-list@python.org>
References: <617bbff9-a5c8-cc3f-bfda-fa2708bdd66f@DancesWithMice.info>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de 2iw81rT719fNlywqN74sVgqevkD7jFyis/URmRDL6uLw==
Return-Path: <PythonList@DancesWithMice.info>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=danceswithmice.info header.i=@danceswithmice.info
header.b=h5HyrnDc; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.011
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; '(for': 0.05; 'modules':
0.07; 'subject:2022': 0.07; '=dn': 0.09;
'from:addr:danceswithmice.info': 0.09; 'from:addr:pythonlist':
0.09; 'meetup': 0.09; 'received:192.168.1.64': 0.09; 'solution,':
0.09; 'tutorial': 0.12; 'challenge?': 0.16; 'change?': 0.16;
'cope': 0.16; 'demonstrates': 0.16; 'message-
id:@DancesWithMice.info': 0.16; 'namespaces': 0.16;
'received:51.254': 0.16; 'received:51.254.211': 0.16;
'received:51.254.211.219': 0.16; 'received:cloud': 0.16;
'received:rangi.cloud': 0.16; 'subject:October': 0.16;
'subject:September': 0.16; 'python': 0.16; 'to:addr:python-list':
0.20; 'advanced': 0.22; 'run': 0.23; '(and': 0.25; 'again,': 0.26;
'url:events': 0.26; 'url:meetup': 0.26; 'bit': 0.27; 'group.':
0.28; 'header:User-Agent:1': 0.30; 'code,': 0.31; 'before.': 0.31;
'putting': 0.31; 'header:Organization:1': 0.31; 'question': 0.32;
'received:192.168.1': 0.32; 'there': 0.33; 'url-
ip:151.101.130.217/32': 0.35; 'url-ip:151.101.194.217/32': 0.35;
'url-ip:151.101.2.217/32': 0.35; 'url-ip:151.101.66.217/32': 0.35;
'those': 0.36; 'main': 0.37; "it's": 0.37; 'received:192.168':
0.37; 'branch': 0.39; 'finding': 0.39; 'recognition': 0.40;
'learn': 0.40; 'something': 0.40; 'want': 0.40; 'event': 0.40;
'provide': 0.60; 'week': 0.61; 'skip:b 10': 0.63; 'personal':
0.64; 'received:51': 0.64; 'your': 0.64; 'upon': 0.64; 'smart':
0.67; 'office': 0.68; 'change.': 0.69; 'compare': 0.69; 'times':
0.69; 'interest': 0.70; 'virtual': 0.71; 'manage': 0.73; 'site:':
0.76; 'midnight': 0.84; 'subject:Smart': 0.84; 'today!': 0.84;
'zealand': 0.84
DKIM-Filter: OpenDKIM Filter v2.11.0 vps.rangi.cloud 780CA11B4
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=danceswithmice.info;
s=staff; t=1666327266;
bh=zmJhvuEphdu69AAYPXNIvOB57ITmY/Pzo8E244RbIHI=;
h=Date:From:Subject:To:From;
b=h5HyrnDcJdbE624r/D6blMWRgtXC8HIolZLR2255Dpj3+D+cWxtQfZ8pc+e3tXT95
jUomvtnXLkadqz/fBe3AUEcJEpbpJIa0Fgs+5hdmWjDBzFrZpYr1M/JF2DGKPKbtKS
NvKmplonuaQMEfqpnn33gubK3jLOYa7Yui1OIB2u18SxTI+CVU6emM/Z04tSig3VI7
Mp26B+Lih6kBCWonec1kdYCG4a2aLsTBWf51jQsMvPZQPyOT0/lemsj2icJ75HtSZC
bqDxOms4InIUaPpLiWac+rBTff00Sztek+0ZzN9cLVLCz1iXtQT/DdkrYiSPkjsXpF
nqCaiOEtpZjgQ==
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.3.3
Content-Language: en-GB
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
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: <https://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>
X-Mailman-Original-Message-ID: <617bbff9-a5c8-cc3f-bfda-fa2708bdd66f@DancesWithMice.info>
 by: dn - Fri, 21 Oct 2022 04:40 UTC

Challenge-week 3: Generalising the solution, starts today!
Details from the Meetup site:
https://www.meetup.com/nzpug-auckland/events/288813734/
A virtual event run by the Auckland Branch of the New Zealand Python
Users' Group.

It's Week 3 of the Smart Iterator Challenge! Time to see how modules and
namespaces provide building-blocks which enable us to cope with change.
Can you anticipate and manage change? The tutorial demonstrates SOLID's
SRP (and a bit of OCP) for those who want to learn more than Python-coding.

This Challenge will interest Python-Journeymen, and Python-Apprentices
ready to move-on from ‘the basics’. There is a separate-but-related
question for Python-Masters and any advanced Journeymen who are finding
the main Challenge too-easy (available upon personal request), in
recognition of being prepared to help others.

We start with a review of Challenge-week 2 and a sample-answer to
download and compare with your own efforts. Challenge-week 3 starts with
either your own or a provided template-script, so you don't have to have
completed Challenge-weeks 1 and 2 (but it will help). Again, there is a
tutorial in case you haven't met namespaces before. Followed by multiple
specifications to implement.

In many ways, the challenge is not so much writing code, as it is
designing a code-solution. Putting code-modules together, something like
a jig-saw puzzle!

Challenge Schedule: Generalising the solution
Starting: Sat 22 Oct Office Hours: 1830*, Wed 26 Oct Concluding:
midnight after Sun 30 Oct
* all times NZDT (UTC+13)

Are you up for a challenge?
Regards =dn (for Pete and DJ)

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor