Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jbooth
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
51 ms
·
361.
▲
by
jbooth
12y ago
I know it's a rhetorical question, but "Unicode didn't exist when C or C++ were invented" is a really good answer.
362.
▲
by
jbooth
12y ago
Wait, that's it? The difference between bad (with italics!) and awesome is being able to reference the garbage half of a multiple return?
363.
▲
by
jbooth
12y ago
Well, we seem to disagree on the usefulness of those items and the quality of SBT's solutions vs the pain of rebuilding an entire new build/deployment stack and fighting through all the bugs you've created. We'll just ha
364.
▲
by
jbooth
12y ago
If you're motivated to wade this far down the thread, but can't be bothered to explain one concrete benefit in one sentence, I've gotta assume it's pretty difficult to come up with one.
365.
▲
by
jbooth
12y ago
Not yet. You wanna show me the better solution than Maven? Something that manages multi-module projects, with various versions of dependencies, and packaging as war/jar/tgz/whatever? I've probably spent way more time c
366.
▲
by
jbooth
12y ago
SBT is probably the best example of the total immaturity of the Scala community in terms of real-world engineering. Hey, we're building for the JVM, we've got Maven, it's arguably the best solution in any language for a very
367.
▲
by
jbooth
12y ago
There's no such thing as a Scala shop, there are Java shops and Java-and-Scala shops.
368.
▲
by
jbooth
12y ago
Traditional immigration proceedings? You mean the system where if you're from China or India, you have to wait 3-5X as long for a green card as people from western europe? Yeah, that system sounds great. Dunno why people in software
369.
▲
by
jbooth
12y ago
Actually, funnily enough, the Constellation program got it's big funding push under Bush, while he was talking about all his typical Republican things. Then Obama showed up, cut Constellation and privatized the launch industry, to crie
370.
▲
by
jbooth
12y ago
It's missing the ability to publish or lock to a particular version, which is a game breaker for shops with >5 people, and the go maintainers don't seem to see it as a problem, making it a permanent game breaker.
371.
▲
by
jbooth
12y ago
Well, then there's BlockingQueues as noted above. Callables, Runnables and BlockingQueues are a great setup for CSP-style concurrency.
372.
▲
by
jbooth
12y ago
Doing concurrency right is very, very easy in just plain Java. ExecutorService is all you need, it's even 100% FP as long as you remap "anonymous class with 1 method" to "lambda" in your head.
373.
▲
by
jbooth
12y ago
Yeah, but an assumed 10% rate of return with no risk is still ridiculous. How come the government can sell t-bills at sub 1% interest? They wouldn't be able to sell a dime of debt if those numbers were anywhere near reasonable.
374.
▲
by
jbooth
12y ago
Declaring that "government is the problem, just privatize it" without bothing to think through or research anything about the actual issue is the political equivalent of "just use node.js and mongodb, it's web scale"
375.
▲
by
jbooth
12y ago
My memory's fuzzy, but wasn't there a court case 50 years ago that explicitly decided "outside of envelope is public, no privacy, inside is private, reasonable expectation of privacy"?
376.
▲
by
jbooth
12y ago
They can hadoop fs -get it or query it from hive. Because you want to coalesce all your model updates for every pass over the data, the long startup-time for hadoop jobs actually plays into this. You can have hundreds of millions of sample
377.
▲
by
jbooth
12y ago
Doesn't need it. If you're computing a linear/logistic regression via gradient descent, performance-oriented C code on a single machine using local filesystem/caches will beat a hadoop-based algorithm for just about any
378.
▲
by
jbooth
12y ago
If the efficient market hypothesis is confounded by moves like bailing out Coca Cola, what good is it?
379.
▲
by
jbooth
12y ago
I'm seeing I/O as "side effects with possible random error conditions". I really don't see how that squares with functional purity. It's late on EST but I promise if you put effort into explaining a higher-ord
380.
▲
by
jbooth
12y ago
Point being, I/O doesn't square with that concept. For some reason, every time I point this out, I'm accused of not appreciating the beauty of pure functions. I love pure functions. Maybe they're not appreciating the
381.
▲
by
jbooth
12y ago
So how are errors handled?
382.
▲
by
jbooth
12y ago
Hey, so I agree with your analysis in general, and sorry for being opaque earlier (was at work), but you totally got what I was driving at and explained it probably better than I could have. The one thing I disagree with, in many server app
383.
▲
by
jbooth
12y ago
Well, that's good, sorry for asking. I've had a lot of people point at the big-0 notation of that linked-list append and tell me that it's faster than an ArrayList append on average. Usually this is right after telling me t
384.
▲
by
jbooth
12y ago
Personally, I view the collections library as a showcase for how that language works when you're designing an API to be used for 3rd parties. If it's incomprehensible, that worries me. If the collections API is purposely trying t
385.
▲
by
jbooth
12y ago
I inferred that you probably use standard library collections. Not really an insulting inference, it'd be insulting to assume you didn't. Personally, I make it a habit to always read (or try to read, in this case) standard librar
386.
▲
by
jbooth
12y ago
Actually, I hold exactly that opinion about C++ :)
387.
▲
by
jbooth
12y ago
The claim was that scala code is very difficult to read and idiomatic scala code, as evidenced by their collections library, brings along a ton of conceptual overhead that creates much more complexity than it eliminates. That line alone dri
388.
▲
by
jbooth
12y ago
I agree that Option types are great, so great that I'm happy to work in a much 'weaker' language, use option types, and solve 90% of the problems that more 'theoretically robust' languages address with none of their
389.
▲
by
jbooth
12y ago
It's from the standard collections library, the most-used code in any language. It is in fact representative of the vast majority of code you use. The fact that it wasn't immediately clear to you that a lot of your code DOES use t
390.
▲
by
jbooth
12y ago
Here's a random line from the Scala standard collections library: def :+[B >: A, That](elem: B)(implicit bf: CanBuildFrom[Repr, B, That]): That This is from the standard collections library. In Java, I've got a List.add functio
More ›