razetime has quit [Remote host closed the connection]
infinity_fye has joined #ruby
infinityfye has quit [Ping timeout: 252 seconds]
infinity_fye is now known as infinityfye
con3 has joined #ruby
supay has joined #ruby
leonthemisfit has quit [Ping timeout: 252 seconds]
Al2O3 has quit [Remote host closed the connection]
Al2O3 has joined #ruby
moldorcoder7 has joined #ruby
myusername_ has quit [Read error: Connection reset by peer]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 260 seconds]
con3 has quit [Read error: Connection reset by peer]
hightower2 has quit [Remote host closed the connection]
hightower2 has joined #ruby
seifeslimene has quit [Ping timeout: 252 seconds]
seifeslimene has joined #ruby
goldfish has joined #ruby
dviola has joined #ruby
micro has joined #ruby
hightower2 has quit [Ping timeout: 268 seconds]
crankharder has joined #ruby
Linux_Kerio has joined #ruby
hightower2 has joined #ruby
crankharder has quit [Ping timeout: 248 seconds]
crankharder has joined #ruby
wand has quit [Remote host closed the connection]
wand has joined #ruby
moldorcoder7 has quit [Ping timeout: 248 seconds]
molle has quit [Quit: Leaving]
aphorise has joined #ruby
leonthemisfit has joined #ruby
caedmon has joined #ruby
caedmon has quit [Ping timeout: 268 seconds]
Guest15 has joined #ruby
Guest15 has quit [Client Quit]
caedmon has joined #ruby
VG9t has joined #ruby
brw has quit [Quit: Ping timeout (120 seconds)]
caedmon has quit [Ping timeout: 260 seconds]
brw has joined #ruby
crankharder has quit [Ping timeout: 260 seconds]
crankharder has joined #ruby
John_Ivan has joined #ruby
crankharder has quit [Ping timeout: 268 seconds]
crankharder has joined #ruby
eddof13 has joined #ruby
Guest44 has joined #ruby
Guest44 has quit [Client Quit]
crankharder has quit [Ping timeout: 268 seconds]
VG9t has quit [Remote host closed the connection]
razetime has joined #ruby
<supay>
hi all. sorry, cross posting from #rubyonrails as there are more people here. i have a weird query that's running from my RoR app on my postgres database. i'm trying to identify which part of the code it's being called from, is there a way to do this? it looks like this: `SELECT COUNT(*) AS count_all, "something"."field" AS some_as_name FROM "table" GROUP BY "something"."field"`
goldfish has quit [Remote host closed the connection]
graywolf has joined #ruby
VG9t has joined #ruby
kenichi has quit [Changing host]
kenichi has joined #ruby
crankharder has joined #ruby
crankharder has quit [Ping timeout: 252 seconds]
moldorcoder7 has joined #ruby
eddof13 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
razetime has quit [Remote host closed the connection]
gonix has joined #ruby
eddof13 has joined #ruby
gonix has quit [Ping timeout: 265 seconds]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
VG9t has quit [Remote host closed the connection]
pmwals09 has joined #ruby
c10l has quit [Quit: See ya! o/]
c10l has joined #ruby
ur5us_ has joined #ruby
pmwals09 has quit [Remote host closed the connection]
pmwals09 has joined #ruby
crankharder has joined #ruby
Linux_Kerio has quit [Ping timeout: 252 seconds]
crankharder has quit [Ping timeout: 252 seconds]
pmwals09 has quit [Remote host closed the connection]
pmwals09 has joined #ruby
pmwals09 has quit [Remote host closed the connection]
pmwals09 has joined #ruby
pmwals09 has quit [Remote host closed the connection]
ur5us_ has quit [Ping timeout: 255 seconds]
ryjo has joined #ruby
<ryjo>
hi all, i'm writing a c extension for an existing c library. the code is such that the order in which memory is freed for objects is important; I have object foo and object bar, foo is created before bar, and bar must be freed before foo. however, the GC seems to free up foo before bar. what's more is manually freeing bar in the context i create it
<ryjo>
does not stop the `bar_free` method from running during GC, causing a seg fault. is there a way to manually free the `VALUE` object so that GC doesn't try to pick it up?
<weaksauce>
ryjo maybe the RB_GC_GUARD macro would help?
<ryjo>
weaksauce upon initial tests, this doesn't seem to do the trick
<ryjo>
perhaps making use of the `mark` function?
<weaksauce>
i've never written a c extension for ruby so i can't say one way or the other
<weaksauce>
is there another way to write the c to avoid it?
<ryjo>
probably :)
caedmon has joined #ruby
ur5us_ has joined #ruby
caedmon has quit [Client Quit]
caedmon has joined #ruby
<weaksauce>
ryjo might find more people to help you on this on the ruby discord
<weaksauce>
pretty active while this channel took a dive after the freenode thing
<ryjo>
@wea
<ryjo>
weaksauce understood. thank you!
<weaksauce>
np
caedmon has quit [Ping timeout: 268 seconds]
ferr_ has joined #ruby
<myappie>
i love the ruby discord
<myappie>
not a big fan of the slack though, those ppl there are assholes