[Haskell-cafe] Dual-licensing the package on Hackage

2013-07-30 Thread David Sorokin
Hi, Cafe! Probably, it was asked before but I could not find an answer with help of Google. I have a library which is hosted on Hackage. The library is licensed under BSD3. It is a very specialized library for a small target group. Now I'm going to relicense it and release a new version

Re: [Haskell-cafe] Dual-licensing the package on Hackage

2013-07-30 Thread Vo Minh Thu
2013/7/30 David Sorokin david.soro...@gmail.com: Hi, Cafe! Probably, it was asked before but I could not find an answer with help of Google. I have a library which is hosted on Hackage. The library is licensed under BSD3. It is a very specialized library for a small target group. Now I'm

Re: [Haskell-cafe] Dual-licensing the package on Hackage

2013-07-30 Thread David Sorokin
Thanks Thu, I agree with you. Just I don't know what to write in the license field of the .cabal file: GPL or OtherLicense. The both choices seem correct to me and misleading at the same time. Cheers, David 30.07.2013, в 12:53, Vo Minh Thu написал(а): 2013/7/30 David Sorokin

Re: [Haskell-cafe] Dual-licensing the package on Hackage

2013-07-30 Thread Vo Minh Thu
Well, if you are willing to grant me a GPL license when I download your package through Hackage, GPL is accurate. Again you are not providing me with another license. Obtaining a commercial license should be seeked through other means, perhaps by sending you an email. I don't think Hackage should

Re: [Haskell-cafe] Dual-licensing the package on Hackage

2013-07-30 Thread Krzysztof Skrzętnicki
Perhaps it would be best if .cabal allowed to have more than one license listed. Another solution would be to use custom field, for example: License: GPL x-Other-License: Commercial, see License-Commercial.txt All best, Krzysztof Skrzętnicki On Tue, Jul 30, 2013 at 11:44 AM, David Sorokin

Re: [Haskell-cafe] Dual-licensing the package on Hackage

2013-07-30 Thread Vo Minh Thu
Unless you want to provide multiple open source licenses, I don't see the point: Anybody that needs a commercial license (and has some money) will simply ask for such a commercial license when seeing that the code is available under GPL. Another reason it is pointless is that you will certainly

Re: [Haskell-cafe] Dual-licensing the package on Hackage

2013-07-30 Thread David Sorokin
I am inclined to use value OtherLicense but state in the description that the package is available either under GPL or a commercial license. The latter must be requested to me. Then there would be no required additional steps to use the package under GPL. Only the LICENSE file must be

Re: [Haskell-cafe] Dual-licensing the package on Hackage

2013-07-30 Thread Jan Stolarek
I'd say OtherLicense because: data License = GPL3 is different from data License = Commercial | GPL3 I hope this analogy to Haskell data types is convincing :) Janek - Oryginalna wiadomość - Od: David Sorokin david.soro...@gmail.com Do: Vo Minh Thu not...@gmail.com DW: Haskell

Re: [Haskell-cafe] Dual-licensing the package on Hackage

2013-07-30 Thread Vo Minh Thu
Again I haven't seen a reason to do what you propose: virtually every single GPL library author would gladly accept money for their work to be used in a closed source setting, no need to use OtherLicense to reach that effect. On the other hand, you will stop people interested in open source to

Re: [Haskell-cafe] Dual-licensing the package on Hackage

2013-07-30 Thread David Sorokin
This is already another question what license to use :) On 30.07.2013 14:56, Vo Minh Thu wrote: Again I haven't seen a reason to do what you propose: virtually every single GPL library author would gladly accept money for their work to be used in a closed source setting, no need to use

Re: [Haskell-cafe] Dual-licensing the package on Hackage

2013-07-30 Thread Vo Minh Thu
No. If I provide a library to you stating you can use it under the term of the GPL3, this does not prevent me from providing it to someone else under a different license (provided I have the rights to do so, for instance because I am the copyright owner). So as far as you're concerned (and this

Re: [Haskell-cafe] Dual-licensing the package on Hackage

2013-07-30 Thread Vo Minh Thu
Sorry but I was not discussing which license to use. It seems I cannot get my point across... 2013/7/30 David Sorokin david.soro...@gmail.com: This is already another question what license to use :) On 30.07.2013 14:56, Vo Minh Thu wrote: Again I haven't seen a reason to do what you

Re: [Haskell-cafe] Dual-licensing the package on Hackage

2013-07-30 Thread Daniel F
I second this. Also, I would like to point out that the product you get from Hackage (the source code) will be licensed under the GPL. Nobody can get the commercial version of the product from Hackage, as one has to contact you (the owner) directly or in some other manner. I guess that is what

[Haskell-cafe] ForeignPtr and Garbage Collection

2013-07-30 Thread satvik chauhan
Hi Cafe, Is it guaranteed that the value of `ForeignPtr` will not be changed (for example due to compaction etc) by haskell garbage collector until it goes out of scope and finalizer is run. -Satvik ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Dual-licensing the package on Hackage

2013-07-30 Thread David Thomas
One question is how much of a discovery/indexing role Hackage plays. There can be a tremendous difference in ease of obtaining a commercial license, and a restriction for things I can use in a proprietary project, once I pay enough seems like a legitimate use case. It also has some bearing on

[Haskell-cafe] Call for talks: Haskell Implementors Workshop 2013, Sept 22, Boston

2013-07-30 Thread Ryan Newton
Please pass on this announcement! The deadline is in two weeks.* * * * * Call for Talks* ACM SIGPLAN Haskell Implementors' Workshop http://haskell.org/haskellwiki/HaskellImplementorsWorkshop/2013 Boston, USA, September 22th, 2013

Re: [Haskell-cafe] ForeignPtr and Garbage Collection

2013-07-30 Thread Matt Cox
The pointer held in a ForeignPtr is not managed at all by the GC. The ForeignPtr itself is a GC'd object and runs a finalizer (a function receiving a pointer) with the value it holds when it is destroyed. For example, if you allocate a C resource in one foreign call and then store its value in a

[Haskell-cafe] ANN: Angel 0.4.4

2013-07-30 Thread Michael Xavier
I'm pleased to announce the release of Angel 0.4.4. angel is a daemon that runs and monitors other processes. It is similar to djb's daemontools or the Ruby project god. It's goals are to keep a set of services running, and to facilitate the easy configuration and restart of those services. New

[Haskell-cafe] Haddock GSOC project progress

2013-07-30 Thread Mateusz Kowalczyk
Greetings cafe, As some of you might know, I'm hacking on Haddock as part of Google Summer of Code. I was recently advised to create a blog and document some of what I have been doing recently. You can find the blog at [1] if you're interested. The first post goes over the work from the last

[Haskell-cafe] ANNOUNCE: hdbi-1.0.0 and hdbi-postgresql-1.0.0

2013-07-30 Thread Alexey Uimanov
Hello, haskellers. This is the first release of HDBI (Haskell Database Independent interface). It is the fork of HDBC. HDBI has some improvements in design, it also has better testing and performance (mainly because of using Text instead of String anywhere). HDBI designed to be more flexible and

Re: [Haskell-cafe] ANNOUNCE: hdbi-1.0.0 and hdbi-postgresql-1.0.0

2013-07-30 Thread Bardur Arantsson
On 2013-07-31 05:45, Alexey Uimanov wrote: Hello, haskellers. This is the first release of HDBI (Haskell Database Independent interface). It is the fork of HDBC. HDBI has some improvements in design, it also has better testing and performance (mainly because of using Text instead of String

Re: [Haskell-cafe] Haddock GSOC project progress

2013-07-30 Thread Roman Cheplyaka
Hi Mateusz, This looks great — I'm especially excited about List entries no longer have to be separated by empty lines! However, the decision to use Attoparsec (instead of Parsec, say) strikes me as a bit odd, as it wasn't intended for parsing source code. In particular, I'm concerned with error