<pcfreak30>
Go to the web page and scroll to the blocks example. i am seeing 2 variables get put into a block but cant figure out how they are getting passed
<Nilium>
Which one are you calling the blocks example? 'Cause the first example there uses a block.
<rickhull>
i expect this test to pass rather than error
flip_digits has quit [Remote host closed the connection]
mdedetrich has joined #ruby-lang
<erikh>
oh, don't call .call
<rickhull>
oh, hm
<erikh>
I think .must_raise will do that for you
wmoxam has quit [Ping timeout: 264 seconds]
<erikh>
I don't use minitest/spec though
<rickhull>
ah, ok. yah that sounds right
<erikh>
but that's how rspec works
<erikh>
and I typically use regular minitest
<erikh>
minitest FOR MEN
<rickhull>
spec is ph-balanced for a woman though
<erikh>
we're horrible people
joshuawscott has quit [Quit: Leaving.]
<rickhull>
nah, you're awesome
<rickhull>
tests pass!
<erikh>
yay
flip_digits has joined #ruby-lang
<erikh>
hey, any remote chance you're up for a beer tonight?
<erikh>
'cause I'm bored and still in town.
<rickhull>
the chance is remote
<erikh>
heh fair enough
<rickhull>
was not on my agenda, i'll be getting out of here in an hour or so
<rickhull>
ping u when i do?
mistym has quit [Remote host closed the connection]
<erikh>
yeah sure, I'm just chilling out
rickruby has joined #ruby-lang
charliesome has joined #ruby-lang
flip_digits has quit [Remote host closed the connection]
jmeeuwen has quit [Quit: Disconnecting from stoned server.]
jmeeuwen has joined #ruby-lang
flip_digits has joined #ruby-lang
vlad_starkov has joined #ruby-lang
glebm has quit [Ping timeout: 264 seconds]
iliketurtles has quit [Quit: zzzzz…..]
flip_digits has quit [Remote host closed the connection]
Domon has joined #ruby-lang
flip_digits has joined #ruby-lang
Cakey has joined #ruby-lang
wmoxam has joined #ruby-lang
Fraibert has joined #ruby-lang
xuser has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 260 seconds]
kstuart has quit [Ping timeout: 268 seconds]
mootpointer has quit [Quit: Computer has gone to sleep.]
heftig has quit [Quit: Quitting]
lsegal has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mootpointer has joined #ruby-lang
lele has quit [Ping timeout: 245 seconds]
lele has joined #ruby-lang
malev has quit [Remote host closed the connection]
<drbrain>
zzak: I did not know vline()
<zzak>
man curs_border
<zzak>
i dont think these are supported in curses from stdlib :(
<zzak>
some ffi curses does tho
<zzak>
would be cool to have them :+1:
mistym has joined #ruby-lang
<drbrain>
should be easy to add
postmodern has quit [Quit: Leaving]
sdegutis has quit [Remote host closed the connection]
sdegutis has joined #ruby-lang
sdegutis has joined #ruby-lang
joshuawscott has joined #ruby-lang
sush24 has joined #ruby-lang
<sdegutis>
think im better off just doing a bunch of rb_define_class/rb_define_method thats dynamically figured out at setup-time, instead of relying on method_missing
<gnufied>
I am still trying to think, how much different is there between Class.new() and class Foo
<erikh>
unfortunately probably a lot
<erikh>
man, so drunk
<erikh>
thank you android for correcting my spelling
<gnufied>
shouldn't drink. also someone called 911 for farting, so take care
<drbrain>
there are fewer checks for things from C
<drbrain>
rb_define_class allows lowercase names
<erikh>
i will try not to pass gaa
<drbrain>
but there is no way to create a lowercase constant from ruby
<drbrain>
or retrieve one
apeiros has quit [Remote host closed the connection]
dLog has quit [Read error: Connection reset by peer]
<zzak>
Class::new uses rb_class_initialize, while "class Foo" uses rb_define_class
<zzak>
must sleep, おやすみなさい!
xxaM has quit [Remote host closed the connection]
levifig has quit [Excess Flood]
pi____ has quit [Ping timeout: 268 seconds]
pi_____ has quit [Ping timeout: 264 seconds]
yatish27_ has joined #ruby-lang
dc5ala has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
yatish27 has quit [Ping timeout: 245 seconds]
bzalasky has quit [Remote host closed the connection]
guns has joined #ruby-lang
Fraibert has quit [Read error: Connection reset by peer]
dagobah has joined #ruby-lang
hitesh has joined #ruby-lang
mdedetrich has quit [Ping timeout: 246 seconds]
bzalasky has joined #ruby-lang
eoinkelly has joined #ruby-lang
fosky has quit [Ping timeout: 246 seconds]
<guns>
In ruby 1.9 I was able to monkey patch Integer's inspect method to display return values in different radixes; I can't make this work in 2.0: module_eval, instance_eval, and straight up eval fail
<guns>
Is this possible in 2.0?
vlad_starkov has joined #ruby-lang
amerine has joined #ruby-lang
<drbrain>
guns: looks like you'll need to override Fixnum#inspect and Bignum#inspect
<guns>
drbrain: Okay, I will try. brb
<drbrain>
there were changes to how inspect works in 2.0
<drbrain>
in 1.9 inspect called to_s, this no longer happens
<guns>
drbrain: Okay, that works. I swore I tried it before, but it's clear I haven't
<guns>
thank you
<drbrain>
:D
eoinkelly has quit [Quit: eoinkelly]
mootpointer has quit [Quit: Computer has gone to sleep.]
yatish27_ has quit [Remote host closed the connection]
mdedetrich has joined #ruby-lang
yfeldblum has quit [Ping timeout: 256 seconds]
fosky has joined #ruby-lang
workmad3 has joined #ruby-lang
x0f has quit [Ping timeout: 264 seconds]
arooni-mobile has quit [Ping timeout: 256 seconds]
x0f has joined #ruby-lang
iliketurtles has joined #ruby-lang
<hakunin>
what's a decent pattern for a compatibility layer if you are in ruby 1.9.3 (no prepend module)?
hashkey has quit [Quit: Leaving]
<hakunin>
i ran into this a few times, but never quite found an elegant way to do this
pjeide` has joined #ruby-lang
pjeide has quit [Disconnected by services]
<hakunin>
you write a class that does the new thing, but you want some temporary logic to handle the old way, which is easily removable
<hakunin>
temporarily handle both
joshuawscott has joined #ruby-lang
workmad3 has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Remote host closed the connection]
pjeide` has left #ruby-lang [#ruby-lang]
<hakunin>
admittedly, maybe irc is not the best place for this type of thing
x0f has quit [Ping timeout: 264 seconds]
<hakunin>
if you have class A and you include a module B, then A has to call out to be via super, but in this case you want it the other way around, where A has no idea about B…
<hakunin>
s/to be/to B/
x0f has joined #ruby-lang
<hakunin>
but where B could dispatch various things to A as needed
<gnufied>
why would a module be aware of class in which it is included?
joshuawscott has quit [Ping timeout: 246 seconds]
save has joined #ruby-lang
<hakunin>
gnufied: it's a hypothetical way to put it, saw the beginning?
<gnufied>
I did and I am not quite sure what you are asking.
<hakunin>
gnufied: you never had that in code?
<hakunin>
gnufied: where you had to introduce a new format of some, say, database structure
<hakunin>
gnufied: and you wanted to support the old one at the same time
<gnufied>
hakunin: I want to hear something concrete.
<gnufied>
hakunin: you don
<gnufied>
replace database strucutre via module overrides anyways
saarinen has joined #ruby-lang
apeiros has joined #ruby-lang
<hakunin>
(not replace, add to it, then remove old stuff later)
<hakunin>
so yes, replace, but not at once
<gnufied>
there are multiple ways.
<gnufied>
call super, use alias
<hakunin>
super is the other way around
<hakunin>
ok let's say you have a reader that returns a digest of a string. now you want a different digest, but if some condition is true - you want an old digest
<gnufied>
so, in my deriver class:
<gnufied>
class Foo; def digest; if str == "no"; super else <overridden digest>; end; end
<gnufied>
super will call old digest
<gnufied>
derived*
havenwood has quit [Remote host closed the connection]
<hakunin>
so you are saying that i should leave the old code and put an "update" layer on top of it
<hakunin>
i was thinking the opposite of that
<hakunin>
i want to get rid of old code
<hakunin>
but add a compatibility layer with it on top of new code
<hakunin>
maybe i shouldn't want that, i'm not claiming this is a good approach
<gnufied>
actually, you are being very vague
<gnufied>
some code example will help. a gist perhaps
mdedetrich has quit [Quit: Computer has gone to sleep.]
<hakunin>
gnufied: would love to hear your thoughts
<gnufied>
I am being thick here perhaps, but still do not see whats wrong with using super or how it is other way around? if you want to remove old code (and by remove you mean delete), then you will have to simply copy old code to new class, if you want to provide compatbility between both versions
<gnufied>
the way, I see it FooCompat looks good
<hakunin>
gnufied: no i think you're addressing it, it's not really that big of a deal
benlovell has joined #ruby-lang
<gnufied>
cool.
<hakunin>
gnufied: just a matter of elegance. i don't want to resort to alias method type of shenanigans
<gnufied>
sure, super is better agreed.
solars has joined #ruby-lang
<hakunin>
gnufied: and this way it's not just "remove an include, and you're done" - you still have to do some copying, swapping, etc
jigfox has quit [Quit: jigfox]
<hakunin>
gnufied: but with prepend in ruby 2 this will be entirely elegant
sush24 has quit [Read error: Connection reset by peer]
amerine has quit [Quit: Computer has gone to sleep.]
yatish27 has quit [Remote host closed the connection]
amerine has joined #ruby-lang
<gnufied>
thank man. but I will probably just complain on twitter for now
<gnufied>
:-)
mytrile has joined #ruby-lang
sush24 has joined #ruby-lang
yatish27 has joined #ruby-lang
mbj has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby-lang
limon7 has quit [Remote host closed the connection]
limon7 has joined #ruby-lang
HuguesGombert has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 245 seconds]
HuguesGombert has left #ruby-lang [#ruby-lang]
hugy69 has joined #ruby-lang
sush24_ has joined #ruby-lang
sush24 has quit [Ping timeout: 246 seconds]
hahuang65 has joined #ruby-lang
sush24_ has quit [Ping timeout: 264 seconds]
nivanson has quit [Read error: Connection reset by peer]
nivanson has joined #ruby-lang
jsullivandigs has joined #ruby-lang
sush24_ has joined #ruby-lang
_ffio_ has joined #ruby-lang
ffio_ has quit [Ping timeout: 268 seconds]
yatish27 has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 246 seconds]
<yorickpeterse>
tis but a quiet day
retro|cz has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #ruby-lang
joshuawscott has joined #ruby-lang
<Nilium>
The fun doesn't start 'til tomorrow.
joshuawscott has quit [Ping timeout: 264 seconds]
hahuang65 has quit [Ping timeout: 264 seconds]
sascha_d has quit [Quit: obai]
<apeiros>
indeed. tomorrow is a good day. national holiday in switzerland, as our country parties its birthday :D
<injekt>
\o/
<ddfreyne>
I don't even know what Belgium's national holiday is :(
<ddfreyne>
I think 21 because we got a new king
<yorickpeterse>
ddfreyne: doesn't matter, the only important thing for you now is oktoberfest
<Nilium>
I have no national holidays tomorrow, but I do have a festival with microbrew tasting, which is another way of saying $10 for a lot of beer
<injekt>
oktoberfest is on when I visit arrrrrrrrrrcamp \o/
vlad_starkov has joined #ruby-lang
<yorickpeterse>
I like this part in my code where 504 and 257 (and a bunch of others) magically add up to 722
<injekt>
...
<yorickpeterse>
smells like a grouping bug
vlad_starkov has quit [Remote host closed the connection]
cads has quit [Ping timeout: 268 seconds]
vlad_starkov has joined #ruby-lang
adambeynon has joined #ruby-lang
sharma__ has joined #ruby-lang
sush24_ has quit [Ping timeout: 264 seconds]
realDAB has joined #ruby-lang
AnthonyAtalanta has quit [Remote host closed the connection]
AnthonyAtalanta has joined #ruby-lang
kvs has quit [Ping timeout: 240 seconds]
rsync has joined #ruby-lang
heftig has quit [Ping timeout: 268 seconds]
joshuawscott has joined #ruby-lang
heftig has joined #ruby-lang
ahmdrefat has joined #ruby-lang
<jds>
Hi there
<jds>
Does it sound plausible that if you have a long running ruby program that makes a Net::HTTP request to foo.com, and foo.com later update their DNS to point somewhere else, ruby still uses the old IP?
<jds>
I'm struggling to explain some behaviour I'm seeing, kind of grasping at straws...
<jds>
The TTL was set to 10 minutes, this is weeks later
<manveru>
entry in /etc/hosts ?
joshuawscott has quit [Ping timeout: 256 seconds]
<manveru>
afaik ruby just uses glibc for dns
hahuang65 has joined #ruby-lang
_ffio_ has quit [Ping timeout: 268 seconds]
GeissT has quit [Ping timeout: 256 seconds]
skade has quit [Ping timeout: 264 seconds]
<jds>
Hmm, I'll take a look
kvs has joined #ruby-lang
joonty_ has joined #ruby-lang
hahuang65 has quit [Ping timeout: 264 seconds]
joonty has quit [Ping timeout: 240 seconds]
skade has joined #ruby-lang
joonty_ is now known as joonty
skade has quit [Ping timeout: 264 seconds]
joonty has quit [Quit: WeeChat 0.4.1]
joonty has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #ruby-lang
anonymuse has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
Domon has quit [Remote host closed the connection]
realDAB has quit [Quit: realDAB]
anonymuse has quit [Remote host closed the connection]
sharma__ has quit [Ping timeout: 264 seconds]
sharma__ has joined #ruby-lang
benlovell has quit [Ping timeout: 264 seconds]
tbuehlmann has quit [Remote host closed the connection]
rails_smith has quit [Quit: Leaving.]
sreffotsirk has quit [Quit: ❤]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skade has joined #ruby-lang
jonahR has joined #ruby-lang
jds has quit [Ping timeout: 256 seconds]
Cakey has joined #ruby-lang
relix has joined #ruby-lang
jds has joined #ruby-lang
Cakey has quit [Ping timeout: 246 seconds]
joshuawscott has joined #ruby-lang
verto has joined #ruby-lang
ffio has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Remote host closed the connection]
joshuawscott has quit [Ping timeout: 264 seconds]
verto has quit [Ping timeout: 264 seconds]
ahmdrefat has quit [Read error: Connection reset by peer]
ahmdrefat has joined #ruby-lang
hahuang65 has joined #ruby-lang
rails_smith has joined #ruby-lang
ldnunes has joined #ruby-lang
setmeaway has quit [Read error: Connection reset by peer]
setmeaway2 has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
hahuang65 has quit [Ping timeout: 246 seconds]
skade has quit [Ping timeout: 246 seconds]
joshuawscott has joined #ruby-lang
hashkey has joined #ruby-lang
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
anonymuse has joined #ruby-lang
face has joined #ruby-lang
face has quit [Read error: Connection reset by peer]
faces has quit [Read error: Connection reset by peer]
face has joined #ruby-lang
hugy69 has quit [Quit: hugy69]
anonymuse has quit [Remote host closed the connection]
jxie has quit [Quit: leaving]
joshuawscott has quit [Quit: Leaving.]
benlovell has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
toretore has joined #ruby-lang
dhruvasagar has quit [Read error: Operation timed out]
pipework has quit [Remote host closed the connection]
enebo has joined #ruby-lang
Uranio has quit [Quit: while you reading this, a kitty dies]
jonahR has quit [Quit: jonahR]
enebo has quit [Client Quit]
glebm has quit [Ping timeout: 264 seconds]
scampbell has joined #ruby-lang
sush24_ has joined #ruby-lang
<maloik>
injekt: I can paste a bunch of links for hotels if you want
sharma__ has quit [Ping timeout: 264 seconds]
skade has joined #ruby-lang
<injekt>
maloik: that'd be great, could you message me them? trying to find somewhere fairly close to the conf
<maloik>
There's a fairly wide range of places to stay, some b&b's etc too
<maloik>
some closer than others, but in the end Ghent is small enough to get around easily and public transportation is quite good as well
<injekt>
yeah I checked out a few on gmaps but was a little overwhelmed (I'm also taking the gf, so I can't stay somewhere TOO cheap, which I usually wouldn't mind)
<injekt>
that's good to hear
<maloik>
if you don't find anything you like in there let me know and I'll try to get some more
breakingthings has joined #ruby-lang
<injekt>
cheers :)
<maloik>
np :-) we really should publish a proper list of information on the site soon
<maloik>
but talks first :-)
jsullivandigs has joined #ruby-lang
x0f has quit [Ping timeout: 268 seconds]
x0f has joined #ruby-lang
joshuawscott has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 245 seconds]
gja has joined #ruby-lang
realDAB has joined #ruby-lang
setmeaway2 has quit [Read error: Connection reset by peer]
<ddfreyne>
Maybe i should go to Arrrrcamp next time. Visit my hometown :)
joooooo has joined #ruby-lang
hashkey_ has joined #ruby-lang
<maloik>
we still have tickets ;-)
<ddfreyne>
I only attended the 2009 and 2010 editions when it was free
fragamus_ has quit [Quit: Computer has gone to sleep.]
enebo has joined #ruby-lang
<andrewvos>
don't pretend you don't love it
<yorickpeterse>
Well I would if my font would allow unicode rabbits/turtles
bzalasky has quit [Remote host closed the connection]
<andrewvos>
yorickpeterse: Use OSX
ffio has quit [Quit: WeeChat 0.4.1]
<yorickpeterse>
I'd rather eat a dick
<andrewvos>
Eat a dick
mistym has quit [Remote host closed the connection]
rickruby has quit [Remote host closed the connection]
jxie has joined #ruby-lang
<yorickpeterse>
not hungry
<andrewvos>
Be not hungry
dhsmith has joined #ruby-lang
tyman has joined #ruby-lang
ugoelaias has joined #ruby-lang
<onr>
hi
<onr>
well, wrong window.
glebm has quit [Ping timeout: 246 seconds]
gja has joined #ruby-lang
agarcia has quit [Quit: Konversation terminated!]
tkuchiki has joined #ruby-lang
jsullivandigs has joined #ruby-lang
bgant has quit [Quit: Leaving.]
digs has joined #ruby-lang
jsullivandigs has quit [Read error: Connection reset by peer]
digs is now known as Guest69784
vlad_starkov has joined #ruby-lang
tyman has quit [Quit: tyman]
AnthonyAtalanta has quit [Quit: AnthonyAtalanta]
mistym has joined #ruby-lang
ugoelaias has left #ruby-lang [#ruby-lang]
mistym is now known as Misty
Misty is now known as mistym
judofyr has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby-lang
jigfox has quit [Quit: jigfox]
dhsmith has quit [Remote host closed the connection]
dhsmith has joined #ruby-lang
__butch__ has joined #ruby-lang
skade has joined #ruby-lang
Cope has joined #ruby-lang
AnthonyAtalanta has joined #ruby-lang
yatish27 has joined #ruby-lang
malev has quit [Remote host closed the connection]
flip_digits has quit [Read error: Connection reset by peer]
flip_digits has joined #ruby-lang
intellitech has joined #ruby-lang
yatish27 has quit [Read error: Connection reset by peer]
yatish27_ has joined #ruby-lang
sstrickl has quit [Quit: sstrickl]
gja has quit [Quit: This computer has gone to sleep]
mbj has joined #ruby-lang
sstrickl has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
malev has joined #ruby-lang
sstrickl has quit [Client Quit]
Pupeno has joined #ruby-lang
Pupeno has joined #ruby-lang
bgant has joined #ruby-lang
<tubbo>
emoji in the terminal is why os x is the bestest
<tubbo>
it's like how did this not get invented before right?
vmoravec has quit [Ping timeout: 268 seconds]
Hitesh_ has joined #ruby-lang
henrikhodne has joined #ruby-lang
<Pupeno>
Any ideas why when I say A::B::C Ruby would complaint about B::C not existing? I have two classes, one is A::B and the other is B. A::B::C exists (it's a string, a constant), B::C does not. But why is Ruby using the wrong class to find the constant?
realDAB has quit [Quit: realDAB]
onr has left #ruby-lang [#ruby-lang]
shireesh has quit [Quit: Leaving]
Hitesh_ has quit [Quit: Leaving]
pskosinski has joined #ruby-lang
_jpb__ has joined #ruby-lang
_jpb__ has joined #ruby-lang
skade has quit [Ping timeout: 245 seconds]
<injekt>
Pupeno: Ruby will check ::B::C if A::B::C doesn't exist, maybe something is ordered badly?
pskosinski has quit [Ping timeout: 240 seconds]
zmike1234 has joined #ruby-lang
skade has joined #ruby-lang
glebm has joined #ruby-lang
pskosinski has joined #ruby-lang
hahuang65 has joined #ruby-lang
Cope has left #ruby-lang [#ruby-lang]
Cope has joined #ruby-lang
<Cope>
I want to search through a bunch of named files, and if I find some stuff between "----" and "----" (inclusive), delete it - suggested approaches?
<yorickpeterse>
Putting aside that `Foo.alias` doesn't actually work, since alias is not a method, the syntax is weird
<yorickpeterse>
it shouldn't just throw away the first bit
taq has left #ruby-lang [#ruby-lang]
<yorickpeterse>
hm, that triggers a syntax error actually
<yorickpeterse>
but my diagnostic handler swallows it
havenwood has joined #ruby-lang
<yorickpeterse>
disregard that, I suck cock, etc
tenderlove has joined #ruby-lang
getseclectic has joined #ruby-lang
workmad3 has joined #ruby-lang
scampbell has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
<getseclectic>
dunno if this is the best place to ask, but i'm having problems installing ruby-oci8, it looks like it is looking for oci.h in "rdbms/public", "rdbms/demo", "network/public", "plsql/public" but none of those directories exist in the oracle instant client zips
<getseclectic>
looked through a bunch of tutorials and it seems like they just expect everything to be in the right place
anonymuse has quit [Remote host closed the connection]
<apeiros>
getseclectic: ruby-oci8 is best installed by following the guide on ruby-oci8's website by the letter.
<getseclectic>
yeah i tried to
vlad_starkov has quit [Ping timeout: 264 seconds]
<getseclectic>
but the oracle instant client zips don't have an rdbms or network or plsql subdirectory so i'm not sure why it's looking for c headers there
anonymuse has joined #ruby-lang
<getseclectic>
similarly, it looks for sqlplus in a bin subdirectory that doesn't exist in the instant client zips
<getseclectic>
ah i see the full oracle install has those subdirectories
<getseclectic>
but there is no full oracle install for mac
<apeiros>
getseclectic: hm? I installed oci8 with instantclient too
<getseclectic>
hm
<apeiros>
current one even works on 10.8
<getseclectic>
the first problem i ran into was that sqlplus is right in $ORACLE_HOME, not a bin subdirectory
poga has quit [Remote host closed the connection]
<getseclectic>
so i made a copy of it and got past that
<apeiros>
(we were stuck with 10.6 due to scumbag oracle for years)
havenwood has quit [Remote host closed the connection]
<getseclectic>
but then it was looking for the c headers in $ORACLE_HOME/rdbms/public or whatever
<getseclectic>
and none of those four paths it looked in exist in the instant client package
<apeiros>
weird. iirc I didn't have to do anything but exactly what the oci8 guide said
havenwood has joined #ruby-lang
<getseclectic>
i wonder if the oracle packages changed or something
<apeiros>
hm
<apeiros>
I last installed it about 2 months ago I think
<getseclectic>
i see the c header where it is expecting on my ubuntu desktop because i have a full oracle xe install, but not on our intern's mac with just the instant client
<getseclectic>
ah i doubt they changed much since then
<getseclectic>
maybe he screwed up some other part of the install
<getseclectic>
yeah i think he messed up one of the library paths now that i am looking through oraconf.rb some more
vlad_starkov has joined #ruby-lang
<getseclectic>
it is trying to configure itself for the full install instead of the instant client
havenwood has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby-lang
MaddinXx has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
Mon_Ouie has quit [Ping timeout: 256 seconds]
workmad3 has quit [Ping timeout: 264 seconds]
<getseclectic>
will mess around with it some more i guess, thanks
getseclectic has quit [Quit: Page closed]
jds_ has joined #ruby-lang
<jds_>
Heya
elia has joined #ruby-lang
MaddinXx has quit [Remote host closed the connection]
wmoxam has quit [Ping timeout: 256 seconds]
<jds_>
I have an event loop that's waiting for input from a socket or a pipe. Is it legitimate to do something like IO.select([read_pipe, socket]), or am I doing it wrong?
<zzak>
select is your friend
MaddinXx has joined #ruby-lang
<drbrain>
jds_: that's exactly what I would do
<jds_>
Hm, ok. I couldn't find any examples in the ruby docs about passing a socket to select(), they all just talking about IO objects
jsullivandigs has quit [Ping timeout: 240 seconds]
Johz has quit [Ping timeout: 240 seconds]
firstdayonthejob has joined #ruby-lang
jinie has quit [Read error: Operation timed out]
jsullivandigs has joined #ruby-lang
solars has quit [Ping timeout: 276 seconds]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
voip_eng_ has joined #ruby-lang
voip_engineer has quit [Read error: Connection reset by peer]
PaulePanter has joined #ruby-lang
wmoxam has joined #ruby-lang
havenwood has quit [Ping timeout: 240 seconds]
jinie has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 245 seconds]
hashkey has joined #ruby-lang
dorei has joined #ruby-lang
<dorei>
hello
<dorei>
how can I convert a Class method into a Proc ?
Johz has joined #ruby-lang
dorei was kicked from #ruby-lang by apeiros [cross-posting without informing in all channels that you cross-post is unwelcome. this is only a kick, not a ban. consider it a warning.]
dorei has joined #ruby-lang
voip_eng_ has quit [Remote host closed the connection]