View powerful-primitives-outline.md

The World-Wide Web, for apps

-- Other candidates

--

Content-addressable blob stores for persistent, self-certifying trees

--

View how guix 0.8.1 fails on Debian oldstable at the moment
test 0046...[HTTP, get cookies and store in cookie jar]
46: protocol FAILED:
--- log/check-expected 2015-08-11 20:26:26.601137712 +0000
+++ log/check-generated 2015-08-11 20:26:26.601137712 +0000
@@ -1,5 +1,5 @@
GET /want/46 HTTP/1.1[CR][LF]
Host: 127.0.0.1:8990[CR][LF]
Accept: */*[CR][LF]
-Cookie: empty=; mooo2=indeed2; mooo=indeed[CR][LF]
View Flaunch.java
private Flaunch(OrderManager om,
List<Duration> taus,
List<Duration> futureTimes,
long samplingInterval) {
this.om = om;
this.samplingInterval = samplingInterval;
for (Duration tau : taus) {
filters.add(ExponentialFilter.create(tau));
}
forwardDeltas = new long[futureTimes.size()];
View gist:dc93d2756747f63f333d
patch-shebang: /gnu/store/p5k561811xx6ipqqiz5anz5qjqhfdaa4-gzip-1.6/bin/znew: changing `/gnu/store/nx4zd42igyb7ghmv4mxv6ncg8wr7ypa1-bash-4.3.33/gnu/store/nx4zd42igyb7ghmv4mxv6ncg8wr7ypa1-bash-4.3.33/bin/bash' to `/gnu/store/nx4zd42igyb7ghmv4mxv6ncg8wr7ypa1-bash-4.3.33/bin/bash'
phase `patch-shebangs' succeeded after 0 seconds
starting phase `strip'
stripping binaries in "/gnu/store/p5k561811xx6ipqqiz5anz5qjqhfdaa4-gzip-1.6/bin" with "strip" and flags ("--strip-debug")
phase `strip' succeeded after 0 seconds
starting phase `validate-documentation-location'
phase `validate-documentation-location' succeeded after 0 seconds
starting phase `compress-documentation'
compressing documentation in '/gnu/store/p5k561811xx6ipqqiz5anz5qjqhfdaa4-gzip-1.6/share/man' with "gzip" and flags ("--best" "--no-name")
compressing documentation in '/gnu/store/p5k561811xx6ipqqiz5anz5qjqhfdaa4-gzip-1.6/share/info' with "gzip" and flags ("--best" "--no-name")
View gist:ae68f88099b4d3e8f703
: user@debian:~/devel/dev3; cat modtree.py
#!/usr/bin/python
import sys
def main((_, modname,)):
showed = set()
for depth, name, filename in mod_tree(__import__(modname)):
print ' ' * 4 * depth, name, filename if name not in showed else ''
showed.add(name)
View gist:cbf6ddc77826a8c47591
: user@debian:~/devel/dev3; ./guess
I’ve chosen a number from 0 to 100. Try to guess it.
: user@debian:~/devel/dev3; ./guess 50
Your guess is too big!
: user@debian:~/devel/dev3; ./guess 25
Your guess is too small!
: user@debian:~/devel/dev3; ./guess 37
Your guess is too big!
: user@debian:~/devel/dev3; ./guess 31
View micromousetrap.js
// This is an attempt to paper over the keycode differences between
// Gecko and WebKit (e.g. Iceweasel or Firefox and Chrome or
// Chromium), somewhat following the model of Mousetrap:
// <https://github.com/ccampbell/mousetrap>.
// The mapping tables herein are far from comprehensive, implementing
// more or less only what I need for this calculator.
function decodeKeyEvent(event) {
return decodeKeyEventProperties(event.key, event.keyCode, event.shiftKey);
}
View gist:69bafe7c98d70e3181c7

I claimed, "If an opinion doesn't touch the question of when violence is justifiable, it's not a political opinion.". Brian Mastenbrook asked, "Doesn't this imply that there are no politics amongst anarchists?" As I understand it, the underpinning of this question is that anarchists do not accept or consider justifiable the kinds of state violence that everyone else considers not only justifiable but usually morally obligatory.

Leaving aside current deep philosophical differences among anarchists about the question of when non-state violence may or may not be justifiable, I think the discussions we normally characterize as political still, usually, boil down to questions of violence.

Of course, the most usual example of politics is entirely, 100%, about when violence is justifiable: it concerns either what policies the State is to enforce using its Westphalian monopoly on justifiable violence, or who will make that decision. Taking as an the example

View firefox-history-sucks.md

Fuck. Firefox's history UI is so fucking bad that this is actually fucking better:

: user@debian:~; sqlite3 places.sqlite 
SQLite version 3.7.13 2012-06-11 02:05:22
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .mode column
sqlite> select title, url, visit_count, datetime(last_visit_date/1000000, 'unixepoch') from moz_places order by last_visit_date desc limit 100;

Disable or remove Add-ons | Firefox Help  https://support.mozilla.org/en-US/kb/disable-or-remove-add-ons  1            2015-04-27 22:27:25                           
View java-tooling.md

How do I dynamically generate bytecode?

Aside from understanding the JVM bytecode (for which javap -c, javap -c -private, and chapter 6 of the JVM spec are helpful), there’s the question of how to get from a plan for code to generate to actually being able to run the code on the JVM, as described in [chapter 5][] of the JVM spec.