Re: [Haskell-cafe] [Haskell] ANNOUNCE: genprog-0.1

2010-12-09 Thread Ketil Malde
Andrew Coppin andrewcop...@btinternet.com writes: A change to a gene does not make you to have a extra bone. It can make you to have your hand slighltly longer. or shorter. Actually I suspect it does - or at least can do. It's just a rather rare event. Bodily development is regulated by a

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-09 Thread Vincent Hanquez
On 08/12/10 20:25, Luke Palmer wrote: I could upload a new version of mtl if I wanted. Plenty of people would install it. Correct me if i'm wrong; You would appear in the UploadedBy, and then you might be challenged by the traditional uploaders or attentive users (most users wouldn't know

Re: [Haskell-cafe] [Haskell] ANNOUNCE: genprog-0.1

2010-12-09 Thread Ketil Malde
Mitar mmi...@gmail.com writes: Neither Haskell nor any conventional language has [evolved to evolve] True. Well - thinking about it, there's no fundamental difference between genetic algorithms - where you have a genome in the form of a set of parameters and genetic programming - where the

Re: [Haskell-cafe] ANNOUNCE: mime-mail 0.1.0

2010-12-09 Thread Magnus Therning
On Wed, Dec 8, 2010 at 19:11, Michael Snoyman mich...@snoyman.com wrote: Hi all (again), I'm happy to announce the second major release of the mime-mail[1] package. mime-mail is a package providing support for rendering multipart emails. This new release introduces: Very nice! Are you

Re: [Haskell-cafe] ANNOUNCE: mime-mail 0.1.0

2010-12-09 Thread Michael Snoyman
On Thu, Dec 9, 2010 at 11:48 AM, Magnus Therning mag...@therning.org wrote: On Wed, Dec 8, 2010 at 19:11, Michael Snoyman mich...@snoyman.com wrote: Hi all (again), I'm happy to announce the second major release of the mime-mail[1] package. mime-mail is a package providing support for

Re: [Haskell-cafe] dot-ghci files

2010-12-09 Thread Ketil Malde
Tony Morris tonymor...@gmail.com writes: I teach haskell quite a lot. I recommend using .ghci files in projects. Today I received complaints about the fact that ghci will reject .ghci if it is group-writeable. Huh? That's pretty weird. I am wondering if these complaints have legitimate

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-09 Thread Vincent Hanquez
On 08/12/10 10:41, Ketil Malde wrote: Yes. And you should start with assessing how much cost and inconvenience you are willing to suffer for the improvement in security you gain. In this case, my assertion is that the marginal worsening of security by having a mirror of hackage even without

Re: [Haskell-cafe] dot-ghci files

2010-12-09 Thread Christian Maeder
Am 09.12.2010 08:01, schrieb Tony Morris: I teach haskell quite a lot. I recommend using .ghci files in projects. Today I received complaints about the fact that ghci will reject .ghci if it is group-writeable. I didn't offer an opinion on the matter. I am wondering if these complaints have

Re: [Haskell-cafe] dot-ghci files

2010-12-09 Thread Vincent Hanquez
On 09/12/10 07:01, Tony Morris wrote: I teach haskell quite a lot. I recommend using .ghci files in projects. Today I received complaints about the fact that ghci will reject .ghci if it is group-writeable. I didn't offer an opinion on the matter. I am wondering if these complaints have

Re: [Haskell-cafe] ANNOUNCE: mime-mail 0.1.0

2010-12-09 Thread Nicolas Pouillard
On Thu, 09 Dec 2010 01:10:59 +, Maciej Piechotka uzytkown...@gmail.com wrote: On Wed, 2010-12-08 at 21:11 +0200, Michael Snoyman wrote: Hi all (again), I'm happy to announce the second major release of the mime-mail[1] package. mime-mail is a package providing support for rendering

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-09 Thread Markus Läll
My take on the issue is that we should make it possible to easily mirror hackage (what the OP asked for), so that people could use it when they wanted to, and have a list of the mirrors on the wiki. This way those who are interested can use them. Like when the mirror is faster/closer to them or to

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-09 Thread Ivan Lazar Miljenovic
On 9 December 2010 20:55, Vincent Hanquez t...@snarc.org wrote: You might have misunderstood what I was talking about. I'm proposing signing on the hackage server on reception of the package, where it can be verified by cabal that the package hasn't been signed properly. By cabal, are you

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-09 Thread Vincent Hanquez
On Thu, Dec 09, 2010 at 10:45:39PM +1100, Ivan Lazar Miljenovic wrote: On 9 December 2010 20:55, Vincent Hanquez t...@snarc.org wrote: You might have misunderstood what I was talking about. I'm proposing signing on the hackage server on reception of the package, where it can be verified

[Haskell-cafe] Enhancing the security of hackage

2010-12-09 Thread Ketil Malde
Vincent Hanquez t...@snarc.org writes: You might have misunderstood what I was talking about. I'm proposing signing on the hackage server on reception of the package, Okay, fair enough. You can't *enforce* this, of course, since I might work without general internet access but a local mirror,

Re: [Haskell-cafe] Enhancing the security of hackage

2010-12-09 Thread Lally Singh
On Thu, Dec 9, 2010 at 7:04 AM, Ketil Malde ke...@malde.org wrote: Vincent Hanquez t...@snarc.org writes: You might have misunderstood what I was talking about. I'm proposing signing on the hackage server on reception of the package, Okay, fair enough.  You can't *enforce* this, of course,

Re: [Haskell-cafe] Enhancing the security of hackage

2010-12-09 Thread Ivan Lazar Miljenovic
On 9 December 2010 23:04, Ketil Malde ke...@malde.org wrote: [snip] This way, somebody is likely to actually *notice* when some evil person uploads a trojan mtl or bytestring or whatever.  The downside is more mail, and the people who run Hackage have been wary about this.  So perhaps even

[Haskell-cafe] ICFP 2011: Call for papers

2010-12-09 Thread Wouter Swierstra
= Call for Papers ICFP 2011: International Conference on Functional Programming Tokyo, Japan, Monday 19 -- Wednesday 21 September 2011 http://www.icfpconference.org/icfp2011

Re: [Haskell-cafe] [Haskell] ANNOUNCE: genprog-0.1

2010-12-09 Thread Alberto G. Corona
Hi Ketil, 2010/12/9 Ketil Malde ke...@malde.org Mitar mmi...@gmail.com writes: Neither Haskell nor any conventional language has [evolved to evolve] True. Well - thinking about it, there's no fundamental difference between genetic algorithms - where you have a genome in the form of a

Re: [Haskell-cafe] GHC 7.0.1 developer challenges

2010-12-09 Thread Simon Marlow
On 08/12/2010 16:34, Andrew Coppin wrote: On 08/12/2010 03:29 PM, Brandon S Allbery KF8NH wrote: Then build your CGIs restricted. Restricting the runtime by default, *especially* when setting runtime options at compile time is so much of a pain, is just going to cause problems. I'm already

Re: [Haskell-cafe] GHC 7.0.1 developer challenges

2010-12-09 Thread Andrew Coppin
On 09/12/2010 12:48 PM, Simon Marlow wrote: On 08/12/2010 16:34, Andrew Coppin wrote: It appears that with GHC 7, you can just say something like |-with-rtsopts=-H128m -K1m| while compiling your program, and now that will forever be the default RTS settings for your program. Nice! I didn't

Re: [Haskell-cafe] [Haskell] ANNOUNCE: genprog-0.1

2010-12-09 Thread Mitar
Hi! On Thu, Dec 9, 2010 at 1:48 PM, Alberto G. Corona agocor...@gmail.com wrote:  assign rates of mutation for each statement, This could be assigned by evolution itself. If if will have high probability of mutation then resulting programs will not survive. So those probabilities can be assigned

[Haskell-cafe] Rather off topic: An ab initio universe simulation?

2010-12-09 Thread Ketil Malde
In order to simulate nature, you need to have the mutation and selection process itself be part of the programs (and not the interpreter). How about you have a world consisiting of some memory, bombard this world with cosmic radiation, and add some enzymatic activity in the form of an

Re: [Haskell-cafe] ANN: hledger 0.13

2010-12-09 Thread Simon Michael
On Dec 9, 2010, at 3:35 AM, Peter Simons wrote: you said that a dependency of one of those packages would require process = 1.0.1.4. Now, what I don't understand is why you added that restriction to hledger then? Picture this common scenario, which I saw during installability testing - you

Re: [Haskell-cafe] [Haskell] ANNOUNCE: genprog-0.1

2010-12-09 Thread Alberto G. Corona
Hi! On Thu, Dec 9, 2010 at 1:48 PM, Alberto G. Corona agocor...@gmail.com wrote: assign rates of mutation for each statement, This could be assigned by evolution itself. If if will have high probability of mutation then resulting programs will not survive. So those probabilities can be

Re: [Haskell-cafe] Rather off topic: An ab initio universe simulation?

2010-12-09 Thread Michael Lesniak
Hi Ketil, In order to simulate nature, you need to have the mutation and selection process itself be part of the programs (and not the interpreter). Hence the interpreter can itself be modified? How about you have a world consisiting of some memory, bombard this world with cosmic radiation,

Re: [Haskell-cafe] Rather off topic: An ab initio universe simulation?

2010-12-09 Thread Tom Nielsen
You can do all sorts of fun things with computers. Assuming that you are interested in modeling really real life, how will you estimate parameters (e.g. mutation rates) based on real data? How will you quantify whether this a good or a bad model? I think living in a fact-free world is a bit

Re: [Haskell-cafe] ANN: hledger 0.13

2010-12-09 Thread Simon Michael
On Dec 9, 2010, at 7:34 AM, Peter Simons wrote: I can tell it's doing more harm than good. The situation right now is that it's impossible to install hledger on ArchLinux -- not because Why ? I haven't yet heard why depending on the higher process version is a problem.

Re: [Haskell-cafe] ANN: hledger 0.13

2010-12-09 Thread Simon Michael
On Dec 9, 2010, at 7:39 AM, Simon Michael wrote: On Dec 9, 2010, at 7:34 AM, Peter Simons wrote: that it's impossible to install hledger on ArchLinux -- not because Why ? I haven't yet heard why depending on the higher process version is a problem. Oh, is it because you are avoiding use

Re: [Haskell-cafe] ANN: hledger 0.13

2010-12-09 Thread Peter Simons
Hi Simon, [Are you] avoiding use of cabal-install and hackage entirely? yes, I'm trying to provide a package for hledger 0.13 that can be installed using ArchLinux's native package manager. The current version is available here: http://aur.archlinux.org/packages.php?ID=20762. How did

Re: [Haskell-cafe] Rather off topic: An ab initio universe simulation?

2010-12-09 Thread Alberto G. Corona
The good fact about evolutionary simulations is that all is theoretically possible . The bad fact is that in practice is very hard to achieve results. Biota.org has links to some artificial life projects.Some of them are naive, but some others may be interesting. http://www.biota.org/

[Haskell-cafe] Monads in the 'hood

2010-12-09 Thread Greg Meredith
Dear Haskellians, Keepin' it light. For your amusement this weekend: monads in the hoodhttp://www.youtube.com/watch?v=rYANU61J5eY . Best wishes, --greg -- L.G. Meredith Managing Partner Biosimilarity LLC 1219 NW 83rd St Seattle, WA 98117 +1 206.650.3740 http://biosimilarity.blogspot.com

Re: [Haskell-cafe] dot-ghci files

2010-12-09 Thread Albert Y. C. Lai
Perhaps ghc should also ignore all group-writable *.hs, *.lhs, *.c, *.o, *.hi files. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] dot-ghci files

2010-12-09 Thread Claus Reinke
Perhaps ghc should also ignore all group-writable *.hs, *.lhs, *.c, *.o, *.hi files. dot-ghci files are *run* if you just start ghci (or ghc -e) in that directory (even if you don't intend to compile, load, or run any Haskell code). Claus ___

Re: [Haskell-cafe] dot-ghci files

2010-12-09 Thread Albert Y. C. Lai
On 10-12-09 01:57 PM, Claus Reinke wrote: Perhaps ghc should also ignore all group-writable *.hs, *.lhs, *.c, *.o, *.hi files. dot-ghci files are *run* if you just start ghci (or ghc -e) in that directory (even if you don't intend to compile, load, or run any Haskell code). Haskell

[Haskell-cafe] Operator #

2010-12-09 Thread c8h10n4o2
What does # mean in this code ? (from Data.List) findIndices p ls = loop 0# ls where loop _ [] = [] loop n (x:xs) | p x = I# n : loop (n +# 1#) xs | otherwise = loop (n +# 1#) xs -- View this

[Haskell-cafe] A home-brew iteration-alike library: some extension quiestions

2010-12-09 Thread Permjacov Evgeniy
Hi. I Wrote a simple iteration library. It was not intensively tested, so it MAY contatin bugs, but it is very unlikely. The library is currently on github: https://github.com/permeakra/iteration I'm not ready to upload it to hackage, as some testing and extension is really needed. However, I'd

Re: [Haskell-cafe] A home-brew iteration-alike library: some extension quiestions

2010-12-09 Thread Antoine Latter
I only have some surface level questions/comments - What existing packages is this similar to? How is it different from any previous work in the area? Also, likes looks like you don't need the 'Monad m' constraint on your various Monad and Functor instances in Data.Iteration.Types, which I think

Re: [Haskell-cafe] A home-brew iteration-alike library: some extension quiestions

2010-12-09 Thread Permjacov Evgeniy
Original Message Subject:Re: [Haskell-cafe] A home-brew iteration-alike library: some extension quiestions Date: Thu, 09 Dec 2010 23:07:49 +0300 From: Permjacov Evgeniy permea...@gmail.com To: Antoine Latter aslat...@gmail.com On 12/09/2010 10:54 PM, Antoine

Re: [Haskell-cafe] A home-brew iteration-alike library: some extension quiestions

2010-12-09 Thread Antoine Latter
Also, one thing that tripped me up is that your Stream type is fundamentally different from the Stream types in the iteratee/enumerator libraries - yours is more of a monadic list in the inner monad, with explicit errors. How does this change the operation of the Iterator type? I hope I am not

Re: [Haskell-cafe] Operator #

2010-12-09 Thread Daniel Fischer
On Thu, Dec 9, 2010 at 8:31 PM, c8h10n4o2 asaferibei...@ymail.com wrote: What does # mean in this code ? (from Data.List) It's a magic hash denoting here on the one hand unboxed machine ints (0#) and on the other the constructor wrapping such a raw machine int to a Haskell boxed Int (I#). GHC

Re: [Haskell-cafe] A home-brew iteration-alike library: some extension quiestions

2010-12-09 Thread Permjacov Evgeniy
On 12/09/2010 11:17 PM, Antoine Latter wrote: Also, one thing that tripped me up is that your Stream type is fundamentally different from the Stream types in the iteratee/enumerator libraries - yours is more of a monadic list in the inner monad, with explicit errors. How does this change the

Re: [Haskell-cafe] A home-brew iteration-alike library: some extension quiestions

2010-12-09 Thread Michael Snoyman
On Thu, Dec 9, 2010 at 10:32 PM, Permjacov Evgeniy permea...@gmail.com wrote: On 12/09/2010 11:17 PM, Antoine Latter wrote: Also, one thing that tripped me up is that your Stream type is fundamentally different from the Stream types in the iteratee/enumerator libraries - yours is more of a

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-09 Thread Richard O'Keefe
On 10/12/2010, at 12:18 AM, Markus Läll wrote: My take on the issue is that we should make it possible to easily mirror hackage (what the OP asked for), so that people could use it when they wanted to, and have a list of the mirrors on the wiki. This way those who are interested can use

[Haskell-cafe] [ANNOUNCE] haskell-mpi-1.0.0

2010-12-09 Thread Dmitry Astapov
Dear Haskellers, We are pleased to announce the release of haskell-mpi-1.0.0, a suite of Haskell bindings to the C MPI library and convenience APIs on top of it. About MPI - MPI, the Message Passing Interface, is a popular communications protocol for distributed parallel computing

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-09 Thread Riad S. Wahby
Richard O'Keefe o...@cs.otago.ac.nz wrote: I thought X is a mirror of Y meant X would be a read-only replica of Y, with some sort of protocol between X and Y to keep X up to date. As long as the material from Y replicated at X is *supposed* to be publicly available, I don't see a security

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-09 Thread Markus Läll
On Thu, Dec 9, 2010 at 11:04 PM, Richard O'Keefe o...@cs.otago.ac.nz wrote: On 10/12/2010, at 12:18 AM, Markus Läll wrote: My take on the issue is that we should make it possible to easily mirror hackage (what the OP asked for), so that people could use it when they wanted to, and have a

Re: [Haskell-cafe] Rather off topic: An ab initio universe simulation?

2010-12-09 Thread Ketil Malde
Michael Lesniak mlesn...@uni-kassel.de writes: Hence the interpreter can itself be modified? Well - the interpreter in nature is chemistry. Living organisms are just chemistry programs. -k -- If I haven't seen further, it is by standing in the footprints of giants

Re: [Haskell-cafe] Rather off topic: An ab initio universe simulation?

2010-12-09 Thread Tom Nielsen
Have you read: Fontana Buss : What would be conserved if 'the tape were played twice'? in PNAS? It's quite fun - they model chemical reaction as alpha-reduction in the lambda calculus and look at evolution. Tom On Thu, Dec 9, 2010 at 10:15 PM, Ketil Malde ke...@malde.org wrote: Michael Lesniak

[Haskell-cafe] ANN: Digestive functors 0.0.2.0

2010-12-09 Thread Jasper Van der Jeugt
Hello all, I'm very glad to announce the 0.0.2.0 release of the digestive functors library. The library provides a general API to input consumption, and is an upgrade of formlets. I've written an announcing blogpost and tutorial with more information here:

Re: [Haskell-cafe] ANNOUNCE: mime-mail 0.1.0

2010-12-09 Thread Maciej Piechotka
On Thu, 2010-12-09 at 11:53 +0200, Michael Snoyman wrote: On Thu, Dec 9, 2010 at 11:48 AM, Magnus Therning mag...@therning.org wrote: On Wed, Dec 8, 2010 at 19:11, Michael Snoyman mich...@snoyman.com wrote: Hi all (again), I'm happy to announce the second major release of the mime-mail[1]

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-09 Thread Duncan Coutts
On 9 December 2010 21:04, Richard O'Keefe o...@cs.otago.ac.nz wrote: On 10/12/2010, at 12:18 AM, Markus Läll wrote: My take on the issue is that we should make it possible to easily mirror hackage (what the OP asked for), so that people could use it when they wanted to, and have a list of

Re: [Haskell-cafe] haskell2010 and state question.

2010-12-09 Thread Magicloud Magiclouds
On Wed, Dec 8, 2010 at 6:46 PM, Henk-Jan van Tuyl hjgt...@chello.nl wrote: On Wed, 08 Dec 2010 10:03:40 +0100, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: Hi,  Formerly, I had IORef and some state monad to do the task of keeping states.  Now in haskell 2010, I cannot find

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-09 Thread Richard O'Keefe
On 10/12/2010, at 10:50 AM, Riad S. Wahby wrote: Richard O'Keefe o...@cs.otago.ac.nz wrote: I thought X is a mirror of Y meant X would be a read-only replica of Y, with some sort of protocol between X and Y to keep X up to date. As long as the material from Y replicated at X is *supposed* to

Re: [Haskell-cafe] haskell2010 and state question.

2010-12-09 Thread Thomas Schilling
On 10 December 2010 01:40, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: On Wed, Dec 8, 2010 at 6:46 PM, Henk-Jan van Tuyl hjgt...@chello.nl wrote: On Wed, 08 Dec 2010 10:03:40 +0100, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: Hi,  Formerly, I had IORef and some

Re: [Haskell-cafe] ANN: Digestive functors 0.0.2.0

2010-12-09 Thread Robert Wills
Very nice. I like the addition of the CLI interface. I was inspired by this library and Chris Eidhof's Formlets to try to port this idea to Scala. https://github.com/wrwills/scormlets It's not as elegant or as complete as this but it helped me to get my head around this very cool idea. -Rob

Re: [Haskell-cafe] GHC 7.0.1 developer challenges

2010-12-09 Thread John D. Ramsdell
I found out how to compute a good memory limit for the GHC runtime on Linux systems. One opens /proc/meminfo, and sums the free memory with the reclaimable memory. The memory allocated to file buffers and the disk cache are reclaimable, and can be added to the memory of a growing GHC process.

Re: [Haskell-cafe] A home-brew iteration-alike library: some extension quiestions

2010-12-09 Thread John Millikin
On Thu, Dec 9, 2010 at 12:43, Michael Snoyman mich...@snoyman.com wrote: For the record, enumerator (and I believe iteratee as well) uses transformers, not mtl. transformers itself is Haskell98; all FunDep code is separated out to monads-fd. Michael iteratee also uses 'transformers', but

[Haskell-cafe] Missing Functor instances in GHC 7?

2010-12-09 Thread Sebastian Fischer
Hello, according to http://www.haskell.org/ghc/docs/latest/html/libraries/base/Control-Monad.html Control.Monad exports 20 Functor instance declarations in base-4.3.0.0. However: bash# ghc-pkg list | grep base base-4.3.0.0 bash# ghci --version The Glorious Glasgow Haskell

Re: [Haskell-cafe] Missing Functor instances in GHC 7?

2010-12-09 Thread Antoine Latter
Hi Sebastian, I imagine that many of the instances are defined in the module that defines the data type. For example, the STM instance is defined in the same module as the STM type. Are there any particular ones you're running into problems with? Take care, Antoine On Thu, Dec 9, 2010 at 11:10

Re: [Haskell-cafe] Missing Functor instances in GHC 7?

2010-12-09 Thread Sebastian Fischer
Hi Antoine, On Thu, 2010-12-09 at 23:20 -0600, Antoine Latter wrote: Are there any particular ones you're running into problems with? Yes, I cannot find the instance for ((-) r). Even if I import Control.Monad Control.Monad.Reader Control.Applicative Data.Functor

Re: [Haskell-cafe] Missing Functor instances in GHC 7?

2010-12-09 Thread Sebastian Fischer
On Fri, 2010-12-10 at 14:35 +0900, Sebastian Fischer wrote: Yes, I cannot find the Functor instance for ((-) r). As the Applicative instance for ((-) r) depends on the Functor instance I only needed to go through the imports of Control.Applicative to find that the Functor instance of ((-) r) is

[Haskell-cafe] haskell-2010 binary IO

2010-12-09 Thread Permjacov Evgeniy
Does haskell 2010 include binary IO? If no, what was the reason? ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe