Yo Burak,
thanks for the hints man!
I'm an imperative man and new to this flashy shit :)
On 9/28/07, Viktor Klang < viktor...@gmail.com> wrote:Yo Burak,
thanks for the hints man!
you're welcome ;-) see it as my attempt at fighting the immense lack of Scala documentation.
I'm an imperative man and new to this flashy shit :)
believe me bro, there's much more where this came from |-)
what about PLEAC?
B
> > > > > On 9/28/07, Viktor Klang <viktor.kl...@gmail.com> wrote:
>
> > > > > > Yo man, I'll code it up, test it out and submit it as a patch.
>
> > > > > > Best regards
> > > > > > Viktor
> > > > > > --
> > > > > > Software Architect
> > > > > > Yves Rocher Nordique
>
> > > > > > On 9/28/07, David Pollak <feeder.of.the.be...@gmail.com > wrote:
>
> > > > > > > Viktor,
>
> > > > > > > You are way more up on how to do Servlets than I am. This looks
> > > > > > > like a great change.
>
> > > > > > > Feel free to either open a ticket on the Google Code project or
> > > > > > > submit a patch (if you submit a patch, it would be ideal if you sign the IP
> > > > > > > Assignment agreement to keep the lift IP clean.)
>
> > > > > > > If I make the change, it'll be a week to 2 weeks before the code
> > > > > > > gets checked in.
>
> > > > > > > Thanks,
>
> > > > > > > David
>
> > > > > > > On 9/28/07, Viktor Klang < viktor.kl...@gmail.com > wrote:
>
> > > > > > > > Greets,
>
> > > > > > > > I was looking through some of the *lift* source and noticed
> > > > > > > > the strategy to use a servlet-mapping and then pipe out existing resources
> > > > > > > > if there are resources matching the request URI.
>
> > > > > > > > Why not use a Filter instead, and use a default-filtermapping?
> > > > > > > > This would remove the somewhat ugly readAndWrite-hack and the
> > > > > > > > arbitrary mime-type lookup.
> > > > > > > > in doFilter (note: pseudo-code)
>
> > > > > > > > if(isRealResource(requestURI))
> > > > > > > > filterChain.doFilter(request,response);
> > > > > > > > else
> > > > > > > > {
> > > > > > > > //do the *lift* stuff
> > > > > > > > }
>
> > > > > > > > Wouldn't this work much better and be cleaner?
>
> > > > > > > > Best regards
> > > > > > > > Viktor Klang
>
> > > > > > > --
> > > > > > > lift, the secure, simple, powerful web framework
> > > > > > >http://liftweb.net
>
> > > > > --
> > > > > Software Architect
> > > > > Yves Rocher Nordique
>
> > > > --
> > > > Burak Emir
> > > > Research Assistant / PhD Candidate
> > > > Programming Methods Group
> > > > EPFL, 1015 Lausanne, Switzerland
> > > >http://lamp.epfl.ch/~emir<http://lamp.epfl.ch/%7Eemir>
>
> > > --
> > > Software Architect
> > > Yves Rocher Nordique
>
> > --
> > Burak Emir
> > Research Assistant / PhD Candidate
> > Programming Methods Group
> > EPFL, 1015 Lausanne, Switzerland
> Well, I had an idea today, and discussed with John Nilsson (from the Scala
> list and also from my workplace),
> the thing is that I think currently functional programmers have a much
> easier time getting into the Scala groove.
> And I htink the win-strategy is to have a good way to embrace the imperative
> Java-monkeys.
>
> So, how about this: Every week someone posts a simple, relevant (no frickin'
> fibonacci crap) and small code problem written in plain Java to the
> Scala-list.
> And then all the different subscribers with different backgrounds come up
> with a Scala solution with comments and explanation on why they have solved
> the problem the way they did.
>
> This way we can have code-examples ranging from Java -> Javaesque Scala to
> Java -> Pure bred sleek Scala
>
> This gives us the possibility to teach the different types of approches and
> model a new way of thinking and structuring code for adopters coming from an
> imperative background.
>
> I'm an imperative man and new to this flashy shit :)
what about PLEAC?
http://pleac.sourceforge.net/
B
On 9/28/07, Viktor Klang <viktor...@gmail.com> wrote:
>
>
We could have a "port web application" a month :-). That would be a
great way of developing tutorials.
On Sep 28, 2:54 pm, "Viktor Klang" <viktor.kl...@gmail.com> wrote:
> On 9/28/07, Burak Emir <burak.e...@gmail.com> wrote:
> > > > > On 9/28/07, Viktor Klang <viktor.kl...@gmail.com> wrote:
>
> > > > > > Yo man, I'll code it up, test it out and submit it as a patch.
>
> > > > > > Best regards
> > > > > > Viktor
> > > > > > --
> > > > > > Software Architect
> > > > > > Yves Rocher Nordique
>
> > > > > > On 9/28/07, David Pollak <feeder.of.the.be...@gmail.com > wrote:
>
> > > > > > > Viktor,
>
> > > > > > > You are way more up on how to do Servlets than I am. This looks
> > > > > > > like a great change.
>
> > > > > > > Feel free to either open a ticket on the Google Code project or
> > > > > > > submit a patch (if you submit a patch, it would be ideal if you sign the IP
> > > > > > > Assignment agreement to keep the lift IP clean.)
>
> > > > > > > If I make the change, it'll be a week to 2 weeks before the code
> > > > > > > gets checked in.
>
> > > > > > > Thanks,
>
> > > > > > > David
>
> > > > > > > On 9/28/07, Viktor Klang < viktor.kl...@gmail.com > wrote:
>
> > > > > > > > Greets,
>
> > > > > > > > I was looking through some of the *lift* source and noticed
> > > > > > > > the strategy to use a servlet-mapping and then pipe out existing resources
> > > > > > > > if there are resources matching the request URI.
>
> > > > > > > > Why not use a Filter instead, and use a default-filtermapping?
> > > > > > > > This would remove the somewhat ugly readAndWrite-hack and the
> > > > > > > > arbitrary mime-type lookup.
> > > > > > > > in doFilter (note: pseudo-code)
>
> > > > > > > > if(isRealResource(requestURI))
> > > > > > > > filterChain.doFilter(request,response);
> > > > > > > > else
> > > > > > > > {
> > > > > > > > //do the *lift* stuff
> > > > > > > > }
>
> > > > > > > > Wouldn't this work much better and be cleaner?
>
> > > > > > > > Best regards
> > > > > > > > Viktor Klang
>
> > > > > > > --
> > > > > > > lift, the secure, simple, powerful web framework
> > > > > > >http://liftweb.net
>
> > > > > --
> > > > > Software Architect
> > > > > Yves Rocher Nordique
>
> > > > --
> > > > Burak Emir
> > > > Research Assistant / PhD Candidate
> > > > Programming Methods Group
> > > > EPFL, 1015 Lausanne, Switzerland
> > > >http://lamp.epfl.ch/~emir<http://lamp.epfl.ch/%7Eemir>
>
> > > --
> > > Software Architect
> > > Yves Rocher Nordique
>
> > --
> > Burak Emir
> > Research Assistant / PhD Candidate
> > Programming Methods Group
> > EPFL, 1015 Lausanne, Switzerland
>
> what about PLEAC?
>
> http://pleac.sourceforge.net/
There's also:
http://www.rubyquiz.com/
http://www.spoj.pl/problems/classical/
http://www.codekata.com/2007/01/code_kata_backg.html
I wasn't suggesting such, just giving more ideas for ideas to solve.
Yo Victor,
lift is a filter now instead of a servlet. Thanks!
David