Skip to content

Instantly share code, notes, and snippets.

View kierdavis's full-sized avatar

Kier Davis kierdavis

View GitHub Profile
Application Architecture L1I [kB] IPC (L1D=8kB) IPC (L1D=16kB) IPC (L1D=32kB) IPC (L1D=64kB)
crc32 arm 8 .36748536783619406404 .37162961571734866440 .37162972425097425049 .37204743335887199712
crc32 arm 16 .36752832267653294602 .37165599709076517445 .37165614412931438484 .37207379195140604508
crc32 arm 32 .36752858879498823430 .37165617332080490819 .37165638717564200091 .37207400845431505980
crc32 x86 8 .24149315098947192748 .24278819871540530945 .24456884459475138251 .24456893606302772620
crc32 x86 16 .24149356681634364117 .24278844217554801587 .24456920477644927437 .24456918700200181530
crc32 x86 32 .24148247813550427214 .24278893805242551291 .24456954648571111852 .24456957484502649185
sha arm 8 .38729880861074794571 .39276023048618569497 .39543204856888615616 .39619449429286224543
sha arm 16 .38737412129392143235 .39247427657579784861 .39551056724031694147 .39627340667156902850
sha arm 32 .38737921423219464804 .39248028288354555072 .39551524773359971494 .39627907995376373499
@kierdavis
kierdavis / linefollow_rev1.ino
Last active November 22, 2017 18:51
Barebones code for line following on an Arduino-based robot (untested)
#include <QTRSensors.h>
// Pins for controlling left motor
#define ENA 10 // needs to be a PWM pin
#define IN1 4
#define IN2 5
// Pins for controlling right motor
#define ENB 9 // needs to be a PWM pin
#define IN3 6
@kierdavis
kierdavis / charon_hdl.sv.nw
Created August 10, 2017 19:54
Example of literate SystemVerilog (using noweb)
\chapter{Introduction}
This document explains the reference SystemVerilog implementation of the charon architecture.
\chapter{Core}
This chapter covers the implementation of the core architecture as defined by \todo{reference to architecture spec}. That is, the intrastructure required to transfer data words between abstract ports as dictated by a sequence of instructions in main memory. It does not assign any meaning to the ports.
\section{Top-level structure}
Order:
1 protopack of power boards with steel stencil
1 protopack of power boards without stencil
1 protopack of motor boards with steel stencil
1 protopack of motor boards without stencil
ZIPs of Gerbers can be prepared for upload using the script in the "pcb-util" repository [1].
Parameters (most of these are just the defaults):
Material: FR4 proto
@kierdavis
kierdavis / untitled.log
Created January 17, 2017 20:19
Extract of `journalctl -xe`
Jan 17 19:16:03 coloris slim[2479]: pam_unix(slim:session): session opened for user kier by (uid=0)
Jan 17 19:16:03 coloris systemd[1]: Created slice User Slice of kier.
Jan 17 19:16:03 coloris systemd[1]: Starting User Manager for UID 1000...
Jan 17 19:16:03 coloris systemd[1]: Started Session 3 of user kier.
Jan 17 19:16:03 coloris systemd-logind[2035]: New session 3 of user kier.
Jan 17 19:16:03 coloris systemd[2504]: pam_unix(systemd-user:session): session opened for user kier by (uid=0)
Jan 17 19:16:03 coloris systemd[2504]: Reached target Paths.
Jan 17 19:16:03 coloris systemd[2504]: Reached target Sockets.
Jan 17 19:16:03 coloris systemd[2504]: Reached target Timers.
Jan 17 19:16:03 coloris systemd[2504]: Reached target Basic System.
extraBuildCommands = ''
if [ -e lib/vendors ]; then
mkdir -p etc/OpenCL
ln -s lib/vendors etc/OpenCL/vendors
fi
'';
Heart Whispers - use the heart on people!
Clockwork Collector - kill clockwork soldiers (all??)
Occult Carver - carve bonecharms
Black Market Burglar - rob a Black Market shop
Royal Spymaster - all journals and audiographs on ship
Combat:
The Lovers - domino on two people attacking each other
Sliding Marksman - headshot while sliding
Fatal Redirect - deflect a bullet
Hi,
I am writing to enquire as to whether we will be reimbursed for travel expenses incurred during SR2016. I emailed my receipts and bank details this address (treasurer@studentrobotics.org) shortly after the competition, and well before the stated deadline of 14th May 2016. I have not yet received a reply to this email, and a number of other volunteers I have spoken to also reported that they did not hear back from their reimbursement requests either.
This issue has also had the effect of deterring volunteers from mentoring in SR2017, as they are unsure whether they will be left out of pocket or not.
Could you please clarify the situation, and confirm whether reimbursement for mentoring and/or competition travel expenses will occur for SR2017?
Regards,
Kier Davis
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "my-texlive-env";
buildInputs = [
pkgs.texlive.combine {
inherit (pkgs.texlive) scheme-basic;
}
];
}
hashcat (v3.10) starting in benchmark-mode...
OpenCL Platform #1: NVIDIA Corporation
======================================
- Device #1: GeForce GTX 1060 6GB, 1517/6069 MB allocatable, 10MCU
Hashtype: MD4
Speed.Dev.#1.: 19674.9 MH/s (96.43ms)