Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
basman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
31.
▲
by
basman
16y ago
What you're seeing is not bash tab completion based on compgen, but shell-mode's implementation of tab completion. Which is why git <TAB>, for example, does not do what you'd like. It seems like it should be possible to write an e
32.
▲
by
basman
16y ago
The rule against nested includes seems dated — he doesn't like include guards in header files because "[t]he result is often thousands of needless lines of code passing through the lexical analyzer, which is (in good compilers) the most exp
33.
▲
by
basman
16y ago
hmm, so I guess by this argument, if I flip a coin 3 times and it comes up heads, the next time is more likely to be tails...
34.
▲
by
basman
16y ago
Not necessarily, because there are some effective costs that a homeowner pays that a landlord does not. First, the loss of the ability to move easily. Second, the landlord probably has economies of scale on things like time and money spen
35.
▲
by
basman
16y ago
In the limit, that's like buying the house with cash up front, which amounts to betting that the appreciation will exceed any investment income. For example, given person A who paid cash for a house a year ago and person B who put that mon
36.
▲
by
basman
17y ago
One problem I've noticed with a very closure-heavy style is that debugging is a pain — you have a closure with a bunch of local state and no way to print or otherwise access it (from the repl, say). So then you end up writing special cases
37.
▲
by
basman
17y ago
"Research Scientists" and "People with basic scientific literacy" are different sets — it's perfectly possible for the first set to be too large and the second to be too small.
38.
▲
by
basman
17y ago
I thought he/she was being pretty clear, actually. I understood his working definition to not be "all the bad things ..." but roughly "the philosophy espoused by the Communist Manifesto and by the governments of the USSR, Mao-era China, an
39.
▲
by
basman
17y ago
I do it by: 1) having a git repository in ~/config that contains, among other things, my global .gitconfig and .gitignore files. This repository is synced across machines. 2) having a .gitconfig in my home directory that's symlinked to con
40.
▲
by
basman
17y ago
Although note that even before, git checkout `git merge-base A B` was always possible
41.
▲
by
basman
17y ago
That's a neat one. My solution: pointers A, B, and C. A proceeds through the list. B is always at the largest multiple of k that is at or before A. C is at B-k. Every k steps, set C=B and B=A. When A reaches the end, step C forward B-
42.
▲
by
basman
17y ago
The repeat commands are your friend: Fh without looking, followed by ; and , if you don't end up in the right place the first time.
43.
▲
by
basman
17y ago
This free online book: http://progit.org/book/
44.
▲
by
basman
17y ago
His analysis doesn't depend on how many significant digits there are: he's doing a hypothesis test, so all that matters is whether one number (a p-value which was not shown) is bigger than a threshold (.01). The fact that it is in most of
45.
▲
by
basman
18y ago
Counterexample: A significant fraction of Indians are vegetarian. They seem to be doing ok in the brain development department. Are there confounding factors? Sure... but calling it child abuse seems a bit much.