[Haskell-cafe] SSH in community.haskell.org

2011-10-13 Thread Daniel Díaz Casanueva
Hi Cafe! This is not actually a question about Haskell, but it is related. I sent my request and I have now an account in community.haskell.org. When I was going to use my project, I read these instructions: http://community.haskell.org/admin/using_project.html But I stopped in the first step

Re: [Haskell-cafe] SSH in community.haskell.org

2011-10-13 Thread Ivan Lazar Miljenovic
On 13 October 2011 19:40, Daniel Díaz Casanueva dhelta.d...@gmail.com wrote: Hi Cafe! This is not actually a question about Haskell, but it is related. I sent my request and I have now an account in community.haskell.org. When I was going to use my project, I read these instructions:

Re: [Haskell-cafe] SSH in community.haskell.org

2011-10-13 Thread JP Moresmau
You need to launch the Pageant utility that comes with Putty, and load your key in it. Then start your putty session, putty will then use your key, and you'll be able to connect. Once started, Pageant runs in the system tray. Hope this helps. JP On Thu, Oct 13, 2011 at 10:40 AM, Daniel Díaz

Re: [Haskell-cafe] SSH in community.haskell.org

2011-10-13 Thread Daniel Díaz Casanueva
Thanks JP and Ivan for the quick response! Anyway, it seems I lack the private key mentioned (all I have is the public key), and that sounds bad. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] SSH in community.haskell.org

2011-10-13 Thread Ivan Lazar Miljenovic
On 13 October 2011 20:19, Daniel Díaz Casanueva dhelta.d...@gmail.com wrote: Thanks JP and Ivan for the quick response! Anyway, it seems I lack the private key mentioned (all I have is the public key), and that sounds bad. When you generated your public key, it would have generated the

[Haskell-cafe] Cabal's dependence mechanism can be more available

2011-10-13 Thread 吴兴博
[[ My point is on cabal, but I had to give some examples. I'm very sorry for the authors of the packages listed below. ]] The story is : I was trying to install a package from hackage [holumbus-mapreduce]. I use ghc-7.2.1 and had a hard time to install the packages that depends on.

[Haskell-cafe] A question about causality in FRP

2011-10-13 Thread Alan Jeffrey
Hi everyone, Not sure this is the right venue, as this is a question about the semantics of FRP rather than Haskell... I have a question about the definition of causality for stream functions. A quick recap... Given a totally ordered set T (of times), the type of behaviours Beh A is defined

Re: [Haskell-cafe] Google Knol and haskellers

2011-10-13 Thread Sean Leather
On Wed, Oct 12, 2011 at 12:35, Yves Parès wrote: I re-head recently about Google Knol, which is IMO some crossing-over between a wiki and a blog. Are there some people that use it here to write haskell-related articles instead of a regular blog? As far as anybody outside Google knows, Knol

[Haskell-cafe] Cross-compilation x64 - x86 easier under Ubuntu 11.10 with multiarch?

2011-10-13 Thread Eugene Kirpichov
Hi cafe, Ubuntu 11.10 has been released, which includes support for multiarch https://wiki.ubuntu.com/MultiarchSpec Am I right that this will facilitate compiling Haskell code into x86 binaries on an x64 machine? -- Eugene Kirpichov Principal Engineer, Mirantis Inc. http://www.mirantis.com/

Re: [Haskell-cafe] Cross-compilation x64 - x86 easier under Ubuntu 11.10 with multiarch?

2011-10-13 Thread Antoine Latter
On Thu, Oct 13, 2011 at 11:43 AM, Eugene Kirpichov ekirpic...@gmail.com wrote: Hi cafe, Ubuntu 11.10 has been released, which includes support for multiarch https://wiki.ubuntu.com/MultiarchSpec Am I right that this will facilitate compiling Haskell code into x86 binaries on an x64 machine?

Re: [Haskell-cafe] Cross-compilation x64 - x86 easier under Ubuntu 11.10 with multiarch?

2011-10-13 Thread Antoine Latter
On Thu, Oct 13, 2011 at 12:07 PM, Antoine Latter aslat...@gmail.com wrote: On Thu, Oct 13, 2011 at 11:43 AM, Eugene Kirpichov ekirpic...@gmail.com wrote: Hi cafe, Ubuntu 11.10 has been released, which includes support for multiarch https://wiki.ubuntu.com/MultiarchSpec Am I right that

Re: [Haskell-cafe] Cross-compilation x64 - x86 easier under Ubuntu 11.10 with multiarch?

2011-10-13 Thread Antoine Latter
On Thu, Oct 13, 2011 at 12:15 PM, Antoine Latter aslat...@gmail.com wrote: Ah, I was assuming here that multi-arch support only covered libraries, not applications and tools. Never-mind again! Co-installation of executable packages is listed as an Unresolved issue. So you'd need to install a

Re: [Haskell-cafe] Cross-compilation x64 - x86 easier under Ubuntu 11.10 with multiarch?

2011-10-13 Thread Michael Lazarev
Hello! 2011/10/13 Antoine Latter aslat...@gmail.com It looks like some applications will be flagged as multiarch, so maybe you'll be able to install two GHCs side-by-side with apt. I used x64 edition of Ubuntu 11.10 for a while, and was able to run both 64-bit and 32-bit GHCs. Both GHCs were

Re: [Haskell-cafe] Cross-compilation x64 - x86 easier under Ubuntu 11.10 with multiarch?

2011-10-13 Thread Michael Lazarev
A quick follow-up 2011/10/13 Michael Lazarev lazarev.mich...@gmail.com I used x64 edition of Ubuntu 11.10 for a while, and was able to run both 64-bit and 32-bit GHCs. Both GHCs were manually set-up (i.e. download; tar xvjf ...; ./configure --prefix=...; make install) All is needed is to

Re: [Haskell-cafe] Google Knol and haskellers

2011-10-13 Thread Gwern Branwen
On Thu, Oct 13, 2011 at 11:52 AM, Sean Leather leat...@cs.uu.nl wrote: On Wed, Oct 12, 2011 at 12:35, Yves Parès wrote: I re-head recently about Google Knol, which is IMO some crossing-over between a wiki and a blog. Are there some people that use it here to write haskell-related articles

Re: [Haskell-cafe] Lists concatenation being O(n)

2011-10-13 Thread Albert Y. C. Lai
On 11-10-12 06:50 PM, Yves Parès wrote: [] ++ ys = ys (x:xs) ++ ys = x : (xs ++ ys) To me, we have here something that would be costful in a strict language, but that here, thanks to guarded recursion ((:) being non-strict), doesn't evaluate the first list until it is needed. So let us

Re: [Haskell-cafe] Lists concatenation being O(n)

2011-10-13 Thread Yves Parès
Okay, thanks. I got to wonder that because I was implementing a Show instance (for a game grid, like an Othello), and string manipulation usually comes with a heavy usage of (++). I'm just using a strict left-fold on the game grid (e.g. Vector (Maybe Pawn)) with a combination of show (converting

Re: [Haskell-cafe] ANN: OpenCL 1.0.1.3 package

2011-10-13 Thread Martin Dybdal
On 3 October 2011 12:56, Luis Cabellos cabel...@ifca.unican.es wrote: Hello, all. I want to show you the OpenCL package. I have done this using Jeff Heard OpenCLRaw package, but I create a new one due the lack of updates of the former. # Where to get it * Hackage page

Re: [Haskell-cafe] Cross-compilation x64 - x86 easier under Ubuntu 11.10 with multiarch?

2011-10-13 Thread Joachim Breitner
Hi, Am Donnerstag, den 13.10.2011, 22:26 +0400 schrieb Michael Lazarev: It turns out that it is also possible to compile a 32-bit executable by 32-bit ghc under Ubuntu 11.10 x64. First, additional files supporting compilation for different architectures in gcc must be installed by sudo

Re: [Haskell-cafe] Lists concatenation being O(n)

2011-10-13 Thread Jake McArthur
On Thu, Oct 13, 2011 at 3:32 PM, Yves Parès limestr...@gmail.com wrote: The number of new cons cells created in due course is Θ(length xs). These cons cells would not have been created if we printed length xs and printed length ys separately. Okay, so the major problem comes from memory

Re: [Haskell-cafe] Cross-compilation x64 - x86 easier under Ubuntu 11.10 with multiarch?

2011-10-13 Thread Michael Lazarev
2011/10/14 Joachim Breitner m...@joachim-breitner.de Hi, Am Donnerstag, den 13.10.2011, 22:26 +0400 schrieb Michael Lazarev: It turns out that it is also possible to compile a 32-bit executable by 32-bit ghc under Ubuntu 11.10 x64. First, additional files

Re: [Haskell-cafe] ANN: OpenCL 1.0.1.3 package

2011-10-13 Thread Jason Dagit
On Thu, Oct 13, 2011 at 12:34 PM, Martin Dybdal dyb...@dybber.dk wrote: On 3 October 2011 12:56, Luis Cabellos cabel...@ifca.unican.es wrote: Hello, all. I want to show you the OpenCL package. I have done this using Jeff Heard OpenCLRaw package, but I create a new one due the lack of updates

Re: [Haskell-cafe] A question about causality in FRP

2011-10-13 Thread David Barbour
On Thu, Oct 13, 2011 at 7:54 AM, Alan Jeffrey ajeff...@bell-labs.comwrote: A function (f : Beh A - Beh B) is causal whenever it respects =t, i.e. (forall t . a =t b = f a =t f b). Yes. Function outputs only depend on the past values of the input function. Your solutions for double and weird