Skip to content

Instantly share code, notes, and snippets.

View jamii's full-sized avatar

Jamie Brandon jamii

View GitHub Profile
doesn't include actions
http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0006421
mountain car in detail
policies are functions of sensory input
state entropy bounded by sensory entropy + transfer term
ergodic assumption
sensory entropy = integrate equilibrum density over time ie min sensory entropy = min surprise
minimizing surprise in dynamic environment requires controlling environment - cant just wait it out
but cant compute surprise directly, so need to bound it

doesn't include actions

http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0006421 mountain car in detail policies are functions of sensory input state entropy bounded by sensory entropy + transfer term ergodic assumption sensory entropy = integrate equilibrum density over time ie min sensory entropy = min surprise minimizing surprise in dynamic environment requires controlling environment - cant just wait it out but cant compute surprise directly, so need to bound it

trialNo,type,title,content,trialText,stimFormat,target,stim1,stim2,stim3,stim4,stim5,stim6,mask,ITI,ISI,presTime,presTime2,button1,button2,button3,keyboard,counterTrial,counterBlock
,instructions,This is your title,"This is your content. <br><br>This screen will be presented for 5 seconds, after which the experiment advances to the next trial.",,,,,,,,,,,,,5000,,,,,,,
1,test,,,image for 10ms followed by mask until response (1 or 2),.png,,image1,,,,,,mask,50,,10,,,,,1 2,1,
2,test,,,image for 20ms followed by mask until response (1 or 2),.png,,image1,,,,,,mask,50,,20,,,,,1 2,1,
3,test,,,image for 30ms followed by mask until response (1 or 2),.png,,image1,,,,,,mask,50,,30,,,,,1 2,1,
4,test,,,image for 40ms followed by mask until response (1 or 2),.png,,image1,,,,,,mask,50,,40,,,,,1 2,1,
5,test,,,image for 50ms followed by mask until response (1 or 2),.png,,image1,,,,,,mask,50,,50,,,,,1 2,1,
6,test,,,image for 60ms followed by mask until response (1 or 2),.png,,image1,,,,,,mask,50,,60,,,,,1 2,1,
7,test,,,image fo
<div>
- <button>
+ <span>
</div>
I finally got around to doing this. Goodreads has an import tool but it requires manually adding and re-rating each book.
Amazon really doesn't seem to want to show you your old ratings, but I finally found a page in Recommendations -> Improve your recommendations -> Items you've rated.
Then run this once:
``` js
localStorage.setItem("ratings", JSON.stringify({}))
```
#!/bin/bash
/usr/local/bin/tarsnap -c \
--cachedir /home/jamie/tarsnap \
--keyfile /home/jamie/tarsnap.key \
-f machine-`date +%Y-%m-%d_%H-%M-%S` \
/home/jamie/tarsnap.key \
/home/jamie/.ssh \
/home/jamie/bin \
/home/jamie/scratch \
/home/jamie/.bashrc \
jamie@machine:~/logicblox/bin$ lb web-server monitor -w imp node
Predicates currently monitored for workspace 'imp':
node
jamie@machine:~/logicblox/bin$ lb web-server monitor --help
usage: lb web-server monitor [-h] [-r] [-w WORKSPACE]
[PREDNAME [PREDNAME ...]]
positional arguments:
PREDNAME predicate names to monitor
module Graph
using Data
using Query
using BenchmarkTools
using Base.Test
srand(999)
const edge1 = Relation(([1, 2, 3, 3, 4], [2, 3, 1, 4, 2]), 2)
const edge2 = Relation((rand(1:Int64(1E5), Int64(1E6)), rand(1:Int64(1E5), Int64(1E6))), 2)
let # /home/jamie/imp/src/Query.jl, line 340:
local index_2 = index($(Expr(:escape, :playlist)),[2,1])
local index_2_2 = index_2[2]
local index_2_1 = index_2[1]
local lo_2_0 = 1
local hi_2_0 = 1 + length(index_2_2)
local index_3 = index($(Expr(:escape, :playlist_track)),[1,2])
local index_3_1 = index_3[1]
local index_3_2 = index_3[2]
local lo_3_0 = 1
SELECT MIN(chn.name) AS voiced_char,
MIN(n.name) AS voicing_actress,
MIN(t.title) AS voiced_animation
FROM aka_name AS an,
complete_cast AS cc,
comp_cast_type AS cct1,
comp_cast_type AS cct2,
char_name AS chn,
cast_info AS ci,
company_name AS cn,