Skip to content

Instantly share code, notes, and snippets.

JD wuputah

Block or report user

Report or block wuputah

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View qpromise.rb
require 'thread'
def QPromise(*args, &block)*args, &block)
class QPromise < BasicObject
# Allows you to change the defaults, e.g.:
# QPromise.config[:thread_limit] = 100
View 1-xp.rb
MAX_CP = 750
scaling_factor = MAX_CP ** 0.995
xp = ->(level) { ((level / scaling_factor) + 0.085) * 400_000 }
for i in 10..MAX_CP
puts "#{i}: #{xp.(i).round}"
View iracing-adblock.js
// ==UserScript==
// @name iRacing adblock
// @namespace
// @version 1.0
// @description Disable advertising in the background on the iRacing member site.
// @match*
// @require
// @grant none
// ==/UserScript==
(function($) {
View gist:4feb2215a2825d96639b34cfe772cccb
### Keybase proof
I hereby claim:
* I am wuputah on github.
* I am wuputah ( on keybase.
* I have a public key ASCcjtRJCYv4DOgWdL6vLPD79Jp2eADuT0ubzbMpPM0l9wo
To claim this, I am signing this object:
View time-to_f.rb
if { % 1000 }.sum == 0
puts "nsec precision not available"
a = 0
10_000_000.times do
t =
d = ( sprintf("%.9f", t.to_f).split('.')[1].to_i - t.nsec ).abs
# edge case around 0 nsec where .to_f results in .999999999
wuputah /
Last active Mar 30, 2017
My letter to my family about the changes in broadband privacy.

Most outlets are not getting this story right. They don't understand the technical details behind what can be tracked, sold, or how your ISP (Internet Service Provider) can advertise to you.

What is changing?

Actually, nothing. The Obama-era rule did not go into effect, but ISPs may have stopped efforts to sell this data due to the new FCC regulation. I would like to think ISPs are nervous about making their customers angry, and realize they could face backlash if they sell your data. That means that all of this is already true, yet you don't get this type of advertising right now (as far as you know).

Note that this also applies to your mobile data carrier anytime you use the Internet on your smartphone (not over wifi, though whatever wifi network you are connected to cannot be trusted either). However, mobile carriers may be subject to different (older) regulations since they are a "telephone" company. I am a computer nerd, not a telecommunications lawyer.

What can my ISP track about me?



What I want to do this year




View hosts
View gist:f03f35d5530d3339239b
~/Dropbox (Personal)/Photos % ls
2002 2005 2011 2014 RAW
2003 2006 2012 2015 RAW ONLY
2004 2007 2013 No metadata
~/Dropbox (Personal)/Photos % du -sh .
58G .
~/Dropbox (Personal)/Photos % find . | grep -i jpg$ | wc -l
~/Dropbox (Personal)/Photos % find . | grep -vi jpg$ | wc -l

For Sale

  • [Sony RX-100 camera: $260][camera] - great camera, good condition, cosmetic scuff marks on edges, 2 batteries, 16 gb sd card, battery charger / usb cable, wrist strap.
  • [32 GB Eyefi Mobi SD Memory Card: $60][eyefi] - 2 weeks old, very little use; no packaging. Did not use 90-day eyefi cloud trial.
  • [Roku 3: $60][roku] - excellent condition, factory reset, all items and original box + bonus free HDMI cable.
  • [Sharp 310W Soundbar: $100][soundbar] - from late 2013, excellent condition, includes remote, no box
  • [Samsung 26" LCD HDTV / Monitor: $100][lcdtv] - used
  • [Sennheiser PXC 450: $200][pxc 450] - new in box
  • [Automatic pet feeder: $40][feeder]
You can’t perform that action at this time.