Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bsummer4
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
bsummer4
8y ago
But flexibility is the problem with XMPP in the first place. None of the clients and servers have compatible feature sets.
2.
▲
by
bsummer4
9y ago
So? The problem is our school systems and or work environments, not our biology. We are a VERY significant minority of the population, and our institutions are not working for us. We should organize and do something about it instead instead
3.
▲
by
bsummer4
9y ago
I've argued with a lot of friends about the "buy it for life" meme. I think it overlooks how quickly people change what they want from their things. Maybe a more healthy meme could be: "Buy high-quality things, but never
4.
▲
by
bsummer4
9y ago
People need to stop using the word "hate" and start calling people out whenever they use it. "Hate" just means "blasphemy". Once you make this substitution, discussions like this start to make a lot more sense.
5.
▲
by
bsummer4
9y ago
If you upgrade stack and then do stack build , it's very close to being guaranteed to work. Stack (and stackage) is the best nicest, most-reliable build-system of any language.
6.
▲
by
bsummer4
9y ago
One has to learn how to deal with cabal anyway Nah, I haven't used cabal-install in years now. Because of hpack , you don't even need to write .cabal files. The only time I touch cabal is when I need to write Setup.hs fil
7.
▲
by
bsummer4
10y ago
Do be fair, he said "impure language" and not "impure code". "Looks like we need to let the scholars know - there are 18,300 uses of the non-word "performant" in scholarly papers" <- If that'
8.
▲
by
bsummer4
10y ago
It's not! classy-prelude is compatible with existing abstractions and doesn't try to replace large portions of the basic types and classes.
9.
▲
by
bsummer4
11y ago
I think the similarities are mostly superficial. I mean it has (local) type inference, ADTs, and traits (which are sooooorta like type classes). But, as a Haskell programmer, the Rust type system feels very foreign. No typeclasses (and asso
10.
▲
by
bsummer4
11y ago
It really doesn't have that much in common with Haskell either. It's designed by people who are not oblivious about PL stuff, but it's still pretty thoroughly in the C/C++ world in terms of both syntax and semantics. It&
11.
▲
by
bsummer4
11y ago
Yeah, this is a good point. Both math and music have extremely ad-hoc and inconsistent syntax.
12.
▲
by
bsummer4
11y ago
The article spends a lot of time talking about how "Complicated" abstractions are, and about how abstractions come with a complexity cost. IMHO, the opposite is true. > Whenever I work in Rust, I find myself having a good time
13.
▲
by
bsummer4
11y ago
Yep. This is the same bullshit that some companies with open-source products try to shove down your throat.
14.
▲
by
bsummer4
11y ago
Racket is pretty cool! Sincerely, a Haskell developer.
15.
▲
by
bsummer4
11y ago
Sure, but in this case "knowing the rules" is equivalent to being fluent in a language, not some document that you can read.
16.
▲
by
bsummer4
11y ago
Haskell is all of these things, though it's library ecosystem has a pretty lengthy learning curve.
17.
▲
by
bsummer4
11y ago
1.4 tastes terrible. I've been using it, but I've developed a very specific ritual for making it palatable, and it's still not an enjoyable experience. If 1.5 is anywhere near as tasty as 1.3, then I strongly recommend that y
18.
▲
by
bsummer4
11y ago
Any idea when GHC 7.10's static pointers will be supported?
19.
▲
by
bsummer4
11y ago
Are you sure you're not still waking up in the middle of the cycle? 90 minutes is just a loose generalization. Different people have different sleep cycles and take different amounts of time to fall asleep. Personally, 2 hours works we
20.
▲
by
bsummer4
11y ago
Yi is really nice, overall. The code is clean too. I don't remember all of the issues, but there are a ton of small things that make the editor unusable to me. I used it for a couple of weeks, and I spent some time working on these iss
21.
▲
by
bsummer4
11y ago
Not really, no. yi badly needs some more love.
22.
▲
by
bsummer4
11y ago
You can't write this in Haskell: print(arr[i]) You can write this, but you probably wouldn't. print (arr `V.unsafeIndex` i)
23.
▲
by
bsummer4
11y ago
Thank you! This is a really good comment. Also, your bug reports are really solid.
24.
▲
by
bsummer4
11y ago
I went through some examples to make 100% sure that fold has different behavior than foldl/foldr: fold [[_ 4 _] 3 _] → f 4 (f 3 #) fold2 f # [[_ 4 _] 3 _] → f (f # (f 4 #)) (f 3 #) foldl f # [[_ 4 _] 3 _] → f (f # 4) 3 f
25.
▲
by
bsummer4
11y ago
Ugg, I had to spend a fair amount of time coming up with a good example. Hope this is helpful! The Monoid operation mappend is guaranteed to be associative, so the order is irrelevant. Data structures can fold in whatever way is most ef
26.
▲
by
bsummer4
11y ago
Could you name some of these libraries? IME, most of the libraries that are needed for common things are very mature.
27.
▲
by
bsummer4
11y ago
foldl' is a consistent and meaningful name. fold performs a fold without specifying an order[1], foldl folds from the left, and foldl' is a non-lazy version of of foldl . 1: fold :: (Foldable t,Monoid m) => t m -> m
28.
▲
by
bsummer4
11y ago
Pusher? Aren't they moving all of their code to Haskell?
29.
▲
by
bsummer4
11y ago
How so? Basically, the idea is that Yi is actually a Haskell library, and your "config file" is really a Haskell program that uses this library to build an editor. This is similar to how many suckless tools are written. If you w
30.
▲
by
bsummer4
11y ago
Yeah, Yi uses Xmonad style configuration. That is, it re-compiles itself when you modify the configuration file. This approach means that Yi has to depend on the entire Haskell toolchain :(
More ›