Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dreish
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
211.
▲
by
dreish
19y ago
If you have to ask, you might be creative. Congratulations!
212.
▲
by
dreish
19y ago
The thing I'm most thankful to have learned in 2007 is that there is a _lot_ more that I don't know about programming than I thought there was.
213.
▲
by
dreish
19y ago
Tried Jython?
214.
▲
by
dreish
19y ago
I enjoy a cup of coffee most mornings, but I don't think it does a lot of good for long-term productivity. A B-complex vitamin supplement (B-100) plus extra folate (to a total of 200% RDA of folic acid) definitely seems to help, though. An
215.
▲
by
dreish
19y ago
Thanks, yes, that's what it's called. All due credit to Laplace for the technique, but the word "smoothing" is making me wince, because it makes it sound as though this is some artificial approximation. For the assumption of an even distri
216.
▲
by
dreish
19y ago
Whichever one you use, you'll probably need to edit the source to change the probability formula from (n_hits / n_total) to ((n_hits + 1) / (n_total + 2)). That's the correct formula based on an even distribution of probabilities (which is
217.
▲
by
dreish
19y ago
Yeah, I wish I'd seen the "top ten signs" (#9) a long time ago. It might have saved me from blowing my early 20s on a good idea that I just couldn't execute on. (It was basically Google Base, but with no commitment from the friends I aske
218.
▲
by
dreish
19y ago
10 list-of-ten articles on news.yc: 1. 10 reasons you should start a startup before turning 25 http://news.ycombinator.com/item?id=123078 2. 10 less-than-great personality traits of entrepreneurs http://news.ycombinator.com/i
219.
▲
by
dreish
19y ago
If it's because you're on a Mac, I recommend http://www.finkproject.org/ -- but I hear MacPorts is good too: http://www.macports.org/ Either one gets you a modern GNU Units.
220.
▲
by
dreish
19y ago
altavista.digital.com was a reflexive habit two years before Google was. Now, there are kids who have never heard of it. There's no doubt in my mind that if Google had failed to keep up with SEO spammers, someone else would have replaced t
221.
▲
by
dreish
19y ago
It's the other way around for me -- the more abstract the problem, the happier I am. Good thing there are both kinds of people, huh?
222.
▲
by
dreish
19y ago
In Safari 3 and Firefox 1.5, at least, null == null, so I would expect null <= null. Both Safari 3 and Firefox 1.5 do the decidedly unexpected null <= 0 thing.
223.
▲
by
dreish
19y ago
Personally I find that the hardest part is just getting started (and I sometimes find this extremely difficult, spending hours surfing the web or watching TV to put off making the first code edit of the day). Once I'm programming, I tend t
224.
▲
by
dreish
19y ago
I agree. Raising questions about appropriateness, complaining, and engaging in frank meta-discussion seem like healthy things, whether you agree with them or not. I also agree with downvoting the complaint if you disagree, though. Think o
225.
▲
by
dreish
19y ago
"I love seeing a document get bigger and bigger, more detailed and with more things written inside." I love how it's sprinkled with Microspeak as he describes this soul-draining bureaucracy: "cool", "great", "passion", "innovate", "exciting
226.
▲
by
dreish
19y ago
Obama comes across as awkward and geeky, but have you not seen the 2004 Democratic Convention keynote address? It was one of the best political speeches in the last 20 years. http://www.youtube.com/watch?v=MNCLomrqIN8
227.
▲
by
dreish
19y ago
I've been using Ian's Secure Knot from the same site for a few years now, after my slippery-shoelace problem reached such crisis proportions that I preferred to spend an hour Googling for, and learning, a better knot, than having to keep re
228.
▲
by
dreish
19y ago
Okay, but if you price out a system on store.apple.com, memory upgrades are roughly twice as much as on Sun's online store.
229.
▲
by
dreish
19y ago
I'm going to assume that because this is on theregister.co.uk, it's likely about as accurate and meaningful as a randomly-chosen comment on slashdot.
230.
▲
by
dreish
19y ago
Theoretically, you would only make money in an efficient market by taking a position on something people didn't already expect, and being right about it. I think volatility as election results come in is about as expected as sunrise in the
231.
▲
by
dreish
19y ago
They did that to grab attention ("Wow, a Sun for $900?"), but additional memory is not outrageously expensive, as it is for, say, Macs.
232.
▲
by
dreish
19y ago
It works in Z shell, and breaks in Bash -- thanks, I didn't realize that. I don't see how -C protects against a tar bomb. Generally when I untar a tarball from a new source whose packaging habits I'm not familiar with, I tar tzvf it first.
233.
▲
by
dreish
19y ago
The newbie of this story jumped through two hoops to run the script "to find out what it does". He would surely jump through the hoop of changing it to a working shell as well. Obvious only in retrospect would be to remove the "DROP TABLE"
234.
▲
by
dreish
19y ago
> Some straight men are celibate. They still get called "heterosexual", though. Straight men who are not celibate are not called "men who have sex with women" (MSW?). In fact, they are. Straight men who _are_ celibate would not be call
235.
▲
by
dreish
19y ago
Also handy for your .zshrc or .bashrc: mkcd () { mkdir -p $1 cd $1 } Also, moving a tarball before unpacking it is indeed brain-damaged, but, cd /target/directory tar xzvf /source/dir/sourcefile.tar.gz works fo
236.
▲
by
dreish
19y ago
Why dozens? I thought our threshold was seven, in which case I would be surprised if that doesn't happen every year. In fact, I'll bet far more than seven teen suicides a year would, if they could be interviewed after the fact, cite subur
237.
▲
by
dreish
19y ago
See? Libertarianism works! All those idiots who deposited into non-FDIC banks had their money redistributed to the cleverer, more deserving folks who figured out a way to take advantage of them.
238.
▲
by
dreish
19y ago
Seven children dead by their own hand within a year. "How do you protect your children from the Internet?" asks the Telegraph. The same year (in the U.S.), at least 5,000 teens die in car accidents, the leading cause of death for teenagers
239.
▲
by
dreish
19y ago
That's not exactly true. I was talking with a trader friend of mine last fall about the real estate collapse that was just getting underway (finally -- that's an event my coworkers and I had seen coming for at least a couple of years), and
240.
▲
by
dreish
19y ago
Generally the U.S. has run perennial trade deficits with the rest of the world because people around the world have been essentially collecting dollars instead of spending them. They were for a long time considered the main "hard currency"
More ›