Skip to content

Instantly share code, notes, and snippets.

View stolen.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View music.markdown

My moderately in depth review of albums from the list I sent. Anything on this is on Spotify (and the album links there) because I'm too lazy to find them elsewhere (🙇‍♂️ to Jeff for finding the ringing rocks link).

One thing to note: I listen to music regularly these days, but pretty much only when working. I generally like music with lyrics, but I can't do new music with lyrics, because it's distracting, so I mostly listen to the same things over and over.

So I decided to go through the list and listen to all the albums that seemed interesting.

Here are the ones I will listen to again:

| Artist | Album | List description | My review |

View my biases.markdown

Some of the biases I have when considering code:

This list is particularly targeted at Ruby code, since that's what I have the most experience with

Delegation: Spent multiple days working on a bug without realizing it was delegated in the place it was occuring. I think it started out not delegated and became so later on, so tests weren't catching it, and delegation overrode one of the methods? In general, I feel like any time spent figuring out what something actually is, if it seems to be one thing in the code but is actually a different thing, is wasted time.

Single Responsibility Principle: Bike Index bike creation bug hunts. Any new service has to be compared against the Bike Index bike creation process - where when there is a bug, I have to trace it through a series of files. I feel like this tracery is a waste of time. Unless multiple other files need access to the same thing, I'm generally opposed to creating extra files.

Hand written sql: You can extend things that are Active Rec

@sethherr
sethherr / FrameModel.rb
Last active Jul 27, 2017
Bikebook schemaing
View FrameModel.rb
class FrameModel
def components_serialized
components.map do |c|
cgroup = "Additional parts"
cgroup = c.ctype.cgroup if c.ctype.present?
comp = {
component_type: c.name,
description: c.description,
front_or_rear: c.front_or_rear,
year: c.year,
View keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

View keylist.tsv
Key Display Description Category c definition JS Keycode
A Alphabet KC_A 65
B Alphabet KC_B 66
C Alphabet KC_C 67
D Alphabet KC_D 68
E Alphabet KC_E 69
F Alphabet KC_F 70
G Alphabet KC_G 71
H Alphabet KC_H 72
I Alphabet KC_I 73
View error compiling.sh
keymaps/keymap_145158258498reactor.c: In function 'matrix_init_user':
keymaps/keymap_145158258498reactor.c:37:1: warning: control reaches end of non-void function [-Wreturn-type]
};
^
keymaps/keymap_145158258498reactor.c: In function 'matrix_scan_user':
keymaps/keymap_145158258498reactor.c:61:1: warning: control reaches end of non-void function [-Wreturn-type]
};
^
ergodox_ez.c: In function 'matrix_init_user':
ergodox_ez.c:10:1: warning: control reaches end of non-void function [-Wreturn-type]
@sethherr
sethherr / shortcuts.markdown
Last active Jun 20, 2017
Good shortcuts to remember on mac
View shortcuts.markdown

General OSX shortcuts

key
Space Opens up finder - use it to open or switch applications, or find files
w Close current tab
t Open new tab
Shiftt Open most recently closed tab (Chrome and Sublime and Firefox, not universal)
; Open up settings for the current application
Tab Switch between applications
@sethherr
sethherr / csv-manufacturers.csv
Last active Aug 29, 2015
Bicycling related manufacturers for Soulheart (from Bike Index)
View csv-manufacturers.csv
name website frame_maker open_year close_year logo_url
24seven http://www.leisurelakesbikes.com/bikes/bmx-bikes/b/24seven true
3G http://www.3gbikes.com/ true
3T
3rd Eye
3rensho true
45North
4ZA
6KU http://6kubikes.com true
9 zero 7 https://www.facebook.com/9Zero7Bikes true