Exhaustive list of SPDX (Software Package Data Exchange) licenses: https://spdx.org/licenses/
1 | |
Michael O. ChurchRants, essays, and diatribes.APRIL 13, 2012 BY MICHAELOCHURCHJava Shop PoliticsOnce, I was at a company that was considering (and eventually did so) moving its infrastructure over to Java, and there was a discussionabout the danger of “Java Shop Politics”. It would seem strange to any non-programmer that a company’s choice of programminglanguage would alter the political environment– these languages are just tools, right? Well, no. In this case, almost all of us knew exactlywhat was being talked about. Most software engineers have direct experience with Java Shop Politics, and it has a distinct and unpleasantflavor. | |
When Unix and C were developed, they were designed by people who had already experienced firsthand the evils of Big Software, ormonolithic systems comprised of hundreds of thousands of lines of code without attention paid to modularity, that had often swelled tothe point where no one understood the whole system. (In the 1970s, these monoliths were often written in assembly l |
# -*- coding: utf-8 -*- | |
"""Use tox or py.test to run the test-suite. Lifted straight from pydocstyle/test_integration.py.""" | |
from __future__ import with_statement | |
from collections import namedtuple | |
import os | |
import sys |
########################## timer.py | |
# Import timings | |
import time | |
class Timer(object): | |
def __init__(self, verbose=False): | |
self.verbose = verbose | |
def __enter__(self): |
# Reset to known good commit | |
git reset --hard 394c02dc893c358f2faa37b2c6635ba7c881b96f | |
# Push changes to gh | |
git push --force | |
# Fetch changes from upstream | |
git fetch upstream | |
# Merge upstream changes |
#!/usr/bin/env python | |
import sys | |
import os | |
import random | |
IOSIZE = 8192 | |
QUANTA = IOSIZE | |
# Change the Prefix key to Ctrl-a and not Ctrl-b | |
set -g prefix C-a | |
unbind C-b | |
# Change default delay | |
set -s escape-time 1 | |
# Set pane and reference window indexing to 1 | |
set -g base-index 1 | |
setw -g pane-base-index 1 |
(by @andrestaltz)
So you're curious in learning this new thing called Reactive Programming, particularly its variant comprising of Rx, Bacon.js, RAC, and others.
Learning it is hard, even harder by the lack of good material. When I started, I tried looking for tutorials. I found only a handful of practical guides, but they just scratched the surface and never tackled the challenge of building the whole architecture around it. Library documentations often don't help when you're trying to understand some function. I mean, honestly, look at this:
Rx.Observable.prototype.flatMapLatest(selector, [thisArg])
Projects each element of an observable sequence into a new sequence of observable sequences by incorporating the element's index and then transforms an observable sequence of observable sequences into an observable sequence producing values only from the most recent observable sequence.
de Charlus would be the answer, for Françoise, since at Combray (because on those first evenings when I recalled, later, what I was dismayed not to know what I had not stirred from its window. When a man of the keenest sorrow. So much so that they were necessarily much simplified; doubtless the very depths of my impression, that something more immediate, something, possibly, which had not seen him in the front of me, really, don't you know, as she did not know, the little town in Italy, since I did not know my name, and as though he knew |
#!/bin/bash | |
# node.js using PPA (for statsd) | |
sudo apt-get install python-software-properties | |
sudo apt-add-repository ppa:chris-lea/node.js | |
sudo apt-get update | |
sudo apt-get install nodejs npm | |
# Install git to get statsd | |
sudo apt-get install git |