[Lift] take a lift to the opera for a better performance?

2009-06-18 Thread Meredith Gregory
Lifted, Has anyone played with Opera's Unite? i tried it out, today and was disappointed by the performance of their chat service/lounge. i was running over a network that is notoriously slow, but google chat between yvr and sfo was beating the pants off what i was getting from the machine to

[Lift] Re: QA, before merging code

2009-06-18 Thread marius d.
Oliver thanks for raising this flag. I'll try to look later on today one more time at the code as I'm not sure I fully understand the principles of your addition. I remember doing some comments on the topic but haven't looked on your code for a while. Are you willing to have a quick chat on it ?

[Lift] Re: scalajpa - while accessing two distincts databases, the second access is made with a connection to the first database

2009-06-18 Thread Viktor Klang
I yield to your superiority. Seriously. 2009/6/18 Meredith Gregory lgreg.mered...@gmail.com Oliver, Objects and monads are really not the same. At it's heart the concept of monad is an appropriately parametric notion of composition. If you have any experience with abstract algebra, you

[Lift] Lift and Goat Rodeo

2009-06-18 Thread David Pollak
Folks, At the end of the Scala Lift Off, after I finished my third beer, Martin Odersky came over to me and asked, so, what's the future of Lift? I gave a hand-waving answer about the features for 1.1. But Martin is not a hand-waving kind of guy and I think I owe him and the other folks in the

[Lift] Re: Lift and Goat Rodeo

2009-06-18 Thread fan...@gmail.com
David Pollak a écrit : Folks, [...] Over the last couple of years, I've been noticing trends in web development, in the needs of my various consulting gigs, and in some other projects. It's clear to me that it's time for a unified data and data management model that goes beyond OR

[Lift] Re: Lift and Goat Rodeo

2009-06-18 Thread Matt Williams
This sounds very exciting David, please ensure to keep us posted on any developments. This notion of Q's - is this the method by which actors will be distributed (managed via zookeeper, i would assume)? Any reference materials you can point me to further whet my appetite? On Thu, 2009-06-18 at

[Lift] Re: Thoughts on separation of display from logic

2009-06-18 Thread Kevin Wright
How about this one then: bind(nodeseq, prefix, (suffix, node) - Text(this text replaced a prefix:suffix element) ); On problem is it mucks up the Pair[String, () = NodeSeq] that bind expects, not too pretty either. One other solution I considered was an alternative overloaded version of

[Lift] Re: Lift and Goat Rodeo

2009-06-18 Thread Narayanaswamy, Mohan
David, Amazing, I love your PASSION. All the best. Mohan From: liftweb@googlegroups.com [mailto:lift...@googlegroups.com] On Behalf Of David Pollak Sent: 18 June 2009 15:20 To: David Pollak Subject: [Lift] Lift and Goat Rodeo Folks, At the end of the

[Lift] Re: Thoughts on separation of display from logic

2009-06-18 Thread Kevin Wright
Ignore that first one, it makes no sense, really not sure what I was thinking there... On Thu, Jun 18, 2009 at 10:25 AM, Kevin Wright kev.lee.wri...@googlemail.com wrote: How about this one then: bind(nodeseq, prefix, (suffix, node) - Text(this text replaced a prefix:suffix element) );

[Lift] Re: Thoughts on separation of display from logic

2009-06-18 Thread Oliver Lambert
I modified the BindHelper in the branch, I am working on some time back to allow automatic mixin binding by name. If you have in your html input name=favourite:yourName size=20 maxlength=40/, then it will accept in the snippet bind(favourite, xhtml, yourName - SHtml.text(show string, s =

[Lift] Re: scalajpa - while accessing two distincts databases, the second access is made with a connection to the first database

2009-06-18 Thread Meredith Gregory
Viktor, My co-routine yields back to yours! Hey, it's like Garrison Keillor's Tales from Lake Wobegonhttp://en.wikipedia.org/wiki/Lake_Wobegon: where *all* of the children are above average. If you think about it, that just keeps *lift*ing the children higher and higher and higher... Speaking

[Lift] Re: scalajpa - while accessing two distincts databases, the second access is made with a connection to the first database

2009-06-18 Thread Viktor Klang
I just want to say that it's educating and awesome (in the true sense of the word) to have you on this list, enriching us with alot of good ideas, theories and concepts. 2009/6/18 Meredith Gregory lgreg.mered...@gmail.com Viktor, My co-routine yields back to yours! Hey, it's like Garrison

[Lift] BBCode2XHTML

2009-06-18 Thread Viktor Klang
Hi guys! I'm in dire need of an XSS-safe and generally harmless way of allowing end-users to add some markup to texts. In the spirit of re-use and lack of time, I wonder if any of you have any libraries to recommend that can transform a String maybe containing BBCode to the same string but with

[Lift] Re: Lift and Goat Rodeo

2009-06-18 Thread marius d.
Dave is there a reason why writes are allowed outside a transaction boundaries ? Br's, Marius On Jun 18, 10:19 am, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, At the end of the Scala Lift Off, after I finished my third beer, Martin Odersky came over to me and asked, so, what's

[Lift] Re: scalajpa - while accessing two distincts databases, the second access is made with a connection to the first database

2009-06-18 Thread Meredith Gregory
Oliver, You wrote: we would have taken over Google by now. My not-so-secret plan for taking over Google is contained in the deck i posted in response to Viktorhttp://svn.biosimilarity.com/src/open/talks/MonadicDesignPatternsForTheWeb.pdf. Part of the reason i was excited that Jonas took on to

[Lift] Re: scalajpa - while accessing two distincts databases, the second access is made with a connection to the first database

2009-06-18 Thread Oliver Lambert
Hi Greg, Thank you, I enjoyed reading that. Perhaps the Greedy Empire, should indeed, be worried. cheers Oliver 2009/6/18 Meredith Gregory lgreg.mered...@gmail.com Oliver, You wrote: we would have taken over Google by now. My not-so-secret plan for taking over Google is contained in the

[Lift] Re: New hosting for demo.liftweb.net

2009-06-18 Thread TylerWeir
Is it just the basic slice? 128 Megatrons of RAM? On Jun 18, 1:45 am, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, I'm trying a Xen slice on prgrm.com I'm currently runninghttp://demo.liftweb.netthere.  Woo Hoo! David -- Lift, the simply functional web

[Lift] Re: scalajpa - while accessing two distincts databases, the second access is made with a connection to the first database

2009-06-18 Thread Derek Chen-Becker
No one need fear. Greg is a benevolent evil genius ;) Seriously, it's threads like this that make me realize just how many freakin' brilliant people are on list. Derek 2009/6/18 Oliver Lambert olambo...@gmail.com Hi Greg, Thank you, I enjoyed reading that. Perhaps the Greedy Empire, should

[Lift] Re: BBCode2XHTML

2009-06-18 Thread marius d.
Isn't Lift XSS safe by default ? ... in the sense that it applies the proper escaping. Br's, Marius On Jun 18, 2:06 pm, Viktor Klang viktor.kl...@gmail.com wrote: Hi guys! I'm in dire need of an XSS-safe and generally harmless way of allowing end-users to add some markup to texts. In the

[Lift] Re: BBCode2XHTML

2009-06-18 Thread David Pollak
Lift's Textile support is what you want. See the chat window on http://demo.liftweb.net Enter I like *beer* into the window and see what happens. And yes, it's XSS safe. On Thu, Jun 18, 2009 at 4:06 AM, Viktor Klang viktor.kl...@gmail.comwrote: Hi guys! I'm in dire need of an XSS-safe and

[Lift] Error during sign-up

2009-06-18 Thread Tobias Daub
Hi There, I just got this error when I tried to sign-up a new user with the default interface. thanks -- Exception occured while processing /user_mgt/sign_up Message: java.lang.AbstractMethodError:

[Lift] error during sign-up (solved)

2009-06-18 Thread Tobias Daub
Sorry, After I did mvn clean install it was ok. thanks anyway --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this

[Lift] Re: BBCode2XHTML

2009-06-18 Thread Matt Williams
Theres a textile package available in the repository. And its now 30x faster! :) On Thu, 2009-06-18 at 13:06 +0200, Viktor Klang wrote: Hi guys! I'm in dire need of an XSS-safe and generally harmless way of allowing end-users to add some markup to texts. In the spirit of re-use and lack of

[Lift] selectObj again

2009-06-18 Thread Tobias Daub
Hi There, I'm still having problems with the selectObj method. Here's the code: */* The basic trade types are: BUY and SELL */ object tradeType extends MappedLongForeignKey(this.asInstanceOf[MapperType], TradeTypeMetaObj){ override def _toForm = Full(SHtml.selectObj

[Lift] Re: Lift and Goat Rodeo

2009-06-18 Thread maku
David, that sounds really great. I tried to think about what's a good approach to be really scalable in context of data writing/reading (e.g. when you have to write an app for a huge number of users) A RDMBS approach would not be sufficient. Looking forward for further information for this

[Lift] Re: Lift and Goat Rodeo

2009-06-18 Thread David Pollak
On Thu, Jun 18, 2009 at 4:23 AM, marius d. marius.dan...@gmail.com wrote: Dave is there a reason why writes are allowed outside a transaction boundaries ? Writes are not allowed outside of transactional boundaries. You have to enter a transaction to get a TRef, a transactional reference.

[Lift] Re: New hosting for demo.liftweb.net

2009-06-18 Thread David Pollak
On Thu, Jun 18, 2009 at 6:21 AM, TylerWeir tyler.w...@gmail.com wrote: Is it just the basic slice? 128 Megatrons of RAM? It's running on the 512mb slice... at $12/mo it seemed like a reasonable price to pay. On Jun 18, 1:45 am, David Pollak feeder.of.the.be...@gmail.com wrote: Folks,

[Lift] Re: Error during sign-up

2009-06-18 Thread Derek Chen-Becker
This looks like it's related to the code that David just committed. I wonder if your maven repo is out of sync. Can you try wiping ~/.m2 and see if that fixes it? Derek On Thu, Jun 18, 2009 at 5:01 AM, Tobias Daub hannes.flo...@gmx.li wrote: Hi There, I just got this error when I tried to

[Lift] Re: Lift and Goat Rodeo

2009-06-18 Thread David Pollak
On Thu, Jun 18, 2009 at 8:29 AM, TSP tim.pig...@optrak.co.uk wrote: Hi David, I am working in the typical business application space, where rdbms are quite nice solutions - lots of tables but in your application you never really need an awful lot of rows for anything other than consolidated

[Lift] Neo4J

2009-06-18 Thread Jeremy Day
Good morning, Has anyone used a graph database, such as Neo4J, as their back end in a Lift project? Jeremy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to

[Lift] REST Record

2009-06-18 Thread Marius
Hi, I think that Record framework may play a relevant role in processing REST requests. I mean picture the following model: class MyRecord extends Record[MyRecord] { def meta = MyRecordMeta object firstName extends StringField(this, John) object lastName extends

[Lift] Re: Lift and Goat Rodeo

2009-06-18 Thread marius d.
Sorry Dave but something still escapes me. Transaction.write also takes a TRef parameter which is never used. Furthermore nothing seems to prevent one to call new TRef... outside a Transaction. I assume the normal usage is: val ref = new Ref(QString()) ref.map(tref = // do transactional reads

[Lift] lift-paypal: Paypal Production PDT not working - help!

2009-06-18 Thread Dano
I trying to get our site (buyafeature.com) live today and ran into a problem with the paypal feature. I am using the lift-paypal module and things have been working just fine in development. The problem I am seeing is that when I press the Return to Website button in paypal, it tries to

[Lift] Re: Thoughts on separation of display from logic

2009-06-18 Thread Kris Nuttycombe
Though that's undeniably a bit of a rabbit hole, it would also be the fully general solution and could have really interesting applications in terms of being able to bind not just full NodeSeqs but individual attributes, and even attributes in multiple nodes. Sounds like an exciting feature to

[Lift] Re: lift-paypal: Paypal Production PDT not working - help!

2009-06-18 Thread Dano
More information: In my object which extends PaypalPDT, I had a line which overridded the variable pdtPath: override def pdtPath = complete On Jun 18, 11:58 am, Dano olearydani...@gmail.com wrote: I trying to get our site (buyafeature.com) live today and ran into a problem with the paypal

[Lift] Re: lift-paypal: Paypal Production PDT not working - help!

2009-06-18 Thread Dano
Sorry, my post got submitted too early. When I commented out the line: override def pdtPath = complete I get the same failure mode as in production. Do I need to set pdtPath or what do I change to work with the default? Thanks. Dan On Jun 18, 12:04 pm, Dano olearydani...@gmail.com wrote:

[Lift] interaction with hibernate crowd?

2009-06-18 Thread Meredith Gregory
Lifted and Scalata, Has anyone had any joy engaging the hibernate crowd? i've been trying every channel i can to get someone in the hibernate know to take a look at what i believe is a bug and no one even responds at all. Best wishes, --greg -- L.G. Meredith Managing Partner Biosimilarity LLC

[Lift] Re: Lift and Goat Rodeo

2009-06-18 Thread David Pollak
Yeah... I haven't sealed things yet. You can do these things... but not for long. ;-) On Jun 18, 2009 10:36 AM, marius d. marius.dan...@gmail.com wrote: Sorry Dave but something still escapes me. Transaction.write also takes a TRef parameter which is never used. Furthermore nothing seems to

[Lift] Re: Neo4J

2009-06-18 Thread Viktor Klang
I think I was the first external committer to Neo4j.It is a really interesting product, and I had quite a few nice use-cases for it, but unfortunately their adoption of AfferoGPLv3 prohibited me from using it. Viktor, Lift Scala 18 jun 2009 kl. 17.39 Jeremy Day jeremy@gmail.com skrev:

[Lift] Re: lift-paypal: Paypal Production PDT not working - help!

2009-06-18 Thread Dano
Resolved. I backed out my override on pdtPath and adjusted my paypal configuration to point to /paypal/pdt and things worked. Moral of the story: Do NOT override pdtPath!! On Jun 18, 12:07 pm, Dano olearydani...@gmail.com wrote: Sorry, my post got submitted too early. When I commented out

[Lift] Re: Neo4J

2009-06-18 Thread Jeremy Day
Viktor, Interesting. I'm starting the very initial development on a little commercial product and I'm thinking about using Neo4J as the back end. I'll need to eyeball their license again to make sure that it's compatible with what I want to do. Jeremy On Thu, Jun 18, 2009 at 2:53 PM, Viktor

[Lift] Very basic questions

2009-06-18 Thread DFectuoso
Hi! I'm starting to use lift/scala(I don't know either) and already I have a couple of (very very basic) questions. I'm reading The definitive guide to lift and even tho it's been enough to actually understand some of the key elements of a lift application I am having some problems understanding

[Lift] Re: Neo4J

2009-06-18 Thread Viktor Klang
Last time I checked they had commercial licenses for sale (contact for pricing details) Viktor, Rogue Software Architect 18 jun 2009 kl. 22.10 Jeremy Day jeremy@gmail.com skrev: Viktor, Interesting. I'm starting the very initial development on a little commercial product and I'm

[Lift] Re: interaction with hibernate crowd?

2009-06-18 Thread Meredith Gregory
Viktor, i finally got someone on the hibernate IRC channel to take a look at the problem. He claims that if he removes the final declarator from a field for which i have only a getter and then adds a setter hibernate works as advertised. i will test this out. If no joy i might take you up on your

[Lift] Re: interaction with hibernate crowd?

2009-06-18 Thread Meredith Gregory
All, Can anyone recommend an alternative to hibernate for a JPA implementation? i've been stuck on this bug for several days, now; i need to move on. Best wishes, --greg On Thu, Jun 18, 2009 at 2:09 PM, Meredith Gregory lgreg.mered...@gmail.comwrote: Viktor, i finally got someone on the

[Lift] Re: Very basic questions

2009-06-18 Thread Kris Nuttycombe
Hi, and welcome to Lift! On Thu, Jun 18, 2009 at 10:46 AM, DFectuososantiago1...@gmail.com wrote: Hi! I'm starting to use lift/scala(I don't know either) and already I have a couple of (very very basic) questions. I'm reading The definitive guide to lift and even tho it's been enough to

[Lift] Re: interaction with hibernate crowd?

2009-06-18 Thread Kris Nuttycombe
Ah, this makes sense to me. Final fields in Hibernate-manage objects will almost certainly cause problems in my experience (at least using field-based access; I've no experience with property-based mappings.) Kris. On Thu, Jun 18, 2009 at 3:09 PM, Meredith Gregorylgreg.mered...@gmail.com wrote:

[Lift] Re: interaction with hibernate crowd?

2009-06-18 Thread Derek Chen-Becker
Is this final field something that is intended to be retrieved from the DB? As far as I know, JPA doesn't support final fields, period. If this getter is really just wrapping something else, it should be marked as @Transient. Derek On Thu, Jun 18, 2009 at 4:09 PM, Meredith Gregory

[Lift] Re: lift-paypal: Paypal Production PDT not working - help!

2009-06-18 Thread Derek Chen-Becker
It seems to me that the pdtPath should be configurable. If other people agree we should at least open an issue on GitHub to track this. Derek On Thu, Jun 18, 2009 at 3:07 PM, Dano olearydani...@gmail.com wrote: Resolved. I backed out my override on pdtPath and adjusted my paypal

[Lift] Re: interaction with hibernate crowd?

2009-06-18 Thread Meredith Gregory
Derek, Kris, Thanks. The problem is more subtle. i have modified my code emitter to not mark the field as final and to add the setter. i still get the same problem. However, i've got sample code derived from the emitted code that generates the correct schema. That is the key is used, not a

[Lift] Properties Files and Databases

2009-06-18 Thread Peter Robinett
Hi all, I'm looking to switch a basic Lift install to use MySQL. I see that this has been addressed on the wiki (http://wiki.liftweb.net/index.php/ HowTo_configure_lift_with_MySQL), though it involves hardcoding the connection details in Boot.scala. I'd like something easier to deploy to various

[Lift] Mapper and display generation

2009-06-18 Thread glenn
I'm looking for a relatively simple way to modify the form and form elements that are generated by Mapper, such as adding or modifying attributes. I've been using the following method in my model classes that extend Mapper: def mf(in: Node, name:String, value:String): NodeSeq = in match {

[Lift] Re: Thoughts on separation of display from logic

2009-06-18 Thread David Pollak
On Thu, Jun 18, 2009 at 11:27 AM, Kris Nuttycombe kris.nuttyco...@gmail.com wrote: Though that's undeniably a bit of a rabbit hole, it would also be the fully general solution and could have really interesting applications in terms of being able to bind not just full NodeSeqs but individual

[Lift] Re: lift-paypal: Paypal Production PDT not working - help!

2009-06-18 Thread David Pollak
On Thu, Jun 18, 2009 at 3:17 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: It seems to me that the pdtPath should be configurable. If other people agree we should at least open an issue on GitHub to track this. Sure. Derek On Thu, Jun 18, 2009 at 3:07 PM, Dano

[Lift] Re: New hosting for demo.liftweb.net

2009-06-18 Thread David Pollak
On Thu, Jun 18, 2009 at 4:32 PM, Alex Boisvert boisv...@intalio.com wrote: Typo: http://www.prgmr.com/ Thanks... can't spell... can't type On Thu, Jun 18, 2009 at 4:18 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: Is it really at prgrm.com? If I go there it looks like a hacked

[Lift] Re: Properties Files and Databases

2009-06-18 Thread David Pollak
If your username is peter, put a file in src/main/resources/props named peter.props In that file, place the following lines: db.driver=*the_name_name_of_your_driver* db.url=*the_url_to_access_your_database* db.user=*the_username* db.password=*the_db_password* test.me=true ** ** Add the

[Lift] Re: Making MetaMegaProtoUser templateable

2009-06-18 Thread David Pollak
I'd suggest copying/pasting the code from ProtoUser and MegaProtoUser and munging the code so that you don't have to work around the embedded MegaProtoUser code. See