Re: [Lift] Idea proposal for Google Summer of Code project

2010-02-18 Thread Justin Reardon
May as well keep any of these together, I'm looking to work on a project for encapsulating the business logic found in typical comment system over the summer. In short the goals of this project are to: 1. Define a composable model for representing common variations of comments. Hopefully I can

Re: [Lift] Unnecessary SELECT DISTINCT statements

2010-02-18 Thread David Pollak
The issue is fixed in 2.0-M2 and 2.0-SNAPSHOT On Thu, Feb 18, 2010 at 12:30 PM, Petr Pudlak wrote: > Hi, > > I'm having problems with unnecessary SELECT DISTINCT produced by Lift > Mapper. I know that it has been discussed before, but still it causes > problems. Even when I'm doing simple quer

[Lift] Unnecessary SELECT DISTINCT statements

2010-02-18 Thread Petr Pudlak
Hi, I'm having problems with unnecessary SELECT DISTINCT produced by Lift Mapper. I know that it has been discussed before, but still it causes problems. Even when I'm doing simple queries into just a single table, Lift Mapper almost always adds the DISTINCT keyword. Unfortunately, this has a l

Re: [Lift] CouchDB queryView Enhancements?

2010-02-18 Thread Ross Mellgren
Once again unto the breach. http://reviewboard.liftweb.net/r/216/ -Ross On Feb 18, 2010, at 4:07 PM, Justin Reardon wrote: > From the review board diff it looks like you forgot to actually remove the > call to dontReduce (line 221). Perhaps a test case that will actually fail if > queryViewDo

Re: [Lift] CouchDB queryView Enhancements?

2010-02-18 Thread Justin Reardon
>From the review board diff it looks like you forgot to actually remove the >call to dontReduce (line 221). Perhaps a test case that will actually fail if >queryViewDocs were to include the dontReduce call would be good? For example >querying on view "people_by_age" using queryViewDocs would fai

Re: [Lift] CouchDB queryView Enhancements?

2010-02-18 Thread Ross Mellgren
Updated the patch up on review board, so if you think the new patch will work for you, I'll push it once it's reviewed. -Ross On Feb 18, 2010, at 12:28 AM, Justin Reardon wrote: > Wow you're fast. > > You probably shouldn't call dontReduce in queryViewDocsFrom, as recent > versions of couchd

Re: [Lift] Re: translate doc to Russian

2010-02-18 Thread David Pollak
On Thu, Feb 18, 2010 at 11:55 AM, TylerWeir wrote: > I grant permission for the Russian translation. > > I'm not sure how "legal" a reply in a thread is, but if it's good > enough, then the translation has my blessing. > It is writing that Adel can refer to, so he's covered. > > I also suppose

[Lift] Re: translate doc to Russian

2010-02-18 Thread TylerWeir
I grant permission for the Russian translation. I'm not sure how "legal" a reply in a thread is, but if it's good enough, then the translation has my blessing. I also suppose I can only speak for myself, not Marius or Derek. Tyler On Feb 18, 1:01 pm, Timothy Perrett wrote: > My bad, I thought

Re: [Lift] translate doc to Russian

2010-02-18 Thread Timothy Perrett
My bad, I thought he was referring to the wiki! Cheers, Tim On 18 Feb 2010, at 17:44, David Pollak wrote: > > > On Thu, Feb 18, 2010 at 6:38 AM, Timothy Perrett > wrote: > Adel, > > This is certainly NOT against any copyright... > > Actually, technically it is a violation of the license:

Re: [Lift] CouchDB queryView Enhancements?

2010-02-18 Thread David Pollak
On Thu, Feb 18, 2010 at 5:58 AM, Ross Mellgren wrote: > Sensible. I'll make that change tonight. > > Rock on! > -Ross > > On Feb 18, 2010, at 12:28 AM, Justin Reardon wrote: > > > Wow you're fast. > > > > You probably shouldn't call dontReduce in queryViewDocsFrom, as recent > versions of couch

Re: [Lift] translate doc to Russian

2010-02-18 Thread David Pollak
On Thu, Feb 18, 2010 at 6:38 AM, Timothy Perrett wrote: > Adel, > > This is certainly NOT against any copyright... Actually, technically it is a violation of the license: http://creativecommons.org/licenses/by-nd/3.0/ By, I give my permission (and a hearty "THANK YOU!!") to make a derivative wo

Re: [Lift] Implementing "You are here:"

2010-02-18 Thread David Pollak
On Thu, Feb 18, 2010 at 6:33 AM, Julian Backes wrote: > Hi, > > I want to implement something like "You are here: Root -> Somewhere 1 -> > Somewhere 1.1" which is displayed on all pages. > Is it possible to use SiteMap to do that? Can someone give me a hint how to > do that? > > Thanks, > Julian >

Re: [Lift] Another convert

2010-02-18 Thread David Pollak
On Thu, Feb 18, 2010 at 5:25 AM, czerwonka wrote: > Just an fyi for the group... > > http://www.andyczerwonka.com/platform > > Another convert added to the list... > Welcome! > > -- > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this gr

[Lift] Setting run mode for Lift applications

2010-02-18 Thread Petr Pudlak
Hi all, I've written my first application using Lift and now I'm deploying it into a production. I find it inconvenient that the run mode is specified as a JVM system property. First, sometimes JVM system properties are inaccessible, for example when deploying to a hosted servlet container.

[Lift] Re: Another convert

2010-02-18 Thread czerwonka
Found the mistake.. the site has been updated. On Feb 18, 8:05 am, Timothy Perrett wrote: > Yes the quotes are accurate, just the attributed author is not right.  You > need to change them please. > > On the lift site it works like: > > > > > I think you must have read it as the other way arou

Re: [Lift] Re: Another convert

2010-02-18 Thread Timothy Perrett
Yes the quotes are accurate, just the attributed author is not right. You need to change them please. On the lift site it works like: I think you must have read it as the other way around Cheers, Tim On 18 Feb 2010, at 15:02, czerwonka wrote: > I got the quotes from the Lift site. >

[Lift] Re: Another convert

2010-02-18 Thread czerwonka
I got the quotes from the Lift site. http://liftweb.net/quotes.html Shall I change them? On Feb 18, 7:41 am, Timothy Perrett wrote: > Someone ought to tell them that they have their quotes wrong... Odersky did > not say that, Galpin did. > > Martin actually said: > > "The interest and exciteme

Re: [Lift] Implementing "You are here:"

2010-02-18 Thread Julian Backes
I want to implement something like "You are here: Root -> Somewhere 1 -> Somewhere 1.1" which is displayed on all pages. Is it possible to use SiteMap to do that? Can someone give me a hint how to do that? Have a look at the Menu snippet. I think the li_path prefix can be used to make a breadc

Re: [Lift] Implementing "You are here:"

2010-02-18 Thread Timothy Perrett
Jeppe, you forgot to mention that the OP needs to implement their sitemap ;) Cheers, Tim On 18 Feb 2010, at 14:38, Jeppe Nejsum Madsen wrote: > On Thu, Feb 18, 2010 at 3:33 PM, Julian Backes > wrote: >> Hi, >> >> I want to implement something like "You are here: Root -> Somewhere 1 -> >> Somew

Re: [Lift] Another convert

2010-02-18 Thread Timothy Perrett
Someone ought to tell them that they have their quotes wrong... Odersky did not say that, Galpin did. Martin actually said: "The interest and excitement about Scala continues to grow. It's great to see Lift reaching the 1.0 milestone as this is a proof point for the maturity of Scala as a soft

Re: [Lift] translate doc to Russian

2010-02-18 Thread Timothy Perrett
Adel, This is certainly NOT against any copyright... in fact, we welcome such an effort! Thanks for your work on this. Cheers, Tim On 18 Feb 2010, at 09:52, Adel Chepkunov wrote: > Hello all! > > I start translate "Starting with Lift" on > http://translated.by/you/starting-with-lift/into-ru/

Re: [Lift] Implementing "You are here:"

2010-02-18 Thread Jeppe Nejsum Madsen
On Thu, Feb 18, 2010 at 3:33 PM, Julian Backes wrote: > Hi, > > I want to implement something like "You are here: Root -> Somewhere 1 -> > Somewhere 1.1" which is displayed on all pages. > Is it possible to use SiteMap to do that? Can someone give me a hint how to > do that? Have a look at the M

[Lift] Implementing "You are here:"

2010-02-18 Thread Julian Backes
Hi, I want to implement something like "You are here: Root -> Somewhere 1 -> Somewhere 1.1" which is displayed on all pages. Is it possible to use SiteMap to do that? Can someone give me a hint how to do that? Thanks, Julian -- You received this message because you are subscribed to the Goog

Re: [Lift] CouchDB queryView Enhancements?

2010-02-18 Thread Ross Mellgren
Sensible. I'll make that change tonight. -Ross On Feb 18, 2010, at 12:28 AM, Justin Reardon wrote: > Wow you're fast. > > You probably shouldn't call dontReduce in queryViewDocsFrom, as recent > versions of couchdb will return an error if this parameter is applied to a > view without a reduc

[Lift] Another convert

2010-02-18 Thread czerwonka
Just an fyi for the group... http://www.andyczerwonka.com/platform Another convert added to the list... -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send

Re: [Lift] Re: Potential breaking change: MappedField.name, affects Mapper <> JSON

2010-02-18 Thread Indrajit Raychaudhuri
On 18/02/10 6:26 PM, harryh wrote: If this does happen please take care to include this information in the release notes for M3 (or whatever milestone first has this change) as people using json serialization for caching purposes will need to invalidate their caches. Putting the note in BIG CA

[Lift] translate doc to Russian

2010-02-18 Thread Adel Chepkunov
Hello all! I start translate "Starting with Lift" on http://translated.by/you/starting-with-lift/into-ru/trans/?page=1 I not violate copyrights? And if it ok, can you help me? In this server You can login via OpenId, so You not need create new account. Sorry for my bad English -- You received

[Lift] Re: Port of Lift's demo Pocketchangeapp backed by MongoDB

2010-02-18 Thread Alexander Azarov
Ross, I am not a fan of ActiveRecord pattern, I prefer to keep domain model as free from persistance logic as possible. So the experiment with Pocketchangeapp was to show this approach using mongo-scala-driver. On 18 фев, 04:01, Ross Mellgren wrote: > There is a persistence-layer-agnostic layer

[Lift] Re: Potential breaking change: MappedField.name, affects Mapper <> JSON

2010-02-18 Thread harryh
If this does happen please take care to include this information in the release notes for M3 (or whatever milestone first has this change) as people using json serialization for caching purposes will need to invalidate their caches. Putting the note in BIG CAPITAL LETTERS might be a good idea. -h

[Lift] Potential breaking change: MappedField.name, affects Mapper <> JSON

2010-02-18 Thread Jeppe Nejsum Madsen
Hi, As part of fixing https://www.assembla.com/spaces/liftweb/tickets/155-lift-mapper-%28record%29-camelcase-to-snake_case-for-case-insensitive-databases , I would like to change the semantics of MappedField.name slightly: Currently, the name is always lowercased, ie: class SampleModel extends K