jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.9.1 | Fund Crystals development: http://is.gd/X7PRtI | Paste > 3 lines of text to https://gist.github.com | GH: https://github.com/manastech/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Logs: http://irclog.whitequark.org/crystal-lang
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #crystal-lang
elia has quit [Quit: Computer has gone to sleep.]
pawnbox_ has quit [Remote host closed the connection]
McDougal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
McDougal has joined #crystal-lang
A124 has quit [Quit: '']
CraigBuchek has quit [Quit: Leaving.]
me has joined #crystal-lang
me is now known as Guest16769
Ven has joined #crystal-lang
Guest16769 has quit [Ping timeout: 272 seconds]
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
Ven has quit [Client Quit]
A124 has joined #crystal-lang
leafybas_ has quit [Remote host closed the connection]
NeverDie_ has joined #crystal-lang
cyjimmy264 has quit [Ping timeout: 246 seconds]
NeverDie has quit [Ping timeout: 260 seconds]
NeverDie_ has quit [Max SendQ exceeded]
NeverDie has joined #crystal-lang
NeverDie has quit [Max SendQ exceeded]
NeverDie has joined #crystal-lang
Cidan is now known as zz_Cidan
leafybas_ has joined #crystal-lang
leafybas_ has quit [Ping timeout: 250 seconds]
McDougal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fowlduck has joined #crystal-lang
fowlduck_ has joined #crystal-lang
fowlduck has quit [Ping timeout: 260 seconds]
zz_Cidan is now known as Cidan
A124 has quit [*.net *.split]
leafybas_ has joined #crystal-lang
leafybas_ has quit [Ping timeout: 272 seconds]
Cidan is now known as zz_Cidan
zz_Cidan is now known as Cidan
McDougal has joined #crystal-lang
A124 has joined #crystal-lang
NeverDie has quit [Ping timeout: 250 seconds]
NeverDie has joined #crystal-lang
fowlduck_ has quit [Remote host closed the connection]
Raimondi has quit [Remote host closed the connection]
Raimondi has joined #crystal-lang
NeverDie_ has joined #crystal-lang
leafybas_ has joined #crystal-lang
NeverDie has quit [Ping timeout: 272 seconds]
leafybas_ has quit [Ping timeout: 240 seconds]
Cidan is now known as zz_Cidan
McDougal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zz_Cidan is now known as Cidan
McDougal has joined #crystal-lang
McDougal has quit [Client Quit]
Cidan is now known as zz_Cidan
zz_Cidan is now known as Cidan
Cidan is now known as zz_Cidan
cyjimmy264 has joined #crystal-lang
zz_Cidan is now known as Cidan
pawnbox_ has joined #crystal-lang
McDougal has joined #crystal-lang
McDougal has quit [Client Quit]
blue_deref has quit [Quit: bbn]
Cidan is now known as zz_Cidan
McDougal has joined #crystal-lang
BlaXpirit has joined #crystal-lang
barosl_ has quit [Quit: Leaving]
Ven has joined #crystal-lang
cyjimmy264 has quit [Ping timeout: 272 seconds]
McDougal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox_ has quit [Remote host closed the connection]
leafybas_ has joined #crystal-lang
pawnbox_ has joined #crystal-lang
me has joined #crystal-lang
leafybas_ has quit [Ping timeout: 246 seconds]
me is now known as Guest75994
Guest75994 has quit [Remote host closed the connection]
elia has joined #crystal-lang
Ven has quit [Read error: Connection reset by peer]
McDougal has joined #crystal-lang
Ven has joined #crystal-lang
me has joined #crystal-lang
me is now known as Guest87649
trapped has joined #crystal-lang
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
barosl has joined #crystal-lang
Guest87649 has quit []
jua_ has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jua_ has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
nakilon has joined #crystal-lang
RX14 has quit [Quit: Fuck this shit, I'm out!]
trajing has quit [Quit: ZNC - 1.6.0 - http://znc.in]
RX14 has joined #crystal-lang
trajing has joined #crystal-lang
A124 has quit [Ping timeout: 264 seconds]
Ven has joined #crystal-lang
matp has quit [Ping timeout: 240 seconds]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmcginty has quit [Ping timeout: 260 seconds]
elia has quit [Quit: (IRC Client: textualapp.com)]
Ven has joined #crystal-lang
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
matp has joined #crystal-lang
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
leafybas_ has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
elia has joined #crystal-lang
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
elia has quit [Quit: (IRC Client: textualapp.com)]
cyjimmy264 has joined #crystal-lang
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
Dreamer3 has quit [Excess Flood]
BlaXpirit has quit [Remote host closed the connection]
BlaXpirit has joined #crystal-lang
Ven has quit [Read error: Connection reset by peer]
pawnbox_ has quit [Remote host closed the connection]
Ven has joined #crystal-lang
pawnbox_ has joined #crystal-lang
McDougal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
NeverDie_ has quit [Quit: http://radiux.io/]
NeverDie has joined #crystal-lang
matp_ has joined #crystal-lang
matp has quit [Ping timeout: 264 seconds]
bmcginty has joined #crystal-lang
matp has joined #crystal-lang
matp_ has quit [Ping timeout: 272 seconds]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<trapped> i've noticed that the OpenSSL::SHA1.hash output is slightly different than the commandline `openssl sha1` one: http://carc.in/#/r/m13 what is going on?
<trapped> i can see there's a missing 0 at the middle
<trapped> jhass: do you have any clue? should i open an issue?
<jhass> trapped: open an issue, maybe check against HEAD though
<trapped> i'm using HEAD
<trapped> well, i noticed it using HEAD before using carc.in
<jhass> trapped: ah
<jhass> actually your print doesn't pad properly
<trapped> ah that must be it
<trapped> i guess it didn't add the 0
<trapped> sorry for bothering you but you know when one tries to think too much about something, the strangest ideas come up
<jhass> don't we have .hexdigest or something?
<jhass> no worries
Ven has joined #crystal-lang
<jhass> trapped: so on HEAD OpenSSL::Digest.new("sha1").update("test").hexdigest works
<jhass> we probably need a better interface still
<trapped> well i guess a simple hexstring conversion on byte arrays would suffice
Ven has quit [Read error: Connection reset by peer]
cyjimmy264 has quit [Remote host closed the connection]
Ven has joined #crystal-lang
pawnbox_ has quit [Ping timeout: 240 seconds]
pawnbox_ has joined #crystal-lang
zz_Cidan is now known as Cidan
hangyas has joined #crystal-lang
Cidan is now known as zz_Cidan
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jokke> how can i include c code which isn't compiled into a library (as in a .c and a .h file) into a crystal lib?
<CompanionCube> hm, good question. Unfortunately I don't know
blue_deref has joined #crystal-lang
pawnbox_ has quit [Remote host closed the connection]
Ven_ has joined #crystal-lang
<jhass> jokke: compile the .o and add the right link flags?
<jokke> yeah..
<jokke> nvm it's also in the aur
<jhass> check the llvm debug stuff in the crystal repo
<jhass> basically does that
<CompanionCube> perhaps someone should add a note about that into the docs?
Ven_ has quit [Read error: Connection reset by peer]
Ven_ has joined #crystal-lang
Ven_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven_ has joined #crystal-lang
Dreamer3 has joined #crystal-lang
Ven_ has quit [Read error: Connection reset by peer]
<jokke> i think i asked about this before but is there a destructor for crystal? i need to call a c function to free a pointer when the gc gets rid of my class instane
<jokke> *instance
Ven_ has joined #crystal-lang
zz_Cidan is now known as Cidan
<jhass> define finalize
<jokke> ah ok cool
Cidan is now known as zz_Cidan
Ven_ has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
hangyas has quit [Quit: hangyas]
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
jwaldrip has joined #crystal-lang
<jwaldrip> Is there a good guide for getting started with shards?
<jwaldrip> I am trying to figure out how requiring files comes into play.
<jokke> jhass: i stumbled across a pretty kewl hashing algorithm the other day: xxHash. ever heard about it?
<jhass> nope
<jokke> jhass: wrote crystal bindings for it \o/ https://github.com/jreinert/xxhash-crystal
<jokke> it's pretty nice because it supports streaming
<jokke> well i guess every hashing algorithm does...
<jokke> more or less
<jokke> anyhow i'm going to use it to receive data from a stream and hash it simultaniously
Ven has quit [Read error: Connection reset by peer]
djellemah has joined #crystal-lang
Ven has joined #crystal-lang
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
McDougal has joined #crystal-lang
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
McDougal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
jwaldrip has quit [Quit: Be back later ...]
jwaldrip has joined #crystal-lang
McDougal has joined #crystal-lang
<jokke> any reason why there's no FileUtils in crystal?
<jhass> any reason for them to not be on File or Dir?
<jokke> oh
<jokke> no
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
McDougal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
McDougal has joined #crystal-lang
McDougal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
pawnbox_ has joined #crystal-lang
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
pawnbox_ has quit [Ping timeout: 240 seconds]
Ven has quit [Read error: Connection reset by peer]
Ven_ has joined #crystal-lang
Ven_ has quit [Read error: Connection reset by peer]
McDougal has joined #crystal-lang
Ven has joined #crystal-lang