View petlog-stukilla.md

installing arch linux on a chromebook

uuuuuuugh

followed the pretty straightforward instructions to put the alarm image on an sd card from chrome

tried to follow the instructions again to wipe chromium etc but, oops, no cgpt within Arch

installed cgpt on sd card via pacman -s cgpt (which is an alias for vboot-utils somehow?), lucky break

View comment.md

What that means is, while a mediump can contain a value up to 1024 without losing integral precision (the next increment it will be able to represent is 1026), it can only represent fractions of any granularity for much smaller ranges - from 513 to 1024, it'd be wholes, 256 to 512 it'd be halves, 128 to 256 quarters, 64 to 128 eighths, 32 to 16 the largest fractions would be sixteenths. Only values absolutely smaller than 8 are precise to the 1/32, smaller than 4 1/64, smaller than 2 1/128, and only fractions below a whole are precise to 1/256 (2^-8) - fractions of precision 2^-9 or 2^-10 only being under a half and a quarter, respectively (and fractions beyond that having no guarantees of precision per the spec). (Conversely, 1026 to 2048 will jump by twos, 2052 to 4096 by fours, 4104 to 8192 by eights, and 8208 to 16384 by sixteens.)

(FAKE EDIT: I just checked the OP, and what I'm about to describe doesn't quite match its figures, though that could just be because I'm bad at estimating framerates.

View petlog-stushiba.md

From installation media

closely following https://wiki.archlinux.org/index.php/Beginners%27_guide

as root outside chroot (essentially, from memory)

  • blkid
  • parted: add 512mb fat32 partition followed by 513MB-100% ext4 partition
  • mkfs.fat for ESP, mkfs.ext for root (with label 'stushiba')
  • label ESP 'ESP'
View simplifyMLZPath.js
// run on http://mourner.github.io/simplify-js/
var tolerance = 5;
function simplifyMLZPath(path) {
var polys = JSON.parse('[['+path
.replace(/[LM](\d+(?:\.\d+)?),(\d+(?:\.\d+)?)/g,'{"x":$1,"y":$2},')
.replace(/,Z/g,'],[')
.slice(0,-2)+']');
var segments = [];
View mkimgarpi.sh
#!/bin/bash
# Packages required
# dosfstools parted
# Can be run on any Linux system
echo "creating image to fit on 1Gb card"
dd if=/dev/zero of=arch-rpi.img bs=1M count=925
echo "Partitioning"
View README.md
View snowden-ietf93.md
View README.md

This was a script I wrote in early 2014 for my original draft pitch for Hutpass, a startup that would provide HTTPS as a service (the same way CloudFlare would go on to do in October 2014).

It uses a compiled JSON file of all the profiles in https://github.com/opensets/domainprofiles, checking them for an "https" field.

I ended up throwing out the figure this returned in favor of using BuiltWith's figures (which were much more stark) a few days later, but it's still an interesting analysis.

View populate.html
<!DOCTYPE html>
<html>
<head>
<title>laterti.me test data spammer</title>
</head>
<body>
<script src='/primus/primus.js'></script>
<script src='/stream.js'></script>
<script>
var messages = [
View petlog-sturling.md

sturling creation procedure 2015-01-20

from stushiba

following https://wiki.archlinux.org/index.php/installation_guide

  • gparted format 64gb microsd card with 4096MiB FAT32 'saboot' partition, fill rest with f2fs 'saroot' partition
  • sudo -i (in theory - in reality I messed up and did this late)
  • mount new /dev/sde2 to /mnt, mkdir /mnt/boot, mount /dev/sde1 /mnt/boot
  • pacstrap /mnt base base-devel gnome