Which streaming library do you recommend to parse a network feed, demultiplex it into channels, build some state on each of them and produce events?
I'm trying to build an application that parses an exchange protocol, demultiplexes it into (channels), builds a trading book from the messages, identifies patterns and finally logs them (one file per channel). I would like to use a streaming library to structure the different steps of the application but I haven't been able to find examples of anything similar. I believe the library should follow a push model (the producer drives de computation). I'm not sure if this is possible with Conduit. I saw that Pipes has push-based pipes, but I haven't found many examples either. I'm also trying to digest Enumerators and Arrows, but I feel I'm loosing focus. Could anybody advise which streaming library be a good fit for this problem so I can concentrate on learning just one? Many thanks.submitted by jeroko
[link] [12 comments]
The wiki accepts my login details and then asks me to change the password as it's a new account. When I click the Set Password and Log In button I get a page with the following:
Change password There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Go back to the previous page, reload that page and then try again.
I get this with Chrome (with Ghostery and Adblock disabled) and IE.
Searching for that message brings up various MediaWiki discussions - one possible cause is insufficient disk space (on the server). Has anyone else seen the same issue?submitted by jonhanson
[link] [2 comments]
Just releasing it was, ahem, fun, as somebody noticed that it didn't build in a clean sandbox, and then that the haddock comments were broken (it's a bit annoying that a one space error in Haddock markup causes the whole install to fail). So hopefully now it's ready for people to try and improve!
Pull requests welcome!!
In order to improve my personal coding style I'd like to take the time to study exemplary Haskell. Can you recommend certain libraries or examples that are written especially clearly and idiomatically?submitted by begriffs
[link] [27 comments]
For example, if I have f n = n2, is there a way that I can do read "f 5" that will return 25? Is it possible to execute functions though the read function?
EDIT: Or any other function for that matter. I'm just wondering if it's possible.submitted by k3DW
[link] [14 comments]
You'll find an old discussion here: http://www.reddit.com/r/haskell/comments/1xnmiv/monad_layers_an_alternative_to_transformers/
It seems quite promising, but the hackage package is not up-to-date with the GitHub source. Is anyone actively using this?
Some context: "Monad layers, an alternative to transformers: The author claims [layers package's] superiority over transformers, but given that in my whole Haskell experience I have never heard anything about that package I am interested why, also whether the author's claims are true and in general opinions from the community."submitted by eacameron
[link] [4 comments]