Skip to content

Instantly share code, notes, and snippets.

View mrb's full-sized avatar
🍕
Helping companies market and sell more software

Michael Bernstein mrb

🍕
Helping companies market and sell more software
View GitHub Profile
@mrb
mrb / CUSEC.md
Created January 15, 2016 16:03

I’d like to introduce you to a few of my closest friends

Michael R. Bernstein

CUSEC, Montreal, QC, 15 Jan 2016

Hello, and thank you for having me - I'm honored to deliver a keynote speech to this group of wonderful people for a few specific reasons.

Firstly, I used to be a teacher, and I miss being around students. Your energy and intelligence never cease to amaze me. Thanks for all of the great conversations I've had with organizers, attendees and fellow speakers so far this weekend - I'm looking forward to a lot more.

Secondly, I'm used to speaking on very specific topics to a room full of industry professionals or seasoned Academics, some of whom have heard it all before, know everything, and yet still continue to attend conferences! It boggles the mind. In this case, I get to address a group of students about a topic entirely of my own choosing! Though you probably still think you know everything if college-aged me is any indication.

Michaels-MBP:requiresafe-demo mrb$ ~/Projects/requiresafe/bin/requiresafe check 
Name    Installed  Patched  Location       Advisory Details
marked      0.3.3        x  demo > marked  https://portal.requiresafe.com/advisories/marked_redos https://portal.requiresafe.com/advisories/marked_redos https://portal.requiresafe.com/advisories/marked_redos
Michaels-MBP:requiresafe-demo mrb$ ~/Projects/requiresafe/bin/requiresafe check --codeclimate
{"type":"issue","check_name":"vulnerable module \"marked@0.3.3\"identified","description":"marked regular expression denial of service","categories":["Security"],"location":{"path":"npm-shrinkwrap.json","lines":{"begin":0,"end":0}}}
{"type":"issue","check_name":"vulnerable module \"marked@0.3.3\"identified","description":"marked regular expression denial of service","categories":["Security"],"location":{"path":"npm-shrinkwrap.json","lines":{"begin":0,"end":0}}}
@mrb
mrb / bibliography.markdown
Last active August 29, 2015 14:27
mrb's "Propositions as Types" Papers We Love talk bibliogrpahy
@mrb
mrb / abstint.md
Last active October 4, 2020 18:45
"Programs that eat programs" Works cited/bibliography

SHUT THE FUCK UP

#include <Carbon.h>
#include <math.h>
#include <stdio.h>
#include "glut.h"
#include "imageTextureColor.h"
#include <time.h> // For our FPS stats.
#include <iostream>
#include <iomanip>
#include <fstream>
#include "portaudio.h"
@mrb
mrb / Tiger.idr
Created October 24, 2014 15:04
A little straight line program interpreter I implemented from the "modern compiler implementation in ML" book by Appel
module Main
import Control.Monad.Writer
Id : Type
Id = String
data Binop = Plus | Minus | Times
mutual
@mrb
mrb / erwig.idr
Last active August 29, 2015 14:07
module Graph
%default total
Node : Type
Node = Nat
Adj : Type -> Type
Adj a = List (a, Node)
module Graph
%default total
%access public
Node : Type
Node = Nat
Adj : Type -> Type
Adj a = List (a, Node)
@mrb
mrb / minsv.clj
Last active August 29, 2015 14:05
(ns chords.core
(:refer-clojure :exclude [==])
(:require [clojure.core.logic :refer :all]
[clojure.core.logic.fd :as fd]
[clojure.core.logic.pldb :as pldb]
[fipp.edn :refer (pprint) :rename {pprint fipp}]))
(pldb/db-rel note-name ^:index p)
(pldb/db-rel octave ^:index p)
(pldb/db-rel note ^:index p1 ^:index p2)