Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cmccabe
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
cmccabe
13y ago
That's always been my philosophy too.
92.
▲
by
cmccabe
13y ago
Hadoop is a framework, not a library, so user applications need to link against the jars they need. That implies using CLASSPATH to locate them. Whether or not there is 1 jar or 100, the fact that there's no standard place to install
93.
▲
by
cmccabe
13y ago
If you don't want the pip dependencies to "pollute the rest of the system," you can just use pip install with the --root option. Java's CLASSPATH causes enormous pain for end-users. Just read the Hadoop mailing list. T
94.
▲
by
cmccabe
13y ago
In the example you gave, any compiler from the last 10 years would have given a warning message when converting the pointer to an int. Ignoring error messages is extremely, extremely bad practice. If you are still doing that, I suggest au
95.
▲
by
cmccabe
13y ago
The problem was that this idea was a feature of a point-of-sale (POS) system, not a product.
96.
▲
by
cmccabe
13y ago
There are a bunch of e-ink readers out there already that do well with PDFs. I have an e-reader made by PocketBook ( http://en.wikipedia.org/wiki/PocketBook_International ) which is 10.5 inches long and does PDF very w
97.
▲
by
cmccabe
13y ago
Did you read the article? SF has been expensive for a long time. When adjusted for inflation, this isn't even the most expensive that it's been.
98.
▲
by
cmccabe
13y ago
You know, there is more in the bay area than San Francisco. If you try living in Berkeley or Oakland for a few months, you will find that it isn't "a remote, suburban sprawl-y part of the Bay Area." It's only a half ho
99.
▲
by
cmccabe
13y ago
You can always pass around pointers to immutable data structures which only implement read interfaces.
100.
▲
by
cmccabe
13y ago
Is anyone here arguing in favor of colonialism? This is equivalent to comparing people who disagree with you to Hitler. Thanks for your "extensive academic thought," which I note you did not even bother to summarize here. I thi
101.
▲
by
cmccabe
13y ago
Yeah, it sounds like he should just use a statically typed language. (yes, I am aware that types != contracts, but they're similar enough that my statement still stands)
102.
▲
by
cmccabe
13y ago
Now that we are on the subject, what is one sane way to drastically reduce the need for locks and semaphores? Use actors like Erlang does. A class with a thread and a queue attached to it. Then avoid sharing data instead send messages. You
103.
▲
by
cmccabe
13y ago
You're posting drunk, aren't you?
104.
▲
by
cmccabe
13y ago
Most of gcc is still written in C. Only a tiny amount of new code is in C++. In my opinion, that's the worst of both worlds-- inconsistent code, plus C++ overheads. I work with some fairly recent version of both compilers-- gcc 4.7.2
105.
▲
by
cmccabe
13y ago
Well, I like the clang error messages better than gcc's, and I use recent versions. And to refer to the major architectural differences between the two as something that could be bridged by a single "patch" is a little silly
106.
▲
by
cmccabe
13y ago
OK, I admit it was a cheap shot. But I'm not the only one in the thread making it. And the quote is definitely bizarre. Can you explain how it's related to Perl? I agree that Perl has done a very good job with backwards compati
107.
▲
by
cmccabe
13y ago
Maven isn't standardized. There are still a lot of projects that use Ant + Grail or Gradle. There's also OSGI, which is sort of yet another way to manage dependencies in Java. Maven doesn't prevent versioning issues from cr
108.
▲
by
cmccabe
13y ago
You can't install a java tool-- any java tool-- just by a file copy. At minimum, you need to install the proper version of the JVM (different software may need different versions)-- that's at least 50 MB and maybe 100 these days.
109.
▲
by
cmccabe
13y ago
Real Programmers wrote in machine code. Not FORTRAN. Not RATFOR. Not, even, assembly language. Machine Code. Raw, unadorned, inscrutable hexadecimal numbers. Directly. - The Story of Mel. Real Users hate Real Programmers - FreeBSD f
110.
▲
by
cmccabe
13y ago
Yes, you do have to keep your master clean. The version tagging thing is only intended to be used when you start depending on a new language feature not available in older versions of Go. For example, if your new code needs something that
111.
▲
by
cmccabe
13y ago
Yeah, it's pretty bizarre. Was slashdot still relevant in 2005? Was perl? I feel like they both peaked right around the turn of the century.
112.
▲
by
cmccabe
13y ago
I think what Go's subprocess stuff needs most is better examples. There aren't a lot of examples out there yet. For example, I saw one guy on StackOverflow use a complicated Reader thread to print a subprocess' output to st
113.
▲
by
cmccabe
13y ago
One thing that annoyed me about both Python and Rubyis that the way things in the standard library worked changed from release to release in subtle, incompatible ways. I remember getting burned by a change in how iterating over characters
114.
▲
by
cmccabe
13y ago
Blood can be blue-- if you're a hermit crab.
115.
▲
by
cmccabe
13y ago
I've never been to China to see anything for myself... Yep, I can tell. I can tell you haven't read about it either.
116.
▲
by
cmccabe
13y ago
The safeguards for foreigners are much less than those for US citizens. For example, the NSA doesn't need to go through FISA court to spy on non-citizens. So if you store your data on a non-US server, you're probably just making
117.
▲
by
cmccabe
13y ago
Uh, what? The only GPL code in Android is the kernel.
118.
▲
by
cmccabe
13y ago
Yeah, I always seem to forget the exact details of Nagle (probably because every project I've worked on just turns it off). Write-write-read is the killer, I guess-- just doing a small write followed by a small read, or vice versa, sh
119.
▲
by
cmccabe
13y ago
EDIT. OK, so. I ran this benchmark myself on an 8-core Xeon running Linux. 2.13 GHz, CentOS 6.2. Kernel was 2.6.32-220.el6.x86_64. 50 gigs of RAM. I got somewhere between 2.0 and 2.2 "milliseconds per ping" for Scala 2.9, and
120.
▲
by
cmccabe
13y ago
I suppose it depends on how good you are at coming up with random file names. You could also use O_EXCL | O_CREAT to fail if the file already existed. The more I think about it, though, the worse this whole interface is starting to smell.
More ›