Re: [Haskell-cafe] Hackage checking maintainership of packages

2013-05-07 Thread Ozgun Ataman
+1. I would be more than happy to receive such an email every 3 months and quickly scan the page to update the maintained status for each of the packages where I'm marked as the maintainer. One modification I would make is to persist the checked state across emails. They should all be

Re: [Haskell-cafe] ANN: retry 0.1 - retry combinators for monadic actions that often fail

2013-03-13 Thread Ozgun Ataman
Good point - I'll put an option in for the next release. On Wednesday, March 13, 2013 at 4:32 AM, Simon Marechal wrote: On 13/03/2013 05:14, Ozgun Ataman wrote: In either case, there is a ceiling for the number of total retries. This is something that I might want to use in many places

[Haskell-cafe] ANN: retry 0.1 - retry combinators for monadic actions that often fail

2013-03-12 Thread Ozgun Ataman
Dear Cafe, I'm happy to announce the availability of the retry package on Hackage[1] and Github[2]. The package provides a few useful combinators for monadic actions that often fail and should be retried in cases of a certain set of exceptions (or failure modes). Such cases are quite common

Re: [Haskell-cafe] ANN: Nomyx 0.1 beta, the game where you can change the rules

2013-02-27 Thread Ozgun Ataman
I would encourage you to take a look at the snap (the web framework) package, where this concern is handled for you as part of the session snaplet. The Snap.Snaplet.Sessionhttp://hackage.haskell.org/packages/archive/snap/0.11.2/doc/html/Snap-Snaplet-Session.html module and the

Re: [Haskell-cafe] ANN: Nomyx 0.1 beta, the game where you can change the rules

2013-02-27 Thread Ozgun Ataman
, February 27, 2013 at 4:43 PM, Corentin Dupont wrote: Thanks Ozgun, but I'm using Happstack: this will be compatible? On Wed, Feb 27, 2013 at 10:30 PM, Ozgun Ataman ozata...@gmail.com (mailto:ozata...@gmail.com) wrote: I would encourage you to take a look at the snap (the web framework

Re: [Haskell-cafe] ANN: conduit-network-stream, A base layer for network protocols with Conduits

2013-02-25 Thread Ozgun Ataman
One question - and sorry that I didn't get a chance to try some examples myself - but can bi-directional conversations be carried between server/client in interleaving fashion using your library? Something like (simplified): myClient = receive = send . compute I have previously accomplished

Re: [Haskell-cafe] The state of binary (de)serialization

2013-02-25 Thread Ozgun Ataman
On Monday, February 25, 2013 at 2:59 PM, Johan Tibell wrote: On Mon, Feb 25, 2013 at 4:30 AM, Nicolas Trangez nico...@incubaid.com (mailto:nico...@incubaid.com) wrote: - cereal supports chunk-based 'partial' parsing (runGetPartial). It looks like support for this is introduced in recent

Re: [Haskell-cafe] ANN: lazy-csv - the fastest and most space-efficient parser for CSV

2013-02-25 Thread Ozgun Ataman
I'd also like to point to a couple of CSV libraries I released a long time ago and have been maintaining that both target constant-space operation and try (and hope) for the best in terms of speed. I'd be very interested to know how they fare in terms of performance benchmarking: Latest, based

Re: [Haskell-cafe] cabal-dev add-source

2013-02-08 Thread Ozgun Ataman
On Friday, February 8, 2013 at 1:19 PM, Johan Tibell wrote: On Fri, Feb 8, 2013 at 10:07 AM, JP Moresmau jpmores...@gmail.com (mailto:jpmores...@gmail.com) wrote: Johan, thanks, that brings me to a point that I wanted to raise. I'm playing with cabal-dev because users have asked me to

Re: [Haskell-cafe] Substantial (1:10??) system dependencies of runtime performance??

2013-02-02 Thread Ozgun Ataman
If you are doing row-by-row transformations, I would recommend giving a try to my csv-conduit or csv-enumerator packages on Hackage. They were designed with constant space operation in mind, which may help you here. If you're keeping an accumulator around, however, you may still run into

Re: [Haskell-cafe] Martin Odersky on What's wrong with Monads

2012-06-26 Thread Ozgun Ataman
We could debate this endlessly (as is common), but I would argue that a clean design would make the option and alternative of multiplying explicit in its design instead of including calls to fetch command line arguments in an ad-hoc fashion everywhere. The Haskell way of encoding this would

Re: [Haskell-cafe] What is the difference between runhaskell and compile?

2012-05-27 Thread Ozgun Ataman
Maybe try with ghc --make -O0. Afaik, ghci and runhaskell don't do any optimization, which could be the difference. On May 27, 2012, at 5:12 PM, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: Hi, Sorry for the delayed reply. I am using ghc 7.4.1 and LDAP 0.6.6. When you

Re: [Haskell-cafe] too many open files using snap

2012-01-08 Thread Ozgun Ataman
Not knowing how exactly you set up your interop with mysql, is there any chance your application tries to keep too many mysql connections open? A simple show processlist; inside of a mysql console should rule out this possibility. Also, are you reading to or writing from any files at any point

Re: [Haskell-cafe] External system connections

2011-07-11 Thread Ozgun Ataman
Have you looked at Bryan O'Sullivan's resource-pool[1] library? I've used it with MySQL, Redis and Riak connection pooling. It's been robust and easy to use. It seems like it would be a good fit for your application. Cheers, Ozgun [1] http://hackage.haskell.org/package/resource-pool On Sun,

[Haskell-cafe] Problem building with Cabal + TH + Library with FFI to C++ via C Wrapper

2011-06-28 Thread Ozgun Ataman
Dear Cafe, I have recently run into a very annoying issue that I was not able to get around. I have a local package that makes use of the snappy compression library, which boasts bindings to C++ through a C wrapper. Everything compiles fine with ghc --make, but cabal install hits a wall when

[Haskell-cafe] State of the Haskell Web Application Stack

2010-03-23 Thread Ozgun Ataman
Greetings all. I have been for quite some time trying to assess the feasibility of using Haskell in relatively large, high volume, high availability, long-running web application projects. I have enjoyed learning and using Haskell very much for the past year and I often find myself missing