NLP Hacks for Writers

NLP Hacks for Writers

While putting together NLP in Action we found some handy NLP tools to make writing a little easier, more fun. In addition to employing a document summarizer based on Dirichlet Allocation to help us...

Read More

Default to Open

You Decide

As a developer or a business decision maker you decide whether to open-source your code with every push. You can either “default to open” or try to justify your intellectual property protection decision, weighing the pros and...

Read More


Interactive automation is much better than fully manual keyboard bashing for a lot of linux tasks. It’s taken decades but many linux distributions have finally made it possible to install linux automatically without too much hassel. But other mundane...

Read More


Cole got bit by the Birthday Paradox when using python random.randint() and time.time() to generate a random number to tag a DB record with a unique ID. I think Hannes does something similar to ensure user-provided...

Read More

History Temp Panic

ls /usr/local rm siteconf.p ls /usr/include/boost ls /usr/include/ sudo apt install boost sudo apt install python-boost workon hope pip3 install boost pip3 search boost exit nvcc nvcc --help history | grep BLAS exit ls -al cd src ls -al tar...
Read More

Cpu Gpu Temp Sensors Log

(hope)hobs@hobs-black-gpu:~/src/hope/hope$ write hannes "noticed that your env defaults to python2.7 mine is python 3.4.3 for all the root-install theano/nolearn stuff" write: hannes is not logged in on noticed that your env defaults to python2.7 mine is python 3.4.3 for all...
Read More

PenTesting Peanut Gallery

Really enjoyed getting a crash course in InfoSec and PenTesting by Dean at the Ctrl-H HackerSpace meetup. Here’s how to get some tools for easy, ethical hacking.


git clone # pip install...
Read More

Wildlife Survey and Cowboy Drone

I spend a lot of time hiking around in the snow taking pictures of animal tracks and maintaining wildlife survey cameras for Cascadia Wild. And I can’t help but daydream about Drone/Robot assistants doing a lot of this for...

Read More

Dual Boot HP Spectre 360 Laptop

I love my new Spectre laptop with the fold-back screen. It’ll make an awesome picture frame or navigation tablet at the end of its life. But to keep it relevant I configured it for dual boot with Ubuntu. I need...

Read More

HPC on a Budget

The halfling (half-length) PCIe NVidia GeForce 970 card I ordered required 1 PCIe 3 slot, but also needs physical clearance for the connectors to poke out through 2 slots in the back of the Chassis. So form-factor planning can be...

Read More



  • Machine Learning and AI

What is Machine Learning?

Automated Data Science


How can we apply machine learning to Hack Oregon data projects

  • Behind the Curtain:...
Read More

PyPi Packaging with PyScaffolding

PyScaffold (pip install PyScaffold or pyscaffold) is awesome tooling. It adds a nice putup command to your shell. The putup command creates a boiler-plate directory structure for any python project. It can even set up...

Read More

Neural Net Brainstorm

Cole’s class on neural nets inspired some “out of the box” thinking about how brains work and how we train neural nets. Students asked about the performance of regularization vs random dropout, and the computational bottlenecks for random dropout.


Read More

Smaller than Baby Steps with Julia

Julia has some impressive performance stats, so I gave it a whirl, or half a whirl.

Since I now have a lot of text to mine I need to at least be able to segment strings into tokens and count...

Read More



The coolest tool on the planet


  • GitHub is not git
  • One...
Read More

Your Own Private Cloud and NAS Drive

The Buffalo Airport Extreme is pretty expensive ($100), but when coupled with a cheap multi-TB USB 3.0 drive, it makes it pretty nice personal cloud. You can even download all of the Wikipedia and Wikimedia Commons dumps directly to the...

Read More

B-Machine Learning

The “B” isn’t for Bot, it’s for “Benefit”, as-in B-Corporation. What do B-Corps have to do with Machine Learning?

Machine learning “Bots” have been affecting culture and making moral decisions for decades. But the exponential growth in “morally sensitive” decisions...

Read More

Inspiring Night -- John Irving Explaining his Craft

It was inspiring, almost magical, listening to John Irving explain his art, his insight into life, at Portland Art Museum. OPB hosted him with the towering church organ of the First Congregational United Church of Christ as a backdrop. John...

Read More



Brains not Beer




... Read More

Draft of Neural Nets Demystified

Neural Nets Demystified

  1. Demystify
  2. Dig Deeper


First I’ll suck you in with a simple example (predicting Portland Weather) Then I’ll show you how to play around at the frontier of the state of the art

Read More

Gaussian Mixture Model

Working on this Kaggle challenge (Otto Product Categorization), it’s becoming clear that the most appropriate hard-coded model is a Bayesian Classifier. And you don’t need the “gamification” clues to tell you that. Though the clues helped. “I’m a strict Bayesian,...

Read More

Soul Food

Curry Chicken Sandwiches

I made lunch for Stephen, the carpenter working on our house–a curry chicken sandwich. He talked about it so much to his wife that she asked for the recipe. It’s from my Aunt Elizabeth who was...

Read More

Language Trivia

Ever wonder why capital letters have mostly straight lines, especially in Latin? Carving is much easier with straight lines. Think of all those Greek and Roman buildings and their location names carved in stone. You’d straighten all the curves too...

Read More

PDDL Parser for AI Planning

If you need to parse PDDL for the AI Planning class at coursera, check out this script. It’s pretty basic and hasn’t been tested on the DWR problem descriptions, but I’m really enjoying playing around with my first “compiler”....

Read More

Transparent Histograms

Spent a lot of this week working on prettifying bar charts, histograms and animations for some reveal.js slides.

This pug module on dj1.8 branch (upgrading to Django 1.8) provides a lot of kwarg customization for transparency that work...

Read More

Another Challenge Do-Over

I failed another coding challenge and couldn’t just put it out of my mind. The challenge is this. You’re given a passage with any number of sentences and words in it, but some of the words have slashes between them...

Read More

Automata and Machine Intelligence

More and more, the smart people I meet are talking about Automata, Natural Language Processing, and Graph Search (AI/MI Planning) all in the same breath. I’ve taken MOOCs on all 3, but think I need to revisit automata. Math proofs...

Read More

Graph Search Using Networkx

I’m having fun with a traveling salesman, minimum spanning tree problem over here. Check it out for pretty graph diagrams and some cool Networkx python examples.

With a typical retailer website, you can query with a zip code to...

Read More