I hereby claim:
- I am jszmajda on github.
- I am jszmajda (https://keybase.io/jszmajda) on keybase.
- I have a public key whose fingerprint is 31BD 2FD8 F4D2 2B00 BBF1 7FAB 7E77 C933 FF4A 472B
To claim this, I am signing this object:
| Flock flock; | |
| void setup() { | |
| size(1900, 1000); | |
| flock = new Flock(); | |
| // Add an initial set of boids into the system | |
| for (int i = 0; i < 1550; i++) { | |
| flock.addBoid(new Boid(random(0, width), random(0, height))); | |
| } | |
| } |
| irbx08x08x08vim repos.json x08x08x08x08x08x08x08x08x08x08x08x08x08x08x08hub api orgs/axioscode/repos > repos.json | |
| Jesss-MacBook-Pro:generator-axios jess$ irb | |
| irb(main):001:0> require 'json' | |
| => true | |
| irb(main):002:0> JSON.parse(File.read('repos.sx08x27[Kjson'));nilx27[18Gx27[1@dJx08x27[1@aJx08x27[1@tJx08x27[1@=Jx08 | |
| => nil | |
| irb(main):003:0> dat.keys | |
| NoMethodError: undefined method `keys' for #<Array:0x00007fd1fd8fb7f0> | |
| from (irb):3 | |
| from /usr/bin/irb:11:in `<main>' |
I hereby claim:
To claim this, I am signing this object:
| # Optoro bits of using Avro. Currently with the AvroTurf, but I'm going to refactor away from that. | |
| # this all sits in a rails repo in `app/message_bus` | |
| # `app/message_bus/message_bus.rb` | |
| module MessageBus | |
| module_function | |
| def avro | |
| # Things in the schema folder are `<MessageName>.avsc` files. They're JSON |
| -- So I'm decoding JSON with this pattern, but there has to be a better way | |
| import Json.Decode as JD | |
| type alias User = | |
| { id : Int | |
| , email : String | |
| , firstName : String | |
| , lastName : String | |
| } |
| Apocalypse Lullaby by The Wailin' Jennys | |
| This is an open tuning: CFCFAC | |
| I play it mostly strumming all the strings and only muting the very | |
| occasional one on the 4x0230 chord. I'm sure that's not quite right ;) | |
| I wrote this tab based on Hugo Glanville's youtube video: | |
| https://www.youtube.com/watch?v=RYJ6RQRMa9I |
| module Y2017.M06.D07.Exercise where | |
| import qualified Data.List as L | |
| {-- | |
| So, here's one of the questions Amazon asks developers to test their under- | |
| standing of data structures. | |
| You have a binary tree of the following structure: |
| Room: 126 | 125 | |
| 10:00 - 10:40 - Interviewing for RoR Jobs | Immutable Rails Deployments | |
| 10:40 - 11:20 - Are Boot Camps Worth It? How do I grow? | Domain Driven Design | |
| 11:20 - 12:00 - Remote Teams | Testing & strategies | |
| 12:00 - 1:40 LUNCH |
tl;dr - Coder Night is to practice development. You write code in pairs or individually and submit the code to me (joshsz @ gmail.com). I post an anonymized repo and you have a few days to look at all the solutions before a friendly night of code review.
DNA Encoding! (see DNA.md below)
Tuesday October 11th at 11:59pm.
| # Binary conversion: take a number 7, output "111" | |
| defmodule Randori do | |
| def helper(x, s \\ "") | |
| def helper(0, "") do | |
| "0" | |
| end | |
| def helper(0, s) do | |
| s |