Skip to content

Instantly share code, notes, and snippets.

Avatar

Jason Grout jasongrout

View GitHub Profile
@jasongrout
jasongrout / JupyterConReviewerAssignments.ipynb
Last active Jul 24, 2020
JupyterCon 2020 Reviewer Assignments
View JupyterConReviewerAssignments.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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;
}