Skip to content

Instantly share code, notes, and snippets.

Still mentally on break, but around

Amos Wenger fasterthanlime

Still mentally on break, but around
Block or report user

Report or block fasterthanlime

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
fasterthanlime /
Created Apr 25, 2019
Building ffmpeg & libx264 with MSVC from msys2
set -e
if [[ -z "${FFRUST_VC_PATH}" ]]; then
if [[ -n "${FFRUST_RECURSING}" ]]; then
echo "Something went terribly wrong with our MVSC/msys2 magic"
exit 1

Client asks to bootstrap (question #0):

<< (bootstrap = (questionId = 0, deprecatedObjectId = <opaque pointer>)), (error = <nil>)

Client calls evaluate(expression(literal: 123)), asks results to be sent to caller (itself), question #1.

Note that it calls evaluate on the (promised) result of bootstrap.



A proposal for a universal standard for online services for games.


  1. Games should only have to implement "online" functionalities once
  2. The same build should be uploaded on all platforms
  3. A universal layer should not be tied to a third-party central service

Sample command:

strace -f -e trace=execve -- bash -c "echo hey && cat /dev/null && yes | head -2" > /dev/null

Sample output:

execve("/bin/bash", ["bash", "-c", "echo hey && cat /dev/null && yes"...], [/* 98 vars */]) = 0
fasterthanlime / loops_test.go
Created Jan 9, 2018
#golang for vs for-range benchmark
View loops_test.go
package loops_test
import (
var totalPkg byte
func BenchmarkForRangeArray(b *testing.B) {
var arr [128 * 1024]byte

JSON output

Ever since butler has become responsible for downloading, patching, unzipping in the itch app, it has had a JSON-lines output mode.

If you pass --json (or -j) — which the app always does — it'll output lines like this:

{"level":"info","message":"Resuming at 46 MiB / 286 MiB","type":"log"}
fasterthanlime /
Last active Sep 17, 2017
Trying to figure out if GCS is super slow just for me or for everyone
curl -o /dev/null ""
View share.c
#include <windows.h>
#include <AccCtrl.h>
#include <Aclapi.h>
#include <WinNt.h>
#include <stdio.h>
#define SafeRelease(x) if (x != NULL) { LocalFree((HLOCAL)x); x = NULL; }
DWORD AddAceToObjectsSecurityDescriptor (
fasterthanlime / .zshrc
Last active Aug 5, 2017
Make git status outside dirs (because of zsh running it all the time) not super-slow on msys2
View .zshrc
# that's it!
View delayed-require.js
// before
const Component = require("./component");
class Container {
render() {
return <Component/>;
You can’t perform that action at this time.