Re: [Haskell-cafe] Haskell Web Framework

2009-01-25 Thread Michael Snoyman
> > I am interested in contributing to a Haskell web framework. :) > > I have started an attempt to create my own Haskell web framework, but I got > busy working on my Master's thesis research, so I had to stop working on > it... I was a web developer at a start-up company for 1.5yrs with Ruby on

Re: [Haskell-cafe] Haskell Web Framework

2009-01-25 Thread Michael Snoyman
> > I´m working in a web application rather than a web framework. But I > sometimes think about how a complete web application server should be. For > my case, I don´t care about the presentation, because HSP is more than > enough. However, I need active-active clustering, distributed transactions

Re: [Haskell-cafe] ANN: filestore 0.1

2009-01-25 Thread carmen
back to the original topic of the thread.. cool project, id be interested ina pure-FS backend as well, as the overhead of a git/hg add/commit is a bit too much for eg a single 'field' of data plus you can also verison via new URIs and/or a subtree-versioning FS like BTRfs... _

Re: [Haskell-cafe] MySQL and HDBC?

2009-01-25 Thread John Goerzen
Chris Waterson wrote: > You probably already know this, but...the problem is that the > "connection" doesn't really have anything to do with supporting > transactions in MySQL; the storage engine that backs a particular > table does. A single connection can interact with tables that are > backed b

[Haskell-cafe] ANN: Hayoo! beta 0.3

2009-01-25 Thread Timo B. Hübel
Hello! We are pleased to announce the next beta version 0.3 of Hayoo!, the Haskell API search engine with find-as-you-type and suggestions. Visit Hayoo! here: http://holumbus.fh-wedel.de/hayoo Basically, there is one new major feature available: Hayoo! now works even if your browser does not s

Re: [Haskell-cafe] Re: Laws and partial values

2009-01-25 Thread Daniel Fischer
Am Sonntag, 25. Januar 2009 19:01 schrieb Conal Elliott: > I think I smell the same sort of circularity in this shifted "per > definitionem" argument as well. Here's how I imagine making this implicit > argument explicit: > > Define "terminating" (or undefined) to mean "/= _|_" and "not terminatin

Re: [Haskell-cafe] Re: list choices

2009-01-25 Thread Magnus Therning
On Sun, Jan 25, 2009 at 11:17 PM, Malcolm Wallace wrote: >> The duplicate messages will have the same Message-ID... > >> if they post a message they >> *want* the reply to go to their main inbox as well as the mailing list >> folder. > > Maybe I am just stupid, or maybe my email client is inadequa

[Haskell-cafe] Re: list choices

2009-01-25 Thread Malcolm Wallace
The duplicate messages will have the same Message-ID... if they post a message they *want* the reply to go to their main inbox as well as the mailing list folder. Maybe I am just stupid, or maybe my email client is inadequate, but I cannot work out how to filter the same email such that dif

Re: [Haskell-cafe] ANN: filestore 0.1

2009-01-25 Thread Miguel Mitrofanov
Maybe, we should have another command in cabal-install, something like "cabal announce", that would post an announcement to hask...@haskell.org? On 26 Jan 2009, at 01:09, Magnus Therning wrote: On Sun, Jan 25, 2009 at 10:47 AM, Derek Elkins > wrote: On Sun, 2009-01-25 at 09:32 +, Magnus

Re: [Haskell-cafe] ANN: filestore 0.1

2009-01-25 Thread Derek Elkins
On Sun, 2009-01-25 at 23:09 +0100, Magnus Therning wrote: > On Sun, Jan 25, 2009 at 10:47 AM, Derek Elkins > wrote: > > On Sun, 2009-01-25 at 09:32 +, Magnus Therning wrote: > >> Bulat Ziganshin wrote: > >> > Hello Gwern, > >> > > >> > Sunday, January 25, 2009, 2:56:07 AM, you wrote: > >> > >

Re: [Haskell-cafe] ANN: filestore 0.1

2009-01-25 Thread Jonathan Cast
On Sun, 2009-01-25 at 23:09 +0100, Magnus Therning wrote: > On Sun, Jan 25, 2009 at 10:47 AM, Derek Elkins > wrote: > > On Sun, 2009-01-25 at 09:32 +, Magnus Therning wrote: > >> Bulat Ziganshin wrote: > >> > Hello Gwern, > >> > > >> > Sunday, January 25, 2009, 2:56:07 AM, you wrote: > >> > >

Re: [Haskell-cafe] Re: Laws and partial values

2009-01-25 Thread Jonathan Cast
On Sun, 2009-01-25 at 16:06 -0600, Derek Elkins wrote: > On Sun, 2009-01-25 at 07:11 -0800, Jonathan Cast wrote: > > On Sun, 2009-01-25 at 10:46 +0100, Thomas Davie wrote: > > > On 25 Jan 2009, at 10:08, Daniel Fischer wrote: > > > > > > > Am Sonntag, 25. Januar 2009 00:55 schrieb Conal Elliott: >

Fwd: [Haskell-cafe] Haskell Web Framework

2009-01-25 Thread Alberto G. Corona
Sorry, I forgot to forward it to the list: -- Forwarded message -- From: Alberto G. Corona Date: 2009/1/25 Subject: Re: [Haskell-cafe] Haskell Web Framework To: Donnie Jones hi, I´m working in a web application rather than a web framework. But I sometimes think about how a comp

Re: [Haskell-cafe] ANN: filestore 0.1

2009-01-25 Thread Magnus Therning
On Sun, Jan 25, 2009 at 10:47 AM, Derek Elkins wrote: > On Sun, 2009-01-25 at 09:32 +, Magnus Therning wrote: >> Bulat Ziganshin wrote: >> > Hello Gwern, >> > >> > Sunday, January 25, 2009, 2:56:07 AM, you wrote: >> > >> > my usual complaint: it will be great to see all announces duplicated >>

Re: [Haskell-cafe] Re: Laws and partial values

2009-01-25 Thread Derek Elkins
On Sun, 2009-01-25 at 07:11 -0800, Jonathan Cast wrote: > On Sun, 2009-01-25 at 10:46 +0100, Thomas Davie wrote: > > On 25 Jan 2009, at 10:08, Daniel Fischer wrote: > > > > > Am Sonntag, 25. Januar 2009 00:55 schrieb Conal Elliott: > > >>> It's obvious because () is a defined value, while bottom i

Re: [Haskell-cafe] MySQL and HDBC?

2009-01-25 Thread Chris Waterson
On Jan 25, 2009, at 4:25 AM, Yitzchak Gale wrote: o Transactions - if a connection does not support transactions, dbTransactionSupport should return False, and commit and rollback should raise errors. (SqlError I suppose?) Not warnings. You probably already know this, but...the problem is that

Re: [Haskell-cafe] wxHaskell and XP-Themes

2009-01-25 Thread Henk-Jan van Tuyl
On Sun, 25 Jan 2009 18:58:25 +0100, Günther Schmidt wrote: Hi, my app is using wxHaskell for the gui part, how can I make it use XP-Themes? On XP it's using the Win2k themes. Günther On my Windows XP system, the wxHaskell programs display the Windows in the style that I selected for

Re: [Haskell-cafe] how to implement daemon start and stop directives?

2009-01-25 Thread Brandon S. Allbery KF8NH
On 2009 Jan 25, at 6:57, Krzysztof Skrzętnicki wrote: When you succeed please write about it - I'd love to read about it! I was interested in writing a deamon in the past but didn't have time for it and a nice tutorial would probably help a lot. I should mention that the easiest way to write

Re: list choices (was [Haskell-cafe] ANN: filestore 0.1)

2009-01-25 Thread Tristan Seligmann
* Jeremy Shaw [2009-01-25 09:19:23 -0600]: > I believe there are two solutions to your problem: > > 1. set the Reply-to header yourself to specify how you want people to > reply to messages you post. If you only want them to do to the list, > then set that. Some email clients can be configure

[Haskell-cafe] Haskell Web Framework

2009-01-25 Thread Felix Martini
Hi Michael, May i suggest Johan Tibell's web application interface (see http://github.com/tibbe/hyena/tree/master). It is similar to WSGI. Hyena can then be used as an application server and frameworks won't have to create their own servers. Many people have different opinions about web frameworks

[Haskell-cafe] Template Haskell very wordy w/r/t Decs and Types

2009-01-25 Thread Ross Mellgren
Hi all, I'm writing a small module that exposes a template haskell splice that takes a (very simplified) C struct definition and builds: - A data type definition, - an instance for Data.Binary.Binary, - and optionally a pretty print function for it However, it seems to do this I have to w

Re: [Haskell-cafe] Haskell Web Framework

2009-01-25 Thread Donnie Jones
Hello Michael, I am interested in contributing to a Haskell web framework. :) I have started an attempt to create my own Haskell web framework, but I got busy working on my Master's thesis research, so I had to stop working on it... I was a web developer at a start-up company for 1.5yrs with Ru

Re: [Haskell-cafe] Re: Laws and partial values

2009-01-25 Thread Jonathan Cast
On Sun, 2009-01-25 at 10:09 -0800, Conal Elliott wrote: > > On Sun, Jan 25, 2009 at 9:17 AM, Jonathan Cast > wrote: > > On Sun, 2009-01-25 at 09:04 -0800, Conal Elliott wrote: > > > > On Sun, Jan 25, 2009 at 7:11 AM, Jonathan Cast > > wrote: > > >

Re: [Haskell-cafe] Re: Laws and partial values

2009-01-25 Thread Conal Elliott
On Sun, Jan 25, 2009 at 9:17 AM, Jonathan Cast wrote: > On Sun, 2009-01-25 at 09:04 -0800, Conal Elliott wrote: > > > > On Sun, Jan 25, 2009 at 7:11 AM, Jonathan Cast > > wrote: > > > > On Sun, 2009-01-25 at 10:46 +0100, Thomas Davie wrote: > > > On 25 Jan 2009, at 10:08, Daniel F

Re: [Haskell-cafe] Re: Laws and partial values

2009-01-25 Thread Conal Elliott
On Sun, Jan 25, 2009 at 1:08 AM, Daniel Fischer wrote: > Am Sonntag, 25. Januar 2009 00:55 schrieb Conal Elliott: > > > It's obvious because () is a defined value, while bottom is not - per > > > definitionem. > > > > I wonder if this argument is circular. > > > > I'm not aware of "defined" and "n

[Haskell-cafe] wxHaskell and XP-Themes

2009-01-25 Thread Günther Schmidt
Hi, my app is using wxHaskell for the gui part, how can I make it use XP-Themes? On XP it's using the Win2k themes. Günther ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Laws and partial values

2009-01-25 Thread Jonathan Cast
On Sun, 2009-01-25 at 10:46 -0700, Luke Palmer wrote: > On Sun, Jan 25, 2009 at 10:17 AM, Jonathan Cast > wrote: > > > Yes. If you've got a set of terminating > computations, and it > > has > > multiple distinct elements, it general

Fwd: [Haskell-cafe] Haskell Web Framework

2009-01-25 Thread Artyom Shalkhakov
Sorry, forgot to forward to the ML. -- Forwarded message -- From: Artyom Shalkhakov Date: 2009/1/25 Subject: Re: [Haskell-cafe] Haskell Web Framework To: Michael Snoyman Hello, 2009/1/25 Michael Snoyman : > Just as a quick summary of the post, I would say the most salient poi

Re: [Haskell-cafe] Re: Laws and partial values

2009-01-25 Thread Luke Palmer
On Sun, Jan 25, 2009 at 10:17 AM, Jonathan Cast wrote: > > Yes. If you've got a set of terminating computations, and it > > has > > multiple distinct elements, it generally doesn't *have* a > > least element. > > The P in CPO stands for Partial. > > > >

Re: [Haskell-cafe] Re: Laws and partial values

2009-01-25 Thread Lennart Augustsson
If all tuples in Haskell were unlifted then () would not be such a special case. But I would argue against unlifted tuples, because that would make tuples (or single constructor data types) different from other data types; adding a constructor to a type could totally wreck laziness of a program wit

Re: [Haskell-cafe] Re: Laws and partial values

2009-01-25 Thread Jonathan Cast
On Sun, 2009-01-25 at 09:04 -0800, Conal Elliott wrote: > > On Sun, Jan 25, 2009 at 7:11 AM, Jonathan Cast > wrote: > > On Sun, 2009-01-25 at 10:46 +0100, Thomas Davie wrote: > > On 25 Jan 2009, at 10:08, Daniel Fischer wrote: > > > > > Am Sonntag, 25. Jan

Re: [Haskell-cafe] Re: Laws and partial values

2009-01-25 Thread Claus Reinke
Yes. If you've got a set of terminating computations, and it has multiple distinct elements, it generally doesn't *have* a least element. The P in CPO stands for Partial. and this concern does not apply to () . Btw, what would a non-lifted () be used for? If the least element _|_ is known t

Re: [Haskell-cafe] Re: Laws and partial values

2009-01-25 Thread Conal Elliott
On Sun, Jan 25, 2009 at 7:11 AM, Jonathan Cast wrote: > On Sun, 2009-01-25 at 10:46 +0100, Thomas Davie wrote: > > On 25 Jan 2009, at 10:08, Daniel Fischer wrote: > > > > > Am Sonntag, 25. Januar 2009 00:55 schrieb Conal Elliott: > > >>> It's obvious because () is a defined value, while bottom is

Re: Laws and partial values (was: [Haskell-cafe] mapM_ -> Monoid.Monad.map)

2009-01-25 Thread Luke Palmer
On Sun, Jan 25, 2009 at 8:00 AM, Jonathan Cast wrote: > On Sat, 2009-01-24 at 03:08 -0700, Luke Palmer wrote: > > On Sat, Jan 24, 2009 at 2:40 AM, Ryan Ingram > > wrote: > > But _|_ is not (). > > > > Correction: _|_ is not always (). > > For example: in Haskell. > > Prelude> () `seq` Tru

Re: list choices (was [Haskell-cafe] ANN: filestore 0.1)

2009-01-25 Thread Jeremy Shaw
At Sun, 25 Jan 2009 10:02:28 +, Malcolm Wallace wrote: > (And on the topic of duplicate mails, it would reduce _so_ much > irritation if all the haskell-related mailing lists could set the > Reply-To header to the list, instead of defaulting to the original > poster. I already have enou

[Haskell-cafe] Haskell Web Framework

2009-01-25 Thread Michael Snoyman
I'm interested on starting a project with others to create a powerful Haskell web framework in the same league as Rails or Django. I've enumerated (perhaps ad nauseum) my ideas for it in this blog post: http://blog.snoyman.com/2009/01/25/haskell-web-framework/. If people are interested in this, ple

Re: [Haskell-cafe] Re: Laws and partial values

2009-01-25 Thread Jonathan Cast
On Sun, 2009-01-25 at 10:46 +0100, Thomas Davie wrote: > On 25 Jan 2009, at 10:08, Daniel Fischer wrote: > > > Am Sonntag, 25. Januar 2009 00:55 schrieb Conal Elliott: > >>> It's obvious because () is a defined value, while bottom is not - > >>> per > >>> definitionem. > >> > >> I wonder if this

Re: Laws and partial values (was: [Haskell-cafe] mapM_ -> Monoid.Monad.map)

2009-01-25 Thread Jonathan Cast
On Sat, 2009-01-24 at 03:08 -0700, Luke Palmer wrote: > On Sat, Jan 24, 2009 at 2:40 AM, Ryan Ingram > wrote: > On Fri, Jan 23, 2009 at 10:49 PM, Thomas Davie > wrote: > > Isn't the point of bottom that it's the least defined > value. Someone above > > mad

Re: [Haskell-cafe] MySQL and HDBC?

2009-01-25 Thread Yitzchak Gale
Duncan Coutts wrote: >> This was uploaded to hackage yesterday: >> http://hackage.haskell.org/cgi-bin/hackage-scripts/package/HDBC-mysql-0.1 This is wonderful news! Whatever we might say about MySQL, it is so ubiquitous that this driver is really important for Haskell. Chris, please keep us up-to-

Re: [Haskell-cafe] how to implement daemon start and stop directives?

2009-01-25 Thread Krzysztof Skrzętnicki
When you succeed please write about it - I'd love to read about it!I was interested in writing a deamon in the past but didn't have time for it and a nice tutorial would probably help a lot. All best Christopher Skrzętnicki On Sun, Jan 25, 2009 at 02:57, Belka wrote: > > >If you want a normal

[Haskell-cafe] Re: list choices

2009-01-25 Thread Yitzchak Gale
Both of the points raised by Malcolm are a matter of personal preference, in my opinion. In fact, my own preference is the opposite of Malcolm's in both cases. Both of Malcolm's suggestions would rob me of filtering capability. Malcolm Wallace wrote: > I would suggest that posting announcements *o

Re: list choices (was [Haskell-cafe] ANN: filestore 0.1)

2009-01-25 Thread Malcolm Wallace
All announcements should go to hask...@haskell.org if nowhere else. In practice, it is probably best to post to both haskell and haskell-cafe and this is what most people do. I would suggest that posting announcements *only* to haskell@, but with followups set to haskell-cafe@, is the ideal

Re: [Haskell-cafe] ANN: filestore 0.1

2009-01-25 Thread Derek Elkins
On Sun, 2009-01-25 at 09:32 +, Magnus Therning wrote: > Bulat Ziganshin wrote: > > Hello Gwern, > > > > Sunday, January 25, 2009, 2:56:07 AM, you wrote: > > > > my usual complaint: it will be great to see all announces duplicated > > in main haskell list > > I always only announce things on

Re: [Haskell-cafe] Re: Laws and partial values

2009-01-25 Thread Thomas Davie
On 25 Jan 2009, at 10:08, Daniel Fischer wrote: Am Sonntag, 25. Januar 2009 00:55 schrieb Conal Elliott: It's obvious because () is a defined value, while bottom is not - per definitionem. I wonder if this argument is circular. I'm not aware of "defined" and "not defined" as more than inf

Re: [Haskell-cafe] ANN: filestore 0.1

2009-01-25 Thread Magnus Therning
Bulat Ziganshin wrote: > Hello Gwern, > > Sunday, January 25, 2009, 2:56:07 AM, you wrote: > > my usual complaint: it will be great to see all announces duplicated > in main haskell list I always only announce things on haskell-cafe. What list is the “main haskell list”? /M -- Magnus Thernin

Re: [Haskell-cafe] Re: Laws and partial values

2009-01-25 Thread Daniel Fischer
Am Sonntag, 25. Januar 2009 00:55 schrieb Conal Elliott: > > It's obvious because () is a defined value, while bottom is not - per > > definitionem. > > I wonder if this argument is circular. > > I'm not aware of "defined" and "not defined" as more than informal terms. They are informal. I could'v

[Haskell-cafe] ANNOUNCE: DecisionTree 0.0

2009-01-25 Thread Adrian Neumann
Hello, it is my pleasure to announce the DecisionTree package. It provides an implementation of the ID3 algorithm [1] and can be used to classify data with discrete valued attributes. You can get it from * hackage: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/ DecisionTree *