(You get all n with the same formula by replacing the mod 2^(n+1) (or reading the last n+1 bits) by splitting the whole integer that is generated into n+1 bit chunks.
117 karma · joined August 11, 2014
(You get all n with the same formula by replacing the mod 2^(n+1) (or reading the last n+1 bits) by splitting the whole integer that is generated into n+1 bit chunks.
For example "%save mycode.py 1-10" saves the code input on lines 1 through 10 of the session to the file "mycode.py".
I think this makes sense. If I live in the US and make some product and sell it in Germany, then whatever profit I bring home from Germany (less German taxes) is still an income that was effectively earned in the US, since I am living and working here. The business transactions occurred in Germany, but the income was 'earned' by my labor in the US.
From this point of view, a territorial tax system is a subsidy designed to make goods more competitive in foreign markets. (Since I don't have to pay taxes on foreign profits, I can lower the price I charge overseas.)
I stopped using it for something else, and when I came back a couple years later it was the opposite - kind of clunky, had to poke around a lot to try to do something.
I don't know what happened, but I'd love to have that first version back.
I think its pretty easy to add math support by adding MathJax to your HTML template (e.g. as used in the markdown implementations of StackExchange, Jupyter Notebook, Quiver and such.)
One of these cartograms is a electoral vote cartogram of the US 2008 presidential election. Unlike the above examples, it uses a continuous color spectrum from red to blue (going through purple at 50/50) to represent the popular vote - which does a much better job of conveying voter proportions than the standard color every state red or blue. On the other hand, the map is geographically coarse grained on the state level - every state is shown in one averaged color. I have yet to find one that has both continuous color spectrum and is continous (ish) in space.
But I think that's neither here nor there. Whenever the index has more use than as a label, mathematics starts at zero. Modular arithmetic, polynomials, discrete fourier transformations - for that matter, any discrete approximation of continuous math - all naturally start at zero, and generate lots of -1s in one-based indexing.
There seems to be a lot of similar interest, so maybe someone with the right skills could start a community developed open source linux and/or windows port.