Skip to content

Instantly share code, notes, and snippets.


John Stilley john-science

View GitHub Profile
john-science /
Last active Jul 1, 2021
Trustworthy Coin Websites

Trustworthy Websites to Buy Coins

  • US Mint - Only modern US coins and proofs and such. But absolutely trustworthy.
  • VCoins - meta seller. Lots of old coins, lots of price ranges.
  • ma-shops - auction site, but "certified sellers"
  • Great Collections - Small, but all certified from trusted sellers
  • APMEX - good for silver Peace and Morgans
  • USA Coin Book - great for US coins
  • NumisBids - coin auction site. Lots of variety. Hard do search. Good for filling in a hole in a set (you can set an alert).
  • Heritage Auctions
john-science /
Last active May 5, 2021
Notes on "Nuclear Systems" by Todreas and Kazimi

Notes on "Nuclear Systems"

These are just my notes on the textbook "Nuclear Systems" Volume 1, by Todreas and Kazimi. The textbook seems to be a classic on "Thermal Hydraulic Fundamentals" of nuclear power reactors.

Chapter 1: Principal Characteristic of Power Reactors

This chapter attempts to give a friendly, high-level comparison of the different kinds of nuclear power reactors out there. It gives some reference as to their similarities and differences, and general performance and safety characteristics.

Neutron Energy Range Energy Range Name
john-science /
Last active May 14, 2021
Step Right Up! Who wants to learn Physics?
john-science /
Last active Jun 1, 2021
A Reading List for Nuclear Engineering

A Nuclear Engineering Reading List

Good Places to Start

The MIT Nuclear Engineering Ciriculum

john-science / latency.txt
Created Jan 13, 2021 — forked from jboner/latency.txt
Latency Numbers Every Programmer Should Know
View latency.txt
Latency Comparison Numbers (~2012)
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns 3 us
Send 1K bytes over 1 Gbps network 10,000 ns 10 us
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD
john-science /
Created Jan 13, 2021
Trying to Convert SciPy.integrate.ode.vode to Cython

Convert SciPy.integrate.ode.vode to Cython

This is a research task. The SciPy Vode ODE solver is 1600 lines of Fortran with 250 goto statements, so a direct translation is actually quite tedious. It would be much easier without the goto statements, or if the code was in C, C++, etcetera.

Links Roundup

john-science /
Last active Feb 17, 2021
Training for Chess

Chess Training

My current goal: to get from ~900 to >1200.

First, I am looking for people who have trained adults in chess, to see what their strategies are. But also, I will look for adults who managed to improve their own chess game.

Learning Strategies

john-science /
Last active May 14, 2021
Python script for plotting my weight over time
This is a simple scatter-and-line plot of my body weight at various times. The challenge is that
the data is very irregular. This program reads in a CSV of this form:
View delete_reddit_comment.js
// Log in to Reddit, open you comment page, and paste this into your Console. Done
var $domNodeToIterateOver = $('.del-button .option .yes'),
currentTime = 0,
timeInterval = 500; // minimum time between deletes
$domNodeToIterateOver.each(function() {
var _this = $(this);
currentTime = currentTime + Math.floor(Math.random() * timeInterval) + timeInterval;