[jira] [Commented] (PIO-86) Maintain a working docker container

2017-07-02 Thread Steven Yan (JIRA)

[ 
https://issues.apache.org/jira/browse/PIO-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16071850#comment-16071850
 ] 

Steven Yan commented on PIO-86:
---

For now, the pio v0.11.0 is available at 
http://apache.mirrors.pair.com/incubator/predictionio/0.11.0-incubating/
and no packaged v0.12.0 is available at apache. 
So I will work on Dockerfile for pio v0.11.0 for now.

> Maintain a working docker container
> ---
>
> Key: PIO-86
> URL: https://issues.apache.org/jira/browse/PIO-86
> Project: PredictionIO
>  Issue Type: Wish
>Reporter: Sara Asher
>  Labels: needs-discussion
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (PIO-86) Maintain a working docker container

2017-06-05 Thread Steven Yan (JIRA)

[ 
https://issues.apache.org/jira/browse/PIO-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16037641#comment-16037641
 ] 

Steven Yan commented on PIO-86:
---

[~sasher] If this helps, here is a Dockerfile 
https://github.com/steveny2k/docker-predictionio which is for 0.10.0.
If needed, I can update it to be for 0.12.0.

> Maintain a working docker container
> ---
>
> Key: PIO-86
> URL: https://issues.apache.org/jira/browse/PIO-86
> Project: PredictionIO
>  Issue Type: Wish
>Reporter: Sara Asher
>  Labels: needs-discussion
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Re: [VOTE] Apache PredictionIO (incubating) 0.11.0 Release (RC2)

2017-04-09 Thread Steven Yan
[X] +1, accept RC as the official 0.11.0 release
[ ] -1, do not accept RC as the official 0.11.0 release because...

Thanks,
Steven

On Sun, Apr 9, 2017 at 5:21 PM, Donald Szeto  wrote:

> This is the vote for 0.11.0 of Apache PredictionIO (incubating).
>
> The vote will run for at least 72 hours and will close on Apr 12th, 2017.
>
> RC2 fixes a usage bug where the pio command does not pass through
> --driver-java-options to spark-submit.
>
> The release candidate artifacts can be downloaded here:
> https://dist.apache.org/repos/dist/dev/incubator/predictionio/0.11.0-
> incubating-rc2/
>
> Test results of RC2 can be found here:
> https://travis-ci.org/apache/incubator-predictionio/builds/220381611
>
> Maven artifacts are built from the release candidate artifacts above, and
> are provided as convenience for testing with engine templates. The Maven
> artifacts are provided at the Maven staging repo here:
> https://repository.apache.org/content/repositories/
> orgapachepredictionio-1016/
>
> All JIRAs completed for this release are tagged with 'FixVersion =
> 0.11.0-incubating'. You can view them here:
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?
> projectId=12320420=12338381
>
> The artifacts have been signed with Key : 8BF4ABEB
>
> Please vote accordingly:
>
> [ ] +1, accept RC as the official 0.11.0 release
> [ ] -1, do not accept RC as the official 0.11.0 release because...
>


Re: Thanks for reviewing Dockerfile for PredictionIO-0.10.0

2016-10-31 Thread Steven Yan
Hi Donald

Thanks for nice comments.
And it is good idea to converge contributions to one place.
You can go ahead to create the repo, and I and others can later continue
improvements on the new repo.

Thanks
Steven

Thanks,
Steven

On Mon, Oct 31, 2016 at 10:14 AM, Donald Szeto <don...@apache.org> wrote:

> Hi Steven,
>
> Looks like a good start. If nobody objects, I will create a repo on Apache,
> so hopefully we can converge all the great contributions to one place. Let
> me know if this sounds good / bad to you.
>
> Regards,
> Donald
>
> On Mon, Oct 24, 2016 at 11:03 AM, Steven Yan <steven@salesforce.com>
> wrote:
>
> > To whom may be interested in,
> >
> > I could not find Dockerfile for PredictionIO-0.10.0, so I modified
> > sphereio's
> > Dockerfile for older version to be:
> > https://github.com/steveny2k/docker-predictionio
> >
> > Thanks for reviewing and comments.
> >
> > My long term plan is to install various examples into this Docker,
> > pre-train the algorithms, upload the docker image, so that users can
> easily
> > create docker container and start seeing how machine learning works,
> > without need of following the tutorials through copy-pasting commands.
> >
> >
> > Thanks,
> > Steven
> >
>


Created Dockerfile to prepare manual writing environment

2016-10-26 Thread Steven Yan
Hi all

I created Dockerfile to prepare manual writing environment
https://github.com/steveny2k/docker-predictionio-docs

Hope that can help, and also thank you for code reviewing and comments in
advance.

Thanks,
Steven


Thanks for reviewing Dockerfile for PredictionIO-0.10.0

2016-10-24 Thread Steven Yan
To whom may be interested in,

I could not find Dockerfile for PredictionIO-0.10.0, so I modified sphereio's
Dockerfile for older version to be:
https://github.com/steveny2k/docker-predictionio

Thanks for reviewing and comments.

My long term plan is to install various examples into this Docker,
pre-train the algorithms, upload the docker image, so that users can easily
create docker container and start seeing how machine learning works,
without need of following the tutorials through copy-pasting commands.


Thanks,
Steven


Re: regarding installation of Middleman

2016-10-17 Thread Steven Yan
Hi Chan

Thanks for info, I will give it a try.

Thanks,
Steven

On Sun, Oct 16, 2016 at 8:00 PM, Chan Lee <chanlee...@gmail.com> wrote:

> Hi Steven,
>
> This seems to be a general problem with mac os using newer version of gcc,
> as described here:
> http://stackoverflow.com/questions/19577759/installing-
> libv8-gem-on-os-x-10-9
> .
>
> I'm also using mac os 10.11, and simple `bundle update` solved the problem
> for me. Hope this helps.
>
> Chan
>
> On Sun, Oct 16, 2016 at 2:33 PM, Steven Yan <steven@salesforce.com>
> wrote:
>
> > To whom it may concern,
> >
> > I am interested in contributing to documentation, so I am following
> > http://predictionio.incubator.apache.org/community/
> > contribute-documentation/
> > on macbook pro, *osx 10.11.6*.
> >
> > $ cd docs/manual$ gem install bundler$ bundle install$ npm install -g
> > bower$ bower install
> >
> >
> > at `bundle install`, it reports
> > `An error occurred while installing libv8 (3.16.14.13), and Bundler
> cannot
> > continue.
> > Make sure that `gem install libv8 -v '3.16.14.13'` succeeds before
> > bundling.
> > `
> >
> > running `gem install libv8 -v '3.16.14.13'`
> > will give error
> > ../src/objects.h:5252:44: error: shifting a negative signed value is
> > undefined [-Werror,-Wshift-negative-value]
> >   static const int kElementsKindMask = (-1 << kElementsKindShift) &
> > ~~ ^
> > ../src/objects.h:7386:36: error: shifting a negative signed value is
> > undefined [-Werror,-Wshift-negative-value]
> >   (~kMaxCachedArrayIndexLength << kArrayIndexHashLengthShift) |
> >~~~ ^
> >
> > however, running `gem install libv8` will not give error.
> >
> > after running `gem install libv8`, `bundle install` still gives error,
> > insisting I make sure `gem install libv8 -v '3.16.14.13'` works.
> >
> > Any solution for this problem? Thanks a lot.
> >
> > Thanks,
> > Steven
> >
>


regarding installation of Middleman

2016-10-16 Thread Steven Yan
To whom it may concern,

I am interested in contributing to documentation, so I am following
http://predictionio.incubator.apache.org/community/contribute-documentation/
on macbook pro, *osx 10.11.6*.

$ cd docs/manual$ gem install bundler$ bundle install$ npm install -g
bower$ bower install


at `bundle install`, it reports
`An error occurred while installing libv8 (3.16.14.13), and Bundler cannot
continue.
Make sure that `gem install libv8 -v '3.16.14.13'` succeeds before bundling.
`

running `gem install libv8 -v '3.16.14.13'`
will give error
../src/objects.h:5252:44: error: shifting a negative signed value is
undefined [-Werror,-Wshift-negative-value]
  static const int kElementsKindMask = (-1 << kElementsKindShift) &
~~ ^
../src/objects.h:7386:36: error: shifting a negative signed value is
undefined [-Werror,-Wshift-negative-value]
  (~kMaxCachedArrayIndexLength << kArrayIndexHashLengthShift) |
   ~~~ ^

however, running `gem install libv8` will not give error.

after running `gem install libv8`, `bundle install` still gives error,
insisting I make sure `gem install libv8 -v '3.16.14.13'` works.

Any solution for this problem? Thanks a lot.

Thanks,
Steven