Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cmccabe
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
421.
▲
by
cmccabe
14y ago
Well, I did learn not to hide in discarded refrigerators from Punky Brewster. That's funny; another of Mr. Lucas' fine films taught me that you can survive a direct nuclear explosion by hiding in a discarded refrigerator.
422.
▲
by
cmccabe
14y ago
People still drink macro-brews, and expect them to taste good? Come on.
423.
▲
by
cmccabe
14y ago
Who cares if your boss sees you click on a goatse link? He's probably been pranked before; he knows how it works. Are you afraid that he thinks you're a goatse afficionado? If so, you've got bigger, wider problems.
424.
▲
by
cmccabe
14y ago
"If you switched the voting on HN to find the worst commentors, instead of bringing the best up top - what would happen?" It would become Reddit?
425.
▲
by
cmccabe
14y ago
Yes, it's probably somewhat frustrating to be laid off by Google and then later receive recruiting emails. But Google is a big company. The right hand doesn't always know what the left is doing. Or maybe the recruiter thinks you really d
426.
▲
by
cmccabe
14y ago
It's difficult to make generalizations about "Europe" because each country has its own set of labor laws. From what I hear, Britain has a pretty heavy tax situation. This leads to multi-national companies setting up "dutch sandwiches" and
427.
▲
by
cmccabe
14y ago
The problem is, you're a sharecropper. Microsoft owns the Kinect and its surrounding ecosystem-- lock, stock, and barrel. If there's a real market for Kinect development tools, Microsoft will sooner or later own it, exactly the way that th
428.
▲
by
cmccabe
14y ago
Luckily for you, you can link objects files produced by the C compiler with object files produced by the C++ compiler. Crisis averted.
429.
▲
by
cmccabe
14y ago
"I would move json_*_t structs to the header file and eliminate a bunch of API functions that service the access to these structs. It's a C library after all, everyone knows how to shoot one's own leg." I strongly disagree. The author did
430.
▲
by
cmccabe
14y ago
I'm aware of a few different JSON parsing libraries for C. * Metaparadigm's "JSON-C" library (see https://github.com/json-c/json-c/wiki ) * Jansson (see http://www.digip.org/jansson/ ) * yajl (see http://lloyd.github.com/yajl/ ) All of t
431.
▲
by
cmccabe
14y ago
Please read what economists have written before you add your opinion. One analysis of Europe's inflexible labor market is here, by the IMF: http://www.imf.org/external/pubs/ft/fandd/2000/06/soltwede.h... Europe's ridiculous labor regulati
432.
▲
by
cmccabe
14y ago
I don't think QWERTY is as bad as it has been portrayed. See http://www.utdallas.edu/~liebowit/keys1.html
433.
▲
by
cmccabe
14y ago
"... a rook's pawn still on its original square could capture the opposing rook's pawn on its original square— not sure whether that should be permitted or disallowed." It was at this point that I stopped taking this chess variant seriously
434.
▲
by
cmccabe
14y ago
This is a good writeup in general, but it fails to mention the fact that under glibc, POSIX AIO is implemented with a thread pool anyway. Only native (non-portable) Linux AIO is implemented by the kernel. In general, unless you're doing so
435.
▲
by
cmccabe
14y ago
So to recap: * You point a to 235W power supply as an example of the bare minimum PC power supply-- not too far from my 300W round number. * You point out that a power supply rated for X isn't drawing X continuously-- a true statement, but
436.
▲
by
cmccabe
14y ago
You say "C stutters even more" but your example is not an apples-to-apples comparison. You split the C version up into two lines, whereas the C++ version is one line. The issue really is that type names tend to be a lot longer in C++ than
437.
▲
by
cmccabe
14y ago
I don't see the "evented runtime vs. evented API" issue as boring. This kind of thing is the core of any application you are going to build; it's hardly a minor or nitpicky issue. Using non-blocking APIs requires you to turn your applicati
438.
▲
by
cmccabe
14y ago
> Is there a large overhead for having to use a > goroutine rather than the lower level? No.
439.
▲
by
cmccabe
14y ago
Language flamewars are dull. Very dull. But since you gave specifics, I will too. Concurrency primitives in C: it's a library issue. In userspace, use libatomic-ops. In kernel space, you've got atomic_t and it works well. static_assert:
440.
▲
by
cmccabe
14y ago
Luckily a subset of C++ with just the "good" features has already been made and is widely deployed. It's called C.
441.
▲
by
cmccabe
14y ago
20W, 200W, what's the difference? Either way, you can't get that out of the battery on a mobile device. And consumers don't generally buy PCs based on power dissipation. Sad, but true. And if you think your typical beige-box PC can handl
442.
▲
by
cmccabe
14y ago
One example of legacy baggage is the fact that x86 doesn't reorder loads and stores as freely as ARM. It would be better for optimization, but it would break the creaky old software that is the lifeblood of the platform. Another example of
443.
▲
by
cmccabe
14y ago
I used Verilog a little bit in college, while studying for my EE degree. It didn't seem like a bad language. It was a weird blend of register transfer-level stuff and C-like pseudocode stuff. It sounds like Verilog fell prey to the C++ ph
444.
▲
by
cmccabe
14y ago
ARM cores tend to be more power efficient for three main reasons: they operate at a lower clock frequency, they don't have the CISC legacy baggage, and the low-level software guys have spent a lot more time on power management than on x86.
445.
▲
by
cmccabe
14y ago
It's kind of confusing because technically GlobalFoundries is separate from AMD. So if Apple wanted to manufacture their own custom ARM chip, would they be talking to GF, AMD, or both? I also wonder what role AMD proper (as opposed to GF)
446.
▲
by
cmccabe
14y ago
Another way of looking at it is that AMD was always David to Intel's goliath. Intel screwed up big time with the Pentium 4; they designed the architecture for an extremely high clock rate, and ran headlong into a thermal dissipation brick
447.
▲
by
cmccabe
14y ago
Well, on the plus side, all the modern JVMs do just-in-time recompilation, and have a had fair amount of optimization work done on them. On the minus side, JVMs take a long time to start up and don't really interface very well with native c
448.
▲
by
cmccabe
14y ago
Judging from all the bear raids on GOOG lately, it might be a good time to buy.
449.
▲
by
cmccabe
14y ago
Apple wants people to write iOS applications. Microsoft wants people to write Windows 8 applications. It's possible that Mozilla will come around, if Chrome gives them a big enough kick in the pants. Then again, it's equally possible that
450.
▲
by
cmccabe
14y ago
I don't think parent deserves to be modded down. The article did take a pretty long time to get to the point. Why all this talk about Python and Ruby? Rust is not really competing with those languages-- it is quite specifically designed a
More ›