jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.18.7 | Fund Crystals development: http://is.gd/X7PRtI | Paste > 3 lines of text to https://gist.github.com | GH: https://github.com/crystal-lang/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Logs: http://irclog.whitequark.org/crystal-lang
Renich has quit [Quit: leaving]
scottj has joined #crystal-lang
onionhammer has quit [Quit: WeeChat 1.0.1]
onionhammer has joined #crystal-lang
mkl0501 has joined #crystal-lang
mkl0501 has quit [Client Quit]
mkl0501 has joined #crystal-lang
kulelu88 has quit [Quit: Leaving]
Philpax has quit [Ping timeout: 244 seconds]
pawnbox has joined #crystal-lang
mkl0501 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
Philpax has joined #crystal-lang
mkl0501 has joined #crystal-lang
mkl0501 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
onethirtyfive has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
Philpax has quit [Ping timeout: 244 seconds]
ome has joined #crystal-lang
pawnbox has joined #crystal-lang
bjz has joined #crystal-lang
mark_66 has joined #crystal-lang
scottj has left #crystal-lang [#crystal-lang]
Philpax has joined #crystal-lang
pawnbox has quit [Ping timeout: 276 seconds]
pawnbox has joined #crystal-lang
adam12 has quit [Ping timeout: 276 seconds]
mkl0501 has joined #crystal-lang
mkl0501 has quit [Client Quit]
adam^ has joined #crystal-lang
ome has quit [Quit: Connection closed for inactivity]
<FromGitter> <jmoriau> I randomly get "#<Errno:0xa59c40 @message="SSL_shutdown: Operation now in progress", @cause=nil, @callstack=CallStack(@callstack=[Pointer(Void)@0x414fbe, Pointer(Void)@0x449ac7, Pointer(Void)@0x48ddc5, Pointer(Void)@0x4f33b0, Pointer(Void)@0x505895, Pointer(Void)@0x417072, Pointer(Void).null], @backtrace=nil), @errno=115>" every once in a while is it worth mentioning in an issue or is it due to my setup?
<FromGitter> <jmoriau> (I have a long running process handling the lights in my apartment and every few days the process stops with this error)
<RX14> huh
<FromGitter> <jmoriau> (it's most likely while making a POST call to LIFX's servers)
<RX14> @jmoriau can you print that backtrace properly?
<FromGitter> <jmoriau> well in few days sure...
<RX14> *sigh*
<FromGitter> <jmoriau> just have to wait for it to happen again
<FromGitter> <jmoriau> is `puts e.backtrace` enough for next time ?
<RX14> seems like a crystal bug
<RX14> well there's a method on exception which prints it properly
<FromGitter> <jmoriau> Uh had no idea which one is it
<RX14> inspect_with_backtrace(STDOUT)
<FromGitter> <jmoriau> ok cool thanks well I'll see in a few days then
<RX14> no make a bug report for it
<FromGitter> <jmoriau> ok
<RX14> it seems to me like an error in crystal's interction between nonblocking sockets/evented io and openssl
<RX14> interaction*
<FromGitter> <jmoriau> Well I'll open an issue and include a proper backtrace when I get one then
<FromGitter> <ssaatya> How do you use base level socket
<jhass> ssaatya: I don't get your question, sorry
<FromGitter> <ssaatya> How can you use TCPSocket first i wrote to socket next i read from socket i didnt get anything
<jhass> share what you got?
<FromGitter> <ssaatya> It is at https://carc.in/#/r/17at
<jhass> you need two \r\n after the headers
<FromGitter> <ssaatya> Ok thanks for your help once again
<RX14> also you should phobably use HTTP::Client
<RX14> instead of writing your own
pawnbox has quit [Ping timeout: 250 seconds]
ponga has joined #crystal-lang
<FromGitter> <ssaatya> Ok it doesnt redirect . It passes url directory with protocol and doesnt redirect
<FromGitter> <ssaatya> directly
ponga has quit [Read error: No route to host]
ponga has joined #crystal-lang
Philpax has quit [Ping timeout: 252 seconds]
triangles has joined #crystal-lang
steenuil has joined #crystal-lang
Philpax has joined #crystal-lang
pawnbox has joined #crystal-lang
bjz has quit [Ping timeout: 244 seconds]
bjz has joined #crystal-lang
mkl0501 has joined #crystal-lang
triangles has quit [Quit: Leaving]
Oliphaunte has joined #crystal-lang
mkl0501 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Philpax has quit [Ping timeout: 250 seconds]
trapped has joined #crystal-lang
pawnbox has quit [Ping timeout: 276 seconds]
pawnbox has joined #crystal-lang
<Papierkorb> Does the compiler already do automatic inlining?
steenuil has quit [Read error: Connection reset by peer]
<tilpner> Even if the crystal frontend itself doesn't, LLVM does a lot more than that.
<crystal-gh> [crystal] ysbaddaden opened pull request #3170: [WIP] Add file:line information to backtraces (master...core-callstack-refactor) https://git.io/v6oca
pawnbox has quit [Read error: No route to host]
pawnbox has joined #crystal-lang
<jhass> as said we let LLVM do the inlining, there's the @[AlwaysInline] attribute to force it. yield statements are always inlined
Criskov has joined #crystal-lang
mkl0501 has joined #crystal-lang
<Criskov> Hello Crystal community!, Does Crystal have BigMath.E or BigMath.PI?
<jhass> >> Math::PI
<DeBot> jhass: # => 3.1415926535897931 - https://carc.in/#/r/17bu
<jhass> >> Math::E
<DeBot> jhass: # => 2.7182818284590451 - https://carc.in/#/r/17bv
<jhass> that's all I see
<Criskov> Ok, thanks jhass, Crystal rules! :-D
Criskov has quit [Quit: Page closed]
xmgx has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 244 seconds]
Oliphaunte has joined #crystal-lang
mark_66 has quit [Quit: Leaving.]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
Oliphaunte has quit [Remote host closed the connection]
ponga has quit [Quit: Connection closed for inactivity]
mgarciaisaia has joined #crystal-lang
mgarciaisaia has left #crystal-lang [#crystal-lang]
trapped has quit [Read error: Connection reset by peer]
Oliphaunte has joined #crystal-lang
<FromGitter> <binary132> jhass: I saw that discussion, but it doesn't seem like native threading is more than a twinkle in someone's eye at the moment..... that conversation was Christmastime
<FromGitter> <binary132> *should* I have any expectations about timeframe to see it land?
<jhass> I guess better not tbh
<jhass> I expect something to happen this year still personally, but that's just my personal gut feelings
<FromGitter> <binary132> ok, that clarifies. thanks for the honesty :) I'll keep an eye out!
Oliphaunte has quit [Ping timeout: 250 seconds]
<crystal-gh> [crystal] marciogm opened pull request #3172: returns nil if xpath_nodes is empty (master...fix-xpath_node) https://git.io/v6oXx
jeromegn has quit [Ping timeout: 258 seconds]
onethirtyfive has quit [Remote host closed the connection]
jeromegn has joined #crystal-lang
emmanueloga has quit [Ping timeout: 250 seconds]
emmanueloga has joined #crystal-lang
Oliphaunte has joined #crystal-lang
onethirtyfive has joined #crystal-lang
onethirtyfive has quit [Ping timeout: 250 seconds]
tubbo has joined #crystal-lang
j2k has quit [Ping timeout: 250 seconds]
willl has joined #crystal-lang
steenuil has joined #crystal-lang
onethirtyfive has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Oliphaunte has quit [Remote host closed the connection]
Philpax has joined #crystal-lang
Oliphaunte has joined #crystal-lang
bjz has joined #crystal-lang
<jeromegn> anybody can help with this macro error? https://gist.github.com/jeromegn/a68ceac28afb6c0c8e9c24eea4240f97 (at the bottom)
<jeromegn> says it was used, but it wasn’t. just trying to initialize it.
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bjz has joined #crystal-lang
bjz has quit [Client Quit]
Oliphaunte has quit [Remote host closed the connection]
mkl0501 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Oliphaunte has joined #crystal-lang
<willl> jeromegn: it can't know that you'll actually have a case 1, so it's nillable
<jeromegn> yea, I just figured out I should follow more closely the JSON.mapping example :)
<jeromegn> seems to work for my use case
Oliphaunte has quit [Remote host closed the connection]