[Haskell-cafe] GHC 6.8.3 binary for older linux

2008-08-14 Thread Agent Zhang
Halo~ I ran into the following error while trying to run a binary generated by GHC 6.8.x on our production machines with a not-so-recent linux installed (kernel 2.6.9). $ ./restyscript restyscript: timer_create: Invalid argument Evan building a pure static-linking executable did not solv

Re: [Haskell-cafe] Network.FastCGI does not emit stderr outputs to lighttpd's error.log?

2008-07-31 Thread Agent Zhang
On Thu, Jul 31, 2008 at 1:56 AM, Don Stewart <[EMAIL PROTECTED]> wrote: > > We've had no problems with this and apache at least. Is lighttpd > doing something funny with error logging? It seems that Apache is doing something funny :) According to my teammate chaoslawful, apache redirects stderr to

[Haskell-cafe] Network.FastCGI does not emit stderr outputs to lighttpd's error.log?

2008-07-30 Thread Agent Zhang
Hi, I'm trying Network.FastCGI + lighttpd 1.4.9 to develop a RESTful service platform. I've found that stderr (especially those from Debug.Trace) get lost in the error.log file. But plain CGI mode with Network.CGI works perfectly (all stderr outputs appear in error.log). Besides, my Perl fastcgi s

Re: [Haskell-cafe] www.haskell.org is currently very slow in responding to HTTP requests

2008-07-29 Thread Agent Zhang
On Wed, Jul 30, 2008 at 10:58 AM, Benjamin L. Russell <[EMAIL PROTECTED]> wrote: > Currently, www.haskell.org is very slow in responding to HTTP > requests, taking over a minute just to display the main home page. It seems to take forever here ;) Cheers, -agentzh _

Re: [Haskell-cafe] The ping method in HDBC

2008-07-01 Thread Agent Zhang
On Mon, Jun 30, 2008 at 9:31 PM, John Goerzen <[EMAIL PROTECTED]> wrote: > > run dbh "SELECT 1" [] > > I note from the Perl DBI documentation that it is not guaranteed that > its ping function actually does anything. Okay, thanks :) > > I am pondering connection pools in HDBC for the future, if I

[Haskell-cafe] The ping method in HDBC

2008-06-28 Thread Agent Zhang
Hi, there I'm wondering if there's a ping method in HDBC that does the same thing as Perl DBI's ping. Please see the following link for details: http://search.cpan.org/~timb/DBI-1.605/DBI.pm#ping I think It's rather important for database auto-connection when preserving database connections