Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
daxfohl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
216 ms
·
2341.
▲
by
daxfohl
12y ago
Ahh, to be 25 and single again. Trust me by the time you're 35 and have kids you'll have a different sense of what's important. Your kids will be your sunshine but also your responsibility. Early retirement, living on a co
2342.
▲
by
daxfohl
12y ago
Never getting a raise because that's not built into their budget and there's not a system around it. Having to beg for vacation time and getting maybe a week a year. And after a few years or a few ventures, your friends at big cor
2343.
▲
by
daxfohl
12y ago
Wow, never would have guessed.
2344.
▲
by
daxfohl
12y ago
Impressive given how cheap gas is now. Solar has gone down even faster?
2345.
▲
by
daxfohl
12y ago
TSA's influence I'd imagine. Because we all know terrorists like to double-check their how-to videos on youtube before actually commencing the act.
2346.
▲
by
daxfohl
12y ago
Way to kick a guy when he's down. Next thing you know he'll be relegated to selling half-finished keyboards out of Thailand.
2347.
▲
by
daxfohl
12y ago
Should reactively download precompiled javascript too.
2348.
▲
by
daxfohl
12y ago
Search for, and go hang out at meetups that cater to programmers and independents. Socialize. Find good people that have some boring, mundane work that they don't want to do, like converting photoshop to HTML or just rote testing, an
2349.
▲
by
daxfohl
13y ago
Much unit testing seems to paradoxically exist to justify OOP than to really test functionality. You'll never need to swap databases (and your DB abstraction layer probably wouldn't isolate all those problems anyway), but hey it
2350.
▲
by
daxfohl
13y ago
Makes a lot of sense really, and the parallels are there: "First, design without (optimization/testability) in the most straightforward fashion such that it works and the code can be reviewed in a straightforward manner. Only th
2351.
▲
by
daxfohl
13y ago
"Premature optimization" has become something of an anathema in the coding world, why isn't "premature testing" so scrutinized? Back in the 90's everything was over-optimized because, well, it made for more in
2352.
▲
by
daxfohl
13y ago
My feeling is that unit testing is so popular among developers because it's developers that get to decide the requirements. Don't really feel like working on that mundane piece of new functionality? Then spend a couple hours d
2353.
▲
by
daxfohl
13y ago
Note given appropriate `MyLinqExt.Scan` and `MyLinqExt.Pairwise`, you could write this in C# just as concisely.
2354.
▲
by
daxfohl
13y ago
You could use `Seq.scan` to get rid of the manual recursion: let n = 42. Seq.initInfinite float |> Seq.scan (fun x _ -> 0.5 * (x + n/x)) 1.0 |> Seq.pairwise |> Seq.pick (fun (x, y) -> if