Skip to content

Instantly share code, notes, and snippets.

anonymous
anonymous / compile_time_fizzbuzz.cpp
Created January 3, 2015 23:24
a quick and dirty fizzbuzz attempt, with the goal of only one 'call' instruction at runtime (the write)
#include <type_traits>
#include <unistd.h>
/*
* std::string is not very friendly to constexpr, so we need to roll our own
* mechansim if we want the magic to work
*/
template<size_t n>
struct ct_string
@kennwhite
kennwhite / vpn_psk_bingo.md
Last active February 24, 2024 12:19
Most VPN Services are Terrible

Most VPN Services are Terrible

Short version: I strongly do not recommend using any of these providers. You are, of course, free to use whatever you like. My TL;DR advice: Roll your own and use Algo or Streisand. For messaging & voice, use Signal. For increased anonymity, use Tor for desktop (though recognize that doing so may actually put you at greater risk), and Onion Browser for mobile.

This mini-rant came on the heels of an interesting twitter discussion: https://twitter.com/kennwhite/status/591074055018582016