jhass changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Crystal 0.35.1 | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
alexherbo2 has quit [Ping timeout: 268 seconds]
deavmi has quit [Ping timeout: 264 seconds]
deavmi has joined #crystal-lang
<robacarp> reading the docs on https://crystal-lang.org/api/0.35.1/OpenSSL/SSL/Context/Client.html -- I cannot for the life of me figure out how to build an http request for a server which uses a self signed certificate
<robacarp> anyone haev any pointers?
Xeago has quit [Ping timeout: 264 seconds]
Xeago has joined #crystal-lang
Xeago has quit [Ping timeout: 260 seconds]
Xeago has joined #crystal-lang
chachasmooth_ has quit [Ping timeout: 240 seconds]
<FromGitter> <HertzDevil> tuples are supported inside libs, interesting
chachasmooth has joined #crystal-lang
<FromGitter> <HertzDevil> named tuples too
f1refly has quit [Ping timeout: 260 seconds]
f1reflyylmao has joined #crystal-lang
avane has quit [Quit: ZNC - https://znc.in]
avane has joined #crystal-lang
<FromGitter> <naqvis> robacarp , disable the SSL verification when you don't want client to validate the SSL cert. example below ⏎ ⏎ ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=5f9f88fa06fa0513dd88e2f1]
<robacarp> nice, thanks @naqvis
<FromGitter> <naqvis> 👍
<FromGitter> <grkek> Oleh @oprypin I finally understood what the problem was!
<FromGitter> <grkek> ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=5f9f8b8506fa0513dd88e858]
<FromGitter> <grkek> https://carc.in/#/r/9wu6
<FromGitter> <grkek> I commented the problem to be honest I don't even know how to work around that?
<FromGitter> <grkek> Since the context gets renewed is there a way to get the old context back?
<FromGitter> <grkek> But if you take a look addresses of the ctx pointers don't change
<FromGitter> <grkek> this is quite odd
<FromGitter> <grkek> If you iterate through the non closured context the pointer to the box is in thee
<FromGitter> <grkek> there*
<FromGitter> <grkek> but once it gets to the block it gets reset :hmm:
f1reflyylmao is now known as f1refly
ua has quit [Ping timeout: 264 seconds]
yukai has quit [Ping timeout: 268 seconds]
ua has joined #crystal-lang
ua has quit [Quit: Leaving]
ua has joined #crystal-lang
alexherbo2 has joined #crystal-lang
<FromGitter> <j8r> Does a method exists to log dynamically to INFO/Debug? Like, `log :info { some_text }`?
<FromGitter> <j8r> I don't see anything, so I have to use macros to duplicate the logic
<FromGitter> <j8r> I guess the severity type expected is an enum, not sure why it is not typed
<FromGitter> <naqvis> @j8r isn't `logger` deprecated?
<FromGitter> <naqvis> you should be looking into Log (https://crystal-lang.org/api/0.35.1/Log.html) instead
<FromGitter> <j8r> ha right
<FromGitter> <j8r> any alternative for Log then?
<FromGitter> <naqvis> `Log.info { "Program started" }` isn't this sth you are looking for?
<FromGitter> <j8r> I've done `{% for method in %i(trace debug info notice warn error fatal) %}`
<FromGitter> <j8r> because all this loggers share a same message format
<FromGitter> <j8r> they take some objects as argument, with some properties logged
avane has quit [Ping timeout: 268 seconds]
<FromGitter> <ImAHopelessDev_gitlab> short syntax form exception handling = 😍😍
<FromGitter> <grkek> @jhass How does one make a box clickable in GTK?
<jhass> I actually never have done much Gtk :D
<jhass> have you tried binding the activate signal to it?
oprypin has quit [Remote host closed the connection]
oprypin has joined #crystal-lang
<FromGitter> <riffraff169> ive done some gtk programming...i believe there is a 'clicked' signal
andremedeiros has quit [Quit: ZNC 1.8.2 - https://znc.in]
andremedeiros has joined #crystal-lang
V[excess] is now known as ^
yukai has joined #crystal-lang
johnny101 has quit [Quit: ZNC 1.8.1 - https://znc.in]
johnny101 has joined #crystal-lang
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]