Re: Hackage2 server ready for testing

2012-09-06 Thread Simon Hengel
Hi Ian, sorry for the late reply. If I'm not explicitly on TO/CC it is likely that I miss that mail. On Thu, Aug 30, 2012 at 03:57:50PM +0100, Ian Lynagh wrote: > On Sat, Aug 25, 2012 at 07:12:41PM +0200, Simon Hengel wrote: > > Hi, > > with Firefox, I sometimes get an "XML Parsing error" on the

Re: Hackage 2 and acid-state vs traditional databases

2012-09-06 Thread Duncan Coutts
On 6 September 2012 21:06, Duncan Coutts wrote: > On 6 September 2012 19:49, Ian Lynagh wrote: >> * Only a single process can use the database at once. For example, if >> the admins want a tool that will make it easier for them to approve >> user requests, then that tool needs to be integrate

Re: Hackage 2 and acid-state vs traditional databases

2012-09-06 Thread Leon Smith
On Thu, Sep 6, 2012 at 2:49 PM, Ian Lynagh wrote: > > * Only a single process can use the database at once. For example, if > the admins want a tool that will make it easier for them to approve > user requests, then that tool needs to be integrated into the Hackage > server (or talk to it o

Re: Hackage 2 and acid-state vs traditional databases

2012-09-06 Thread Duncan Coutts
On 6 September 2012 19:49, Ian Lynagh wrote: > > Hi all, > > I've had a bit of experience with Hackage 2 and acid-state now, and I'm > not convinced that it's the best fit for us: > > * It's slow. It takes about 5 minutes for me to stop and then start the > server. It's actually surprising just

Re: Hackage 2

2012-09-06 Thread Ross Paterson
On Thu, Sep 06, 2012 at 08:52:28PM +0100, Ian Lynagh wrote: > On Thu, Sep 06, 2012 at 08:32:38PM +0100, Duncan Coutts wrote: > > > > From the point of view of an existing user, they will go to the new > > site, go to a special page, enter their username and their old > > password and a new passwor

Re: Hackage 2

2012-09-06 Thread Ian Lynagh
On Thu, Sep 06, 2012 at 08:32:38PM +0100, Duncan Coutts wrote: > > >From the point of view of an existing user, they will go to the new > site, go to a special page, enter their username and their old > password and a new password (which can be the same if they like). This > is a one off. After th

Re: Hackage 2 and acid-state vs traditional databases

2012-09-06 Thread Erik Hesselink
Hi Ian, We used acid-state (actually happstack-state) at Silk for our session store. We had the same problems you describe: slow shutdown/startup, high memory usage, unable to inspect the data. We recently switched to an SQL database. Just another data point. Erik On Thu, Sep 6, 2012 at 8:49 PM,

Re: Hackage 2

2012-09-06 Thread Duncan Coutts
On 6 September 2012 19:53, Ian Lynagh wrote: > On Thu, Sep 06, 2012 at 07:14:53PM +0100, Ross Paterson wrote: >> On Thu, Sep 06, 2012 at 06:49:36PM +0100, Matthew Gruen wrote: >> > To my knowledge, It's technically possible to import the old accounts. >> >> Why is that? I think that's worth explo

Re: Hackage 2

2012-09-06 Thread Bryan O'Sullivan
On Thu, Sep 6, 2012 at 11:53 AM, Ian Lynagh wrote: > But if that's not the case then I can look into importing them. > I think that making the effort to import that data would be well worthwhile. Thanks for looking into it. ___ cabal-devel mailing list

Re: Hackage 2 and acid-state vs traditional databases

2012-09-06 Thread Johan Tibell
On Thu, Sep 6, 2012 at 11:49 AM, Ian Lynagh wrote: > Someone pointed out that one disadvantage of traditional databases is > that they discourage you from writing as if everything was Haskell > datastructures in memory. For example, if you have things of type > data Foo = Foo { > str :

Re: Hackage 2

2012-09-06 Thread Bryan O'Sullivan
On Mon, Sep 3, 2012 at 4:35 PM, Leon Smith wrote: > The thing is, since we have an account approval process and that we have > a full, public log of everything that everybody's uploaded, people are > going to notice when somebody uploads something they shouldn't. No, it has already happened

Re: Hackage 2

2012-09-06 Thread Ian Lynagh
On Thu, Sep 06, 2012 at 07:14:53PM +0100, Ross Paterson wrote: > On Thu, Sep 06, 2012 at 06:49:36PM +0100, Matthew Gruen wrote: > > To my knowledge, It's technically possible to import the old accounts. > > Why is that? I think that's worth exploring, as you'd be losing > associations between 115

Hackage 2 and acid-state vs traditional databases

2012-09-06 Thread Ian Lynagh
Hi all, I've had a bit of experience with Hackage 2 and acid-state now, and I'm not convinced that it's the best fit for us: * It's slow. It takes about 5 minutes for me to stop and then start the server. It's actually surprising just how slow it is, so it might be possible/easy to get this

Re: Hackage 2

2012-09-06 Thread Ross Paterson
On Thu, Sep 06, 2012 at 06:49:36PM +0100, Matthew Gruen wrote: > To my knowledge, It's technically possible to import the old accounts. Why is that? I think that's worth exploring, as you'd be losing associations between 1150 users and 24456 uploads of 4442 packages. (Not entirely, because the ol

Re: Hackage 2

2012-09-06 Thread Erik Hesselink
On Thu, Sep 6, 2012 at 7:49 PM, Matthew Gruen wrote: > I'm a little bit confused on the exact set up. The uploaders group seems to > be roughly the same thing as the trustees group. (Except uploaders has an > AND relationship with per-package groups as far as membership requirements > for upload,

Re: Hackage 2

2012-09-06 Thread Matthew Gruen
On Thu, Sep 6, 2012 at 10:28 AM, Duncan Coutts wrote: > On 5 September 2012 20:22, Erik Hesselink wrote: > > >> Also, we haven't had a single problem that I'm aware of on Ross > Paterson's > >> watch as bouncer for Hackage 1.The point I'm trying to make is that > a > >> technical solution i

Re: Hackage 2

2012-09-06 Thread Duncan Coutts
On 5 September 2012 20:22, Erik Hesselink wrote: >> Also, we haven't had a single problem that I'm aware of on Ross Paterson's >> watch as bouncer for Hackage 1.The point I'm trying to make is that a >> technical solution imposes additional administrative and technical overhead >> whereas so

Re: Hackage Accounts

2012-09-06 Thread Lars Viklund
On Wed, Sep 05, 2012 at 03:18:58PM +0100, Ian Lynagh wrote: > On Wed, Sep 05, 2012 at 03:34:16PM +0200, Lars Viklund wrote: > > > > This chain of mails looks quite strange to me. > > > > Do you have some kind of ulterior motive for these inquiries? > > What you might be missing is that Ross hand

Re: Hackage 2

2012-09-06 Thread Ross Paterson
The User accounts page, echoing the Hackage 1 version, says "Passwords are stored encrypted, so if you forget yours we can't recover it, but will need to assign a new one. Just ask." But the account registration page doesn't even ask for an email address, so it would be difficult for administrator