Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jfager
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
jfager
14y ago
I can't count the number of times I've had to re-kick a build because a timing-dependent test like that failed (busy build server, inopportunely timed gc, etc). One of my top programming annoyances.
32.
▲
by
jfager
14y ago
The equivalent errors in dynamically typed languages don't lead to critical security vulnerabilities like they do in C. You get a nice exception and a clean crash, not a hook to grab root.
33.
▲
by
jfager
14y ago
FB doesn't want real names and addresses so they can start sending out snailmail spam, they want them so that they can start user matching with advertising partners' CRM databases.
34.
▲
by
jfager
14y ago
Using lambdas in Java 8 looks pretty much exactly like your example. The line you quote from the article is about a proposed way of declaring lambda types, where instead of private Foo MyMethod(string str, Func<Bar, string, int
35.
▲
by
jfager
14y ago
Are you fucking serious? Goebbels used propaganda to further the cause of genocide. Don Stewart thinks Haskell is pretty cool and shares that with the world. The fact that you think the two are even slightly comparable...
36.
▲
by
jfager
14y ago
"Goebbels of Haskell"? What the hell is wrong with you? Assholes like you are why this site is going down the toilet.
37.
▲
by
jfager
14y ago
For me it's as simple as knowing a product I like is not going to be developed anymore, and having a complete lack of faith in Google to use them to turn out anything near as good.
38.
▲
by
jfager
14y ago
The most common derivation of Black-Scholes absolutely does assume a standard normal distribution. There are other models that don't (i.e., Mandelbrot tried to get people to use Levy distributions, and a lot of newer models are built aroun
39.
▲
by
jfager
14y ago
If you ignore the absurdly stupid title, this is actually worth a quick read. It's excerpts from interviews with Myron Scholes and Ian Stewart woven into an oversimplified but not completely awful overview of Black-Scholes and its impact.
40.
▲
by
jfager
14y ago
This is a great series so far, but I think some people are taking it too seriously. This is roughly the equivalent of giving you a good tutorial about how a short map-reduce implementation works and then asking you to agree that Hadoop is
41.
▲
by
jfager
15y ago
The whole point of this thread is that "better" isn't sufficient, either. If people are happy where they are, the only way "the same thing but better" wins is if it's so much better that it covers the perceived switching cost. There aren'
42.
▲
by
jfager
15y ago
Okay, so make a better product. Just don't market it as 'the same thing but better', market it as 'different and better'. That's the point.
43.
▲
by
jfager
15y ago
The entrenched winner in the late 90s right before Apple's resurgence was Wintel - cheap and everywhere. What does Apple do to compete? The name of the campaign was literally what the parent comment says a company needs to do - "Think Dif
44.
▲
by
jfager
15y ago
Alternate title: Why I will stab my eye out with a fork instead of running a cheese grater over my knuckles.
45.
▲
by
jfager
15y ago
I think you're missing the point of the question. I'm not asking how you scale in general, I'm asking whether your replication scheme is only for failover or if it contributes to your scaling story - i.e., if a given key goes hot, does eve
46.
▲
by
jfager
15y ago
I'm reading through the paper, and I'm curious if I understand the implications of key subspacing and value dependent chaining correctly - do all reads and writes for a given key get forced to a single node? I understand how the replicatio
47.
▲
by
jfager
15y ago
You don't need a map, just a reduce (foldl, really). Using underscore, no double calculation: _.reduce(arr, function(p1, p2) { var len = p2.firstName.length + p2.lastName.length; return (len > p1[1]) ? [p2, len] :
48.
▲
by
jfager
15y ago
For anyone else who hits this, this should get you going: http://loopkid.net/articles/2011/09/20/ssl-certificate-error... Basically, you need to get the right certs and then tell wget to use them.
49.
▲
by
jfager
15y ago
Because the julia source file names end in .j, probably.
50.
▲
by
jfager
15y ago
Not really, but it's not important either way.
51.
▲
by
jfager
15y ago
Matlab, Octave, Mathematica, and other mathematical programming environments use 1-based indexing, it's a well-established norm for the domain.
52.
▲
by
jfager
15y ago
Just spent the last hour reading through the docs and playing around with it. This is some damn sexy stuff. It's been a long time since I've been this excited by a language.
53.
▲
by
jfager
15y ago
Even for financial reporting, this is an egregiously awful bit of journalism. Once upon a time it was both an honor and a privilege to go public. A company worked tirelessly for years just to get to that point and it leapt at the opportuni
54.
▲
by
jfager
15y ago
The biggest problem with this rant is that it's attacking a strawman version of Khan Academy, pretending that it's only a website with some videos and exercises. It's not. KA is actively developing and testing an in-school curriculum that
55.
▲
by
jfager
15y ago
You can still assign these values to semantically-named variables where appropriate, with the bonus of not having to monkey-patch ints just to define a few dozen constants. It's benign, boring utility code, I just don't get what's offensive
56.
▲
by
jfager
15y ago
Just by the mere fact that these are constants documented to be in seconds, it's clear that they shouldn't be used for sensitive or precise time calculations. If you're at the point where you don't realize this, you probably aren't going t
57.
▲
by
jfager
15y ago
I see absolutely nothing wrong with this. It replaces a slow way to write human-readable intervals with a fast way. How is that a bad thing?
58.
▲
by
jfager
15y ago
That's only true for people who don't follow the solar industry. They got their loan in March 2009 ( http://cleantechnica.com/2009/03/21/fremonts-solyndra-wins-f... ), filed for IPO in December ( http://gigaom.com/cleantech/solar-tube-make
59.
▲
by
jfager
15y ago
Solyndra failed because its secret-sauce technology couldn't get cheap enough fast enough compared to the plummeting cost of photovoltaics. So it fits pretty well.
60.
▲
by
jfager
15y ago
This looks great. One thing that's a little annoying is how the vertical axis automatically scales to the range of the data. It makes it hard to compare peaks that don't occur within the same view range.
More ›