Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tmhedberg
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
tmhedberg
9y ago
Clinton did not resign, nor was he removed from office. Are you thinking of Nixon?
2.
▲
by
tmhedberg
10y ago
Haskell's aeson library, which is probably the most popular way to use JSON in that language, doesn't require any of this complexity or typecasting ugliness. It can derive a typechecking parser for a particular JSON format from an
3.
▲
by
tmhedberg
11y ago
`zip toss toss` only produces 2 of the possible outcomes. Try `liftA2 (,) toss toss` instead.
4.
▲
by
tmhedberg
12y ago
The canonical Go style eschews underscores in package names.
5.
▲
by
tmhedberg
12y ago
http://static.googleusercontent.com/media/research.google.co...
6.
▲
by
tmhedberg
12y ago
Well, you can always assign a different reviewer if your initial choice is taking too long. I usually try to check with my teammates to see who has time for a review before sending them my code, at least if it's something that I want t
7.
▲
by
tmhedberg
12y ago
It's common at Google to have a few projects cooking that you move between. One reason for this (though I doubt it's the sole reason) probably has to do with the mandatory peer review process for all code, which can cause delays i
8.
▲
by
tmhedberg
12y ago
He's a Tech Lead Manager, or TLM, which means he's an engineer who also manages the team he's a part of. In some cases, dev teams have SRE counterparts who take the pager responsibilities, among other things. But not all serv
9.
▲
by
tmhedberg
12y ago
There's some info here: http://www.reddit.com/r/haskell/comments/2pnjdk/is_overloade... . tl;dr: The patch worked but was messy/overly complex, so it needs refactoring before it's merged.
10.
▲
by
tmhedberg
12y ago
Sadly, OverloadedRecordFields won't be making it into 7.10.
11.
▲
by
tmhedberg
12y ago
Agreed that the back button issue was annoying for a long time. Fortunately, the fix went live last week!
12.
▲
by
tmhedberg
12y ago
It doesn't integrate multiple accounts into a single inbox, if that's what you mean. It works the same as Gmail in that respect.
13.
▲
by
tmhedberg
12y ago
It's too different from Gmail to be integrated into it. It coexists with Gmail so that you can choose to use Inbox and its "opinionated" workflow, or not. Users who like their personal Gmail workflow probably wouldn't ap
14.
▲
by
tmhedberg
12y ago
> In java or php, you, as a developer, can never know wether the functions you are calling will throw an exception. That's what checked exceptions are for in Java.
15.
▲
by
tmhedberg
12y ago
That would be difficult, since coastlines are essentially fractal.
16.
▲
by
tmhedberg
12y ago
Parametric polymorphism ("generics") and sum types.
17.
▲
by
tmhedberg
12y ago
Every existing class A or B share will be matched by a class C share. Most Googlers had class A shares before, so now we'll have half class A and half class C, i.e. twice as many total shares, with the same number of votes as before.
18.
▲
by
tmhedberg
13y ago
If you don't think it's worth your time to interview twice at the same company, then simply don't. That's a completely reasonable point of view, and I didn't mean to imply otherwise. For what it's worth, Google
19.
▲
by
tmhedberg
13y ago
The Google lunches are emphatically not a test. It's very rare for the lunch "interviewer" to provide any feedback at all. That usually only happens if the candidate starts spouting racist comments or punches someone in the l
20.
▲
by
tmhedberg
13y ago
I'm a Google SRE that had a very similar experience. My best advice would be not to sweat the rejection. I was also contacted by a recruiter based on an open source project I had contributed to. I went through the same series of phone
21.
▲
by
tmhedberg
13y ago
For one thing, it allows your pipeline to both read from and write to the same file, as it defers the output until there is no more data to read from "upstream". For instance, this won't work (it truncates the file for writin
22.
▲
by
tmhedberg
13y ago
> - if there's a 6 and 8 next to each other, the third field is always a 2 or 12 At least in the version of the game that I own, if you follow the prescribed setup rules, there can never be an adjacent 6 and 8. The terrain tiles are
23.
▲
by
tmhedberg
13y ago
It seems like kernel-space code would be one of the worst possible environments in which to use a dynamic language. A runtime error in that context can easily bring down the entire system; you're really better off sticking to languages
24.
▲
by
tmhedberg
13y ago
The win for Haskell is that it wears its statefulness on its sleeve. Of course you can, with sufficient discipline, write pure code in any language, though it can be frustratingly difficult in languages where libraries make idiomatic use of
25.
▲
by
tmhedberg
13y ago
I'm aware of dependent types and, more generally, the strong undercurrent of emphasis on provable correctness in the Haskell community at large. I don't disagree at all with what you wrote, but it's not what I was referring t
26.
▲
by
tmhedberg
13y ago
While I fully agree that pure code is far easier to maintain than impure code, and the advantages of Haskell are numerous, I think it is a bit strong to state that such claims are backed up by mathematical proofs. Ease of maintenance is a f
27.
▲
by
tmhedberg
13y ago
The latest version of Cabal (1.18) includes built-in sandboxing support, which alleviates this problem to a significant extent. Prior to that, there were/are tools [^1][^2] for doing the same thing external to Cabal itself. Dependency
28.
▲
by
tmhedberg
13y ago
A patch series implementing asynchronous timers has in fact recently been posted to the Vim development list [^1]. Its status is uncertain, and is still being actively discussed, but to state that such a thing "will never be possible&q
29.
▲
by
tmhedberg
13y ago
Not sure about web applications, but Pandoc [1], git-annex [2], and xmonad [3] are a few examples of successful, reasonably-sized applications written in Haskell. It's definitely worth browsing through their code if you want some examp
30.
▲
by
tmhedberg
13y ago
This simplifies the type signature, but doesn't avoid the need for `return $ f "unneeded"`, which seems to be the ugly part he was really hoping to eliminate. Also, now you have to write your own lookup function instead of ju
More ›