Search results
May 28, 2024 · Project description. Rapid development assistant, and fast command runner for Python projects. thx (“thanks”) is capable of running arbitrary jobs, configured via simple options in the PEP 518 standardized pyproject.toml. Jobs can be run on multiple Python versions at once, and independent steps can be executed in parallel for faster results.
thx¶ Rapid development assistant, and fast command runner for Python projects. thx (“thanks”) is capable of running arbitrary jobs, configured via simple options in the PEP 518 standardized pyproject.toml. Jobs can be run on multiple Python versions at once, and independent steps can be executed in parallel for faster results.
May 16, 2011 · def inner(y=2): return x+y. When the file is parsed by python via compile(), the above text is turned into bytecode for how to execute the module. In the module bytecode, there are two "code objects", one for the bytecode of outer() and one for the bytecode inner(). Note that I said code objects, not functions - the code objects contain little ...
- Random Number Generation
- Pythagorean Tuning
- Related Posts
First is that part of the construction of the sound depended on a random number generator. The voices start in a random configuration and slowly reach the target D major chord at the end. Apparently the random number generator was not seeded in a reproducible way. This was only mentioned toward the end of the show, and a teaser implies that they’ll...
The other thing to mention is that the final chord is based on Pythagorean tuning, not the more familiar equal temperament. The lowest note in the final chord is D1. (Here’s an explanation of musical pitch notation.) The other notes are D2, A2, D3, A3, D4, A4, D5, A5, D6, and F#6.
The original sound mix of the Cimarron trailer was recalled in 1992, due to complaints from cinema projectionists, by claiming it “blew up cinema speakers,”. (Wikipedia) The original 30-year-old C program [that generated the theme] is 325 lines, and the “patch” file for the synthesizer was 298 more lines. I guess it just felt like ...
$ thx lint > flake8 thx > ufmt check thx $ thx test > python -m unittest thx.tests They can also be run together in order, similar to makefiles: $ thx test lint > python -m unittest thx.tests > flake8 thx > ufmt check thx By default, thx uses the active Python runtime for jobs, but can also run jobs on multiple runtimes in parallel:
Here is the original THX logo theme and animation, just as we heard it in the theater in the B-building on Kerner Blvd in San Rafael, CA, sometime in early 1983 (not sure of the exact date). Hmm. I noticed that the version I reference above is a bit glitchy.