[Lift] Re: A Critique On Lift
All, the _ name is also used frequently in C++ for template-based lambdas. At least it is in many of the Boost libraries. Jeremy On Fri, Oct 23, 2009 at 2:37 AM, Viktor Klang viktor.kl...@gmail.comwrote: My personal interpretation is sh!t I don't know here or don't care what it is On Fri, Oct 23, 2009 at 9:08 AM, Joni Freeman freeman.j...@gmail.comwrote: I love it too. While it is used in many different places it always means stuff that I do not care to name. BTW. high priest of the lambda calculus loves it too :) It has its roots in Haskell... http://channel9.msdn.com/shows/Going+Deep/C9-Lectures-Dr-Erik-Meijer-Functional-Programming-Fundamentals-Chapter-4-of-13/ Cheers Joni On 23 loka, 09:48, Jonas Bonér jbo...@gmail.com wrote: I love the _ operator. 2009/10/22 Timothy Perrett timo...@getintheloop.eu: I think this is a bit of a running joke in the scala comunity right now - your right, underscore really does have a number of meanings; I think this will be changed in some future Scala release. Your also forgetting: import some.package._ Cheers, Tim On 22 Oct 2009, at 12:57, tiro wrote: underscore. At least four different uses: - it for defining anonymous functions like above - default value - matching placeholder whose value is ignored - use for constructing setter method names boolean functions (empty_?) -- Jonas Bonér twitter: @jboner blog:http://jonasboner.com work: http://scalablesolutions.se code: http://github.com/jboner code: http://akkasource.org also:http://letitcrash.com -- Viktor Klang | A complex system that works is invariably | found to have evolved from a simple system | that worked. - John Gall Blog: klangism.blogspot.com Twttr: viktorklang Code: github.com/viktorklang --~--~-~--~~~---~--~~ 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 group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: scala-tools.org down
David, On Mon, Jun 29, 2009 at 8:28 AM, David Pollak feeder.of.the.be...@gmail.com wrote: The good news is that I've got pingdom monitoring the machine. The bad news is that I was out of cell phone range so I didn't get the alerts. What? You're not allowed to relax! Jeremy --~--~-~--~~~---~--~~ 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 group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: lift presentation
Guys, I just want to say that I haven't started using Lift yet but I already love it. This community is very supportive and responsive. Keep up the awesome work! Jeremy On Thu, Jun 25, 2009 at 7:21 AM, Wilson MacGyver wmacgy...@gmail.comwrote: heheh, no problem. I did the one on Scala back in Feb. :) On Thu, Jun 25, 2009 at 7:31 AM, Francois Armandfan...@gmail.com wrote: I did a presentation some weeks ago, the slides are under a creative common licence, so use them if you want ! http://fanf42.blogspot.com/2009/06/tour-of-scala-ossgtp-paris-oss-user.html OK, just ignore this message, it was a *Scala* presentation, not a *Lift* one - sorry, I read your post too quickly - and no, the fact that we were in Lift ml didn't make me find that strange :) -- -- Francois Armand http://fanf42.blogspot.com/ -- Omnem crede diem tibi diluxisse supremum. --~--~-~--~~~---~--~~ 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 group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: is there a name for this pattern?
Eric, I believe that something like that, in C++ at least, is referred to as the curiously recurring template pattern. Jeremy On Fri, Jun 19, 2009 at 1:18 AM, Eric Bowman ebow...@boboco.ie wrote: The basic trick where a superclass has its subclass as a type parameter, e.g. class User extends MegaProtoUser[User] I've run into this before, I remember struggling to get it, then getting it, but I can't recall the epiphany. But obviously this is a relatively common technique, so something to google is much appreciated. Thanks, Eric -- Eric Bowman Boboco Ltd ebow...@boboco.ie http://www.boboco.ie/ebowman/pubkey.pgp +35318394189/+353872801532http://www.boboco.ie/ebowman/pubkey.pgp%0A+35318394189/+353872801532 --~--~-~--~~~---~--~~ 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 group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Neo4J
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 liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Neo4J
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 Klang viktor.kl...@gmail.comwrote: 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: 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 liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: scalajpa - while accessing two distincts databases, the second access is made with a connection to the first database
Greg, On Tue, Jun 16, 2009 at 6:38 PM, Meredith Gregory lgreg.mered...@gmail.comwrote: It takes some serious training to think compositionally. No doubt it is extremely tough to think compositionally, and it's all too easy to fall back on non-compositional ways of thinking. In a similar vein it's all too easy to fall into procedural patterns when learning or working with functional programming in a multi-paradigm language. But what are good ways for programmers to learn to think compositionally and, more importantly, practice? Do you know of any books or online references that might help make the transition for anyone who is interested? Jeremy --~--~-~--~~~---~--~~ 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 group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Wolfram Alpha integration for Lift
I haven't played much with WolframAlpha, but I get the impression that it does better with quantitative results. For instance, if you were inclined to compare the number of people in Chicago to the number of people in Alaska you might create a query like this: http://www33.wolframalpha.com/input/?i=population+of+chicago+%2F+population+of+alaska Jeremy On Thu, Jun 11, 2009 at 1:31 PM, Timothy Perrett timo...@getintheloop.euwrote: Hey Greg, Im not sure that drawing comparisons to google is right? IMO, they dont do the same job...? I see why one would see similarities, but isnt google's purpose to find the sources of information, where as wolfram's aim is to provide an objective set of answers based on human input; http://www.wolframalpha.com/about.html Cheers, Tim On Jun 11, 7:14 pm, Meredith Gregory lgreg.mered...@gmail.com wrote: Tim, Could you enlighten me on the coolness of Wolfram Alpha? My initial forays and comparison to Google were depressingly unfavorable, but excellent if you're looking for some humor. See the summary below. Best wishes, --greg My standard test of a search engine: polyadic pi-calculus Google result: first hit is the Edinburgh tutorial prepared by Milner, still the best reference Wolfram Alpha: *Wolfram|Alpha isn't sure what to do with your input. Related inputs to try: pi.* This test, by the way, should be right in W|A's sweet spot. My next test: phred weasley Google result: Did you mean: *fred* weasley http://www.google.ca/search?hl=enclient=firefox-arls=org.mozilla:en.. .and then several links to Harry Potter W|A result: *Wolfram|Alpha isn't sure what to do with your input. Related inputs to try: Wesley.* My next test: fred weasley Google result: the top Harry Potter sites W|A result: Interpreting weasley as wesley -- -- Assuming Fred (female) | Use Fred (male)javascript:applyAssumption(1,'*DPClash.GivenNameE.fred-_*FredUnitedS tatesMaleName-')instead -- -- -- Input interpretation:[image: Fred (female given name) | Wesley (male given name)] -- -- Latest information for US births:[image: | Fred | Wesley\nrank | 985th (1929) | 194th (2008)\nfraction | 1 in 21277 people (0.0047%) (1929) | 1 in 1058 people (0.094%) (2008)\nnumber | 54 people per year (1929) | 2033 people per year (2008)] -- -- History for US births:Log scalejavascript:asynchronousPod('pod.jsp?id=MSP41119646i0hb5a62fg04fe2 11d660aid2aas=61',%20'0300','fred+weasley','',0) Morejavascript:asynchronousPod('pod.jsp?id=MSP41219646i0hb5a62fg058i05 06e54df6b4es=61',%20'0300','fred+weasley','',0) Fraction:[image: Fraction] On Thu, Jun 11, 2009 at 10:35 AM, Timothy Perrett timo...@getintheloop.euwrote: Hey Ty, Essentially the wolfram API is a REST / XMLRPC hybrid, so my plan is to model a scala abstraction around Apache HTTP (similar to the paypal integration) - speaking of which, i might actually abstract some of the common factories out of lift-paypal into lift-util if applicable. The interesting challenge will be that with wolfram, it can return a whole bunch of things, they could be graphs, text, sound - so i'll need some abstract way of making that presentable - perhaps some decoupled thing with a core communication group, then some lift specific abstractions for hooking into bind() or something... I've not figured it out yet in my head, so any thoughts are most welcome. Cheers, Tim On Jun 11, 6:16 pm, TylerWeir tyler.w...@gmail.com wrote: Sounds cool, I agree that there is much awesome in Alpha. How do you see this integration planning out? On Jun 11, 12:02 pm, Timothy Perrett timo...@getintheloop.eu wrote: Hey chaps, Im going to start work on integration with the wolfram alpha engine that i've of late become most obsessed with as its the coolest thing since sliced bread...http://www.wolframalpha.com/ New branch here: http://github.com/dpp/liftweb/tree/wip-tim-wolframalpha Anyone else in the commit team interested in working on this with me? Cheers, Tim -- L.G. Meredith Managing Partner Biosimilarity LLC 1219 NW 83rd St Seattle, WA 98117 +1 206.650.3740 http://biosimilarity.blogspot.com --~--~-~--~~~---~--~~ 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 group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en