An Epicenter of Wordsmithing…for the Enterprise.
/** | |
* Export all data from an IndexedDB database | |
* | |
* @param {IDBDatabase} idbDatabase The database to export from | |
* @return {Promise<string>} | |
*/ | |
export function exportToJson(idbDatabase) { | |
return new Promise((resolve, reject) => { | |
const exportObject = {} | |
if (idbDatabase.objectStoreNames.length === 0) { |
### JHW 2018 | |
import numpy as np | |
import umap | |
# This code from the excellent module at: | |
# https://stackoverflow.com/questions/4643647/fast-prime-factorization-module | |
import random |
import boto3 | |
# set the profile name based on ~/.aws/credentials entry | |
boto3.setup_default_session(profile_name='s3') | |
from snakemake.remote.S3 import RemoteProvider as S3RemoteProvider | |
s3 = S3RemoteProvider() | |
# This simply copies the file from local storage to s3 | |
rule all: |
import flask_sqlalchemy | |
from sqlalchemy import schema | |
from sqlalchemy.ext.compiler import compiles | |
db = flask_sqlalchemy.SQLAlchemy() | |
class Tag(db.Model): | |
__table_args__ = {'info': {'without_rowid': True}} | |
text = db.Column(db.String, primary_key=True) |
There is a nice GIF illustrating a technique called "frustum culling" in this Kotaku article: http://kotaku.com/horizon-zero-dawn-uses-all-sorts-of-clever-tricks-to-lo-1794385026
The interwebs being what they are, this has also led to some controversy.
Some people have interpreted the opening sentence "Every time you move the camera in Horizon Zero Dawn, the game is doing all sorts of under-the-hood calculations, loading and unloading chunks of world to ensure that it all runs properly," as being about the GIF; that's not what frustum culling does, but that's probably not what the article's author meant anyway.
Download and install xelatex from http://www.texts.io/support/0001/ | |
Based on the exact version etc add the executable on path | |
export PATH="$PATH:/usr/local/texlive/2016basic/bin/x86_64-darwin" | |
install all the following | |
sudo tlmgr update --self | |
sudo tlmgr install collectbox | |
sudo tlmgr install ucs | |
sudo tlmgr install adjustbox |
This list is adapted from the lecture plan for the "Advanced Topics in Computer Systems" course at Berkeley, which is available here: https://people.eecs.berkeley.edu/~kubitron/cs262/index_lectures.html
Thanks to Anthony Joseph and John Kubiatowicz for putting the original list together.
Introduction to the course, some basic philosophy, UNIX system.