[Haskell-cafe] Re: Weird behaviour with positional parameters in HDBC-mysql

2010-04-16 Thread Chris Waterson
Hi Martijn, I can reproduce the problem and investigate. My guess is that something is getting garbage collected that shouldn't be... I'll let you know what I figure out. thanks, chris On Apr 7, 2010, at 3:02 PM, Martijn van Steenbergen wrote: Dear café (CC John and Chris), I'm having

[Haskell-cafe] Re: Weird behaviour with positional parameters in HDBC-mysql

2010-04-16 Thread Chris Waterson
I think that this should be fixed with the latest version of the driver (0.6.2). I was incorrectly squirreling away pointers that I'd acquired using with or withCString. This worked -- sometimes. :) Please let me know if you see any other problems. thanks, chris On Apr 7, 2010, at 3:02 PM,

[Haskell-cafe] Re: hdbc-mysql on windows

2010-03-19 Thread Chris Waterson
Roderick, thanks for passing this along. To be honest, I haven't tried to build this on Windows yet. I have an old PC that I keep meaning to get things going on. If you're able to get things working, I'd be more than happy to integrate any changes that you want to send along... patches are

Re: [Haskell-cafe] Re: garbage collector woes

2009-02-19 Thread Chris Waterson
On Feb 19, 2009, at 3:41 PM, Don Stewart wrote: Is the solution written up somewhere so we can point to that next time? :) Well, the applicability to the community at large is probably minimal, but my misadventure follows... The MySQL C API has statements that are associated with a

[Haskell-cafe] Re: garbage collector woes

2009-02-18 Thread Chris Waterson
On Feb 17, 2009, at 12:22 PM, Chris Waterson wrote: I'm at wits end with respect to GHC's garbage collector and would very much appreciate a code review of my MySQL driver for HDBC, which is here: http://www.maubi.net/~waterson/REPO/HDBC-mysql/Database/HDBC/MySQL/Connection.hsc

[Haskell-cafe] garbage collector woes

2009-02-17 Thread Chris Waterson
I'm at wits end with respect to GHC's garbage collector and would very much appreciate a code review of my MySQL driver for HDBC, which is here: http://www.maubi.net/~waterson/REPO/HDBC-mysql/Database/HDBC/MySQL/Connection.hsc In particular, the problem that I'm having is that my

Re: [Haskell-cafe] MySQL and HDBC?

2009-01-25 Thread Chris Waterson
On Jan 25, 2009, at 4:25 AM, Yitzchak Gale wrote: o Transactions - if a connection does not support transactions, dbTransactionSupport should return False, and commit and rollback should raise errors. (SqlError I suppose?) Not warnings. You probably already know this, but...the problem is

Re: [Haskell-cafe] MySQL and HDBC?

2009-01-23 Thread Chris Waterson
On Jan 23, 2009, at 1:23 AM, Duncan Coutts wrote: On Fri, 2009-01-23 at 08:06 +, Sebastian Sylvan wrote: 2009/1/23 Galchin, Vasili vigalc...@gmail.com Hello, Real World Haskell seems to say that the abstraction layer HDBC doesn't support MySQL. If so, in what

Re: [Haskell-cafe] Haskell audio libraries audio formats

2008-08-25 Thread Chris Waterson
On Aug 24, 2008, at 8:41 AM, Eric Kidd wrote: Greetings, Haskell folks! I'm working on a toy program for drum synthesis. This has lead me to explore the various sound-related libraries in Hackage. Along the way, I've learned several things: Hey Erik, I've also created (minimal, for fun)

Re: [Haskell-cafe] sound synthesis

2008-05-04 Thread Chris Waterson
On May 2, 2008, at 2:58 AM, Thomas Girod wrote: I remember an article ranting about how lazy evaluation would be great to do signal processing, but it was lacking real world example. I did something similar a few weeks ago. I used libmad to lazily decode an MP3 file and play it using

[Haskell-cafe] libmad and os/x coreaudio wrappers

2008-03-19 Thread Chris Waterson
Hi there! I've taken my first stab at writing some (admittedly minimal) libraries for Haskell, and would love to get feedback on them: * hmad: a wrapper for the libmad MP3 decoder. http://maubi.net/~waterson/REPO/hmad * CoreAudio: a wrapper for OS/X CoreAudio.