jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.8.0 | 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
NeverDie has quit [Max SendQ exceeded]
NeverDie has joined #crystal-lang
harisamin has quit [Remote host closed the connection]
C453 has quit [Ping timeout: 240 seconds]
C453 has joined #crystal-lang
Philpax has joined #crystal-lang
havenwood has quit [Ping timeout: 265 seconds]
method__ has joined #crystal-lang
method__ is now known as method3000
<method3000> Does this make sense to anyone? https://gist.github.com/tristil/0aec17fef249719e2b9c
<method3000> And/or is there a better way to do what I'm trying to do?
<willl> method3000: how about something like this http://carc.in/#/r/i0f
<willl> on of the problems with doing that hash you have is all the values will be a union type, so you'd have to cast back to string or int later on probably
<method3000> willl: thanks checking it out now
havenwood has joined #crystal-lang
method3000 has quit [Ping timeout: 264 seconds]
NeverDie has quit [Quit: http://radiux.io/]
Sadin has joined #crystal-lang
Sadin has quit [Ping timeout: 250 seconds]
C453 has quit [Ping timeout: 240 seconds]
rmosolgo has joined #crystal-lang
harisamin has joined #crystal-lang
<harisamin> @asterite hi :)
<harisamin> thanks for your feedback on the pull request...just left some comments in response to yours. Still learning...and i wrote a lot...realized it might be easier to chat on irc :)
<harisamin> let me know what u think
C453 has joined #crystal-lang
C453 has quit [Ping timeout: 252 seconds]
harisamin has quit [Remote host closed the connection]
method3000 has joined #crystal-lang
NeverDie has joined #crystal-lang
ponga has joined #crystal-lang
NeverDie has quit [Quit: http://radiux.io/]
leafybasil has quit [Remote host closed the connection]
rmosolgo has quit [Remote host closed the connection]
C453 has joined #crystal-lang
C453 has quit [Ping timeout: 240 seconds]
pawnbox has joined #crystal-lang
method3000 has quit [Ping timeout: 246 seconds]
Philpax has quit [Ping timeout: 246 seconds]
Philpax has joined #crystal-lang
Philpax has quit [Ping timeout: 240 seconds]
Philpax has joined #crystal-lang
NeverDie has joined #crystal-lang
Philpax has quit [Ping timeout: 256 seconds]
leafybasil has joined #crystal-lang
Dreamer3 has quit [Quit: Leaving...]
n0xff has quit [Quit: t]
leafybasil has quit [Ping timeout: 246 seconds]
Ven has joined #crystal-lang
C453 has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
C453 has quit [Ping timeout: 240 seconds]
NeverDie has quit [Quit: http://radiux.io/]
nakilon has joined #crystal-lang
unshadow has joined #crystal-lang
ponga has quit [Quit: Connection closed for inactivity]
Nik- has joined #crystal-lang
NeverDie has joined #crystal-lang
nakilon has quit [Ping timeout: 250 seconds]
C453 has joined #crystal-lang
C453 has quit [Ping timeout: 255 seconds]
elia has joined #crystal-lang
pawnbox has joined #crystal-lang
leafybasil has joined #crystal-lang
leafybasil has quit [Ping timeout: 240 seconds]
BlaXpirit has joined #crystal-lang
ssvb has quit [Ping timeout: 250 seconds]
NeverDie has quit [Quit: http://radiux.io/]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ssvb has joined #crystal-lang
Ven has joined #crystal-lang
ssvb has quit [Ping timeout: 252 seconds]
C453 has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
C453 has quit [Ping timeout: 250 seconds]
ssvb has joined #crystal-lang
havenwood has quit [Ping timeout: 244 seconds]
Ven has joined #crystal-lang
nakilon has joined #crystal-lang
PragTob has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nakilon has quit [Ping timeout: 250 seconds]
NeverDie has joined #crystal-lang
NeverDie has quit [Client Quit]
C453 has joined #crystal-lang
C453 has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
NeverDie has joined #crystal-lang
Philpax has joined #crystal-lang
NeverDie has quit [Max SendQ exceeded]
NeverDie has joined #crystal-lang
Ven has joined #crystal-lang
NeverDie has quit [Max SendQ exceeded]
NeverDie has joined #crystal-lang
Philpax has quit [Quit: Leaving]
NeverDie has quit [Quit: http://radiux.io/]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NeverDie has joined #crystal-lang
C453 has joined #crystal-lang
NeverDie has quit [Client Quit]
C453 has quit [Ping timeout: 260 seconds]
NeverDie has joined #crystal-lang
NeverDie has quit [Max SendQ exceeded]
NeverDie has joined #crystal-lang
NeverDie has quit [Quit: http://radiux.io/]
<jokke> >> foo = nil; loop do; foo = "bla"; break; end; puts typeof(foo)
<DeBot> jokke: Syntax error in eval:20: expecting identifier 'end', not 'do' - http://carc.in/#/r/i34
<jokke> shouldn't this be String ?
<jokke> i mean i'd understand if it's a begin rescue end
<jokke> but there's no way the loop won't run at least once
Philpax has joined #crystal-lang
<jhass> well, crystal would need to analyze that the condition of the underlying while loop is always truthy
<jhass> so missing feature I'd say
<jokke> mmh
trapped has joined #crystal-lang
<jhass> >> foo = nil; if true; foo = "bar"; end; typeof(foo)
<DeBot> jhass: # => String? - http://carc.in/#/r/i3h
<jhass> same issue
<jokke> yeah
<jhass> oO
<jhass> that's crystal-git?
<jokke> yeah
nakilon has joined #crystal-lang
<jhass> I guess you installed llvm35 too?
<jhass> should probably make it depend on that for now
<jokke> no i have llvm 3.6.2
<jhass> still? 3.7 is in extra now
<jokke> yeah i'm sometimes lazy with updates :/
nakilon has quit [Ping timeout: 250 seconds]
C453 has joined #crystal-lang
<trapped> C453: .
<jhass> jokke: well, it's broken on HEAD, not much I can do about
<jhass> gonna fail the build with it though
<crystal-gh> [crystal] jhass pushed 1 new commit to master: http://git.io/vcyLF
<crystal-gh> crystal/master e63b515 Jonne Haß: Ensure doc generation still works with the latest compiler by running it...
C453 has quit [Ping timeout: 240 seconds]
leafybasil has joined #crystal-lang
Ven has joined #crystal-lang
<travis-ci> manastech/crystal#e63b515 (master - Ensure doc generation still works with the latest compiler by running it): The build was broken. https://travis-ci.org/manastech/crystal/builds/83674493
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ssvb has quit [Ping timeout: 264 seconds]
NeverDie has joined #crystal-lang
C453 has joined #crystal-lang
C453 has quit [Ping timeout: 240 seconds]
C453 has joined #crystal-lang
Mo0O_ has quit [Quit: WeeChat 0.4.3]
Ven has joined #crystal-lang
havenwood has joined #crystal-lang
<jokke> jhass: hmm. wasn't this fixed at some point? https://p.jreinert.com/vvE/
ponga has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass> I don't remember
<jhass> but I don't think so
<jokke> hm
<jokke> jhass: i opened an issue
<jhass> mmh, I'll let asterite search for the duplicate :P
Philpax_ has joined #crystal-lang
Philpax has quit [Ping timeout: 268 seconds]
nakilon has joined #crystal-lang
Philpax_ has quit [Ping timeout: 255 seconds]
nakilon has quit [Ping timeout: 246 seconds]
ssvb has joined #crystal-lang
hangyas has joined #crystal-lang
<hangyas> hi, is there any image processing library for crystal?
<jhass> as in imagemagick?
<hangyas> yes
<jhass> can't find anything
[spoiler] has quit [Quit: Cheers!]
<hangyas> well, me neither
[spoiler] has joined #crystal-lang
hangyas has quit [Quit: hangyas]
Sadin has joined #crystal-lang
method3000 has joined #crystal-lang
[spoiler] has quit [Quit: Cheers!]
[spoiler] has joined #crystal-lang
[spoiler] has quit [Quit: Cheers!]
C453 has quit [Ping timeout: 272 seconds]
[spoiler] has joined #crystal-lang
[spoiler] has quit [Client Quit]
[spoiler] has joined #crystal-lang
[spoiler] has quit [Client Quit]
[spoiler] has joined #crystal-lang
method3000 has quit [Quit: Lost terminal]
Ven has joined #crystal-lang
rmosolgo has joined #crystal-lang
Nik- has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nakilon has joined #crystal-lang
nakilon has quit [Ping timeout: 240 seconds]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bmcginty> I'm having something very odd happen with arrays containing nils. http://play.crystal-lang.org/#/r/i3v
<bmcginty> and I'm extremely confused, at this point.
<rmosolgo> you want to push `nil` into the array
<rmosolgo> Nil is the type
<rmosolgo> `nil` is the object
<rmosolgo> er, nil
<bmcginty> rmosolgo: Ah! thanks!
<jhass> bmcginty: Nil:Class is the metaclass of Nil, nil.is_a? Nil and Nil.is_a? Nil:Class so to say
<bmcginty> jhass: got it. thanks.
C453 has joined #crystal-lang
C453 has quit [Ping timeout: 250 seconds]
elia has quit [Quit: Computer has gone to sleep.]
Excureo has quit [Remote host closed the connection]
Excureo has joined #crystal-lang
C453 has joined #crystal-lang
PragTob has quit [Quit: Leaving]
Excureo has quit [Remote host closed the connection]
C453 has quit [Ping timeout: 246 seconds]
ponga has quit [Quit: Connection closed for inactivity]
Excureo has joined #crystal-lang
gamemanj has joined #crystal-lang
C453 has joined #crystal-lang
NeverDie has quit [Quit: http://radiux.io/]
ismaelga has joined #crystal-lang
C453 has quit [Ping timeout: 268 seconds]
qard has joined #crystal-lang
havenwood has quit [Ping timeout: 240 seconds]
C453 has joined #crystal-lang
ismaelga has quit [Remote host closed the connection]
C453 has quit [Ping timeout: 255 seconds]
ismaelga has joined #crystal-lang
C453 has joined #crystal-lang
C453 has quit [Ping timeout: 255 seconds]
shama has joined #crystal-lang
greengriminal has joined #crystal-lang
C453 has joined #crystal-lang
C453 has quit [Ping timeout: 252 seconds]
nakilon has joined #crystal-lang
leafybasil has quit [Remote host closed the connection]
havenwood has joined #crystal-lang
nakilon has quit [Ping timeout: 250 seconds]
havenwood has quit [Ping timeout: 244 seconds]
ismael has joined #crystal-lang
shaundavis has joined #crystal-lang
shaundavis has quit [Client Quit]
ismael is now known as Guest91847
sdogruyol has joined #crystal-lang
<sdogruyol> hey
ismaelga has quit [Ping timeout: 246 seconds]
shaundavis has joined #crystal-lang
<wmoxam> ruby-lang238: hay
<wmoxam> whoops
<wmoxam> damn up arrow
shaundavis has left #crystal-lang [#crystal-lang]
leafybasil has joined #crystal-lang
havenwood has joined #crystal-lang
Guest91847 has quit [Remote host closed the connection]
ismaelga has joined #crystal-lang
<sdogruyol> :D
C453 has joined #crystal-lang
<sdogruyol> when is the new version is coming for Crystal ?
<jhass> in the future
ismaelga has quit [Remote host closed the connection]
<thor77> when it's done
<sdogruyol> jhass: heheh
<sdogruyol> how are you doing guys
C453 has quit [Ping timeout: 265 seconds]
fowlduck has joined #crystal-lang
greengriminal has quit [Quit: This computer has gone to sleep]
C453 has joined #crystal-lang
C453 has quit [Ping timeout: 264 seconds]
fowlduck has quit [Remote host closed the connection]
greengriminal has joined #crystal-lang
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #crystal-lang
nakilon has joined #crystal-lang
C453 has joined #crystal-lang
trapped has quit [Read error: Connection reset by peer]
fowlduck has joined #crystal-lang
fowlduck has quit [Ping timeout: 246 seconds]
C453 has quit [Ping timeout: 268 seconds]
sdogruyol has quit [Quit: Leaving...]
havenn has joined #crystal-lang
havenwood has quit [Ping timeout: 250 seconds]
ismaelga has joined #crystal-lang
havenwood has joined #crystal-lang
havenn has quit [Ping timeout: 265 seconds]
unshadow has quit [Ping timeout: 246 seconds]
elia has joined #crystal-lang
BlaXpirit has quit [Quit: Konversation]
kulelu88 has joined #crystal-lang
gamemanj has quit [Ping timeout: 264 seconds]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vcQJ7
<crystal-gh> crystal/master 6df7614 Ary Borenszweig: Recursive struct check: skip instance vars without types
<jhass> jokke: there, that should fix it ^
<travis-ci> manastech/crystal#6df7614 (master - Recursive struct check: skip instance vars without types): The build was fixed. https://travis-ci.org/manastech/crystal/builds/83773708
ssvb has quit [Ping timeout: 264 seconds]
ismaelga has quit [Remote host closed the connection]
NeverDie has joined #crystal-lang
ismaelga has joined #crystal-lang
ismaelga has quit [Remote host closed the connection]
havenn has joined #crystal-lang
havenwood has quit [Ping timeout: 246 seconds]
havenn is now known as havenwood
leafybasil has quit [Read error: Connection reset by peer]
leafybasil has joined #crystal-lang
fowlduck has joined #crystal-lang
leafybasil has quit [Remote host closed the connection]
ssvb has joined #crystal-lang
qard has quit [Quit: Textual IRC Client: www.textualapp.com]
greengriminal has quit [Quit: Leaving]
elia has quit [Quit: Computer has gone to sleep.]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vcQEU
<crystal-gh> crystal/master c8c731e Ary Borenszweig: Turned CSV into a class, which lets you traverse a CSV, optionally with headers, and access row values. Fixes #1691. Fixes #1016
<travis-ci> manastech/crystal#c8c731e (master - Turned CSV into a class, which lets you traverse a CSV, optionally with headers, and access row values. Fixes #1691. Fixes #1016): The build was broken. https://travis-ci.org/manastech/crystal/builds/83789384
<DeBot> https://github.com/manastech/crystal/pull/1691 (Adding CSV header support to standard library. All changes are non-br…) | https://github.com/manastech/crystal/issues/1016 (support csv header ?)
ssvb has quit [Ping timeout: 246 seconds]
<crystal-gh> [crystal] asterite pushed 2 new commits to master: http://git.io/vcQ24
<crystal-gh> crystal/master 6d101f7 Ary Borenszweig: Added missing csv files. Related to #1691
<crystal-gh> crystal/master 29ddc0c Ary Borenszweig: HTTP::Client: Allow setting multiple `before_request` callbaks, and move their execution to the correct place
fowlduck has quit [Remote host closed the connection]
leafybasil has joined #crystal-lang
<travis-ci> manastech/crystal#29ddc0c (master - HTTP::Client: Allow setting multiple `before_request` callbaks, and move their execution to the correct place): The build was fixed. https://travis-ci.org/manastech/crystal/builds/83791306
ssvb has joined #crystal-lang
waterlink has joined #crystal-lang
<waterlink> So, I have hit the limit of macros I suppose: https://github.com/waterlink/spec2.cr/issues/6
<waterlink> Anyone, who cares enough, can you take a look and leave your opinion, if it is a problem at all? (see my last comment at a moment of writing).
<waterlink> s/.$/?/
C453 has joined #crystal-lang
ssvb has quit [Remote host closed the connection]
C453 has quit [Ping timeout: 246 seconds]
<jhass> why does let generate a macro in the first place?
<jhass> shouldn't it generate a memoizing method in a class or something?
ssvb has joined #crystal-lang
<waterlink> Yes, it should. Given that you have a class in the first place.
<waterlink> I tried to avoid creating class/module per example/and/or/context. Looks like it is a limit..
havenn has joined #crystal-lang
havenwood has quit [Ping timeout: 246 seconds]
C453 has joined #crystal-lang
Philpax_ has joined #crystal-lang
havenn has quit [Quit: Textual IRC Client: www.textualapp.com]
shama has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]