"Soft cells and the geometry of seashells" (2024)
https://arxiv.org/abs/2402.04190 :
> A central problem of geometry is the tiling of space with simple
structures. The classical solutions, such as triangles, squares, and
hexagons in the plane and cubes and other polyhedra in three-dimensional
They're dunder methods; double-underscore
/? site:docs.python.org "dunder" methods
https://www.google.com/search?q=site%3Adocs.python.org+%22dunder%22+methods
On Wed, Feb 14, 2024, 10:50 AM kirby urner wrote:
>
> Long termers here will likely remember my fave Pythonic Pedagogy: to
> introduce
Notebooks and Spreadsheets often lack test assertions; which are critical
to quality
"Spreadsheet errors can have disastrous consequences – yet we keep making
them" (2024) https://news.ycombinator.com/item?id=39132512
"""
What are some Software Development methods for reducing errors:
1.
def two():
return 2
```
... Open Source Code, Documentation quality (and Durability of cables
and connectors)
On Mon, Dec 11, 2023 at 3:40 PM Wes Turner wrote:
>
> A few cool tools for Python (and STEM) in application, OTOH:
>
> ## Makecode
> Makecode Arcade has Blocks <->
A few cool tools for Python (and STEM) in application, OTOH:
## Makecode
Makecode Arcade has Blocks <-> Python <-> JS
- New Project > Blocks > +Extensions > Robotics > ~List all
[Makecode-compatible devices]
### vscode.dev
- https://vscode.dev/
- Install "python" extension
- Install "pyodide"
"5 Required Steps to Get Your Video Content on YouTube Kids"
https://air.io/en/academy/5-required-steps-to-get-your-video-content-on-youtube-kids
"Determining if your content is "made for kids""
https://support.google.com/youtube/answer/9528076
On Sun, Apr 9, 2
These queries with a YouTube Kids profile return [comparatively] few
results;
- Python
- Jupyter
- JupyterLite
- birdseye debugger
- jsxgraph jupyter
- sympy arithmetic
How could PSF or NumFOCUS (PyData) or similar create kid-safe arithmetic
(as algebra) and geometry and calculus *videos* for
c_method
Why are LLMs picking random positive integers 42 and 7 most frequently?
On Fri, Mar 24, 2023, 12:20 AM Jurgis Pralgauskis <
jurgis.pralgaus...@gmail.com> wrote:
> I suspect some nice things are comming - see examples of "Socratic tutor"
> :)
>
> https://open
On Wed, Jan 4, 2023 at 4:34 PM Wes Turner wrote:
> What are the expected limitations of [ChatGPT]?
>
> What is "Prompt Engineering"?
> [Prompt engineering - Wikipedia](
> https://en.wikipedia.org/wiki/Prompt_engineering )
>
> What lessons about technology relia
uot;Is there any way to get the step-by-step solution in SymPy?"
[like e.g. paid WolframAlpha and PhotoMath do]
https://stackoverflow.com/questions/39359220/is-there-any-way-to-get-the-step-by-step-solution-in-sympy
On Wed, Jan 4, 2023, 5:13 PM Wes Turner wrote:
> Should we exp
istributed system failure
- "Which data series predict recession, and with what confidence?"
- Known good: Bond Yield-Curve Inversion
- "Which economic interventions are appropriate for the current conditions?"
#EvidenceBasedPolicy
On Wed, Jan 4, 2023, 4:34 PM Wes Turner w
What are the expected limitations of [ChatGPT]?
What is "Prompt Engineering"?
[Prompt engineering - Wikipedia](
https://en.wikipedia.org/wiki/Prompt_engineering )
What lessons about technology reliance could you teach, in regards to
Clippy?
- "What is ChatGPT? Wrong answers only"
- Human_n:
on, Sep 5, 2022, 8:07 PM Wes Turner wrote:
> "Support for PyScript & Brython"
> https://github.com/microsoft/vscode-python/issues/19415
>
> -
> https://marketplace.visualstudio.com/items?itemName=HardeepSingh.pyscript
>
> Jupyter support in VSCode:
> - https:/
"Support for PyScript & Brython"
https://github.com/microsoft/vscode-python/issues/19415
- https://marketplace.visualstudio.com/items?itemName=HardeepSingh.pyscript
Jupyter support in VSCode:
- https://code.visualstudio.com/docs/datascience/jupyter-notebooks
JupyterLite has p5 js support. Khan
```bash
WEB=python -m webbrowser
# Install mambaforge (which includes CPython, conda, and mamba) for your
CPU/OS:
$WEB https://github.com/conda-forge/miniforge#mambaforge
# Install the tools
mamba install -y jupyterlab povray
#conda install -c conda-forge -y jupyterlab povray # pyglfw
conda env
Student:
Master Fu:
Student: How do I learn pythonz?
Master Fu: Prepare a document of your learnings, references, search engines
Student: How do I learn pythonz?
Master 2: Just take this one course
Student: How do I really learn pythonz?
Master Fu: Apply what you have learned to solving others'
https://docs.python.org/3/whatsnew/3.10.html#pep-634-structural-pattern-matching
"PEP 636 -- Structural Pattern Matching: Tutorial"
https://www.python.org/dev/peps/pep-0636/
"Computational Fairy Tales: Computer science concepts as told through fairy
tales."
Actually what does that look like with a stack within one function call? Is
it always possible to write recursive functions with a stack (in order to
avoid and the function call overhead (which includes a locals() dict on a
stack anyway for every function call))
"Why is a function/method call
On Wed, Oct 6, 2021, 20:17 Wes Turner wrote:
> SensorCraft,
>
https://github.com/AFRL-RY/SensorCraft
- [ ] ENH: Convert to Jupyter-Book w/ Notebooks and an environment.yml for
(local) repo2docker
> https://news.ycombinator.com/item?id=26428340
>
> > I just f
SensorCraft,
https://news.ycombinator.com/item?id=26428340
> I just found this:
https://coderdojotc.readthedocs.io/projects/python-minecraft/en/latest/
> This documentation supports the CoderDojo Twin Cities’ Build worlds in
Minecraft with Python code group. This group intends to teach you how
On Wed, Sep 22, 2021, 12:11 Wes Turner wrote:
>
> Presumably some of these apps built with urwid have *automated tests* of
> UI functionality; in order to accelerate development progress we write the
> program to test the program: the other half - or better - of the actu
Urwid solves a similar problem:
> Similar projects
> npyscreen
> curtsies
> Python Prompt Toolkit
Src: https://github.com/urwid/urwid
Docs: http://urwid.org/tutorial/
There are tests for urwid:
https://github.com/urwid/urwid/tree/master/urwid/tests
Presumably some of these apps built with
tml#ipfs
#fs; how to store the CRDT in the git repo with the JupyterLite build for
all time
On Tue, Sep 7, 2021, 10:30 Jurgis Pralgauskis
wrote:
> Time-travel seems most like what I expect.
> But can it hold messages, and mark/tag special points in time..?
>
>
>
> 2021-09
.io/en/latest/_static/retro/index.html
Is it possible to "replay" a notebook [rtc CRDT,] in static HTML+JS+WASM
with JupyterLite?
On Tue, Sep 7, 2021, 09:41 Wes Turner wrote:
> > CoCalc calls “Time Travel” the historic recording of all changes in a
> file. This works for al
source
https://schema.org/teaches
https://github.com/quobit/awesome-python-in-education#interactive-environments
- [ ] has undo, etc
- https://www.codesters.com/?lang=en
On Tue, Sep 7, 2021, 09:29 Wes Turner wrote:
> https://github.com/asciinema/asciinema
>
> https://github.com/m
https://github.com/asciinema/asciinema
https://github.com/marionebl/svg-term-cli :
> Render asciicast to animated SVG
> Share asciicasts everywhere (sans JS)
Such as READMEs, Jupyter-book MyST Markdown and/or Jupyter notebooks
https://github.com/brunopulis/awesome-a11y
A11y: accessibility
Having worked on a (medical) checklist app, are you looking for more of a
rubric?
Factor weightings for comparing potential dev environments?
https://en.wikipedia.org/wiki/Rubric_(academic)
https://www.google.com/search?q=rubric=isch
%doctest_mode? output from IPython probably needs to be wrapped in a fenced
code block?:
```python
>>> help(help)
>>> help(dir)
>>> dir(dir)
>>> help(__import__('IPython.display.display'))
```
On Wed, Feb 3, 2021, 15:41 Wes Turner wrote:
> You can expo
You can export notebook inputs to (hopefully mostly hyperkitty-compatible)
Markdown with jupytext:
```bash
conda install -c jupytext jupyterlab
jupyter-lab
# Pair with Markdown, light, percent, hydrogen
# Click refresh in the file pane to see the jupytext-linked copy
```
Pandoc can convert the
at the Raspberry Pi machines can
> do in such small packages.
The conda-forge packages should also work with containers in e.g. crouton
on ARM chromebooks.
>
> Thanks again for the input!
>
> Best,
> Dave
>
> --
> David M. Whipp, Professor
>
> Institute of Seismology |
On Tue, Feb 2, 2021, 11:30 kirby urner wrote:
>
> Hi Dave --
>
> Thank you for this excellent online course material re Python and the
> geosciences.
>
> I've added a section to my evolving "elite school" repo listing courses
> and curriculum
> using Jupyter Notebooks, as I want to impress upon
HyperKitty, the mailman list archive web interface (a Django app), does
render Markdown:
https://mail.python.org/archives/list/edu-sig@python.org/message/UAY6RKKGX6VST62LCJ6NXPCIA4CNKSXZ/
I'm actually not sure
how to view the original SMTP message source in hyperkitty? Maybe as a
per-user
/develop/pypfi/datagenerator.py
There are apparently other life skills that can probably be Python'd,
though:
"Ask HN: What are good life skills for people to learn?"
https://news.ycombinator.com/item?id=24605807
https://westurner.github.io/hnlog/#story-24605807
On Sat, Jan 30, 2021,
> (2) Here's my latest idea of a contemporary Python class, done in
evolving Jupyter Notebooks, a growing maze of pages to explore and talk
about (no enumeration of lessons).
Is there a graph of curriculum resources with URI names that are associated
with concept URIs (e.g. Wikipedia/Dbpedia
hon and JS (and/or translated).
https://greenteapress.com/wp/think-python-2e/
- There'd need to be some sort of way to display the comparative code
samples as grouped together but not with tabs.
On 10/15/20, Wes Turner wrote:
> # Python and JS resources, Jupyter notebooks and multiple languages, tools
&g
uot; in the curricula around
> here (less so JS, because of the reasons I mentioned -- morphing
> so fast). One needn't abandon the C/C++ track as if it's now
> obsolete. We're just not accustomed to offering so many branch
> points in early education. There's a bias around here
Glad to help! There's so much time to learn during quarantine!
Writing tests for myself because I <3 them so much;
and because they're the missing half of the code.
Like camper_program.py, IPython is a REPL (Read Evaluate Print Loop :)
```bash
$ pip install ipython; ipython
```
```python
>>> ?
/nbgitpuller/ is ~free, nbgrader is ~free,
CoCalc Courses includes nbgrader and is free
https://cocalc.com/doc/teaching.html
https://cocalc.com/doc/compare.html
On Fri, Apr 10, 2020 at 6:34 PM Wes Turner wrote:
> That link to GitHub Learning Lab should be: https://lab.github.com/
> -
/cookiecutter-data-science
- https://lab.github.com/githubtraining/create-a-release-based-workflow
(90m)
On Fri, Apr 10, 2020 at 5:52 PM Wes Turner wrote:
>
>
> On Fri, Apr 10, 2020 at 4:40 PM kirby urner wrote:
>
>>
>> Thank you very much for the pull requests Wes! I got
On Fri, Apr 10, 2020 at 4:40 PM kirby urner wrote:
>
> Thank you very much for the pull requests Wes! I got notification by
> email.
>
> They may be against a version that no longer exists, but no matter. We're
> gonna poke around live on camera, starting in about 30 minutes. We go for
> 2.25
"Ask HN: What's the Equivalent of 'Hello, World' for a Quantum Computer?"
https://news.ycombinator.com/item?id=22707580
https://westurner.github.io/hnlog/#story-22707580
"Getting Started with Qiskit"
> https://qiskit.org/documentation/getting_started.html
>
> Qiskit / qiskit-community-tutorials >
Dumbcoin - An educational python implementation of a bitcoin-like
blockchain"
https://github.com/julienr/ipynb_playground/blob/master/bitcoin/dumbcoin/dumbcoin.ipynb
- https://en.wikipedia.org/wiki/Hyperledger#Members_and_governance
On Thu, Apr 9, 2020 at 10:30 PM Wes Turner
Are there unit tests for the supported operations?
Is the UI logic a separate testable unit?
Does it just fatal exception when parsing fails; or does the REPL loop
catch the e.g. Value error?
Instead of a CLI eval wrapper with regex, you could use ipywidgets in a
notebook:
ttps://hyperledger-fabric.readthedocs.io/en/latest/
On Tue, Mar 24, 2020, 10:39 AM Wes Turner wrote:
> Khan Academy resources:
>
> "Estimating actual COVID 19 cases (novel corona virus infections) in an
> area based on deaths" on YouTube
> https://youtu.be/mCa0JXEwD
org/partner-content/learnstorm-growth-mindset-activities-us
On Tue, Mar 24, 2020, 10:26 AM Wes Turner wrote:
> Why does this turn negative at 40 timesteps?
>
> !conda install -y pandas matplotlib || pip install -y pandas matplotlib
>
> %matplotlib inline
>
> import pandas as
(
lambda x: '{:,}'.format(x))
...
Jupyter keyboard shortcuts:
a -- insert cell above
b -- insert cell below
-- split cell at cursor
m -- set cell type to Markdown
y -- set cell type to Code
On Tue, Mar 24, 2020, 9:49 AM Wes Turner wrote:
> https://en.wikipedia.org/wiki/Epidemiology
>
&
://en.wikipedia.org/wiki/Technology_adoption_life_cycle#See_also
On Tue, Mar 24, 2020, 9:36 AM Wes Turner wrote:
> A thread to share [collections of] resources, curriculum ideas, etc. about
> and for during the COVID-19 epidemic
>
> Lots of analyses, some data, some helpful contributions, lo
A thread to share [collections of] resources, curriculum ideas, etc. about
and for during the COVID-19 epidemic
Lots of analyses, some data, some helpful contributions, lots of people
learning about exponential growth
One video I saw mentioned that a person normal flu infects about 1.3-1.4
other
pyt...@gmail.com> wrote:
> This answer should have been added on the awesome answer repo!
>
> Kind Regards,
>
> Abdur-Rahmaan Janhangeer
> compileralchemy.com <https://www.compileralchemy.com> | github
> <https://github.com/Abdur-rahmaanJ/>
> Mauritius
>
>
> On We
On Wed, Mar 18, 2020, 6:59 AM Jason Blum wrote:
>
> Hello!
>
> I've been toying with the idea of recruiting mentors to commit to one hour
> a week to moderate a channel on https://gitter.im/ or
> https://discordapp.com/ or even IRC, specifically geared towards
> supporting kids working through
On Wed, Jan 29, 2020, 5:59 PM kirby urner wrote:
>
>
> Yes, I've especially used gmpy2 and met the maintainer at a user group,
> worked at Mentor Graphics as I recall, and was collaborating with Alex
> Martelli on getting Python such a library. Most of my Jupyter Notebooks
> exploring high
There's a three.js renderer for 3D graphics in Sage:
https://doc.sagemath.org/html/en/reference/plot3d/
On Wed, Jan 29, 2020, 5:21 PM Wes Turner wrote:
> You've probably already considered SymPy or Sage (which is installable
> with conda now)?
>
>
> https://docs.sympy.or
You've probably already considered SymPy or Sage (which is installable with
conda now)?
https://docs.sympy.org/1.5.1/modules/evalf.html :
>>> N(sqrt(2)*pi, 5)
4.4429
>>> N(sqrt(2)*pi, 50)
4.4428829381583662470158809900606936986146216893757
https://github.com/sympy/sympy/wiki/Dependencies :
>
Hey cool!
https://github.com/quobit/awesome-python-in-education/blob/master/README.md#interactive-environments
On Tue, Jan 28, 2020, 3:02 PM Juliano wrote:
> Exciting!
> Congratulations.
>
> Juliano Fischer Naves
>
> Please do not send me Microsoft Office/Apple iWork documents. Send
>
On Monday, August 5, 2019, kirby urner wrote:
>
>
> Like many contemporary authors and curriculum developers, I've been
> introducing Jupyter Notebooks as a good mix of skills, as you have both the
> Python and the web page design aspects. Again, none of this works well on
> a smartphone.
>
nbgrader and/or jupyter-edx-grader-xblock may be useful for your use cases
as well. It's a good idea to run Python code in containers or in JS in the
browser. JupyterHub helps with running code in containers. TLJH (The
Littlest JupyterHub) is one way to host Jupyter notebooks with nbgrader for
Thanks!
On Thursday, July 11, 2019, Naomi Ceder wrote:
> Lovely! Thank you, Mark!
>
> Cheers,
> Naomi
>
> On Thu, 11 Jul 2019 at 13:32, Mark Sapiro wrote:
>
>> On 7/11/19 9:38 AM, Naomi Ceder wrote:
>> > As one of the moderators/owners I'd be all in favor... it makes things
>> > so much easier
What say we migrate edu-sig to mm3?
-- Forwarded message --
From: *Victor Stinner*
Date: Wednesday, June 5, 2019
Subject: [Python-Dev] python-ideas and python-dev migrated to Mailman
3/HyperKitty
To: python-dev
Hi,
Our kind postmasters Mark Sapiro and Abhilash Raj migrated
On Sunday, June 23, 2019, kirby urner wrote:
>
>
> On Sun, Jun 23, 2019 at 4:12 PM Wes Turner wrote:
>
>
>> Yes, my friend Gerald de Jong was a first adapter of "elastic interval
>>> geometry" where every "rod" is a tension-compression spring g
On Sunday, June 23, 2019, kirby urner wrote:
>
>
> On Sun, Jun 23, 2019 at 12:57 PM Wes Turner wrote:
>
>>
>>
>> On Sunday, June 23, 2019, C. Cossé wrote:
>>
>>> I'll bet every one of those graphing calcs has also been replicated as a
>>>
d be fine.
>
> On Sun, Jun 23, 2019 at 12:14 PM Wes Turner wrote:
>
>> > It would be a good team-teaching lesson, one teacher on the white-board
>> lecturing, and the other typing the python-translation of the lecture into
>> code on a big screen.
>>
&
time including timezones and daylight savings definitely core
>> curriculum, no question, glad we have datetime tools.
>>
>> Again, back to the end of the calculator era, they suck at calendar
>> datetime, and besides, the API of a bazzillion little buttons sucks.
>
del the cognitive process of
model development? Modeling a mature process for correcting for mistakes
and errors is sometimes absent from prepared demos that make it look like
it's so easy for *them* (because they spent time preparing and rehearsing)
On Sunday, June 23, 2019, Wes Turner wrote:
>
>
&g
On Sunday, June 23, 2019, C. Cossé wrote:
>
>
> On Sun, Jun 23, 2019 at 11:36 AM Wes Turner wrote:
>
>>
>> In one lesson developing a simple solar system in pygame, for example,
>> you can teach everything from the meaning of pi, periodic motion, dynamic
&g
... Number representations: change of base; Columns in e.g.
Pandas; Trigonometry: Sin, Cos
On Sunday, June 23, 2019, Wes Turner wrote:
>
>
> On Sunday, June 23, 2019, C. Cossé wrote:
>
>> Hi Kirby,
>>
>> I think kids should write their own plotting routines to gra
On Sunday, June 23, 2019, C. Cossé wrote:
> Hi Kirby,
>
> I think kids should write their own plotting routines to graph their
> functions starting anywhere 3rd-7th grade.
>
> In one lesson developing a simple solar system in pygame, for example, you
> can teach everything from the meaning of
After K-12 years of compulsory math education, no-one (no-one!) taught me
that there are CAS (Computer Algebra Systems) like SymPy and Sage; other
than that better calculators are not allowed because that's an unfair
advantage.
Simplified cost and revenue models with fixed and variable expenses
Or ``a.__get__('x')`` ?
On Tuesday, April 16, 2019, Wes Turner wrote:
> > Direct Call
> The simplest and least common call is when user code directly invokes a
> descriptor method: x.__get__(a).
>
> Should this be `a.__get__(x)`?
>
> On Tuesday, April 16, 2019, Wes Turn
> Direct Call
The simplest and least common call is when user code directly invokes a
descriptor method: x.__get__(a).
Should this be `a.__get__(x)`?
On Tuesday, April 16, 2019, Wes Turner wrote:
> When you access an attribute of a class object (a dict), the class
> attribute is
When you access an attribute of a class object (a dict), the class
attribute is looked up by __get__().
the class's instance of that function attribute is 'bound'; it receives
'self' (an object reference) as its first argument.
If you write your own __get__ (e.g. with functools.partial or
x value
'\u0394'
>>> "\U0394" # Using a 32-bit hex value
'\u0394'
... The u is silent (and optional).
On Tuesday, January 29, 2019, Wes Turner wrote:
>
>
> On Tuesday, January 29, 2019, kirby urner wrote:
>
>>
>> Thanks Wes,
On Tuesday, January 29, 2019, kirby urner wrote:
>
> Thanks Wes, especially for the URLs relating type theory to "HoTT" by way
> category theory.
>
> My friend and co-podcaster Alex, a math-physics-philo guy, has been
> pushing me to bone up in that area [1]. Those links really helped.
>
https://en.wikipedia.org/wiki/Type_theory
https://en.wikipedia.org/wiki/Type_theory#Difference_from_set_theory
https://en.wikipedia.org/wiki/Type_theory#Relation_to_category_theory
https://en.wikipedia.org/wiki/Homotopy_type_theory ("HoTT")
https://en.wikipedia.org/wiki/Type_signature ("Type
This approach will expand (even further) the interoperability that exists
within the Open Badge ecosystem.
On Friday, January 25, 2019, Wes Turner wrote:
> OpenBadges
>
> https://openbadges.org/get-started/issuing-badges/
>
> > Open Badges provide a flexible way to recognize lear
OpenBadges
https://openbadges.org/get-started/issuing-badges/
> Open Badges provide a flexible way to recognize learning wherever it
happens, in and out of formal education and the workplace. They can
represent any achievement from simple participation to evidence-backed
competency development.
"Citing packages in the SciPy ecosystem"
https://www.scipy.org/citing.html
"[Python-Dev] Official citation for Python"
- Tools for citations
- Whether it's even appropriate to cite Python?
- How to cite a version of a schema:SoftwareApplication
Speaking of proofs and not calculators, this dropped on HN this week:
"Formalizing 100 theorems in Coq"
> This is an appendix to Freek Wiedijk's webpage on the "top 100"
mathematical theorems, to keep track of the statements of the theorems that
are formalised in Coq.
https://madiot.fr/coq100/
ng out a use case vis-a-vis mailman,
> confirming insights by Wes.
>
> On Thu, Aug 30, 2018 at 3:16 PM Wes Turner wrote:
>
> ...
>
>> TBH, securing and upgrading mailing lists is beyond the competencies of
>> most volunteer-run organizations;
>> which is
Mailman list admin resources, scope clarification
Here are the mailman 3 docs:
http://docs.mailman3.org/en/latest/
IDK how much of the mailman 2 docs still apply?
https://www.gnu.org/software/mailman/docs.html
Here's the first result for search("docker mailman")
ists
- [x] python-ideas
- [x] python-dev
- [ ] tutor
"Python Community Code of Conduct"
https://www.python.org/psf/codeofconduct/
But where does it teach me TO mailing list?
I think that's the real question here.
On Thursday, August 30, 2018, Wes Turner wrote:
>
>
> On Thursda
On Thursday, August 30, 2018, Wes Turner wrote:
>
> Was: "Re: [Edu-sig] Python teacher notes, preparing for class..."
>
Here's a link to the thread this is forked from:
https://mail.python.org/pipermail/edu-sig/2018-August/012007.html
https://markmail.org/search/?q=list%3
What are some good resources for learning how to mailing list?
Was: "Re: [Edu-sig] Python teacher notes, preparing for class..."
On Thursday, August 30, 2018, Wes Turner wrote:
> Mailing list tips and tricks, PEPs, Write the Docs
>
> Since you asked, although
¶"
https://devguide.python.org/documenting/
The ultimate source of Python documentation (an often-cited strength of
Python as a language choice):
https://github.com/python/cpython/tree/master/Doc
"16. Accepting Pull Requests¶"
https://devguide.python.org/committing/
On Thursday, Augus
On Thursday, August 30, 2018, kirby urner wrote:
>
>
> Thanks. Yes, I'll add some links to the docs as you suggest. Great
> feedback!
>
Glad to be helpful.
I've trimmed out the text I'm not replying to and tried to use plaintext
only in order to: make sure the thread stays below the 40K
> By default, the sorted function looks at the leftmost element of a tuple
or other iterable, when sorting...
AFAIU, sorted() compares the whole object.
https://docs.python.org/3/howto/sorting.html
>>> l = [(3, 2), (3, 1), (1, 1, 2), (1, 1)]
>>> sorted(l)
[(1, 1), (1, 1, 2), (3, 1), (3, 2)]
On Monday, August 27, 2018, kirby urner wrote:
>
> My flight plan for sharing Python this evening, adult audience, real time
> in cyberspace, includes going backstage to survey the Python for Developers
> view.
>
> That will mean optionally cloning the Github site that's mainly a Sphinx
> HTML
Optimization for real-world data.
Morse code is a good one; which leads to the entropy of real-world English
letters: how probable are the letters A, E, and Z? How probable is the
3-gram of letters 'AEZ'? A well-balanced tree could take this knowledge
into account and sparsely add 'nodes' without
Someone can probably better explain how setattr(object) and
setattr(object()) work in regards to `self` as a bound positional
parameter? Also, @classmethod and @staticmethod.
On Tuesday, August 14, 2018, Wes Turner wrote:
> You can probably do sorting, inheritance, and interfaces at the s
You can probably do sorting, inheritance, and interfaces at the same time?
An ISortable object must have a .sort() method. e.g.
DoublyLinkedList(LinkedList).
"15 Sorting Algorithms in 6 Minutes"
https://youtu.be/kPRA0W1kECg
- # of comparisons
- # of array accesses
... Big-O Cheat Sheet
- [ ] Develop URIs for K12CS framework, Common Core, Khan Academy concepts
- [ ] Encourage educational CreativeWork creators to include schema.org
markup in their HTML:
- schema.org/about
- schema.org/educationalAlignment .url @id
- https://schema.org/educationalFramework
- [ ] Develop
Spyder has code cell support for evaluating a delimited block of code at a
time:
```python
#%% cell 1
print(1)
# In[0]: (cell 2)
print(2)
```
- Ctrl-Return -- Run cell
- Shift-Return -- Run cell and advance
$ conda install -y spyder
You can export Jupyter notebooks to .py files with the
> 4. Create a visualization
The Khan Academy Computer Programming "Intro to JS" videos and exercises
are done with ProcessingJS for visualizations:
https://www.khanacademy.org/computing/computer-programming
On Sunday, June 24, 2018, Wes Turner wrote:
>
>
> On Sunday,
On Sunday, June 24, 2018, wrote:
> Dear Python educators,
>
>
>
> teaching Python includes explaining technical facets of the programming
> language and initiating and scaffolding hands-on programming exercises.
>
> However, especially if the object of the course is to develop
> “computational
eases.rst
> Note
> Coming Soon
>
> We’re actively working on a graphic that displays each project, their
current release, and a link to the changelog. Thanks for your patience
>
>
> Sergio
>
>
>
> Sent: Sunday, June 17, 2018 at 4:32 PM
> From: "Wes Turner
Jupyter, binder-ready, GitHub Topics, Framework :: Jupyter
- https://github.com/markusschanta/awesome-jupyter
awesome-jupyter
-
https://github.com/westurner/awesome-jupyter/blob/59e79fb96537d9e65bfb3e027b988956b2e42f42/README.md#jupyter-notebook-jupyterhub-jupyterlab
-
On Thu, Jun 14, 2018 at 3:29 PM kirby urner wrote:
>
> I notice the worries about dragons expressed here:
>
> http://www.openbookproject.net/books/StudentCSP/CSPRepeatNumbers/range.html
>
> The type versus function distinction is too big an idea to get into here.
> Skulpt is 2.x flavored for
On Fri, Jun 8, 2018 at 10:47 PM Wes Turner wrote:
> Python parameter and return type hints are expressed as function
> annotations which import and derive types from the typing module and the
> typeshed.
>
> - PEP 3107 -- Function Annotations
> https://www.python.org
Python parameter and return type hints are expressed as function
annotations which import and derive types from the typing module and the
typeshed.
- PEP 3107 -- Function Annotations
https://www.python.org/dev/peps/pep-3107/
- PEP 0484 -- Type Hints
https://www.python.org/dev/peps/pep-0484/
On Sunday, June 3, 2018, kirby urner wrote:
> Responding to the most recent by Wes...
>
> Excellent & Comprehensive. Thanks for bringing sys.refcount to the table.
>
> I think newcomers sometimes grow in confidence when they get these peeks
> into back stage behind-the-scenes stuff.
>
> As long
From
https://gist.github.com/westurner/6f165149df59d697b997d305e9743dee#file-010-variables-ipynb
:
# coding: utf-8
# # Python variables, references, aliases, garbage collection, scope
# - Objective: teach CS variables, references, and aliases
# - Objective: identify differences between
1 - 100 of 158 matches
Mail list logo