it's hard having a full-time job and client work and being distracted with Elixir/Phoenix
wish I could start these client projects over with Phoenix...then client work would actually be fun and exiting
:)
creese` joined the channel
kblake_ has quit
creese has quit
tbstones has quit
n_masu joined the channel
d1plo1d joined the channel
avahey joined the channel
falood joined the channel
mitchellhenke joined the channel
mjs2600 joined the channel
n_masu has quit
juanjoc_ has quit
jepi has quit
tbstones joined the channel
zekriad joined the channel
mattmcclure joined the channel
slogsdon joined the channel
yt1 joined the channel
myronmarston has quit
ducduong joined the channel
drewolson has quit
zekriad has quit
hutsboR has quit
zekriad joined the channel
hutsboR joined the channel
ducduong has quit
jeregrine
scrogson: don't we all
Guest9000 joined the channel
creese`
scrogson: I need your lib to use mixes with ejabberd?
jeregrine
anyone know of a good sentry/honeybadger style service that integrates with elixir logger? specifically for error racking
hqmq has quit
codestorm444 joined the channel
edgurgel joined the channel
chrismccord joined the channel
btriley
jeregrine: bugsnag is a new one that I hear a lot of good things about. they don't show actual elixir support, but they have erlang support through something called community notifiers. maybe not too hard to make an elixir notifier? https://bugsnag.com/docs/notifiers
jeregrine
none of them are super hard
:)
btriley
(new to me, i should say)
paulcsmith_ joined the channel
tbstones has quit
jeregrine
btriley: hoping to piggey back on someone's labour is all
will just use papertrail for now
paulcsmith_ has quit
meatherly joined the channel
codestorm444 has quit
tbstones joined the channel
codestorm444 joined the channel
laut has quit
hassox has quit
chrismccord
btriley: there is a bugsnap plug project that you could take a look at for Elixir integration
codestorm joined the channel
codestorm444 has quit
codestorm444 joined the channel
codestorm444 has quit
codestorm444 joined the channel
juanjoc joined the channel
bigkevmc_ joined the channel
bigkevmcd has quit
slogsdon joined the channel
losvedir joined the channel
rossfu joined the channel
hahuang61 has quit
dnorris joined the channel
MartinElvar joined the channel
ptrckbrwn has left the channel
edgurgel has quit
codestorm has quit
edgurgel joined the channel
mfilej joined the channel
mitchellhenke has quit
meatherly joined the channel
paulcsmith_ joined the channel
kblake joined the channel
chrisconstantin joined the channel
mfilej has quit
ttvd has quit
yamadapc joined the channel
kblake has quit
chrisconstantin has quit
darrencauthon joined the channel
zv joined the channel
true_droid joined the channel
codestorm joined the channel
pyric joined the channel
losvedir has quit
amclain joined the channel
siruf joined the channel
edgurgel has quit
laut joined the channel
edgurgel joined the channel
ttvd joined the channel
true_droid has quit
meatherly joined the channel
d1plo1d has quit
d1plo1d joined the channel
paulcsmith_ has quit
edgurgel has quit
djm- joined the channel
philosodad joined the channel
codestorm has quit
rossfu has quit
Guest9000 joined the channel
Erhune joined the channel
sebasoga joined the channel
eka joined the channel
dnorris joined the channel
jeregrine
chrismccord: ! thanks
btriley has quit
slogsdon
are any of the ex_doc devs here?
d1plo1d has quit
zzing joined the channel
falood has quit
sebasoga has quit
Guest9000 joined the channel
elixir241 joined the channel
elixir241
Hi! I'm trying to pattern-match `"#{n}:" <> rest = "4:spam"` but that gives me a long error message http://pastebin.com/kx3zjidZ - could someone help me understand what I'm doing wrong?
chrismccord
elixir241: you can only match on the beginning of the string
darrencauthon joined the channel
elixir241
So does that mean I can only capture n, or I can only capture rest?
or is it one or the other
chrismccord
elixir241: oh wait, that shouldnt work
I thought you were trying to grab `n`
elixir241
I'm hoping to grab both
I'm trying to implement bencoding in elixir
as an intro-to-the-language project
If there's a better/more elixir-y way of doing this, I'd love to know about it :)
chrismccord
~~ "4:" <> rest = "4:spam"; rest
beamie
"spam"
elixir241
In bencoding, the format is <length of string> ":" <contents of string>, so I can't hardcode 4
tbstones has quit
Sorry if that was a dumb question
darrenca_ joined the channel
chrismccord
elixir241: not dump at all :) I think you'll need to dip into the String api and split by ":" to grab the length