869 reputation
21216
bio website blog.codekills.net
location Toronto, Canada
age 25
visits member for 5 years, 2 months
seen May 27 at 16:11

pycon.ca, python, http, vim, javascript, postgres, bash, actionscript, motorcycles, mercurial, toronto, startups

Twitter: http://twitter.com/wolever
Email: david@wolever.net
Blog: http://blog.codekills.net
GPG: B230230D
GitHub: https://github.com/wolever
Bitbucket: https://bitbucket.org/wolever
StackOverflow: http://stackoverflow.com/users/71522/wolever
Resume: http://careers.stackoverflow.com/wolever
LinkedIn: http://www.linkedin.com/in/wolever
Reddit: http://www.reddit.com/user/wolever
Callsign: VA3WVR


May
26
comment nginx terminates connection after 65k bytes
Hrm, very weird. tcpdump suggests that nginx is actively RST-ing the connection (see edit). nginx is also using HTTP/1.0 and Connection: close. The I've also confirmed that the Content-Length header is correct.
May
26
comment nginx terminates connection after 65k bytes
A content-length header is being provided. Let me packet dump to see what's going on between the two otherwise…
Nov
15
comment Force ntpd to make changes in smaller steps
Unfortunately this does not help in situations which depend on the time of day =\
Nov
15
comment Force ntpd to make changes in smaller steps
ntp.conf is the stock debian squeeze config: cs.uwaterloo.ca/cscf/software/ntp/etc/ntp.conf
Jan
24
comment Debian: automatic notification of security updates?
Ah, that looks like what I want. Thanks.
Jun
5
comment Linux: mount a “striped” disk image?
I suppose one option would be to create a VirtualBox virtual machine with a split disk… But that's just a little more overhead than I'm hoping for…
Feb
11
comment Linux: How do I run a script when an external drive is connected?
Gentoo and Debian. Not sure off the top of my head which kernel version.
Feb
11
comment Linux: How do I run a script when an external drive is connected?
Thanks - I'll give it a try.
Jan
6
comment Equivalent of `nice` for filesystem IO?
(and by "noticed a slowdown" I mean "noticed that interactive programs running on the computer didn't respond as quickly as they normally do")
Jan
6
comment Equivalent of `nice` for filesystem IO?
Some quick testing also seems to confirm this - when the backup script was only niced to 10 (ie, nice backup), I noticed a slowdown... But when it's niced down to 20 (ie, nice -n 20 backup), I don't notice any slowdown.
Jan
6
comment Equivalent of `nice` for filesystem IO?
Ah, thanks. Here's what the setpriority manpage says: "When setting a thread into background state the scheduling priority is set to lowest value, disk and network IO are throttled." -- which seems to indicate that disk/network IO are only throttled when something is niced down to 20 (the "background state").
Nov
19
comment Apache: allow local connections to bypass basic authentication
Oops, clearly my searching-foo failed me today. Thanks.
Nov
19
comment Apache: allow local connections to bypass basic authentication
Ah, 'satisfy' – that was the directive I was missing. Thanks!
Oct
19
comment Apache mod_deflate not deflating…
D'oh! Thanks. I was mistaking curl's Accept: */* for Accept-encoding. Clearly tinkering with HTTP is the wrong thing to do first-thing monday morning…
Sep
13
comment Linux command line best practices and tips?
Yup, probably half the time I use find it's to fix stupid permission things: chmod 644 $(find . -type f), chmod 755 $(find . -type d)
Sep
13
comment Linux command line best practices and tips?
or just find ... -delete, if your find is so endowed.
Sep
13
comment Linux command line best practices and tips?
I don't use $!, as it's really easy to fat finger, but I like hitting ^[-. (escape-period) to get the same effect.
Sep
13
comment Linux command line best practices and tips?
Yup, I have alias ut="tar xf" – makes extracting archives even easier.
Sep
13
comment Linux command line best practices and tips?
A small note on SSH over port 22: provided you've got a good root password and your users don't have terrible passwords, just running fail2ban (or something similar) is enough to keep out crack attempts. I found it really annoying to keep SSH on another port.
Sep
12
comment Using variables in Apache config files to reduce duplication?
Ah, that looks like what I need. Shame it isn't built in… But I guess I can live. Thanks!