Skip to content

Instantly share code, notes, and snippets.

💭
Permanently busy b/c college; response times vary wildly

AJ Jordan strugee

💭
Permanently busy b/c college; response times vary wildly
Block or report user

Report or block strugee

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
@strugee
strugee / keybase.md
Created Jan 14, 2018
Keybase verification
View keybase.md

Keybase proof

I hereby claim:

  • I am strugee on github.
  • I am strugee (https://keybase.io/strugee) on keybase.
  • I have a public key ASC9gapv_grlcgAsbrftwWFxIlY7sBXSCWOJunNNrZ__kQo

To claim this, I am signing this object:

@strugee
strugee / raw-bunyan-logs.json.log
Created Nov 15, 2017
lazymention log of sending Webmentions to tantek's server
View raw-bunyan-logs.json.log
Copyright (C) 2017 AJ Jordan <alex@strugee.net>. License AGPLv3+: GNU
Affero GPL version 3 or later
<https://gnu.org/licenses/agpl-3.0.html>. This is free software: you
are free to change and redistribute it. There is NO WARRANTY, to the
extent permitted by law.
{"name":"lazymention","hostname":"cannot-bind","pid":25484,"level":30,"msg":"Server
listening at
http://0.0.0.0:8000/","time":"2017-11-15T19:57:18.690Z","v":0}
{"name":"lazymention","hostname":"cannot-bind","pid":25484,"component":"get","job_id":"925e6cd2-ade5-4cce-a82c-905c62b241cb","level":20,"url":"https://strugee.net/blog/","msg":"Retrieving
URL with HTTP GET over TLS.","time":"2017-11-15T19:57:41.636Z","v":0}
@strugee
strugee / stratic-handle-offset_tests.log
Created Nov 8, 2017
Sample Perjury output from stratic-handle-offset's test suite
View stratic-handle-offset_tests.log
alex@cannot-bind ‹ master ●● › : ~/Development/pump.io
[0] % cd ../stratic-handle-offset
alex@cannot-bind ‹ master ● › : ~/Development/stratic-handle-offset
[0] % npm test
> stratic-handle-offset@1.0.0 test /home/alex/Development/stratic-handle-offset
> nyc -r lcov perjury test.js
@strugee
strugee / count-your-issues.json
Last active Apr 28, 2019
Personal config file for count-your-issues
View count-your-issues.json
[
{
"type": "github",
"username": "strugee"
},
{
"type": "gitlab",
"username": "strugee",
"cookie": "XXX"
},
View count_numbers.bash
#!/bin/bash
# count_numbers.bash
# Written by Aditya and AJ
#
# This is a relatively simple bash script. We went through a couple
# iterations - the comments are leftover from when I was trying to
# make it work without calling out to `seq` (which outputs number
# sequences to stdout). As it turns out, `{num..num2}` expansion
@strugee
strugee / index.js
Created Aug 14, 2016
RC interview database
View index.js
#!/usr/bin/env node
/*
Copyright © 2013-2015 Alex Jordan <alex@strugee.net>
This work is free. Except where otherwise noted, you can redistribute
it and/or modify it under the terms of the Do What The Fuck You Want To
Public License, Version 2, as published by Sam Hocevar.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
View glowbuggy.py
# GlowScript 1.1 VPython
# Borrowed from Frank Noschese: http://www.glowscript.org/#/user/Mr._Noschese/folder/My_Programs/program/CVBuggies/edit
# objects
buggy1 = box(pos=vector(-200,9,0), size=vector(20,12,8), color=color.blue)
buggy2 = box(pos=vector(0,9,0), size=vector(20,12,8), color=color.red)
track = box(pos=vector(-100,10,-5), size=vector(620,25,2), color=color.white)
attach_trail(buggy1, type='spheres')
@strugee
strugee / new-ftc-system-problems.org
Last active Oct 21, 2015
List of the problems that Redshift Robotics has encountered with the new Android-based FTC system
View new-ftc-system-problems.org

Android

  • Android Studio and Java installation is error-prone and takes a huge amount of time
  • Typing on phones doesn’t work
  • Gradle
  • Have to generate signed APK

FTC-specific code

  • Phones don’t detect hardware at runtime (both motor controllers and Core Power Distribution Modules)
  • Scanning sometimes doesn’t work
  • Crashes when editing configurations (i.e. in the middle)
  • If a configuration file is invalid, the app crashes when editing it
@strugee
strugee / ftcopensource.md
Last active Sep 17, 2015
[FTC] Open Source, Please
View ftcopensource.md

Hi,

I've seen a lot of mentors making their voices heard on this thread, but I thought it'd be useful for a student to say something. So here I am.

I'm a programmer representing 2856. The fact that we cannot get access to the source code of FTC's software is a major problem that actively impedes our productivity. The fact that we can't look at the APIs available to us and can't look at how they work is a real issue, and this is compounded by the fact that documentation is scarce. Almost by definition, there is no better documentation than (commented) source code. Anything else is inherently a distillation and reproduction of what is really going on.

Here I speak for myself, and not the rest of my team (or other teams), but it also seems fairly obvious that FIRST simply lacks the resources to polish up the software, fix bugs, etc. I get it, truly - you've been experiencing a shocking amount of growth in the past couple years, and it's hard to keep up. I understand. But I just can't wrap my head around why y

@strugee
strugee / offseason-proposal.md
Last active Aug 29, 2015
Proposal for an FTC scouting app
View offseason-proposal.md

Description

During the regular FTC season we've often wished that we had an app for scouting. Let us build this app. It would expose a RESTful, JSON-based API that would allow you to:

  • Input the match schedule
  • Query the match schedule
  • Input available scouters
  • Query available scouters
  • Define which teams should be scouted and the relative priority of those teams
  • Query calculated individual scouter schedules
You can’t perform that action at this time.