[Haskell-cafe] Re: recommendation for (best) sqlite3 bindings

2010-07-21 Thread Gour
On Wed, 21 Jul 2010 08:06:49 +0300
 Michael == Michael Snoyman mich...@snoyman.com wrote:

Michael For the sqlite backend for persistent, I took direct-sqlite
Michael and modified it slightly. I have a long history of using the
Michael sqlite3 C API, so the API felt very familiar to me.

So, it seems you're satisfiew with direct-sqlite?

What is missing in 1st package (Galois bindings)?

btw, after some research, I've concluded that NOSQL (Redis, MongoDB)
are not good solutions in our use-case since we want to have extensive
querying support and using sqlite3 with SQL seems better option.

Michael If I'm not mistaken, direct-sqlite does not build as-is on
Michael hackage because it's missing a reference to the C library.

Hmm...you're right.

Apparently Archlinux package built OK; but loading it into ghci gives:

ghc: /usr/lib/direct-sqlite-1.0/ghc-6.12.1/HSdirect-sqlite-1.0.o:
unknown symbol `sqlite3_column_blob'

Thank you.

Michael However, if you take my approach and just include the code in
Michael your library, you can fix that easily enough.

It looks it's the problem with package's cabal file...


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: On documentation

2010-07-21 Thread Gour
On Wed, 21 Jul 2010 18:15:08 +0100
 Andrew == Andrew Coppin andrewcop...@btinternet.com wrote:

Andrew  It has really very weak support for writing general
Andrew overviews, tutorials, examples, etc.

+1


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] recommendation for (best) sqlite3 bindings

2010-07-20 Thread Gour
Hello!

We are looking for recommendation which Haskell bindings for sqlite3
to use for destkop GUI app where we want, among other things to store
*.png and/or *.jpg images. (Yeah, I know about the hint to store
iamges in the filesystem and just store filepaths in the db, but for
portability reasons so that user can easily carry/backup database, we
want everything stored in one file.)

By looking at Hackage, it seems there are 3 candidates:

1) sqlite - bindings by Galois
(http://hackage.haskell.org/package/sqlite) - looks quite complete 
low-level interface

2) direct-sqlite - it says It is not as complete as bindings-sqlite3 (1),
but is slightly higher-level...it supports strings encoded as UTF8,
and BLOBs represented as ByteStrings. and

3) HDBC-sqlite3 - higher level but without support for BLOBs.


Now, based on the above it looks that 2) is the best one - not
high-level as 2), but adding BLOBs support which, iirc, is missing in
HDBC.

Otoh, having highr-level abstraction ala HDBC is nice, although at the
moment we believe that we won't have need to go to PostgreSQL since it
means that setup would be greatly complicated for the end-user, so
we're staying focused on Sqlite3.


I know there are also Takusen  HSQL, but based on my past experiences
when watching those two projects, it seems they aren not supported as
well as the above itemized ones.

Any recommendation?

May I add that, according to the recent Merge hsql and HDBC -- there
can only be one! thread, I can only +1 for having slight less 
more complete database packages.


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2010-07-11 Thread Gour
On Sun, 11 Jul 2010 19:29:55 +0200
 Christopher == chrisd...@googlemail.com wrote:


Christopher http://haskell.org/
Christopher 
Christopher It says TO BUY Cilamox ONLINE, etc.

This is not good advertisement for Haskell and maybe it's time to
deploy more-secure Haskell web apps/frameworks...


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2010-07-11 Thread Gour
On Sun, 11 Jul 2010 14:40:03 -0300
 Felipe == Felipe Lessa felipe.le...@gmail.com wrote:

Felipe As far as I know, haskell.org doesn't run on top of Haskell
Felipe software.

That's the point. ;)

haskell.org should work on Haskell software in order to prevent such
things.


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Literate programming

2010-06-13 Thread Gour
On Sat, 12 Jun 2010 17:10:07 -0400
 aditya == aditya siram aditya.si...@gmail.com wrote:

aditya Unfortunately literate programming doesn't really have the tool
aditya support yet. I use emacs for Haskell development and loading
aditya Haskell code in to the REPL will be an issue if you're editing
aditya a noweb file. Currently this is the only thing keeping me from
aditya starting a large ( 2000 LOC) literate project

Nobody mentioned Leo
(http://webpages.charter.net/edreamleo/front.html) editor which works
as stand-alon editor or one can use it with Emacs/Vim...

I plan to use it for my project...

Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Hackage accounts and real names

2010-04-05 Thread Gour
On Mon, 5 Apr 2010 13:59:50 +0100
 David == David House dmho...@gmail.com wrote:


David Moreover it makes things more difficult for everyone else. If
David someone uses their pseudonym on IRC, on the wiki, on the mailing
David lists, on their website and so on and so forth, that's how I
David know them. 

I agree. If anyone knows me in Haskell community, they know only about
'Gour' and I use this nick in email, IRC, wikis, forums...everywhere.

That's also my 'name' on every public hosting (Launchpad, Bitbucket,
Github...) and I'll keep continuing using it despite Hackage's
policy. (btw, I hope to contribute some Haskell code in the future.)

+1 for lift. ;)

Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Haskell-friendly Linux Distribution

2010-03-28 Thread Gour
On Sat, 27 Mar 2010 23:13:04 -0500
 Jeff == Jeff Wheeler j...@nokrev.com wrote:

Jeff A bunch of stuff is packaged by dons for Arch; you can see a lot
Jeff of links to the Arch packages on Hackage. It might be worth
Jeff looking into.

+1 for Arch.


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: State of the Haskell Web Application Stack

2010-03-24 Thread Gour
On Tue, 23 Mar 2010 21:05:51 -0500
 Ozgun == Ozgun Ataman ozata...@gmail.com wrote:

Ozgun I know this is a common topic in Haskell-Cafe, but I have failed
Ozgun to identify conclusive opinions from experienced Haskellers out
Ozgun there in previous discussions. My apologies in advance if this
Ozgun is a blatantly redundant post.

I suggest you to check

http://www.haskell.org/mailman/listinfo/web-devel 

mailing list where there are nice discussions about the web development
in Haskell.


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Anyone up for Google SoC 2010?

2010-03-10 Thread Gour
On Wed, 10 Mar 2010 17:43:06 -0500
 Yakov == Yakov Zaytsev ya...@yakov.cc wrote:

Yakov I want to propose a project bring GHC back to life on
Yakov arm-linux. It is supposed that the outcome will be a package
Yakov for Maemo 5.

I hope we'll have MeeGo by the end of GSOC. ;)

Go, for it!

Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: ANNOUNCE: yesod 0.0.0 (web framework)

2010-03-10 Thread Gour
On Sun, 7 Mar 2010 21:03:12 -0800
 Michael == Michael Snoyman mich...@snoyman.com wrote:

Michael * Deployable anywhere (based on WAI)

Does it mean one will be able to use it with webservers like Cherokee,
nginx...?


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: ANNOUNCE: yesod 0.0.0 (web framework)

2010-03-10 Thread Gour
On Wed, 10 Mar 2010 07:24:15 -0800
 Michael == Michael Snoyman mich...@snoyman.com wrote:

Michael Right now, the only WAI backends I'm aware of are the two I've
Michael written: SimpleServer and CGI. Assuming Cherokee and nginx
Michael support CGI, then yes, you could deploy there.

I'm more interested for Cherokee (that's what I've installed for my
Django-stuff on webfaction) and yes, of course, Cherokee supports CGI,
FastCGI, SCGI (I use uWSGI for Django)...

Michael That said, I intend to port hack-handler-fastcgi to WAI in the
Michael not-too-distant future. If anyone needs it sooner, just send
Michael me an e-mail, it will probably take very little time to port
Michael since it was simply a layer on top of hack-handler-cgi.

No, rush here, but the whole Yesod/WAI development looks quite
encouraging that we can get solid platform for web development in
Haskell pretty soon. :-)

What about Happs guys? Are they involved in WAI?

Michael Of course, there's a whole range of WAI backends that are
Michael possible. SimpleServer is not that great a production server,
Michael so I wouldn't mind getting Hyena or Happserver working with

Michael If we get really adventurous, we could aim for a mod_haskell.

If mod_haskell means Apache, we do not need it here preferring stuff
like Cherokee/nginx/...


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: ANNOUNCE: yesod 0.0.0 (web framework)

2010-03-10 Thread Gour
On Wed, 10 Mar 2010 09:18:02 -0800
 Michael == Michael Snoyman mich...@snoyman.com wrote:

Michael During the planning of WAI, they mentioned that Happstack
Michael uses the sendfile system call for optimizing sending of
Michael static files. WAI includes support for this now (look at the
Michael type of responseBody), so in theory Happstack could work with
Michael WAI. In practice, I don't know if they have any plans of
Michael doing so, though I hope they do.

Yeah, it would be nice.

Otoh, today I read a nice article about RESTful stuff which can
recommend others to pursue 'better-web' (using Haskell, of course),
here it is:

https://www.ibm.com/developerworks/webservices/library/ws-restful/

Michael I also wouldn't have a use for mod_haskell, but it seems
Michael every cool kid on the block has it ;).

How do you like other players (Cherokee, nginx,...)?


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: wxHaskell - using XRC files

2010-01-27 Thread Gour
On Wed, 27 Jan 2010 11:09:06 +0100
 Günther == Günther Schmidt gue.schm...@web.de wrote:

Günther I'm looking for documentation on using XRC files with
Günther wxHaskell.

I'd like to find it too...so, far I've found only two samples:
xrcmenu.xrc  controls.xrc.

Günther BTW: I'm using wxFormBuilder, any other good tools out there?

Besides wxFormBuilder I played with DialogBlocks (eval version 'cause
it's not free).


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: wxHaskell - using XRC files

2010-01-27 Thread Gour
On Wed, 27 Jan 2010 14:56:28 +0100
 Günther == Günther Schmidt gue.schm...@web.de wrote:

Günther creating the .xrc files with WxFormBuilder isn't the problem,
Günther I'd need to see the .hs files where these resources are
Günther imported and used. Do you happen to know where to find those
Günther too?

I cannot remember where did I find them, but I'm sending 'em via
email.


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: ANNOUNCE: Clutterhs 0.1

2009-12-01 Thread Gour
On Tue, 1 Dec 2009 10:06:14 -0800
 Iavor == Iavor Diatchki iavor.diatc...@gmail.com wrote:

Iavor I work with Trevor on the other Clutter binding.  We did
Iavor exchange a few messages with Matt, but we were not sure how to
Iavor combine the two libraries because our approaches to writing the
Iavor binding were a bit different.  

OK.

Iavor In general, I don't think that having two similar libraries is a
Iavor huge problem.  I tend to do this kind of hacking for fun, and I
Iavor really do not enjoy the competition that is being encouraged
Iavor when we try to select the one true library (e.g., with efforts
Iavor such as the Haskell platform).  Let a thousand flowers bloom, I
Iavor say :-)

I do not object of having choice - that's why I like Linux, but, otoh,
prefer to have one fully-baked lib than several half-baked solutions
which was/is problem with some Haskell packages.

btw, are you interested in binding nbtk/mx toolkit for Moblin which is
based on Clutter?


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: ANNOUNCE: Clutterhs 0.1

2009-11-30 Thread Gour
On Sun, 29 Nov 2009 10:54:01 -0500
 Matt == Matt Arsenault arse...@rpi.edu wrote:

Matt Right now I'm working on finishing Clutter, Clutter-gtk, and COGL.

Great.

I believe Clutterhs can make Haskell development for Moblin quite
interesting ( possible). :-)


Now I need to pull gtk2hs sources 'cause latest release, as you wrote,
does not work.


Matt I found that quite a while after I started working. I messaged
Matt them, but didn't really get a response.

I also sent 'patch' to the cabal file which is not deploying pkgconfig
without any reply.

In any case, it looks your package is the way to go for Haskell 
Clutter. (I like you use c2hs so I might learn something 'cause I need
to bind some C lib as well.)


Do you have some public repo for the project's code?

Sincerely,
Gour


-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: ANNOUNCE: Clutterhs 0.1

2009-11-28 Thread Gour
On Sat, 28 Nov 2009 23:18:00 -0500
 Matt == Matt Arsenault arse...@rpi.edu wrote:  

Hi Matt,

Matt This is a very early announcement for an initial release of
Matt bindings for Clutter 1.0, now on
Matt Hackage,http://hackage.haskell.org/package/clutterhs  

Thanks a lot for this project. I'm just thinking about using Haskell
on Moblin OS. ;)
 
Matt It uses c2hs, and depends on gtk2hs from darcs for the
Matt glib/gobject bindings. Overall, its usage should be similar to
Matt gtk2hs.  

This is very cool.

Matt This is my first Haskell project, and suggestions on the API, bug
Matt reports, etc. are appreciated.  

What do you think about binding Moblin's nbtk (now it's called mx) ?


Otoh, are you aware of:

 http://github.com/elliottt/clutter 
 http://github.com/yav/clutter


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: haskell-mode.el mailing list (+ dpatch)

2009-11-25 Thread Gour
On Wed, 25 Nov 2009 11:37:11 +0100
 Jose == Jose A. Ortega Ruiz j...@gnu.org wrote:


Jose Excellent! Thanks. Any objection to my adding the list to
Jose gmane.org?

+1 for adding it to gmane.


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Writing great documentation

2009-11-13 Thread Gour
On Fri, 13 Nov 2009 22:31:54 +
 Duncan == Duncan Coutts duncan.cou...@googlemail.com wrote:

Duncan I rather like the idea of using markdown (pandoc) for separate
Duncan non-reference docs like man pages, tutorials, user guides etc
Duncan rather than trying to make haddock do everything.

I'd agree only with the exception to use rst/docutils/sphinx which
produces nice html/pdf. (Yeah, I know it's not Haskell, but...)


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Opinion about JHC

2009-11-13 Thread Gour
On Fri, 13 Nov 2009 03:19:22 -0800
 John == John Meacham j...@repetae.net wrote:


John Would you really want to have to run jhc _on_ your nokia 770 (or
John whatever) just to compile Haskell programs for it? 

No. I'd be satisfied with the ability to develop in Haskell for
Maemo/Moblin and run apps on those platforms.


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Opinion about JHC

2009-11-12 Thread Gour
On Wed, 11 Nov 2009 00:37:59 -0800
 John == John Meacham j...@repetae.net wrote:

Hi John,

John Yup. This was a major goal. compiling for iPhones and embedded
John arches is just as easy assuming you have a gcc toolchain set up.
John (at least with the hacked iPhone SDK.. I have never tried it with
John the official one)

Is there any info whether it works on maemo platform?


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Opinion about JHC

2009-11-12 Thread Gour
On Thu, 12 Nov 2009 22:44:22 -0500
 Braden == Braden Shepherdson braden.shepherd...@gmail.com
 wrote:

Braden This worked for me, though that was quite a while ago.
Braden Presumably it still works. I don't remember doing any magic,
Braden just using the Maemo cross-compiler to build the output of jhc.

Thank you for the info.

Braden I've since learned ARM(v4) assembly for an embedded systems
Braden course, I might look into writing a properly registerized ARM
Braden back-end for GHC 6.12, now that the back-end overhaul is
Braden complete. 

It's no rush here, so having it in 6.12 would be cool.


Braden That's definitely a Copious Free Time project, since
Braden I don't intend to be doing any ARM dev in Haskell or otherwise.

Well, I'm thinking about having 'light' version of desktop app running
on something like N900, but it would involve gtk2hs as well,
but that's another part of the story...


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Best Editor In Windows

2009-11-04 Thread Gour
On Tue, 3 Nov 2009 12:47:40 -0800
 Gregory == Gregory Crosswhite  wrote:  

Gregory The problem with Leo is that although there are rarely
Gregory performance problems when navigating and editing the outline,
Gregory the text pane can be very slow at times when using the
Gregory Tk-based GUI --- even on modern hardware --- because the
Gregory syntax highlighter is written in Python. (Incidentally, as
Gregory much as I love Leo, I also hold it up as an example of how
Gregory slow scripting languages aren't always fast enough as their
Gregory proponents claim.  :-) )  

:-)

Gregory There are two solutions to this:  First, you can use the
Gregory Qt-based Leo GUI, which uses the native C++ colorizer built
Gregory into QtScintilla, which I have never had any performance
Gregory problems with.  Since you (reasonably) really like
Gregory haskell-mode in Emacs, though, you can alternatively use the
Gregory Emacs plugin so that you end up using Leo to navigate through
Gregory your code to the chunk that you want to edit, and then using
Gregory Emacs to do the actual editing.  This might sound like an
Gregory awkward setup, but I actually find that navigating in this way
Gregory requires much less mental energy than scanning through
Gregory multiple flat files to pick out the code that you want to edit
Gregory next, and the plugin makes this type of workflow fairly
Gregory painless.  

Thanks to your help, now I made Qt Leo to work with my Emacs. :-)

Gregory Viewing Leo as a meta-editor is a good way to think about it.  

Good. Let me try to imbibe this view more...


Sincerely,
Gour


-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Best Editor In Windows

2009-11-03 Thread Gour
On Fri, 16 Oct 2009 10:41:05 -0700
 Gregory == gcr...@phys.washington.edu  wrote:

Hi Greg,

Gregory While Emacs has some outline capabilities, they are not at
Gregory this time remotely as nice or as powerful as Leo, which among
Gregory other things:

Do you use Leo for Haskell development?

I've asked on Leo list about support for Haskell and Emacs, but no
reply so far.

IIRC, Emacs can be used as Leo's external editor, right?


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Best Editor In Windows

2009-11-03 Thread Gour
On Tue, 3 Nov 2009 03:15:03 -0800 (PST)
 Philippos ==  phi50...@yahoo.ca wrote:

Philippos I tryed it, and noticed that it is very slow, compared both
Philippos with Emacs, TextPad, and Emerald. 

Is it usable (btw, what hardware?) or just slow?
 
Philippos I tryed also leksah, but it is always complaining about
Philippos something missing in Pango, although it works fine. 

I'd prefer to stay with Emacs and its haskell-mode as editor-tool, but
Leo might come handy as meta-editor.


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: ANNOUNCE: dbmigrations 0.1

2009-09-08 Thread Gour
 Jonathan == Jonathan Daugherty drcyg...@gmail.com writes:

Jonathan This package is motivated by the need for a
Jonathan framework-independent, solid tool to manage database schema
Jonathan changes in a clean way without assuming a linear sequence of
Jonathan changes assumed by existing tools.  dbmigrations lets you
Jonathan manage a forest of schema changes.

Thank you for this package!

It is something which Haskell community was really missing.

Looking forward to make use of it.


Sincerely,
Gour

-- 

Gour | Hlapičina, Croatia  | GPG key: F96FF5F6 
---


pgpJMBa0bOcUK.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Planning for a website

2009-08-19 Thread Gour
 Colin == Colin Paul Adams co...@colina.demon.co.uk writes:

Colin So my major decision is what framework and html-generating
Colin libraries to use. There is such a wide choice on the Haskell
Colin Wiki. But I guess some are more maintained than others. For
Colin instance, WASH attracts me, with it's guarantee of valid
Colin generated pages, but it isn't clear to me that it's actively
Colin maintained (last date I can see on the web pages is 2006).

Have you thought about Turbinado (http://turbinado.org) ?


Sincerely,
Gour

-- 

Gour | Hlapičina, Croatia  | GPG key: F96FF5F6 
---


pgp8qsSwkyQQf.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Planning for a website

2009-08-19 Thread Gour
 Colin == Colin Paul Adams co...@colina.demon.co.uk writes:
Colin I'd much rather be using happstack's macid stuff, especially as I
Colin will have only very low usage, so i shouldn't have any
Colin scalability problems.  

Well, I do not have enough money to pay for Happs resources...

Right, Turbinado is not perfect - lack of docs is one area and it is not
clear if it's still developed. Otoh, although I'll use Haskell for my
desktop app, atm, I'm learning Django to do the job...


Sincerely,
Gour

-- 

Gour | Hlapičina, Croatia  | GPG key: F96FF5F6 
---


pgpgPgqSFuTC9.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: [ANNOUNCE] hgettext 0.1.10 - last major release

2009-08-10 Thread Gour
 Vasyl == Vasyl Pasternak vasyl.paster...@gmail.com writes:

Vasyl I don't see any strong reasons to write any combinators over this
Vasyl basic bindings. Haskell needs more powerful internationalization
Vasyl library, and I am plan to design it, but it will be completely
Vasyl different from gettext principles, so this library will be
Vasyl released with another name.

Any work done on the above mentioned library?


Sincerely,
Gour

-- 

Gour | Hlapičina, Croatia  | GPG key: F96FF5F6 
---


pgpyHea65eD8N.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: [Haskell] ANNOUNCE: first Grapefruit release

2009-02-16 Thread Gour
 Wolfgang == Wolfgang Jeltsch g9ks1...@acme.softbase.org writes:
Hello Wolfgang,

congratulation for your Grapefruit release!

Wolfgang This would be really great. Writing applications with
Wolfgang Grapefruit gives me useful feedback and pressure for
Wolfgang improvement. Note that currently the set of supported widgets
Wolfgang is very low but this is likely to change during the next weeks
Wolfgang and it should often be very easy to port Gtk2Hs widgets to
Wolfgang Grapefruit.

Hey, this sounds wonderful :-D

Do you anticipate that Grapefruit will be capable for writing real-world GUI
apps quit soon?


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgp45LJUmrNGt.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: [Haskell] ANNOUNCE: first Grapefruit release

2009-02-16 Thread Gour
 Peter == Peter Verswyvelen bugf...@gmail.com writes:

Peter LOL. Funny typo. If the apps quit soon we're in trouble! :-)

Well, let's do some LOL-ing on my own account...


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpyn3RTL8clR.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: WYSIWYG literate programming

2009-01-30 Thread Gour
 Stefan == Stefan Monnier monn...@iro.umontreal.ca writes:

Stefan In any case I've added a note to mention that all you need to do
Stefan is (setq haskell-font-lock-symbols t).

Thanks - nice refactoring for my emacs-haskell.el :-D


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpFG4rx1nvPo.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Why binding to existing widget toolkits doesn't make any sense

2009-01-30 Thread Gour
 Conal == Conal Elliott co...@conal.net writes:

Conal I don't mind if it takes a while, since I'm confident it'll be
Conal worth the wait.  Besides, compositionality yields exponential
Conal rewards.

Conal Some more encouragement from my friends:

[snip]

I'm with you Conal, at least with the philosophy of your friends.

The problem is that by body (aka: skills) cannot offer much help now to
resist he army ;)


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpcgm4AJP79Q.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Why binding to existing widget toolkits doesn't make any sense

2009-01-29 Thread Gour
 Conal == Conal Elliott co...@conal.net writes:
Hi Conal,

Conal Hi Achim, I came to the same conclusion: I want to sweep aside
Conal these OO, imperative toolkits, and replace them with something
Conal genuinely functional, which for me means having a precise 
Conal simple compositional (denotational) semantics.  Something
Conal meaningful, formally tractable, and powefully compositional from
Conal the ground up.  As long as we build on complex legacy libraries
Conal (Gtk, wxWidgets, Qt, OpenGL/GLUT, ...), we'll be struggling
Conal against (or worse yet, drawn into) their ad hoc mental models and
Conal system designs.

Conal As Meister Eckhart said, Only the hand that erases can write the
Conal true thing.

Nicely said...

I'm sure you're not the only one desiring to write GUI in genuinely
functional toolkit, but, being realistic and considering how many people
are working on bindings for those legacy libraries, I doubt we'll see
something written from the scratch and usable for Real World Haskell
soon ;)


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpnGI8qzQ6UZ.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: WYSIWYG literate programming

2009-01-27 Thread Gour
 Massimiliano == Massimiliano Gubinelli m.gubine...@gmail.com writes:

Massimiliano Hi, I would like to advertise TeXmacs
Massimiliano (http://www.texmacs.org/) to the Haskell comunity as a
Massimiliano possible front-end for literate programming in Haskell
Massimiliano (and GHCI interaction). 

Have you tried Leo (http://webpages.charter.net/edreamleo/front.html)?


Sincerely,
Gour


-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpQnZkneB5PW.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: WYSIWYG literate programming

2009-01-27 Thread Gour
 Massimiliano == Massimiliano Gubinelli m.gubine...@gmail.com writes:

Massimiliano As far as Haskell is concerned, a good interface, would
Massimiliano allow to bypass programs like lhs2tex or in general allow
Massimiliano for beautyful editing  Of course not everyone has
Massimiliano the same concerns...

Have you tried Emacs with Pretty Lambda for Haskell-mode?

http://haskell.org/haskellwiki/Emacs#Unicodifying_symbols_.28Pretty_Lambda_for_Haskell-mode.29


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpnZqsn8aCUN.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: WYSIWYG literate programming

2009-01-27 Thread Gour
 Mads == Mads Lindstrøm mads_lindstr...@yahoo.dk writes:

Mads I have never tried TexMacs, but newer versions of LyX do seem to
Mads have a more modern interface than TexMacs. I do not know have easy
Mads LyX is to modify to your needs though.

Right. And LyX has(had) support for literate programming.


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpuHF3ySjY6L.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: MySQL and HDBC?

2009-01-23 Thread Gour
 Sebastian == Sebastian Sylvan syl...@student.chalmers.se writes:

Sebastian It doesn't have a MySQL backend. However, it does have an
Sebastian ODBC backend which should work fine with MySQL.

http://hackage.haskell.org/cgi-bin/hackage-scripts/package/HDBC-mysql


Sincerely,
Gour


-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpN67sXfGpTx.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2009-01-15 Thread Gour
 John == John Goerzen jgoer...@complete.org writes:

John I guess the bottom line question is: who is Haskell for?  Category
John theorists, programmers, or both?  I'd love it to be for both, but
John I've got to admit that Brian has a point that it is trending to
John the first in some areas.

Thank you for so nicely put it together...


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpvadDX8GCob.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2009-01-15 Thread Gour
 Andrew == Andrew Coppin andrewcop...@btinternet.com writes:

Andrew If we *must* insist on using the most obscure possible name for
Andrew everything, can we at least write some documentation that
Andrew doesn't require a PhD to comprehend?? (Anybody who attempts to
Andrew argue that monoid is not actually an obscure term has clearly
Andrew lost contact with the real world.)

*thumb up*

Let the elitists enjoy in obscure terminology, but pls. write docs for
programmers (with examples included).


Sincerely,
Gour


-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpfDNuxLEyfJ.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: databases in Haskell type-safety

2009-01-14 Thread Gour
 Mauricio == Mauricio  briqueabra...@yahoo.com writes:

Mauricio You can always uuencode the pictures. Package 'dataenc' seems 
Mauricio nice, although I have not used it.

Thanks.

It looks like a nice 'workaround' with base64 encoding.


Sincerely,
Gour


-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgp6T9InIqFzU.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: databases in Haskell type-safety

2009-01-13 Thread Gour
 John == John Goerzen jgoer...@complete.org writes:

John That's great.  Even better if accompanied by a patch ;-)

Heh, one of the things which prevents me advancing with my own Haskell
project is lack of enough skills to provide bindings for one C-lib and
here I see the same pattern...It looks I have to cross it over :-)

 I'll e.g. open ticket for BLOB support :-D

John Of course :-)

I did it - have you seen the notice about problems with HDBC-forums?

John Yes, I'm quite aware of that.  Just not *my* particular ones ;-)

OK. I'll try to, at least, come with some concrete proposal...


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgp4XCOSKVTcP.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: databases in Haskell type-safety

2009-01-13 Thread Gour
 Mauricio == Mauricio  briqueabra...@yahoo.com writes:

Mauricio I've been doing a lot of low level sqlite3 lately (it's going
Mauricio to be on a hackage package as soon as I finish my current
Mauricio work). 

Have you done any work with BLOBs?

Mauricio As long as I clearly isolate and test the marshalling of my
Mauricio data to SQL and back, my (personal, probably different from
Mauricio yours) experience using just sqlite3_exec has never got me
Mauricio into trouble.

Thank you for your input.


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgp1VtGIKB8bM.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: [ANN] Working with HLint from Emacs

2009-01-13 Thread Gour
 Alex == Alex Ott alex...@gmail.com writes:

Alex Hello For Emacs users it could be interesting - I wrote small
Alex module for more comfortable work with HLint from Emacs. It has
Alex same functionality as compilation-mode - navigation between
Alex errors, etc.

Thank you for it.

Alex Module is available from
Alex http://xtalk.msk.su/~ott/common/emacs/hs-lint.el

Module is not under some dvcs?


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpGGk0oAgZEP.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: databases in Haskell type-safety

2009-01-13 Thread Gour
 Johannes == Johannes Waldmann waldm...@imn.htwk-leipzig.de writes:

Johannes see
Johannes http://article.gmane.org/gmane.comp.lang.haskell.libraries/10490

Thanks.

Is it just a 'fix' or HSQL will be properly maintained as well?


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpo8XJalZryl.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: databases in Haskell type-safety

2009-01-13 Thread Gour
 Mauricio == Mauricio  briqueabra...@yahoo.com writes:

Mauricio No. Only sqlite3_exec with INSERT, SELECT stuff,
Mauricio and saving everything that needs structure in pseudo-xml
Mauricio strings. Not that efficient, but easy to change to blobs when
Mauricio everything is ready and tested.

I see...I'm thinking to maybe store only paths for bigger BLOBs, but
still there is need to store smaller (thumbnails pics) ones...


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgp4nqCuaRKrq.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: databases in Haskell type-safety

2009-01-09 Thread Gour
 John == John Goerzen jgoer...@complete.org writes:

Hello John,

John I would say that database interactions are typically limited to a
John small part of code.  In small programs, I generally have a DB
John module that does the queries, and marshals everything to/from the
John rich Haskell types I define.  Any possible type issues are thus
John constrained to that small part of code.

That's right. However, I envision application for which a significant
part would require querying (kind of research base for querying common
stuff in thousands of records.)

John HDBC is a low-level abstraction, which can be used on its own or,
John of course, as a layer underlying HaskellDB or some such.  I do not
John dispute the use of tools such as HaskellDB or others that try to
John automate the business of representing a database's schema -- and
John queries against it -- using a language's type system.  There are a
John lot of these systems in a lot of languages.  I've used some of
John them.

Have you maybe tried Takusen (HaskellDB which you reference above does
not seem very much alive)?

John And, almost universally, they annoy me.  I find it takes longer to
John write code with them than without, and often they have issues
John representing some query that I know I can do easily in SQL but
John maybe can't as easy in the toolkit.  As an example, when I last
John looked at HaskellDB in 2005, I found that it was impossible to do
John a SELECT without a DISTINCT [1].  There are many situations where
John such a thing is necessary, so I had to discard it for my projects.

Hmm, that's interesting to hear...I'm curious what could be reply from
Takusen devs... 

John HDBC is more similar to Perl's DBI or Python's DB-API (or perhaps
John a sane version of JDBC).  It is a standard interface to SQL RDBMS
John engines that provides some tools for marshaling data back and
John forth, but generally leaves you to construct the queries. 

Well, that's not too bad...

John So, this was not intended as an HDBC commercial, just more of a
John braindump as to why I wrote it.  Hope it helps.

Sure, it helps. Thanks a lot for your input.

Otoh, I believe that, considering it is mentioned in RWH, HDBC does not
need much commercial, just contrary, you can expect new feature requests
From the new army of Haskell developers cultivated by the book :-)

I'll e.g. open ticket for BLOB support :-D

John HDBC is actively used in mission-critical applications where I
John work.  We use both the PostgreSQL and ODBC backends in production.
John We even use the ODBC backend along with the particularly nefarious
John ODBC interface for the Progress 4GL database.  I use the Sqlite3
John backend quite a bit in my own personal projects, such as hpodder
John and twidge.

Database abstraction offered by HDBC is very nice feature allowing one
to change back-end driver without too much hassle, so I'll try to
investigate a bit about possible BLOB support on HDBC-level.

It's definitely something used in real-world databases...


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpZy5hZlU0OF.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Haskell good for parallelism/concurrency on manycore?

2009-01-05 Thread Gour
 Ahn == Ahn, Ki Yung kya...@gmail.com writes:

Ahn P.S. If you happen to be a local Korean expert on this matter,
Ahn sorry for my ignorance, and I'd be happy to forward their inquiry
Ahn to you!

Probably not Korea-based, but 1st class Haskell hackers:

http://www.well-typed.com/ 


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgp9JAQZoQF3p.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] databases in Haskell type-safety

2009-01-03 Thread Gour
Hi!

I'd like to use sqlite3 as application storage in my haskell project...

Browsing the available database options in Haskell it seems that:

a) HSQL is dead (hackage reports build-failure with 6.8  6.10)

b) haskelldb is also not in a good shape - build fails with 6.8  6.10

For Haskell-newbie as myself, it looks that haskelldb is the one which
provide(ed)s the most secure API (I was reading draft paper about
MetaHDBC but, apparently, the type inference support in open-source
databases is poor and that's why, according to the author This is
unfortunately as it makes MetaHDBC a lot less valuable. 

What remains is:

c) Takusen which is also not up-to-date (it fails with 6.10) and

d) HDBC and sqlite bindings which are the only packages which build with
6.10.


However options in d) do not offer, afaik, type-safety which is emblem of
Haskell language, so I wonder how much this could be the problem for
real-world usage?

So, considering that HDBC nicely abstracts API enabling one to easily
switch from e.g. Sqlite3 to Postgres, and it is used as in example for
database programming, it seems as logical (and the only) choice for
Haskell database programming in a real-world?

I'm not familiar with Takusen which says: Takusen's unique selling
point is safety and efficiency... and I would appreciate if someone
could shed some more light to its 'safety' and the present status?


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpECYShrDstY.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: databases in Haskell type-safety

2009-01-03 Thread Gour
 Henning == schlepp...@henning-thielemann.de writes:

Henning No, it is maintained by frede...@ofb.net . I have also
Henning contributed Oracle/OCI code a half year ago.

Oops, I stand corrected...nice to hear.

Still, it would be nice to present some info 'cause web site still shows
1.7 from Dec '05 as the latest release :-(


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpb32PgU4X2z.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: databases in Haskell type-safety

2009-01-03 Thread Gour
 Austin == Austin Seipp mad@gmail.com writes:

Austin Have you tried the simple sqlite3 bindings available?
Austin http://hackage.haskell.org/cgi-bin/hackage-scripts/package/sqlite

Not (yet), but those are the one I mentioned (besides HDBC) under d) ;)

Austin Takusen is based on the (unique) concept of a left-fold
Austin enumerator. Having a left-fold interface guarantees timely
Austin (nearly perfect, really) deallocation of resources while still
Austin having the benefits of a 'lazy' stream. This interface has (as
Austin shown by Oleg and others) proven to be very efficient in a
Austin number of cases as well as favorable for many. The idea is very
Austin novel, and truly worth exploring if you ask me.

Thank you very much. I went through the docs for which you provided some
references - I cannot claim I understood everything, but it sounds/looks
quite interesting and worth exploring.

Is there any simple tutorial about using Takusen available somewhere?

Austin NB: I have *just* (about 5 minutes ago) sent in a patch for
Austin takusen to get it to build on GHC 6.10.1 to Oleg. Hopefully an
Austin updated version will appear on hackage in the next few days.

Great news!


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpWbjHPU1bkV.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Haskell library support

2008-11-14 Thread Gour
 Galchin == Galchin, Vasili [EMAIL PROTECTED] writes:

Galchin Hello, I am looking for something to work on. Where are there
Galchin perceived holes in the Haskell library support?

Do you have need to make your Haskell applications i18n-aware by using
'standard' gettext support?


Sincerely,
Gour


-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgp6hMUMbFJqU.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Hmm, what license to use?

2008-10-01 Thread Gour
 Don == Don Stewart [EMAIL PROTECTED] writes:

Don * Only a small percent of Haskell libarires are LGPL, and
Don nothing for which we don't have workarounds (e.g. HDBC vs
Don galois-sqlite3 vs takusen).

Hmm, Gtk2Hs  wxhaskell - major GUI libs...


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpUqC83iosJJ.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Haskell versus F#, OCaml, et. al. ...

2008-09-30 Thread Gour
 Don == Don Stewart [EMAIL PROTECTED] writes:

Don There are duplicates here, but if you can find missing categories,
Don that might give an indication of weak points. No Real Time
Don package, for example.

I'd say, despite the danger to repeat oneself, that, imho, Haskell needs
something better in the realm of 'i18n' over the present i18n package
labelled with the 'experimental stability tag.

In http://thread.gmane.org/gmane.comp.lang.haskell.cafe/44054 thread I
provided a list of 'serious' languages with proper gettext support and
some reasons (from gtk2hs dev) what is missing in Haskell version with
only Duncan's reply :-(

Quick googling gives the following for:

a) Ocaml - http://sylvain.le-gall.net/ocaml-gettext.html

b) Erlang -
http://www.trapexit.org/Gettext_-_An_internationalization_package.

Dunno about Clean, while there is no point in discussing i18n
capabilities in F# ;)


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgprwhnsUrIvF.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: ANN: pandoc 1.0.0.1

2008-09-18 Thread Gour
 Alfonso == Alfonso Acosta [EMAIL PROTECTED] writes:

Alfonso I can't wait for a:

Alfonso + New Docbook markup reader

Alfonso The reason being, I would kill for a good Docbook-to-LaTeX
Alfonso translator (or a good set of Docbook-to-TeXML XSLT
Alfonso stylesheets):

Alfonso  * Most of the opensource XSL-FO tools out there (fop, xmlroff
Alfonso et all) are immature or do a poor typesetting job [1].

+ Complete reST markup reader.


Restructured text is more complete markup for serious writing, but less
complex to write in than DocBook and Pandoc's ability to generate LaTeX
 ConTeXt can generate high-quality output.


btw, I also like how Sphinx (http://sphinx.pocoo.org/) generates docs
From *.rst files.


Sincerely,
Gour


-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpfA9AWvmxe2.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: the real world of Haskell books (Re: Online Real World Haskell, problem with Sqlite3 chapters)

2008-09-06 Thread Gour
 Bryan == Bryan O'Sullivan [EMAIL PROTECTED] writes:

Bryan Other tech books face the same problem, which, if they sell
Bryan successfully and the authors haven't moved into caves afterwards
Bryan to recover, they address with subsequent editions. If readers
Bryan find that specific pieces of information have bitrotted, I'm sure
Bryan we'll hear about it. In that case, we'll create a wiki page with
Bryan errata, and link to it from the book site.

I think we should be happy that RWH book is done and considering it is
for 'real-world' users I'm sure they will find a way to cope for
upgrading libs, non-working packages etc.

A blind uncle is better than no uncle :-D

Congrats to RWH's 'Gang od Three' ;)


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpXrLgWpDaNO.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Haskell and i18n (aka gettext) support

2008-09-03 Thread Gour
Dear Haskellers,

Some time ago the question was asked on gtk2hs mailing list about how to
work with *.po files, i.e. how to make Haskell program i18n-aware. (see
http://thread.gmane.org/gmane.comp.lang.haskell.gtk2hs/592) 

The answer was that Gtk2hs does not have gettext support
(http://article.gmane.org/gmane.comp.lang.haskell.gtk2hs/593), but that
it is something which is needed
(http://article.gmane.org/gmane.comp.lang.haskell.gtk2hs/598) but it's
not clear how to do it.

As potential 'solution the 'i18n' package was mentioned
(http://hackage.haskell.org/cgi-bin/hackage-scripts/package/i18n) with
the remark that its API is not the most beautiful.

Moreover, by looking at i18n's *.cabal file one can see it is labelled
as 'experimental'.

Moreover, if one inspects GNU gettext manual one can see the list of
languages with the explanations how to make the program i18n-ready.

The list is, unfortunately, without Haskell:

* C: C, C++, Objective C
* sh: sh - Shell Script
* bash: bash - Bourne-Again Shell Script
* Python: Python
* Common Lisp: GNU clisp - Common Lisp
* clisp C: GNU clisp C sources
* Emacs Lisp: Emacs Lisp
* librep: librep
* Scheme: GNU guile - Scheme
* Smalltalk: GNU Smalltalk
* Java: Java
* C#: C#
* gawk: GNU awk
* Pascal: Pascal - Free Pascal Compiler
* wxWidgets: wxWidgets library
* YCP: YCP - YaST2 scripting language
* Tcl: Tcl - Tk's scripting language
* Perl: Perl
* PHP: PHP Hypertext Preprocessor
* Pike: Pike
* GCC-source: GNU Compiler Collection sources 

Real World Haskell book is at the door and it will bring army of new
Haskell programmers to find out that Haskell misses one of the important
items in its battery set. :-(

So, we think that i18n issue or proper gettext support should have a
stable and well documented implementation and has to be part of
batteries included or Haskell Platform
(http://www.haskell.org/haskellwiki/Haskell_Platform) 

However, don't ask me 'how' :-D

We got some hints on the IRC yesterday, but considering it is important
issue for the whole Haskell community, we are bringing it here so that
smarter and more skillful (than ourselves) souls can discuss it.

I hope you are not seeing it as critique of the Haskell, but rather as
attempt to improve our beloved language with the feature necessary to be
included in the arsenal of every general programming language.


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpXpOnrsur1p.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: ANNOUNCE: Galois web libraries for Haskell released

2008-04-22 Thread Gour
 Don == Don Stewart [EMAIL PROTECTED] writes:

Don It might make sense to wrap our sqlite3 binding with HDBC-sqlite3
Don though, so you don't need to maintain your own sqlite binding.

How about support for user-defined functions in sqlite3?


Sincerely,
Gour


-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgp3c8JJ4VlQ4.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Shim: finding modules

2008-04-17 Thread Gour
 Graham == Graham Fawcett [EMAIL PROTECTED] writes:

Graham Equally glad that it's being supported! Thank you.

Where one can found it?

Few days ago I was told on #haskell that shim is dead :-/


Sincerely,
Gour


-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpTpUIuDZsV0.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Gtk2hs

2008-03-15 Thread Gour
 Andrew == Andrew Coppin [EMAIL PROTECTED] writes:

Andrew Just a short one... gtk2hs won't build on my [Linux]
Andrew laptop. What's the best channel for seeking help with this?

https://lists.sourceforge.net/lists/listinfo/gtk2hs-users

Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpwXp82TYdyZ.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] hoogle gtk2hs

2008-02-13 Thread Gour
Hi!

Emacs haskell-mode has haskell-hoogle function to search Haskell API,
but it, unfortunately, does not work with gtk2hs API which can be
accessed via web at http://haskell.org/hoogle/?package=gtk

Any plan to integrate Gtk2Hs so it becomes accessible via haskell-hoogle
function?

Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgphSDE2lDkY6.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: FFI question -- was: [Haskell-cafe] New slogan for haskell.org

2007-12-21 Thread Gour
On Thu, 20 Dec 2007 03:41:21 +
Duncan Coutts [EMAIL PROTECTED] wrote:

 The main advantage of c2hs over hsc2hs is that c2hs generates the
 correct Haskell types of foreign imports by looking at the C types in
 the header file. This guarantees cross language type safety for
 function calls. It also eliminates the need to write foreign imports
 directly which saves a lot of code. hsc2hs provides no help for
 writing function imports.
 
 The main disadvantage of c2hs compared to hsc2hs is that c2hs's
 support for marshaling structures is less than stellar while hsc2hs
 is pretty good at that.
 
 In gtk2hs we use both. We use c2hs for all function calls and we use
 hsc2hs to help us write Storable instances for a few structures.

It looks that c2hs does more than hsc2hs and misses less than hsc2hs.

Why not equip c2hs to do the rest and have one complete tool instead of
the two uncomplete ones? (I understand that time-factor could be the
reason.)

I am for the choice, but there are several library-areas (database
binding is one) in Haskell where we could (maybe) apply/strive for
less is better slogan ;)

Sincerely,
Gour
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] On the verge of ... giving up!

2007-10-18 Thread Gour
On Wed, 17 Oct 2007 21:59:41 +0100
Andrew Coppin [EMAIL PROTECTED] wrote:

 Well anyway, as you can see, I'm back. Mainly because I have
 questions that I need answers for...

Welcome back ;)

 This mailing list is the only place I know of that is inhabited by
 people who actually think Haskell is something worth persuing. 

Huh, the above is grievous offence to #haskell :-)


Sincerely,
Gour


signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Functional Programming Books

2007-10-17 Thread Gour
On Tue, 16 Oct 2007 14:23:31 -0700
Don Stewart [EMAIL PROTECTED] wrote:

 Is on my wishlist :)

Here is my wishlist:

http://book.realworldhaskell.org/ :-)


Sincerely,
Gour


signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Hosting of Haskell project

2007-10-15 Thread Gour
On Mon, 15 Oct 2007 07:36:55 +0100
Magnus Therning [EMAIL PROTECTED] wrote:

 There is support for darcs in tracs as well.  I never got around to
 writing a blog post about setting up darcs+trac+lighttpd on Debian and
 by now I fear I've forgotten how I did it...  I remember it being
 remarkably easy though.

I was playing with it in the past, but it's 3rd party, ie. Trac does
not have official support.

otoh, Redmine has it out-of-the-box and, even more important, Redmine
has support for multiple projects (I know a person who plans to
configure SF-like service based on Redmine) which is scheduled for
Trac-1.0, but considering how long we are waiting for trac-0.11, who
know when it will happen...


Sincerely,
Gour


signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Hosting of Haskell project

2007-10-15 Thread Gour
On Mon, 15 Oct 2007 11:39:27 +0200
Yitzchak Gale [EMAIL PROTECTED] wrote:


 It seems to me that the opposite is true. Trac is a
 mature app with a huge community of people
 supporting it and writing plugins, including some
 departments at NASA. It is being used successfully
 for many large projects, such as GHC. It will not go
 away for a long, long time. Much of the Haskell
 community is already accustomed to Trac.

That's true.

 Redmine is quite new. Based on posts and commits,
 it appears to be maintained by a single person.
 I don't know of any major project or organization
 that is using it yet. So I am a little worried that its
 future is not yet assured. And I am not sure if
 anyone knows yet how stable it is currently, or
 how it scales under load.

I'm doing some small tests and cannot say anything concrete.

However, Redmine supports MySQL  PostgreSQL (besides SQLite), so that
part should scale well.


otoh, I am waiting quite long for Trac-0.11 to appear and based on
recent post(s) from its devs on ml, it looks it is not so close.

Solution for hosting for many projects, should have built-in support
for multiple-projects and Trac won't have it for some time.

 However, Redmine definitely looks nicer and easier
 to use than Trac. Please let me know if my
 impression of its stability and track record are
 wrong.

I'll try, although I cannot mimic proper scaling on my localhost with
few small projects.

 Also - if the Haskell community adopts
 Redmine, that itself could give it a big push.

I fully agree and hope someone more qualified (from Haskell community)
will take a look too.


Sincerely,
Gour


signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Hosting of Haskell project

2007-10-14 Thread Gour
On Sun, 14 Oct 2007 15:22:13 +0100
Ian Lynagh [EMAIL PROTECTED] wrote:

 We could perhaps have web pages on projects.haskell.org, and some sort
 of bug tracker on bugs.haskell.org (or perhaps trac.haskell.org etc).

Some days ago I stumbled upon Redmine tracker (http://redmine.org/)
written in Ruby (well, Trac is also not Haskell :-) but has support for
darcs ;)

Just an idea...


Sincerely,
Gour


signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] IDE?

2007-06-16 Thread Gour
On Sat, 16 Jun 2007 19:16:11 +0200
Marc Weber [EMAIL PROTECTED] wrote:

 This is what shim tries to do.
 I've added a link to the wiki IDE page.

Is some (more) support for vim in shim planned?


Sincerely,
Gour



signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] New book: Real-World Haskell!

2007-05-23 Thread Gour
On Wed, 23 May 2007 10:07:29 +0200
Gour [EMAIL PROTECTED] wrote:

 Congratualtions for your effort?

Oops...it should be !

 Sincerely,
 Gour


signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] IDE support

2007-04-22 Thread Gour
On Sun, 22 Apr 2007 22:13:45 +0100
Claus Reinke [EMAIL PROTECTED] wrote:


 the page is many years old, but the logs indicate that many folks
 stumble across it via google, without ever telling me, and i've
 noticed that the haskell.org wiki now points to it, so i've just
 added my current vim files for haskell:

[...]

Thank you very much for your reply.

 
 if you can stay within haskell98, HaRe refactoring support for emacs
 and vim is still around:
 http://www.cs.kent.ac.uk/projects/refactor-fp/

What about shim (http://shim.haskellco.de/trac/) ?

Is it going to get vim support or the only the other editor's users are
happy?

 ps since surprisingly many haskellers are not quite aware of vim's ide
 functions, here is a partial list: syntax highlighting, quickfix
 (run source through ghci, jump to errors listed), tags (jump to
 definitions; using 'ghc -e :ctags Main.hs' to generate tag file for
 Main.hs and imports, exported ids only at the moment; or use another
 tag file generator), completion with respect to current file,
 imported modules, tag files, haddock files (using haskell_doc.vim),
 (or define your own completion function), list lines using id under
 cursor, match open/ close brackets and parens, fold away sections of
 modules, ... not to mention the general editor, searchreplace
 functions..

I must admit I wasn't aware of all the above. Thank you for
enlightenment ;)


Sincerely,
Gour


signature.asc
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] I'd like start with Haskell, but...

2006-12-17 Thread Gour
On Sat, 2006-12-16 at 20:41 +, Neil Mitchell wrote:


 That said, if I was writing a GUI+database thing, which doesn't do a
 lot of substantial processing (more just Add/Edit/Delete buttons), I'd
 definately use C# over Haskell. 

Oh great...

Duncan wrote: That's certainly one of the use cases that we're aiming
for in the Gtk2Hs project with our new api for the list/tree widget
system. We can now more easily implement the data model in Haskell so
the obvious thing to try would be a model based on a DB query.

Although I'd be happy having available database-related widgets from
gnomedb available as part of gtk2hs bindings, still I'm confident that
above mentioned gtk2hs approach + eg. hdbc will be sufficient.

I'll also need database capabilities for my application and plan to use
sqlite as embedded engine, but having need for lot of calculations, I do
not want to lose Haskell purity  elegant style at any cost ;)
 

 Haskell can do this, but you are walking a relatively new path. 

Someone has to pave the path, otherwise Haskell will eternally stay
niche language, or we should adjust the motto on haskell.org where it is
proudly stated: Haskell is a general purpose, purely functional
programming language. into something more appropriate :-)

Sincerely,
Gour



signature.asc
Description: This is a digitally signed message part
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: Re: Re: [Haskell-cafe] Writing Haskell For Dummies Or At Least For People Who Feel Like Dummies When They See The Word 'Monad'

2006-12-11 Thread Gour
On Mon, 2006-12-11 at 13:42 -0600, Nicolas Frisby wrote:

 Two cents:

Two (Croatian) lipas, much less than two cents :-(

 3) This would be the first book introducing the nuances of large
 systems development in Haskell to Haskell programmers. Explaining well
 various monads (e.g. how to use mtl), or other things necessary for
 practical Haskell (e.g. ByteString, database interface, web app,
 parsing, and many other systems libraries), requires of the audience a
 rather thorough understanding of Haskell's type system (MPTC and other
 extensions for mirth).

Right. We need something practical after one is finished with e.g.
Thompson's Craft or Hudak's SOE.

 I love the analogies as much as the next programming languages
  researcher, but I think introducing Haskell in text has been done and
  done well--it doesn't need a new approach. So don't reinvent the
  learn Haskell text; that way you can spend time on the good stuff.

I agree and want to encourage the effort to bring 'practical Haskell' to
the masses.

Today one user in #haskell.hr expressed his doubt whether ...Haskell
has any future out of academic circles...

Sincerely,
Gour



signature.asc
Description: This is a digitally signed message part
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Re: Haskell web forum

2006-09-21 Thread Gour
On Thu, 2006-09-21 at 04:55 -0400, Albert Lai wrote:

 As requested, I continue here the thread on the proposal for a web forum.
 
 You will soon enough find out what I think of web forums. 

[snip]

I don't understand one thing: it looks like web-forums should exclude
mailing lists and vice versa, but Bulat just wrote: ...we need now to
create web forum. ??

So, why the two cannot co-exist and let users decide which one to use?

Gentoo community is nice example of it.

Sincerely,
Gour



signature.asc
Description: This is a digitally signed message part
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Number 1, at least for now

2006-02-02 Thread Gour
On Wed, 2006-02-01 at 19:14 -0800, John Meacham wrote:

 though, I think this is a great oprotunity to improve ghc's optimizer.

Huh, that would be the best thing with the whole shootout endeavour..


Sincerely,
Gour


signature.asc
Description: This is a digitally signed message part
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Shootout rankings

2006-01-14 Thread Gour
On Sun, 2006-01-15 at 14:01 +1100, Donald Bruce Stewart wrote:

 :D
 
 Haskell now ranked 2nd overall, only a point or so behind C:
 
 http://shootout.alioth.debian.org/gp4/benchmark.php?test=all〈=all
 
 And still a bit more we can squeeze out...

I saw it a day or two ago, but thought it mut be some error :-)

Huh, now I have to go doing some Haskell advo *cough* some mailing.

Sincerely,
Gour



signature.asc
Description: This is a digitally signed message part
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] HDBC Roadmap

2006-01-04 Thread Gour
On Wed, 2006-01-04 at 19:25 +, John Goerzen wrote:

 I hope that HDBC can be a community effort.  Towards that end, I hope to
 be able to get some trac pages going on somebody's server and perhaps a
 mailing list where ideas and implementations for future enhancements can
 be discussed.  

That would be very nice.

 The development time for a HDBC backend looks like about 1 day per
  database, including the amount of time it takes to learn that
  database's C API.  (A bit more for ODBC because its API is weird and
  the documentation is unhelpful)

Huh..being a Haskell newbie (still) learning the language, I can only
dream about such productivity :-)

Nonetheless, I am very happy seeing the progress of your work and
looking forward to help (in any way) so that Haskell get a very solid
framework for developing database-aware applications making it (even)
more useful/attractive for wider audience of programmers.


 Comments and suggestions are quite welcome.  Patches too ;-)

For now, I can only say: thank you!

Sincerely,
Gour



signature.asc
Description: This is a digitally signed message part
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: Re[4]: [Haskell-cafe] binary IO

2005-12-27 Thread Gour
On Tue, 2005-12-27 at 18:35 +, Joel Reymont wrote:

Hi Joel!

 Then we can lay out the series of profiling reports in a storyboard  
 of sorts, with changes from report to report described. This would  
 serve a great how to write efficient Haskell manual.

We are with you watching your attempts to iron this code, and if it ends
with the above efficient manual - great.

Something like that is very welcome for all those making transition from
workable to efficient code.

Sincerely,
Gour



signature.asc
Description: This is a digitally signed message part
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Re: [Haskell] Making Haskell more open

2005-11-14 Thread Gour
Sven Panne ([EMAIL PROTECTED]) wrote:

 Great! If you have already an XML editor, start writing DocBook now! :-)

No, I won't :-)

 More seriously: This is again a useless tools discussion, we *are* using 
 DocBook currently and it works fine. The real problem is not the XML format 
 and any XML toolchain, it is the lack of people willing to write 
 documentation. 

Nobody said that DocBook does not work fine. However let me quote SPJ's
message: 

quote
However, I still wonder if there are things we could do that would make
it easier for people to contribute.  Here are two concrete suggestions:
  ^^^
- Make it possible for people to add comments, explanations, or
  questions to
* The GHC user manual [currently generated using DocBook]
* The Haskell 98 Report
  The idea would be that anyone could help improve these documents,
^^^
  and that, at least in the case of the GHC user manual, we could
  use the comments to help clarify the text.
/quote

So, the whole discussion, at least from my side, was to offer
suggestions to make it easier for more people to contribute to the whole
haskell community.

For those who are satisfied with the present setup or think that
newsgroups are panacea forthe whole problem - fine.

My reasoning tells me that Simon is thinking differently and therefore I
suggested creating portal site with ticket system with the darcs backend, 
forums etc. so that new/old users can choose what is best suited for
them.

So, I wonder how 'txt2tags' produced so much traffic here and the tool
uses (almost) the same markup as MoinMoin wiki used for the present
HaWiki system (txt2tags even produces MoinMoin output :-)

 There are enough people in the various fptools projects (including me)
 who will happily and quickly accept documentation patches, be it in
 plain text or DocBook. And if we are honest: Whoever will contribute
 to the GHC/Happy/... documentation with a non-trivial amount of text
 has very probably suffered through the build process, anyway, and
 getting the XML tools up and running has been the least problem
 then...

Following the same logic, we do not need darcs 'cause  Whoever will contribute
to the GHC/Happy/...with a non-trivial amount of.. code ..has very probably 
suffered through.. using CVS system :-)

Thank you for your input. I think that I offered enough 'why' to my
suggestion, so there is no need for further useless tools discussion
;)

Sincerely,
Gour

 P.S.: In a Google search, DocBook XML dominated txt2tags by a factor of 29, 
 and an amazon.de search showed 7:0 books... :-)

Hmmm, DocBook XML gives ~ 608 000, while txt2tags gives ~ 73 000
which gives factor of: ~8.

otoh, LaTeX dominates over DocBook by a factor of ~ 38 :-))

-- 
Registered Linux User   | #278493
GPG Public Key  | 8C44EDCD
 
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: [Haskell] Making Haskell more open

2005-11-13 Thread Gour
Wolfgang Jeltsch ([EMAIL PROTECTED]) wrote:

 In addition, one could argue that since newsgroups were specifically
 designed for discussions, newsgroup software allows proper mangagement
 of threads but, well, current e-mail programs might do this in similar
 quality.

From the most plain mailers like pine  mutt, to the gui-mailers (kmail,
evolution), all have threading support.

Sincerely,
Gour

p.s. I am moving this reply to cafe.

-- 
Registered Linux User   | #278493
GPG Public Key  | 8C44EDCD
 
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: [Haskell] Making Haskell more open

2005-11-13 Thread Gour
Wolfgang Jeltsch ([EMAIL PROTECTED]) wrote:

 The most important question is: Does txt2tags use logical markup?

A kind of, e.g.

= title =
== subtitle ==
=== subsub...===

if this is logical ;)

Sincerely,
Gour

-- 
Registered Linux User   | #278493
GPG Public Key  | 8C44EDCD
 
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: [Haskell] Making Haskell more open

2005-11-13 Thread Gour
Wolfgang Jeltsch ([EMAIL PROTECTED]) wrote:

 The font size is much smaller than the font size of other webpages.  So if I 
 would change the default font size to give good results with the Haskell 
 website, all other websites would have their text in very large letters.

Well, haskell.org has smaller font size for the links, but the my
preferred portal site (www.iskon.hr) has even smaller.

However, pressing 'Ctrl +' to increase font size is, imoho, not such a
big task :-)

 The question is if HTML is sufficient.  In addition, HTML is at some points 
 not well thought-out.

True, but considering the present situation, it is all what is required.

Sincerely,
Gour

-- 
Registered Linux User   | #278493
GPG Public Key  | 8C44EDCD
 
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: [Haskell] Making Haskell more open

2005-11-13 Thread Gour
Sven Panne ([EMAIL PROTECTED]) wrote:

  * DocBook XML can be transformed into a very rich collection of output 
 formats: XHTML, HTML Help, DVI, PS, PDF, FO, plain text, etc. etc.

txt2tags has the following backends: HTML, XHTML, SGML, LaTeX, Lout,
man, Magic Point, Moin Moin, Page Maker 6.0  plain text.

  * But what's more important: Compared to the more exotic markup mechanisms 
 proposed, it is well-known and extremely well documented. There are tons of 
 web sites, books, articles, etc. etc. about DocBook XML. Proposing more 
 arcane technologies will drastically reduce the amount of people actually 
 contributing to an Open Source project, a fact which is easily overlooked. 

But don't forget, as it was already stated, get the whole working-chain ready 
for authoring in Docbook is not at all ready and for one not proficient
in emacs with SGML mode it is very difficult to write texts with so many
tags.

otoh, e.g. for 'txt2tags' python is the only requirement and it is
therefore multi-platform soulution where one can start writing
documentation in 15min.

Besides that, 'txt2tags-like technology' is already in use for some time
- e.g AFT (http://www.maplefish.com/todd/aft.html) dating back in '99
and XMLmind XML Editor has plugin which supports (similar) markup called 
APT (http://www.xmlmind.com/xmleditor/_distrib/doc/apt/apt_format.html) 

quote: Aptconvert is an OpenSource command-line tool that can be used
to convert the APT format to HTML, XHTML, PDF, PostScript, (MS Word
loadable) RTF, DocBook SGML and DocBook XML.

However, the main point in using such tool is productivity  simplicity.

How many tags from DocBook DTD are actually used in GHC manual and how
many of them are required for HTML output?

Sincerely,
Gour

-- 
Registered Linux User   | #278493
GPG Public Key  | 8C44EDCD
 
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Buddha and GHC 6.4

2005-06-20 Thread Gour
Bernard Pope ([EMAIL PROTECTED]) wrote:

 Plargleflarp is a decoy. I started getting complaints about the name
 when the program was noticed by someone on a linux mailing list. The
 complaints have come from buddhists who don't like the use of the word.

This is really a nonsense. The word has lot of meanings. Let them take
a look in any Sanskrit dictionary.

 To stop the complaints I renamed every occurrence of buddha to
 plargleflarp on the webpage. 

This term is not the best one :-)

 So what will happen in the long term? As yet I don't know. I might
 rename the program when version 2.0 comes out, I might not. If you have
 any opinion then please let me know.

To make people happy, why not use the name 'buddha' instead of 'Buddha' ?

Then they cannot complain any longer ;)

Sincerely,
Gour

-- 
Registered Linux User   | #278493
GPG Public Key  | 8C44EDCD
 
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [darcs-users] Re: [Haskell-cafe] fptools in darcs now available

2005-05-01 Thread Gour
Sven Panne ([EMAIL PROTECTED]) wrote:

 So my question in a nutshell: Why shall we move away from the mainstream
 when the rest of the world (or most of) is quite happy with CVS or is
 moving to subversion? I'm not completely against it, but we should have
 very, very good reasons to do so.

Amongst other reasons mentioned by others, I prefer darcs 'cause it does
not have database dependence and I heard enough stories of corrupted
databases  subversion. (the same argument applies to Monotone as well.)


Sincerely,
Gour

 
 Cheers,
 S.
 
 P.S.: Yes, I'm aware of other development models like the one used for the
 Linux kernel, where CVS/subversion are not appropriate, but is fptools
 really a similar project? I don't expect hundreds of people working in a
 very distributed manner on extensions of e.g. a type checker... :-]
 
 
 ___
 darcs-users mailing list
 [EMAIL PROTECTED]
 http://www.abridgegame.org/mailman/listinfo/darcs-users

-- 
Registered Linux User   | #278493
GPG Public Key  | 8C44EDCD
 
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] fptools in darcs now available

2005-04-28 Thread Gour
Simon Marlow ([EMAIL PROTECTED]) wrote:

 Great news, thanks John.
 
 Is it possible to set up a two-way synch so we can move over to darcs
 gradually?  It's not really practical for us to move over in one go,
 we've simply accumulated too many dependencies on CVS, and there are
 lots of people using the repo with CVS.  If we had a two-way synch, we
 can experiment with darcs non-destructively.

Great news, thanks Simon.

Nice to hear you are considering to move to darcs.

Sincerely,
Gour

-- 
Registered Linux User   | #278493
GPG Public Key  | 8C44EDCD
 
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Solution to Thompson's Exercise 4.4

2005-03-12 Thread Gour
Kaoru Hosokawa ([EMAIL PROTECTED]) wrote:

 I hope to find a better solution. I googled but couldn't find the 
 answer.

Here is what I have. I do not have working Haskell interpreter at
the moment (being on amd64), but this is what I have in my archive:

weakAscendingOrder :: Int - Int - Int - Bool
weakAscendingOrder a b c
  | (a  b)  (b == c) ||
(a == b)  (b  c)= True
  | otherwise  = False


howManyEqual :: Int - Int - Int - Int
howManyEqual a b c
  | (a == b )  (b == c) = 3
  | weakAscendingOrder a b c  = 2
  | (a /= b)  (b /= c)  = 0


isEqual :: Int - Int - Int - Int - Bool
isEqual x a b c
  | (x == a)   = True
  | (x == b)   = True
  | (x == c)   = True
  | otherwise  = False


howManyOfFourEqual :: Int - Int - Int - Int - Int
howManyOfFourEqual a b c d
  | isEqual a b c d   = howManyEqual b c d + 1
  | otherwise = howManyEqual b c d


Pls. test it ;)

Sincerely,
Gour

-- 
Registered Linux User   | #278493
GPG Public Key  | 8C44EDCD
 
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] RE: Answers to Exercises in Craft of FP

2005-01-26 Thread Gour
Paul Hudak ([EMAIL PROTECTED]) wrote:

 I'm not sure how Simon Thompson feels, or other instructors using his or 
 my book, but a downside of posting all of the solutions is that the 
 problems cannot be assigned for homework.  

That's true. Being a self-learner I forgot that your books are used as a
textbooks.

 I have many of the solutions to SOE problems, and could post them, but
 am wondering if it would be better to make them available only to
 instructors, or to those who might convince me that they are not
 reading the book for credit.  Or is that being too draconian?

How to discern self-study from the university sudent?

And this is maybe specific to Haskell-like community, i.e. for other
programming languages there are so many books/materials/mailinglists/...
so it is prety hard to give some specific homework expecting one cannot
find an answer.

At the same time, those who take adavantage of solutions (both students
 self-study guys) won't benefit much from it - they have to pass the
exam at the end or write some real code in a language :-)

So, imho, solutions can be helpful for those who can take advantage of
them.

Let's hear what Simon Thompson thinks in regard.

Sincerely,
Gour

-- 
Registered Linux User   | #278493
GPG Public Key  | 8C44EDCD
 
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Answers to Exercises in Craft of FP

2005-01-20 Thread Gour
David Owen ([EMAIL PROTECTED]) wrote:

 Unfortuantely I don't know of anywhere that the exercise answers can be 
 found, even after some google searching.  I would definitely find them 
 useful though as there are a couple I haven't been able to work out.

Me too. And I hope we're not the only one using the textbook :-)

 I can't say I've gone through all the exercises yet but I'll get there one 
 day!  I've got as far as the abstract data types chapter.

Same here. It takes a lot of time to go thorugh all the exercises, especially
since there are some which are just a slight variation on the theme.

I have to finish some from the 6th chapter :-(

Sincerely,
Gour

-- 
Registered Linux User   | #278493
GPG Public Key  | 8C44EDCD
 
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] RE: Answers to Exercises in Craft of FP

2005-01-20 Thread Gour
Ketil Malde ([EMAIL PROTECTED]) wrote:

 Another option is posting the excercise to this list (or perhaps in
 comp.lang.functional), along with your current effort at solving it.

I consider it would be useful to have the the whole collection somewhere, maybe
on wiki since Thompson's book (beside Hudak's HSOE) very popular one for
learning Haskell and it can bring even more popularity for Haskell language.

Is it only me, but it looks that more  more posts are appearing on this list?

 (As this could look like a homework request, don't expect the direct
 solution, but I think you will get some hints to nudge you in the
 right direction.)

Of course, but, otoh, solving ALL the exercises from the book is 
time-consuming, so to be able to sneak into some would be a nice learning 
experience :-)

Sincerely,
Gour

-- 
Registered Linux User   | #278493
GPG Public Key  | 8C44EDCD
 
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Re: Books on Haskell

2005-01-17 Thread Gour
David Owen ([EMAIL PROTECTED]) wrote:

 I recommend Thompson's book because it contains good explanations and lots 
 of exercises, although the book is quite big and takes some time to work 
 through.  

Do you know if there are solutions to exersises avaialable somewhere?

Have you gone through the whole book, i.e. all the exercises?

Sincerely,
Gour

-- 
Registered Linux User   | #278493
GPG Public Key  | 8C44EDCD
 
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Re: Non-technical Haskell question

2004-12-08 Thread Gour
John Goerzen ([EMAIL PROTECTED]) wrote:

 I think the two main things to do that would be:
 
 1. Write Haskell code that has a wide appeal (example: darcs)

Agree. One individual wrote an application of the (very) general interest 
'educating' programmers about Haskell's adequacy as a general programming
language (there are now several people contributing to the project and some
are even learning Haskell because of that :-)

 
 2. Fix Haskell weaknesses
 
 Haskell weaknesses are things I've mentioned here before, and refer
 generally to documentation and breadth of the standard library (or ease
 of finding/installing additional packages).

This one requires, imho, some organized effort to be really successful.

 The Cabal people are working on the library problem.  I am too, by
 writing a bunch of code and also integrating a bunch of other code.

I recently found out about your library and hope to be able to use it
effectively when my skills become more developed.

 Three of us also have a very rough start on a hands-on, practical
 introduction to Haskell aimed at the experienced imperative programmer.

This is *very* important - bringing new people from the imperative (I do not
mean they should be 'converted' at any cost :-) camp by showing them how
Haskell can be very elegant solution for solving general programming problems
and than one does not require to hold a Ph.D. in a CS to be qualified to
program in Haskell.

There is plenty of theoretical work in the form of different papers, thesis
etc. dealing with the plethora of Haskell-related subjects, but to 'bring
Haskell to the masses', we need some more practicality. 

Hoping that Haskell community can recognize that more programmers can benefit
them, so let's welcoem them.

Sincerely,
Gour

-- 
Registered Linux User   | #278493
GPG Public Key  | 8C44EDCD
 
___
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Re: Non-technical Haskell question

2004-12-07 Thread Gour
Paul Hudak ([EMAIL PROTECTED]) wrote:

 Does Python not have warts?  Or Pearl, or Java, or C#?  I don't think 
 that a few warts prevent a language from becoming a success.

I agree.

 But you may be right that it is too late... Haskell is getting old! 
 Sometimes I think that for a language to succeed it must do so in its 
 infancy.

Let's take e.g. Ruby - it's also over 10-year and is just gaining wider
acceptance.

 Perhaps the thing to do is create a new language with a new name, but 
 base it entirely on Haskell's semantics, then equip it with just one 
 really good library to solve well just one important niche problem, and 
 see what happens.  If it is seen as a shiny new silver bullet in just 
 one niche area, it might take off like a rocket.

However, RAA (Ruby Application Archive) counts 1291 project in 218 categories.

Many programmers are switching from either Perl or Python (I had to unsubscribe
from the mailing lists  'cause the traffic increased tremendously).

What is so special in Ruby in comparison with e.g. Perl  Python?

otoh, SF counts 91,889 projects (OK, many are dead)  968,206 users. That is
the whole army and I'm sure that filling the library-gaps, providing more
documentation  printed books (what Pickaxe book did for the spreading of the
Ruby, besides 20+ printed books in Japanese) covering (more) advanced features
of the language (some kind of follow-up for your  Thompson's book) suited for
the 'average-open-source-programmers' can bring lot of newcomers to the
Haskell camp in order to solve general problems - Haskell is a general
purpose, purely functional programming language, isn't it?

What other alternative one has in the lazy-functional camp?

So, if there is already a wonderful one, why neglect the child? Let's help
it to grow.

Haskell is getting old, but it is still too young .. :-)

Sincerely,
Gour


-- 
Registered Linux User   | #278493
GPG Public Key  | 8C44EDCD
 
___
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Re: OCaml list sees abysmal Language Shootout results

2004-10-08 Thread Gour
Ketil Malde ([EMAIL PROTECTED]) wrote:

 As somebody just said, you get to chose between speed and
 simplicity/clarity of code.  I would like both.

Me too. 

Simplicity/calrity of code is, imho, one of the strong point in using Haskell.

 Couldn't readFile et al. provide the standard interface, but use
 hGetBuf tricks (e.g. from your 'wc' entry) behind the curtains?

That would be nice indeed.

It's a pity that Ocaml is getting recommended for a 'real-life' applications 
instead of Haskell :-(


Sincerely,
Gour

___
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Building Haddock on Windows

2004-03-16 Thread Gour
Bayley, Alistair ([EMAIL PROTECTED]) wrote:

 Has anyone recently built Haddock on Windows? I'm invoking configure and
 make from Cygwin bash. Configure takes a couple of hours, and then make
 produces a load of errors (see below).

I have 0.6 built with MinGW/MSYS on Win98.

 
 If anyone has a ready-made .exe I'd be happy to use that. I just want to use
 Haddock, not modify it.

Pls. tell me if you want it via email.

Sincerely,
Gour

-- 
Gour
[EMAIL PROTECTED]
Registered Linux User #278493

___
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Haskell overview

2004-03-12 Thread Gour
MR K P SCHUPKE ([EMAIL PROTECTED]) wrote:

 Is it just me or is citeseer.nj.nec.com down?

Same here :-(

Sincerely,
Gour

-- 
Gour
[EMAIL PROTECTED]
Registered Linux User #278493

___
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe


FFI preprocessor for GHC

2004-01-15 Thread Gour
Hi!

I'd like to create Haskell bindings for swisseph C library for calculating 
ephemeris.

Which preprocessor would be a suitable for ghc compiler with the ability to
run the code both on Linux  Win32?

Sincerely,
Gour

-- 
Gour
[EMAIL PROTECTED]
Registered Linux User #278493

___
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe