Skip to content

Instantly share code, notes, and snippets.

View rhyolight's full-sized avatar

Matthew Taylor rhyolight

View GitHub Profile
@rhyolight
rhyolight / nab docker error
Created February 11, 2020 16:33
docker error
∙ docker build --no-cache --rm -f "Dockerfile" -t nab:latest "."
Sending build context to Docker daemon 298.8MB
Step 1/9 : FROM ubuntu:18.04 as base
---> ccc6e87d482b
Step 2/9 : FROM python:3.6.10-alpine3.11
---> 781b53c4648c
Step 3/9 : COPY --from=base . .
---> 38c34cef2881
Step 4/9 : RUN apt update && apt install -y gcc
---> Running in 627c731ef6f0
@rhyolight
rhyolight / nab-py36-numpy-pandas-dockerfile
Created February 11, 2020 16:32
Dockerfile attempt Ubuntu 18.04, Python 3.6, Numpy, Pandas, Cython
FROM ubuntu:18.04 as base
FROM python:3.6.10-alpine3.11
COPY --from=base . .
RUN apt update && \
apt install -y gcc
COPY . /nab
WORKDIR /nab
@rhyolight
rhyolight / description of my react onclick trigger problem.md
Created June 26, 2019 18:07
description of my react onclick trigger problem
  • Working Memory 2.0: Earl K. Miller et al: Neuron
  • Perceptual Cycles: Ruin VanRullen: CellPress
  • Dynamics of Active Sensing and perceptual selection: Charles E Schroeder, et al: Current Opinion in Neurobiology
  • Shifting the spotlight of attention: evidence for discrete computations in cognition: Buschman and Miller: Frontiers in Human Neuroscience
  • A Dynamic Interplay within the Frontoparietal Network Underlies Rhythmic Spatial Attention: Fiebelkorn et al: Neuron
@rhyolight
rhyolight / rhyolights-twitch-faq.md
Last active March 31, 2019 15:09
Rhyolight's Twitch FAQ

What Exactly Am I Watching?

If you are watching me on Twitch, there are generally three types of streams I'll do:

  • AI / Neuroscience Chat: Open chat, usually with a topic. I will go over the topic on the whiteboard, open web resources, chat about the topic, and answer questions and comments. This show has a topic, but I allow it to go off the rails if there is interest.
  • Work Session: Since I'm an Open Source Community Manager, so 95% of my daily work is open and transparent, so why not live stream it? If I'm in a work session, I will try to keep on topic, so please don't be offended if I don't answer your off-topic chat. I work on several different types of projects. Most are educational in some way, many require programming and graphics. I love to create graphical simulations of biological systems and working on community HTM projects during work sessions.
  • Numenta Research Meeting: Most current live research
@rhyolight
rhyolight / err.log
Created September 25, 2018 18:40
error log for nupic installation with orthodoxy
Requirement already satisfied: numpy==1.12.1 in ./Library/Python/2.7/lib/python/site-packages (1.12.1)
Requirement already satisfied: pytest==3.0.7 in ./Library/Python/2.7/lib/python/site-packages (3.0.7)
Requirement already satisfied: pytest-cov==2.5.0 in ./Library/Python/2.7/lib/python/site-packages (2.5.0)
Requirement already satisfied: pytest-xdist==1.16.0 in ./Library/Python/2.7/lib/python/site-packages (1.16.0)
Collecting pycapnp==0.6.3
Using cached https://files.pythonhosted.org/packages/73/5e/f9e4369639883c1efc1c1729e51ed65b5acdadf3445cfa800b1db66d5856/pycapnp-0.6.3.tar.gz
Requirement already satisfied: py>=1.4.29 in ./Library/Python/2.7/lib/python/site-packages (from pytest==3.0.7) (1.5.2)
Requirement already satisfied: setuptools in ./Library/Python/2.7/lib/python/site-packages (from pytest==3.0.7) (40.4.3)
Requirement already satisfied: coverage>=3.7.1 in ./Library/Python/2.7/lib/python/site-packages (from pytest-cov==2.5.0) (3.7.1)
Requirement already satisfied: execnet>=1.1 in /Library/Python/2
@rhyolight
rhyolight / failure.log
Created September 19, 2018 15:52
Failed building wheel for pycapnp
Requirement already satisfied: numpy==1.12.1 in /Users/mtaylor/Library/Python/2.7/lib/python/site-packages (1.12.1)
Requirement already satisfied: pytest==3.0.7 in /Users/mtaylor/Library/Python/2.7/lib/python/site-packages (3.0.7)
Requirement already satisfied: pytest-cov==2.5.0 in /Users/mtaylor/Library/Python/2.7/lib/python/site-packages (2.5.0)
Requirement already satisfied: pytest-xdist==1.16.0 in /Users/mtaylor/Library/Python/2.7/lib/python/site-packages (1.16.0)
Collecting pycapnp==0.6.3
Using cached https://files.pythonhosted.org/packages/73/5e/f9e4369639883c1efc1c1729e51ed65b5acdadf3445cfa800b1db66d5856/pycapnp-0.6.3.tar.gz
Requirement already satisfied: py>=1.4.29 in /Users/mtaylor/Library/Python/2.7/lib/python/site-packages (from pytest==3.0.7) (1.5.2)
Requirement already satisfied: setuptools in /Users/mtaylor/Library/Python/2.7/lib/python/site-packages (from pytest==3.0.7) (40.4.1)
Requirement already satisfied: coverage>=3.7.1 in /Users/mtaylor/Library/Python/2.7/lib/python/site-packages (from
@rhyolight
rhyolight / csv
Created May 29, 2018 16:44
data with right date format
timestamp,usage
3/15/18 0:00,64.02
3/15/18 0:15,66.99
3/15/18 0:30,65.69
3/15/18 0:45,77.92
3/15/18 1:00,62.09
3/15/18 1:15,72.79
3/15/18 1:30,74.55
3/15/18 1:45,68.5
3/15/18 2:00,59.49
nta-clean all
Executing: pip uninstall -y nupic.bindings
Traceback (most recent call last):
File "/usr/local/bin/pip", line 6, in <module>
from pkg_resources import load_entry_point
File "/Users/mtaylor/Library/Python/2.7/lib/python/site-packages/pkg_resources/__init__.py", line 3086, in <module>
@_call_aside
File "/Users/mtaylor/Library/Python/2.7/lib/python/site-packages/pkg_resources/__init__.py", line 3070, in _call_aside
f(*args, **kwargs)
File "/Users/mtaylor/Library/Python/2.7/lib/python/site-packages/pkg_resources/__init__.py", line 3099, in _initialize_master_working_set
∙ nta-update
Executing: curl -L http://releases.numenta.org/orthodoxy/latest/bootstrap.sh | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2267 100 2267 0 0 5960 0 --:--:-- --:--:-- --:--:-- 5965
+++ dirname ''
++ cd .
++ pwd
+ DIR=/Users/mtaylor/nta/numenta-web/packages/numenta.com
++ mktemp -d