Skip to content

Instantly share code, notes, and snippets.

@nirth
nirth / GDMR.md
Last active February 11, 2020 08:18

GDMR

Changes

  • 2018-11-29 - Aral Balkan - Original Version.
  • 2020-02-08 - David Grigoryan - Added Audit Clause.

Technology is Net Neutral for Humanity

Pesticides are net positive for humanity, it doesn’t mean that we shouldn’t regulate them regulation improved the situation, and arguably increase in regulation will limit the downsides of pesticides.

Similarly, technology is net positive on humanity, but this doesn’t mean that we shouldn’t regulate it. Humans benefit every day from ability being discovered for new job opportunities, and overall discoverability, however similar if the not same technology is used for voter suppression and erosion of democracy

- Update Hiring Strategy @parallel(false) @autodone(false)
- Updated Interview Process @parallel(true) @autodone(false)
- Created Job Description Draft @parallel(true) @autodone(false)
- Gather Requirements and Reasons for Hiring @parallel(true) @autodone(false) @estimate(8h)
- Checked existing HR processes @parallel(true) @autodone(false)
- Checked Feasibility of 2-Day Probation Contract @parallel(true) @autodone(false) @estimate(1h)
- Read through HR processes for employees @parallel(true) @autodone(false)
- Read through HR processes for contractors @parallel(true) @autodone(false)
- Made sure that contractors aware of work-from home policy when ill @parallel(true) @autodone(false)
- Interview Questions Updated @parallel(true) @autodone(false) @estimate(1h)

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am nirth on github.
  • I am nirth (https://keybase.io/nirth) on keybase.
  • I have a public key whose fingerprint is 3675 8B36 EFE7 0789 E250 10EB E0D5 A37B 79C6 3119

To claim this, I am signing this object:

/**
* Redux utility function that allows nesting of the reducers.
*
* @function nestReducers
* @param state {Object} Current state.
* @param action {Object} Action that will be played out on a state.
* @param reducers {Array} List of nested reducers.
* @returns Updated state.
*/
export const nestReducers = (state, action, ...reducers) => {
const DELAY = 20;
// I studied advanced mathematics in university,
// so trust me I know what I'm doing.
const one = () => 1;
// It was a long time since I used `a` and `b` as variable names.
const multiply = (a, b) => a * b;
const add = (a, b) => a + b;
// If you are unfamiliar with Promise api refer to
import React from 'react';
import {List} from 'immutable';
import {Saga, Story, When} from './saga';
import {AppendToList, UpdateListItem, Pluck} from './saga/actions';
// Fluent API
const todoStory = story([])
.when(ACTION_ADD_TODO)
var a = 2 * 2;
var b = 1024 * 2;
var c = Math.random() + 0.5 | 0;
var path = require("path");
var fs = require("fs");
var corpus = String(fs.readFileSync(path.join(__dirname, "./corpus")));
console.log("\nInitializing spellchecker!\n");
/*
Returns an object with each unique word in the input as a key,
@nirth
nirth / arrays_and_hof.swift
Created September 15, 2014 20:12
Array Comprehensions and Higher order functions in Swift
// With closures
let numbers = [1, 2, 3, 4, 5, 6, 7]
let even = filter(numbers, {number in number % 2 == 0})
println("\(even)") // [2, 4, 6]
let odd = filter(numbers, {number in number % 2 != 0})
println("\(odd)") // [1, 3, 5, 7]
// Higher order function