<Okasu>
how cn i define private method with define_method?
<cirwin>
define_method(:foo){ bar }
<cirwin>
private :foo
mrsolo has quit [Quit: Leaving]
joast has quit [Quit: Leaving.]
<Okasu>
uh, almost forgot about it, sorry
bfreeman has quit [Quit: bfreeman]
nisstyre has quit [Quit: Leaving]
nisstyre has joined #ruby-lang
dv310p3r has joined #ruby-lang
igotnolegs has joined #ruby-lang
toretore has quit [Quit: Leaving]
DRCALKIN has joined #ruby-lang
retro|cz has quit [Read error: Connection reset by peer]
whatasunnyday has quit [Ping timeout: 252 seconds]
wmoxam has joined #ruby-lang
wmoxam has quit [Ping timeout: 244 seconds]
brianpWins has quit [Quit: brianpWins]
bryancp has quit [Remote host closed the connection]
shevy has quit [Read error: Operation timed out]
erpuds has joined #ruby-lang
ryez has quit [Ping timeout: 245 seconds]
bryancp has joined #ruby-lang
shevy2 has joined #ruby-lang
savage- has quit [Remote host closed the connection]
jperry2 has quit [Quit: Leaving.]
whatasunnyday has joined #ruby-lang
brianpWins has joined #ruby-lang
neoesque has joined #ruby-lang
zz_wasnotrice is now known as wasnotrice
shtirlic_ has joined #ruby-lang
shtirlic has quit [Ping timeout: 260 seconds]
tenderlove has joined #ruby-lang
tenderlove has quit [Client Quit]
wallerdev has quit [Quit: wallerdev]
yannis has quit [Quit: Bye!]
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
dasibre_ has quit [Remote host closed the connection]
jtoy has quit [Quit: jtoy]
bfreeman has joined #ruby-lang
fgomez has quit [Ping timeout: 265 seconds]
slaytani1 has joined #ruby-lang
DRCALKIN has quit [Quit: Leaving]
woollyams has quit [Quit: Computer has gone to sleep.]
fgomez has joined #ruby-lang
slaytani1 has left #ruby-lang [#ruby-lang]
woollyams has joined #ruby-lang
dalekurt has quit [Ping timeout: 240 seconds]
burgestrand1 has joined #ruby-lang
burgestrand has quit [Ping timeout: 245 seconds]
mistym has quit [Remote host closed the connection]
bryancp has quit [Remote host closed the connection]
brunocoelho has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
fgomez has quit [Quit: leaving]
fgomez has joined #ruby-lang
canton7 has quit [Ping timeout: 272 seconds]
burgestrand1 has quit [Ping timeout: 245 seconds]
andrewhl has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
dv310p3r has quit [Ping timeout: 245 seconds]
macmartine has quit [Quit: macmartine]
<Okasu>
eh, still fighting with imap >.<
<Okasu>
do you have any suggestions where i can ask about it?
* Okasu
about trouble with recieving emails at runtime("send mail→run app→get mail" works, but "run app→send mail→get mail" doesnt work)
seanstickle has quit [Quit: Nihil sub sole novum]
replore has joined #ruby-lang
felipe__ has quit [Read error: No route to host]
M4g1c5t0rM has quit [Read error: Connection reset by peer]
M4g1c5t0rM has joined #ruby-lang
macmartine has joined #ruby-lang
QaDeS has quit [Quit: Ex-Chat]
Kellin has quit [Remote host closed the connection]
igotnolegs has quit [Quit: Computer has gone to sleep.]
jxie has quit [Quit: leaving]
igotnolegs has joined #ruby-lang
hakunin has quit [Remote host closed the connection]
burgestrand has joined #ruby-lang
igotnolegs has quit [Client Quit]
savage- has joined #ruby-lang
petercooper has quit [Remote host closed the connection]
arooni-mobile has joined #ruby-lang
stardiviner has joined #ruby-lang
Weems has quit [Ping timeout: 256 seconds]
kesor has joined #ruby-lang
<kesor>
anyone has examples testing a rack middleware? … just want to write a simple rspec to test drive the creation of middleware I'm writing and can't find how to hook it up into the test.
fayimora has quit [Read error: Connection reset by peer]
fayimora has joined #ruby-lang
tomb_ has quit [Quit: Computer has gone to sleep.]
spuk has quit [Ping timeout: 248 seconds]
ramonmaruko has quit [Ping timeout: 250 seconds]
jakebaek has joined #ruby-lang
wasnotrice is now known as zz_wasnotrice
ramonmaruko has joined #ruby-lang
somethinYellow has joined #ruby-lang
fayimora has quit [Quit: Be back in a gifii]
jmcphers has quit [Ping timeout: 252 seconds]
jmcphers has joined #ruby-lang
somethinYellow has quit [Client Quit]
dalekurt has joined #ruby-lang
macmartine has quit [Quit: macmartine]
Mon_Ouie has quit [Ping timeout: 245 seconds]
Mon_Ouie has joined #ruby-lang
andrewhl has quit [Remote host closed the connection]
ConstantineXVI has quit [Read error: Connection reset by peer]
spuk has joined #ruby-lang
erpuds has quit [Quit: erpuds]
M4g1c5t0rM has quit [Read error: Connection reset by peer]
tRAS has joined #ruby-lang
M4g1c5t0rM has joined #ruby-lang
Kellin has joined #ruby-lang
akira989 has quit [Remote host closed the connection]
yxhuvud has joined #ruby-lang
b1rkh0ff has quit [Ping timeout: 252 seconds]
brianpWins has quit [Quit: brianpWins]
savage- has quit [Remote host closed the connection]
geekfactor has quit [Remote host closed the connection]
geekfactor has joined #ruby-lang
setmeaway has quit [Read error: Connection reset by peer]
setmeaway has joined #ruby-lang
tRAS has quit [Quit: Mother, did it need to be so high?]
dc5ala has joined #ruby-lang
kain has joined #ruby-lang
brianpWins has joined #ruby-lang
chimkan has quit [Quit: chimkan]
b1rkh0ff has joined #ruby-lang
savage- has joined #ruby-lang
yxhuvud has quit []
yxhuvud has joined #ruby-lang
fgomez has quit [Ping timeout: 244 seconds]
tRAS has joined #ruby-lang
fgomez has joined #ruby-lang
rking has quit [Quit: OK. That's it. It's weechat time. Goodbye, irssi, you were cool.]
ConstantineXVI has joined #ruby-lang
JohnBat26 has joined #ruby-lang
kitallis has joined #ruby-lang
tRAS has quit [Ping timeout: 252 seconds]
tRAS has joined #ruby-lang
chimkan__ has joined #ruby-lang
horus_plex has quit [Ping timeout: 276 seconds]
|Vargas| has joined #ruby-lang
|Vargas| has joined #ruby-lang
tRAS has quit [Quit: Mother, did it need to be so high?]
TheHunter_1039 has quit [Quit: TheHunter_1039]
whatasunnyday has quit [Ping timeout: 248 seconds]
kaiwren has joined #ruby-lang
M4g1c5t0rM has quit [Ping timeout: 245 seconds]
chimkan__ has quit [Read error: Connection reset by peer]
tRAS has joined #ruby-lang
chimkan_ has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 245 seconds]
jakebaek has quit [Quit: jakebaek]
cirwin has quit [Ping timeout: 256 seconds]
brianpWins has quit [Quit: brianpWins]
dalekurt has quit [Quit: Zzz...]
gja has joined #ruby-lang
nazty has quit [Read error: Connection reset by peer]
nazty has joined #ruby-lang
gja has quit [Read error: Connection reset by peer]
gja has joined #ruby-lang
brianpWins has joined #ruby-lang
charliesome has joined #ruby-lang
gja has quit [Client Quit]
srbartle_ has joined #ruby-lang
srbartlett has quit [Read error: Connection reset by peer]
gja has joined #ruby-lang
whatasunnyday has joined #ruby-lang
michael_mbp has joined #ruby-lang
<michael_mbp>
hi all
QaDeS has joined #ruby-lang
solars has joined #ruby-lang
ryanf has joined #ruby-lang
zmack has joined #ruby-lang
kaiwren has quit [Quit: kaiwren]
whatasunnyday has quit [Quit: Leaving]
dr_bob has joined #ruby-lang
savage- has quit [Remote host closed the connection]
replore has quit [Remote host closed the connection]
vesan has quit [Read error: Connection reset by peer]
vesan has joined #ruby-lang
<rue>
Hi one
saLOUt has joined #ruby-lang
ngw has joined #ruby-lang
fgomez has quit [Ping timeout: 260 seconds]
<ngw>
I'm a little confused, what's idiomatic in ruby for library names?
<ngw>
rauby-gems or ruby_gems?
Criztian has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
<rue>
You use a dash when you’re doing a plugin or addon
<rue>
If you were doing an addon for the pry gem, for example, you’d have pry-awesomestuff
<rue>
It also implies that the gem has a directory lib/pry/awesomestuff/
<rue>
Underscore is just normal snake casing
<shevy2>
rauby-gems?
toretore has joined #ruby-lang
ryanf has quit [Quit: leaving]
<Okasu>
ngw: use DrAgonB=====Dgay case
<ngw>
ok, thanks
srbartle_ has quit [Remote host closed the connection]
vmoravec has joined #ruby-lang
qwerxy has joined #ruby-lang
chimkan_ has quit [Quit: chimkan_]
woollyams has quit [Quit: Computer has gone to sleep.]
woollyams has quit [Quit: Computer has gone to sleep.]
mytrile has joined #ruby-lang
ttilley_off is now known as ttilley
Defusal has quit [Read error: Connection reset by peer]
Defusal has joined #ruby-lang
Defusal has quit [Changing host]
Defusal has joined #ruby-lang
srbartlett has quit [Remote host closed the connection]
robotmay has joined #ruby-lang
gja has joined #ruby-lang
countdigi has quit [Quit: Lost terminal]
<Defusal>
hmmmm
<Defusal>
Signal.trap returns the proc if a handler is already registered for the signal, so i assumed that meant that the handler is overridden (and you can call the old one that is returned if you want)
<Defusal>
yet after "overriding" the CLD signal with Signal.trap, my old handler is still involked
<Defusal>
invoked* so that doesn't make any sense
<Defusal>
i have seen no way to explicitly remove a signal trap handler...
gja has left #ruby-lang ["Leaving"]
dasibre has quit [Remote host closed the connection]
woollyams has joined #ruby-lang
hakunin has joined #ruby-lang
lele has quit [Ping timeout: 272 seconds]
lele has joined #ruby-lang
tcopp has joined #ruby-lang
wasnotrice is now known as zz_wasnotrice
asahi has left #ruby-lang [#ruby-lang]
retro|cz has joined #ruby-lang
zz_wasnotrice is now known as wasnotrice
gix has quit [Ping timeout: 248 seconds]
sora_h is now known as s0ra_h
gix has joined #ruby-lang
joast has joined #ruby-lang
<rue>
I’d go with a race condition
<Defusal>
rue, i added prints, the new handler was definitely added before the old one is invoked
wasnotrice is now known as zz_wasnotrice
Tref has joined #ruby-lang
<Defusal>
seems pretty odd, but i just implemented my own modular signal trapping support which solved the issue
<erikh>
aherp
jperry2 has joined #ruby-lang
Fullmoon has joined #ruby-lang
Axsuul has quit [Ping timeout: 245 seconds]
s0ra_h is now known as sora_h
<zzak>
good morning
<erikh>
hello from ipad
kaiwren has joined #ruby-lang
Defusal has quit [Read error: Connection reset by peer]
Defusal has joined #ruby-lang
Defusal has quit [Changing host]
Defusal has joined #ruby-lang
dejongge has joined #ruby-lang
<Defusal>
anyone here use EMDRb?
hynkle has joined #ruby-lang
geekfactor has quit [Remote host closed the connection]
geekfactor has joined #ruby-lang
bglusman has joined #ruby-lang
sora_h is now known as s0ra_h
canton7 has joined #ruby-lang
M4g1c5t0rM has joined #ruby-lang
bglusman has quit [Read error: Connection reset by peer]
bglusman has joined #ruby-lang
s0ra_h is now known as sora_h
brushbox has quit [Quit: Leaving.]
diegoviola has joined #ruby-lang
sora_h is now known as s0ra_h
rippa has quit [Quit: derp herp]
tRAS has joined #ruby-lang
somethinYellow has joined #ruby-lang
carloslopes has joined #ruby-lang
dv310p3r has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
<Defusal>
is this the best solution? args = arity.times.map {|i| (97 + i).chr }.join(','); callback = eval("proc {|#{args}| block.(#{args}) }")
s0ra_h is now known as sora_h
jxie has joined #ruby-lang
dalekurt has joined #ruby-lang
sora_h is now known as s0ra_h
s0ra_h is now known as sora_h
<DefV>
Defusal: what !?
<Defusal>
it creates a proc with n arity
<DefV>
but why
<DefV>
just |*args\
<DefV>
just |*args|
krohrbaugh has quit [Quit: Leaving.]
Defusal has quit [Read error: Connection reset by peer]
Defusal has joined #ruby-lang
<DefV>
just quit why don't ya
Defusal has quit [Changing host]
Defusal has joined #ruby-lang
<DefV>
Defusal: what's wrong with |*args|
<Defusal>
i'd rather not quit, but i'd also prefer not to be disconnected constantly
yfeldblum has quit [Quit: Leaving]
<Defusal>
it creates a proc with n arity, since theres no setter for arity, arity is lost over DRb due to the DRb wrapper using a splat, and my code depends on callback arity, so i had to create a proxy for the arity
<DefV>
ahh, drb
<rue>
That seems somewhat brittle.
<Defusal>
what part of it?
<DefV>
I've stopped using DRb a while ago, deciding it was a bad idea anyhow
<Defusal>
i'd far rather use an EventMachine based DRb lib, but they all suck
<DefV>
why use drb at all
<Defusal>
im already worried about how im going to go forward with this
<darix>
Defusal: doesnt it depend on your requirements?
<Defusal>
if im going to build it from the ground up now, it doesn't really matter
<darix>
you could look at zeromq. or amqp
<darix>
corba?
<Defusal>
my requirements are stablity, efficiency and reliability
<Defusal>
the more reliable the communication method, the less i have to worry about error handling
<Defusal>
since its on the local machine, it should be able to be almost 100% reliable
zz_wasnotrice is now known as wasnotrice
<darix>
so drb?
<Defusal>
i was just basically told not to use DRb
<Defusal>
but this DRb is threaded, i would prefer not to anyway
<Defusal>
these are EventMachine based applications
<cout>
Defusal: I like to use a TCP socketpair, since it behaves the same way as a regular socket and I don't have to change my code to make it work non-local
<Defusal>
i came across that when comparing pipes, sockets and posix message queues recently
DWoodiwiss has joined #ruby-lang
gearaholic has joined #ruby-lang
riffraff has joined #ruby-lang
<darix>
so why not zeromq?
M4g1c5t0rM has quit [Read error: Connection reset by peer]
<darix>
then you dont have to care about local vs remote vs different transports
wasnotrice is now known as zz_wasnotrice
<Defusal>
darix, does it support bidirectional connections?
<Defusal>
why the hell can't there just be a decent EM based DRb implementation
<Defusal>
sigh
bfreeman has joined #ruby-lang
<Defusal>
i don't have time to build a message queue, so i can use it to build a DRb interface, so i can use it to build a evented protocol, so i can use it to connect two applications
<Defusal>
i have a ridiculous amount of work to do on both applications, i cannot afford to waste this amount of time
<darix>
why not use EM::Queue ?
<Defusal>
that is not even for IPC.
* darix
leaves a tissue box and goes back to backport secfixes
<pbjorklund>
When I override String#to_a to return ["to_a"] then p *a = "a" #=> "to_a" with a assigned to "a". But when I do *b = "b" then b #=> ["b"] ?
<zzak>
"eventmachine ruby' actually turns up some interesting results
<Defusal>
zzak, the one is a minimal monkeypatch wrapper which sucks and i could implement myself in 10 minutes, the other is unreliable and unmaintained
ruby-lang894 has joined #ruby-lang
<Defusal>
i need something that is as close to 100% reliable as possible
<erikh>
don't bother, he's not into investing effort
<Defusal>
i have invested months of effort already, am terribly far behind on a time critical project and have a never ending stream of new time consuming things that need to be done, and you're telling me i am not into investing effort
<Defusal>
if every single component requires investing effort into build 10 other components, i am going to continue getting no where, get bankrupt within 2 months and will be living on the street in 3
<Defusal>
<Defusal> zzak, the one is a minimal monkeypatch wrapper which sucks and i could implement myself in 10 minutes, the other is unreliable and unmaintained
<erikh>
you won't pick up strace, you won't write anything yourself, you sit in here expecting answers to be handed to you on a platter
<erikh>
I have no sympathy.
<Defusal>
i won't write anything for myself?
arooni-mobile has joined #ruby-lang
singpolyma has quit [Quit: Lost terminal]
<Defusal>
erikh, you seem to be very misinformed, but i have better things to do than explain myself to you
somethinYellow has quit [Quit: Computer has gone to sleep]
thone has joined #ruby-lang
<erikh>
I'm in here everytime you go through this vicious circle
<Defusal>
clearly im having a terrible day, so i will use what little restraint i have left to stop myself from completely losing it
carloslopes has quit [Ping timeout: 245 seconds]
lsegal has joined #ruby-lang
<Defusal>
erikh, it would seem that i go through this vicious circle consistantly due to the complete lack of almost any decent EventMachine-based implementations
thone_ has quit [Ping timeout: 252 seconds]
<Defusal>
clearly speaking about such things in here gets me no where, so i don't know why i bother
<Defusal>
but being told i won't write anything for myself shows me that you have absolutely no idea what i do on a daily basis erikh, and i will just leave it at that
<Defusal>
this channle seems to be on a downslope, it is quite sad
<erikh>
jesus, quit whining already
singpolyma has joined #ruby-lang
<zzak>
theres at least 8 lines lost, gone forever
<Defusal>
it has taken a lot to not completely lose it and start swearing at you
<dominikh>
lucky him.
<Defusal>
instead, i will take the rest of the day off and go spend some time outside
<Defusal>
it's not like im going to get anywhere with this anyway, since it looks like my only option is build everything myself from the ground up, yet again
jtoy has joined #ruby-lang
<rue>
Outside is a good plan
solars has quit [Read error: Operation timed out]
<TTilus>
+1
<Defusal>
bleh, it would have been, had it not just started raining :|
<TTilus>
rain cools you down
<TTilus>
could of course be uncomfortable too, depending on the temperature
<Defusal>
it's winter :/
<TTilus>
Defusal: i guess that means rain is not a comfortable thing ;)
fserb has joined #ruby-lang
<TTilus>
Defusal: where are you?
<Defusal>
indeed... Cape Town, South Africa
<TTilus>
theres certanly difference between spanish winter and verhojanskian winter
savage- has joined #ruby-lang
<TTilus>
when it rains during verhojanskian winter it just means nature is providing you with more layers of insulation
<Defusal>
yeah, it's pretty damn cold
fserb has quit [Client Quit]
qwerxy has joined #ruby-lang
tRAS has joined #ruby-lang
wallerdev has joined #ruby-lang
M4g1c5t0rM has quit [Read error: Connection reset by peer]
M4g1c5t0rM has joined #ruby-lang
M4g1c5t0rM has quit [Read error: Connection reset by peer]
<bnagy>
ooh! is it too late for me to play my tiny violin?
<shevy>
if you can play vivaldi's four seasons on your violin, go ahead!
chimkan has joined #ruby-lang
<bnagy>
nah, all I know how to play is 'concurrent programming, how does it wortk??'
<bnagy>
did you get over your fear of eval yet, shevy?
gentz has quit [Ping timeout: 252 seconds]
Carnage\ has joined #ruby-lang
zmack has quit [Remote host closed the connection]
singpolyma has quit [Quit: Lost terminal]
<shevy>
bnagy I cant use eval, it sends me shivers along my spine
<shevy>
only @@eval scares me more
<bnagy>
yeah, you should totally use that other way of running strings as code
brianpWins has joined #ruby-lang
samuelkadolph has quit [Quit: Quitting]
whatasunnyday has joined #ruby-lang
cirwin has joined #ruby-lang
samuelkadolph has joined #ruby-lang
<cout>
what's @@eval?
<bnagy>
it's like the scary clown in IT
<bnagy>
the most horrifying possible construct in ruby
samuelkadolph has quit [Client Quit]
dasibre has quit [Remote host closed the connection]
samuelkadolph has joined #ruby-lang
akshaynathan_ has quit [Quit: akshaynathan_]
akshaynathan has joined #ruby-lang
akshaynathan has quit [Client Quit]
anathan has joined #ruby-lang
t_ has joined #ruby-lang
naz has joined #ruby-lang
nazty has quit [Ping timeout: 240 seconds]
gentz has joined #ruby-lang
<cout>
bnagy: never heard of it
neocoin has quit [Remote host closed the connection]
<anathan>
as a relative newcomer to ruby, what are some use cases of eval? (apart from running code provided by the user)
neocoin has joined #ruby-lang
vmoravec has quit [Quit: Leaving]
fserb has quit [Quit: ttyl]
nazty has joined #ruby-lang
naz has quit [Ping timeout: 244 seconds]
flak has joined #ruby-lang
fserb has joined #ruby-lang
flak is now known as Guest97030
banisterfiend has joined #ruby-lang
<banisterfiend>
zzak: sup
dberg_ has joined #ruby-lang
<cirwin>
anathan: some meta-programming is easier with eval
Guest44443 has quit [Ping timeout: 250 seconds]
neocoin has quit [Ping timeout: 260 seconds]
<cirwin>
though there are almost always APIs you can call instead
Guest97030 has quit [Client Quit]
rippa has joined #ruby-lang
<anathan>
cirwin: I see, thanks
savage-_ has joined #ruby-lang
ryez has joined #ruby-lang
fserb has quit [Quit: ttyl]
<bnagy>
if you need to pass code across process boundaries
<bnagy>
especially via serialisation etc
savage- has quit [Ping timeout: 240 seconds]
<dominikh>
and by code he means data
<bnagy>
or, often, reading code in from files
<bnagy>
but usually then there are ways that don't look like eval and freak shevy out
solars has joined #ruby-lang
<bnagy>
like require :)
<dominikh>
nvm
Carnage\ has quit [Ping timeout: 244 seconds]
devn has joined #ruby-lang
qwerxy has quit [Quit: offski]
<devn>
Can anyone tell me what I'm doing wrong when trying to use the following library a la bundler + :git => '...'? https://github.com/flatland/rupture
<shevy>
cout it's just a scary looking class variable
<shevy>
cout it can get even scarier: x = eval '@@eval'
voker57 has quit [Read error: Connection reset by peer]
<rue>
Gems probably special-cases it for silly people.
<cirwin>
nah, github does
<Mon_Ouie>
Based on user agent or something?
<cirwin>
presumably
anathan has quit [Quit: anathan]
mrdtt has joined #ruby-lang
anathan has joined #ruby-lang
qwerxy has joined #ruby-lang
riffraff has quit [Quit: This computer has gone to sleep]
wmoxam has joined #ruby-lang
gmvsea has joined #ruby-lang
fserb has joined #ruby-lang
fserb has quit [Client Quit]
<andrewvos>
I need to write some code. Haven't written code at home for so long. Am I getting old?
mrsolo has joined #ruby-lang
<sonicpond>
andrewvos: i also am time-travelling. forward at a rate of 1sec/sec. i've found aging to be a side effect.
<shevy>
andrewvos! my brother from another mother!
<rue>
andrewvos: Yes
<shevy>
it means you are getting better
<shevy>
the best code is the one that never had to be written
<sonicpond>
spoon = nil
<bnagy>
*defined? spoon
erics has quit [Remote host closed the connection]
Skif has joined #ruby-lang
<sonicpond>
turns out, there is no spoon.
<shevy>
a sad future
<shevy>
superfast computers but no spoons
qwerxy has quit [Quit: offski]
<cirwin>
shevy: you should read "shades of grey" by jasper fforde — it describes that future!
<lianj>
shevy: watch matrix again..
<cout>
how can I get a simple Hash from an XML document like I get with JSON?
akira989 has quit [Remote host closed the connection]
iamnotsam has joined #ruby-lang
<lianj>
cout: you can't. how complex would that hash look?
gearaholic has joined #ruby-lang
<shevy>
cirwin hmmm somewhere I heard that name before... dont recall what shades of grey was about at all though...
<bnagy>
cout: when you find out, let me know
<cout>
lianj: an XML document is just a tree
<shevy>
lianj, Matrix I was cool. a shame they ruined it with the two following ones :(
<cout>
it's lisp
<cirwin>
cout: look at how rails does it
<cirwin>
it's non-trivial with XML
<bnagy>
I just had my first ever 'I need an adult' moment with nokogiri
<cirwin>
because everything is multivalued by default
<bnagy>
and I don't like it
<lianj>
shevy: i was talking about the spoon
<shevy>
everyone's talking about spoons lately!
<shevy>
why not a fork?
<andrewvos>
rue: Will I ever get the urge to code again? I'm getting bored of just getting paid for it.
<shevy>
you could even fork { a_spoon }
<rue>
andrewvos: Sure, just do something else for a while
benanne has joined #ruby-lang
<banisterfiend>
andrewvos: do some rubymotion
<andrewvos>
Hmmm
<shevy>
andrewvos you need super ambitious goals
<shevy>
like the rubyOS
<bnagy>
shevy: fork {} until @spoon
fserb has joined #ruby-lang
<rue>
I’ve taken a couple months completely off.
<andrewvos>
banisterfiend: I don't even have the urge to do that.
<andrewvos>
:(
<shevy>
k the motivation is gone
<andrewvos>
shevy: I wanted to get into game programming, but then one thought of XNA on Windows killed that.
<banisterfiend>
andrewvos: write some rubymotion games :D
<andrewvos>
banisterfiend: That's not a bad idea actually.
<banisterfiend>
Mon_Ouie: hey monny, u should port Ray to rubymotion
<shevy>
I tried that too... I hang around in #gamebox and just stare at shawn there...
<banisterfiend>
Mon_Ouie: that would be a killer motherfucking app
<shevy>
what is this about rubymotion
<shevy>
or is banister just obsessed with it
<andrewvos>
shevy: it's very cool
<banisterfiend>
shevy: i've only dabbled with it, but it looks cool
DEac- has quit [Read error: Operation timed out]
DEac- has joined #ruby-lang
<banisterfiend>
Mon_Ouie: does that idea interest you?
<Mon_Ouie>
Nope
<banisterfiend>
hehe
<banisterfiend>
andrewvos: well, looks like you also get the opportunity to write the first gamedev framework for rubymotion too
akira989 has joined #ruby-lang
fserb has quit [Client Quit]
<andrewvos>
banisterfiend: I've actually written a game dev framework in .NET (a long time ago) so that idea does appeal to me.
<banisterfiend>
nice
yannis has quit [Quit: yannis]
<banisterfiend>
andrewvos: look at gosu and ray for some reasonably good ruby apis that might set u on the right track
<andrewvos>
banisterfiend: Thanks will do
rivaler has joined #ruby-lang
fayimora has joined #ruby-lang
zmack has joined #ruby-lang
<andrewvos>
banisterfiend: I see you have your hand in Gosu
<shevy>
gamebox is based on gosu too
<erikh>
andrewvos: get a hobby
<erikh>
something to take your mind off code
<banisterfiend>
andrewvos: i wrote a little image manipulation framework in C for it, enhancing the Gosu::Image class
jbwiv has joined #ruby-lang
<banisterfiend>
andrewvos: it's pretty cool :) lots of gamedev related image functionality, often related to hit detection; but also superfast drawing routines
<andrewvos>
erikh: Yeah I've been thinking that too.
<banisterfiend>
andrewvos: you'll get that stuff for free in cocoa though
deryl has quit [Quit: deryl]
<andrewvos>
banisterfiend: Game programming is the most fun I think. It feels like you're a real programmer.
<andrewvos>
banisterfiend: Using math and stuff
<banisterfiend>
andrewvos: when compared to "webdev", i bet it finally feels like real programming
<andrewvos>
Yeah
<banisterfiend>
andrewvos: Yeah, vector algebra and so on, it's great
<andrewvos>
Ok I'm going to go get drunk thanks for the inspiration everyone. x
<banisterfiend>
you can even brush up some on calculus
<banisterfiend>
andrewvos: ok cya homie
mrdtt has quit [Quit: Leaving]
rivaler has quit [Quit: rivaler]
<sonicpond>
banisterfiend (tm). "reinvigorating programmers since 1993"
<banisterfiend>
:)
Gekz has quit [Ping timeout: 245 seconds]
diegoviola has quit [Ping timeout: 245 seconds]
levicole has left #ruby-lang [#ruby-lang]
levicole has joined #ruby-lang
brandonvalentine has joined #ruby-lang
postmodern has joined #ruby-lang
<levicole>
hey brandonvalentine
gmvsea has quit [Read error: Connection reset by peer]
<brandonvalentine>
hi :)
<rue>
There should be a study about nick length trends
<brandonvalentine>
sounds like a dry read
ttilley is now known as ttilley_off
Erlkoenig has joined #ruby-lang
fgomez has quit [Quit: leaving]
bryancp has quit [Remote host closed the connection]
banisterfiend has quit []
gearaholic has quit [Remote host closed the connection]
<Erlkoenig>
\,[[:space:]]*([^[:space:]\,]*) hello, i have this Regex. i need the part from the last (), this way it works. now my input string contains multiple occurences like "a, b, c, d", and i want that regex to match multiple times, and only get the "a", "b", "c" strings. i tried (\,[[:space:]]*([^[:space:]\,]*))* which actually matches the whole string, but the "a", "b" ... don't end up in the resulting array... how to do it
ryez is now known as ryez_off
replore has quit [Remote host closed the connection]
bryancp has joined #ruby-lang
jorendorff has joined #ruby-lang
joast has quit [Quit: Leaving.]
<cirwin>
Erlkoenig: .split(/,[[:space]]*/)
sonicpond is now known as ReadyForTheNickM
<cirwin>
ruby regexp's aren't as good at perl at the whole repeated matching groups thing (or at least I never seem to be able to make it work)
<ReadyForTheNickM>
rue: i'm in
<Erlkoenig>
you mean: .split(\,[[:space:]]*([^[:space:]\,]*)) ? that doesn't match at all :S
<asahi>
can anyone recommend any libraries for image processing?
<cirwin>
RMagick
<asahi>
thanks
riffraff has joined #ruby-lang
<asahi>
how about image/pattern recognition?
<levicole>
asahi: what kind of image/pattern recognition?
<asahi>
levicole: like seeing a graphical logo and being able to read it to text
fayimora has quit [Quit: Busy…..zzzzz]
deryl has joined #ruby-lang
banisterfiend has joined #ruby-lang
chimkan__ has joined #ruby-lang
JohnBat26 has joined #ruby-lang
JohnBat26 has quit [Client Quit]
JohnBat26 has joined #ruby-lang
joast has joined #ruby-lang
joast has quit [Client Quit]
chimkan has quit [Ping timeout: 244 seconds]
chimkan__ is now known as chimkan
chimkan__ has joined #ruby-lang
chimkan____ has joined #ruby-lang
<devn>
Can anyone tell me what I'm doing wrong when trying to use the following library a la bundler + :git => '...'? https://github.com/flatland/rupture -- It pulls it down but then when I go to require it, it can't find it.
singpolyma has joined #ruby-lang
chimkan has quit [Read error: Connection reset by peer]
chimkan has joined #ruby-lang
chimkan__ has quit [Ping timeout: 240 seconds]
wmoxam has quit [Quit: leaving]
chimkan____ has quit [Ping timeout: 252 seconds]
<rue>
asahi: Try search rubygems or ruby-toolbox for ocr?
<devn>
The other problem I'm having is that when I just 'gem install "rupture"', it seems to find it, but it blows up: NameError: uninitialized constant Enumerable::Enumerator
Carnage\ has quit [Read error: Connection reset by peer]
injekt has quit [Quit: leaving]
erpuds has quit [Quit: erpuds]
soahccc` is now known as soahccc
krohrbaugh has joined #ruby-lang
sora_h is now known as s0ra_h
shtirlic_ has quit [Read error: Connection reset by peer]
shtirlic has joined #ruby-lang
bryancp has quit [Remote host closed the connection]
apeiros_ has quit [Remote host closed the connection]
gmvsea has joined #ruby-lang
dv310p3r has quit [Read error: Operation timed out]
Kero has joined #ruby-lang
acyed has joined #ruby-lang
l0st1 has quit [Quit: leaving]
Kero_ has quit [Ping timeout: 265 seconds]
corburn has joined #ruby-lang
fserb has quit [Quit: ttyl]
srbartlett has joined #ruby-lang
anathan has quit [Quit: anathan]
gmvsea has left #ruby-lang [#ruby-lang]
anathan has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
toretore has quit [Quit: Leaving]
soahccc is now known as soahccc`
erics has quit [Remote host closed the connection]
Skif has joined #ruby-lang
solars has quit [Ping timeout: 244 seconds]
brushbox has joined #ruby-lang
horus_plex has joined #ruby-lang
piglittlepuffpuf has joined #ruby-lang
dejongge has quit [Quit: Leaving.]
M4g1c5t0rM has joined #ruby-lang
s0ra_h is now known as sora_h
mistym has joined #ruby-lang
fserb has joined #ruby-lang
fserb has quit [Client Quit]
felipe__ has joined #ruby-lang
vaelen has quit [Remote host closed the connection]
outoftime has quit [Quit: Leaving]
shtirlic has quit [Read error: Connection reset by peer]
shtirlic has joined #ruby-lang
sora_h is now known as s0ra_h
benanne has quit [Quit: kbai]
jperry2 has joined #ruby-lang
andrewhl has quit [Remote host closed the connection]
<andrewvos>
Jesus. Big commit.
sepp2k1 has quit [Remote host closed the connection]
<zenspider>
he's kinda myopic like that
joast has quit [Ping timeout: 244 seconds]
<rue>
Jesus?
<zenspider>
yes. jesus made the commit
butchanton has quit [Quit: Leaving.]
WillMarshall has joined #ruby-lang
Bosma has joined #ruby-lang
Bosma has left #ruby-lang [#ruby-lang]
s0ra_h is now known as sora_h
WillMarshall has quit [Quit: Computer has gone to sleep.]
jbsan has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
sora_h is now known as s0ra_h
jtoy has joined #ruby-lang
erpuds has joined #ruby-lang
s0ra_h is now known as sora_h
qwerxy has joined #ruby-lang
<zenspider>
tenderlove was talking to me about some commented out code in the 1.9/2.0 codebase that lets you set/inject a bytecode stream into the VM. anyone have a clue where it is because I'm not finding it
Guest76464 has quit [Remote host closed the connection]
<zenspider>
ah. I think I found it. RubyVM::InstructionSequence.load
<zenspider>
"disable this feature because there is no verifier"