Re: [Haskell-cafe] Socket not released

2010-08-07 Thread Donn Cave
Quoth Jonathan Geddes , > ... but here's what I'm seeing. The process tries n times > to acquire the socket, pausing for a second or so between attempts. > While running a "child" process I will run a fresh process so that the > two processes are competing for the socket, but neither of them are >

Re: [Haskell-cafe] lambdacats

2010-08-07 Thread Ivan Lazar Miljenovic
a...@spamcop.net writes: > I can't remember if this one made it to the site or not: > > http://andrew.bromage.org/pictures/dilimitd.jpeg Don't think it did; hooray, a new lambdacat!!! -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___

Re: [Haskell-cafe] Socket not released

2010-08-07 Thread Jonathan Geddes
Thank you for your response > Are you certain of this part?  The usual problem with this kind of program > is that the system holds the socket open for a minute or so in case there > are any packets in flight for the connection (the lower level network > protocols not being 100% reliable). I'm no

Re: [Haskell-cafe] lambdacats

2010-08-07 Thread ajb
G'day all. Quoting Dan Doel : Simon cat and Oleg cat are also missing, unfortunately. http://andrew.bromage.org/pictures/simon.jpeg http://andrew.bromage.org/pictures/oleg.jpeg I can't remember if this one made it to the site or not: http://andrew.bromage.org/pictures/dilimitd.j

Re: [Haskell-cafe] lambdacats

2010-08-07 Thread ajb
G'day all. Quoting Andrew Coppin : Heh. unsafePerformDoggeh# still amuses me... I still have the original at full resolution of all the ones I did (including unsafeDoggeh#), plus a couple that didn't make it to the web site because they were deemed too obscure. For your viewing pleasure:

Re: [Haskell-cafe] iPhone/Android and Haskell [Was: Embedded funcional programming?]

2010-08-07 Thread Mathew de Detrich
Although I know that ARM basically has monopoly for chipsets on mobile devices, that doesn't mean there couldn't be a chipset used that isn't ARM and runs android (and what if that device happened to be really popular in the future?) The main issue however, as I mentioned before, is the fact that

[Haskell-cafe] hdbc-mysql broken on snow-leopard?

2010-08-07 Thread Carter Schonwald
Hey All, when i build hdbc-mysql and then try to run some example code, i get the following error message: Loading package HDBC-mysql-0.6.3 ... can't load .so/.DLL for: mysqlclient (dlopen(libmysqlclient.dylib, 9): no suitable image found. Did find: /usr/local/lib/libmysqlclient.dylib:

Re: [Haskell-cafe] iPhone/Android and Haskell [Was: Embedded funcional programming?]

2010-08-07 Thread Daniel Peebles
The Hummingbird is still ARM. ARM doesn't actually build any chips themselves, and just license the architecture design out to people who do make them. Most of the iPhone ARM chips are built by Samsung too. Almost all the mobile devices I know of run ARM, so I think having a native ARM generator w

Re: [Haskell-cafe] iPhone/Android and Haskell [Was: Embedded funcional programming?]

2010-08-07 Thread Mathew de Detrich
Well the other issue is of course that Android being available on a wide variety of phones, not all of which run ARM (the phone I am about to get for example has a custom built CPU), although I guess one could use a "generic" ASM branch for "mobile" devices (if one exists). btw the phone I am about

Re: [Haskell-cafe] Socket not released

2010-08-07 Thread Brandon S Allbery KF8NH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/7/10 20:06 , Jonathan Geddes wrote: > The problem I'm having is that the port that the parent process was using is > not available to the child process. Even though the parent process has > terminated, the port is unusable until the child process

[Haskell-cafe] Socket not released

2010-08-07 Thread Jonathan Geddes
Cafe, I'm writing a network application that uses static configuration a la xmonad and yi. When the app receives a certain command it recompiles its source, closes the socket it is using and runs its newly compiled "predecessor" as a new process. The problem I'm having is that the port that the

Re: [Haskell-cafe] iPhone/Android and Haskell [Was: Embedded funcional programming?]

2010-08-07 Thread Don Stewart
Only problem is rewriting the GHC runtime in Java... :-) -- Don scooter.phd: > Whatever happened to the JVM backend for GHC? That might actually be a > relatively straightforward solution to the whole "interface to Java" problem. > > On Sun, Apr 18, 2010 at 11:42 PM, Don Stewart wrote: > >

Re: [Haskell-cafe] iPhone/Android and Haskell [Was: Embedded funcional programming?]

2010-08-07 Thread Scott Michel
Whatever happened to the JVM backend for GHC? That might actually be a relatively straightforward solution to the whole "interface to Java" problem. On Sun, Apr 18, 2010 at 11:42 PM, Don Stewart wrote: > liamoc: > > On 19 April 2010 05:29, Don Stewart wrote: > > > That's great info -- we do hav

Re: [Haskell-cafe] ADT patch/update

2010-08-07 Thread Stephen Tetley
Maybe this paper is close? Type-safe diff for families of datatypes Eelco Lempsink Sean Leather Andres Löh ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Music-related

2010-08-07 Thread Henning Thielemann
On Sat, 7 Aug 2010, Johann Bach wrote: Midi files or music exported by the typical music editor is "expressionless." A *human* would play that music with slight tempo variations, subtle accents... some notes would be overlapped in time slightly, some separated in time. I want a program that sta

[Haskell-cafe] ADT patch/update

2010-08-07 Thread Sergey Mironov
Hi Cafe. I am searching for materials on one data type-related problem. Suppose we have version control system storing values of user-defined algebraic data type. 'User' (actually, programmer) wants to store his/her data and later update it by applying patches. By patch I mean value of some (anoth

[Haskell-cafe] Odd parallel haskell observations

2010-08-07 Thread Alexander Kotelnikov
Hello. I am exploring haskell features for parallel and cocurrent programming and see something difficult to explain. In brief - asking RTS to use more threads results in awfull drop of performance. And according to 'top' test programm consumes up to N CPUs power. Am I doing something wrong? I

[Haskell-cafe] Music-related

2010-08-07 Thread Johann Bach
Midi files or music exported by the typical music editor is "expressionless." A *human* would play that music with slight tempo variations, subtle accents... some notes would be overlapped in time slightly, some separated in time. I want a program that starts with a plain midi file, then via a doma

[Haskell-cafe] Trying to statically link Gtk2Hs application (Windows XP, network drive)

2010-08-07 Thread Peter Schmitz
In [Haskell-beginners], please see: http://www.haskell.org/pipermail/beginners/2010-August/004949.html Please reply to [Haskell-beginners]; thanks much. -- Peter ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listin

[Haskell-cafe] philosophy of Haskell

2010-08-07 Thread Michael Mossey
When I started to study Haskell, I was surprised that so much emphasis was placed on simple things. Monads were introduced to me as basically a wrapper, and a bind function that unwrapped something and wrapped something else back up again. I didn't understand what the fuss was about. Later I sa

[Haskell-cafe] using shared libs on the windows version

2010-08-07 Thread Axel Huizinga
Hi to all from a haskell newbie! I run into problems using shared libs on windows. The error messages I get looks like: Could not find module `Data.List': Perhaps you haven't installed the "dyn" libraries for package `base'? Any ideas how to enable shared libs system-wide? Cordially, Axel