Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

blueeyes-web · BlueEyes Web Framework

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 59
  • Category: Open Source
  • Founded: Apr 4, 2011
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 119 - 148 of 266   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#119 From: Noel Welsh <noelwelsh@...>
Date: Tue Mar 6, 2012 9:07 am
Subject: Re: Re: 0.6 SNAPSHOT changes
NoelWelsh
Send Email Send Email
 
In case any one is following this, the changes are on master. Configrity is the new configuration language.

N.

On Fri, Feb 24, 2012 at 3:23 PM, nick_matheson <nick_matheson@...> wrote:
Noel and John-


In trying to merge jdegoes/master with reportgrid/master and back again I discovered that the jdegoes/master is currently in a broken state (HttpServerServletSpec tests are failing).

I am happy to investigate that, but won't have time to get to it until mid next week.

Once that issue is resolved getting the two branches back in step shouldn't be a problem at all.

Cheers,

Nick



#120 From: Noel Welsh <noelwelsh@...>
Date: Sun Mar 11, 2012 8:57 am
Subject: BlueEyes updated to Akka 2.0
NoelWelsh
Send Email Send Email
 
Hi everyone,

I've just updated HEAD on master to use Akka 2.0. Everything seems to
work with this change. Could someone at ReportGrid please make a
snapshot release from this?

Thanks,
N.

#121 From: "Henry Story" <henry.story@...>
Date: Thu Mar 15, 2012 4:48 pm
Subject: TLS ( https ) support?
bblfish
Send Email Send Email
 
Does BlueEyes support TLS on the client and on the server?

I am working on WebID ( http://webid.info ) and am looking for a RESTful
framework that works with Akka and that would be useful for the work the W3C is
doing in that space.

I recently ported TLS to Play 2.0 [1] but they have not provided much feedback
or enthusiasm. Also their Promises library does not fit in nicely with Akka,
which is a bit problematic for Alexandre Bertails who is working at the  W3C
where he developed the  Pimp-my-RDF library [2]. So before making the jump I am
making a quick survey of the space.

It looks like spray is also a nice framework but they are not using Akka 2.0 -
and we need to build a demo for April. For WebID TLS and TLS renegotiation is
vital. But when I asked about TLS support in Akka I was told that they did not
have TLS support yet. But netty-client can deal with it nicely.

I saw some references to TLS in the BlueEyes code, but wanted to make sure
beforehand. What WebID needs on the server is the ability to do TLS
renegotiation in order to ask the client for a certificate when and only when
required -  netty allows that and I was able to get that to work in unfiltered
and in Play2.0. On the client TLS will be important to in order to allow the
server to fetch files protected behind https. Having all that use Akka 2.0 would
be ideal.

   Sincerely,

    Henry Story
   http://bblfish.net/

[1] https://github.com/bblfish/Play20
[2] https://github.com/betehess/pimp-my-rdf/
[3] https://github.com/spray/spray/wiki
[4] https://groups.google.com/d/topic/akka-user/rbfJAUOAmv4/discussion

#122 From: Noel Welsh <noelwelsh@...>
Date: Thu Mar 15, 2012 6:44 pm
Subject: Re: TLS ( https ) support?
NoelWelsh
Send Email Send Email
 
BlueEyes definitely supports HTTPS on client and server. Whether that is TLS I don't know. Hopefully someone else can answer with more authority. If the client doesn't, I have a client built on https://github.com/sonatype/async-http-client which might provide a better starting point. If so I'm happy to share it. I intend to get it into BlueEyes but haven't yet had the time to polish it.

Akka 2.0 is used in the latest 0.6 SNAPSHOT.

HTH,
N.

On Thu, Mar 15, 2012 at 4:48 PM, Henry Story <henry.story@...> wrote:
 

Does BlueEyes support TLS on the client and on the server?

I am working on WebID ( http://webid.info ) and am looking for a RESTful framework that works with Akka and that would be useful for the work the W3C is doing in that space.

I recently ported TLS to Play 2.0 [1] but they have not provided much feedback or enthusiasm. Also their Promises library does not fit in nicely with Akka, which is a bit problematic for Alexandre Bertails who is working at the W3C where he developed the Pimp-my-RDF library [2]. So before making the jump I am making a quick survey of the space.

It looks like spray is also a nice framework but they are not using Akka 2.0 - and we need to build a demo for April. For WebID TLS and TLS renegotiation is vital. But when I asked about TLS support in Akka I was told that they did not have TLS support yet. But netty-client can deal with it nicely.

I saw some references to TLS in the BlueEyes code, but wanted to make sure beforehand. What WebID needs on the server is the ability to do TLS renegotiation in order to ask the client for a certificate when and only when required - netty allows that and I was able to get that to work in unfiltered and in Play2.0. On the client TLS will be important to in order to allow the server to fetch files protected behind https. Having all that use Akka 2.0 would be ideal.

Sincerely,

Henry Story
http://bblfish.net/

[1] https://github.com/bblfish/Play20
[2] https://github.com/betehess/pimp-my-rdf/
[3] https://github.com/spray/spray/wiki
[4] https://groups.google.com/d/topic/akka-user/rbfJAUOAmv4/discussion



#123 From: Henry Story <henry.story@...>
Date: Thu Mar 15, 2012 7:07 pm
Subject: Re: TLS ( https ) support?
bblfish
Send Email Send Email
 

On 15 Mar 2012, at 19:44, Noel Welsh wrote:

 

BlueEyes definitely supports HTTPS on client and server. Whether that is TLS I don't know.

yep https is HTTP + TLS .
I'll look into blue yes and see if I can get the same magic to work as I did with unfiltered and Play2.0...

Hopefully someone else can answer with more authority. If the client doesn't, I have a client built on https://github.com/sonatype/async-http-client which might provide a better starting point. If so I'm happy to share it. I intend to get it into BlueEyes but haven't yet had the time to polish it.


Ah yes, I have already use async-http-client  to test a non blocking rdf/xml parser


and I was going to use that in the mean time in case of trouble.

But of course an akka ready version that can only be a plus of course, especially when writing libraries.


Akka 2.0 is used in the latest 0.6 SNAPSHOT.

thanks.


HTH,
N.

On Thu, Mar 15, 2012 at 4:48 PM, Henry Story <henry.story@...> wrote:
 

Does BlueEyes support TLS on the client and on the server?

I am working on WebID ( http://webid.info ) and am looking for a RESTful framework that works with Akka and that would be useful for the work the W3C is doing in that space.

I recently ported TLS to Play 2.0 [1] but they have not provided much feedback or enthusiasm. Also their Promises library does not fit in nicely with Akka, which is a bit problematic for Alexandre Bertails who is working at the W3C where he developed the Pimp-my-RDF library [2]. So before making the jump I am making a quick survey of the space.

It looks like spray is also a nice framework but they are not using Akka 2.0 - and we need to build a demo for April. For WebID TLS and TLS renegotiation is vital. But when I asked about TLS support in Akka I was told that they did not have TLS support yet. But netty-client can deal with it nicely.

I saw some references to TLS in the BlueEyes code, but wanted to make sure beforehand. What WebID needs on the server is the ability to do TLS renegotiation in order to ask the client for a certificate when and only when required - netty allows that and I was able to get that to work in unfiltered and in Play2.0. On the client TLS will be important to in order to allow the server to fetch files protected behind https. Having all that use Akka 2.0 would be ideal.

Sincerely,

Henry Story
http://bblfish.net/

[1] https://github.com/bblfish/Play20
[2] https://github.com/betehess/pimp-my-rdf/
[3] https://github.com/spray/spray/wiki
[4] https://groups.google.com/d/topic/akka-user/rbfJAUOAmv4/discussion




Social Web Architect
http://bblfish.net/


#124 From: "nick_matheson" <nick_matheson@...>
Date: Fri Mar 16, 2012 3:25 pm
Subject: Re: BlueEyes updated to Akka 2.0
nick_matheson
Send Email Send Email
 
Noel-

This raised a few issues so I wanted to communicate how I think things will go
forward.

1. Having jdegoes/blueeyes release to central probably makes more sense than the
reportgrid nexus as currently configured. (Derek is going to look into this.)

2. Once that is done Derek can issue credentials for publishing to blueeyes
devs.

This should decouple internal reportgrid stability decisions from the public
project process/fixes. Note, this doesn't change our resolve to stay in sync
just leaves the door open for our production needs. :)

Cheers,

Nick

--- In blueeyes-web@yahoogroups.com, Noel Welsh <noelwelsh@...> wrote:
>
> Hi everyone,
>
> I've just updated HEAD on master to use Akka 2.0. Everything seems to
> work with this change. Could someone at ReportGrid please make a
> snapshot release from this?
>
> Thanks,
> N.
>

#125 From: Noel Welsh <noelwelsh@...>
Date: Fri Mar 16, 2012 3:34 pm
Subject: Re: Re: BlueEyes updated to Akka 2.0
NoelWelsh
Send Email Send Email
 
This all makes sense to me. We have a BlueEyes release on repo.untyped.com, so I understand entirely the needs of production.

N.

On Fri, Mar 16, 2012 at 3:25 PM, nick_matheson <nick_matheson@...> wrote:

1. Having jdegoes/blueeyes release to central probably makes more sense than the reportgrid nexus as currently configured. (Derek is going to look into this.)

2. Once that is done Derek can issue credentials for publishing to blueeyes devs.

This should decouple internal reportgrid stability decisions from the public project process/fixes. Note, this doesn't change our resolve to stay in sync just leaves the door open for our production needs. :)


#126 From: "Henry Story" <henry.story@...>
Date: Tue Mar 20, 2012 4:54 pm
Subject: Re: TLS ( https ) support?
bblfish
Send Email Send Email
 
I opened an issue for TLS/SSL/https support in akka

http://www.assembla.com/spaces/akka/tickets/1933-missking-https-------support-(-\
aka-http-over-ssl-or-tls-)

I should have done that a few months ago. I don't see how a framework that is
completely based on akka can support TLS if akka does not. So for the moment
I'll be using wrappers around netty's async http client such as that provided by
Play. I'd rather not have to depend on the whole of Play for something like
this, and would much rather work with akka directly so that my code can work
with BlueEyes and other frameworks just as easily ....

Please add a vote on that ticket. Thanks.

--- In blueeyes-web@yahoogroups.com, "Henry Story" <henry.story@...> wrote:
>
> Does BlueEyes support TLS on the client and on the server?
>
> I am working on WebID ( http://webid.info ) and am looking for a RESTful
framework that works with Akka and that would be useful for the work the W3C is
doing in that space.
>
> I recently ported TLS to Play 2.0 [1] but they have not provided much feedback
or enthusiasm. Also their Promises library does not fit in nicely with Akka,
which is a bit problematic for Alexandre Bertails who is working at the  W3C
where he developed the  Pimp-my-RDF library [2]. So before making the jump I am
making a quick survey of the space.
>
> It looks like spray is also a nice framework but they are not using Akka 2.0 -
and we need to build a demo for April. For WebID TLS and TLS renegotiation is
vital. But when I asked about TLS support in Akka I was told that they did not
have TLS support yet. But netty-client can deal with it nicely.
>
> I saw some references to TLS in the BlueEyes code, but wanted to make sure
beforehand. What WebID needs on the server is the ability to do TLS
renegotiation in order to ask the client for a certificate when and only when
required -  netty allows that and I was able to get that to work in unfiltered
and in Play2.0. On the client TLS will be important to in order to allow the
server to fetch files protected behind https. Having all that use Akka 2.0 would
be ideal.
>
>   Sincerely,
>
>    Henry Story
>   http://bblfish.net/
>
> [1] https://github.com/bblfish/Play20
> [2] https://github.com/betehess/pimp-my-rdf/
> [3] https://github.com/spray/spray/wiki
> [4] https://groups.google.com/d/topic/akka-user/rbfJAUOAmv4/discussion
>

#127 From: Noel Welsh <noelwelsh@...>
Date: Tue Mar 20, 2012 5:05 pm
Subject: Re: Re: TLS ( https ) support?
NoelWelsh
Send Email Send Email
 
I think I'm missing something. BlueEyes very definitely supports HTTPS, as I have code running in production that uses it both in the server and the client. Akka provides many things, including some concurrency components (e.g. futures, actors), which BlueEyes uses, and some distributed systems components (e.g. remote actors) which BlueEyes does not use. I don't see that Akka support for TLS has any impact on using BlueEyes as a web framework to send or receive HTTPS requests.

HTH,
N.

On Tue, Mar 20, 2012 at 4:54 PM, Henry Story <henry.story@...> wrote:
 

I opened an issue for TLS/SSL/https support in akka

http://www.assembla.com/spaces/akka/tickets/1933-missking-https-------support-(-aka-http-over-ssl-or-tls-)

I should have done that a few months ago. I don't see how a framework that is completely based on akka can support TLS if akka does not. So for the moment I'll be using wrappers around netty's async http client such as that provided by Play. I'd rather not have to depend on the whole of Play for something like this, and would much rather work with akka directly so that my code can work with BlueEyes and other frameworks just as easily ....

Please add a vote on that ticket. Thanks.



#128 From: Henry Story <henry.story@...>
Date: Tue Mar 20, 2012 5:53 pm
Subject: Re: Re: TLS ( https ) support?
bblfish
Send Email Send Email
 

On 20 Mar 2012, at 18:05, Noel Welsh wrote:

 

I think I'm missing something.

Sorry, I have been looking at too many frameworks recently, and not progressing enough in my code...

BlueEyes very definitely supports HTTPS, as I have code running in production that uses it both in the server and the client. Akka provides many things, including some concurrency components (e.g. futures, actors), which BlueEyes uses, and some distributed systems components (e.g. remote actors) which BlueEyes does not use. I don't see that Akka support for TLS has any impact on using BlueEyes as a web framework to send or receive HTTPS requests.

Ah yes, I found the HttpsNettyServer class for starting the server. And I see there is something for secure in the client...

The documentation is a bit thin on the client which is what I really need here.
I need to find if I can get the asynchronous parser I wrote for netty client 

to work here too. I suppose so, but if anyone has pointer to an example...

Anyway, it's probably still useful to have that ticket on akka for TLS support. :-)

Henry
PS.  (( I am a bit surprised you don't have a client and server jar ))



HTH,
N.

On Tue, Mar 20, 2012 at 4:54 PM, Henry Story <henry.story@...> wrote:
 

I opened an issue for TLS/SSL/https support in akka

http://www.assembla.com/spaces/akka/tickets/1933-missking-https-------support-(-aka-http-over-ssl-or-tls-)

I should have done that a few months ago. I don't see how a framework that is completely based on akka can support TLS if akka does not. So for the moment I'll be using wrappers around netty's async http client such as that provided by Play. I'd rather not have to depend on the whole of Play for something like this, and would much rather work with akka directly so that my code can work with BlueEyes and other frameworks just as easily ....

Please add a vote on that ticket. Thanks.




Social Web Architect
http://bblfish.net/


#129 From: Henry Story <henry.story@...>
Date: Tue Mar 20, 2012 10:30 pm
Subject: asynchronous parsing with iteratees
bblfish
Send Email Send Email
 
I recently wrote an asynchronous parser for using the  netty-client library

 
https://dvcs.w3.org/hg/read-write-web/file/d9c1f87eee55/src/main/scala/cache/Web\
Fetcher.scala

I would like to use something more functional to do the same thing. I found that
I can do this in Play 2.0 with code such as

   WS.url(u.toString).withHeaders("Accept"->
        
"application/rdf+xml,text/turtle,application/xhtml+xml;q=0.8,text/html;q=0.7,tex\
t/n3;q=0.2").get{ response =>
          val lang = response.headers.get("Content-Type").map(_.head) match {
            case Some(mime) => {
              Lang(mime.split(";")(0)) getOrElse Lang.default
            }
            case None => RDFXML //todo: it would be better to try to do a bit of
guessing in this case by looking at content
          }

          val loc = response.headers.get("Content-Location").map(_.head) match {
            case Some(loc) => new URL(u, loc)
            case None => new URL(u.getProtocol, u.getAuthority, u.getPort,
u.getPath)
          }

          lang match {
            case RDFXML => Iteratee.fold[Array[Byte],RdfXmlFeeder](new
RdfXmlFeeder(loc.toString)){ (graph,bytes)=>
              if (graph.feeder.needMoreInput()) {
                graph.feeder.feedInput(bytes, 0, bytes.length)
              } else Done("ERROR: The feeder could not take any  more input for "
+ loc) //todo, throw error instead

              //should one check if asyncParser needs more input?
              graph.asyncParser.parse()
              graph
            }
            //case TURTLE => use my turtle parser in some way similar as above
            //case _ => Iteratee.fold([Array[Byte],InputStream])(new InputStream)
{ (in, bytes) =>

          }
        }

   case class RdfXmlFeeder(base: String) {
     lazy val asyncReader: AsyncXMLStreamReader = new
InputFactoryImpl().createAsyncXMLStreamReader();
     lazy val feeder: AsyncInputFeeder = asyncReader.getInputFeeder();
     lazy val model: Model = ModelFactory.createDefaultModel()
     lazy val asyncParser = new AsyncJenaParser(SAX2Model.create(base,
model),asyncReader)
   }

  I have not tested that yet, but it seems close to the mark. The nice thing is
that I can invoke
the async parser that can (and later will) send its results as they become
available on to some other process,
so as to reduce memory consumption: I could process a terabyte of data like this
in less than a megabyte of memory.

So the examples in blueeyes I have seen eg. BlueEyesClientDemo seems to use the
Bijection which as I understand
builds up a full object before transforming it. If the input were a few
terabytes large that could be problematic.

But I have probably missed something.  If so I hope this question helps with the
documentation :-)

	 Henry

Social Web Architect
http://bblfish.net/

#130 From: "Henry Story" <henry.story@...>
Date: Wed Mar 21, 2012 4:34 pm
Subject: Re: asynchronous parsing with iteratees
bblfish
Send Email Send Email
 
It turns out that play code does not work!

https://play.lighthouseapp.com/projects/82401-play-20/tickets/269-wsexecutestrea\
m-always-returns-null#ticket-269-2

It just returns null. Looks like it was never tested...

Anyway, is there a way to do something nice like that with BE? I looked at Scala
IO.Iteratees but they don't have a fold method...


--- In blueeyes-web@yahoogroups.com, Henry Story <henry.story@...> wrote:
>
>
> I recently wrote an asynchronous parser for using the  netty-client library
>
> 
https://dvcs.w3.org/hg/read-write-web/file/d9c1f87eee55/src/main/scala/cache/Web\
Fetcher.scala
>
> I would like to use something more functional to do the same thing. I found
that I can do this in Play 2.0 with code such as
>
>   WS.url(u.toString).withHeaders("Accept"->
>        
"application/rdf+xml,text/turtle,application/xhtml+xml;q=0.8,text/html;q=0.7,tex\
t/n3;q=0.2").get{ response =>
>          val lang = response.headers.get("Content-Type").map(_.head) match {
>            case Some(mime) => {
>              Lang(mime.split(";")(0)) getOrElse Lang.default
>            }
>            case None => RDFXML //todo: it would be better to try to do a bit
of guessing in this case by looking at content
>          }
>
>          val loc = response.headers.get("Content-Location").map(_.head) match
{
>            case Some(loc) => new URL(u, loc)
>            case None => new URL(u.getProtocol, u.getAuthority, u.getPort,
u.getPath)
>          }
>
>          lang match {
>            case RDFXML => Iteratee.fold[Array[Byte],RdfXmlFeeder](new
RdfXmlFeeder(loc.toString)){ (graph,bytes)=>
>              if (graph.feeder.needMoreInput()) {
>                graph.feeder.feedInput(bytes, 0, bytes.length)
>              } else Done("ERROR: The feeder could not take any  more input for
" + loc) //todo, throw error instead
>
>              //should one check if asyncParser needs more input?
>              graph.asyncParser.parse()
>              graph
>            }
>            //case TURTLE => use my turtle parser in some way similar as above
>            //case _ => Iteratee.fold([Array[Byte],InputStream])(new
InputStream) { (in, bytes) =>
>
>          }
>        }
>
>   case class RdfXmlFeeder(base: String) {
>     lazy val asyncReader: AsyncXMLStreamReader = new
InputFactoryImpl().createAsyncXMLStreamReader();
>     lazy val feeder: AsyncInputFeeder = asyncReader.getInputFeeder();
>     lazy val model: Model = ModelFactory.createDefaultModel()
>     lazy val asyncParser = new AsyncJenaParser(SAX2Model.create(base,
model),asyncReader)
>   }
>
>  I have not tested that yet, but it seems close to the mark. The nice thing is
that I can invoke
> the async parser that can (and later will) send its results as they become
available on to some other process,
> so as to reduce memory consumption: I could process a terabyte of data like
this in less than a megabyte of memory.
>
> So the examples in blueeyes I have seen eg. BlueEyesClientDemo seems to use
the Bijection which as I understand
> builds up a full object before transforming it. If the input were a few
terabytes large that could be problematic.
>
> But I have probably missed something.  If so I hope this question helps with
the documentation :-)
>
>  Henry
>
> Social Web Architect
> http://bblfish.net/
>

#131 From: Noel Welsh <noelwelsh@...>
Date: Wed Mar 21, 2012 10:07 pm
Subject: Re: Re: asynchronous parsing with iteratees
NoelWelsh
Send Email Send Email
 
Hi Henry,

A few things that might be of use to you:

The ByteChunk data type and Bijections are two things I've reasonably thoroughly documented: 

  http://noelwelsh.com/blueeyes/request-handlers.html

The ByteChunk is essentially a stream of bytes, so you can process it in a streaming manner. Similarly, you can write your own bijection to produce a stream of whatever data type you're interested in, to push the streaming paradigm further into your application.

If the documentation is lacking (it probably is), let me know and I'll try to fix it up.

The other thing to know is that a new IO system is in development, based on iteratees. I don't know any of the details, but I'm guessing it will use the iteratee implementation in Scalaz v7 (in development right now, at https://github.com/scalaz/scalaz/tree/scalaz-seven). If you look at the iteratee package you'll the ReportGrid have their grubby paws all over it (https://github.com/scalaz/scalaz/tree/scalaz-seven/iteratee/src/main/scala/scalaz/iteratee) There was a talk at NEScala on this (http://nescala.org/#t-3025132) but the video is not yet online.

HTH,
N.

On Wed, Mar 21, 2012 at 4:34 PM, Henry Story <henry.story@...> wrote:
 

It turns out that play code does not work!

https://play.lighthouseapp.com/projects/82401-play-20/tickets/269-wsexecutestream-always-returns-null#ticket-269-2

It just returns null. Looks like it was never tested...

Anyway, is there a way to do something nice like that with BE? I looked at Scala IO.Iteratees but they don't have a fold method...


#132 From: "John A. De Goes" <john@...>
Date: Wed Mar 21, 2012 10:18 pm
Subject: Re: asynchronous parsing with iteratees
jdegoes
Send Email Send Email
 

The Scalaz iteratee implementation is not performant enough for BlueEyes. I'm currently debating whether to use iteratees or something else entirely.

We have all the machinery to do an iteratee-based implementation, but the performance is just not there yet, and ease of use is pretty poor.
--
John A. De Goes
CEO / CTO / Founder
303.921.5784 - john@...



On Mar 21, 2012, at 4:07 PM, Noel Welsh wrote:

 

Hi Henry,


A few things that might be of use to you:

The ByteChunk data type and Bijections are two things I've reasonably thoroughly documented: 

  http://noelwelsh.com/blueeyes/request-handlers.html

The ByteChunk is essentially a stream of bytes, so you can process it in a streaming manner. Similarly, you can write your own bijection to produce a stream of whatever data type you're interested in, to push the streaming paradigm further into your application.

If the documentation is lacking (it probably is), let me know and I'll try to fix it up.

The other thing to know is that a new IO system is in development, based on iteratees. I don't know any of the details, but I'm guessing it will use the iteratee implementation in Scalaz v7 (in development right now, at https://github.com/scalaz/scalaz/tree/scalaz-seven). If you look at the iteratee package you'll the ReportGrid have their grubby paws all over it (https://github.com/scalaz/scalaz/tree/scalaz-seven/iteratee/src/main/scala/scalaz/iteratee) There was a talk at NEScala on this (http://nescala.org/#t-3025132) but the video is not yet online.

HTH,
N.

On Wed, Mar 21, 2012 at 4:34 PM, Henry Story <henry.story@...> wrote:
 

It turns out that play code does not work!

https://play.lighthouseapp.com/projects/82401-play-20/tickets/269-wsexecutestream-always-returns-null#ticket-269-2

It just returns null. Looks like it was never tested...

Anyway, is there a way to do something nice like that with BE? I looked at Scala IO.Iteratees but they don't have a fold method...




#133 From: Noel Welsh <noelwelsh@...>
Date: Wed Mar 28, 2012 7:01 pm
Subject: BlueEyes web site
NoelWelsh
Send Email Send Email
 
Hi all,

BlueEyes would benefit from a website beyond the current README, and I
think I'll be able to create one as part of my prep for Scala Days
talk. There are a few choices to be made. I've outlined them below. I
really really don't want to get bogged down on this, so if I don't
hear back by, say, next week I'll just go ahead and do something:

- Domain name. ReportGrid might want to own this. If not, I'll
purchase something appropriate.
- Hosting. Github Pages is the simplest. I can't set this up for
jdegoes/blueeyes as I don't have sufficient permissions. Unless
someone sets up something I will setup a Github pages site somewhere
and give all BE committers access to it.
- Design. I find discussions on design go nowhere because Everyone Is
A Designer. I have absolutely zero interest in getting into such a
discussion. I will design something unless someone else provides a
complete design (maybe matching precog/reportgrid) My design will use
Twitter Bootstrap, heavily feature the colour blue, and will probably
use Museo Slab as the title/heading font.

Cheers,
N.

#134 From: "John A. De Goes" <john@...>
Date: Thu Mar 29, 2012 12:05 am
Subject: Re: BlueEyes web site
jdegoes
Send Email Send Email
 

We can take care of the domain name & design if you like; I will try to give you additional permissions on jdegoes/blueeyes.
--
John A. De Goes
CEO / CTO / Founder
303.921.5784 - john@...



On Mar 28, 2012, at 12:01 PM, Noel Welsh wrote:

 

Hi all,

BlueEyes would benefit from a website beyond the current README, and I
think I'll be able to create one as part of my prep for Scala Days
talk. There are a few choices to be made. I've outlined them below. I
really really don't want to get bogged down on this, so if I don't
hear back by, say, next week I'll just go ahead and do something:

- Domain name. ReportGrid might want to own this. If not, I'll
purchase something appropriate.
- Hosting. Github Pages is the simplest. I can't set this up for
jdegoes/blueeyes as I don't have sufficient permissions. Unless
someone sets up something I will setup a Github pages site somewhere
and give all BE committers access to it.
- Design. I find discussions on design go nowhere because Everyone Is
A Designer. I have absolutely zero interest in getting into such a
discussion. I will design something unless someone else provides a
complete design (maybe matching precog/reportgrid) My design will use
Twitter Bootstrap, heavily feature the colour blue, and will probably
use Museo Slab as the title/heading font.

Cheers,
N.



#135 From: Noel Welsh <noelwelsh@...>
Date: Thu Mar 29, 2012 8:08 pm
Subject: Re: BlueEyes web site
NoelWelsh
Send Email Send Email
 
On Thu, Mar 29, 2012 at 1:05 AM, John A. De Goes <john@...> wrote:
We can take care of the domain name & design if you like

Sounds good to me. The tagline I was going to use is "The web framework of the Future" which of course is an uproarious double entendre. Feel free to use it or not.
 
I will try to give you additional permissions on jdegoes/blueeyes.

I think all you need to do is enable Github Pages (click "Admin", select option) and then possibly assign permissions to allow existing developers to edit the pages.

Cheers,
N. 
 
 

#136 From: Dave Gurnell <d.j.gurnell@...>
Date: Fri Mar 30, 2012 8:12 am
Subject: Re: BlueEyes web site
dave_gurnell
Send Email Send Email
 
Hi John,

If you have to give Noel permissions on the web site, can you also add me in?

I'm the other half of Untyped - I'll be helping with the site. Noel can vouch for my identity. Github username "davegurnell".

Cheers,

-- Dave

On 29 Mar 2012, at 21:08, Noel Welsh wrote:

 

On Thu, Mar 29, 2012 at 1:05 AM, John A. De Goes <john@...> wrote:

We can take care of the domain name & design if you like

Sounds good to me. The tagline I was going to use is "The web framework of the Future" which of course is an uproarious double entendre. Feel free to use it or not.
 
I will try to give you additional permissions on jdegoes/blueeyes.

I think all you need to do is enable Github Pages (click "Admin", select option) and then possibly assign permissions to allow existing developers to edit the pages.

Cheers,
N. 
 
 



#137 From: Noel Welsh <noelwelsh@...>
Date: Fri Mar 30, 2012 9:13 am
Subject: Re: BlueEyes web site
NoelWelsh
Send Email Send Email
 
On Fri, Mar 30, 2012 at 9:12 AM, Dave Gurnell <d.j.gurnell@...> wrote:
I'm the other half of Untyped

True dat.

N.

#138 From: "John A. De Goes" <john@...>
Date: Fri Mar 30, 2012 1:22 pm
Subject: Re: BlueEyes web site
jdegoes
Send Email Send Email
 

Done. I enabled GitHub pages and added Dave. Should be good to go.
--
John A. De Goes
CEO / CTO / Founder
303.921.5784 - john@...



On Mar 30, 2012, at 3:13 AM, Noel Welsh wrote:

 

On Fri, Mar 30, 2012 at 9:12 AM, Dave Gurnell <d.j.gurnell@...> wrote:

I'm the other half of Untyped

True dat.

N.



#139 From: "debelyoo" <jean.rossier@...>
Date: Tue Apr 3, 2012 9:28 pm
Subject: SSL certificate integration
debelyoo
Send Email Send Email
 
Hello,

I'm trying to configure blueeyes to work with my SSL certificate. I looked for
documentation on the web but I did not find much.
Has anybody already configured blueeyes with a valid SSL certificate ?
I guess I need to specify my keystore file path somehow…

Any help would be much appreciated.

Cheers,
Jean

#140 From: "John A. De Goes" <john@...>
Date: Wed Apr 4, 2012 3:35 pm
Subject: Re: SSL certificate integration
jdegoes
Send Email Send Email
 

You have to specify it in the configuration file. Something like sslCert or sslKey. Grep the codebase for 'ssl' for the exact settings you need (or check out the automated tests which cover this use case).
--
John A. De Goes
CEO / CTO / Founder
303.921.5784 - john@...



On Apr 3, 2012, at 3:28 PM, debelyoo wrote:

 

Hello,

I'm trying to configure blueeyes to work with my SSL certificate. I looked for documentation on the web but I did not find much.
Has anybody already configured blueeyes with a valid SSL certificate ?
I guess I need to specify my keystore file path somehow…

Any help would be much appreciated.

Cheers,
Jean



#141 From: "mlagutko" <mlagutko@...>
Date: Fri Apr 6, 2012 3:52 pm
Subject: Re: SSL certificate integration
mlagutko
Send Email Send Email
 
Hello,

you have to add the following configuration:

server {
   ssl{
     certificateEntry {
       privateKey = "keyvalue"
       certificate = "certificatevalue"
   }
}

keyvalue and certificatevalue must be base64 decoded.

Bye, Misha.

--- In blueeyes-web@yahoogroups.com, "debelyoo" <jean.rossier@...> wrote:
>
> Hello,
>
> I'm trying to configure blueeyes to work with my SSL certificate. I looked for
documentation on the web but I did not find much.
> Has anybody already configured blueeyes with a valid SSL certificate ?
> I guess I need to specify my keystore file path somehow…
>
> Any help would be much appreciated.
>
> Cheers,
> Jean
>

#142 From: "debelyoo" <jean.rossier@...>
Date: Sun Apr 8, 2012 3:30 pm
Subject: Re: SSL certificate integration
debelyoo
Send Email Send Email
 
Thanks for the Reply !

Jean

--- In blueeyes-web@yahoogroups.com, "mlagutko" <mlagutko@...> wrote:
>
> Hello,
>
> you have to add the following configuration:
>
> server {
>   ssl{
>     certificateEntry {
>       privateKey = "keyvalue"
>       certificate = "certificatevalue"
>   }
> }
>
> keyvalue and certificatevalue must be base64 decoded.
>
> Bye, Misha.
>
> --- In blueeyes-web@yahoogroups.com, "debelyoo" <jean.rossier@> wrote:
> >
> > Hello,
> >
> > I'm trying to configure blueeyes to work with my SSL certificate. I looked
for documentation on the web but I did not find much.
> > Has anybody already configured blueeyes with a valid SSL certificate ?
> > I guess I need to specify my keystore file path somehow…
> >
> > Any help would be much appreciated.
> >
> > Cheers,
> > Jean
> >
>

#143 From: "debelyoo" <jean.rossier@...>
Date: Mon Apr 9, 2012 1:53 pm
Subject: Handling time-outs
debelyoo
Send Email Send Email
 
Hello,
is there a good way of handling time-outs in BlueEyes ?

Something similar to what is available in Play 2.0
(http://www.playframework.org/documentation/2.0/ScalaAsync)

Cheers
Jean

#144 From: Noel Welsh <noelwelsh@...>
Date: Tue Apr 10, 2012 6:09 am
Subject: Re: Handling time-outs
NoelWelsh
Send Email Send Email
 
Blueeyes Future's are just Akka Futures (I'm assuming we're talking about 0.6 here) so the API is what Akka gives you. I can't see anything for dealing directly with time outs in the same way as Play, but you could roll your own using Future.firstCompletedOf and a Scheduler.

N.

On Mon, Apr 9, 2012 at 2:53 PM, debelyoo <jean.rossier@...> wrote:
 

Hello,
is there a good way of handling time-outs in BlueEyes ?

Something similar to what is available in Play 2.0 (http://www.playframework.org/documentation/2.0/ScalaAsync)

Cheers
Jean



#145 From: Noel Welsh <noelwelsh@...>
Date: Thu Apr 12, 2012 2:41 pm
Subject: Re: Handling time-outs
NoelWelsh
Send Email Send Email
 
Hello,

Did you get this working? If not I can provide sample code.

Cheers,
N.

On Tue, Apr 10, 2012 at 7:09 AM, Noel Welsh <noelwelsh@...> wrote:
Blueeyes Future's are just Akka Futures (I'm assuming we're talking about 0.6 here) so the API is what Akka gives you. I can't see anything for dealing directly with time outs in the same way as Play, but you could roll your own using Future.firstCompletedOf and a Scheduler.

N.


On Mon, Apr 9, 2012 at 2:53 PM, debelyoo <jean.rossier@...> wrote:
 

Hello,
is there a good way of handling time-outs in BlueEyes ?

Something similar to what is available in Play 2.0 (http://www.playframework.org/documentation/2.0/ScalaAsync)

Cheers
Jean


#146 From: "debelyoo" <jean.rossier@...>
Date: Thu Apr 12, 2012 4:58 pm
Subject: Re: Handling time-outs
debelyoo
Send Email Send Email
 
I did not have time to look at it in details. I'll hopefully work on it this
week-end. I'll keep you posted. But thanks for the help anyway !

Jean

--- In blueeyes-web@yahoogroups.com, Noel Welsh <noelwelsh@...> wrote:
>
> Hello,
>
> Did you get this working? If not I can provide sample code.
>
> Cheers,
> N.
>
> On Tue, Apr 10, 2012 at 7:09 AM, Noel Welsh <noelwelsh@...> wrote:
>
> > Blueeyes Future's are just Akka Futures (I'm assuming we're talking about
> > 0.6 here) so the API is what Akka gives you. I can't see anything for
> > dealing directly with time outs in the same way as Play, but you could roll
> > your own using Future.firstCompletedOf and a Scheduler.
> >
> > N.
> >
> >
> > On Mon, Apr 9, 2012 at 2:53 PM, debelyoo <jean.rossier@...> wrote:
> >
> >> **
> >>
> >>
> >> Hello,
> >> is there a good way of handling time-outs in BlueEyes ?
> >>
> >> Something similar to what is available in Play 2.0 (
> >> http://www.playframework.org/documentation/2.0/ScalaAsync)
> >>
> >> Cheers
> >> Jean
> >>
> >>
>

#147 From: Noel Welsh <noelwelsh@...>
Date: Thu Apr 19, 2012 10:16 am
Subject: Book updates
NoelWelsh
Send Email Send Email
 
Hi everyone,

I managed to knock out some more content on the book during the train
ride to/from Scala Days. The main new stuff is:

- http://noelwelsh.com/blueeyes/concurrency.html  New section on
Futures. I'd particularly like feedback on this section as it contains
somewhat opinionated ideas on error handling
- http://noelwelsh.com/blueeyes/request-handlers.html  Reorganised and
extended the section on request handlers
- http://noelwelsh.com/blueeyes/setup.html  A small section on the sbt
configuration for BE

I've also extended the intro slightly (there is an example config file
so the CalculatorService can be run without any additional work) and
updated content that referred to old versions of BE.

If anyone has any comments or feedback I'd love to hear them.

Cheers,
N.

#148 From: "John A. De Goes" <john@...>
Date: Thu Apr 19, 2012 4:06 pm
Subject: Re: Book updates
jdegoes
Send Email Send Email
 

Nice work!

We largely follow the principle that Validation should be used in place of exceptions. This is more difficult with Akka's futures because they are tri-state (success, failure, timeout) when they should really be mono-state (Either[Throwable, A]). 

I've talked to Victor about this on several occasions. He's expressed some interest in at least having Future extend a trait Eventually[Either[Throwable, A]]. If this happens, BlueEyes would probably stop using Future directly, and instead use the supertrait, relying on Scalaz typeclasses for Future functionality.
--
John A. De Goes
CEO / CTO / Founder
303.921.5784 - john@...



On Apr 19, 2012, at 4:16 AM, Noel Welsh wrote:

 

Hi everyone,

I managed to knock out some more content on the book during the train
ride to/from Scala Days. The main new stuff is:

- http://noelwelsh.com/blueeyes/concurrency.html New section on
Futures. I'd particularly like feedback on this section as it contains
somewhat opinionated ideas on error handling
- http://noelwelsh.com/blueeyes/request-handlers.html Reorganised and
extended the section on request handlers
- http://noelwelsh.com/blueeyes/setup.html A small section on the sbt
configuration for BE

I've also extended the intro slightly (there is an example config file
so the CalculatorService can be run without any additional work) and
updated content that referred to old versions of BE.

If anyone has any comments or feedback I'd love to hear them.

Cheers,
N.



Messages 119 - 148 of 266   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help