amerine has quit [Quit: Computer has gone to sleep.]
AKASkip has joined #ruby-lang
woollyams has joined #ruby-lang
amerine has joined #ruby-lang
heftig has quit [Ping timeout: 272 seconds]
charliesome has quit [Read error: Connection reset by peer]
scmx has joined #ruby-lang
charliesome has joined #ruby-lang
hotpancakes has quit []
scmx has quit [Ping timeout: 256 seconds]
duper has quit [Ping timeout: 256 seconds]
arBmind1 has joined #ruby-lang
vintik has joined #ruby-lang
arBmind has quit [Ping timeout: 255 seconds]
duper has joined #ruby-lang
CaptainJet has quit []
vintik has quit [Ping timeout: 250 seconds]
heftig has joined #ruby-lang
_ht has joined #ruby-lang
sMecKs has quit [Read error: Connection reset by peer]
diegoviola has joined #ruby-lang
20WAAU5JK has joined #ruby-lang
sepp2k has joined #ruby-lang
_rgn has joined #ruby-lang
verto has joined #ruby-lang
AKASkip has quit [Ping timeout: 272 seconds]
jds has quit [Changing host]
jds has joined #ruby-lang
Cakey has joined #ruby-lang
Cakey has quit [Ping timeout: 245 seconds]
BucOder has joined #ruby-lang
deg- has quit [Ping timeout: 245 seconds]
deg- has joined #ruby-lang
woollyams has quit [Ping timeout: 272 seconds]
woollyams has joined #ruby-lang
grump has joined #ruby-lang
relix has joined #ruby-lang
michd is now known as MichD
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
woollyams has quit [Read error: Connection reset by peer]
woollyams has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby-lang
dangerousdave has quit [Read error: No route to host]
dangerousdave has joined #ruby-lang
MichD is now known as michd
wallerdev has quit [Ping timeout: 260 seconds]
woollyams has quit [Ping timeout: 272 seconds]
robbyoconnor has joined #ruby-lang
wallerdev has joined #ruby-lang
qiukun_ has joined #ruby-lang
qiukun__ has joined #ruby-lang
Atttwww has quit [Ping timeout: 260 seconds]
adphillips has joined #ruby-lang
qiukun__ has quit [Remote host closed the connection]
qiukun_ has quit [Remote host closed the connection]
woollyams has joined #ruby-lang
grump has quit [Remote host closed the connection]
grump has joined #ruby-lang
matp has quit [Quit: ZZZzzz…]
20WAAU5JK has quit [Remote host closed the connection]
ddv has quit [Changing host]
ddv has joined #ruby-lang
Cakey has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michd is now known as MichD
amerine has quit [Quit: Computer has gone to sleep.]
BucOder has quit [Quit: Computer has gone to sleep.]
BucOder has joined #ruby-lang
red_menace has joined #ruby-lang
dangerousdave has quit [Read error: No route to host]
dangerousdave has joined #ruby-lang
jeaye has joined #ruby-lang
<jeaye>
What is the 'self' param of a global function defined via rb_define_global_function supposed to be?
BucOder has quit [Ping timeout: 260 seconds]
jeaye was kicked from #ruby-lang by apeiros [if you cross post, at least tell every channel that you are cross posting. you're not banned. consider this a warning.]
marr has joined #ruby-lang
adphillips has quit [Remote host closed the connection]
BucOder has joined #ruby-lang
arBmind1 has quit [Quit: Leaving.]
candidkilsborne has joined #ruby-lang
BucOder has quit [Ping timeout: 264 seconds]
candidkilsborne has quit [Ping timeout: 255 seconds]
scmx has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.3]
amystephen has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
sepp2k has quit [Quit: Leaving.]
MichD is now known as michd
jeaye has joined #ruby-lang
Cakey has quit [Ping timeout: 255 seconds]
mistym has quit [Remote host closed the connection]
Cakey has joined #ruby-lang
adphillips has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
emmesswhy has joined #ruby-lang
gnufied_ has quit [Ping timeout: 240 seconds]
jds has quit [Quit: Connection closed for inactivity]
banisterfiend has joined #ruby-lang
scmx has quit [Ping timeout: 245 seconds]
emmesswhy has quit [Quit: emmesswhy]
<jeaye>
(cross-post from #ruby) Is there any way, from the C API, I can determine which function Ruby thinks it's in?
banister has quit [Read error: Connection reset by peer]
sarkyniin has joined #ruby-lang
banister has joined #ruby-lang
banisterfiend has quit [Quit: Computer has gone to sleep.]
tomkadwill has joined #ruby-lang
spastorino has joined #ruby-lang
sepp2k has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lele has quit [Ping timeout: 256 seconds]
lele has joined #ruby-lang
candidkilsborne has joined #ruby-lang
yfeldblum has joined #ruby-lang
candidkilsborne has quit [Ping timeout: 255 seconds]
symm- has quit [Read error: Connection reset by peer]
sayonara has quit [Quit: yo!]
banister has joined #ruby-lang
symm- has joined #ruby-lang
yfeldblum has quit [Ping timeout: 255 seconds]
red_menace has quit [Quit: peer reset by connection]
postmodern has quit [Quit: Leaving]
dingus_khan has joined #ruby-lang
sepp2k has quit [Quit: Leaving.]
tbuehlmann has joined #ruby-lang
dingus_khan has quit [Ping timeout: 264 seconds]
banister has quit [Read error: Connection reset by peer]
banister has joined #ruby-lang
weems|mac has joined #ruby-lang
dwknoxy has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
BucOder has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
snoopybbt has joined #ruby-lang
sepp2k has joined #ruby-lang
touzin has joined #ruby-lang
dingus_khan has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 272 seconds]
karamazov has joined #ruby-lang
yfeldblum has joined #ruby-lang
sarkyniin has quit [Ping timeout: 250 seconds]
cantonic has joined #ruby-lang
sarkyniin has joined #ruby-lang
dingus_khan has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Ping timeout: 260 seconds]
emmesswhy has joined #ruby-lang
karamazov has quit [Remote host closed the connection]
sarkyniin has quit [Ping timeout: 245 seconds]
ssam2 has joined #ruby-lang
cantonic_ has joined #ruby-lang
cantonic has quit [Ping timeout: 240 seconds]
cantonic_ is now known as cantonic
centrx has joined #ruby-lang
ssam2 has quit [Ping timeout: 260 seconds]
chouhoulis has joined #ruby-lang
cantonic has quit [Read error: Connection reset by peer]
sepp2k has quit [Quit: Leaving.]
touzin has quit [Ping timeout: 256 seconds]
cantonic has joined #ruby-lang
ssam2 has joined #ruby-lang
tomkadwi_ has joined #ruby-lang
tomkadwill has quit [Ping timeout: 250 seconds]
Mon_Ouie has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
apeiros has quit [Ping timeout: 264 seconds]
cornerma1 has joined #ruby-lang
Sirupsen has joined #ruby-lang
Sirupsen has quit [Client Quit]
cornerman has quit [Ping timeout: 245 seconds]
Sirupsen has joined #ruby-lang
michd is now known as MichD
karamazov has joined #ruby-lang
fmendez has joined #ruby-lang
karamazov has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
kalehv has joined #ruby-lang
yfeldblum has quit [Ping timeout: 255 seconds]
dingus_khan has joined #ruby-lang
mehlah has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
c137 has joined #ruby-lang
dingus_khan has quit [Ping timeout: 245 seconds]
apeiros has joined #ruby-lang
c137 has left #ruby-lang ["I'm out of here"]
karamazov has joined #ruby-lang
Cakey has quit [Ping timeout: 250 seconds]
bantic has joined #ruby-lang
MichD is now known as michd
redgetan has joined #ruby-lang
elikem has joined #ruby-lang
michd is now known as MichD
cantonic has quit [Read error: Connection reset by peer]
cantonic has joined #ruby-lang
mehlah has quit [Ping timeout: 240 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoulis has joined #ruby-lang
centrx has quit [Quit: Mead error: Connection reset by beer]
banister has joined #ruby-lang
mehlah has joined #ruby-lang
arBmind has joined #ruby-lang
pskosinski has joined #ruby-lang
mehlah has quit [Ping timeout: 245 seconds]
BucOder has quit [Quit: Computer has gone to sleep.]
devgiant has joined #ruby-lang
mehlah has joined #ruby-lang
<redgetan>
hi, guys, im calling GET_THREAD() in a c-extension, but when i require that file, it gives me "undefined symbol: ruby_current_thread"
Mon_Robot has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
<redgetan>
its failing at dln.c: in the line "dlopen(file, RTLD_LAZY|RTLD_GLOBAL)", at that point in time, ruby_current_thread have already been defined
<redgetan>
it just happens that dlopen is failing
<redgetan>
ive required "ruby.h" and "vm_core.h" in the c-ext
snoopybbt has quit [Ping timeout: 245 seconds]
<redgetan>
i dont see why i should define "ruby_current_thread" in my library given that its already defined in vm.c and you're only suppose to define variables once
organiker has joined #ruby-lang
yfeldblum has joined #ruby-lang
<redgetan>
using ruby 2.1.0 btw
enkristoffer has joined #ruby-lang
emerson_ has joined #ruby-lang
weems|mac has quit [Quit: weems|mac]
organiker has quit [Remote host closed the connection]
davispuh has joined #ruby-lang
bantic has quit [Quit: bantic]
yfeldblum has quit [Ping timeout: 240 seconds]
adphillips has joined #ruby-lang
dingus_khan has joined #ruby-lang
fmendez has quit []
Soilent_ has joined #ruby-lang
mehlah has quit [Read error: Connection reset by peer]
emerson_ has quit [Remote host closed the connection]
dingus_khan has quit [Ping timeout: 240 seconds]
CaptainAnime has joined #ruby-lang
CaptainAnime has quit [Client Quit]
CaptainJet has joined #ruby-lang
mykoweb has joined #ruby-lang
cantonic has quit [Quit: cantonic]
red_menace has joined #ruby-lang
bantic has joined #ruby-lang
cantonic has joined #ruby-lang
emmesswhy has quit [Quit: emmesswhy]
adphillips has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
candidkilsborne has joined #ruby-lang
cantonic has quit [Read error: Connection reset by peer]
cantonic has joined #ruby-lang
ssam2 has quit [Quit: Leaving]
kalehv has quit []
sarkyniin has joined #ruby-lang
sepp2k has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
grump has quit [Remote host closed the connection]
mykoweb has quit [Remote host closed the connection]
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
devgiant__ has joined #ruby-lang
mykoweb has quit [Ping timeout: 240 seconds]
devgiant_ has quit [Ping timeout: 264 seconds]
karamazov has quit [Remote host closed the connection]
_JokerDoom has quit [Quit: Leaving]
TrueJet has joined #ruby-lang
mykoweb has joined #ruby-lang
jsullivandigs has joined #ruby-lang
CaptainJet has quit [Ping timeout: 245 seconds]
centrx has quit [Quit: Mead error: Connection reset by beer]
digs has joined #ruby-lang
digs is now known as Guest69187
mykoweb has quit [Remote host closed the connection]
jsullivandigs has quit [Read error: Connection reset by peer]
mykoweb has joined #ruby-lang
devgiant_ has joined #ruby-lang
BucOder has joined #ruby-lang
cout_ is now known as cout
pskosinski has joined #ruby-lang
ascarter has joined #ruby-lang
mykoweb has quit [Ping timeout: 240 seconds]
devgiant__ has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #ruby-lang
centrx has joined #ruby-lang
elia has joined #ruby-lang
devgiant has joined #ruby-lang
JohnFord has joined #ruby-lang
devgiant_ has quit [Ping timeout: 255 seconds]
tomkadwi_ has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
mykoweb has quit [Remote host closed the connection]
sduckett has quit [Ping timeout: 245 seconds]
mykoweb has joined #ruby-lang
devgiant has quit [Read error: Connection reset by peer]
devgiant has joined #ruby-lang
karamazov has joined #ruby-lang
charliesome has joined #ruby-lang
mykoweb has quit [Ping timeout: 240 seconds]
enkristoffer has joined #ruby-lang
lsegal has joined #ruby-lang
x0f has quit [Ping timeout: 245 seconds]
Cakey has joined #ruby-lang
x0f has joined #ruby-lang
devgiant_ has joined #ruby-lang
<enkristoffer>
Mon_Ouie: Sorry for the slow response. Anyway, using a regexp union doesn't do anything, although it doesn't give me any errors either. Am I doing it wrong? https://gist.github.com/anonymous/e5b5503dffcf059956dc
devgiant has quit [Ping timeout: 255 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros>
enkristoffer: without before/after it's hard to say anything. looks like it should work.
<Mon_Ouie>
Oh wait, does "Other" only appear in the string after "Something" has been removed? (that is, can your input be something like "OtSomethingHer", in which case the output should be an empty string?)
yfeldblum has quit [Ping timeout: 255 seconds]
BucOder has quit [Quit: Computer has gone to sleep.]
<enkristoffer>
No the two are unrelated.
<enkristoffer>
As in, they don't even appear in the same strings that I'm using gsub on.
banisterfiend has quit [Ping timeout: 240 seconds]
tectonic has joined #ruby-lang
dingus_khan has joined #ruby-lang
sMecKs has joined #ruby-lang
<apeiros>
I see no reason one would work and the other not
<enkristoffer>
Oh I'm sorry, I found the error. It was me :(