Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-08 Thread Ketil Malde
Darrin Chandler dwchand...@stilyagin.com writes: It's not obvious to me that adding a mirror makes the infrastructure more more insecure. Any particular concerns? (I hope I qualify as naïve here :-) If you run a mirror people will come to you for software to run on their machines. I see a

[Haskell-cafe] haskell2010 and state question.

2010-12-08 Thread Magicloud Magiclouds
Hi, Formerly, I had IORef and some state monad to do the task of keeping states. Now in haskell 2010, I cannot find anything about it. Do I have to use ghc base package for this function? -- 竹密岂妨流水过 山高哪阻野云飞 ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-08 Thread Vincent Hanquez
On 08/12/10 08:13, Ketil Malde wrote: My apologies for not expressing myself more clearly. What I mean is that currently, Hackage has a ton of users, each of whom may at whim upload a new version of any library. It's not clear to me that security is significantly worsened by adding a mirror.

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-08 Thread Ketil Malde
Vincent Hanquez t...@snarc.org writes: You have to start somewhere with security. 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

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

2010-12-08 Thread Henk-Jan van Tuyl
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 anything about it. Do I have to use ghc base package for this function?

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

2010-12-08 Thread Johan Tibell
On Wed, Dec 8, 2010 at 11:46 AM, Henk-Jan van Tuyl hjgt...@chello.nl wrote: the state monad is in both the mtl and the transformers package (mtl is deprecated). mtl is not deprecated. mtl-2 depends on transformers. ___ Haskell-Cafe mailing list

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

2010-12-08 Thread Alberto G. Corona
Off topic I was deeply involved in genetic programming in the past (in fact I discovered Haskell on looking for a functional language for genetic programing with better syntax than LISP). But I soon realized that GP was not the holy grial after all. The problem with evolving arbitrary

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

2010-12-08 Thread Mitar
Hi! On Wed, Dec 8, 2010 at 12:33 PM, Alberto G. Corona agocor...@gmail.com wrote: But programs are non lineal. And DNK is? I doubt. ;-) I think the approach is valid, it simulates what is happening in nature (random insertions, deletions, changes, translations, copies, etc, without any higher

Re: [Haskell-cafe] LLVM, type-level?

2010-12-08 Thread Lally Singh
On Tue, Dec 7, 2010 at 1:31 PM, Henning Thielemann lemm...@henning-thielemann.de wrote: On Tue, 7 Dec 2010, Lally Singh wrote: Hey all,  I'm generating a structure definition from input, and would like to generate some LLVM code that can use it.  I see an 'alloca' function in LLVM.Core

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

2010-12-08 Thread Alberto G. Corona
DNK? I think you mean DNA. the genotype program that develips the fenotype is much more smooth and granular than a computer program. A chante un a gen does not make you to have a extra bone. It can make you to have your hand slighltly longer. or shorter. In fact there are metalevels of

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-08 Thread Darrin Chandler
On Wed, Dec 08, 2010 at 11:41:31AM +0100, Ketil Malde wrote: Vincent Hanquez t...@snarc.org writes: You have to start somewhere with security. 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

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-08 Thread C. McCann
On Wed, Dec 8, 2010 at 5:41 AM, Ketil Malde ke...@malde.org wrote: I'm a bit surprised to find that there seems to be a lot of opposition to this view, but perhaps the existing structure is more secure than I thought? The difference is in the ability to influence other packages and metadata, I

Re: [Haskell-cafe] GHC 7.0.1 developer challenges

2010-12-08 Thread Brandon S Allbery KF8NH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/8/10 02:17 , Anders Kaseorg wrote: On Sat, 2010-12-04 at 13:42 -0500, Brandon S Allbery KF8NH wrote: We went over this some time back; the GHC runtime is wrong here, it should only disable flags when running with geteuid() == 0. No. +RTS

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

2010-12-08 Thread Alberto G. Corona
Hi ;) 2010/12/8 Mitar mmi...@gmail.com Hi! On Wed, Dec 8, 2010 at 3:39 PM, Alberto G. Corona agocor...@gmail.com wrote: DNK? I think you mean DNA. Sorry. In my native language it is DNK. ;-) the genotype program that develips the fenotype is much more smooth and granular than a

Re: [Haskell-cafe] GHC 7.0.1 developer challenges

2010-12-08 Thread Andrew Coppin
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 thinking that I may have to skip ghc7. With

[Haskell-cafe] hackage dependencies for cabal setup scripts

2010-12-08 Thread Sönke Hahn
Hi! If you write a cabal setup script with user hooks, is there a way to tell cabal-install that the setup script itself depends on some package from hackage? (The dependency would be cabal-macosx in my case.) Thanks, Sönke ___ Haskell-Cafe mailing

Re: [Haskell-cafe] hackage dependencies for cabal setup scripts

2010-12-08 Thread Duncan Coutts
On 8 December 2010 17:02, Sönke Hahn sh...@cs.tu-berlin.de wrote: Hi! If you write a cabal setup script with user hooks, is there a way to tell cabal-install that the setup script itself depends on some package from hackage? (The dependency would be cabal-macosx in my case.) No, the Cabal

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

2010-12-08 Thread Mitar
Hi! On Wed, Dec 8, 2010 at 4:51 PM, Alberto G. Corona agocor...@gmail.com wrote: Of course there are smooth zones in the fitness landscape of any code. what is necessary is to direct the process by avoiding absurd replacements (mutations that goes straight to dead zones) and rules for changing

Re: [Haskell-cafe] ANN: hledger 0.13

2010-12-08 Thread Simon Michael
On Dec 8, 2010, at 5:58 AM, Peter Simons wrote: do you by any chance remember which dependency that was? I wonder, because I had no trouble compiling hledger 0.13's dependencies on a standard GHC 6.12.3 system -- only hledger itself fails the cabal configure stage --, so it seems to me like all

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

2010-12-08 Thread Andrew Coppin
On 08/12/2010 02:40 PM, Alberto G. Corona wrote: 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. In fact there are metalevels of

Re: [Haskell-cafe] hackage dependencies for cabal setup scripts

2010-12-08 Thread Antoine Latter
On Wed, Dec 8, 2010 at 11:12 AM, Duncan Coutts duncan.cou...@googlemail.com wrote: On 8 December 2010 17:02, Sönke Hahn sh...@cs.tu-berlin.de wrote: Hi! If you write a cabal setup script with user hooks, is there a way to tell cabal-install that the setup script itself depends on some package

Re: [Haskell-cafe] GHC 7.0.1 developer challenges

2010-12-08 Thread Anders Kaseorg
On Wed, 8 Dec 2010, 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 thinking that I may have to skip ghc7. One

[Haskell-cafe] ANNOUNCE: packdeps 0.0.0

2010-12-08 Thread Michael Snoyman
Hi all, I'm happy to announce the first release of packdeps[1]. This is a library and executable containing the same functionality as the original packdeps website[2], namely letting you know when your version bounds exclude the use of the newest version of a library available. While the website

[Haskell-cafe] ANNOUNCE: mime-mail 0.1.0

2010-12-08 Thread Michael Snoyman
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: * A partHeaders record, allowing you to place arbitrary headers on individual parts of a message. This

Re: [Haskell-cafe] GHC 7.0.1 developer challenges

2010-12-08 Thread John Goerzen
On 11/29/2010 03:00 PM, John D. Ramsdell wrote: only one other solution. Somehow the default behavior of the runtime system must impose some reasonable limit. Here is the problem with Shouldn't you configure your operating system to impose some reasonable limit? That's not the job of the

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-08 Thread Luke Palmer
On Wed, Dec 8, 2010 at 8:29 AM, C. McCann c...@uptoisomorphism.net wrote: On Wed, Dec 8, 2010 at 5:41 AM, Ketil Malde ke...@malde.org wrote: I'm a bit surprised to find that there seems to be a lot of opposition to this view, but perhaps the existing structure is more secure than I thought?

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

2010-12-08 Thread Maciej Piechotka
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 multipart emails. This new release introduces: * A partHeaders record, allowing you

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

2010-12-08 Thread Andy Stewart
Michael Snoyman mich...@snoyman.com writes: 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: * A partHeaders record, allowing you to place

[Haskell-cafe] Haskell Weekly News: Issue 161 - December 08, 2010

2010-12-08 Thread Daniel Santa Cruz
Welcome to issue 161 of the HWN, a newsletter covering developments in the [1]Haskell community in the week of November 28 - December 04. Jan Snajder [2]announced the release of genprog, a genetic programming library. Ian Lynagh informed us that the haskell.org server migration is

[Haskell-cafe] dot-ghci files

2010-12-08 Thread 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 legitimate grounds i.e. maybe you want to have