ChanServ changed the topic of #ruby-lang to: Ruby 1.9.3-p125: http://ruby-lang.org | Paste >3 lines of text on http://pastie.org or use a gist
<cout> postmodern: submit a patch!
Pupeno_W_ has joined #ruby-lang
<postmodern> cout, i'll try, but submitting an issue and tagging it as feature is a better bet
Defusal has quit [Read error: Connection reset by peer]
rdeshpande has quit [Ping timeout: 245 seconds]
Pupeno_W has quit [Ping timeout: 272 seconds]
Pupeno_W_ is now known as Pupeno_W
ramonmaruko has quit [Ping timeout: 244 seconds]
Swimming_Bird has quit [Quit: Computer has gone to sleep.]
dalekurt has quit [Quit: Zzz...]
arooni-mobile has quit [Ping timeout: 244 seconds]
fayimora has quit [Ping timeout: 272 seconds]
mistym has joined #ruby-lang
mistym has quit [Remote host closed the connection]
fayimora has joined #ruby-lang
tylergillies has quit [Quit: WeeChat 0.3.0]
dalekurt has joined #ruby-lang
bryancp has quit [Remote host closed the connection]
woollyams has quit [Read error: Connection reset by peer]
fayimora has quit [Ping timeout: 271 seconds]
carter_ has quit [Quit: Konversation terminated!]
bryancp has joined #ruby-lang
ConstantineXVI has quit [Remote host closed the connection]
Z33K|Lux has joined #ruby-lang
bryancp has quit [Remote host closed the connection]
woollyams has joined #ruby-lang
mistym has joined #ruby-lang
Radium has joined #ruby-lang
fayimora has joined #ruby-lang
gsav has quit [Read error: Connection reset by peer]
crudson has quit [Quit: Leaving.]
fgomez has quit [Ping timeout: 248 seconds]
gsav has joined #ruby-lang
bfreeman has quit [Quit: bfreeman]
Radium has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
Radium has joined #ruby-lang
fgomez has joined #ruby-lang
headius has quit [Quit: headius]
ando has joined #ruby-lang
srbaker has quit [Ping timeout: 252 seconds]
srbaker has joined #ruby-lang
ezkl has quit [Remote host closed the connection]
woollyams has quit [Quit: Computer has gone to sleep.]
woollyams has joined #ruby-lang
bfreeman has joined #ruby-lang
Radium has quit [Remote host closed the connection]
Radium has joined #ruby-lang
seanstickle has joined #ruby-lang
dasibre has joined #ruby-lang
skryking has quit [Ping timeout: 244 seconds]
bfreeman has quit [Ping timeout: 272 seconds]
Radium has quit [Ping timeout: 245 seconds]
Radium has joined #ruby-lang
enebo has quit [Quit: enebo]
woollyams has quit [Quit: Computer has gone to sleep.]
savage- has quit [Remote host closed the connection]
dv310p3r has joined #ruby-lang
kvirani has quit [Remote host closed the connection]
imperator has left #ruby-lang ["Leaving"]
zmack has quit [Remote host closed the connection]
mistym has joined #ruby-lang
ConstantineXVI has joined #ruby-lang
<diegoviola> i wish rubygems would learn some things from node.js' npm
<apeiros_> such as? (I don't know npm)
<diegoviola> npm seems to combine the idea of bundler into it already, so there's no need for installing anything else... if i do "npm install foo bar" i will have foo bar installed in node_modules in the current dir
eidophor has joined #ruby-lang
<diegoviola> so there's no need for bundler and rvmgemsets or any of the other over-engineered crap
<diegoviola> it seems they got the unixy idea properly
ConstantineXVI has quit [Ping timeout: 240 seconds]
<diegoviola> but i hate js and i wouldn't touch it with a ten foot pole
<postmodern> there's not really a need for gemsets in general
<diegoviola> ...
<postmodern> i only use gemsets when testing full environments
<rking> diegoviola: Sounds a bit ignorant to say you wouldn't touch a reasonable technology with "a ten foot pole"
<seanstickle> Python does that with virtualenv
<postmodern> diegoviola, also you can do `bundle install --deployment`
Banistergalaxy has joined #ruby-lang
<apeiros_> diegoviola: thanks for your explanation
ConstantineXVI has joined #ruby-lang
<rking> diegoviola: Also this blog post is already out of date, talking about the need to "require 'rubygems'"
<diegoviola> rking: i actually used node once and i liked it, but i just don't like js
<diegoviola> anyway ...
<diegoviola> perhaps i've exaggerated saying that, sorry
<postmodern> rking, also technoweenie was probably still clinging to 1.8.7
<rking> Yeah, actually now that I'm finished with the article, I don't see 1 single point that npm > bundle.
<rking> postmodern: Yep, you can tell from the paths of the strawman failed errors that it's 1.8.
<rking> This blog post scores a respectable -4.2 / 10 on the rking scale.
<postmodern> rking, you should leave a comment about upgrading to 1.9
<postmodern> rking, fight the FUD
<diegoviola> so no need anymore to do require "rubygems"?
<postmodern> yeah 1.9 introduced this gem_prelude thing that auto-requires rubygems
<rking> postmodern: Ugh. Non-inlined comments with more dumbness in them. My FUDfighting powers are warbling.
ConstantineXVI has quit [Ping timeout: 252 seconds]
ioga_wrk has quit [Ping timeout: 265 seconds]
srbaker has quit [Quit: Computer has gone to sleep.]
yugui_zzz is now known as yugui
bfreeman has joined #ruby-lang
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
ioga_wrk has joined #ruby-lang
indeterminate has joined #ruby-lang
mistym has quit [Remote host closed the connection]
sei has quit [Ping timeout: 252 seconds]
<major_majors> i apologize if there is a better channel for this, but should i expect any frustration from people trying to use my signed gem with things like bundler or rvm?
<major_majors> i'm not sure how frequently people actually sign their gems or how well supported it is by those kind of things
ioga_wrk has quit [Ping timeout: 244 seconds]
igotnolegs has joined #ruby-lang
fgomez has quit [Quit: leaving]
brianpWins has joined #ruby-lang
brianpWins has quit [Client Quit]
bryancp has joined #ruby-lang
ioga_wrk has joined #ruby-lang
fgomez has joined #ruby-lang
moxiemk1 has quit [Remote host closed the connection]
rmascarenhas has quit [Quit: leaving]
mistym has joined #ruby-lang
ryanf has joined #ruby-lang
bryancp has quit [Remote host closed the connection]
<postmodern> major_majors, majority of people do not sign gems
mistym has quit [Remote host closed the connection]
ando has quit [Quit: Leaving...]
sepp2k1 has quit [Remote host closed the connection]
deobald__ has joined #ruby-lang
eidophor has quit [Quit: Whoosh.]
rdeshpande has joined #ruby-lang
ryanf has quit [Quit: leaving]
rdeshpande has quit [Client Quit]
yugui is now known as yugui_zzz
Banistergalaxy has quit [Ping timeout: 252 seconds]
tRAS has quit [Ping timeout: 252 seconds]
tRAS has joined #ruby-lang
wallerdev has joined #ruby-lang
woollyams has joined #ruby-lang
<slyphon> no, RMS, i will NOT fucking type 'info coreutils'
<slyphon> i want MAN PAGES
<slyphon> 'man' won
<bnagy> gnu-info gnu-coreutils
<slyphon> that's what i need, a shitty terminal "browser" with key bindings i can never remember
<diegoviola> slyphon: why don't you improve it then?
<slyphon> diegoviola: oh seriously, gfy
<slyphon> i've got enough shit to do
<diegoviola> slyphon: then go away and do it, quit your bitching
bfreeman_ has joined #ruby-lang
<diegoviola> slyphon: i don't want to hear it
<slyphon> diegoviola: it's IRC, get used to it
<seanstickle> info pages are crap
<slyphon> thank you
<seanstickle> man pages are the winner
bfreeman has quit [Read error: Connection reset by peer]
bfreeman has joined #ruby-lang
bfreeman_ has quit [Read error: Connection reset by peer]
yugui_zzz is now known as yugui
neoesque has joined #ruby-lang
mistym has joined #ruby-lang
bfreeman_ has joined #ruby-lang
chimkan_ has quit [Quit: chimkan_]
bfreeman has quit [Ping timeout: 252 seconds]
<apeiros_> diegoviola: if you don't want to hear it, there's /ignore
<diegoviola> apeiros_: thanks but is not that i don't want to hear it. I was told "gfy" so perhaps that made me a bit upset, then I already had a bad day today.
<diegoviola> anyway
<apeiros_> ah, hrm…
<apeiros_> speaking of having a day, I should probably call it one… 05.40 already :)
<postmodern> that's it, im making multi_markdown
<postmodern> tired of gems depending on their favorite markdown processor
<apeiros_> postmodern: yay!
<apeiros_> good thing IMO :)
<apeiros_> (if you do it, I mean)
<postmodern> will be up in an hour
acyed_ has quit [Remote host closed the connection]
concernedcitizen has joined #ruby-lang
moxiemk1 has joined #ruby-lang
<concernedcitizen> Hi guys, how do I split a multi-dimensional array into the following format? http://www.pastie.org/3928732
TheHunter_1039 has quit [Quit: TheHunter_1039]
<postmodern> concernedcitizen, map { |e| e.inspect }
<postmodern> concernedcitizen, and a join(',')
TheHunter_1039 has joined #ruby-lang
TheHunter_1039 has quit [Client Quit]
moxiemk1 has quit [Ping timeout: 245 seconds]
<concernedcitizen> but that converts into a string.
wmoxam has joined #ruby-lang
<concernedcitizen> postmodern: I've just updated my pastie http://www.pastie.org/3928732
<bnagy> I think you just want b=[[5,6],[7,8],*a]
<postmodern> concernedcitizen, you want b = [1,2,3,*a]
<diegoviola> seanstickle: can't you guys just remove the infopages package from your system?
<diegoviola> texinfo package
<concernedcitizen> that worked!
<concernedcitizen> what exactly does * do?
<seanstickle> Huh?
<diegoviola> 23:26 < seanstickle> info pages are crap
<diegoviola> 23:26 < seanstickle> man pages are the winner
<seanstickle> Some people don't like pears either.
<seanstickle> Big deal.
<bnagy> * is splat, it does a lot of different stuff
<diegoviola> seanstickle: yeah i don't understand what the big deal is
<seanstickle> diegoviola: you seem to be making a bigger deal about it than I am
<seanstickle> I merely stated a preference
<seanstickle> And then dropped it
<diegoviola> seanstickle: i just don't get why people bitch at it, is rms putting a gun in people heads or something?
<concernedcitizen> gosh, this splat operator is craaazy stuff.
<seanstickle> Huh? No gun. Just a bad aesthetic, I think.
<bnagy> concernedcitizen: I don't really know how to sum it up... it 'kind of' splats the members of a collection one by one into wherever
<slyphon> diegoviola: because when i want to know the semantics for the 'env' command on the system, i want the manpage to come up with all the info
<seanstickle> Anyways, who cares?
<concernedcitizen> does it only work on arrays?
<bnagy> concernedcitizen: you can use it in method defs, all kinds of places
<seanstickle> I don't use emacs either. Shock!
<slyphon> not, "Oh, here's a skeleton, go look at this ancient crazy thing RMS cooked up"
<bnagy> concernedcitizen: no, Ranges
<bnagy> concernedcitizen: probably other stuff
mistym has quit [Remote host closed the connection]
chimkan has joined #ruby-lang
banisterfiend has joined #ruby-lang
<diegoviola> ok sorry
<diegoviola> slyphon: `man env` works just fine here
<diegoviola> slyphon: the info page has more info though
<rking> I hate that. (When they cripple the manpage.)
<diegoviola> wtf
<rking> I'm thinking about making a project that spiders infopages into full manpages.
<rking> It's a stupid project superiority thing, AFAICT.
<diegoviola> that's silly, to cripple the man page
<rking> E.g. "We made info, you should use it, so we're going to impose a tax on manpages that we make."
<rking> Yeah, it happens all over the place with GNU stuff.
Swimming_Bird has joined #ruby-lang
<rking> I install pinfo so at least the info UI is halfway decent.
<rking> (Though pinfo is a classic example of something that purports to have vi keys but ends up being frustrating as you discover how few vi keys it actually implements.)
<banisterfiend> rking: sup
<rking> banisterfiend: Not too much.
<rking> banisterfiend: I think I'll be able to realify pry-docmore this next week.
<banisterfiend> rking: no problem, no pressure
<rking> Crud. I had this def d c; require 'parsetree'; ParseTree.translate c end in my ~/.pryrc, and I'm about 80% sure it worked at some point, but now I can't find the gem that provides that.
srbaker has joined #ruby-lang
savage- has joined #ruby-lang
ramonmaruko has joined #ruby-lang
<banisterfiend> anyone here knowledeable with EM ?
rippa has joined #ruby-lang
<banisterfiend> someone was reporting some problems with pry-remote-em (our event-machine based remote pry plugin) apparently it just doesn't work in some situations, but in order for the EM solution to be viable we have to be able to always start an EM reactor / server at any point / at any time in a running program. any ideas in what situations EM would not work?
macmartine has joined #ruby-lang
<bnagy> if there's already one running?
<bnagy> I mean I don't know I'm just guessin ;)
<slyphon> yeah, i have a feeling that is meant for use in em-based apps
<slyphon> the amqp gem has an intereesting thing for starting a reactor in its utils
<slyphon> a DTRT module
seanstickle has quit [Quit: Nihil sub sole novum]
<diegoviola> does rubygems have an option that will allow me to install gems locally, without using bundler?
macmartine has quit [Ping timeout: 245 seconds]
macmartine has joined #ruby-lang
tmi has quit [Ping timeout: 245 seconds]
banisterfiend has quit [Remote host closed the connection]
yugui is now known as yugui_zzz
wallerdev has quit [Quit: wallerdev]
yugui_zzz is now known as yugui
wvdschel_ has quit [Read error: Operation timed out]
<shevy> diegoviola if you have downloaded a .gem file, like foo.gem that is available locally on your system, you can install it via gem install foo.gem or without fetching other gems, "gem install --ignore-dependencies foo.gem"
tmi_ has joined #ruby-lang
<diegoviola> ty
<shevy> you are welcome
tRAS has quit [Quit: Mother, did it need to be so high?]
tomzx has quit [Ping timeout: 240 seconds]
yugui is now known as yugui_zzz
<diegoviola> shevy: i actually mean installing gems remotely, while pulling those deps and installing it locally
<shevy> hmm
<diegoviola> like this
<shevy> diegoviola, when you install a gem via "gem install foo", the .gem file is downloaded locally into the cache/ directory
<diegoviola> oh
<shevy> on my system this dir is at ...
<shevy> /usr/lib/ruby/gems/1.8/cache/
tRAS has joined #ruby-lang
<shevy> all the installed .gem files are there. I usually go there and copy the .gem to where I collect all gem files locally :)
<shevy> when I then install my stuff on a new machine, I use a ruby script to install all those local .gem files I back up
<diegoviola> i tried it now, installed sequel, it put the binary in /home/diego/.gem/ruby/1.9.1/bin/sequel
<diegoviola> /home/diego/.gem/ruby/1.9.1/gems/sequel-3.35.0/
<diegoviola> not bad
<diegoviola> ty
<shevy> cool
<diegoviola> :)
JohnBat26 has joined #ruby-lang
gokul has joined #ruby-lang
slyphon has quit [Quit: WeeChat 0.3.6]
<shevy> gem install multi_markdown
<shevy> ERROR: Could not find a valid gem 'multi_markdown' (>= 0) in any repository
<shevy> does the gem need to be synced first?
<postmodern> shevy, i haven't released it yet :)
<postmodern> shevy, i just pushed the repo a minute ago, need to let people sniff at it first
<shevy> ok
fgomez has quit [Remote host closed the connection]
fgomez has joined #ruby-lang
flowerpot has joined #ruby-lang
batmanian has joined #ruby-lang
gouthamvel has joined #ruby-lang
yxhuvud has joined #ruby-lang
shevy has quit [Ping timeout: 245 seconds]
d3vic3 has quit [Ping timeout: 252 seconds]
<diegoviola> how hard is it to write a new package manager?
<diegoviola> like npm or whatever
<diegoviola> nvm
d3vic3 has joined #ruby-lang
ridders24 has joined #ruby-lang
manxingxing has joined #ruby-lang
tRAS has quit [Quit: Mother, did it need to be so high?]
<postmodern> diegoviola, very, i've tried :)
macmartine has quit [Read error: Connection reset by peer]
s0ra_h is now known as sora_h
<diegoviola> postmodern: really how that went?
macmartine has joined #ruby-lang
<postmodern> diegoviola, planned it out, but never had time to work on it
shevy has joined #ruby-lang
<postmodern> shevy, pushed 0.1.0.pre1 for you
ridders24 has quit [Ping timeout: 244 seconds]
Swimming_Bird has quit [Quit: Computer has gone to sleep.]
<shevy> yay \o/
manxingxing has quit [Quit: ChatZilla 0.9.88.2 [Firefox 12.0/20120424094101]]
wmoxam has quit [Ping timeout: 240 seconds]
savage- has quit [Remote host closed the connection]
retro|cz has joined #ruby-lang
tRAS has joined #ruby-lang
concernedcitizen has quit [Remote host closed the connection]
jxie_ has joined #ruby-lang
jxie has quit [Ping timeout: 256 seconds]
macmartine has quit [Quit: macmartine]
Karmaon has quit [Ping timeout: 276 seconds]
gouthamvel has quit [Ping timeout: 272 seconds]
dc5ala has joined #ruby-lang
bryno has quit [Ping timeout: 245 seconds]
Banistergalaxy has joined #ruby-lang
pbjorklund has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
yugui_zzz is now known as yugui
fukushima has quit [Quit: Leaving...]
WillMarshall has joined #ruby-lang
bryno has joined #ruby-lang
bryno has quit [Changing host]
bryno has joined #ruby-lang
corburn has joined #ruby-lang
TheHunter_1039 has joined #ruby-lang
robotmay has joined #ruby-lang
kitallis has joined #ruby-lang
fukushima has joined #ruby-lang
novodinia has joined #ruby-lang
yugui is now known as yugui_zzz
nabkiller has joined #ruby-lang
igotnolegs has quit [Quit: Computer has gone to sleep.]
deobald__ has quit [Ping timeout: 260 seconds]
gouthamvel has joined #ruby-lang
Banistergalaxy has quit [Ping timeout: 265 seconds]
Z33K|Lux has quit [Ping timeout: 255 seconds]
banisterfiend has joined #ruby-lang
kyrylo has quit [Ping timeout: 272 seconds]
banisterfiend has quit [Remote host closed the connection]
JohnBat26 has quit [Remote host closed the connection]
batmanian has quit [Quit: Computer has gone to sleep.]
kyrylo has joined #ruby-lang
kyrylo has quit [Changing host]
kyrylo has joined #ruby-lang
<diegoviola> nice
<Mon_Ouie> Coffe drinkers have a chance to become immortal?
tRAS has quit [Ping timeout: 245 seconds]
gouthamvel has left #ruby-lang [#ruby-lang]
<bnagy> sill xeno, paradox is for kids!
tRAS has joined #ruby-lang
rushed has joined #ruby-lang
<shevy> immortality is not yet achieved
<shevy> but they are working on it
srbartlett has quit [Remote host closed the connection]
srbartlett has joined #ruby-lang
srbartlett has quit [Read error: Connection reset by peer]
robotmay has quit [Remote host closed the connection]
tomb_ has quit [Quit: Computer has gone to sleep.]
<jaska> if youre not immortal, youre not drinking enough coffee!
dasibre has quit [Remote host closed the connection]
kain has joined #ruby-lang
b1rkh0ff has joined #ruby-lang
scottj has left #ruby-lang [#ruby-lang]
Kero_ has quit [Ping timeout: 272 seconds]
Criztian has joined #ruby-lang
batmanian has joined #ruby-lang
batmanian has quit [Client Quit]
nazty has quit [Read error: Connection reset by peer]
naz has joined #ruby-lang
zmack has joined #ruby-lang
vmoravec has joined #ruby-lang
cdt has joined #ruby-lang
nevynxxx has joined #ruby-lang
robotmay has joined #ruby-lang
kitallis has quit [Ping timeout: 245 seconds]
woollyams has quit [Quit: Computer has gone to sleep.]
dv310p3r has quit [Ping timeout: 272 seconds]
cola_zero has left #ruby-lang [#ruby-lang]
voker57 has quit [Ping timeout: 272 seconds]
kitallis has joined #ruby-lang
dontbecold_afk is now known as dontbecold_
gasbakid__ has joined #ruby-lang
dv310p3r has joined #ruby-lang
Mwahaha has joined #ruby-lang
<diegoviola> i have $GEM_PATH set to /home/diego/gems but I still get stuff in ~/.gem, any ideas why?
gasbakid has quit [Ping timeout: 272 seconds]
<diegoviola> how can i force *everything* gems related to go to a single dir?
<diegoviola> when doing gem install foobar
Boohbah has quit [Ping timeout: 276 seconds]
fayimora has quit [Quit: Busy…..zzzzz]
Waikiki has joined #ruby-lang
novodinia has quit [Read error: Operation timed out]
rushed has quit [Ping timeout: 245 seconds]
<postmodern> diegoviola, maybe try setting ~/.gemrc ?
Mwahaha has quit [Ping timeout: 260 seconds]
A124 has quit [Quit: Leaving.]
flowerpot has quit [Quit: Ex-Chat]
Waikiki has quit [Ping timeout: 260 seconds]
<diegoviola> postmodern: i've tried that but it didn't help, some things like the binaries still go to ~/.gem
<postmodern> diegoviola, might want to ask in #rubygems then, in the morning/afternoon
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
<diegoviola> postmodern: sure thanks
yorickpeterse has quit [Quit: WeeChat 0.3.7]
yorickpeterse has joined #ruby-lang
cantonic has quit [Remote host closed the connection]
cantonic has joined #ruby-lang
TheHunter_1039 has quit [Quit: TheHunter_1039]
francisfish has joined #ruby-lang
DRMacIver has quit [Changing host]
DRMacIver has joined #ruby-lang
Facefox has joined #ruby-lang
<DRMacIver> diegoviola: You could symlink ~/.gem to ~/gems. It's a hack but it'd probably work. :)
tomb_ has joined #ruby-lang
cantonic has quit [Ping timeout: 248 seconds]
<diegoviola> DRMacIver: yeah that will do for now, ty
corburn has quit [Quit: Leaving]
dr_turkleberry has joined #ruby-lang
woollyams has joined #ruby-lang
dr_turkleberry has quit [Client Quit]
Hakon|mbp has joined #ruby-lang
dr_turkleberry has joined #ruby-lang
A124 has joined #ruby-lang
srbartlett has joined #ruby-lang
srbartlett has quit [Remote host closed the connection]
nabkiller has quit [Ping timeout: 260 seconds]
nabkiller has joined #ruby-lang
Radium has quit []
dr_turkleberry has quit [Read error: Connection reset by peer]
dr_turkleberry_ has joined #ruby-lang
petercooper has joined #ruby-lang
Hakon|mbp has quit [Quit: Leaving...]
dr_turkleberry_ has quit [Read error: Connection reset by peer]
dr_turkleberry has joined #ruby-lang
krz has quit [Quit: krz]
Boohbah has joined #ruby-lang
dr_turkleberry has quit [Quit: dr_turkleberry]
diegoviola has quit [Ping timeout: 252 seconds]
voker57 has joined #ruby-lang
virunga has joined #ruby-lang
mssola has joined #ruby-lang
neoesque has quit [Quit: Bye!]
futurechimp has quit [Ping timeout: 245 seconds]
futurechimp has joined #ruby-lang
imperator2 has quit [Ping timeout: 252 seconds]
diegoviola has joined #ruby-lang
matti has joined #ruby-lang
postmodern has quit [Quit: Leaving]
matti has quit [Client Quit]
d3vic3 has quit [Ping timeout: 250 seconds]
d3vic3 has joined #ruby-lang
srbartlett has joined #ruby-lang
tjadc has joined #ruby-lang
virunga has quit [Quit: Sto andando via]
cantonic has joined #ruby-lang
publicvoid has quit [Read error: Connection reset by peer]
dasibre has joined #ruby-lang
waseem_ has joined #ruby-lang
b1rkh0ff has quit [Ping timeout: 265 seconds]
waseem_ has left #ruby-lang ["WeeChat 0.3.7"]
rushed has joined #ruby-lang
WillMarshall has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
gasbakid__ has quit [Quit: Quitte]
tekin has joined #ruby-lang
kaspernj__ has joined #ruby-lang
dr_turkleberry has joined #ruby-lang
dc5ala has quit [Quit: Ex-Chat]
publicvoid has joined #ruby-lang
b1rkh0ff has joined #ruby-lang
Guedes_out is now known as Guedes
dr_turkleberry has quit [Read error: Connection reset by peer]
dr_turkleberry_ has joined #ruby-lang
raph_io has joined #ruby-lang
Hakon|mbp has joined #ruby-lang
fgomez has quit [Remote host closed the connection]
fgomez has joined #ruby-lang
srbartlett has quit [Remote host closed the connection]
dr_turkleberry_ has quit [Read error: Connection reset by peer]
dr_turkleberry has joined #ruby-lang
ruskie has quit [Read error: Connection reset by peer]
kyrylo has quit [Read error: Connection reset by peer]
fgomez has quit [Ping timeout: 252 seconds]
kinex has quit [Remote host closed the connection]
srbartlett has joined #ruby-lang
outoftime has joined #ruby-lang
toretore has joined #ruby-lang
fgomez has joined #ruby-lang
dr_turkleberry has quit [Read error: Connection reset by peer]
dr_turkleberry_ has joined #ruby-lang
kyrylo has joined #ruby-lang
kyrylo has quit [Changing host]
kyrylo has joined #ruby-lang
ruskie has joined #ruby-lang
nevynxxx has quit [Quit: Time to wander to the DC to install new storage]
<andrewvos> Should I buy Diablo3? I only have a macbook air to run it on
<andrewvos> A newish macbook air
<chris2> go back to code
<andrewvos> chris2: Is that your Diablo 3 review or just general negativity?
<burgestrand> I’ve been stuck in D3 the past two days
<burgestrand> in my mbp from 2010 or so, works fine
<burgestrand> (stuck as in immersed)
<chris2> andrewvos: coding is positive!
<andrewvos> burgestrand: Do I need a mouse?
<burgestrand> andrewvos: I’d say so, playing via the touchpad isn’t very convenient
dr_turkleberry_ has quit [Read error: Connection reset by peer]
<andrewvos> chris2: No, coding is hardly ever positive. Unless I'm sitting at home working on personal projects of course.
<burgestrand> andrewvos: luckily, you only need one with two buttons
dr_turkleberry has joined #ruby-lang
<chris2> andrewvos: go home to code then :)
<andrewvos> burgestrand: Okay. I have a pretty good gaming mouse actually so that would work
<andrewvos> Just realised I have nowhere in my house to play games :/
<andrewvos> Maybe the kitchen table
<andrewvos> Fail
<andrewvos> Stupid London
concernedcitizen has joined #ruby-lang
<burgestrand> You can put covers *on* the table and play under it, like a gaming fortress.
<andrewvos> hahaha
<andrewvos> burgestrand: I want to keep my girlfriend. Should have mentioned that.
<burgestrand> I guess you need a table for two then.
dv310p3r has quit [Ping timeout: 272 seconds]
<oddmunds> my old girlfriend built a fort sort of like that out of recliners and blankets for us to play wii in
stamina has joined #ruby-lang
rohit has joined #ruby-lang
<chris2> my gf would certainly approve a gaming fort :P
A124 has quit [Read error: Connection reset by peer]
<rue> The largest gaming blanket fort in the world
diegoviola has quit [Ping timeout: 256 seconds]
<chris2> did you say my gf is fat?
_br_ has joined #ruby-lang
<rue> :D
<_br_> >:D
<rue> Actually I was just catching up on “Community”
<andrewvos> hahh
<andrewvos> rue: You are so posh with your proper double quotes and single character ellipsis
dr_turkleberry has quit [Read error: Connection reset by peer]
dr_turkleberry has joined #ruby-lang
raph_io has quit [Quit: raph_io]
nabkiller has quit []
jxie_ has quit [Ping timeout: 250 seconds]
<rue> Yeah…
retro|cz has quit [Ping timeout: 265 seconds]
youngin has quit [Disconnected by services]
youngin has joined #ruby-lang
raph_io has joined #ruby-lang
youngin_ has joined #ruby-lang
dr_turkleberry has quit [Read error: Connection reset by peer]
dr_turkleberry_ has joined #ruby-lang
woollyams has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
dr_turkleberry_ has quit [Client Quit]
mark_locklear has joined #ruby-lang
gokul has quit [Quit: Leaving]
rohit has quit [Quit: Leaving]
sepp2k has joined #ruby-lang
rippa has quit [Quit: derp herp]
wmoxam has joined #ruby-lang
sxone has joined #ruby-lang
srbartlett has quit [Remote host closed the connection]
pbjorklund has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Remote host closed the connection]
<sxone> hey
<sxone> anyone around?
sxone has left #ruby-lang [#ruby-lang]
tommyvyo has joined #ruby-lang
raph_io has quit [Quit: raph_io]
<countdigi> morning
wmoxam has quit [Ping timeout: 256 seconds]
rmascarenhas has joined #ruby-lang
retro|cz has joined #ruby-lang
youngin_ has quit [Quit: leaving]
youngin has quit [Quit: leaving]
youngin has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
dr_turkleberry has joined #ruby-lang
dv310p3r has joined #ruby-lang
macmartine has joined #ruby-lang
mistym has joined #ruby-lang
<rue> HI THERE
<shevy> GREETINGS PROGRAMS
sockmonk has joined #ruby-lang
dr_turkleberry has quit [Read error: Connection reset by peer]
enebo has joined #ruby-lang
dr_turkleberry_ has joined #ruby-lang
slyphon has joined #ruby-lang
tomzx has joined #ruby-lang
<countdigi> im a module but greetings to u too :-)
<shevy> NOBODY CAN BE PERFECT, MOST MODULES ARE EXPENDABLE
<countdigi> tell me bout it
* shevy IS A PERFECT MASTER-CONTROL-UNIT HOWEVER.
<shevy> I still have not watched the new tron
<countdigi> its cool if for the special fx alone
riffraff has joined #ruby-lang
hynkle has joined #ruby-lang
<shevy> hmm
<shevy> I am not too fond of most fx, they seem to be overdone a lot ... anyone remembers independence day? it looked as if they made just one plane model, and then cloned that 500x times :(
futurechimp has quit [Ping timeout: 260 seconds]
<countdigi> independence day was classic for its artful awefulness :-)
<countdigi> uploading code to an unknown alien operating system was the peak for me
bglusman has joined #ruby-lang
<shevy> hehe
<shevy> well
<shevy> perhaps we will be the aliens one day in the universe
Weems has quit [Ping timeout: 252 seconds]
<dr_turkleberry_> shevy: hopefully ;)
<shevy> and become like the BORG
<bnagy> I love star wars
mistym has quit [Remote host closed the connection]
kiddorails has joined #ruby-lang
futurechimp has joined #ruby-lang
Jake232 has joined #ruby-lang
<shevy> hmm
<countdigi> 4-6 were great
<shevy> I liked the old star wars movies
dr_turkleberry has joined #ruby-lang
perryh is now known as perryh_away
<cout> doctor who vs. darth vader, who wins
dr_turkleberry_ has quit [Read error: Connection reset by peer]
tomzx has quit [Ping timeout: 272 seconds]
IPGlider has joined #ruby-lang
<shevy> who is doctor who?
<shevy> darth vader has one thing going for him
<shevy> the breathing
<shevy> you would think that when you have battleships, they could cure physical diseases, but oh no...
<shevy> or in star trek, why captain piccard was bald... apparently they have no means against baldness. but they can instantly replicate anything hmmmm.
<countdigi> lol
Defusal has joined #ruby-lang
Defusal has quit [Changing host]
Defusal has joined #ruby-lang
carloslopes has joined #ruby-lang
<cout> shevy: maybe his grandmother was ferengi
vesan has quit [Read error: Connection reset by peer]
<shevy> lol
<shevy> one of the few things I liked in deep space nine
<shevy> the ferengi
kiddorails has quit [Ping timeout: 250 seconds]
<bnagy> WRONG ferengi first contact was made by the enterprise D
<bnagy> therefore picard could not have ferengi ancestry
kiddorails has joined #ruby-lang
jarib has quit [Excess Flood]
savage- has joined #ruby-lang
jarib has joined #ruby-lang
Radium_ has joined #ruby-lang
rushed has quit [Quit: rushed]
kiddorails has quit [Ping timeout: 250 seconds]
vesan has joined #ruby-lang
kiddorails has joined #ruby-lang
dr_turkleberry has quit [Read error: Connection reset by peer]
dr_turkleberry_ has joined #ruby-lang
dv310p3r has quit [Ping timeout: 245 seconds]
TheHunter_1039 has joined #ruby-lang
francisfish has quit [*.net *.split]
knu has quit [*.net *.split]
musl has quit [*.net *.split]
solars has quit [*.net *.split]
spuk has quit [*.net *.split]
singpolyma has quit [*.net *.split]
flebel has quit [*.net *.split]
chris2 has quit [*.net *.split]
ged has quit [*.net *.split]
yugui_zzz is now known as yugui
knu has joined #ruby-lang
francisfish has joined #ruby-lang
musl has joined #ruby-lang
spuk has joined #ruby-lang
singpolyma has joined #ruby-lang
chris2 has joined #ruby-lang
solars has joined #ruby-lang
ged has joined #ruby-lang
flebel has joined #ruby-lang
musl has quit [Max SendQ exceeded]
chris2 has quit [Max SendQ exceeded]
chris2 has joined #ruby-lang
musl has joined #ruby-lang
<andrewvos> Oh Lord
VGoff is now known as VGoff_afk
<andrewvos> This is how much I care about Star Trek: http://www.howmanyfucksdoigive.com/
kiddorails has quit [Ping timeout: 244 seconds]
VGoff_afk is now known as VGoff
dv310p3r has joined #ruby-lang
TheDracle has joined #ruby-lang
<TheDracle> Is there any documentation tool for Ruby similar to Sphinx for Python?
<TheDracle> I want something where I can write the markup, commit it to a repository, and generate the documents as part of a code repository.
gix has quit [Ping timeout: 272 seconds]
mistym has joined #ruby-lang
gix has joined #ruby-lang
dr_turkleberry_ has quit [Read error: Connection reset by peer]
dr_turkleberry has joined #ruby-lang
kiddorails has joined #ruby-lang
futurechimp has quit [Read error: Operation timed out]
futurechimp has joined #ruby-lang
dustacio has joined #ruby-lang
arooni-mobile has joined #ruby-lang
Arsen7 has quit [Ping timeout: 272 seconds]
hynkle has quit [Read error: Connection reset by peer]
hynkle has joined #ruby-lang
kiddorails has quit [Quit: Leaving]
kiddorails has joined #ruby-lang
hynkle has quit [Client Quit]
savage- has quit [Remote host closed the connection]
kain has quit [Quit: This computer has gone to sleep]
dr_turkleberry has quit [Read error: Connection reset by peer]
dr_turkleberry_ has joined #ruby-lang
dr_turkleberry_ has quit [Client Quit]
stamina has quit [Quit: Lost terminal]
Kero has joined #ruby-lang
imperator2 has joined #ruby-lang
kiddorails has quit [Ping timeout: 248 seconds]
yugui is now known as yugui_zzz
thone has quit [Ping timeout: 244 seconds]
RegEchse has joined #ruby-lang
tomb_ has quit [Quit: Computer has gone to sleep.]
thone has joined #ruby-lang
outoftime has quit [Quit: Leaving]
Jake232 has quit [Quit: Computer has gone to sleep.]
tomb_ has joined #ruby-lang
heftig has joined #ruby-lang
yugui_zzz is now known as yugui
Criztian has joined #ruby-lang
jarib has quit [Excess Flood]
imperator has joined #ruby-lang
jarib has joined #ruby-lang
savage- has joined #ruby-lang
bryancp has joined #ruby-lang
hynkle has joined #ruby-lang
hynkle has quit [Client Quit]
headius has joined #ruby-lang
Arsen7 has joined #ruby-lang
riffraff has quit [Quit: Leaving]
dasibre has quit [Remote host closed the connection]
dasibre has joined #ruby-lang
fgomez has quit [Ping timeout: 244 seconds]
fgomez has joined #ruby-lang
hynkle has joined #ruby-lang
Swimming_Bird has joined #ruby-lang
deryl has quit [Ping timeout: 260 seconds]
vmoravec has quit [Quit: Leaving]
deryl has joined #ruby-lang
Weems has joined #ruby-lang
Weems has quit [Changing host]
Weems has joined #ruby-lang
perryh_away is now known as perryh
vesan has quit [Read error: Connection reset by peer]
avdi has joined #ruby-lang
RubyRedGirl has left #ruby-lang [#ruby-lang]
seanstickle has joined #ruby-lang
vesan has joined #ruby-lang
z3r00ld has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 272 seconds]
deryl has quit [Ping timeout: 245 seconds]
krohrbaugh has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
tRAS has quit [Quit: Mother, did it need to be so high?]
z3r00ld has left #ruby-lang [#ruby-lang]
kyrylo has quit [Read error: Connection reset by peer]
jnimety has joined #ruby-lang
kitallis has quit [Quit: Computer has gone to sleep.]
dalekurt has quit [Quit: Zzz...]
macmartine has quit [*.net *.split]
Hakon|mbp has quit [*.net *.split]
voker57 has quit [*.net *.split]
bfreeman_ has quit [*.net *.split]
x0F has quit [*.net *.split]
^sandbags^ has quit [*.net *.split]
Skif has quit [*.net *.split]
Asher1 has quit [*.net *.split]
dabradley has quit [*.net *.split]
UNIXgod has quit [*.net *.split]
dbussink has quit [*.net *.split]
Xzyx987X has quit [*.net *.split]
gate has quit [*.net *.split]
alindeman has quit [*.net *.split]
Mchl has quit [*.net *.split]
nick_h_ has quit [*.net *.split]
ltd- has quit [*.net *.split]
thorncp has quit [*.net *.split]
mahlon has quit [*.net *.split]
gate has joined #ruby-lang
gate has quit [Changing host]
gate has joined #ruby-lang
dbussink has joined #ruby-lang
macmartine has joined #ruby-lang
Hakon|mbp has joined #ruby-lang
voker57 has joined #ruby-lang
x0F has joined #ruby-lang
bfreeman_ has joined #ruby-lang
thorncp has joined #ruby-lang
^sandbags^ has joined #ruby-lang
Asher1 has joined #ruby-lang
dabradley has joined #ruby-lang
Xzyx987X has joined #ruby-lang
UNIXgod has joined #ruby-lang
Skif has joined #ruby-lang
Mchl has joined #ruby-lang
nick_h_ has joined #ruby-lang
ltd- has joined #ruby-lang
mahlon has joined #ruby-lang
macmartine has quit [Max SendQ exceeded]
alindeman has joined #ruby-lang
tjadc has quit [Ping timeout: 245 seconds]
jxie has joined #ruby-lang
zz_chrismcg is now known as chrismcg
Z33K|Lux has joined #ruby-lang
rayners has joined #ruby-lang
outoftime has joined #ruby-lang
kyrylo has joined #ruby-lang
kyrylo has quit [Changing host]
kyrylo has joined #ruby-lang
imperator has quit [Quit: This computer has gone to sleep]
bryancp has quit [Remote host closed the connection]
bryancp has joined #ruby-lang
carloslopes has quit [Ping timeout: 265 seconds]
savage- has quit [Remote host closed the connection]
gouthamvel has joined #ruby-lang
toretore has quit [Read error: Connection reset by peer]
toertore has joined #ruby-lang
chrismcg is now known as zz_chrismcg
dv310p3r has quit [Ping timeout: 272 seconds]
soahccc` is now known as soahccc
bglusman has quit [Remote host closed the connection]
wmoxam has joined #ruby-lang
dv310p3r has joined #ruby-lang
Radium_ has quit [Ping timeout: 252 seconds]
toertore has quit [Read error: Connection reset by peer]
toretore has joined #ruby-lang
sora_h is now known as s0ra_h
seanstickle has quit [Quit: Nihil sub sole novum]
s0ra_h is now known as sora_h
gouthamvel has left #ruby-lang [#ruby-lang]
yugui is now known as yugui_zzz
kyrylo has quit [Quit: WeeChat 0.3.7]
jxie has quit [Ping timeout: 240 seconds]
kyrylo has joined #ruby-lang
kyrylo has joined #ruby-lang
kyrylo has quit [Changing host]
brianpWins has joined #ruby-lang
jxie has joined #ruby-lang
<andrewvos> I just can't stop being excited about pry. It really is too cool.
jnimety has quit [Quit: Leaving...]
<erikh> WHY DON'T YOU MARRY IT THEN
<andrewvos> I WOULD IF I COULD
<imperator2> pry's too sexy for my mac, too sexy for my mac, so sexy it's whack
<andrewvos> Shit just got real.
<imperator2> i'm a repl, you know what i mean, and i run my little code on the console, yeah on the console, on the console yeah, i run my little code on the console
<andrewvos> col
robotmay has quit [Remote host closed the connection]
<andrewvos> (cringing out loud)
sora_h is now known as s0ra_h
<erikh> imperator2: on fire
petercooper has quit [Remote host closed the connection]
dejongge has joined #ruby-lang
znz_v has quit [Quit: kill -QUIT $$]
znz_v has joined #ruby-lang
<shevy> sometimes Insanity enters #ruby-lang for a while
<shevy> people then stare in confusion at the things that are happening here
<shevy> until they just shrug their shoulders
concernedcitizen has quit [Remote host closed the connection]
savage- has joined #ruby-lang
heftig has quit [Quit: leaving]
<imperator2> the opportunities to incorporate Right Said Fred into #ruby-lang are so rare, they must be pounced upon and cherished when they arise
hynkle has quit [Quit: hynkle]
arooni-mobile has joined #ruby-lang
d3vic3_ has joined #ruby-lang
<shevy> I liked that sexy song from right said fred
<shevy> it made muscle shirts en vogue again ... you know... hipster-like as we would say today
kiddorails has joined #ruby-lang
bfreeman_ has quit [Quit: bfreeman_]
<imperator2> though it still required that you actually _have_ muscles to work
<imperator2> and even then it still looked dumb
<shevy> hmm true
<shevy> I never had as many muscles as mr. fred
<erikh> when I played eve, my character's name was Right Said Fred
<erikh> he was too sexy for eve
<shevy> lol
corburn has joined #ruby-lang
<imperator2> eve online, the only game where i gave up because i couldn't figure out how to play
<imperator2> i think i mined some asteroids or something for a bit
bglusman has joined #ruby-lang
bglusman has quit [Remote host closed the connection]
bglusman_ has joined #ruby-lang
<shevy> lol
<shevy> that's it
<shevy> we now know that ruby hackers are bad gamers
<imperator2> nah, i'm pretty good at World of Tanks :)
<mistym> rubyists couldn't figure out how to beat the error37 boss in Diablo III
<imperator2> cue the "took an error37 to the knee" jokes
tekin has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<oddmunds> ruby hackers are poor gamers because most games depend on endless repetition which we train ourselves to repel
<rue> Who’s a Diable?
Hakon|mbp has quit [Quit: Leaving...]
<wmoxam> lol
<mistym> oddmunds: Of course!
<wmoxam> because rubyists are SO different than other programmers
<oddmunds> ruby lends itself better (than many other languages) to rid yourself of repetition and redundancy
<oddmunds> less ceremonial code
<kiddorails> rubyists are pretty much DRY at coding.
<imperator2> spanish guy asks what diablo is, hilarity ensues
<wmoxam> ol
cdt has quit [Quit: Ex-Chat]
<rue> Glad I never liked Diablo. I don’t think I could have sustained two games failing so spectacularly only two months apart
<rue> s/sustained/& the emotional impact of/
<chris2> first ruby 1.9 and then that!
<chris2> (i'm fine with ruby 1.9 now btw :P)
<mistym> rue: Two games? Which was the other one?
<mistym> Oh, ME3?
<kiddorails> rue: chris2 Atleast you guys can play games. My system is now too old to allow *cool* games.
<mistym> kiddorails: Aw.
<imperator2> chris2, no, 1.9 is perfect. ignore the stream of bug reports on ruby-core.
Dreamer3 has joined #ruby-lang
<chris2> i dont play games never than some mid-2000 tetris
<kiddorails> Great that it atleast works perfectly with rails and ruby dev. Some consolation.
<chris2> imperator2: bugs are getting fixed. bad design you are stuck with
<imperator2> NEEDS MORE STABBY LAMBDAS
<wmoxam> Sc2 is a lot of fun
<mistym> I never really got into RTSs for some reason.
<chris2> i hate micro
<chris2> abstraction ftw
* imperator2 adds an AbstractionFactoryFactory
<chris2> ...Builder
<any-key> "AbstractSingletonProxyFactoryBean"
<mistym> Wow.
<mistym> I love how verbose Java is.
<any-key> there was a worse one in the XML libraries, but I can't find it
<rue> mistym: Yeah, I’m still upset about ME3
<any-key> it was amazing, because not only was it verbose, it had to do with XML...the epitome of java :P
<mistym> I consider myself lucky I didn't pick it up...
francisfish has quit [Remote host closed the connection]
hynkle has joined #ruby-lang
zmack has quit [Remote host closed the connection]
dv310p3r has quit [Ping timeout: 272 seconds]
Hakon|mbp has joined #ruby-lang
A124 has joined #ruby-lang
futurechimp has quit [Quit: Leaving]
t_ has joined #ruby-lang
jacobwg has joined #ruby-lang
carloslopes has joined #ruby-lang
zmack has joined #ruby-lang
<jacobwg> Does any know how to run a system command in ruby and connect up the stdin and stdout to the current process? (basically I want to run a shell script and allow the user to see output and enter input and then return to ruby for further processing)
<lianj> popen, or capture rubys stdout
futurechimp has joined #ruby-lang
<jacobwg> lianj: actually, it looks like system() is doing what I thought it didn't - in my case I do not need the ruby process to talk to the system script, just the user
<jacobwg> system() seems to be doing that
<lianj> and you want the stdout of the system methods then?
gouthamvel has joined #ruby-lang
gouthamvel has left #ruby-lang [#ruby-lang]
tomb_ has quit [Quit: Computer has gone to sleep.]
mrsolo has joined #ruby-lang
futurechimp has quit [Ping timeout: 245 seconds]
robertcarter has joined #ruby-lang
<imperator2> open3
rippa has joined #ruby-lang
rdeshpande has joined #ruby-lang
rdeshpande has quit [Changing host]
rdeshpande has joined #ruby-lang
<jacobwg> lianj: makes sense - basically I was worried about running sudo commands (it needs to prompt the user for a password) and in the future the shell script might ask for other input, but capturing the io will be better especially if I ever automate or distribute the script
kain has joined #ruby-lang
benanne has joined #ruby-lang
m3nd3s has joined #ruby-lang
macmartine has joined #ruby-lang
francisfish has joined #ruby-lang
<shevy> chris2 mistym fixed my ruby problem with psych, now I can run all my things on 1.9.x!
m3nd3s has quit [Ping timeout: 246 seconds]
m3nd3s has joined #ruby-lang
<imperator2> dammit, can't build win32console from source
<lianj> shevy: 'now'
<shevy> lianj yeah
<shevy> I couldn't before
* lianj dies a little inside
hynkle has quit [Ping timeout: 244 seconds]
m3nd3s has quit [Ping timeout: 244 seconds]
m3nd3s has joined #ruby-lang
<imperator2> i thought you had to declare variables within each scope in C
hynkle has joined #ruby-lang
<imperator2> but it seems gcc lets you get away with it unless you compile with pedantic
<imperator2> *first* i mean
<imperator2> great, now i get to fork win32console
achiu has joined #ruby-lang
<bnagy> imperator2: wait, there's a win32 gem you didn't write??
<imperator2> i know, right?
<yxhuvud> imperator2: exact how that behaves depends on which version of C you use.
<bnagy> what new sorcery is this??
<imperator2> yxhuvud, but it's not part of the c99 standard afaik
* imperator2 tries building as c++ to see if it lets me get away with it
<imperator2> on a completely unrelated note, i'm getting good at making home made smoothies, yum
goshakkk has joined #ruby-lang
sepp2k has quit [Remote host closed the connection]
<yxhuvud> imperator2: hmm. exactly what do you mean? are you using variables without declaring them or are you declaring them somewhere else?
<imperator2> compiler is choking right away (among other things) on line 52
francisfish has quit [Remote host closed the connection]
sepp2k has joined #ruby-lang
goshakkk has quit [Client Quit]
<imperator2> crapton of winsock errors, not sure what that's about yet
<imperator2> time for an FFI version!
<yxhuvud> hmm. where do Qnil come from?
<yxhuvud> is it a define somewhere?
<imperator2> Qnil is from ruby.h
<imperator2> Qnil = nil
francisfish has joined #ruby-lang
patant has joined #ruby-lang
<yxhuvud> then I don't see anything strange with it. what are you trying to build it with?
<yxhuvud> except that it is pretty ugly to not define the function as (void)
<imperator2> VALUE t should be declared at top
<yxhuvud> no. c99 allows them to be declared wherever. Your problem is probably that the windows compiler you use don't support c99.
<imperator2> oh?
<yxhuvud> for example, for (int i = 0; i < 10; i++) { puts("hello"); } is perfectly legal.
<erikh> gcc --std=gnu99
WashIrving has joined #ruby-lang
<erikh> oh, vc?
<erikh> ENOIDESA
WashIrving has left #ruby-lang [#ruby-lang]
<erikh> you'd think it'd support c99.
<imperator2> yxhuvud, but i thought that was its own scope
bfreeman has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
* imperator2 tries to remember which global in mkmf needs the /TP arg
<yxhuvud> erikh: you'd think, but they have deliberately chosen not to.
arooni-mobile has quit [Ping timeout: 244 seconds]
<zzak> mruby will support c99 i believe
<imperator2> CONFIG['COMPILE_C'].sub!(/-Tc/, '-Tp') # there it is :)
jobicoppola has joined #ruby-lang
<imperator2> hm, no, doesn't like that
<imperator2> still getting lots of linkage errors of some sort :(
<erikh> mmm lovely
<imperator2> lots of deps that all depend on mingw precompiled binaries
<imperator2> what a crock of shit
francisfish has joined #ruby-lang
<erikh> ouch
<erikh> shouldn't that just be a mod to the gemfile?
<erikh> err, gemspec
asahi has joined #ruby-lang
robertcarter has quit [Remote host closed the connection]
<asahi> hello. how is there a shorthand for creating an array like [1,2,3,4,5]?
<erikh> (1..5).to_a
<erikh> if you want strings, %w[1 2 3 4 5] will also work
<erikh> corundum: quickref?
<asahi> ah okay, thanks
<erikh> ^ has a bunch of shorthand
dv310p3r has joined #ruby-lang
<TTilus> asahi: with 1.upto(5) you get an enumerator, which you can flatten out to an array with .to_a
<asahi> looks like a great reference
youngin has quit [Read error: Operation timed out]
wallerdev has joined #ruby-lang
wallerdev has quit [Client Quit]
youngin has joined #ruby-lang
zmack has quit [Remote host closed the connection]
<imperator2> gem install pry --platform=ruby
<imperator2> except, never installed readline, oops
<any-key> pfft nothing uses readline
<imperator2> oh, just, you know, pry and irb
erics has joined #ruby-lang
seanstickle has joined #ruby-lang
Skif_away has joined #ruby-lang
Skif has quit [Read error: Connection reset by peer]
<any-key> psh
erics has quit [Ping timeout: 240 seconds]
hynkle has quit [Quit: hynkle]
<imperator2> bah, gem install rb-readline
kain has quit [Quit: Sto andando via]
dr_turkleberry has joined #ruby-lang
kain has joined #ruby-lang
asahi has left #ruby-lang [#ruby-lang]
<imperator2> hm, edit doesn't work in winders, process handle has a lock on it
retro|cz has quit [Ping timeout: 265 seconds]
jacobwg has quit [Ping timeout: 244 seconds]
DRCALKIN has joined #ruby-lang
dejongge has quit [Ping timeout: 252 seconds]
solars has quit [Read error: Operation timed out]
ryanf has joined #ruby-lang
dalekurt has joined #ruby-lang
robotmay has joined #ruby-lang
Asher1 has quit [Remote host closed the connection]
Asher has joined #ruby-lang
diegoviola has joined #ruby-lang
dv310p3r has quit [Ping timeout: 246 seconds]
<hagabaka> is there a python implementation in ruby, or vice versa?
<any-key> ohgawd why
bryancp has quit [Remote host closed the connection]
<rippa> I can't let you do that, Dave
<any-key> google thinks there aren't
<any-key> there's a JS implementation, and vice-verse
<any-key> *versa
<any-key> ...because people are sick
vesan has quit [Read error: Connection reset by peer]
MilkyWay has quit [Remote host closed the connection]
<hagabaka> is there a good way to interface ruby with python programs or libraries without modifying the python code?
outoftime has quit [Ping timeout: 245 seconds]
apanek has joined #ruby-lang
<any-key> C extensions?
<any-key> or running python scripts with backticks and capturing the output
<any-key> or using pipes or other forms of IPC
<any-key> nice
<any-key> that works too
outoftime has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
diegoviola has quit [Read error: Connection reset by peer]
vesan has joined #ruby-lang
dv310p3r has joined #ruby-lang
kiddorails has quit [Quit: Leaving]
dv310p3r has quit [Max SendQ exceeded]
nofxx has quit [Remote host closed the connection]
ridders24 has joined #ruby-lang
retro|cz has joined #ruby-lang
dv310p3r has joined #ruby-lang
jobicoppola has quit [Read error: Connection reset by peer]
imperator2 has quit [Ping timeout: 250 seconds]
francisfish has joined #ruby-lang
asahi has joined #ruby-lang
dv310p3r has quit [Max SendQ exceeded]
diegoviola has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
b1rkh0ff has quit [Ping timeout: 248 seconds]
vesan has quit [Remote host closed the connection]
vesan has joined #ruby-lang
dv310p3r has joined #ruby-lang
<asahi> probably not the right place to be asking this, but can someone tell me what the purpose of something like <rdf:RDF xmlns:rdf = "http://purl.org/rss/1.0/"> at the root of an xml document do?
corburn has quit [Ping timeout: 245 seconds]
<asahi> nevermind. found some resources
nofxx has joined #ruby-lang
dv310p3r has quit [Ping timeout: 246 seconds]
krz has joined #ruby-lang
mark_locklear has quit [Remote host closed the connection]
bryancp has joined #ruby-lang
yxhuvud has quit [Ping timeout: 244 seconds]
Guedes is now known as Guedes_out
chimkan has quit [Quit: chimkan]
heftig has joined #ruby-lang
robotmay has quit [Remote host closed the connection]
retro|cz has quit [Ping timeout: 265 seconds]
t_ has quit [Remote host closed the connection]
yannis has joined #ruby-lang
enebo has quit [Remote host closed the connection]
imperator2 has joined #ruby-lang
Skif has joined #ruby-lang
imperator2 has quit [Client Quit]
Skif_away has quit [Read error: Connection reset by peer]
enebo has joined #ruby-lang
whatasunnyday has joined #ruby-lang
wasd has joined #ruby-lang
wasd has quit [Client Quit]
krohrbaugh has quit [Read error: Connection reset by peer]
s0ber_ has joined #ruby-lang
vesan has quit [Ping timeout: 248 seconds]
outoftime has quit [Ping timeout: 276 seconds]
s0ber has quit [Ping timeout: 265 seconds]
s0ber_ is now known as s0ber
outoftime has joined #ruby-lang
vesan has joined #ruby-lang
krohrbaugh has joined #ruby-lang
alexkane has quit [Quit: alexkane]
robotmay has joined #ruby-lang
jarib has quit [Excess Flood]
cantonic has quit [Quit: cantonic]
<asahi> if children is a Nokogiri::XML::Nodeset, how can I grab the child with name = "title"?
jarib has joined #ruby-lang
lsegal has joined #ruby-lang
<drbrain> asahi: search better
<drbrain> asahi: what search do you perform to get the nodeset?
<asahi> drbrain: I did doc.xpath('/rdf/RDF/xmlns:item') to get the nodeset
ridders24 has quit [Ping timeout: 245 seconds]
<erikh> you should just be able to do set.xpath('*[@name=title]') or something similar
<asahi> oops. doc.xpath('/rdf/RDF/xmlns:item').children gave me the nodeset
<drbrain> asahi: that works?
<drbrain> I would think /rdf:RDF/xmlns:item would be what you wanted...
ilyam has joined #ruby-lang
<drbrain> … adding [@name='title'] to your query would do it
<erikh> yay
mistym has quit [Remote host closed the connection]
<drbrain> asahi: this will still return a NodeSet since multiple items map have a name of title
dr_turkleberry has quit [Quit: dr_turkleberry]
<asahi> yeah. let me revise. my initial query is xpath('/rdf:RDF/xmlns:item').first and I want to grab the title of that
<drbrain> asahi: to get you started, you should read an XPath tutorial like http://www.w3schools.com/xpath/xpath_syntax.asp
<asahi> i'll take a look. thanks
<drbrain> but in this case, you've already got your element
<drbrain> so I think xpath('…').first['name']
<drbrain> (If I'm remembering nokogiri correctly
<asahi> xpath('…').first['name'] isn't doing it...
<drbrain> maybe .attributes['name']?
<asahi> first.attributes gives the uri. the title is in first.children. I can access it with first.children[1] but want a more accurate way of doing it
<drbrain> asahi: can you show me your document?
robotmay has quit [Remote host closed the connection]
postmodern has joined #ruby-lang
<drbrain> asahi: and you want the <title> element?
<asahi> drbrain: the <title> element under <item>
<drbrain> ok
<drbrain> .xpath("//xmlns:item/xmlns:title").first.text
rdeshpande has quit [Ping timeout: 250 seconds]
<asahi> i'm actually looking to iterate over each item and grab the title and description
<drbrain> IIRC, // says "anywhere in the document"
dcorbin has joined #ruby-lang
dcorbin has quit [Changing host]
dcorbin has joined #ruby-lang
<drbrain> asahi: the NodeSet is enumerable, so you can replace .first.text with a map (or each)
<asahi> drbrain: okay, I'll try it out. thanks!
rippa has quit [Ping timeout: 252 seconds]
<drbrain> asahi: I was confused, I thought you meant a document structure like <rdf:RDF><item name="title"> which is why I suggested [@name='title']
srbaker has quit [Quit: Computer has gone to sleep.]
wmoxam has quit [Ping timeout: 240 seconds]
tommyvyo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<asahi> drbrain: thanks for your help. also saw that I can do something like xpath('//xmlns:item').first.xpath('xmlns:title').text or replace title with description to get the desc
zmack has joined #ruby-lang
<asahi> this stuff confuses me every time
<shevy> hehe
<erikh> xpath is pretty cryptic at times
<erikh> drbrain: are my superclass patches suitable?
soahccc is now known as soahccc`
virunga has joined #ruby-lang
Jade has joined #ruby-lang
<rue> asahi: If you’re not comfortable with XPath and it’s not a critically slow path, you can definitely do the matching piecemeal like that if it helps.
mssola has quit [Quit: Konversation terminated!]
headius has quit [Quit: headius]
sepp2k has quit [Ping timeout: 246 seconds]
yannis has quit [Read error: Connection timed out]
yannis has joined #ruby-lang
rmascarenhas has quit [Quit: leaving]
dr_turkleberry has joined #ruby-lang
dr_turkleberry has quit [Client Quit]
kaspernj__ has quit [Ping timeout: 272 seconds]
sepp2k has joined #ruby-lang
yugui_zzz is now known as yugui
carloslopes has quit [Quit: Leaving]
mistym has joined #ruby-lang
seanstickle has quit [Quit: seanstickle]
dalekurt has quit [Quit: Zzz...]
corburn has joined #ruby-lang
<countdigi> tgif ... now i can get some real work done! :-)
corburn has quit [Read error: Connection reset by peer]
yannis has quit [Read error: Connection timed out]
<asahi> rue: I'm not really sure what the difference is
yannis has joined #ruby-lang
kaspernj__ has joined #ruby-lang
<asahi> thought I was using the most direct way of iterating over the items and grabbing the titles and descriptions
Criztian has quit [Remote host closed the connection]
zmack has quit [Remote host closed the connection]
Kero has quit [Ping timeout: 244 seconds]
m3nd3s has quit [Remote host closed the connection]
yannis has quit [Quit: Bye!]
bryancp has quit [Remote host closed the connection]
srbaker has joined #ruby-lang
outoftime has quit [Quit: Leaving]
sockmonk has quit [Ping timeout: 272 seconds]
srbaker has quit [Quit: Computer has gone to sleep.]
<rue> asahi: If you can construct a complete XPath expression, it’s almost certainly faster
<rue> Well. Let’s make that ‘most likely’
srbartlett has joined #ruby-lang
virunga has quit [Quit: Sto andando via]
srbartlett has quit [Remote host closed the connection]
patant has quit [Quit: Lost terminal]
retro|cz has joined #ruby-lang
Swimming_Bird has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Skif has quit [Remote host closed the connection]
<countdigi> off the wall question .. what are the most typical situations when u raise an exception in ur code? have an inner debate w/ when to be too paranoid and when to go w/ the flow
wmoxam has joined #ruby-lang
Skif has joined #ruby-lang
heftig has quit [Quit: leaving]
<rue> When there’s an error, that’s a big one.
<asahi> rue: but if I'm trying to grab several children of a particular element, wouldn't I need an xpath expression for each one?
<rue> Maybe, I didn’t look at the specifics of your question
<asahi> basically I'm doing items = xpath('xmlns:item'). and then item.xpath('xmlns:title') to get title and item.xpath('xmlns:description') to get the description
<asahi> I'm iterating over the items if that wasn't clear
gregf has quit [Quit: WeeChat 0.3.7]
publicvoid has quit [Ping timeout: 244 seconds]
s0ra_h is now known as sora_h
bglusman_ has quit [Remote host closed the connection]
bglusman has joined #ruby-lang
wmoxam has quit [Ping timeout: 252 seconds]
Asher has quit [Ping timeout: 260 seconds]
Asher has joined #ruby-lang
bglusman has quit [Ping timeout: 246 seconds]
publicvoid has joined #ruby-lang
wmoxam has joined #ruby-lang
corsican has quit [Ping timeout: 256 seconds]
Karmaon has joined #ruby-lang
achiu has quit [Quit: WeeChat 0.3.7]
krohrbaugh1 has joined #ruby-lang
krohrbaugh has quit [Read error: Connection reset by peer]
tomb_ has joined #ruby-lang
kyrylo has quit [Ping timeout: 272 seconds]
yugui is now known as yugui_zzz
Kero has joined #ruby-lang
sora_h is now known as s0ra_h
DRCALKIN has quit [Ping timeout: 245 seconds]
xcyclist has joined #ruby-lang
<xcyclist> Where is the canonical place to ask for cucumber help?
DRCALKIN has joined #ruby-lang
<rue> #cucumber, if there is one
rayners has quit [Ping timeout: 244 seconds]
<erikh> #ror might be useful too.
brianpWins has quit [Quit: brianpWins]
mrsolo has quit [Quit: Leaving]
DRCALKIN has quit [Ping timeout: 248 seconds]
<rue> #squash maybe?
<rue> #eggplant
ozzloy is now known as newname
newname is now known as ozzloy
wmoxam has quit [Ping timeout: 250 seconds]
schroedinbug has quit [Ping timeout: 252 seconds]
kaspernj__ has quit [Ping timeout: 246 seconds]
<erikh> #pickles
<erikh> damn, that sounds delicious right now
mistym has quit [Remote host closed the connection]
tomzx has joined #ruby-lang
<xcyclist> Why is it there seems to be no explanation anywhere about how to make a simple hello world cucumber script to run on an arbitrary we site that I can specify and report on? What is this some kind of crazy house software?
schroedinbug has joined #ruby-lang
kaspernj__ has joined #ruby-lang
shyouhei has quit [Quit: Tiarra 0.1+svn-39036: SIGTERM received; exit]
benanne has quit [Quit: kbai]