One small step for Lift and Akka, one giant leap for Scala!
Thanks, David and Jonas!
Heiko
2009/10/22 Marius marius.dan...@gmail.com
Just Simple Beautiful ! ... Nice work Dave and Jonas.
Br's,
Marius
On Oct 22, 9:57 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
Folks,
I
Chris Lewis burningodzi...@gmail.com writes:
Hi list,
I'm working on an appengine app, and need to store some user
information. I authenticate the user with their google account, and I
need to create their local entity only if it's their first time
logging in.
When a user logs in via
Ross,
Personally I think that Python is great for small simple things, but
as soon as you start to scale the lack of statically checked
guarantees starts to bite you.
What you said about the problems with dynamically typed
scripting language is very true. Python is so powerful but the
code
On Oct 23, 2009, at 2:31 AM, jlist9 wrote:
Regarding () and {} BTW, you can replace a single-argument argument
list with {}, e.g.
def myFunction(a: String): Unit = println(a)
myFunction(foobar)
myFunction { foobar }
I find the following three lines of code do the same thing.
Thanks for
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
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...
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
I *think* you're referring to a thread I started some time ago:
http://www.nabble.com/functional-newbie,-domain-entities-td22957479.html
It turned out to be a lively discussion. On a related note, Jonas Boner
gisted this in August:
http://gist.github.com/173921
It's not full code, but it
Hi all,
Sorry for the late update. Had a few busy weeks business wise.
I am a Dutch self taught software writer. I am running my own company
from home and planning to use lift to make rich web applications.
Meanwhile I work part time as a coder for a healthcare company to pay
the bills. I have
Folks,
After yesterday's issues surrounding the breaking changes in Lift, I've
decided to create a low volume group called Lift Announce. You can see the
group at http://groups.google.com/group/lift-announce?lnk=gcimh
This group is an announce-only group which means that only the 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
Welkom Dirk,
Je moet de HU ook echt te makkelijk vinden? je zit nu in de tweede?
I'll continue in english ;) . As a fellow Dutchman I couldn't resist
googlening you. I found out that we're going to the same School (HU).
I'm a third year student and doing my internship in the US atm. I'll
be back
hi guys,
I'm looking for a way to generate an rss feed with lift, I'm working
on something like this (from lift-book):
object OwnRssFeed extends XMLApiHelper {
def dispatch: LiftRules.DispatchPF = {
case Req(rss :: Nil, , GetRequest) = () = showArticles()
case Req(rss :: _ :: Nil, ,
i believe that one of the best ways to learn a new programming
language is to read software written in it
when reading Scala code, I rarely say i don't understand how that
works and when I do, there's usually a good explanation of it
somewhere on the web.
usually I find myself asking where is
bob wrote:
i believe that one of the best ways to learn a new programming
language is to read software written in it
when reading Scala code, I rarely say i don't understand how that
works and when I do, there's usually a good explanation of it
somewhere on the web.
usually I find
Hello guys,
I have created an API to process a PUT request and a GET request. The
GET works perfectly fine, but with the PUT the XML seems to be lost in
its way. I have the following code:
def dispatch: LiftRules.DispatchPF = {
case Req(api :: person :: userName :: Nil, ,
Thanks for that link, however it doesn't seem like rewrite rules fire
for paths that are mapped in the SiteMap. Can anyone confirm that? I
could have the redirect point to a non-existing URL, and do logic +
rewrite there. I'm curious though, are rewrites considered if the URL
matches a page
Chris,
SiteMap deals with what pages you are saying should be visible. Here,
I term page as the physical xhtml file that represents the stuff
the users sees - its a file on your system.
Rewritten URLs dont need to feature in SiteMap because lift is clever
enough to know that the page you
I was running the models of One-To-Many example from WiKi (http://
wiki.github.com/dpp/liftweb/how-to-work-with-one-to-many-
relationships) against PostgreSQL hoping to see a foreign key
constraint on the Book table. I got an index instead.
Is there a way to get schemifier to acknowledge the
Hi Tim,
I don't specifically want to rewrite anything. What I want is to be able
to run some initialization code when a specific page is requested. As I
said, I'm writing a google app engine app that uses google's
authentication service to auth users (using their google account). I'm
My head just exploded. Twice.
ngocdaothanh wrote:
Because Lift's ad is so good.
*boom*
For example:
Lift is the only new framework in the last four years to offer fresh
and innovative approaches to web development. It's not just some
incremental improvements over the status quo, it
Ah. In that case, does this help:
Menu(Loc(Some, List(some,page), Some,
EarlyResponse(() = {
// do some response here,
// return Empty if you dont want
// a response but a filter style
// intercept.
Empty
})
))
Does that
On Fri, Oct 23, 2009 at 9:15 AM, Chris Lewis burningodzi...@gmail.comwrote:
My head just exploded. Twice.
That explains the wet face this morning when I woke up... thought it was the
dog licking it... :)
ngocdaothanh wrote:
Because Lift's ad is so good.
*boom*
It was good. My first
On Fri, Oct 23, 2009 at 9:29 AM, Jim Barrows jim.barr...@gmail.com wrote:
On Fri, Oct 23, 2009 at 9:15 AM, Chris Lewis burningodzi...@gmail.comwrote:
My head just exploded. Twice.
That explains the wet face this morning when I woke up... thought it was
the dog licking it... :)
I don't know if this will help, but I use a simple createTag to just
enclose the full xml so it has a root element:
def createTag(in: NodeSeq) = {
apbul_apii{in}/apbul_api
}
and then showArticles would call into a feed wrapper, passing in the
result of yield, like this for an Atom
It's often hard to describe some (I'd say most) of the Scala syntax
if you want to search for an answer online.
It would be great if the eclipse plugin can tell you what the code is
trying to do and what kind of syntax is that, for example, linking
an operator back to a method name.
On Fri, Oct
I have printed Req in the log and it looks like the XML is really empty:
Req(List(), Map(), ParsePath(List(api, person),,true,false), ,
PutRequest, Empty)
This is how I send the XML:
def post(url:URL):String = {
val message =
person
userNameJohn/userName
In order to trigger XML parsing, you have to set the Content-Type to
text/xml
On Fri, Oct 23, 2009 at 10:30 AM, GA my_li...@me.com wrote:
I have printed Req in the log and it looks like the XML is really empty:
Req(List(), Map(), ParsePath(List(api, person),,true,false), ,
PutRequest,
jlist9 wrote:
It's often hard to describe some (I'd say most) of the Scala syntax
if you want to search for an answer online.
I can't relate with that. I've been coding scala for 3-4 months, and
I've never had any problem finding method definitions. Most of this
probably had to do with
Don't you have a Windows machine that you can install SQL Server Express on?
On Wed, Oct 21, 2009 at 6:02 PM, Derek Chen-Becker dchenbec...@gmail.comwrote:
Hi,
I've made some changes to Mapper to better support SQL Server,
particularly with Unicode text. Does anyone out there use SQL
Timothy Perrett timo...@getintheloop.eu writes:
Ah. In that case, does this help:
Menu(Loc(Some, List(some,page), Some,
EarlyResponse(() = {
// do some response here,
// return Empty if you dont want
// a response but a filter style
//
I'll repeat: there are no operators in scala
s/operators/methods-with-operator-like-names/
anywhere, here's a typical case:
import some.library.package.foo._
val a = bar 42
val b = a ~!~ 3.14159
you can't easily tell that bar is being imported via foo._ .
what is bar's return type?
what does
I have one virtual Win2K instance for some legacy software, but looking at
the requirements that doesn't seem to be supported.
On Fri, Oct 23, 2009 at 1:10 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
Don't you have a Windows machine that you can install SQL Server Express
on?
On Wed,
Will non-committers be able to reply on a thread?
On Fri, Oct 23, 2009 at 9:07 AM, David Pollak feeder.of.the.be...@gmail.com
wrote:
Folks,
After yesterday's issues surrounding the breaking changes in Lift, I've
decided to create a low volume group called Lift Announce. You can see the
On Fri, Oct 23, 2009 at 12:10 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
Don't you have a Windows machine that you can install SQL Server Express
on?
Even if Derek does have such a machine, he's been doing an awful lot of work
on Lift. Recruiting people from the community to help is
On Fri, Oct 23, 2009 at 1:04 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
Will non-committers be able to reply on a thread?
We'll cross-post to the Lift list. People can discuss on that list.
The point of the announce list is so that people who don't have the
bandwidth to track the Lift
100%. Just curious. :)
On Fri, Oct 23, 2009 at 4:05 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Fri, Oct 23, 2009 at 12:10 PM, Naftoli Gugenheim
naftoli...@gmail.comwrote:
Don't you have a Windows machine that you can install SQL Server Express
on?
Even if Derek does
I'm pretty much 100% linux at home. I can test any other database (Oracle,
MySQL, PostgreSQL, etc), but SQL Server is the exception :)
On Fri, Oct 23, 2009 at 2:14 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
100%. Just curious. :)
On Fri, Oct 23, 2009 at 4:05 PM, David Pollak
On Wed, Oct 21, 2009 at 7:20 AM, Derek Chen-Becker dchenbec...@gmail.comwrote:
It sounds like you're pretty set against making separate impl traits and
would prefer just putting things directly on TimeHelper. I'm OK with that,
but I would really like to add a lift-joda module that contains the
Well, I had intended to write a JodaHelpers trait that is the same as
Helpers except with JodaTimeHelpers and JodaTimeFormats replacing
TimeHelpers and TimeFormats, respectively. The main reason is that I would
like to have the time DSL be based on Periods instead of millisecond
durations, and
Seeing a great many of these on my postgresql logs:
2009-10-23 21:35:02 UTC WARNING: there is no transaction in progress
2009-10-23 21:35:02 UTC STATEMENT: COMMIT
Any idea what might be causing this? I can filter them out but
a) that would be a little annoying
b) vaguely worried that
On Fri, Oct 23, 2009 at 2:35 PM, Derek Chen-Becker dchenbec...@gmail.comwrote:
Well, I had intended to write a JodaHelpers trait that is the same as
Helpers except with JodaTimeHelpers and JodaTimeFormats replacing
TimeHelpers and TimeFormats, respectively. The main reason is that I would
When an connection is finished on a thread, if no exception has happened,
the connection is committed
This will be fixed after I finish with defect 129 (I'm currently working on
it)
On Fri, Oct 23, 2009 at 2:36 PM, harryh har...@gmail.com wrote:
Seeing a great many of these on my postgresql
Folks,
Any idea why NetBeans doesn't like the new Lift pom structure?
Thanks,
David
--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics
Period is field-based, and therefore deals with non-linear time changes like
daylight savings time. Periods can be converted to millisecond durations
based on standard field durations (60 seconds == 1 minute, etc) if needed,
so it's a superset of the current functionality of TimeSpan.
On Fri, Oct
On Fri, Oct 23, 2009 at 2:55 PM, Derek Chen-Becker dchenbec...@gmail.comwrote:
Period is field-based, and therefore deals with non-linear time changes
like daylight savings time. Periods can be converted to millisecond
durations based on standard field durations (60 seconds == 1 minute, etc)
Ahhh sorry I didn't see this before - I'm using lift mapper with SQL
server at work.
I can test this no worries. Just let me know what I should try ;-)
Cheers, Tim
Sent from my iPhone
On 23 Oct 2009, at 21:18, Derek Chen-Becker dchenbec...@gmail.com
wrote:
I'm pretty much 100% linux at
But if you name your method: ashiuahsdyasdasd what does it do?
On Fri, Oct 23, 2009 at 9:47 PM, bob rbpas...@gmail.com wrote:
I'll repeat: there are no operators in scala
s/operators/methods-with-operator-like-names/
anywhere, here's a typical case:
import some.library.package.foo._
That's pretty much my take. The whole Java Calendar/Date/Timezone impl is
poorly designed, hence Joda Time.
I like Joda Time too, and used to be apprehensive about integrating it
as a dependency into my projects -- at least for simple things that I
could probably do with Date/Calendar, just
Thank you for this, and so quickly! I was able to leverage this for
what I needed.
--~--~-~--~~~---~--~~
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
On Fri, Oct 23, 2009 at 3:17 PM, Viktor Klang viktor.kl...@gmail.comwrote:
But if you name your method: ashiuahsdyasdasd what does it do?
Oh Bloddy Ell... that caused Cthulu to appear on my keyboard when I read
it
On Fri, Oct 23, 2009 at 9:47 PM, bob rbpas...@gmail.com wrote:
I'll
Sure, I could create a trait as you suggested... But, this sounds
like a common problem -- does this not already exist? I see
discussions about adding it to Scala, but I don't think it exists.
And Lift already has a logging infrastructure (i.e. LogBoot as you
suggest). Does it not make sense
On Sat, Oct 24, 2009 at 12:23 AM, Jim Barrows jim.barr...@gmail.com wrote:
On Fri, Oct 23, 2009 at 3:17 PM, Viktor Klang viktor.kl...@gmail.comwrote:
But if you name your method: ashiuahsdyasdasd what does it do?
Oh Bloddy Ell... that caused Cthulu to appear on my keyboard when I read
On Fri, Oct 23, 2009 at 3:28 PM, Viktor Klang viktor.kl...@gmail.comwrote:
On Sat, Oct 24, 2009 at 12:23 AM, Jim Barrows jim.barr...@gmail.comwrote:
On Fri, Oct 23, 2009 at 3:17 PM, Viktor Klang viktor.kl...@gmail.comwrote:
But if you name your method: ashiuahsdyasdasd what does it do?
Oh
I could do that, but I would still have an ambiguous definition of now,
today, epoch, etc if I want to use Joda Time and the requirement is that
an import Helpers._ cannot conflict. The whole reason that I want to write a
separate trait is that Lift currently has some nice convenience methods and
http://coderack.org/users/MetaSkills/entries/15-zombie-shotgun
and yes, I'm volunteering. :)
--
James A Barrows
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to
On Fri, Oct 23, 2009 at 3:53 PM, Derek Chen-Becker dchenbec...@gmail.comwrote:
I could do that, but I would still have an ambiguous definition of now,
today, epoch, etc if I want to use Joda Time and the requirement is that
an import Helpers._ cannot conflict.
now, today and epoch are not
I'll make these changes and work on improving the internal implementation of
TimeSpan and TimeHelpers to work better within the existing method
signatures, but I want to be clear that I'm extremely unhappy that I can't
be accommodated otherwise.
Thanks,
Derek
On Fri, Oct 23, 2009 at 5:05 PM,
Hi, all,
I've been messing around with Loc a bit to try to tighten up the type
safety of the parameterized type and add authentication LocParams that
can be aware of the current value encapsulated by the Loc. I've put up
some changes on the kjn-loc-wip branch and would really like some
feedback.
Great suggestions - thanks guys!
Jeppe Nejsum Madsen wrote:
Timothy Perrett timo...@getintheloop.eu writes:
Ah. In that case, does this help:
Menu(Loc(Some, List(some,page), Some,
EarlyResponse(() = {
// do some response here,
// return Empty if you dont
I ran into that -it's a missing version number in the root pom. Fixed
in my kjn-loc-wip branch if you just want to grab it from there.
On Fri, Oct 23, 2009 at 3:41 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
Folks,
Any idea why NetBeans doesn't like the new Lift pom structure?
61 matches
Mail list logo