How to Install Detectron2

These are notes to resolve specific errors with PyTorch 1.8.1 and CUDA 11.1 at this particular moment in time. On May 11, 2021, the normal Detectron2 install instructions are below (done in a virtualenv). 1. Install OpenCV. My notes are for OpenCV 4.5.2 with CUDA 11.2 and cuDNN 8.1 on Ubuntu 20.04. You can standardize … Read more

How to Setup WireGuard on Ubuntu 20.04

Notes for setting up WireGuard. Assumes server and client are both Ubuntu 20.04. Server Config Install WireGuard Generate the public and private server keys. Restrict permissions on the private key. Create the config file Edit config file with text below. CLIENT1_PUBLIC_KEY is generated in the client config below. Multiple clients can be added by copying … Read more

How to Create a Virtual (Headless) TigerVNC Server on Ubuntu 20.04

Creating a headless virtual VNC session (i.e. no monitor plugged in) for Ubuntu 20.04 using GNOME was harder than anticipated. It was easy to set up a local VNC session, but going headless without a dummy adapter AND with the GNOME desktop was a challenge. Install TigerVNC Some VNC servers only support local VNC sessions … Read more

How to Migrate from SVN to Git

Notes to self. Should be a one-time move, but there were two issues that might be helpful to remember in the future if not. Install Git, Setup SSH On git server: Install git Setup and switch to git user Setup ssh files Setup directory that holds bare repos On SVN server: Install git and git-svn … Read more

How to Compile OpenCV 4.5.2 with CUDA 11.2 and cuDNN 8.1 on Ubuntu 20.04

Notes to self after fresh install of 20.04 (16.04 finally reached EOL). Install NVIDIA drivers Launch “Software & Updates.” Under “Additional Drivers” install metapackage from nvidia-driver-460. Install CUDA 11.2 Download CUDA from NVIDIA using deb (network) Per the installation instructions, after installation add the following entries to the end of .bashrc Install third party libraries … Read more

How Much Does It Cost to Eat at The World’s Best 50 Restaurants?

World-class dining costs a lot, but there are some bargains to be had.  I collected tasting menu prices for the The World’s Best 50 Restaurants 2015 and plotted the data.  The best bang for your buck comes from making a tour of Latin America and Bangkok, Thailand. Mexico City, Mexico (#16 Pujol, #35 Quintonil, #37 Biko) Lima, … Read more

A Data-Driven Guide to Buying a Diamond Engagement Ring

Edit Sep 14, 2016: I’ve created a diamond-focused site with new tools: www.diamondscreener.com This post is intended to be an intermediate-level guide after you’ve gotten serious about buying a ring. It covers the practical aspects of setting a budget and finding the best deal via the cost-efficiency frontier (interactive tool screenshot above). Hopefully it will help you cut … Read more