Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mauvehaus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
122 ms
·
1531.
▲
by
mauvehaus
14y ago
A solution using xargs instead of exec: find . -name "*.swp" | xargs rm I believe find -exec forks and execs once for every file found, xargs may only fork and exec once, provided that all of the files find finds fit in a single command lin
1532.
▲
by
mauvehaus
14y ago
And an enormous mess if you get curious and take it apart to see how it works. They're hard to take apart for a reason. Fortunately, I did it on a keychain-sized one, and not a full sized one.
1533.
▲
by
mauvehaus
14y ago
You're certainly welcome to, so long as you don't scare them off climbing ;-) I should also note that I am in no way professionally qualified to talk about safety in climbing, or risk analysis in general. I just like to climb, and prefer t
1534.
▲
by
mauvehaus
14y ago
I didn't mean to suggest otherwise about the teaching of safety if that's how you read my comment. I think the model you're teaching to the 10-year-olds is both well suited to the audience, and gives them a tool to use to analyze other sit
1535.
▲
by
mauvehaus
14y ago
In the climbing example as presented, you should be at least three mistakes away from injury. The belayer should check the climber's harness and knots before allowing the climber to climb. Naturally the climber should check that the belay
1536.
▲
by
mauvehaus
14y ago
I think hyper-vigilance is a poor choice of words. It's more a habit of thinking than a constant state of conscious alertness. When you become aware of a hazard, it takes conscious effort to avoid putting yourself in the way of that hazar
1537.
▲
by
mauvehaus
14y ago
The trick with doing this in a language without reference counting (like C) is keeping track of who owns the buffer all your slices point to. Windows uses UNICODE_STRING[1] internally for a great many things, paths being one of them. Ther
1538.
▲
by
mauvehaus
14y ago
On NT, if the kernel bugchecks and it's configured to do a full or kernel memory dump, it dumps to the pagefile [1] (which get's copied elsewhere after you reboot). If you were looking for another good reason to have a pagefile the size of
1539.
▲
by
mauvehaus
14y ago
Incidentally, you can change this on Windows i386 in the boot.ini [1] file using the /3GB option. This is for exactly the case where you want your database software (for instance) to be able to address more user-mode memory. As you might i