3,611 karma · joined April 24, 2011
Does anyone have any theories why China would use a self signed certificate when it's very indiscreet? A lot of users will just click through if given the opportunity (around 60% in chrome before new security measures prevented it[2]), but I doubt many users with truly sensitive private repos would do this.
[1] https://twitter.com/GreatFireChina/status/295236912594186240...
[2] http://www.imperialviolet.org/2012/07/19/hope9talk.html
[3] https://twitter.com/chenshaoju/status/295139636718743552/pho...
Ecmascript 5, the latest version of the Javascript standard, provides the ability to lock down the malleable runtime. Functions can be frozen so that no later code can overwrite or change their behavior. For more information, see this talk[1] by Mario Heiderich in 2011 or his slides[2].
[1] https://www.youtube.com/watch?v=yuNfO6I6pEA
[2] https://www.owasp.org/images/a/a3/Mario_Heiderich_OWASP_Swed...
[1] http://vincent.bernat.im/en/blog/2011-ssl-perfect-forward-se...
#!/bin/sh
case $1 in
contracts.csv)
curl http://www.ferc.gov/docs-filing/eqr/soft-tools/sample-csv/contract.txt
;;
evergreens.csv)
redo-ifchange contracts.csv
grep Evergreen contracts.csv
;;
report.txt)
input=evergreens.csv
redo-ifchange $input
python2 <<-EOF
linecount = len(file("$input").readlines())
print("File $input has {0} lines.\n".format(linecount))
EOF
;;
esac
[1] https://github.com/apenwarr/redoWebfontloader[1] uses javascript to detect whether a specific font is available. They use a hack where they change the font of a piece of text and calculate whether the width has changed, indicating the system is using specified font instead of the default serif or san serif. If you had a large list of fonts, you could filter out the ones the user has.
[1] http://shellhaters.heroku.com/ [2] http://shellhaters.heroku.com/posix [3] http://linux.die.net/man/1/dash
I couldn't find a typing tutor that addressed the difficulty of typing the symbols in code, so I created a webapp called http://typing.io. It allows programmers to practice typing open source code instead of English or drills.
To keep braces/quotes balanced, I've been using editor plugins like smartinput[1] and paredit[2] that automatically insert closing symbols. Even with the assistance, I've found it's easiest to continue typing through the closing symbols (as opposed to right arrowing).
The javascript is also less hairy without needing to handle typing braces together:)
[1] http://thechangelog.com/post/20172996073/vim-smartinput-smar... [2] http://emacswiki.org/emacs/ParEdit
On the topic of keyboard ergonomics, I also believe that all keyboards should be tenkeyless. It's another case of prioritizing an infrequent action (typing on the numpad) over a frequent action (moving the right hand to the mouse). Users who need a numpad can always get a standalone usb unit.
[1] http://reviews.cnet.com/keyboards/microsoft-sculpt-comfort-k...
[1] https://github.com/typekit/webfontloader [2] http://code.google.com/p/googlefontdirectory/ [3] http://www.fontsquirrel.com/fontface/generator
Very small performance suggestion: minify the initial css!
I preserved the whitespace the project authors used. I'm a little picky too regarding these details, but I want users to see code in its original form.
Thanks for the feedback