alexherbo2 has quit [Ping timeout: 268 seconds]
deavmi has quit [Ping timeout: 264 seconds]
deavmi has joined #crystal-lang
<
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 joined #crystal-lang
<
robacarp>
nice, thanks @naqvis
<
FromGitter>
<naqvis> 👍
<
FromGitter>
<grkek> Oleh @oprypin I finally understood what the problem was!
<
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>
<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 joined #crystal-lang
V[excess] is now known as ^
yukai has joined #crystal-lang
johnny101 has joined #crystal-lang