Local Offline AILocal Storage for Data Sovereignty
Tag Archives: programming
Syncthing on Ubuntu quick start
Syncthing rocks – it’s like a DIY open source Dropbox. Bulletproof syncing between your own machines. Navigates firewalls well (although you can punch firewall holes to speed up transfers). Here’s how I get it set up and running on Ubuntu (18.04 LTS at the time of writing). I think it is best set up as …
Getting started with a TensorFlow surgery classifier with TensorBoard data viz
Train your own neural network to classify images, then use TensorBoard to visualize what’s happening.
Learn how to classify images with TensorFlow
Create a simple, yet powerful neural network to classify images using the open source TensorFlow software library.
Encrypted partition path derivation via linear search through incrementally encoded packed data
locate is a lightning-fast command line search utility. It first hit the press in the early 80s when James A. Woods proclaimed the tradeoff of nightly updates is worth it for sub-second filesystem path matches. The proposed architecture is simple but effective: incrementally encode all paths in a purpose-built binary database and perform matches with linear …
SeaGL 2017 Automatic Chicken Door talk follow-up materials
Here are follow-up materials for my talk at SeaGL 2017. slides video Errata Squirrels live ~12 years in the wild, but have lived up to 24 years in captivity. Our kids helped with this project.
It’s up to interpretation
Yesterday my friend Khan posted this: (plain text source code) Sure looks like JavaScript, so pick your favorite browser console or Node.js. Execute the statements one by one. The first one works and the second does not. What gives?
UDP 1, 2, 3: netcat vs. socat
TCP is handy for simple, reliable communications like this tiny toy logger. I run the server and clients in separate consoles on the same machine: # TCP log server nc -kl 8000 > server-log.txt # TCP logging from netcat client date | nc 127.0.0.1 8000 # TCP logging from socat client date | socat STDIN TCP:localhost:8000 # TCP …
LFNW 2016 command-line talk follow-up materials
Here are follow-up materials for my talk at LFNW 2016. slides demos video notes Open raw notes in a new window/tab
how to upgrade MongoDB 2.6 to 3.x on Ubuntu
sudo mv /etc/apt/sources.list.d/mongodb* /tmp/ echo “deb http://repo.mongodb.org/apt/ubuntu “$(lsb_release -sc)”/mongodb-org/3.0 multiverse” | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list sudo apt-get update && sudo apt-get install -y mongodb-org And I also had to do fix my replica set in the MongoDB shell (necessary for Meteor oplog tailing): var a = {“_id” : “rs0”, “version” : 1,”members” : [{“_id” : 1, …
Continue reading “how to upgrade MongoDB 2.6 to 3.x on Ubuntu”