Skip to content

Instantly share code, notes, and snippets.

View ixmatus's full-sized avatar

Parnell Springmeyer ixmatus

View GitHub Profile
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: SHA-1.6.4/installed-968... (user goal)
trying: hint-0.3.3.7 (user goal)
trying: ghc-7.6.3/installed-494... (dependency of hint-0.3.3.7)
next goal: bin-package-db (dependency of ghc-7.6.3/installed-494...)
rejecting: bin-package-db-0.0.0.0/installed-608... (conflict: SHA =>
binary==0.7.1.0/installed-a33..., bin-package-db =>
binary==0.5.1.1/installed-72e...)
Backjump limit reached (change with --max-backjumps).
data Num a => Data a = Data
{ uid :: Maybe IdOrKey
, timestamp :: Maybe TempoDBTime
, value :: a
} deriving (Show, Eq, Ord)
accept4(9, 0x7f34f08041d0, [16], SOCK_NONBLOCK) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x34a629c, FUTEX_WAIT_PRIVATE, 12111, NULL) = -1 EAGAIN (Resource temporarily unavailable)
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCknbhIPK7DhwCz2V5MwHbnXaZgbxr84oP4lW2mhEnjqDtQFAAiYwgKKgvngfbKDtuzSsUAGT3os9W3Zf+Zrw2M6YCQLRvyNUNlr//gK8tuofiyBViSe+jX+wlmUr7Mra8uLIxbcZrzkRG/3uUeqlcO7joNF3iWnqn3giHjcNgtxORFqEovrX/WV0Cdicuee8+Hn2WbBDxb4Nu36PNtI8cOrCzrXzz+8SrUeIXvI3Y92HfvN57BBElivDTp3iJYbmqUdqcJHiXrgIJ2L5Ynf4AkpsWue8CesP4900llsu61xVC1aLwfWAZOUk2UQdVtHk251S8WFo75hpojV39dlAmb
@ixmatus
ixmatus / pas.pub
Created June 29, 2014 20:59
Parnell's generic pubkey
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCknbhIPK7DhwCz2V5MwHbnXaZgbxr84oP4lW2mhEnjqDtQFAAiYwgKKgvngfbKDtuzSsUAGT3os9W3Zf+Zrw2M6YCQLRvyNUNlr//gK8tuofiyBViSe+jX+wlmUr7Mra8uLIxbcZrzkRG/3uUeqlcO7joNF3iWnqn3giHjcNgtxORFqEovrX/WV0Cdicuee8+Hn2WbBDxb4Nu36PNtI8cOrCzrXzz+8SrUeIXvI3Y92HfvN57BBElivDTp3iJYbmqUdqcJHiXrgIJ2L5Ynf4AkpsWue8CesP4900llsu61xVC1aLwfWAZOUk2UQdVtHk251S8WFo75hpojV39dlAmb
Host cmoon.chrisweaver.com
User cweaver
IdentityFile ~/.ssh/{yourkey}
IdentitiesOnly yes
PasswordAuthentication no
http://www.jerf.org/iri/post/2908
http://mwotton.github.com/hs_gbu/
http://reddit.com/r/haskell/comments/y6i7d/do_we_have_real_world_examples_of_where_static/
http://reddit.com/r/haskell/comments/12e3a0/the_good_the_bad_and_the_ugly_haskell_in/
http://blog.codersbase.com/2010/09/composability-laziness-testing-and.html
https://www.fpcomplete.com/user/imalsogreg/functional-programming-elevator-pitch
http://evincarofautumn.blogspot.com/2012/07/so-i-write-compilers-for-living-now.html
http://www.reddit.com/r/haskell/comments/2gz7s1/please_point_me_at_an_eloquent_paper_or_post_on/
-- Once we have an AMQP connection (which is stuffed into the RouterState data type) we then spawn multiple subscribers.
startSubscribers :: RouterState -> IO ()
startSubscribers r = do
stamp <- createTimestamp
tlist <- replicateM (amqpConsumers $ rstateSettings r) $ subscribe r
-- Link ALL of the async subscribers to this parent
debugM "Console" $ stamp ++ " [DEBUG] Linking subscribers"
forM_ tlist link
{cover_enabled, true}.
{erl_opts, [ debug_info
, {i, "deps/*/include"}
, {i, "apps/*/include"}
, {i, "apps/include"}
]}.
{edoc_opts, [{preprocess, true}]}.
{relx,
[ {extended_start_script, false}
, {include_src, false}
, {vm_args, "./config/vm.args"}
, {sys_config, "./config/sys.config"}
, {root_dir, "/opt/arm/lib/erlang"}
, {lib_dirs, ["./apps/*/ebin"]}
, {include_erts, "/opt/arm/lib/erlang"}
, {release, {lightpad, "1.0.0"},
[ "plumlog>=1.0.0"