CTimmerman
Follow
Main: https://github.com/CTimmerman
Gists: https://gist.github.com/CTimmerman
- The Netherlands
- https://ceestimmerman.blogspot.nl/
Pinned Loading
-
LSD radix sort in Python with speed-...
LSD radix sort in Python with speed- and doctest test. 1"""Ported from https://www.java67.com/2018/03/how-to-implement-radix-sort-in-java.html
2Sort an integer list in-place using least significant digit radix sort in Python.
3Usage:
4>>> x = [180, 50, 10, 30, 10, 29, 60, 0, 17, 24, 12]; radix_sort(x); x
5[0, 10, 10, 12, 17, 24, 29, 30, 50, 60, 180]
-
Proving that simple for loops are fa...
Proving that simple for loops are faster for both man and machine. 1""" SICP section 2.2.3, page 160.
2We can rearrange the pieces and use them in computing the product of the squares of the odd integers in a sequence:
34(define (product-of-squares-of-odd-elements sequence) (accumulate * 1 (map square (filter odd? sequence))))
5(product-of-squares-of-odd-elements (list 1 2 3 4 5))
-
Technology preferences / tech prefs.
Technology preferences / tech prefs. 1# My Technology Preferences
23For those who don't bother to remember.
45## Hardware
-
Resume HTTP download proof of concep...
Resume HTTP download proof of concept (POC) / minimum viable product (MVP). Let unstable internet be no problem working with pip on the road, please. 1"""Download with automatic resume.
22018-06-28 v1.0 by Cees Timmerman
32018-07-09 v1.1 Added If-Unmodified-Since header for consistency."""
4import os, shutil, sys, time
5import requests # python -m pip install requests
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.