Sysroot package generation for use with toolchains_llvm

Posted on Sat 23 March 2024 in bazel • Tagged with bazel, sysroot, toolchains_llvm

How to generate a sysroot package for use with the Bazel ruleset toolchains_llvm in order to utilize a hermetic llvm-clang C/C++ compiler toolchain.


Continue reading

My Personal Security Plan

Posted on Thu 15 June 2017 in blog • Tagged with security, privacy, android, signal, linux

Back on June 5, 2013 I remember pacing back and forth while freaking out all day. I spent the day talking to my good friend Cassandra Granade, who was in a similar state of dismay. At the time we were both in graduate school, she doing her PhD and myself …


Continue reading

Python, Requests, and SSL

Posted on Mon 20 June 2016 in blog • Tagged with python, requests, ssl, aynscio, aiohttp

SSL and Synchronous Requests

(scroll down for async requests)

In Python, the main way in which one makes a web request is via the requests library, like so:

import requests
r = requests.get("http://google.com")

Where in this example Google's website is the route that you are interested in …


Continue reading

Travis CI and If Statements

Posted on Thu 28 April 2016 in blog • Tagged with travis, bash

So the other day at work (seems to be a trend in my posts) I was investigating a problem that we noticed with one of our project's TravisCI builds. Specifically, we found that a step under script had failed, but the overall build still passed! Very curious problem indeed, and …


Continue reading

Remember to Pull Your Base Docker Images Before Building

Posted on Fri 22 April 2016 in blog • Tagged with docker, jenkins

At work I was recently debugging some docker containers that were being built nightly by Jenkins. These were actually the same images that I was building in my last article.

After making the changes that I mentioned in that article, I noticed that the resulting containers for argon were having …


Continue reading

Automatically Building Docker Containers With Different Base Image Tags

Posted on Wed 20 April 2016 in blog • Tagged with docker, jenkins, bash

At work I recently added a Dockerfile to one of our accessory tools, and set it up with Jenkins to build on a nightly basis. This build occurs nightly as opposed to on new master commits to ensure that the resulting container always has the latest versions of all its …


Continue reading

Code Coverage Isn't Everything

Posted on Sat 16 April 2016 in blog • Tagged with testing

Over the past few months, the people within my circle of friends (myself included) have started to put more of an emphasis on increasing the code coverage for their own projects. I'd like to take a moment here how a code coverage metric is important, but it should not be …


Continue reading

Compiling Arduino Caterina with New VID/PID

Posted on Wed 19 February 2014 in blog

Compiling the Arduino Leonardo bootloader (aka Caterina) is a required step in making your own Arduino Leonardo-compatible board available to others. This blog post will go over what you need to do in order to make your derivative board valid for sale.

As opposed to previous Arduinos, the Leonardo uses …


Continue reading