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
adam_ has quit [Ping timeout: 245 seconds]
adam_ has joined #crystal-lang
aladagemre has quit []
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fowlduck has quit [Remote host closed the connection]
fowlduck has joined #crystal-lang
daveshah has quit [Remote host closed the connection]
Virviil has quit [Ping timeout: 272 seconds]
shama has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]
fowlduck has quit [Remote host closed the connection]
fowlduck has joined #crystal-lang
waterlin1 has joined #crystal-lang
waterlink has quit [Ping timeout: 240 seconds]
ozra has quit [Ping timeout: 256 seconds]
Renich has joined #crystal-lang
Sadin has quit [Quit: Leaving]
Sadin has joined #crystal-lang
waterlin1 has quit [Ping timeout: 250 seconds]
slash_away is now known as slash_join
fowlduck has quit [Remote host closed the connection]
fowlduck has joined #crystal-lang
fowlduck has quit [Ping timeout: 240 seconds]
sane_k_ has joined #crystal-lang
trapped has joined #crystal-lang
Sadin has quit [Quit: Leaving]
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
trapped has joined #crystal-lang
Raimondi has joined #crystal-lang
fowlduck has joined #crystal-lang
fowlduck has quit [Ping timeout: 272 seconds]
Renich has quit [Quit: leaving]
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
trapped has joined #crystal-lang
trapped has quit [Client Quit]
Ven has joined #crystal-lang
Guest36495 has joined #crystal-lang
Guest36495 has quit [Ping timeout: 256 seconds]
user13 has joined #crystal-lang
user13 has quit [Quit: leaving]
user13 has joined #crystal-lang
elia has joined #crystal-lang
user13 has quit [Ping timeout: 256 seconds]
user13 has joined #crystal-lang
user13 has quit [Ping timeout: 240 seconds]
user13 has joined #crystal-lang
Ven has quit [Ping timeout: 272 seconds]
user13 has quit [Ping timeout: 250 seconds]
user13 has joined #crystal-lang
daveshah has joined #crystal-lang
ozra has joined #crystal-lang
user13 has quit [Ping timeout: 250 seconds]
daveshah has quit [Remote host closed the connection]
ponga has joined #crystal-lang
buggs has joined #crystal-lang
trapped has joined #crystal-lang
Ven has joined #crystal-lang
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
A124 has joined #crystal-lang
trapped has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vRdCK
<crystal-gh> crystal/master 78eaab1 Ary Borenszweig: Fixed Struct#hash to always return Int32. Fixes #1940
elia has quit [Quit: (IRC Client: textualapp.com)]
<travis-ci> manastech/crystal#78eaab1 (master - Fixed Struct#hash to always return Int32. Fixes #1940): The build was broken. https://travis-ci.org/manastech/crystal/builds/95795846
<DeBot> https://github.com/manastech/crystal/issues/1940 (When a struct has a instance variable of BigInt, `Struct#hash` made by macro raises an error.)
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vRduY
<crystal-gh> crystal/master 8d07d32 Ary Borenszweig: Fixed spec
<travis-ci> manastech/crystal#8d07d32 (master - Fixed spec): The build was fixed. https://travis-ci.org/manastech/crystal/builds/95799125
ponga has quit []
aladagemre has joined #crystal-lang
daveshah has joined #crystal-lang
<aladagemre> when we have struct S; type T = S; and a function expecting pointer of T as argument, how can we create new T object and send its reference to the function?
<jhass> T.new as well as S.new as T should work
<jhass> or use alias instead of type and it should be accepted implicitly
<aladagemre> well it says T doesn't have method new when I say T.new. when I try to cast, it says S can't be casted to T. I am using struct/type from C-binding
<BlaXpirit> aladagemre, i haven't seen any case where you'd need to make a distinct copy of a struct
<BlaXpirit> unless you explain, i assume you're misusing this `type`thing, and should be using alias instead
trajing has joined #crystal-lang
<aladagemre> thanks, that was useful. I guess the code created by crystal_lib created unecessary type T = S and then used T* everywhere. I replaced T* with S* in the code and it worked
<BlaXpirit> aladagemre, i'd like to see that
<BlaXpirit> what it created and based on what
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<aladagemre> BlaXpirit: ok I will be sharing them soon
Ven has joined #crystal-lang
aladagemre has quit [Remote host closed the connection]
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
trapped has joined #crystal-lang
Excureo has joined #crystal-lang
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
daveshah has quit [Ping timeout: 240 seconds]
fowlduck has joined #crystal-lang
fowlduck has quit [Ping timeout: 256 seconds]
Sadin has joined #crystal-lang
Ven has quit [Ping timeout: 256 seconds]
globalkeith has joined #crystal-lang
Ven has joined #crystal-lang
Ven has quit [Ping timeout: 250 seconds]
shama has joined #crystal-lang
slash_join is now known as slash_mode
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
daveshah has joined #crystal-lang
fowlduck has joined #crystal-lang
Sadin has quit [Read error: Connection reset by peer]
fowlduck has quit [Ping timeout: 256 seconds]
Sadin has joined #crystal-lang
Ven has joined #crystal-lang
thor77 has joined #crystal-lang
<thor77> is anyone solving AoC in crystal?
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Renich has joined #crystal-lang
Ven has joined #crystal-lang
Ven has quit [Ping timeout: 272 seconds]
Ven has joined #crystal-lang
trapped has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
globalkeith has joined #crystal-lang
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
Ven has quit [Client Quit]
<thor77> is there an equivalent to ruby's "eval" in crystal?
<jhass> no
<jhass> think about it for a while and you realize why
<thor77> :(
<jhass> or ask the same question for C
<thor77> done
<thor77> ty :)
* thor77 slaps thor77 and starts getting carried away
Sadin has quit [Ping timeout: 250 seconds]
tomchapin has joined #crystal-lang
<BlaXpirit> thor77, heh asterite is solving AoC
<BlaXpirit> also u shouldnt abbreviate that
<thor77> BlaXpirit: y?
<thor77> asterite: how did you solve day8 without eval?
<BlaXpirit> advent of code is not so well known
<thor77> heh
<thor77> kk
<BlaXpirit> wish i had time
trapped has joined #crystal-lang
Renich has quit [Ping timeout: 240 seconds]
Ven has joined #crystal-lang
Renich has joined #crystal-lang
fowlduck has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fowlduck_ has joined #crystal-lang
fowlduck has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
trapped has joined #crystal-lang
tomchapin has quit [Quit: Textual IRC Client: www.textualapp.com]
Ven has joined #crystal-lang
Ven has quit [Client Quit]
Ven has joined #crystal-lang
Ven has quit [Client Quit]
Ven has joined #crystal-lang
avdi_ has quit []
avdi has joined #crystal-lang
Ven has quit [Ping timeout: 256 seconds]
Renich has quit [Ping timeout: 256 seconds]
Ven has joined #crystal-lang
Renich has joined #crystal-lang
waterlink has joined #crystal-lang
sane_k_ has quit [Ping timeout: 272 seconds]
sane_k_ has joined #crystal-lang
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
globalkeith has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sane_k_ has quit [Ping timeout: 272 seconds]
slash_mode is now known as slash_away
daveshah has quit [Remote host closed the connection]
shama has quit [Ping timeout: 250 seconds]
aemadrid has quit [Ping timeout: 250 seconds]
guilleiguaran__ has quit [Ping timeout: 240 seconds]
mroth has quit [Ping timeout: 240 seconds]
aladagem_ has joined #crystal-lang
aladagem_ is now known as aladagemre
danzilio has quit [Ping timeout: 250 seconds]
aemadrid has joined #crystal-lang
aemadrid has quit [Read error: Connection reset by peer]
mroth has joined #crystal-lang
aemadrid has joined #crystal-lang
mroth has quit [Remote host closed the connection]
aemadrid has quit [Remote host closed the connection]
mroth has joined #crystal-lang
aemadrid has joined #crystal-lang
guilleiguaran__ has joined #crystal-lang
aladagemre has quit []
shama has joined #crystal-lang
trapped has quit [Quit: Textual IRC Client: www.textualapp.com]
elia has joined #crystal-lang
danzilio has joined #crystal-lang
Renich has quit [Ping timeout: 256 seconds]
Renich has joined #crystal-lang