You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@toree.apache.org by lr...@apache.org on 2018/03/30 06:01:08 UTC

[1/3] incubator-toree-website git commit: Fix missing privacy policy page

Repository: incubator-toree-website
Updated Branches:
  refs/heads/master 797d45ea2 -> 0ffc6d60b


Fix missing privacy policy page


Project: http://git-wip-us.apache.org/repos/asf/incubator-toree-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-toree-website/commit/e8510b8d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-toree-website/tree/e8510b8d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-toree-website/diff/e8510b8d

Branch: refs/heads/master
Commit: e8510b8d884b9d72ff7e59f5d823ad342d79e841
Parents: 797d45e
Author: Luciano Resende <lr...@apache.org>
Authored: Thu Mar 29 22:25:12 2018 -0700
Committer: Luciano Resende <lr...@apache.org>
Committed: Thu Mar 29 22:25:12 2018 -0700

----------------------------------------------------------------------
 site/privacy-policy.md | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-toree-website/blob/e8510b8d/site/privacy-policy.md
----------------------------------------------------------------------
diff --git a/site/privacy-policy.md b/site/privacy-policy.md
new file mode 100644
index 0000000..099f7a7
--- /dev/null
+++ b/site/privacy-policy.md
@@ -0,0 +1,28 @@
+---
+layout: page
+title: Privacy Policy
+description: Apache SystemML website privacy policy
+group: nav-right
+---
+{% include JB/setup %}
+
+<br/>
+
+## {{ site.data.project.name }} Privacy Policy
+
+Information about your use of this website is collected using server access logs and a tracking cookie.
+The collected information consists of the following:
+
+* The IP address from which you access the website;
+* The type of browser and operating system you use to access our site;
+* The date and time you access our site;
+* The pages you visit; and
+* The addresses of pages from where you followed a link to our site.
+
+Part of this information is gathered using a tracking cookie set by the [Google Analytics](http://www.google.com/analytics/)
+service and handled by Google as described in their [privacy policy](http://www.google.com/privacy.html).
+See your browser documentation for instructions on how to disable the cookie if you prefer not to share this data with Google.
+
+We use the gathered information to help us make our site more useful to visitors and to better understand how and when our site is used. We do not track or collect personally identifiable information or associate gathered data with any personally identifying information from other sources.
+
+By using this website, you consent to the collection of this data in the manner and for the purpose described above.
\ No newline at end of file


[2/3] incubator-toree-website git commit: Enable GA tracking for website

Posted by lr...@apache.org.
Enable GA tracking for website


Project: http://git-wip-us.apache.org/repos/asf/incubator-toree-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-toree-website/commit/0554bf87
Tree: http://git-wip-us.apache.org/repos/asf/incubator-toree-website/tree/0554bf87
Diff: http://git-wip-us.apache.org/repos/asf/incubator-toree-website/diff/0554bf87

Branch: refs/heads/master
Commit: 0554bf8775c874ed03b927f1399980b497130953
Parents: e8510b8
Author: Luciano Resende <lr...@apache.org>
Authored: Thu Mar 29 22:31:07 2018 -0700
Committer: Luciano Resende <lr...@apache.org>
Committed: Thu Mar 29 22:31:07 2018 -0700

----------------------------------------------------------------------
 site/_config.yml                                  |  8 +++++++-
 site/_includes/JB/analytics                       |  4 ++--
 .../JB/analytics-providers/google-universal       | 18 ++++++++----------
 3 files changed, 17 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-toree-website/blob/0554bf87/site/_config.yml
----------------------------------------------------------------------
diff --git a/site/_config.yml b/site/_config.yml
index 6fd56af..1527570 100644
--- a/site/_config.yml
+++ b/site/_config.yml
@@ -13,11 +13,17 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
+
 markdown: kramdown
 permalink: /news/:year/:month/:day/:title/
 excerpt_separator: ""
 
-repository: https://github.com/apache/apache-website-template
+# if 'analytics_on' is true, analytics section will be rendered on the HTML pages
+analytics_on: true
+analytics_provider: google_universal
+analytics_google_universal_tracking_id : UA-116672460-1
+
+repository: https://github.com/apache/incubator-toree-website
 destination: target
 exclude: [README.md,Gemfile*]
 keep_files: [".git", ".svn", "apidocs"]

http://git-wip-us.apache.org/repos/asf/incubator-toree-website/blob/0554bf87/site/_includes/JB/analytics
----------------------------------------------------------------------
diff --git a/site/_includes/JB/analytics b/site/_includes/JB/analytics
index 48d87c2..cbada67 100644
--- a/site/_includes/JB/analytics
+++ b/site/_includes/JB/analytics
@@ -1,6 +1,6 @@
-{% if site.safe and site.JB.analytics.provider and page.JB.analytics != false %}
+{% if site.analytics_on == true %}
 
-{% case site.JB.analytics.provider %}
+{% case site.analytics_provider %}
 {% when "google_classic" %}
   {% include JB/analytics-providers/google-classic %}
 {% when "google_universal" %}

http://git-wip-us.apache.org/repos/asf/incubator-toree-website/blob/0554bf87/site/_includes/JB/analytics-providers/google-universal
----------------------------------------------------------------------
diff --git a/site/_includes/JB/analytics-providers/google-universal b/site/_includes/JB/analytics-providers/google-universal
index dae744b..badfa3b 100644
--- a/site/_includes/JB/analytics-providers/google-universal
+++ b/site/_includes/JB/analytics-providers/google-universal
@@ -1,11 +1,9 @@
-<script type="text/javascript">
-  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
-  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
-  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
-  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+<!-- Global site tag (gtag.js) - Google Analytics -->
+<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.analytics_google_universal_tracking_id }}"></script>
+<script>
+  window.dataLayer = window.dataLayer || [];
+  function gtag(){dataLayer.push(arguments);}
+  gtag('js', new Date());
 
-  ga('create', '{{ site.JB.analytics.google_universal.tracking_id }}', '{{ site.JB.analytics.google_universal.domain }}');
-  ga('require', 'linkid', 'linkid.js');
-  ga('send', 'pageview');
-
-</script>
\ No newline at end of file
+  gtag('config', '{{ site.analytics_google_universal_tracking_id }}');
+</script>


[3/3] incubator-toree-website git commit: Update toree website front page

Posted by lr...@apache.org.
Update toree website front page


Project: http://git-wip-us.apache.org/repos/asf/incubator-toree-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-toree-website/commit/0ffc6d60
Tree: http://git-wip-us.apache.org/repos/asf/incubator-toree-website/tree/0ffc6d60
Diff: http://git-wip-us.apache.org/repos/asf/incubator-toree-website/diff/0ffc6d60

Branch: refs/heads/master
Commit: 0ffc6d60bea8463ff6f4687b89a9eb33956a1738
Parents: 0554bf8
Author: Luciano Resende <lr...@apache.org>
Authored: Thu Mar 29 22:42:01 2018 -0700
Committer: Luciano Resende <lr...@apache.org>
Committed: Thu Mar 29 22:42:01 2018 -0700

----------------------------------------------------------------------
 .../images/toree-application-scenario.png       | Bin 74533 -> 0 bytes
 site/assets/images/toree-basic-scenario.png     | Bin 130562 -> 0 bytes
 site/assets/images/toree-magic-dataframe.png    | Bin 0 -> 55723 bytes
 site/assets/images/toree-magic-html.png         | Bin 0 -> 251733 bytes
 site/assets/images/toree-magic-sql.png          | Bin 0 -> 72597 bytes
 site/assets/images/toree-scenario.png           | Bin 0 -> 95981 bytes
 .../images/toree-vizualization-brunel.png       | Bin 0 -> 113783 bytes
 site/assets/themes/apache/css/style.css         | 139 +++++++++++++++++++
 site/index.md                                   |  46 +++++-
 9 files changed, 181 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-toree-website/blob/0ffc6d60/site/assets/images/toree-application-scenario.png
----------------------------------------------------------------------
diff --git a/site/assets/images/toree-application-scenario.png b/site/assets/images/toree-application-scenario.png
deleted file mode 100644
index afd6891..0000000
Binary files a/site/assets/images/toree-application-scenario.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-toree-website/blob/0ffc6d60/site/assets/images/toree-basic-scenario.png
----------------------------------------------------------------------
diff --git a/site/assets/images/toree-basic-scenario.png b/site/assets/images/toree-basic-scenario.png
deleted file mode 100644
index 20c0632..0000000
Binary files a/site/assets/images/toree-basic-scenario.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-toree-website/blob/0ffc6d60/site/assets/images/toree-magic-dataframe.png
----------------------------------------------------------------------
diff --git a/site/assets/images/toree-magic-dataframe.png b/site/assets/images/toree-magic-dataframe.png
new file mode 100644
index 0000000..de8f823
Binary files /dev/null and b/site/assets/images/toree-magic-dataframe.png differ

http://git-wip-us.apache.org/repos/asf/incubator-toree-website/blob/0ffc6d60/site/assets/images/toree-magic-html.png
----------------------------------------------------------------------
diff --git a/site/assets/images/toree-magic-html.png b/site/assets/images/toree-magic-html.png
new file mode 100644
index 0000000..090de6d
Binary files /dev/null and b/site/assets/images/toree-magic-html.png differ

http://git-wip-us.apache.org/repos/asf/incubator-toree-website/blob/0ffc6d60/site/assets/images/toree-magic-sql.png
----------------------------------------------------------------------
diff --git a/site/assets/images/toree-magic-sql.png b/site/assets/images/toree-magic-sql.png
new file mode 100644
index 0000000..2035639
Binary files /dev/null and b/site/assets/images/toree-magic-sql.png differ

http://git-wip-us.apache.org/repos/asf/incubator-toree-website/blob/0ffc6d60/site/assets/images/toree-scenario.png
----------------------------------------------------------------------
diff --git a/site/assets/images/toree-scenario.png b/site/assets/images/toree-scenario.png
new file mode 100644
index 0000000..1dc8816
Binary files /dev/null and b/site/assets/images/toree-scenario.png differ

http://git-wip-us.apache.org/repos/asf/incubator-toree-website/blob/0ffc6d60/site/assets/images/toree-vizualization-brunel.png
----------------------------------------------------------------------
diff --git a/site/assets/images/toree-vizualization-brunel.png b/site/assets/images/toree-vizualization-brunel.png
new file mode 100644
index 0000000..b975782
Binary files /dev/null and b/site/assets/images/toree-vizualization-brunel.png differ

http://git-wip-us.apache.org/repos/asf/incubator-toree-website/blob/0ffc6d60/site/assets/themes/apache/css/style.css
----------------------------------------------------------------------
diff --git a/site/assets/themes/apache/css/style.css b/site/assets/themes/apache/css/style.css
index 64afedd..0b430da 100644
--- a/site/assets/themes/apache/css/style.css
+++ b/site/assets/themes/apache/css/style.css
@@ -4,6 +4,145 @@
 body {
   padding-top: 50px;
   padding-bottom: 20px;
+  background: #fff;
+}
+
+body, input, select, textarea {
+  color: #444;
+  font-family: "Raleway", Helvetica, sans-serif;
+  font-size: 13pt;
+  font-weight: 400;
+  line-height: 1.65em;
+}
+
+a {
+  color: #383b43;
+  text-decoration: none;
+}
+
+a:active, a:hover {
+  text-decoration: underline;
+}
+
+strong, b {
+  color: #474747;
+  font-weight: 700;
+}
+
+em, i {
+  font-style: italic;
+}
+
+p {
+  margin: 0 0 2em 0;
+}
+
+h1, h2, h3, h4, h5, h6 {
+	color: #474747;
+	font-weight: 700;
+	line-height: 1em;
+	margin: 0 0 1em 0;
+}
+
+h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
+	color: inherit;
+	text-decoration: none;
+}
+
+h2 {
+	font-size: 1.75em;
+	line-height: 1.5em;
+}
+
+h3 {
+	font-size: 1.35em;
+	line-height: 1.5em;
+}
+
+h4 {
+	font-size: 1.1em;
+	line-height: 1.5em;
+}
+
+h5 {
+	font-size: 0.9em;
+	line-height: 1.5em;
+}
+
+h6 {
+	font-size: 0.7em;
+	line-height: 1.5em;
+}
+
+sub {
+	font-size: 0.8em;
+	position: relative;
+	top: 0.5em;
+}
+
+sup {
+	font-size: 0.8em;
+	position: relative;
+	top: -0.5em;
+}
+
+hr {
+	border: 0;
+	border-bottom: solid 1px rgba(144, 144, 144, 0.25);
+	margin: 2em 0;
+}
+
+hr.major {
+	margin: 3em 0;
+}
+
+blockquote {
+	border-left: solid 4px rgba(144, 144, 144, 0.25);
+	font-style: italic;
+	margin: 0 0 2em 0;
+	padding: 0.5em 0 0.5em 2em;
+}
+
+code {
+	background: rgba(144, 144, 144, 0.075);
+	border-radius: 4px;
+	border: solid 1px rgba(144, 144, 144, 0.25);
+	font-family: "Courier New", monospace;
+	font-size: 0.9em;
+	margin: 0 0.25em;
+	padding: 0.25em 0.65em;
+}
+
+pre {
+	-webkit-overflow-scrolling: touch;
+	font-family: "Courier New", monospace;
+	font-size: 0.9em;
+	margin: 0 0 2em 0;
+}
+
+pre code {
+	display: block;
+	line-height: 1.75em;
+	padding: 1em 1.5em;
+	overflow-x: auto;
+}
+
+.center-block {
+    display: block;
+    margin-left: auto;
+    margin-right: auto;
+ }
+
+.align-left {
+	text-align: left;
+}
+
+.align-center {
+	text-align: center;
+}
+
+.align-right {
+	text-align: right;
 }
 
 .jumbotron {

http://git-wip-us.apache.org/repos/asf/incubator-toree-website/blob/0ffc6d60/site/index.md
----------------------------------------------------------------------
diff --git a/site/index.md b/site/index.md
index 30877d1..eced433 100644
--- a/site/index.md
+++ b/site/index.md
@@ -26,12 +26,50 @@ limitations under the License.
 
 ## Apache Toree
 
-Apache Toree is a kernel for the Jupyter Notebook platform providing interactively access to Apache Spark. It has been developed using the IPython protocol, and despite the protocol’s name, the apache Toree currently exposes the Spark programming model in Scala, Python and R languages.
+Apache Toree is a kernel for the Jupyter Notebook platform providing interactively access to Apache Spark. It has been developed using the IPython messaging protocol and 0MQ, and despite the protocol’s name, the apache Toree currently exposes the Spark programming model in Scala, Python and R languages.
 
-Toree supports a number of types of interactions. In one common case, applications send snippets of code which are then executed by Spark, and the results are returned directly to the application. This style of interaction is what users of Notebooks experience when they evaluate code in cells. Instead of sending raw code, an application can send magics, which might be commands to add a JAR to the Spark execution context or a call to execute a shell command such as “ls”. Toree provides a well-defined mechanism to associate functionality with magics, and this is a useful point of extensibility of the system.
+### Use Cases
 
-<img src='/assets/images/toree-basic-scenario.png' height="50%" width="50%">
+Toree supports a number of interaction scenarios. In one common case, applications send snippets of code which are then executed by Spark, and the results are returned directly to the application. This style of interaction is what users of Notebooks experience when they evaluate code in cells. Instead of sending raw code, an application can send magics, which might be commands to add a JAR to the Spark execution context or a call to execute a shell command such as “ls”. Toree provides a well-defined mechanism to associate functionality with magics, and this is a useful point of extensibility of the system.
+
+<div align="center">
+  <img class="center-block" src="/assets/images/toree-scenario.png" height="75%" width="75%">
+</div>
+
+<br/>
 
 Applications wanting to work with Spark can be located remotely from a Spark cluster and use a Apache Toree Client or Jupyter Client to communicate with a Apache Toree Server running on the cluster, or they can communicate directly with the Apache Toree Server. Multiple clients/applications can communicate with a single Kernel which contains a Spark application context, and this provides a simple form of multi-tenancy.
 
-<img src='/assets/images/toree-application-scenario.png' height="50%" width="50%">
+
+### Visualizations
+
+Apache Toree, via extensions like [Brunel for Apache Toree](https://github.com/Brunel-Visualization/Brunel/tree/master/spark-kernel),
+supports rich visualizations that integrates directly with Spark Data Frame APIs
+
+<div align="center">
+  <img src="/assets/images/toree-vizualization-brunel.png" height="75%" width="75%">
+</div>
+
+<br/>
+<div align="center">
+   <img src='http://blog.ibmjstart.net/wp-content/uploads/2016/07/vis-comparision1.png'>
+</div>
+
+<br/>
+
+
+### Magics
+
+Apache Toree provides a set of magics that enhances the user experience manipulating data coming from Spark tables or data
+
+
+<div class="col-md-12">
+    <div class="row">
+        <div class="col-md-6">
+         <img src="/assets/images/toree-magic-sql.png" height="100%" width="100%">
+        </div>
+        <div class="col-md-6">
+          <img src="/assets/images/toree-magic-dataframe.png" height="100%" width="100%">
+        </div>
+    </div>
+</div>