Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dpratt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
121.
▲
by
dpratt
10y ago
I'd add a driver for a non trivial binary protocol - I ended up implementing a JVM driver for Cassandra a few years ago, and it was a blast.
122.
▲
by
dpratt
11y ago
I concur. These results would have been better if they'd been generated using the native GC logging format and then run through an analysis tool. Similarly, the article mentions that the synthetic benchmark was run for only a minute. I
123.
▲
by
dpratt
11y ago
This man was clearly and obviously wronged by law enforcement and the justice system, and it's nice to know that at the very least he won in the end. With that said, I can't agree with the statement "If the cops had done thei
124.
▲
by
dpratt
11y ago
As an interesting aside, Avian has native support for coroutines through stack de/re-hydration. I have yet to use it, but it looks quite interesting.
125.
▲
by
dpratt
11y ago
I've never really understood the nature of this stereotype - who doesn't at least like fried chicken? It's like saying, 'You know the Mexicans, they just love ice cream.' Of course they do, it's ice cream.
126.
▲
by
dpratt
11y ago
I agree, I've found through painful experience that the shiny and new, while incredibly fun, tends to cost more than it's worth. With that said, if you're going to take the prudent route and use an established database platfo
127.
▲
by
dpratt
11y ago
This is just me being cranky, but I'm always slightly amused by watching younger guys grow up and realize that embracing (and enforcing) schemas on your data, along with adopting a strong, sound type system actually results in better o
128.
▲
by
dpratt
11y ago
Kyle Kingsbury is a national treasure. I'm essentially done having technical debates about why I don't particularly care for some more modern persistence solutions - I just point them at his blog. The time he has saved me from exp
129.
▲
by
dpratt
12y ago
Enforcing pureness on the function might be difficult w.r.t. things like IO, due to Java interop, and frankly that's one of the strengths of the platform. Inferring loose immutability constraints on a function would be interesting. You
130.
▲
by
dpratt
12y ago
I'm going to chime in to the chorus of "Why wasn't X mentioned" and throw out Scala.js. It would seem that Scala solves quite a few of the article's complaints about Javascript, and in a manner that is accessible an
131.
▲
by
dpratt
13y ago
I wonder if any of the executives involved with this deal will have a moment of clarity and make a public statement - "I was directly told by representatives of the U.S. Government that if we did not take this deal there would be direc
132.
▲
by
dpratt
13y ago
Perhaps I am not reading the article correctly, but it sounds to me like RSA products can no longer be trusted.
133.
▲
by
dpratt
13y ago
"The Obama administration has stated that if Snowden were to return to the United States, he would receive protection under due process laws." That sure is nice of them. How did it get to a point where this is actually up for deba
134.
▲
by
dpratt
13y ago
This is likely a hoax. The top-ranked google link for 'antarctic pyramid hoax' has more details - http://productforums.google.com/forum/#!msg/gec-other-sentie... Frankly, I'm not sure how this made
135.
▲
by
dpratt
13y ago
>But on other side I see JS bytecode as great alternative to Java and JVM. Exactly how is javascript a better byte code than JVM byte code?
136.
▲
by
dpratt
13y ago
> Why is this a problem? Most web problems don't need a large code base. A small, dynamic language is suited to web problems. This is demonstrably false the second you start to use JS on the backend. Just because most of the problem
137.
▲
by
dpratt
13y ago
I'm just thinking logically - not even on a pointer level. If I'm doing index/offset math to calculate an array position, it's foolish to start at 1 instead of 0.
138.
▲
by
dpratt
13y ago
This is not meant to be tongue-in-cheek - I thought this argument was settled ages ago. Are there any respected languages that use 1 based indexing? This is an honest question - every single one I've ever used (C, C++, Java, Scala, Pyt
139.
▲
by
dpratt
13y ago
Just wait - in another two or three years, you will suddenly not be able to be trusted with meaningful architectural decisions, you will be looked down upon as too slow, and your years of knowledge will be ignored because clearly you don&#x
140.
▲
by
dpratt
13y ago
"Java, a popular programming language." - that's basically best thing you can say about it, but it also deserves a caveat on how awesome the JVM is.
141.
▲
by
dpratt
13y ago
Sadly, NSDateFormatter (and NSFormatter in general) are explicitly not thread safe. You'll either have to just allocate and release on demand or implement some sort of thread-local mechanism. Unfortunately, one of the drawbacks do the
142.
▲
by
dpratt
13y ago
I'm in the same boat - I've been a very happy IDEA user for over a decade now, and any other IDE that targets the JVM has a pretty high bar as far as I'm concerned. With that said, I'd love to see the Scala equivalent
143.
▲
by
dpratt
13y ago
I've been coding in Scala for the past couple years, and it is basically exactly what you describe in your last paragraph.
144.
▲
by
dpratt
13y ago
I don't know if it's possible to describe in words the affection that the American people feel for the other members of the Anglosphere - it's not quite brotherhood, because it's stronger than that. With that said, I don
145.
▲
by
dpratt
13y ago
This is true, and I look forward to the Typesafe guys fixing both the default implicit ExecutionContext as well as any contexts that Akka creates. I actually implemented an ExecutionContext that does exactly what is described above, but ult
146.
▲
by
dpratt
13y ago
I mean this as politely and constructively as possible, but this looks like it has quite a few easy to fall into failure modes. If I'm not using a twitter Future, or if I've been given a Future from somebody else, it would look li
147.
▲
by
dpratt
13y ago
We actually built something quite similar to that, but how do you avoid having to artificially insert a save() and restore(context) call all over the place? It looks to me like you'd have to do something like val context = Local.save()
148.
▲
by
dpratt
13y ago
We built something similar last year for our internal services, but ran into problems when dealing with asynchronous code and threading context. How do you propagate the Zipkin info from thread to thread inside your code? An example - a req
149.
▲
Get signed by an agent, or self-publish? I chose the latter. Here's why.
(thatsagirlscar.com)
2 points
by
dpratt
13y ago
|
0 comments
150.
▲
by
dpratt
13y ago
I'm with you - I'm running a VM of 13.04 full screen 1920x1200 on a dual monitor machine. The Ubuntu desktop can fit about 40% of the content that the host MacOS install can in the same space. It's frustrating - I shudder to
More ›