Re: [Haskell-cafe] Re: Real-time garbage collection for Haskell

2010-03-08 Thread Curt Sampson
locality at the expense of parallelism, usually I find it is an improvement in parallel programs. I'd think so too. Figuring out what went on here is going to have to wait until I get more detailed GC information in the eventlog. Followups to glasgow-haskell-us...@haskell.org. cjs -- Curt

Re: [Haskell-cafe] Real-time garbage collection for Haskell

2010-03-08 Thread Curt Sampson
On 2010-03-05 10:50 +0100 (Fri), Henning Thielemann wrote: Curt Sampson schrieb: Understanding the general techniques for this sort of thing and seeing where you're likely to need to apply them isn't all that difficult, once you understand the problem. (It's probably much easier if you don't

Re: [Haskell-cafe] Re: Re: What is Haskell unsuitable for?

2010-07-06 Thread Curt Sampson
On 2010-06-19 16:43 +0100 (Sat), Max Bolingbroke wrote: Curt Sampson had an experience report at ICFP last year about his experience with Haskell for a real time application (http://www.starling-software.com/blogimg/tsac/s5/2009-09-01-icfp.html). He reported no issues with GC speed

Re: [Haskell-cafe] I read somewhere that for 90% of a wide class of computing problems, you only need 10% of the source code in Haskell, that you would in an imperative language.

2009-10-01 Thread Curt Sampson
reading a lot of the code out there (particularly disasters such as Rails), I suspect a lot of Ruby programmers don't get much past this level. cjs -- Curt Sampson c...@starling-software.com+81 90 7737 2974 Functional programming in all senses of the word

Re: [Haskell-cafe] Market Place for Haskell development teams?

2009-10-01 Thread Curt Sampson
1768 projects; I have no idea how much overlap there is, or how many of these are real. I think we just need to sit tight for a couple of years. cjs -- Curt Sampson c...@starling-software.com+81 90 7737 2974 Functional programming in all senses of the word

Re: Fwd: [Haskell-cafe] I read somewhere that for 90% of a wide class of computing problems, you only need 10% of the source code in Haskell, that you would in an imperative language.

2009-10-07 Thread Curt Sampson
Read Montague's _Your Brain Is (Almost) Perfect: How We Make Decisions_. cjs -- Curt Sampson c...@starling-software.com+81 90 7737 2974 Functional programming in all senses of the word: http://www.starling-software.com

[Haskell-cafe] Libraries for Commercial Users

2009-10-07 Thread Curt Sampson
On 2009-10-02 09:03 -0600 (Fri), John A. De Goes wrote: [Haskell] is missing many key libraries that would be of great commercial value. Just out of curiousity, can you give me some examples of what you feel these are? cjs -- Curt Sampson c...@starling-software.com+81 90 7737

Re: [Haskell-cafe] Market Place for Haskell development teams?

2009-10-07 Thread Curt Sampson
successfully moved into the mainstream and is well-accepted by many parts of it. cjs -- Curt Sampson c...@starling-software.com+81 90 7737 2974 Functional programming in all senses of the word: http://www.starling-software.com

Re: [Haskell-cafe] Re: Libraries for Commercial Users

2009-10-09 Thread Curt Sampson
say libraries aren't important. True, it is nice to have good ones that really help you be productive, but not only does Haskell not have them, neither Java nor Ruby do, either. cjs -- Curt Sampson c...@starling-software.com+81 90 7737 2974 Functional programming in all

Re: [Haskell-cafe] Re: Libraries for Commercial Users

2009-10-24 Thread Curt Sampson
On 2009-10-11 10:58 -0600 (Sun), John A. De Goes wrote: On Oct 9, 2009, at 10:37 PM, Curt Sampson wrote: And if libraries are the issue, why would not just creating a SWIG for GHC make all of these people move to Haskell? Making it possible and making it easy are two different things. It's

Re: [Haskell-cafe] Re: Libraries for Commercial Users

2009-10-24 Thread Curt Sampson
developers, and you can replace a developer if one leaves. There's the key difference between us, I suppose. You believe that knowing the syntax and libraries of a language is the hardest part of a programming project. I believe it's a nearly trivial part. cjs -- Curt Sampson c...@starling

Re: [Haskell-cafe] A 3 line program -- Reid, Don, Daniel

2009-10-24 Thread Curt Sampson
seems annoying to you, consider that in ISO-8859-1 it's not possible to express the simplest Japanese word. So moving from ISO-8859-1 to UTF-8 is done in the same spirit that we long ago started using ISO-8859-1 instead of ASCII, so that you could type façade instead of facade.) cjs -- Curt

Re: [Haskell-cafe] Is there a null statement that does nothing?

2009-10-24 Thread Curt Sampson
monad tutorials at some point (I like All About Monads) to learn more about these things. BTW, look up the source code for when. :-) http://haskell.org/ghc/docs/latest/html/libraries/base/src/Control-Monad.html#when cjs -- Curt Sampson c...@starling-software.com+81 90 7737 2974

Re: [Haskell-cafe] Hoogle is great but ...

2009-10-25 Thread Curt Sampson
the description didn't quite do it for you. (This is one of the joys of Haskell.) cjs -- Curt Sampson c...@starling-software.com+81 90 7737 2974 Functional programming in all senses of the word: http://www.starling-software.com

Re: [Haskell-cafe] Re: Libraries for Commercial Users

2009-10-25 Thread Curt Sampson
with something as awful as Rails, five years from now. It would be like waking up to find out that everybody remembered The Smiths for Morrissey, not Marr... cjs -- Curt Sampson c...@starling-software.com+81 90 7737 2974 Functional programming in all senses of the word

Re: [Haskell-cafe] Re: Libraries for Commercial Users

2009-10-25 Thread Curt Sampson
. Funny, I do too. Still, when Luxuria opened for them in Vancouver in the '90s, I started to think about what Howard Devoto was doing cjs -- Curt Sampson c...@starling-software.com+81 90 7737 2974 Functional programming in all senses of the word: http

Re: [Haskell-cafe] is proof by testing possible?

2009-11-09 Thread Curt Sampson
that particular point in this case appears to me to lie outside the realm of testing. cjs -- Curt Sampson c...@starling-software.com+81 90 7737 2974 Functional programming in all senses of the word: http://www.starling-software.com

Re: [Haskell-cafe] is proof by testing possible?

2009-11-10 Thread Curt Sampson
On 2009-11-10 08:24 + (Tue), Conor McBride wrote: On 10 Nov 2009, at 05:52, Curt Sampson wrote: This is sometimes described as the reflective proof method: express problem in language capturing decidable fragment; hit with big stick. Well, that's pretty sweet. *And* you get to use a big

Re: [Haskell-cafe] Real-time garbage collection for Haskell

2010-03-03 Thread Curt Sampson
find them so. Any individual space leak you're looking at is easy to fix, but the constant vigilance is difficult. cjs -- Curt Sampson c...@cynic.net +81 90 7737 2974 http://www.starling-software.com The power of accurate observation is commonly called cynicism by those

Re: [Haskell-cafe] Re: Real-time garbage collection for Haskell

2010-03-04 Thread Curt Sampson
the sources, System.Mem.performGC always does a major GC. cjs -- Curt Sampson c...@cynic.net +81 90 7737 2974 http://www.starling-software.com The power of accurate observation is commonly called cynicism by those who have not got it.--George Bernard Shaw

Re: [Haskell-cafe] Real-time garbage collection for Haskell

2010-03-04 Thread Curt Sampson
of a low-volume list that dealt with only GC stuff. I'd even be open to providing hosting for the list, using my little baby mailing list manager written in Haskell (mhailist). It's primitive, but it does handle subscribing, unsubscribing and forwarding of messages. cjs -- Curt Sampson c

Re: [Haskell-cafe] Books for advanced Haskell

2010-03-04 Thread Curt Sampson
, but that's because I don't understand much else. :-) Before you get all hung up on them, though, I recommend reading The Typeclassopedia,[1], which will introduce you to all of the monad's friends and family. [1]: http://byorgey.wordpress.com/2009/03/16/monadreader-13-is-out/ cjs -- Curt Sampson

[Haskell-cafe] Comments requested: succ Java

2009-09-27 Thread Curt Sampson
]: http://www.starling-software.com/en/blog/drafts/2009/09/27.succ-java-summary.html cjs -- Curt Sampson c...@starling-software.com+81 90 7737 2974 Functional programming in all senses of the word: http://www.starling-software.com

Re: [Haskell-cafe] Comments requested: succ Java

2009-09-27 Thread Curt Sampson
at bringing a more Haskell-like language to the JVM, or add more Haskell-like features to existing JVM languages. Third, even if a shop is not going to switch, having people understand what's out there, and where many of these ideas come from, is a good thing, I feel. cjs -- Curt Sampson c

Re: [Haskell-cafe] Comments requested: succ Java

2009-09-28 Thread Curt Sampson
of the example from the original article cjs -- Curt Sampson c...@starling-software.com+81 90 7737 2974 Functional programming in all senses of the word: http://www.starling-software.com ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Comments requested: succ Java

2009-09-28 Thread Curt Sampson
think. Nonetheless, since all of this is rather missing the point of my articles, anyway, I think I'll leave that as my last word on the topic. cjs -- Curt Sampson c...@starling-software.com+81 90 7737 2974 Functional programming in all senses of the word

Re: [Haskell-cafe] Comments requested: succ Java

2009-09-28 Thread Curt Sampson
code, and all of the work done to adapt a system to that model, and replace it with a few hundred lines of SQL and JDBC calls. That library has probably wasted more man-years than anything else I've seen in the Java world. cjs -- Curt Sampson c...@starling-software.com+81 90 7737 2974

Re: [Haskell-cafe] Debugging Haskell code

2009-09-28 Thread Curt Sampson
need interpret only the particular modules you're trying to debug, and all the rest the application can run at full, compiled speed. cjs -- Curt Sampson c...@starling-software.com+81 90 7737 2974 Functional programming in all senses of the word: http

Re: [Haskell-cafe] Market Place for Haskell development teams?

2009-09-29 Thread Curt Sampson
with risk would ever attempt to use it. The financial sector happens to have a lot more of those than many others. cjs -- Curt Sampson c...@starling-software.com+81 90 7737 2974 Functional programming in all senses of the word: http://www.starling-software.com

Re: [Haskell-cafe] Doing people's homework?

2009-09-29 Thread Curt Sampson
the example any time, because insight will be quicker. Actually, I find that for many problems there is no quick insight. The true understanding of the problem comes with struggling with it, rather than mastering it. cjs -- Curt Sampson c...@starling-software.com+81 90 7737 2974

Re: [Haskell-cafe] Cal, Clojure, Groovy, Haskell, OCaml, etc.

2009-09-30 Thread Curt Sampson
they were designed that way that would be informed by something like the above, I'm not sure. Including a design document with libraries that explains how and why they were designed that way might be a big help. cjs -- Curt Sampson c...@starling-software.com+81 90 7737 2974

Re: [Haskell-cafe] Cal, Clojure, Groovy, Haskell, OCaml, etc.

2009-09-30 Thread Curt Sampson
be to go thorugh it and convert it to use parens instead of $, full application instead of ., and so on.) cjs -- Curt Sampson c...@starling-software.com+81 90 7737 2974 Functional programming in all senses of the word: http://www.starling-software.com

[Haskell-cafe] Portability of libraries.

2009-09-30 Thread Curt Sampson
to become popular. [1] I've ported a fair amount of both Ruby and Haskell code from Unix to Windows, so I think I have a pretty good handle on the the relative portability of both. cjs -- Curt Sampson c...@starling-software.com+81 90 7737 2974 Functional programming in all senses

Re: [Haskell-cafe] Cal, Clojure, Groovy, Haskell, OCaml, etc.

2009-09-30 Thread Curt Sampson
which one of these that Haskell uses. cjs -- Curt Sampson c...@starling-software.com+81 90 7737 2974 Functional programming in all senses of the word: http://www.starling-software.com ___ Haskell-Cafe mailing list

Re: Fwd: [Haskell-cafe] Market Place for Haskell development teams?

2009-10-01 Thread Curt Sampson
ideas, you're actually marketing to a problem that has better solutions already in the mainstream. cjs -- Curt Sampson c...@starling-software.com+81 90 7737 2974 Functional programming in all senses of the word: http://www.starling-software.com

Re: [Haskell-cafe] Re: [Haskell] Top Level -

2008-09-07 Thread Curt Sampson
; n = write(5, foobar\n, 7); printf(write returned %d\n, n); return 0; } and run it with ./a.out 51 and have a look at the result you get. cjs -- Curt Sampson [EMAIL PROTECTED]+81 90 7737 2974 Mobile sites and software consulting: http://www.starling

Re: [Haskell-cafe] Windows console

2008-09-12 Thread Curt Sampson
that the title changes to foo. cjs -- Curt Sampson [EMAIL PROTECTED]+81 90 7737 2974 Mobile sites and software consulting: http://www.starling-software.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

[Haskell-cafe] Re: [Haskell] hsc2hs can't find gcc under windows

2008-12-29 Thread Curt Sampson
Sampson c...@starling-software.com+81 90 7737 2974 Functional programming in all senses of the word: http://www.starling-software.com On 2008-12-26 19:09 + (Fri), Duncan Coutts wrote: On Thu, 2008-12-25 at 15:17 +0900, Curt Sampson wrote: I'm