Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cmccabe
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
cmccabe
13y ago
That's not cynicism, it's just realism. The drug companies don't want their product associated with drug abuse, so they add a megadose of something that eventually causes liver failure (acetaminophen). You get a lot of dead
62.
▲
by
cmccabe
13y ago
Let me guess-- you're going to "no true scotsman" all the actual existing open source mobile operating systems.
63.
▲
by
cmccabe
13y ago
I've written a lot of code using select and poll, and I don't think it's ever come out "simpler and easier to follow" than code which just used blocking I/O.
64.
▲
by
cmccabe
13y ago
Spoiler alert: it's COBOL.
65.
▲
by
cmccabe
13y ago
ZFS also has "general lackluster performance" in areas like using memory (it requires tons of it). It's inherent in the design of a copy-on-write filesystem. According to Ted Dunangst: "ZFS wants a lot of memory. A lot
66.
▲
by
cmccabe
13y ago
I originally had a lot of text here, but let's just leave it at this... something being in Gentoo doesn't mean it's in any way mainstream. I mean that in the nicest possible way (Gentoo can be fun).
67.
▲
by
cmccabe
13y ago
Yes, it is terrible advice. Just like this article. Repeats all the usual myths about Hadoop... that it's just about MapReduce, that it doesn't support indexes (hint: Hive has a CREATE INDEX command, guess what it does?) and then
68.
▲
by
cmccabe
13y ago
CLOCK_MONOTONIC is affected by NTP on Linux, at least. UNIX time is not actually seconds since the epoch. It's just something very, very close. There are a few cases where the same time_t value repeats for two seconds in order to ins
69.
▲
by
cmccabe
13y ago
I have a lot of respect for those working on this project, but realistically, if you use Linux, using an out-of-tree filesystem is just asking for pain-- lots of it. I would never use this on a production system. You know how painful out-
70.
▲
by
cmccabe
13y ago
That's why devices have adjustment knobs and settings that let you adjust the contrast, if you're using it in some unusual situation.
71.
▲
by
cmccabe
13y ago
I wrote a blog post about clocks and timers earlier: http://www.club.cc.cmu.edu/~cmccabe/blog_time_and_time_again... It gets especially interesting when you start thinking about mutexes and condition variables with tim
72.
▲
by
cmccabe
13y ago
Yes, absolutely. Anyone can add features to a bloated language. The most beautiful designs know what to leave out and why. C was one of those designs. If you like the C design aesthetic, you should check out Go. It's like a garbage
73.
▲
by
cmccabe
13y ago
Excessive travel is terrible for the environment. You can easily generate many times the amount of carbon dioxide you would emit by driving for a year, simply by taking a long plane flight or two. http://www.nytimes.com/201
74.
▲
by
cmccabe
13y ago
Black on light grey causes less eyestrain than black on white. http://ergonomics.about.com/od/eyestrain/a/reduce_contrast.h...
75.
▲
by
cmccabe
13y ago
What is a "fronted" person? Is that like a brogrammer?
76.
▲
by
cmccabe
13y ago
It's not always a nightmare. Sometimes it's quite enjoyable. I remember going to sleep with a headache at one point and experiencing sleep paralysis. My headache was translated to black and white flashes of light. Or another ti
77.
▲
by
cmccabe
13y ago
Hey guys... let's make a programming language... for non-programmers! Pretty wacky, eh? It should also look like natural speech.
78.
▲
by
cmccabe
13y ago
yep
79.
▲
by
cmccabe
13y ago
A lot of the Chrome jailbreaks were done through attacking the embedded Flash player, which wasn't sandboxed at the time. How well sandboxed is nginx? Answer: not at all. Actually, that's not the answer. ngnix is sandboxed by u
80.
▲
by
cmccabe
13y ago
Go allows you to iterate over a string as a series of code points.
81.
▲
by
cmccabe
13y ago
Every modern browser uses sandboxing to avoid having a "trivial software bug allow the author of a web page to upload and run code in your browser process." You simply run the potentially insecure code in a separate, unprivileged
82.
▲
by
cmccabe
13y ago
Absolutely. If we had reasonable property taxes in CA, we wouldn't have a housing shortage, and middle-class people would be able to live in SF again. But try explaining this to the average voter...
83.
▲
by
cmccabe
13y ago
The sender is supposed to close the channel to signify to the receiver that there is no more data to be sent. The receiver is not supposed to close the channel. (You could hack around this by recovering from the panic, but this is bad sty
84.
▲
by
cmccabe
13y ago
Iterator callbacks, generators, or functors feel very un-Go-like. It's trying to force a Python or OCaml idiom on to Go. Basically, what you want is to implement a HasNext and a Next function and write a "for" loop. All yo
85.
▲
by
cmccabe
13y ago
Use "defer close(ch)". If there is a break or a panic, the channel will be closed.
86.
▲
by
cmccabe
13y ago
Oh no! Fashion crisis! Oh wait-- I just remembered. Wireless chargers exist. Crisis averted.
87.
▲
by
cmccabe
13y ago
I live in the bay area, and I wouldn't buy anything from Safeway that wasn't already in a can or a jar when they got it. And sometimes not even that. In 2012, Consumer reports did a study where only a few "extra virgin olive
88.
▲
by
cmccabe
13y ago
I disagree with the claim that learning x86 assembly is not useful. I occasionally use inline assembly in my day job. It's very rare, but it does happen. If you're doing C or C++, it helps to know a little bit of x86 assembly w
89.
▲
by
cmccabe
13y ago
I shop at Trader Joe's because there is one very near my house, and the produce is much, much better than anything you'd get at Safeway, Target, Wal*Mart, Giant Eagle, etc. Cutting open a bell pepper to find mold inside is not an
90.
▲
by
cmccabe
13y ago
Well, I work on Hadoop. I don't know what you mean by "modularizing the core." There was an abortive attempt a few years ago to split HDFS, MapReduce, and common off into separate source code repositories. At some point it
More ›