This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# download daily tarballs from https://data.everef.net/killmails/ | |
# tar xjf kill*.tar.bz2 | |
# this will extract files into killmails sub-directory | |
require 'json' | |
require 'time' | |
search_corp = '1354830081' # condi | |
search_corp = '1727758877' # ncdot | |
max_bar_length = 30; | |
file_listing = Dir.glob('killmails/*.json'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
var e = document.querySelector('[aria-label="Claim Bonus"]'); | |
if (e === null) { | |
} | |
else { | |
e.click(); | |
var d = new Date(); | |
var n = d.toLocaleTimeString(); | |
console.log('clicked at', n); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Only listing the families and types that affect my professional environment. | |
Accelerated Computing, Storage Optimized, and all AMD EPYC groups left to the reader to investigate. | |
CPU type data sourced from https://aws.amazon.com/ec2/instance-types/ | |
Some EC2 instance types use different CPUs for the same instance type. T3 is an example. Without checking each host I do not know how to determine which CPU type it will have. Assume all T3 instances need to be patched. | |
T2: | |
Not affected |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
# install hyper-v tools | |
sudo apt-get install -y hyperv-daemons | |
for i in fcopy kvp vss ; do sudo systemctl start hv-$i-daemon ; systemctl status hv-$i-daemon ; done | |
# change linux scheduler to allow hyper-v to control things, which is more efficient for host, especially on SSD storage | |
sudo sed -i 's/DEFAULT="quiet"/DEFAULT="quiet scheduler=noop"/g' /etc/default/grub | |
sudo update-grub2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Latency Comparison Numbers | |
-------------------------- | |
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 | |
Send 1K bytes over 1 Gbps network 10,000 ns 0.01 ms | |
Read 4K randomly from SSD* 150,000 ns 0.15 ms |