jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.7.1 | 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
DerisiveLogic has quit [Ping timeout: 244 seconds]
willlll has quit [Quit: willlll]
DerisiveLogic has joined #crystal-lang
DerisiveLogic has quit [Remote host closed the connection]
DerisiveLogic has joined #crystal-lang
willlll has joined #crystal-lang
shama has quit [Remote host closed the connection]
shama has joined #crystal-lang
datanoise has quit [Ping timeout: 245 seconds]
havenwood has quit [Ping timeout: 276 seconds]
Cidan is now known as zz_Cidan
waterlink1 has joined #crystal-lang
havenwood has joined #crystal-lang
waterlink has quit [Ping timeout: 256 seconds]
waterlink1 has quit [Quit: Leaving.]
datanoise has joined #crystal-lang
shama has quit [Remote host closed the connection]
shama has joined #crystal-lang
zz_Cidan is now known as Cidan
willlll has quit [Quit: willlll]
shama has quit [Remote host closed the connection]
havenwood has quit []
bcardiff has joined #crystal-lang
Cidan is now known as zz_Cidan
shama has joined #crystal-lang
shama has quit [Remote host closed the connection]
shama has joined #crystal-lang
Sadin has quit [Quit: Leaving]
shama has quit [Remote host closed the connection]
<Dreamer3> interesting
broz has quit [Remote host closed the connection]
willlll has joined #crystal-lang
shama has joined #crystal-lang
willlll has quit [Quit: willlll]
willlll has joined #crystal-lang
shama has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]
datanoise has quit [Ping timeout: 264 seconds]
bcardiff has quit [Quit: Leaving.]
datanoise has joined #crystal-lang
zz_Cidan is now known as Cidan
Cidan is now known as zz_Cidan
JBat has joined #crystal-lang
JBat has quit [Quit: Computer has gone to sleep.]
datanoise has quit [Ping timeout: 246 seconds]
JBat has joined #crystal-lang
JBat has quit [Client Quit]
DerisiveLogic has quit [Remote host closed the connection]
datanoise has joined #crystal-lang
datanoise has quit [Ping timeout: 256 seconds]
willlll has quit [Quit: willlll]
unshadow has joined #crystal-lang
<unshadow> >> a = 1; loop do { a += 1; break if a > 5 } end
<DeBot> unshadow: Syntax error in eval:2: expecting identifier 'end', not 'do' - http://carc.in/#/r/1t
<unshadow> >> a = 1; loop { a += 1; break if a > 5 } end
<DeBot> unshadow: Syntax error in eval:3: expecting token 'EOF', not 'rescue' - http://carc.in/#/r/1u
<unshadow> Nice ! you added a web site ! cool !!
unshadow has quit [Quit: leaving]
unshadow has joined #crystal-lang
BlaXpirit has joined #crystal-lang
<unshadow> jhass, are you here ?
<jhass> unshadow: sup?
<unshadow> how do I do rescue => e ?
<unshadow> it seems the => e wont work in crystal
<jhass> e : Exception
<unshadow> oh, thanks :)
<jhass> if Exception is a specific class
<unshadow> general rescue Exception wont work ?
<jhass> plain e if it's Exception, see the template I use for the bot ;D
<unshadow> >> puts "a"
<DeBot> unshadow: a - more at http://carc.in/#/r/2p
<jhass> mh, if you don't want to capture that should work too
<unshadow> rescue e
<jhass> >> begin; raise "foo"; rescue Exception; puts "nope"; end;
<DeBot> jhass: nope - more at http://carc.in/#/r/2q
<unshadow> nice job with the site ! thanks
<unshadow> cool is working, thanks !
<unshadow> Are threads still broken ? (when using io)
<jhass> in 0.7 apparently
<jhass> asterite: http://carc.in/#/r/2e bug?
<unshadow> jhass, also Dir.pwd isn't working for me
<jhass> >> Dir.working_directory
<DeBot> jhass: - http://carc.in/#/r/2v
<unshadow> ohhh, ok
<jhass> no idea why there's no return value on the site, mh
DeBot has quit [Quit: Crystal]
DeBot has joined #crystal-lang
<jhass> >> Dir.working_directory
<DeBot> jhass: nil - http://carc.in/#/r/2w
<unshadow> jhass, a bug ? -> http://carc.in/#/r/2x
<jhass> no, your tcp_socket is a potential nil and it doesn't like that
<unshadow> well, even if I add a unless tcp_socket == nil , it still complains
<unshadow> what should I do ?
<jhass> where did you add?
<jhass> http://carc.in/#/r/30 works, sort of
<jhass> it probably should treat unless x == nil the same, feel free to open an issue about that
<jhass> http://carc.in/#/r/31 0.7 broke it I guess
<jhass> btw why not put th whole thing into the begin/rescue?
<unshadow> Just playing around TBH :)
<unshadow> also if != nil wont work
datanoise has joined #crystal-lang
datanoise has quit [Ping timeout: 256 seconds]
kgadek has quit [Ping timeout: 256 seconds]
kgadek has joined #crystal-lang
unshadow has quit [*.net *.split]
fowl has quit [*.net *.split]
dom96 has quit [*.net *.split]
dom96 has joined #crystal-lang
notfowl has joined #crystal-lang
notfowl has quit [Excess Flood]
unshadow has joined #crystal-lang
notfowl has joined #crystal-lang
notfowl has quit [Changing host]
notfowl has joined #crystal-lang
JBat has joined #crystal-lang
notfowl- has joined #crystal-lang
notfowl- has quit [Changing host]
notfowl- has joined #crystal-lang
notfowl has quit [*.net *.split]
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #crystal-lang
datanoise has joined #crystal-lang
datanoise has quit [Ping timeout: 276 seconds]
havenwood has joined #crystal-lang
HakanD has joined #crystal-lang
<unshadow> Something is really wrong with the OpenSSL class ....
datanoise has joined #crystal-lang
datanoise has quit [Ping timeout: 264 seconds]
waterlink has joined #crystal-lang
DeBot has quit [Remote host closed the connection]
jhass has quit [Quit: Bye]
HakanD has quit [Read error: Connection reset by peer]
Dreamer3_ has joined #crystal-lang
Dreamer3 has quit [Read error: Connection reset by peer]
HakanD has joined #crystal-lang
jhass has joined #crystal-lang
DeBot has joined #crystal-lang
Dreamer3_ is now known as Dreamer3
datanoise has joined #crystal-lang
DerisiveLogic has joined #crystal-lang
notfowl- has quit [Read error: Connection reset by peer]
broz has joined #crystal-lang
waterlink has quit [Quit: Leaving.]
BlaXpirit has quit [Remote host closed the connection]
BlaXpirit has joined #crystal-lang
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #crystal-lang
broz has quit [Ping timeout: 256 seconds]
HakanD has quit [Read error: Connection reset by peer]
datanoise has quit [Ping timeout: 276 seconds]
datanoise has joined #crystal-lang
leafybas_ has joined #crystal-lang
leafybasil has quit [Ping timeout: 264 seconds]
datanoise has quit [Ping timeout: 246 seconds]
datanoise has joined #crystal-lang
JBat has quit [Quit: Computer has gone to sleep.]
asterite has joined #crystal-lang
<asterite> jhass: is carc.in open source? :-)
<jhass> not yet
<jhass> what are you interested in?
<asterite> good :-)
<asterite> Oh, nothing really, just curious. If it's open source we can improve it faster, maybe. I can add codemirror, for instance... but that should be pretty simple
<asterite> and did you use crystal-gg in the end?
<asterite> pg...
willlll has joined #crystal-lang
<jhass> yes, I used crystal-pg
<jhass> and I already added codemirror :P
<asterite> Hm, got to check before asking :-P
<jhass> if somebody wants to write two matching themes for highlightjs and codemirror...
<asterite> We can actually use the colors that github use, that's what I use in the API docs
<asterite> they look really nice
<jhass> yeah, I use the github theme for highlightjs
<jhass> no such thing for codemirror, at least I found none
<asterite> I'll search or write one later
asterite has quit [Quit: Page closed]
leafybas_ has quit [Remote host closed the connection]
leafybasil has joined #crystal-lang
jhass has quit [Quit: Bye]
jhass has joined #crystal-lang
vikaton has joined #crystal-lang
<vikaton> can someone give me an example on how some of the overloads of String.new is?
<jhass> >> ptr = Pointer.malloc(4) { |i| ('a'.ord + i).to_u8 }; String.new(ptr, 2)
<DeBot> jhass: nil - http://carc.in/#/r/3b
<jhass> uh, my fail
<jhass> >> ptr = Pointer.malloc(4) { |i| ('a'.ord + i).to_u8 }; p String.new(ptr, 2)
<DeBot> jhass: "ab" - more at http://carc.in/#/r/3c
<jhass> straight from the docs: http://crystal-lang.org/api/
<vikaton> oo wats this
<vikaton> nice playpen "P
<vikaton> :P*
vikaton has quit []
<unshadow> asterite, what do you say about adding .accept to the ssl class ?
DeBot has quit [Quit: Crystal]
DeBot has joined #crystal-lang
leafybasil has quit [Ping timeout: 246 seconds]
DeBot has quit [Quit: Crystal]
DeBot has joined #crystal-lang
leafybasil has joined #crystal-lang
<unshadow> jhass, nice upgrades to the web :) I liked the color support when writing
waterlink has joined #crystal-lang
waterlink has quit [Ping timeout: 255 seconds]
datanoise has quit [Ping timeout: 246 seconds]
bcardiff has joined #crystal-lang
waterlink has joined #crystal-lang
bcardiff has quit [Quit: Leaving.]
havenwood has quit [Ping timeout: 264 seconds]
kulelu88 has joined #crystal-lang
datanoise has joined #crystal-lang
willlll has quit [Quit: willlll]
BlaXpirit has quit [Quit: Quit Konversation]
datanoise has quit [Ping timeout: 265 seconds]
willlll has joined #crystal-lang
havenwood has joined #crystal-lang
unshadow_ has joined #crystal-lang
<unshadow_> Where can I find the blog posts ?
unshadow_ has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
<jhass> unshadow: ^