Re: [Haskell-cafe] memory-efficient data type for Netflix data - UArray Int Int vs UArray Int Word8

2009-02-23 Thread Don Stewart
bos: 2009/2/23 Kenneth Hoste kenneth.ho...@ugent.be Does anyone know why the Word8 version is not significantly better in terms of memory usage? Yes, because there's a typo on line 413 of Data/Array/Vector/Prim/BUArr.hs. How's that for service? :-) UArray or UArr?

Pickling a finite map (Binary + zlib) [was: [Haskell-cafe] Data.Binary poor read performance]

2009-02-23 Thread Don Stewart
wren: Neil Mitchell wrote: 2) The storage for String seems to be raw strings, which is nice. Would I get a substantial speedup by moving to bytestrings instead of strings? If I hashed the strings and stored common ones in a hash table is it likely to be a big win? Bytestrings should help.

[Haskell-cafe] The community is more important than the product

2009-02-21 Thread Don Stewart
http://haskell.org/haskellwiki/Protect_the_community Random notes on how to maintain tone, focus and productivity in an online community I took a few years ago. Might be some material there if anyone's seeking to help ensure we remain a constructive, effective community. -- Don P.S. release

[Haskell-cafe] Re: Template Haskell compilation error on Windows (was Re: speed: ghc vs gcc)

2009-02-21 Thread Don Stewart
Missing --make bugfact: I tried to compile the template Haskell loop unrolling trick from Claus Reinke on my machine which is running Windows and GHC 6.10.1, and I got linker errors. c:\tempghc -O2 -fvia-C -optc-O3 -fforce-recomp Apply.hs Apply.o:ghc6140_0.hc:(.text+0x7d): undefined

Re: [Haskell-cafe] Re: speed: ghc vs gcc

2009-02-21 Thread Don Stewart
Bulat, you've some serious lessons to learn on how to interact with online communities. First, 1. Stop posting replies to every post on this thread 2. Read some of the fine literature on how to be a productive, contributing member of a mailing list community,

[Haskell-cafe] Re: [Haskell] ANNOUNCE: X Haskell Bindings 0.2

2009-02-21 Thread Don Stewart
aslatter: I'd like to announce the 0.2.* series release of the X Haskell Bindings. This release, like the prior 0.1.* series focuses on making the API prettier. This does mean that there's a good chance this is a breaking release. Also, 0.2.* is based on the just-released version 1.4 of

Re: [Haskell-cafe] speed: ghc vs gcc

2009-02-20 Thread Don Stewart
bulat.ziganshin: Hello haskell-cafe, since there are no objective tests comparing ghc to gcc, i made my own one. these are 3 programs, calculating sum in c++ and haskell: Wonderful. Thank you! main = print $ sum[1..10^9::Int] This won't be comparable to your loop below, as 'sum' is a

Re: [Haskell-cafe] speed: ghc vs gcc

2009-02-20 Thread Don Stewart
bulat.ziganshin: Friday, February 20, 2009, 7:41:33 PM, you wrote: main = print $ sum[1..10^9::Int] This won't be comparable to your loop below, as 'sum' is a left fold (which doesn't fuse under build/foldr). You should use the list implementation from the stream-fusion package (or

Re: [Haskell-cafe] Re: speed: ghc vs gcc

2009-02-20 Thread Don Stewart
barsoap: Don Stewart d...@galois.com wrote: No! This is not how open source works! You *should submit bug reports* and *analysis*. It is so so much more useful than complaining and throwing stones. Exactly. I don't know where, but I read that the vast majorities of Linux bugs

Re: [Haskell-cafe] Re: speed: ghc vs gcc

2009-02-20 Thread Don Stewart
claus.reinke: Concrete examples always help, thanks. In simple enough situations, one can roll one's own loop unrolling;), somewhat like shown below (worker/wrapper split to bring the function parameter representing the loop body into scope, then template haskell to unroll its applications

Re: [Haskell-cafe] Re: speed: ghc vs gcc

2009-02-20 Thread Don Stewart
bulat.ziganshin: Hello Achim, Friday, February 20, 2009, 11:44:49 PM, you wrote: Turning this into a ticket with associated test will: but why you think that this is untypical and needs a ticket? ;) Bulat, you are right in every aspect. You never did anything wrong. Achim,

Re: [Haskell-cafe] Re: speed: ghc vs gcc

2009-02-20 Thread Don Stewart
dons: bulat.ziganshin: Hello Achim, Friday, February 20, 2009, 11:44:49 PM, you wrote: Turning this into a ticket with associated test will: but why you think that this is untypical and needs a ticket? ;) Bulat, you are right in every aspect. You never did anything

Re: [Haskell-cafe] Re: speed: ghc vs gcc

2009-02-20 Thread Don Stewart
bulat.ziganshin: Hello Achim, Saturday, February 21, 2009, 1:17:08 AM, you wrote: nothing new: what you are not interested in real compilers comparison, preferring to demonstrate artificial results ...that we have a path to get better results than gcc -O3 -funroll-loops, and it's

Re: [Haskell-cafe] speed: ghc vs gcc vs jhc

2009-02-20 Thread Don Stewart
bulat.ziganshin: Hello John, Saturday, February 21, 2009, 3:42:24 AM, you wrote: this is true for *application* code, but for codec you may have lots of code that just compute, compute, compute Yes indeed. If there is code like this out there for haskell, I would love to add it as

Re: [Haskell-cafe] Re: speed: ghc vs gcc

2009-02-20 Thread Don Stewart
bertram.felgenhauer: This is odd, but it doesn't hurt the inner loop, which only involves $wsum01_XPd, and is identical to $wfold_s15t above. Checking the asm: $ ghc -O2 -fasm sQ3_info: .LcRt: cmpq 8(%rbp),%rsi jg .LcRw leaq 1(%rsi),%rax

Re: [Haskell-cafe] Re: garbage collector woes

2009-02-19 Thread Don Stewart
waterson: On Feb 17, 2009, at 12:22 PM, Chris Waterson wrote: I'm at wits end with respect to GHC's garbage collector and would very much appreciate a code review of my MySQL driver for HDBC, which is here: http://www.maubi.net/~waterson/REPO/HDBC-mysql/Database/HDBC/MySQL/Connection.hsc

Re: [Haskell-cafe] How to create an online poll

2009-02-18 Thread Don Stewart
This looks very promising! Investigating... anton: There's also the Condorcet Internet Voting Service: http://www.cs.cornell.edu/andru/civs.html gregg reynolds wrote: See also www.surveymonkey.com Bulat Ziganshin bulat.zigans...@gmail.com wrote: Hello haskell-cafe,

Re: [Haskell-cafe] Polymorphism overhead

2009-02-17 Thread Don Stewart
wasserman.louis: I have (roughly) the following code: data Foo e type MFoo e = Maybe (Foo e) instance Ord e = Monoid (Foo e) where f1 `mappend` f2 = code invoking the mappend instance from Maybe (Foo e) I'd expect this to optimize to the same thing as if I had implemented: meld :: Ord

[Haskell-cafe] Arch Haskell News: Feb 16 2009

2009-02-16 Thread Don Stewart
Arch now has 926 Haskell packages in AUR. That’s an increase of 27 new packages in the last 8 days, or 3.38 new Haskell apps a day. This weekly news includes: * Noteworthy updates: grapefruit, haskelldb, gtk2hs * A video on how to use Arch packages * Updated releases by category

Re: [Haskell-cafe] ANN : Crypto 4.2.0 Related News

2009-02-16 Thread Don Stewart
wchogg: Hello Haskellers, I'm pleased to announce version 4.2.0 of Crypto has been uploaded to Hackage that I am taking over maintenance of the library from Dominic Steinitz. As of this release it should be cabal install'able on GHC 6.10.1. I'm also pleased to announce that the darcs

Re: [Haskell-cafe] Memory

2009-02-16 Thread Don Stewart
inbuninbu: Hello All, The kind people at #haskell suggested I come to haskell-cafe for questions about haskell performance issues. I'm new to haskell, and I'm having a hard time understanding how to deal with memory leaks. I've been playing with some network server examples and I noticed

Re: [Haskell-cafe] Epic failure

2009-02-15 Thread Don Stewart
OK, what did I do wrong here? When making a request for help on a compiler issue, you failed to include key information to make it possible to reproduce your problem, and what you did include was broken or incorrect. The three programs that submitted don't do even do the same thing. Let's look

Re: [Haskell-cafe] HaskellDB is alive?

2009-02-14 Thread Don Stewart
felipe.lessa: Hello! There was a new HaskellDB release, but I didn't see any announcement here. Is it back alive? What happened to 0.11? Thanks =) http://hackage.haskell.org/cgi-bin/hackage-scripts/package/haskelldb-0.12 ___ Haskell-Cafe mailing

Re: [Haskell-cafe] Graph library, was: Haskell.org GSoC

2009-02-14 Thread Don Stewart
g9ks157k: Am Samstag, 14. Februar 2009 16:59 schrieb Brent Yorgey: On Thu, Feb 12, 2009 at 04:10:21PM +0100, Wolfgang Jeltsch wrote: Am Donnerstag, 12. Februar 2009 15:34 schrieb Thomas DuBuisson: Get a community.haskell.org account once you are ready to start a repo, it can not only

Re: [Haskell-cafe] ANNOUNCE: haha-0.1 - Animated ascii lambda

2009-02-14 Thread Don Stewart
sfvisser: Always wanted to have an full-color rotating vector based ascii art lambda on your terminal? This is your chance, installing `haha' will do the trick! This is very minimal vector based ascii art library written just for fun. There is a sample program called `rotating-lambda' which

Re: [Haskell-cafe] Haskell.org GSoC

2009-02-12 Thread Don Stewart
g9ks157k: Am Mittwoch, 11. Februar 2009 18:51 schrieb Don Stewart: For example, if all the haddocks on hackage.org were a wiki, and interlinked, every single package author would benefit, as would all users. You mean, everyone should be able to mess about with my documentation

Re: [Haskell-cafe] Re: [Haskell] Google Summer of Code 2009

2009-02-12 Thread Don Stewart
Malcolm.Wallace: Gwern Branwen gwe...@gmail.com wrote: * A GUI interface to Darcs (http://hackage.haskell.org/trac/summer-of-code/ticket/17); I wonder whether darcs ought to apply to be a GSoC mentoring organisation in its own right this year? It would be good to attempt to get a

Re: [Haskell-cafe] Re: [Haskell] Google Summer of Code 2009

2009-02-12 Thread Don Stewart
gtener: On Thu, Feb 12, 2009 at 11:36, Malcolm Wallace malcolm.wall...@cs.york.ac.uk wrote: Gwern Branwen gwe...@gmail.com wrote: * A GUI interface to Darcs (http://hackage.haskell.org/trac/summer-of-code/ticket/17); I wonder whether darcs ought to apply to be a GSoC mentoring

Re: [Haskell-cafe] Re: Google Summer of Code 2009

2009-02-12 Thread Don Stewart
gwern0: On Thu, Feb 12, 2009 at 11:49 AM, John Lato jwl...@gmail.com wrote: Johan Tibell wrote: On Thu, Feb 12, 2009 at 2:12 AM, Felipe Lessa felipe.le...@gmail.com wrote: Do we already have enough information to turn http://okmij.org/ftp/Haskell/Iteratee/ into a nice, generic,

Re: [Haskell-cafe] Is using Data.Dynamic considered a no-go?

2009-02-12 Thread Don Stewart
bugfact: Haskell seems to have pretty strong support for dynamic casting using Data.Typeable and Data.Dynamic. All kinds of funky dynamic programming seems to be possible with these hacks. Is this considered as being as bad as - say - unsafePerformIO? What kind of evil is lurking here?

Re: [Haskell-cafe] Is using Data.Dynamic considered a no-go?

2009-02-12 Thread Don Stewart
Notably, extensible exceptions use dynamics, in conjunction with type classes and existentials. A number of solutions to the 'expression problem' involve dynamics. bugfact: It would be interesting to see when you HAVE to use dynamics, e.g. when no other solution is possible in Haskell...

Re: [Haskell-cafe] Race condition possible?

2009-02-12 Thread Don Stewart
bugfact: Consider the following code stamp v x = do t - getCurrentTime putMVar v (x,t) Is it possible - with GHC - that a thread switch happens after the t - getCurrentTime and the putMVar v (x,t)? Yes. if 't' is heap allocated, there could be a context switch. If so, how

Re: [Haskell-cafe] Re: [Haskell] Google Summer of Code 2009

2009-02-11 Thread Don Stewart
gwern0: (The following is a quasi essay/list of past Summer of Code projects; my hope is to guide thinking about what Summer of Code projects would be good to pick, and more specifically what should be avoided. If you're in a hurry, my conclusions are at the bottom. The whole thing is written

Re: [Haskell-cafe] Re: [Haskell] Google Summer of Code 2009

2009-02-11 Thread Don Stewart
bulat.ziganshin: Hello Jamie, Wednesday, February 11, 2009, 5:54:09 AM, you wrote: Seems like it is ok to write H.264 in Haskell and released via GPL license? anyway it's impossible due to slow code generated by ghc Been a long time since you did high perf code -- we routinely now

Re: [Haskell-cafe] Haskell.org GSoC

2009-02-11 Thread Don Stewart
d: Hi, I noticed last year Haskell.org was a mentoring organization for Google's Summer of Code, and I barely noticed some discussion about it applying again this year :) I participated for GCC in 2008 and would like to try again this year; while I'm still active for GCC and will

Re: [Haskell-cafe] GHC development

2009-02-11 Thread Don Stewart
andrewcoppin: OK, so I have a small question. I was just wondering what the current state of development with GHC is. So, I had a look at the developer wiki. Unfortunately, as best as I can tell, most of the status pages haven't been updated in many months. (Most of them still talk

Re: [Haskell-cafe] Re: [Haskell] Google Summer of Code 2009

2009-02-11 Thread Don Stewart
bulat.ziganshin: Hello Don, Wednesday, February 11, 2009, 8:28:33 PM, you wrote: anyway it's impossible due to slow code generated by ghc Been a long time since you did high perf code -- we routinely now write code that previously was considered not feasible. which is still slower

Re: [Haskell-cafe] Re[4]: [Haskell] Google Summer of Code

2009-02-11 Thread Don Stewart
bulat.ziganshin: Hello John, Wednesday, February 11, 2009, 11:55:47 PM, you wrote: it's exactly example of tight loop. and let's compare HP code written for this task with analogous code written in C. i expect that haskell code is much more complex I think it's fair to point out

Re: [Haskell-cafe] Re: [Haskell] Google Summer of Code 2009

2009-02-11 Thread Don Stewart
Thanks for the analysis, this clarifies things greatly. Feasibility and scope is a big part of how we determine what projects to work on. gtener: On Wed, Feb 11, 2009 at 21:00, Jamie hask...@datakids.org wrote: Hi Gwern, On Wed, 11 Feb 2009, Gwern Branwen wrote: I just checked H.263

Re: [Haskell-cafe] Re[4]: [Haskell] Google Summer of Code

2009-02-11 Thread Don Stewart
bulat.ziganshin: Hello Don, Thursday, February 12, 2009, 12:23:16 AM, you wrote: Check out what GHC is doing these days, and come back with an analysis of what still needs to be improved. We can't wait to hear! can you point me to any haskell code that is as fast as it's C

[Haskell-cafe] Re: [Haskell] Google Summer of Code 2009

2009-02-10 Thread Don Stewart
Malcolm.Wallace: Gentle Haskellers, The Google Summer of Code will be running again this year. Once again, haskell.org has the opportunity to bid to become a mentoring organisation. (Although, as always, there is no guarantee of acceptance.) If you have ideas for student projects that

Re: [Haskell-cafe] Asking the GHC garbage collector to run

2009-02-10 Thread Don Stewart
mads_lindstroem: Hi all, Is it possible to ask the GHC garbage collector to run ? Something like a collectAllGarbage :: IO() call. System.Mem.performGC iirc, Don ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] GMP on Mac OS X linked statically by default

2009-02-10 Thread Don Stewart
leimy2k: Was there a reason for this? If so, it'd be nice if the package that was build explained why... otherwise it feels kind of arbitrary, and would be nice if there was documentation available to make it link dynamically in case someone didn't want to LGPL their program. Anyone know

Re: [Haskell-cafe] Gtk2HS 0.10.0 Released

2009-02-10 Thread Don Stewart
Well done! Our flagship GUI bindings... Go team! -- Don pgavin: Hi everyone, Oh, dear... it seems I've forgotten how to spell cafe, and sent this message to haskell-c...@haskell.org the first time around. I resent it to all the lists again (just to make sure everyone interested

Re: [Haskell-cafe] Efficient string output

2009-02-09 Thread Don Stewart
ketil: Hi, I'm currently working on a program that parses a large binary file and produces various textual outputs extracted from it. Simple enough. But: since we're talking large amounts of data, I'd like to have reasonable performance. Reading the binary file is very efficient

Re: [Haskell-cafe] Re: The Haskell re-branding exercise

2009-02-09 Thread Don Stewart
marlowsd: Sterling Clover wrote: IP based limitations are a terrible idea. Multiple users can be and often are behind the same IP if they're in some sort of intranet, be it corporate, academic, or simply multiple home computers. Mail-based authentication can be screwed with, sure, but

Re: [Haskell-cafe] any implementation of ACIO?

2009-02-08 Thread Don Stewart
jianzhou: Hi, http://www.haskell.org/pipermail/haskell-cafe/2004-November/007715.html mentioned an interesting (A)ffine and (C)entral IO. Are there any packages or extensions to support ACIO in Haskell? Not that I know of. -- Don ___

Re: [Haskell-cafe] how to link statically with a c lib ?

2009-02-08 Thread Don Stewart
noteed: Hi, I'm writing bindings for the Tiny C Compiler. It seems that tcc provide a libtcc.a but no libtcc.so. In my cabal file, I have extra-libraries: dl, tcc but when using the generated haskell module, I have the following message : ⟨...@jones samples⟩ ghc -e main

Re: [Haskell-cafe] how to link statically with a c lib ?

2009-02-08 Thread Don Stewart
noteed: 2009/2/8 Don Stewart d...@galois.com: noteed: Hi, I'm writing bindings for the Tiny C Compiler. It seems that tcc provide a libtcc.a but no libtcc.so. In my cabal file, I have extra-libraries: dl, tcc but when using the generated haskell module, I have

Re: [Haskell-cafe] ANNOUNCE: X Haskell Bindings 0.1

2009-02-08 Thread Don Stewart
aslatter: I'd like to announce a version bump for the X Haskell Bindings (XHB) library, to 0.1.* from 0.0.*. The goal of XHB is to provide a Haskell implementation of the X11 wire protocol, similar in spirit to the X protocol C-language Binding (XCB). On Hackage:

Re: [Haskell-cafe] The Haskell re-branding exercise

2009-02-08 Thread Don Stewart
s.clover: IP based limitations are a terrible idea. Multiple users can be and often are behind the same IP if they're in some sort of intranet, be it corporate, academic, or simply multiple home computers. Mail-based authentication can be screwed with, sure, but it's also very easy to

Re: [Haskell-cafe] The Haskell re-branding exercise

2009-02-08 Thread Don Stewart
Furthermore, since I assume we'll only be presenting reasonable logos, there's not even some room for pranksters to stage a write-in of some gag slogan. Right, only a subset of previously submitted ones. -- Don So does this mean no 'haskell YEEHH!'? Isn't that already the

Re: [Haskell-cafe] The Haskell re-branding exercise

2009-02-07 Thread Don Stewart
paul: Paul Johnson wrote: A call has gone out http://www.haskell.org/pipermail/haskell-cafe/2008-December/051836.html for a new logo for Haskell. Candidates (including a couple http://www.haskell.org/haskellwiki/Image:Haskell-logo-revolution.png of mine

Re: [Haskell-cafe] The Haskell re-branding exercise

2009-02-07 Thread Don Stewart
wagner.andrew: We need a voting site set up. There was some progress prior to the end of the year. Updates welcome! -- Don Can't we just use the haskell proposal reddit for this? Hmm... not ideal. Would make a backup should all else fail.

Re: [Haskell-cafe] The Haskell re-branding exercise

2009-02-07 Thread Don Stewart
Oh, we had a long discussion about the need for condorcet voting, not a system like the reddit which is prone to abuse. Also, it would be good to have the images inline. wagner.andrew: Um, ok. Glad we could discuss it On Sat, Feb 7, 2009 at 1:12 PM, Don Stewart d

Re: [Haskell-cafe] Semantic web

2009-02-07 Thread Don Stewart
dev: Anybody implementing rdf or owl stuff in haskell? Seems like a natural fit. http://www.ninebynine.org/RDFNotes/Swish/Intro.html Needs moving to Hackage. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] The Haskell re-branding exercise

2009-02-07 Thread Don Stewart
gwern0: On Sat, Feb 7, 2009 at 1:34 PM, Don Stewart d...@galois.com wrote: Oh, we had a long discussion about the need for condorcet voting, not a system like the reddit which is prone to abuse. Also, it would be good to have the images inline. Perfect, please meet better

Re: [Haskell-cafe] The Haskell re-branding exercise

2009-02-07 Thread Don Stewart
gwern0: On Sat, Feb 7, 2009 at 3:04 PM, Don Stewart d...@galois.com wrote: gwern0: On Sat, Feb 7, 2009 at 1:34 PM, Don Stewart d...@galois.com wrote: Oh, we had a long discussion about the need for condorcet voting, not a system like the reddit which is prone to abuse

Re: [Haskell-cafe] The Haskell re-branding exercise

2009-02-07 Thread Don Stewart
gwern0: 2009/2/7 Don Stewart d...@galois.com: Quite so, biased by the fact that they dropped off the page. I'm not saying reddit is unsuitable for communal decision making -- I've thought hard about this -- just that isn't perfect, and this isn't really its purpose. It would make a good

Re: [Haskell-cafe] The Haskell re-branding exercise

2009-02-07 Thread Don Stewart
bulat.ziganshin: Hello Don, Saturday, February 7, 2009, 8:20:23 PM, you wrote: We need a voting site set up. There was some progress prior to the end of the year. Updates welcome! i think that there are a lot of free voting/survey services available. the last one i went through was

Re: [Haskell-cafe] Are you using Haskell on the job?

2009-02-06 Thread Don Stewart
kirk.martinez: Hello, fellow Haskell hackers! I am writing a term paper on Haskell in Business, and while I have gathered a lot of good information on the Internet, I would really like direct feedback from software professionals who have used Haskell in a business setting. I would really

Re: [Haskell-cafe] Fastest regex package?

2009-02-06 Thread Don Stewart
allbery: On 2009 Feb 5, at 10:26, Eugene Kirpichov wrote: My benchmark (parsing a huge logfile with a regex like GET /foo.xml.*fooid=([0-9]++).*barid=([0-9]++)) shows that plain PCRE is the fastest one (I tried PCRE, PCRE-light and TDFA; DFA can't do capturing groups at all, TDFA was

Re: [Haskell-cafe] Haskell tutorial for pseudo users?

2009-02-05 Thread Don Stewart
andrewcoppin: Deniz Dogan wrote: Learn You a Haskell for Great Good (http://learnyouahaskell.com/) Mmm, interesting. Does anybody else think it would be neat if GHCi really did colourise your input like that? (Or at least display the prompt in a different colour to user input and

Re: [Haskell-cafe] Happstack 0.1 Released!

2009-02-05 Thread Don Stewart
andrewcoppin: Jochem Berndsen wrote: The HAppS project has been abandoned, see http://groups.google.com/group/HAppS/msg/d128331e213c1031 . The Happstack project is intended to continue development. For more details, see http://happstack.com/faq.html . So we've got HAppS, Happstack,

Re: [Haskell-cafe] Re: ANN: #haskell-in-depth IRC channel

2009-02-03 Thread Don Stewart
We explicitly want to avoid a newbie trap See the summary of the discussion that lead to the channel creation http://haskell.org/haskellwiki/IRC_channel/Phase_2 -- Don DekuDekuplex: On Wed, 04 Feb 2009 00:15:48 +, Philippa Cowderoy fli...@flippac.org wrote: [...] If you need

Re: [Haskell-cafe] Re: 1,000 packages, so let's build a few!

2009-02-02 Thread Don Stewart
ndmitchell: Hi So actually just having more Windows users subscribed to cabal-devel and commenting on tickets would be very useful, even if you do not have much time for hacking. I believe that as soon as a Windows user starts doing that you'll start asking them for patches :-)

Re: [Haskell-cafe] Verifying Haskell Programs

2009-02-02 Thread Don Stewart
pocmatos: Hi all, Much is talked that Haskell, since it is purely functional is easier to be verified. However, most of the research I have seen in software verification (either through model checking or theorem proving) targets C/C++ or subsets of these. What's the state of the art of

Re: [Haskell-cafe] Re: 1,000 packages, so let's build a few!

2009-02-02 Thread Don Stewart
jwlato: Duncan Coutts wrote: Some are trivial and should be done away with. For example the ones that just check if a C header / lib is present are unnecessary (and typically do not work correctly). The next point release of Cabal can do these checks automatically, eg:

Re: [Haskell-cafe] Re: 1,000 packages, so let's build a few!

2009-02-02 Thread Don Stewart
ganesh.sittampalam: Don Stewart wrote: GHC doesn't bundle with cabal-install on any system. What is needed is not for the GHC team to be doing Windows platform packages, but for the Windows Haskell devs to build their own system, as happens on all the Unices. Take GHC's

Re: [Haskell-cafe] Verifying Haskell Programs

2009-02-02 Thread Don Stewart
dbueno: On Mon, Feb 2, 2009 at 15:04, Don Stewart d...@galois.com wrote: pocmatos: Hi all, Much is talked that Haskell, since it is purely functional is easier to be verified. However, most of the research I have seen in software verification (either through model checking

Re: [Haskell-cafe] Complex C99 type in Foreign

2009-02-01 Thread Don Stewart
briqueabraque: Hi, Are there plans to include C99 'complex' type in Foreign, maybe as CFloatComplex, CDoubleComplex and CLongDoubleComplex? This seems an easy addition to the standard and would allow binding of a few interesting libraries, like GSL. A separate library for new types to

Re: [Haskell-cafe] Takusen 0.8.3 install problems

2009-02-01 Thread Don Stewart
alistair: You can probably just remove the Setup.lhs and build with defaults (we're doing that at galois, we use Takusen). -- Don I'm surprised this works, unless you also change the imports of Control.Exception to Control.OldException. The new exception module is part of the

Re: [Haskell-cafe] Re: Complex C99 type in Foreign

2009-02-01 Thread Don Stewart
briqueabraque: Are there plans to include C99 'complex' type in Foreign, maybe as CFloatComplex, CDoubleComplex and CLongDoubleComplex? This seems an easy addition to the standard and would allow binding of a few interesting libraries, like GSL. A separate library for new types to add to

Re: [Haskell-cafe] Takusen 0.8.3 install problems

2009-01-31 Thread Don Stewart
praki.prakash: I am trying to install Takusen 0.8.3 with ghc 6.10.1 on Ubuntu 8.04 (same issue on Win XP as well). I get the following complaint from cabal. Module `Distribution.PackageDescription' does not export `writeHookedBuildInfo' cabal: Error: some packages failed to

Re: [Haskell-cafe] 1,000 packages, so let's build a few!

2009-01-31 Thread Don Stewart
andrewcoppin: In celebration of Hackage reachin over 1,000 unique packages, I decided that I would re-visit the problem of attempting to build them on Windows. Ah yes, I already have the tarball for stream-fusion-0.1.1, but I see that the latest release is 0.1.2.1. (Unfortunately, there

Re: [Haskell-cafe] 1,000 packages, so let's build a few!

2009-01-31 Thread Don Stewart
bugfact: the true way to install all of hackage is: cabal install $(all my packages) where cabal install solves it all. not really :) e.g. my output on a Windows Vista system with GHC 6.10.1 cabal install sdl Resolving dependencies... Downloading

Re: [Haskell-cafe] Takusen 0.8.3 install problems

2009-01-31 Thread Don Stewart
build-type: Simple praki.prakash: Don, Thanks for the hint. I removed Setup.hs and tried cabal build. I get an error that build type is custom and Setup.lhs is missing. What is the magical incantation needed to do the default build? Thanks Praki On Sat, Jan 31, 2009 at 12:30 PM, Don

Re: [Haskell-cafe] 1,000 packages, so let's build a few!

2009-01-31 Thread Don Stewart
sebastian.sylvan: -- From: Don Stewart d...@galois.com Sent: Saturday, January 31, 2009 8:35 PM To: Andrew Coppin andrewcop...@btinternet.com Cc: haskell-cafe@haskell.org Subject: Re: [Haskell-cafe] 1,000 packages, so let's build a few

Re: [Haskell-cafe] unboxed, functional ATS language beats C++

2009-01-24 Thread Don Stewart
Note the inline C as well. agocorona: [1]Language Shootout: ATS is the new top gunslinger. Beats C++ [2]http://www.reddit.com/r/programming/comments/72hmw/language_shootout_ats_is_the_new_top_gunslinger/ ...Many people somehow think that ATS is fast because of its support for

[Haskell-cafe] Arch Haskell News: Jan 24 2009

2009-01-24 Thread Don Stewart
A regular update of Haskell in Arch Linux http://archhaskell.wordpress.com/2009/01/24/arch-haskell-news-jan-24-2009/ * Arch now has 864 Haskell packages in AUR. That’s an increase of 37 new Haskell packages in the last 13 days, or 2.8 new Haskell apps and libraries a day packaged so far in

Re: [Haskell-cafe] ANN: gitit 0.5

2009-01-24 Thread Don Stewart
Thanks for this! I'm a daily, heavy gitit user, and am happy to see continued improvements to this excellent app. -- Don jgm: We are pleased to announce the latest release of Gitit, the multitalented distributed wiki written in Haskell. What's new in this release? * 'Gitit' is now

Re: [Haskell-cafe] Processor availability

2009-01-22 Thread Don Stewart
wasserman.louis: How might I go about finding out how many processors are available in a concurrent GHC program? I have some code I'd like to parallelize, but I don't want to spawn a separate (even lightweight) thread for each of thousands of minor tasks. Louis Wasserman

[Haskell-cafe] 1000 libraries

2009-01-21 Thread Don Stewart
We've done it! http://hackage.haskell.org/cgi-bin/hackage-scripts/stats 274 users have uploaded 3161 versions of 1000 packages. Thanks everyone who has written a library or tool or app and released it, for making hackage and cabal a success! This has gone further, perhaps more than anything

Re: [Haskell-cafe] Pure Haskell implementation of Float type?

2009-01-20 Thread Don Stewart
catamorphism: Hello, Is there a pure Haskell implementation of Floats, i.e., one that (unlike GHC.Float) doesn't use foreign calls for things like isFloatNegativeZero? I don't care about performance; I'm just looking for something that doesn't use foreign calls. Huh, what's the use case?

[Haskell-cafe] Why monoids will abide...

2009-01-20 Thread Don Stewart
http://apfelmus.nfshost.com/monoid-fingertree.html Thanks Apfelmus for this inspiring contribution! ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] plugins can not be installed in ghc 6.10.1

2009-01-19 Thread Don Stewart
agocorona: Do really pluigins needs Cabal (=1.4 1.5) ??? C:\Documents and Settings\Administratorcabal install plugins Resolving dependencies... cabal: dependencies conflict: ghc-6.10.1 requires Cabal ==1.6.0.1 however Cabal-1.6.0.1 was excluded because plugins-1.3.1 requires

Re: [Haskell-cafe] Haskell WikiProject

2009-01-19 Thread Don Stewart
greenrd: Is anyone else interested in forming a Haskell WikiProject on Wikipedia, to collaborate on improving and maintaining the coverage and quality of articles on Haskell-related software and topics (broadly defined)? Not just programming topics specific to Haskell, but also ones of

Re: [Haskell-cafe] Employment

2009-01-19 Thread Don Stewart
And of course, there's at least half a dozen people on this list at working at Galois. And all documented on the wiki, http://haskell.org/haskellwiki/Haskell_in_industry See you guys at CUFP 09! http://cufp.galois.com/ -- Don pbeadling: Barclays Capital use it for Equity

Re: [Haskell-cafe] Optimistic evaluation

2009-01-18 Thread Don Stewart
andrewcoppin: Hi folks. I just read a rather interesting paper about a fork of GHC that performs optimistic evaluation. This shows big wins in some cases. The authors claim to have implemented this in a fork of GHC and promised that it would be integrated into the production compiler in

Re: [Haskell-cafe] runghc Setup.hs doitall

2009-01-18 Thread Don Stewart
duncan.coutts: On Sun, 2009-01-18 at 17:58 +0100, Daniel Fischer wrote: Am Sonntag, 18. Januar 2009 17:22 schrieb Sebastian Sylvan: Is there some sort of bundle that you can use to install cabal-install easily? Because it looks to me like I'd have to spend the better part of an

Re: [Haskell-cafe] Comments from OCaml Hacker Brian Hurt

2009-01-18 Thread Don Stewart
ross: On Sat, Jan 17, 2009 at 09:12:32PM -0500, a...@spamcop.net wrote: And FWIW, I agree with everyone who has commented that the documentation is inadequate. It'd be nice if there was some way to contribute better documentation without needing checkin access to the libraries. There

Re: [Haskell-cafe] Anybody in Savannah?

2009-01-18 Thread Don Stewart
ketil: Hi, I arrived in Savannah yesterday (to attend PADL), and have spent the most part of the day drifting aimlessly around. Thrilling as that may be, I thought perhaps there might be other members of the Haskell community around, and that perhaps we could arrange to meet informally

Re: [Haskell-cafe] Comments from OCaml Hacker Brian Hurt

2009-01-18 Thread Don Stewart
david.waern: 2009/1/18 Don Stewart d...@galois.com: ross: On Sat, Jan 17, 2009 at 09:12:32PM -0500, a...@spamcop.net wrote: And FWIW, I agree with everyone who has commented that the documentation is inadequate. It'd be nice if there was some way to contribute better documentation

Re: [Haskell-cafe] Slow Text.JSON parser

2009-01-17 Thread Don Stewart
It occurs to me you could also use attoparsec, which is specifically optimised for bytestring processing. sjoerd: Hi, Somebody told me about Parsec 3, which uses a Stream type class so it can parse any data type. This sounded like the right way to do encoding independent parsing, so I

Re: [Haskell-cafe] ANNOUNCE: Coadjute 0.0.1, generic build tool

2009-01-17 Thread Don Stewart
matti.niemenmaa+news: Announcing the release of Coadjute, version 0.0.1! Web site: http://iki.fi/matti.niemenmaa/coadjute/ Hackage: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Coadjute Here's an Arch Linux package for it, http://aur.archlinux.org/packages.php?ID=23237

Re: [Haskell-cafe] ANNOUNCE: Coadjute 0.0.1, generic build tool

2009-01-17 Thread Don Stewart
ilmari.vacklin: 2009/1/18 Matti Niemenmaa matti.niemenmaa+n...@iki.fi: Announcing the release of Coadjute, version 0.0.1! Hi, trying to build on GHC 6.10.1 I get: Building regex-dfa-0.91... Text/Regex/DFA/Common.hs:6:7: Could not find module `Data.IntMap': it is a member

[Haskell-cafe] Hackage about to reach 1000 releases

2009-01-17 Thread Don Stewart
Hackage is about to reach the 1000 release mark, 2 years after it went live. That's right: in 2 years we've gone from having only a handful of released projects, to one thousand! Well done everyone! I did some quick visualisation of the rate of new releses, diversity of packages, and community

Re: [Haskell-cafe] What could be considered standard Haskell these days?

2009-01-16 Thread Don Stewart
briqueabraque: Hi, I would like to take some time to study Haskell properly, so that I could help others and pay my debt for the many times I had to bother with my syntax questions. And, of course, make better use of the language. My first attempt was to read the syntax description in

Re: [Haskell-cafe] ANN: HTTPbis / HTTP-4000.x package available

2009-01-16 Thread Don Stewart
lemming: On Thu, 15 Jan 2009, Sigbjorn Finne wrote: I guess it's time to publish more widely the availability of a modernization of the venerable and trusted HTTP package, which I've been working on offon for a while. I was always afraid that a fork may happen during I work on HTTP

Re: [Haskell-cafe] Haskell not ready for Foo [was: Re: Hypothetical Haskell job in New York]

2009-01-16 Thread Don Stewart
john: On Jan 15, 2009, at 9:31 AM, John Goerzen wrote: By pure do you mean containing python code only? I'm looking through a few, and: Search for pure python mysql or pure python postgresql and you'll see at least two implementations. In addition, there are plenty of pure Python

<    3   4   5   6   7   8   9   10   11   12   >