The principle of this aNEP is to separate the APIs for masking and for missing values, according to
- The current implementation of masked arrays
- Nathaniel Smith's proposal.
| # https://github.com/matplotlib/matplotlib/issues/881 | |
| # Several of the ColorBrewer maps are "qualitative", meaning | |
| # they are just a group of colors that can be used together | |
| # for categories of data. So I remapped Accent to segments | |
| # instead of continuous: | |
| # Actually, these should be used with ListedColormap, and | |
| # the number of colors should depend on the number of | |
| # categories in the data, with colors removed from the | |
| # list in a certain order? |
| Latency Comparison Numbers (~2012) | |
| ---------------------------------- | |
| L1 cache reference 0.5 ns | |
| Branch mispredict 5 ns | |
| L2 cache reference 7 ns 14x L1 cache | |
| Mutex lock/unlock 25 ns | |
| Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
| Compress 1K bytes with Zippy 3,000 ns 3 us | |
| Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
| Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
| #!/usr/bin/env python | |
| import apscheduler.scheduler | |
| import daemon.runner | |
| import os.path | |
| import sys | |
| import time | |
| class Core(): | |
| def __init__(self): |
| assets | |
| business | |
| accounts receivable | |
| bank | |
| personal | |
| accounts receivable | |
| bank | |
| cash | |
| gifts | |
| online |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| Below I collected relevant links and papers more or less pertaining to the subject of tetrahedral meshes. | |
| It's an ever-growing list. | |
| ------------------------------ | |
| Relevant links: | |
| http://en.wikipedia.org/wiki/Types_of_mesh | |
| http://en.wikipedia.org/wiki/Tetrahedron | |
| http://en.wikipedia.org/wiki/Simplicial_complex |
| #!/usr/bin/env python | |
| #-*- coding: utf-8 -*- | |
| # Supporting Python 3 | |
| import sys, os, re | |
| try: bibtexdb = open(sys.argv[1]).read() | |
| except: print("Error: specify the file to be processed!") | |
| if not os.path.isfile('journalList.txt'): |