Skip to content

Instantly share code, notes, and snippets.

@Harrison-M
Harrison-M / irc.md
Created November 28, 2013 08:00
To Sindarina re: why IRC

Okay, this will take way too many Tweets for me to write out properly, so I'll type it out here really quickly.

"IRC," like most other words, is both denotative and connotative. Internet Relay Chat, strictly speaking, is just a protocol, but it comes loaded with an expected methodology and culture.

Ideally, we should take advantage of the former to fix some of the problems with the latter.

##IRC is Modular

The crux of this is that IRC is modular in the sense that, as a protocol, it only requires a compliant client and server. Beyond that, there is no way that it has to be. We can layer client features, server features, and other features like bots on top of it.

"use strict";
phantom() = (require) '{phantom}'
{phantom.((create (ph) ->{{{
ph.cre})}atePage ({page}) ->{}(
{{(}{page.open "ht{})(}tp://www.g()(oogle.com", }{}}}}(status) ->}
c}onsole.}({)}(log "o{{pened googl}e? ", stat}us
{page.evaluate) (-> document.{}{}{){(title), (re{su}lt) -> /* { */
cons(}){(ole.log 'Page title is ' + r}}esul(t)
client.say('ChanServ', 'invite #channel');
client.addListener('pm', function (from, message) {
if(from === 'ChanServ'){
client.join('#channel ' + message); //Assuming all that's in the message is the password
}
});
set:
gameId: 0cd7046a-b175-4e13-b46f-57631bcce23b
gameVersion: 1.0.0
name: The Recruiters
version: 1.0.0
cards:
- name: Operator
type: Basic
count: 50
- name: Recon
import Data.Bits (testBit)
import Data.List (any, elem)
import Codec.Picture
import qualified Data.Matrix as Matrix
import qualified Data.Vector as Vector (toList)
bitList :: Int -> [Bool]
bitList num = map (testBit num) [0,1..8]
bitMatrix :: [Bool] -> Matrix.Matrix Bool

Keybase proof

I hereby claim:

  • I am Harrison-M on github.
  • I am harrisonm (https://keybase.io/harrisonm) on keybase.
  • I have a public key whose fingerprint is 2B52 7132 F8B5 0E11 4E7B C962 004F 26E5 FAF7 FBD8

To claim this, I am signing this object:

@Harrison-M
Harrison-M / payload.json
Last active June 28, 2017 00:34
test POST payload and permissions
{
"TableName": "HalTable",
"Item": {
"Name": "Hal Massey",
"Score": 50
}
}
1
Save me, O God,
for the waters have come up to my neck.
2
I sink in the miry depths,
where there is no foothold.
I have come into the deep waters;
the floods engulf me.
3
I am worn out calling for help;