Skip to content

Instantly share code, notes, and snippets.

Jason Grout jasongrout

Block or report user

Report or block jasongrout

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View tictactoe.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View JupyterUpdateScipy2018.md

Jupyter updates

Project Jupyter develops open source software, standardizes protocols for interactive computing across dozens of programming languages, and defines open formats for communicating results with others.

Jupyter and the community has continued to grow in breadth and depth. There have been many new exciting developments from the community. For example, the Xeus C++ kernel framework is making many interesting kernels possible, complete with even widgets support, such as an interactive C++ kernel, and a new R kernel called Juniper.

From the community notebook frontends, nteract now runs in the web browser. Cocalc has a notebook frontend that supports real-time collaboration. BeakerX just released 1.0, with JVM and Spark support and polyglot programming and culminates their transition to being built on the Jupyter notebook and soon JupyterLab codebases.

We welcome all of these projects and many more from the community.

View picture.py
#!/usr/bin/env python3
# TODO:
# [X] initialize only the modules we are using
# [X] Display a single specific picture from the 2011 folder
# [X] Regenerate pics for 1080p
# Minimum Viable Product (MVP)
View mypatch.diff
diff --git a/packages/console-extension/schema/tracker.json b/packages/console-extension/schema/tracker.json
index b57152070..5cd7fe206 100644
--- a/packages/console-extension/schema/tracker.json
+++ b/packages/console-extension/schema/tracker.json
@@ -13,7 +13,16 @@
"selector": ".jp-CodeConsole-promptCell"
}
],
- "properties": {},
+ "jupyter.lab.transform": true,
View condaroots.py
import sys
import json
import os
import collections
pkgs = {}
for f in os.listdir(os.path.join(sys.prefix, 'conda-meta')):
path = os.path.join(sys.prefix, 'conda-meta', f)
if path.endswith('.json'):
with open(path) as fp:
@jasongrout
jasongrout / CustomizeJLabTheme.ipynb
Created Jun 20, 2018
JupyterLab Theme Customization
View CustomizeJLabTheme.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View dsServer.js
const WebSocket = require('ws');
const patchDB = new Map();
numStores = 0;
const wss = new WebSocket.Server({ port: 8081 });
function storeId(msg) {
return {
msgType: 'storeid-reply',
@jasongrout
jasongrout / esIterTest.js
Last active Apr 26, 2018 — forked from sccolbert/esIterTest.js
Undefined compare slow in Firefox
View esIterTest.js
// Interestingly, the compare with undefined below is about ~10x slower than the typeof compare in Firefox.
// See this by running myTiming() and myTimingUndefinedCompare()
class MyArrayIterator {
constructor(source) {
this._index = 0;
this._source = source;
}
View talk.md

Slides

JupyterLab update

JupyterLab is a new web-based frontend that brings together many tools in an extensible, performant, open-source environment. We announced it to be ready for users about a month ago. We are calling it "beta" since the extension developer APIs for making extensions are still evolving.

JupyterLab

This is JupyterLab. Create a new tab by clicking the + button or using the File | New menu. We can then start a notebook with a specific kernel, a console, terminal, or text editor.

You can’t perform that action at this time.