Send Beginners mailing list submissions to beginners@haskell.org To subscribe or unsubscribe via the World Wide Web, visit http://www.haskell.org/mailman/listinfo/beginners or, via email, send a message with subject or body 'help' to beginners-requ...@haskell.org
You can reach the person managing the list at beginners-ow...@haskell.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Beginners digest..." Today's Topics: 1. Unresponsive interactive GHC using Leksah (Hugo Ferreira) 2. Re: Unresponsive interactive GHC using Leksah (Daniel Fischer) 3. Re: Unresponsive interactive GHC using Leksah (Hugo Ferreira) 4. [Yesod] How can I dynamically generate selectFields (Michael Litchard) ---------------------------------------------------------------------- Message: 1 Date: Fri, 21 Oct 2011 15:58:45 +0100 From: Hugo Ferreira <h...@inescporto.pt> Subject: [Haskell-beginners] Unresponsive interactive GHC using Leksah To: beginners <beginners@haskell.org> Message-ID: <4ea188a5.9080...@inescporto.pt> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Hello, I am trying out the code in the book http://nlpwp.org/. When testing the code in chapter 7 (POS tagger), the interactive session consumes much memory and the whole system becomes unresponsive (Ubuntu 10.04, Dual Core, 2 Gig memory). I even find it difficult to kill the process. If I execute a ghci session I see very large memory (1.6Gig) use and relative slow execution. However the system does not become as unresponsive. If I run the executable directly the execution goes from minutes to seconds. Anyone know if I can tweak GHCi and/or leksah to avoid or simple reduce this problem? TIA, Hugo F. ------------------------------ Message: 2 Date: Fri, 21 Oct 2011 17:22:41 +0200 From: Daniel Fischer <daniel.is.fisc...@googlemail.com> Subject: Re: [Haskell-beginners] Unresponsive interactive GHC using Leksah To: beginners@haskell.org Message-ID: <201110211722.41598.daniel.is.fisc...@googlemail.com> Content-Type: Text/Plain; charset="iso-8859-1" On Friday 21 October 2011, 16:58:45, Hugo Ferreira wrote: > Hello, > > I am trying out the code in the book http://nlpwp.org/. > When testing the code in chapter 7 (POS tagger), the > interactive session consumes much memory and the whole > system becomes unresponsive (Ubuntu 10.04, Dual Core, > 2 Gig memory). I even find it difficult to kill the process. > > If I execute a ghci session I see very large memory (1.6Gig) > use and relative slow execution. However the system does not > become as unresponsive. If I run the executable directly the > execution goes from minutes to seconds. Does ghci load compiled or interpreted code? In the latter case, compiling it before loading (or even invoking ghci with the -fobject-code flag) might help. > > Anyone know if I can tweak GHCi and/or leksah to avoid or > simple reduce this problem? > > TIA, > Hugo F. ------------------------------ Message: 3 Date: Fri, 21 Oct 2011 16:27:14 +0100 From: Hugo Ferreira <h...@inescporto.pt> Subject: Re: [Haskell-beginners] Unresponsive interactive GHC using Leksah To: Daniel Fischer <daniel.is.fisc...@googlemail.com> Cc: beginners@haskell.org Message-ID: <4ea18f52.1050...@inescporto.pt> Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 10/21/2011 04:22 PM, Daniel Fischer wrote: > On Friday 21 October 2011, 16:58:45, Hugo Ferreira wrote: >> Hello, >> >> I am trying out the code in the book http://nlpwp.org/. >> When testing the code in chapter 7 (POS tagger), the >> interactive session consumes much memory and the whole >> system becomes unresponsive (Ubuntu 10.04, Dual Core, >> 2 Gig memory). I even find it difficult to kill the process. >> >> If I execute a ghci session I see very large memory (1.6Gig) >> use and relative slow execution. However the system does not >> become as unresponsive. If I run the executable directly the >> execution goes from minutes to seconds. > > Does ghci load compiled or interpreted code? I load the file directly, so I assume I am using interpreted code. > In the latter case, compiling it before loading (or even invoking ghci with > the -fobject-code flag) might help. > When using ghci directly I can use this flag. Don't know If I can use this in Leksah. Going to check. Thanks for the info, Hugo F. >> >> Anyone know if I can tweak GHCi and/or leksah to avoid or >> simple reduce this problem? >> >> TIA, >> Hugo F. > ------------------------------ Message: 4 Date: Fri, 21 Oct 2011 14:21:31 -0700 From: Michael Litchard <mich...@schmong.org> Subject: [Haskell-beginners] [Yesod] How can I dynamically generate selectFields To: beginners@haskell.org, yesod...@googlegroups.com Message-ID: <CAEzeKYpd6883Q7BBxSvf=fzyhoco19wc+sfz9skrzpwl9ks...@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Link to details http://stackoverflow.com/questions/7854923/how-can-i-dynamically-generate-selectfields ------------------------------ _______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners End of Beginners Digest, Vol 40, Issue 35 *****************************************