380 links
  • Cat's Whisker Links
  • Home
  • Login
  • RSS Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
page 1 / 1
14 results tagged python x
  • How I draw figures for my mathematical lecture notes using Inkscape | Gilles Castel
    How to quickly edit SVG figures in Inkscape (using a custom Xlib-based shortcut manager) and insert the results in a LaTeX document. Gilles Castel is a note-taking wizard.
    Wed 20 May 2020 02:50:14 PM MDT - permalink -
    QRCode
    - https://castel.dev/post/lecture-notes-2/
    inkscape latex python vim
  • Notes on structured concurrency, or: Go statement considered harmful — njs blog
    The author of Trio (Python concurrency library) explains their concept of lexically-structured concurrency
    Thu 23 Jan 2020 11:01:39 AM MST - permalink -
    QRCode
    - https://vorpus.org/blog/notes-on-structured-concurrency-or-go-statement-considered-harmful/
    golang programming python
  • Understanding nested list comprehension syntax in Python — /var/
    Python's syntax for nested list comprehensions always seemed backwards to me; here's an explanation for why it is the way it is. I still think nested for-loops are easier to read.
    Thu 11 Oct 2018 12:11:28 AM MDT - permalink -
    QRCode
    - https://spapas.github.io/2016/04/27/python-nested-list-comprehensions/
    programming python
  • “Concurrency made easy”: coming soon to a programming language near you
    Sat 29 Sep 2018 07:14:57 PM MDT - permalink -
    QRCode
    - https://medium.com/@belm0/concurrency-made-easy-d3fdb0382c58
    golang programming python
  • Clearing memory in Python by Sjoerd Langkemper
    On the pitfalls of trying to keep secrets out of Python's memory. [Spoiler: there's no good way.]
    Wed 21 Feb 2018 12:09:21 PM MST - permalink -
    QRCode
    - https://www.sjoerdlangkemper.nl/2016/06/09/clearing-memory-in-python/
    programming python security
  • Everything you never wanted to know about file locking by apenwarr
    I feel like I end up reading this once a year, usually when I'm trying to write a [python] script that needs to run from a cron script without clobbering its own files if one instance is started before the previous one is finished.

    See also my shelfcache Python3 package which provides a thread- and multiprocess-safe key-value caching store on top of the standard library's shelve module: https://github.com/cristoper/shelfcache
    Mon 19 Feb 2018 10:53:10 PM MST - permalink -
    QRCode
    - https://apenwarr.ca/log/?m=201012#13
    python software unix
  • wav2vec: Python package to convert wave files (WAV or AIFF) to vector graphics (SVG, PostScript, CVS)
    A python script/package I wrote for converting audio wave files to vector graphics.
    Mon 12 Feb 2018 09:53:30 PM MST - permalink -
    QRCode
    - https://github.com/cristoper/wav2vec
    projects python
  • Making waveform art with wav2vec and Inkscape
    Someone wrote this tutorial (Japanese) on using my wav2vec python script [1] to create graphics from audio waveforms.

    Google's English translation:
    https://translate.google.com/translate?hl=en&sl=ja&tl=en&u=http%3A%2F%2Fwww-b.uec.tmu.ac.jp%2Fshakuhachi%2FSonicPi%2F%23SoundWaveArt

    1: https://github.com/cristoper/wav2vec
    Mon 12 Feb 2018 09:49:16 PM MST * - permalink -
    QRCode
    - http://www-b.uec.tmu.ac.jp/shakuhachi/SonicPi/#SoundWaveArt
    python wav2vec
  • Injecting a Chess Engine into Amazon Redshift
    The one where Michael Burge writes a chess engine to demonstrate how to load and execute arbitrary machine code from a Python user-defined function from within Amazon's Redshift database service.
    Thu 14 Sep 2017 09:47:46 AM MDT - permalink -
    QRCode
    - http://www.michaelburge.us/2017/09/10/injecting-shellcode-to-speed-up-amazon-redshift.html
    c chess programming python sql
  • Contributing os.scandir() to Python
    Ben Hoyt's account of contributing a feature to Python's standard library is a good account of the open-source process gone well.
    Mon 04 Sep 2017 09:43:39 AM MDT - permalink -
    QRCode
    - http://benhoyt.com/writings/scandir/
    opensource programming python
  • More Dots: Syntactic Loop Fusion in Julia
    I haven't used Julia for anything yet, but I like that it not only optimizes explicit for-loops, but it also fuses code using vectorized-syntax even for user-defined functions and types. Compared to Matlab/Octave, Python, and R where loops are very (very)* slow and vectorized code is only fast for certain operations and library functions, it is appealing.

    Julia also has annotations that can be use to explicitly tell the compiler to turn off bounds checking and emit SIMD instructions for loops.

    * The Numba package brings JIT capability to CPython (and so numpy), and probably compares most favorably to Julia than the other languages. Octave also has an experimental JIT compiler (seems like a lot of overhead going from interpreter to machine code), as do recent versions of Matlab (since R2015b). R since 2.14.0 includes the 'compiler' package, a bytecode interpreter and JIT (which compiles to bytecode, not machine code), which probably helps for long-running loops.
    Wed 30 Aug 2017 12:57:01 PM MDT * - permalink -
    QRCode
    - https://julialang.org/blog/2017/01/moredots
    julia matlab numpy octave programming python r
  • The History of Python: Origins of Python's "Functional" Features
    Guido recounts some of the history of adding closures to Python.
    Tue 22 Aug 2017 11:43:55 AM MDT - permalink -
    QRCode
    - http://python-history.blogspot.com/2009/04/origins-of-pythons-functional-features.html
    programming python
  • How the heck does async/await work in Python 3.5?
    Brett Cannon traces the evolutionary path from Python 2's generators to Python 3.5's async/await coroutines.
    Tue 22 Aug 2017 09:26:40 AM MDT - permalink -
    QRCode
    - https://snarky.ca/how-the-heck-does-async-await-work-in-python-3-5/
    programming python
  • Everything you never wanted to know about file locking by apenwarr
    On the futility of Unix file locks (especially on networked file systems).

    Note that Linux 3.15 introduced "open file description locks" to fcntl, which combines the semantics of BSD flock (lock associated with open file) with the record-locking and NFS-compatibility of fcntl. That solves everything except for portability.
    Sun 02 Apr 2017 07:02:28 AM MDT - permalink -
    QRCode
    - http://apenwarr.ca/log/?m=201012#13
    programming python unix
Links per page: 20 50 100
page 1 / 1
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation