Sign in or Join FriendFeed
FriendFeed is the easiest way to share online. Learn more »
bos on Reading files from the /proc filesystem - http://www.reddit.com/r...
"The implementation of readFile is clearly wrong here. It should not be relying on the file size being either true or stable, but rather as a hint. Must remember to fix." - Bryan O'Sullivan
bos on Slides from Conan Elliott's workshop on Denotational Design: from meanings to programs - http://www.reddit.com/r...
"Better known as "Conal"." - Bryan O'Sullivan
bos on Are functional languages (or specifically GHC Haskell) bad at GC? - http://www.reddit.com/r...
"If you can't trust some random uninformed clown on HN, who can you believe?" - Bryan O'Sullivan
bos on I Was Wrong - Proving LZ4 Exploitable With Less Than 4MB - http://www.reddit.com/r...
"As I mentioned in a previous comment above, your intuitions are entirely wrong in this instance. Gzip becomes *the* bottleneck in anything that can sustain more than about 25MB/sec of throughput, and that only on relatively modern Intel gear. Forget about it on low-power CPUs." - Bryan O'Sullivan
bos on I Was Wrong - Proving LZ4 Exploitable With Less Than 4MB - http://www.reddit.com/r...
"Gzip is extremely slow, and is a first-line bottleneck for even spinning drives. A very slow hard disk from any time in the past five years can sustain a linear write speed above 50MB/sec, whereas gzip compression struggles to make 25-40MB/sec. Of course in addition to being slow, it's also expensive: you'll peg a CPU while falling ever further behind what your storage can handle. It also adds huge *latency* as a result of all of this inefficient work. LZO and LZ4 are 30-50 times faster, sacrificing only a relatively small margin of compression ratio." - Bryan O'Sullivan
bos on Is there a good way to work backwards on a list? - http://www.reddit.com/r...
"Is there any chance this is a homework problem relating to credit card number verification?" - Bryan O'Sullivan
bos on What would you want out of a Cabal enhancement package? - http://www.reddit.com/r...
"I almost never put code in a src directory, as I see little value in having a directory that contains just a single directory. So please don't presume to make sweeping statements on my behalf." - Bryan O'Sullivan
Win bigger statistical fights with a better jackknife - http://www.serpentine.com/blog...
bos on Vector now supports OverloadedLists - http://www.reddit.com/r...
"Oops, thanks for catching that, Herbert. I must have tested master instead of 0.10 before pushing!" - Bryan O'Sullivan
bos on The typeparams library provides a lens-like interface for type level parameters; it allows unboxing unboxed vectors (with benchmarks indicating a 25% performance gain) and supercompilation-like optimizations (with benchmarks showing 40x performance gain in some cases) - http://www.reddit.com/r...
bos on The fast-math package implements a number of rewrite rules that might speed up your numeric computations - http://www.reddit.com/r...
"You know this will change the answer depending on the optimisation level, right?" - Bryan O'Sullivan
bos on Third generation of the attoparsec parsing library - http://www.reddit.com/r...
"That's what the precious versions did too. There are a few subtle differences in the consequences of the change in internal representation, but the net result is that the new version generally uses less memory." - Bryan O'Sullivan
bos on Third generation of the attoparsec parsing library - http://www.reddit.com/r...
"I have no idea where that code is. wai is a labyrinth." - Bryan O'Sullivan
bos on How much do you explicitly use category theory in your code? - http://www.reddit.com/r...
"This is how I use category theory: http://bit.ly/T1zBmc" - Bryan O'Sullivan
bos on Third generation of the attoparsec parsing library - http://www.reddit.com/r...
"Because I posted the damn thing by accident :-)" - Bryan O'Sullivan
bos on Exceptions in continuation-based monads - http://www.reddit.com/r...
"As far as I know, you really need linear types for the type system to enforce the zero-or-one-time use of a continuation. Which is a shame, as there are many things you can do more efficiently if you can be certain that a continuation is only called once." - Bryan O'Sullivan
bos on Why doesn't Haskell allow type aliases in the monad typeclass? - http://www.reddit.com/r...
"The language forbids the use of type synonyms for instance declarations. Even if it didn't (e.g. using FlexibleInstances), an instance has to be associated with a type constructor, and you obviously don't have one here." - Bryan O'Sullivan
bos on PSA: you can now visit status.haskell.org - http://www.reddit.com/r...
"I have to confess, my heart rose a little when you mentioned Phabricator, because I thought you were considering it as a replacement for Trac. (It is way better than Trac, surprise surprise.)" - Bryan O'Sullivan
bos on Storing data in Haskell. - http://www.reddit.com/r...
"Unfortunately, all these problems were known in advance. Sometimes you just have to give people room to make mistakes themselves." - Bryan O'Sullivan
bos on PSA: you can now visit status.haskell.org - http://www.reddit.com/r...
"Word to the wise: phabricator is very expensive when it comes to syncing with upstream. Between database schema changes and big UI differences, it moves fast and isn't easy to work with. The longer you delay updates, the more painful and jarring they become." - Bryan O'Sullivan
bos on Why isn't halvm getting more attention in haskell land? - http://www.reddit.com/r...
"The sole and only reason that Mirage gets lots of attention is that Anil is a juggernaut of never-ending energy, enthusiasm, and ideas, and this is a highly infectious property. This social factor is one of the most important and readily overlooked reasons why projects succeed or languish. In stark comparison, I frankly couldn't tell you the names of anyone working on HaLVM. Just doing the work isn't enough, you have to make some noise." - Bryan O'Sullivan
bos on Once more into the teach, dear friends - http://www.reddit.com/r...
"Yes, there are some large-scale Haskell deployments in production. Obviously nobody makes a "C or Java could do it in 50% less hardware" argument in these situations, since who's going to build a big complex system twice. People tend to follow the lead of whoever starts a project, which is about as sociologically complex as the choice of language gets." - Bryan O'Sullivan
bos on Lens is unidiomatic Haskell - http://www.reddit.com/r...
"I do wonder how many Haskellers understand UML diagrams. I certainly had no idea what the heck that huge GIF meant until I was already 30% of the way through understanding lenses by actually using them. Prior to that, I couldn't even have told you which end of the diagram to start at to find the fundamental building blocks!" - Bryan O'Sullivan
bos on wreq: a capable new HTTP client library - http://www.reddit.com/r...
"You don't need to apologize, and I didn't take anything as ungrateful. You're entitled to feel however you like about my choice to use lens, and I certainly knew ahead of time that it would be a controversial thing to do." - Bryan O'Sullivan
bos on wreq: a capable new HTTP client library - http://www.reddit.com/r...
"`wreq` certainly does *not* use lazy IO: it uses *eager* IO, and provides (a currently incomplete set of) simple left folds if you need to stream responses." - Bryan O'Sullivan
bos on wreq: a capable new HTTP client library - http://www.reddit.com/r...
"I haven't done any benchmarking, and I may not do any in the future, as the library is just a thin(ish) layer atop http-client. As for pronk, I haven't really given any thought to using wreq with it. It would probably be an easier building block to craft custom benchmarks with (e.g. "POST this body"), which is interesting." - Bryan O'Sullivan
bos on wreq: a capable new HTTP client library - http://www.reddit.com/r...
"Because [`FormValue` handles type conversions for you](http://hackage.haskell.org/package...). How is this not obvious? I'd like to improve the docs so that questions like this are not necessary." - Bryan O'Sullivan
bos on wreq: a capable new HTTP client library - http://www.reddit.com/r...
"That's happening because wreq depends on a newer version of http-client than http-conduit is built on. If you reinstall http-conduit at the same time, the problem will go away." - Bryan O'Sullivan
bos on wreq: a capable new HTTP client library - http://www.reddit.com/r...
"That was where I started, but `lens-family-core` simply isn't powerful enough to express some of the ideas that you get "out of the box" with `lens`. I switched to `lens` once I ran into one roadblock too many. The nice thing about `lens-family-core` is that it's completely compatible, so you can start smallish if you like, and delay the move to `lens` for some time—perhaps indefinitely." - Bryan O'Sullivan
bos on wreq: a capable new HTTP client library - http://www.reddit.com/r...
"So `_String` gives useful default values (thanks to `mempty`) regardless of whether you use `^.`, `^?`, or `^..`. It's super handy. Is there something specific you're reacting to?" - Bryan O'Sullivan
Other ways to read this feed:Feed readerFacebook