Re: [Haskell-cafe] hs-plugins and memory leaks

2010-10-20 Thread Don Stewart
qdunkan: However, there are some questions I've had about it for a long time. The 'yi' paper mentions both 'yi' and 'lambdabot' as users of hs-plugins. However, both those projects have long since abandoned it. I can't find any documentation on why, or even any documentation at all for Yi

Re: [Haskell-cafe] downloading GHC

2010-10-15 Thread Don Stewart
ketil: I needed GHC on a new machine, and went to download a binary tarball. First, I go to http://haskell.org/ghc/download_ghc_6_12_3.html, which kindly suggests to get the Haskell Platform instead. Then, at http://hackage.haskell.org/platform/linux.html, I'm told that I first need

Re: [Haskell-cafe] A rant against the blurb on the Haskell front page

2010-10-15 Thread Don Stewart
Great! It's a Friday. Why not step in. Just some context, since the current blurb was born from a critique at CUFP 2007, prior to which the Haskell blurb was: Haskell is a general purpose, purely functional programming language. Haskell compilers are freely available for almost any

Re: [Haskell-cafe] Data.Judy

2010-10-12 Thread Don Stewart
tomdoris: Hi, Are there any plans to extent the current Data.Judy package to include bindings to JudySL and JudyHS? There's a standalone binding to JudySL by Andrew Choi that is usable but it would of course be better to have the functionality in the Data.Judy package proper. Thanks Tom

[Haskell-cafe] Notes from Haskell takes over the world BoF at ICFP

2010-10-06 Thread Don Stewart
Here are the notes transcribed from the Future of Haskell BoF held after the Haskell Symposium last week. -- Don = Future of Haskell BoF Notes = A birds of a feather meeting was held at ICFP, organized by Bryan and Johan. We had 30 (?) people in a room, for 2 hours, discussing how to ensure

[Haskell-cafe] Haskell Platform, Hackage and Cabal : The 2nd Year : Status Report

2010-10-01 Thread Don Stewart
The Haskell Implementors Workshop was held in Baltimore, today. Duncan Coutts from Well-Typed and I presented a status report on the Haskell distribution infrastructure: Hackage , Haskell Platform and Cabal. The slides are here:

Re: [Haskell-cafe] Haskell list on Twitter?

2010-10-01 Thread Don Stewart
I have a list: http://twitter.com/#/list/donsbot/haskellers pumpkingod: Also, it is possible to add yourself to your own twitter list :) On Fri, Oct 1, 2010 at 12:03 PM, Magnus Therning mag...@therning.org wrote: Now that there are lists/groups on Twitter

[Haskell-cafe] The Haskell Implementors Workshop

2010-10-01 Thread Don Stewart
Slides and videos from today's Haskell Implementors Workshop, in Baltimore. http://haskell.org/haskellwiki/HaskellImplementorsWorkshop/2010#Programme Enjoy. -- Don ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] EDSL for Makefile

2010-10-01 Thread Don Stewart
Neil's * slides http://www.galois.com/~dons/talks/hiw-2010/ndm-shake.pdf * video http://www.vimeo.com/15465133 ckkashyap: Hi Neil ... how did the talk go? On Thu, Sep 30, 2010 at 10:23 PM, Neil Mitchell ndmitch...@gmail.com wrote: What great timing! I will be giving a talk at the

Re: [Haskell-cafe] Retargeting Haskell compiler to embedded/hardware

2010-09-28 Thread Don Stewart
tomahawkins: A few years ago I attempted to build a Haskell hardware compiler (Haskell - Verilog) based on the Yhc frontent. At the time I was trying to overcome several problems [1] with implementing a hardware description language as a light eDSL, which convinced me a proper compiler may

[Haskell-cafe] ANNOUNCE: plugins 1.5.1. a framework for dynamic extension of Haskell programs

2010-09-22 Thread Don Stewart
in the library is described in: * Plugging Haskell In. André Pang, Don Stewart, Sean Seefried, and Manuel M. T. Chakravarty. In Proceedings of the ACM SIGPLAN Workshop on Haskell, pages 10-21. ACM Press, 2004 * Dynamic Applications From the Ground Up. Don Stewart and Manuel M. T

Re: [Haskell-cafe] ANNOUNCE: plugins 1.5.1. a framework for dynamic extension of Haskell programs

2010-09-22 Thread Don Stewart
No, xmonad uses a different dynamic extension model based on the OS process. To dynamically upgrade an xmonad process, you, * modify the source (i.e. the config file) * hit mod-q, which triggers: + linking of the config file into the application library, creating a new xmonad

Re: [Haskell-cafe] Web development work

2010-09-16 Thread Don Stewart
michael: On Thu, Sep 16, 2010 at 10:26 AM, Andrew Coppin andrewcop...@btinternet.com wrote:  On 16/09/2010 08:52 AM, Michael Snoyman wrote: future it would be beneficial to the community to have this information centralized on a website. I think it would be useful to have some basic

[Haskell-cafe] Fwd: Announcement: Pearls of Functional Algorithm Design

2010-09-11 Thread Don Stewart
- Forwarded message from Richard rich...@normab.freeserve.co.uk - To: hask...@haskell.org Subject: [Haskell] Announcement My book Pearls of Functional Algorithm Design will be published by CUP this month. See http://www.comlab.ox.ac.uk/news/237-full.html Richard Bird - End

Re: [Haskell-cafe] Hackage package download count

2010-09-09 Thread Don Stewart
tonyhannan2: Is there anywhere we can see the number of download for a particular package, especially ones you maintain yourself? Nothing terribly automated, but the status for the last quarter: http://donsbot.wordpress.com/2010/06/30/popular-haskell-packages-q2-2010-report/

Re: [Haskell-cafe] installing GHC/Haskell Platform in Linux without root permission

2010-09-09 Thread Don Stewart
ali.razavi: Is it possible to install either of these (preferably the latter) somewhere in my home directory without having root permission? I tried the unknown linux package with configure --prefix set to a subdir in my home, to no avail. The problem seems to be due to some library

Re: [Haskell-cafe] CAL experience

2010-09-09 Thread Don Stewart
karel.gardas: Hello, as this is really friendly forum, I'd like to ask to perhaps solve my wonder. From time to time I'm seeing people here recommending Scala as a kind of replacement for non-existent Haskell on Java/JVM platform. My wonder is: why the people here do not recommend CAL,

Re: [Haskell-cafe] help me evangelize haskell.

2010-09-07 Thread Don Stewart
for :) A quick question - import Process bombs on my GHCI(The Glorious Glasgow Haskell Compilation System, version 6.12.3) -what do I need to do for that? On Sun, Sep 5, 2010 at 11:12 PM, Don Stewart d...@galois.com wrote: Gaius: My usual rhetoric is that one-off, throwaway scripts never

Re: [Haskell-cafe] Graphics.Drawing

2010-09-06 Thread Don Stewart
creswick: On Mon, Sep 6, 2010 at 5:29 AM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: On 6 September 2010 21:57, han e...@xtendo.org wrote: So the question is: Do you agree that Graphics.Rendering.OpenGL actually should have been Graphics.OpenGL (or just OpenGL) for wieldiness?

Re: [Haskell-cafe] Paralelism and Distribution in Haskell

2010-09-06 Thread Don Stewart
ivansichfreitas: Hi fellow haskellers, I'm interested in the performance of parallel and/or distributed implementations in haskell language. For example, supose I want to develop an application that distributes a computation between many multicore computers, what are the advantages I can

Re: [Haskell-cafe] Re: Paralelism and Distribution in Haskell

2010-09-06 Thread Don Stewart
waldmann: http://book.realworldhaskell.org/read/concurrent-and-multicore-programming.html http://www.haskell.org/haskellwiki/GHC/Data_Parallel_Haskell Although the last two edits on that page are from 2010 and 2009. So what *is* the current status of DPH? Note that DPH is a programming

Re: [Haskell-cafe] Re: Paralelism and Distribution in Haskell

2010-09-06 Thread Don Stewart
waldmann: Don Stewart dons at galois.com writes: Note that DPH is a programming model, but the implementation currently targets shared memory multicores (and to some extent GPUs), not distributed systems. Yes. I understand that's only part of what the original poster wanted, but I'd

Re: [Haskell-cafe] Re: Paralelism and Distribution in Haskell

2010-09-06 Thread Don Stewart
waldmann: functional/declarative code automatically parallelizes, Well, that's not really a good thing to say. Sure, sure, and I expand on the details in my lectures. But in advertising (the elevator sales pitch), we simplify. Cf. well-typed programs don't go wrong. Good! I

Re: [Haskell-cafe] help me evangelize haskell.

2010-09-05 Thread Don Stewart
Gaius: My usual rhetoric is that one-off, throwaway scripts never are, and not only do they tend to stay around but they take on a life of their own. Today's 10-line file munger is tomorrow's thousand-line ETL batch job on which the business depends for some crucial data - yet the original

Re: [Haskell-cafe] How to catch exception within the Get monad (theBinary package)

2010-09-05 Thread Don Stewart
donn: Quoth Dimitry Golubovsky golubov...@gmail.com, Is there any way to catch/detect failures inside the Get monad? It is not an instance of MonadError, so catchError does not work. Ideally, the function would keep decoding as long as it is possible, and upon the first failure of the

Re: [Haskell-cafe] base-3 - base-4

2010-09-03 Thread Don Stewart
ganesh.sittampalam: Johannes Waldmann wrote: Is there a conversion guide for switching from base-3 to base-4? I noticed that ghc-HEAD (6.13) comes with base-4.3 (and no base-3). This will break an awful lot of packages (?), in fact the breakage starts with cabal-install (since it

Re: [Haskell-cafe] Missing documentation in Haskell Platform on Windows

2010-09-02 Thread Don Stewart
andrewcoppin: Arnaud Bailly wrote: Hello, I installed (succesfully) HAskell Platform 2010.2 on windows and have a small but annoying issue: Some links in HTML documentation lead to broken links. I did not investigate all the links, but I have seen that all doc under Control.Monad.XXX

Re: [Haskell-cafe] Contibution to Haskell world

2010-08-30 Thread Don Stewart
crazy.fizruk: Hi all, I am very interested in haskell and most of related things and as I know there are a lot of things to do for haskell world. I have rather small, as I think, expirience with haskell: I've worked with Language.C, alex, happy, parsec and some other stuff that I haven't

[Haskell-cafe] Announce: Significant performance improvements for Data.Map

2010-08-29 Thread Don Stewart
/ Separately, the patches are attached to this ticket. The consideration period is 3 weeks (before ICFP). __ Work carried out over 28/29th August, 2010 in Utrecht, NL, by Johan Tibell and Don Stewart

Re: [Haskell-cafe] Unicode pretty-printing

2010-08-28 Thread Don Stewart
gromopetr: Hi all, I've been considering using Haskell for my natural language processing project. Due to its nature, it has much to do with Unicode. Unfortunately, Haskell escapes UTF8 characters. I've been able to output these strings via System.IO.UTF8.putStrLn (though I wish it was

Re: [Haskell-cafe] Re: Hackage on Linux

2010-08-26 Thread Don Stewart
marlowsd: If you look at the original Cabal design document[1], you'll see that one of the goals of Cabal was to be the glue that lets you convert an arbitrary Haskell library into a native package for a variety of systems - including MSIs on Windows. Indeed, I must admit when we were

Re: [Haskell-cafe] Hackage on Linux

2010-08-24 Thread Don Stewart
deteego: If people just wanted an auto udpate version of cabal that works through arch's package management, then there should have just been a pacman wrapper which when you install/update haskell libraries/packages, it creates a local package through cabal2arch instead of using AUR.

Re: [Haskell-cafe] feasability of implementing an awk interpreter.

2010-08-20 Thread Don Stewart
There's a lot of examples of languages implemented in Haskell to choose from, too http://haskell.org/haskellwiki/Applications_and_libraries/Compilers_and_interpreters#Large_languages michael: Thank you all for your encouragement. I need to think about the core functionality, and do some

Re: [Haskell-cafe] regex-compat on latest Haskell Platform

2010-08-17 Thread Don Stewart
kevinjardine: I'm running Haskel Platform 2010.2.0.0 and attempting to compile with regex-compat under Windows XP. The link stage fails with a number of lines of the form: D:\Program Files\Haskell Platform\2010.2.0.0\lib\extralibs\regex-

[Haskell-cafe] Sifflet dependencies

2010-08-16 Thread Don Stewart
$ cabal update Downloading the latest package list from hackage.haskell.org $ cabal install sifflet Resolving dependencies... cabal: cannot configure pango-0.11.1. It requires cairo =0.11.1 0.12 and glib =0.11.1 0.12 For the dependency on cairo =0.11.1 0.12 there are

Re: [Haskell-cafe] Re: A cabal odyssey

2010-08-16 Thread Don Stewart
On Aug 16, 9:27 pm, Andrew Coppin andrewcop...@btinternet.com wrote: And so today, just for giggles, I tried to get Sifflet to work. Along the way, I encountered a number of... glitches, if you will. First of all, I tried to get it to work on Windows. I fired up a new Windows VM and

Re: [Haskell-cafe] Re: String vs ByteString

2010-08-15 Thread Don Stewart
wren: Bryan O'Sullivan wrote: As a case in point, I took the string search benchmark that Daniel shared on Friday, and boiled it down to a simple test case: how long does it take to read a 31MB file? GNU wc -m: - en_US.UTF-8: 0.701s text 0.7.1.0: - lazy text: 1.959s - strict

Re: [Haskell-cafe] Re: String vs ByteString

2010-08-14 Thread Don Stewart
andrewcoppin: Interesting. I've never even heard of Data.Text. When did that come into existence? More importantly: How does the average random Haskeller discover that a package has become available that might be relevant to their work? In this case, Data.Text has been announced on this

Re: [Haskell-cafe] Re: String vs ByteString

2010-08-13 Thread Don Stewart
There are many libraries for many purposes. How to pick your string library in Haskell http://blog.ezyang.com/2010/08/strings-in-haskell/ kevinjardine: I find it disturbing that a modern programming language like Haskell still apparently forces you to choose between a representation

Re: [Haskell-cafe] hackage.haskell.org cannot be accessed?

2010-08-12 Thread Don Stewart
ivan.miljenovic: On 12 August 2010 16:45, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: Hi,  Today I found out that I cannot access hackage.haskell.org. I have tried vpn/proxy to see if my network has something wrong. No luck.

Re: [Haskell-cafe] StablePtr overhead?

2010-08-10 Thread Don Stewart
greg: Hi all, Can anyone explain what the overhead of using StablePtrs is? Specifically I am interested in knowing the time/space complexity of the various Foreign.StablePtr operations and how many memory indirections are involved when using deRefStablePtr. There's a hashtable in the

Re: [Haskell-cafe] Re: Odd parallel haskell observations (some more numbers)

2010-08-09 Thread Don Stewart
sacha: Hi. On Mon, 9 Aug 2010 09:44:00 +0200 JG == Jean-Marie Gaillourdet j...@gaillourdet.net wrote: JG JG I am no expert in web server tuning, but I will share my thoughts JG about your approach and expectations nevertheless. I would better think about ghc than about web server. I

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 d...@galois.com

Re: [Haskell-cafe] Haskell Platform OPENGL dependencies

2010-08-05 Thread Don Stewart
aditya.siram: Hi folks, I just installed the latest Haskell Platform on a fresh Ubuntu Lucid machine and I had to install the following packages to satisfy Open GL: libgmp3-dev,libgl1-mesa-dev, libglu1-mesa-dev, freeglut3-dev Just thought you might want to document that on the Haskell

Re: [Haskell-cafe] lambdacats

2010-08-05 Thread Don Stewart
ivan.miljenovic: On 6 August 2010 14:12, Tony Morris tonymor...@gmail.com wrote: Hello, does anyone happen to have the lambdacats page cached? The domain (arcanux.org) and server have disappeared and the wayback machine doesn't have the images. Plenty of stuff shows up on google:

Re: [Haskell-cafe] real-time audio processing [Was: can Haskell do everyting as we want?]

2010-08-04 Thread Don Stewart
job.vranish: + 1 This is probably the biggest obstacle to using Haskell where I work. (Aviation industry, software for flight management systems for airplanes) We often need to perform some computations with hard deadlines, say every 20ms, with very little jitter. Major GC's spoil

Re: [Haskell-cafe] Installation problem with latest version of haskell platform

2010-08-03 Thread Don Stewart
pieter: Hi, When I try to install haskell platform 64 bit on a x86_64 debian etch I get the following error after : make install: /usr/bin/install -c -m 755 -d /usr/local/lib/ghc-6.12.3/package.conf.d /usr/local/lib/ghc-6.12.3/ghc-pkg --force --global-conf /usr/local/lib/

Re: [Haskell-cafe] can Haskell do everyting as we want?

2010-08-03 Thread Don Stewart
qiqi789: As more I learn haskell, I am more interested in this function programming language. I am intended to more focus on haskell than other languages like python, Java, or C++. But I am still wonder whether haskell can do everyting as other languages do, such as python, perl, Java and

Re: [Haskell-cafe] ANNOUNCE: Takusen 0.8.6

2010-08-01 Thread Don Stewart
aditya.siram: Why are the Takusen module links on Hackage dead? Hmm. The links look fine: http://hackage.haskell.org/package/Takusen-0.8.6 this opportunity to request a Takusen tutorial and to thank you for this ___ Haskell-Cafe mailing

Re: [Haskell-cafe] ANNOUNCE: Takusen 0.8.6

2010-08-01 Thread Don Stewart
. -deech [1] http://hackage.haskell.org/packages/archive/Takusen/0.8.6/doc/html/ Database-ODBC-Enumerator.html On Sun, Aug 1, 2010 at 1:46 PM, Don Stewart d...@galois.com wrote: aditya.siram: Why are the Takusen module links on Hackage dead? Hmm. The links look fine

Re: [Haskell-cafe] Int and ByteStrings

2010-07-27 Thread Don Stewart
wren: Hey all, Is there a library function (f :: [Int] - ByteString) such that it's prefix-preserving, and platform independent? GHC-only is fine for now. There are a bunch of functions of that type, but I need those guarantees and I'm hoping someone else has already done it. should

Re: [Haskell-cafe] ANNOUNCE: Haskell Platform 2010.2.0.0

2010-07-23 Thread Don Stewart
andrewcoppin: Don Stewart wrote: Download the Haskell Platform 2010.2.0.0: http://hackage.haskell.org.nyud.net/platform/ (Caching server). Anybody have any theroes why Trend Micro Antivirus is reporting this as a confirmed fraud/attack site? We're using the Coral Cache caching

[Haskell-cafe] ANNOUNCE: Haskell Platform 2010.2.0.0

2010-07-22 Thread Don Stewart
We're pleased to announce the fifth release of the Haskell Platform: a single, standard Haskell distribution for everyone. Download the Haskell Platform 2010.2.0.0: http://hackage.haskell.org.nyud.net/platform/ (Caching server). The specification, along with installers (including Windows,

Re: [Haskell-cafe] Design for 2010.2.x series Haskell Platform site

2010-07-18 Thread Don Stewart
dave: Actually, it just got trivial:    $ diffcabal old-platform.cabal haskell-platform.cabal    Cabal 1.8.0.2 - 1.8.0.6    QuickCheck 2.1.0.3 - 2.1.1.1 [etc.] Okay, so where do I go to find out the difference between, say, QuickCheck 2.1.0.3 and 2.1.1.1? -- Currently, the

Re: [Haskell-cafe] Design for 2010.2.x series Haskell Platform site

2010-07-17 Thread Don Stewart
allbery: like to repeat one request: Please, please, please make it easier to - Download older versions of HP. - Find out which HP release contains what. - Figure out what the difference between release X and release Y is. +1 I'd consider this mandatory. It's amazing how many projects

Re: [Haskell-cafe] Design for 2010.2.x series Haskell Platform site

2010-07-17 Thread Don Stewart
markl: I like the content. The layout has some flaws when rendered on my environment (Safari 4, but with perhaps narrower than most peoples windows): * The background image tiled looks pretty bad - since I see repeats and it doesn't really tile. Yes, noted. * The three columns at the

Re: [Haskell-cafe] Design for 2010.2.x series Haskell Platform site

2010-07-17 Thread Don Stewart
andrewcoppin: Don Stewart wrote: allbery: like to repeat one request: Please, please, please make it easier to - Download older versions of HP. - Find out which HP release contains what. - Figure out what the difference between release X and release Y is. +1 I'd consider

[Haskell-cafe] Best links for Haskell Platform distro packages?

2010-07-17 Thread Don Stewart
Can distro maintainers confirm these are the best links for each distro package? Debian http://packages.debian.org/squeeze/haskell-platform (or should it be sid?) Fedora: https://admin.fedoraproject.org/pkgdb/acls/name/haskell-platform Gentoo:

Re: [Haskell-cafe] RE: Design for 2010.2.x series Haskell Platform site (Don Stewart)

2010-07-17 Thread Don Stewart
wren: Niemeijer, R.A. wrote: Here's my take on the new design: Screenshot: http://imgur.com/9LHvk.jpg Live version: http://dl.dropbox.com/u/623671/haskell_platform_redesign/index.htm Is it just me, or does aligning [OSX,Win,Linux] `zip` [Comprehensive, Robust, CuttingEdge] send the

[Haskell-cafe] Design for 2010.2.x series Haskell Platform site

2010-07-16 Thread Don Stewart
Hey all, As you might know, the next major release of the Haskell Platform is coming up next week. We've had the current download site design for a while now: http://haskell.org/platform/ However, I'm thinking it would be nice to have themed release designs. Examples:

Re: [Haskell-cafe] Hot-Swap with Haskell

2010-07-16 Thread Don Stewart
Generally, in Erlang or Haskell, the semantics we use is to keep all the old code in memory, for the case of closures and thunks that point back into that code. You can imagine a fine-grained semantics where as each top level function is no longer referenced, the *code* for that is swapped. I

Re: [Haskell-cafe] Design for 2010.2.x series Haskell Platform site

2010-07-16 Thread Don Stewart
chrisdone: Hi Don, What's the ETA on getting the site wiki upgraded and to what version will it be? If we're looking at another couple of weeks I'll come up with a new wiki template this weekend to replace the current one. For haskell.org? Thomas Schilling and Ian Lynagh are working on

Re: [Haskell-cafe] Design for 2010.2.x series Haskell Platform site

2010-07-16 Thread Don Stewart
chrisdone: On 16 July 2010 20:37, Don Stewart d...@galois.com wrote: chrisdone: Regarding the Haskell Platform, maybe a summer theme is in order? Sunrise, here's a whole platform upgrade. Get it while it's hot, etc.    That's a great idea! :-) Maybe you could work on a theme like

Re: [Haskell-cafe] Design for 2010.2.x series Haskell Platform site

2010-07-16 Thread Don Stewart
chrisdone: On 16 July 2010 20:37, Don Stewart d...@galois.com wrote: chrisdone: Regarding the Haskell Platform, maybe a summer theme is in order? Sunrise, here's a whole platform upgrade. Get it while it's hot, etc.    That's a great idea! :-) Maybe you could work on a theme like

Re: [Haskell-cafe] Hot-Swap with Haskell

2010-07-15 Thread Don Stewart
lazycat.manatee: Hi all, I'm research to build a hot-swap Haskell program to developing itself in Runtime, like Emacs. Essentially, Yi/Xmonad/dyre solution is replace currently executing technology: re-compile new code with new binary entry when re-compile success $

[Haskell-cafe] IFL 2010: 3rd CFP and 1st Call for Participation

2010-07-14 Thread Don Stewart
Madrid, Spain Sven-Bodo ScholzUniversity of Hertfordshire, UK Tom Schrijvers Catholic University of Leuven, Belgium Don Stewart Galois, USA Wouter SwierstraVector Fabrics, Netherlands Don SymeMicrosoft, UK Peter Thiemann University

Re: [Haskell-cafe] Re: The site has been exploited (again)

2010-07-13 Thread Don Stewart
gwern0: Ashley has made me admin; I've spent the last 1.5 hours deleting all the vandalism and indef blocking the accounts. I have Recent Changes in my RSS reader, so hopefully in the future there will be no greater than 24 hours delay before vandalism is dealt with. A MW upgrade will also

Re: [Haskell-cafe] The site has been exploited (again)

2010-07-11 Thread Don Stewart
chrisdone: http://haskell.org/ It says TO BUY Cilamox ONLINE, etc. Whoever has power please fix this and upgrade the bloody wiki. This is ridiculous. Point the domain at tryhaskell.org or something. I'll put a holder page up. Anything. It looks like after the Yale machine was repaved,

Re: [Haskell-cafe] HaskellWiki spam

2010-07-11 Thread Don Stewart
markl: On Jul 11, 2010, at 3:17 PM, Henk-Jan van Tuyl wrote: There are hundreds of HaskellWiki users created, their names all start with Buy and their user pages contain spam. I suppose the antispam measures were reverted when a backup of the site was loaded. (B.T.W. the site still

Re: [Haskell-cafe] Code Example and Haskell Patterns

2010-07-08 Thread Don Stewart
ali.razavi: Hi, Hackage is a sizable repository of Haskell code; makes me wonder if there is a way to use it more effectively for pedagogical purposes. For example, I really would like to study State monad, monad transformers, applicative, arrows etc. in action--i.e., in the context of a

Re: [Haskell-cafe] Merge hsql and HDBC -- there can only be one!

2010-07-07 Thread Don Stewart
joerg.rudnick: Hi Chris, these are good questions -- actually, you might have mentioned Takusen, too. Clearly, HDBC is the largest of these projects, and there are lots of things well done there. Takusen has an interesting approach, and I would like to see a discussion here about the

Re: [Haskell-cafe] ANNOUNCE: ghc-gc-tune: a tool for analyzing the impact of GC flags

2010-07-06 Thread Don Stewart
warren.henning: On Mon, Jul 5, 2010 at 5:46 PM, Don Stewart d...@galois.com wrote: Feedback and patches welcome! Interesting. Could this be combined with the ACOVEA compiler flag thing you did a while back to produce a tool that would automatically improve performance of programs

[Haskell-cafe] ANNOUNCE: ghc-gc-tune: a tool for analyzing the impact of GC flags

2010-07-05 Thread Don Stewart
Inspired by a comment by Simon Marlow on Stack Overflow, about the time and space tradeoffs we make with garbage collection, particularly with a generational GCs, I wrote a small program, ghc-gc-tune, to traverse the garbage collector variable space, to see the relationship between settings and

Re: [Haskell-cafe] cereal vs. binary

2010-07-03 Thread Don Stewart
deliverable: I dump results of a computation as a Data.Trie of [(Int,Float)]. It contains about 5 million entries, with the lists of 35 or less pairs each. It takes 8 minutes to load with Data.Binary and lookup a single key. What can take so long? If I change from compressed to

Re: [Haskell-cafe] How easy is it to hire Haskell programmers

2010-07-02 Thread Don Stewart
andrewcoppin: Edward Kmett wrote: Knowledge of Haskell means very different things to different people. I'd be somewhat leery of blindly hiring someone based on their ability to answer a couple of pop Haskell quiz questions. A better test might be if they really understood Applicative

Re: [Haskell-cafe] How easy is it to hire Haskell programmers

2010-07-02 Thread Don Stewart
ivan.miljenovic: Hmm, interesting. Applicative and Traversable are two classes I've never used and don't really understand the purpose of. I have no idea what hsc2hs is. I keep hearing finger trees mentioned, but only in connection to papers that I can't access. So I guess that means

Re: [Haskell-cafe] State of the Hackage: Q1, Q2 2010

2010-07-01 Thread Don Stewart
not be the most elegant, but it only took a few minutes and it does the job. You'll find it attached :) Cheers, - Tim On Wed, Jun 30, 2010 at 5:08 PM, Don Stewart d...@galois.com wrote: Downloads and popular packages on Hackage for Q1 and Q2 this year. http://donsbot.wordpress.com

Re: [Haskell-cafe] How easy is it to hire Haskell programmers

2010-07-01 Thread Don Stewart
That's not really true. We train people at Galois in Haskell, on the job. Often they have prior FP experience, but not always. aditya.siram: And learning (fun) should be an important aspect of the position. Whatever FP you're coming from, I don't think you can pick up Haskell on the job.

[Haskell-cafe] State of the Hackage: Q1, Q2 2010

2010-06-30 Thread Don Stewart
Downloads and popular packages on Hackage for Q1 and Q2 this year. http://donsbot.wordpress.com/2010/06/30/popular-haskell-packages-q2-2010-report/ -- Don ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Re: Mining Twitter data in Haskell and Clojure

2010-06-28 Thread Don Stewart
claus.reinke: To binary package users/authors: is there a typed version of binary (that is, one that records and checks a representation of the serialized type before actual (de-)serialization)? It would be nice to have such a type check, even though it wouldn't protect against missing

[Haskell-cafe] Fwd: signficant improvements to the containers package

2010-06-24 Thread Don Stewart
Some people might be quite excited by Milan's work on significant performance improvements to the containers package... - Forwarded message from Milan Straka f...@ucw.cz - Date: Thu, 24 Jun 2010 07:45:50 +0200 From: Milan Straka f...@ucw.cz To: Don Stewart d...@galois.com Cc: Claus

Re: [Haskell-cafe] Re: Mining Twitter data in Haskell and Clojure

2010-06-24 Thread Don Stewart
deliverable: Simon -- so how can I get me a new ghc now? From git, I suppose? (It used to live in darcs...) It still lives in darcs. Nightly builds are here: http://www.haskell.org/ghc/dist/stable/dist/ You'll want to check with Simon that the patch got pushed, though, first. -- Don

Re: [Haskell-cafe] CnC Haskell

2010-06-23 Thread Don Stewart
vigalchin: Hello, I have been reading work done at Rice University: http:// habanero.rice.edu/cnc. Some work has been done by http://www.cs.rice.edu/ ~dmp4866/ on CnC for .Net. One component that David wrote a CnC translator that translates CnC textual form to the underlying

Re: [Haskell-cafe] Huffman Codes in Haskell

2010-06-22 Thread Don Stewart
john: On Tue, Jun 22, 2010 at 06:24:22PM +0100, Andrew Coppin wrote: John Meacham wrote: In particular, a Huffman coding: http://en.wikipedia.org/wiki/Huffman_coding is ideal for this (assuming you just are taking advantage of frequency analysis). A dynamic Huffman Tree will even adapt

Re: [Haskell-cafe] Relating generated asm to Core

2010-06-22 Thread Don Stewart
Rami.Mukhtar: Hi, Can anyone tell me a way to identify the generated assembly (as found in the intermediate files produced by GHC) corresponding to a particular fragment of Core code. Hey Rami, I use the ghc-core tool: http://hackage.haskell.org/package/ghc-core Which displays both

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

2010-06-17 Thread Don Stewart
deliverable: At this very moment I'm struggling with fitting a huge graph of Twitter communications into a Haskell program. Apparently it gets into a loop freeing memory. As I suspected, JVM garbage collector got more testing than Haskell at this scale; since not many people load it up as

Re: [Haskell-cafe] Mapping a list of functions

2010-06-17 Thread Don Stewart
Martin.Drautzburg: Hello all The standard map function applies a single function to a list of arguments. But what if I want to apply a list of functions to a single argument. I can of course write such a function, but I wonder if there is a standard way of doing this, map ($ 2)

Re: [Haskell-cafe] Re: Mining Twitter data in Haskell and Clojure

2010-06-15 Thread Don Stewart
deliverable: If you just want to optimize it and not compare exactly equal idiomatic code, you should stop using functional data structures and use a structure that fits your problem (the ST monad has been designed for that in Haskell), because compilers do not detect single-threaded

Re: [Haskell-cafe] Re: Mining Twitter data in Haskell and Clojure

2010-06-15 Thread Don Stewart
deliverable: Wren -- thanks for the clarification! Someone said that Foldable on Trie may not be very efficient -- is that true? I use ByteString as a node type for the graph; these are Twitter user names. Surely it's useful to replace them with Int, which I'll try, but Clojure works with

Re: [Haskell-cafe] Re: Mining Twitter data in Haskell and Clojure

2010-06-14 Thread Don Stewart
deliverable: I've supplied a profile report there. Since I load the graphs in memory and then walk them a lot, the time seems expected. It allocates a lot, though. The main graph type is type Graph = M.Map User AdjList type AdjList = M.Map Day Reps type User = B.ByteString type Day =

Re: [Haskell-cafe] Mining Twitter data in Haskell and Clojure

2010-06-13 Thread Don Stewart
deliverable: I'm computing a communication graph from Twitter data and then scan it daily to allocate social capital to nodes behaving in a good karmic manner. The graph is culled from 100 million tweets and has about 3 million nodes. First I wrote the simulation of the 35 days of data in

Re: [Haskell-cafe] Problems with threading?

2010-06-11 Thread Don Stewart
igouy2: parallel, regex-posix, regex-pcre are now installed and the current compile errors are caused by the programs not the absence of required libraries - http://shootout.alioth.debian.org/u64q/program.php?test=binarytreeslang=ghcid=2#log

Re: [Haskell-cafe] Problems with threading?

2010-06-10 Thread Don Stewart
wasserman.louis: There are 4 sets of rankings so - http://shootout.alioth.debian.org/u64/program.php?test=threadringlang=ghc; id=3 Yes, but Haskell used to be doing much better specifically on the u64q, which was why I was surprised. Oh, indeed,

Re: [Haskell-cafe] Problems with threading?

2010-06-10 Thread Don Stewart
igouy2: In particular, use thread pinning to improve locality. -qw -qm ? How's that going to work out when applied to the other Haskell programs? I'm sure it does bad things to them. Yep, earlier in the week I measured the programs using +RTS -N4 -qw -qm which

Re: [Haskell-cafe] Problems with threading?

2010-06-10 Thread Don Stewart
igouy2: Simon Marlow described how best to parallelize this problem extensively in:     http://www.haskell.org/~simonmar/bib/multicore-ghc-09_abstract.html So I'd suggest doing what he says. In particular, use thread pinning to improve locality. -qw -qm ? How's that

Re: [Haskell-cafe] Strange discrepancy between Emacs interpreter and command-line on windows

2010-06-09 Thread Don Stewart
arnaud.oqube: Hello, I have a strange issue which sprang today out of nowhere. When I load a certain file using bytestring package in Ghci using emacs, I got the following error: Couldn't match expected type `Data.ByteString.Internal.ByteString' against inferred type

Re: [Haskell-cafe] Problems with threading?

2010-06-09 Thread Don Stewart
igouy2: Now how do we get those regex-dna and binary-trees programs to compile? http://shootout.alioth.debian.org/u32/measurements.php?lang=ghc binary-trees: Could not find module `Control.Parallel.Strategies': -- cabal install parallel regex-dna: cannot satisfy

[Haskell-cafe] Re: package naming policy (was: Please check your dependencies on fgl)

2010-06-08 Thread Don Stewart
jwlato: From: Don Stewart d...@galois.com ivan.miljenovic: Thomas Bereknyei are currently re-writing fgl (just about completely from scratch) and we plan to make an initial release to get feedback on the API in the next few weeks. However, I'm sending this email out now to warn

[Haskell-cafe] Rewriting a famous library and using the same name: pros and cons

2010-06-08 Thread Don Stewart
There have been a few cases of major API / rewrites to famous old packages causing problems, including: * QuickCheck 1 vs 2 * parsec 2 vs 3 * OpenGL a similar opportunity is present with 'fgl', where the new maintainers are seeking to improve the code. Below I try to summarise

[Haskell-cafe] Re: package naming policy (was: Please check your dependencies on fgl)

2010-06-08 Thread Don Stewart
jwlato: Great points: I've added them to this wiki page of for and against points:    http://haskell.org/haskellwiki/Libraries/WhenToRewriteOrRename Please add points as you see fit, and maybe we can come up with a mitigation/change plan. Thanks very much; that's a useful page.

<    1   2   3   4   5   6   7   8   9   10   >