apeiros changed the topic of #ruby to: Ruby 2.1.4; 2.0.0-p594; 1.9.3-p550: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
<zenspider> SloggerKhan: aye. plain super (`super`) (no args, no parens) passes through
<zenspider> it's terrible syntactic sugar
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<gregf> could someone tell me better way to write this http://dpaste.com/1B658GR please?
<mg^> aha! Figured it out.
robbyoconnor has quit [Read error: Connection reset by peer]
Musashi007 has joined #ruby
<Igneous> gregf: client.regions.all.map { |region| region.slug } ?
tvw has quit []
<Igneous> gregf: assuming you just need the region_list?
flobin has quit [Quit: zzz]
<mg^> OK now on to writing tests for the other component.
<Igneous> oh wait there's a sort, hm
<gregf> Igneous: yeah needed the values sorted first
Pupeno_ has quit [Remote host closed the connection]
dc has joined #ruby
thezanke has joined #ruby
thezanke has quit [Client Quit]
<zenspider> mg^ what was it?
mgorbach has quit [Ping timeout: 256 seconds]
geggam has quit [Ping timeout: 250 seconds]
aspires has quit []
<zenspider> gregf: is region_list empty to start with?
<gregf> zenspider: shoot no, let me update that paste
<mg^> a minor mixup where I inserted a require in the wrong place in the test somehow, most likely carelessness
larissa has joined #ruby
<gregf> zenspider: Igneous http://dpaste.com/1Q07QY6
wjimenez5271 has joined #ruby
Areessell has joined #ruby
<Igneous> wait wat
<zenspider> looks like: region_list.push(clients.region.all.group_by(&:slug).sort.flatten)
jenrzzz has joined #ruby
Asher has quit [Quit: Leaving.]
jimmyhoughjr has joined #ruby
<mg^> test passes, require called, error... test fails, require never called, no error.
Asher has joined #ruby
<zenspider> sorry s/push/concat/
<gregf> Igneous: i was updating the paste to show zenspider that region_list wasn't empty at the start
<gregf> zenspider: thanks
<zenspider> that code makes assumptions... but the idea is there
jheg has joined #ruby
weemsledeux has joined #ruby
VanillaGoat__ has joined #ruby
Musashi007 has quit [Quit: Musashi007]
Areessell has quit [Ping timeout: 244 seconds]
Tab_ has joined #ruby
VanillaGoat_ has quit [Ping timeout: 255 seconds]
jheg has quit [Ping timeout: 256 seconds]
Takle has quit [Remote host closed the connection]
sinequanon has quit []
fwaokda has quit [Remote host closed the connection]
doritostains has quit [Quit: doritostains]
bricker`work has quit [Ping timeout: 265 seconds]
Trynemjoel has quit [Quit: Quitting]
rpag has joined #ruby
tokik has joined #ruby
mgorbach has joined #ruby
agrinb has joined #ruby
<siwica> want to create a zipped file containing a number of files created at runtime that don't need to be written on the hard-drive first. Is there any easy solution for this? I know of zipruby (not tried yet) and the possibility of creating virtual files somehow (never done this) but do you know of some specific tutorial for this?
Trynemjoel has joined #ruby
magic_ has quit [Remote host closed the connection]
i_s has quit [Remote host closed the connection]
mgorbach has quit [Excess Flood]
i_s has joined #ruby
mgorbach has joined #ruby
hamakn has joined #ruby
User458764 has quit [Quit: Textual IRC Client: www.textualapp.com]
D9 has joined #ruby
agrinb has quit [Ping timeout: 240 seconds]
bricker`work has joined #ruby
silkfox has joined #ruby
<zenspider> why would there be a specific tutorial on something so obscure?
mib_mib has quit [Ping timeout: 245 seconds]
<jenrzzz> bricker`work: i fell down the rabbit hole last night. https://www.omniref.com/ruby/2.1.3/files/class.c#annotation=4051963&line=953
i_s has quit [Ping timeout: 255 seconds]
doritostains has joined #ruby
nobitanobi has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
Spami has quit [Quit: This computer has gone to sleep]
klaut has quit [Remote host closed the connection]
tier has joined #ruby
jheg has joined #ruby
thetrav has joined #ruby
nateberkopec has joined #ruby
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
mattstratton has joined #ruby
mattstratton has quit [Read error: Connection reset by peer]
dopie has quit [Remote host closed the connection]
mattstratton has joined #ruby
mattstratton has quit [Max SendQ exceeded]
jheg has quit [Ping timeout: 250 seconds]
mattstratton has joined #ruby
robbyoconnor has joined #ruby
larsam has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
Areessell has joined #ruby
Synthbread has joined #ruby
MattB2_ has joined #ruby
oo__ has joined #ruby
MattB2_ has quit [Client Quit]
Insanity133 has joined #ruby
MattB2_ has joined #ruby
MattB2_ has quit [Client Quit]
pietr0 has quit [Quit: pietr0]
charliesome has joined #ruby
MattB2_ has joined #ruby
MattB2 has quit [Ping timeout: 256 seconds]
Spami has joined #ruby
thetrav has quit [Quit: Page closed]
n_blownapart has quit [Remote host closed the connection]
duggiefresh has joined #ruby
razieliyo_ has quit [Quit: Saliendo]
ProductionBeast has quit [Ping timeout: 264 seconds]
Insanity133 has quit [Ping timeout: 264 seconds]
sevenseacat has joined #ruby
ProductionBeast has joined #ruby
mary5030 has joined #ruby
triple_b has joined #ruby
jottr_ has quit [Ping timeout: 244 seconds]
duggiefresh has quit [Ping timeout: 265 seconds]
michael_mbp has quit [Excess Flood]
Eiam has quit [Quit: (╯°□°)╯︵ ǝpouǝǝɹɟ]
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jimbach has quit [Remote host closed the connection]
michael_mbp has joined #ruby
Norrin has quit [Ping timeout: 260 seconds]
mary5030 has quit [Ping timeout: 244 seconds]
Mekkis_ has quit [Ping timeout: 260 seconds]
jottr_ has joined #ruby
MattB2_ is now known as MattB2
cantonic has quit [Ping timeout: 245 seconds]
vifino has quit [Ping timeout: 260 seconds]
vifino has joined #ruby
Norrin has joined #ruby
Mekkis has joined #ruby
arescorpio has joined #ruby
cantonic has joined #ruby
jonathanwallace has joined #ruby
Hijiri has joined #ruby
stunder has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
atomi has joined #ruby
aspires has joined #ruby
coderhs has quit [Quit: Leaving]
Noobdog has joined #ruby
patrick99e99 has quit [Ping timeout: 240 seconds]
russt has quit [Quit: russt]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
balazs has quit [Ping timeout: 258 seconds]
balazs has joined #ruby
freerobby has joined #ruby
wm3|away has quit [Ping timeout: 258 seconds]
lampd1 has joined #ruby
<lampd1> Anyone ever tackle getting sidekiq monitoring running in a standalone sinatra app?
<lampd1> Running into a sleuth of errors and not rly sure why
Caius has quit [Ping timeout: 260 seconds]
bmurt has joined #ruby
triple_b has joined #ruby
tkuchiki has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
agrinb has joined #ruby
o0oo0o has quit [Quit: WeeChat 0.4.3]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gsd has joined #ruby
Caius has joined #ruby
skolman_ has quit [Remote host closed the connection]
Jake232 has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
ghostmoth has quit [Quit: ghostmoth]
sepp2k has quit [Read error: Connection reset by peer]
Trynemjoel has quit [Ping timeout: 265 seconds]
i_s has joined #ruby
hmsimha has quit [Ping timeout: 255 seconds]
Trynemjoel has joined #ruby
Tab_ has quit [Read error: Connection reset by peer]
robustus has quit [Ping timeout: 250 seconds]
dkb20k has joined #ruby
doritostains has quit [Quit: doritostains]
baroquebobcat has quit [Quit: baroquebobcat]
robustus|Off has joined #ruby
tier has quit [Remote host closed the connection]
robustus|Off is now known as robustus
i_s has quit [Ping timeout: 265 seconds]
freerobby has quit [Quit: Leaving.]
guedes has joined #ruby
guedes has quit [Read error: Connection reset by peer]
dkb20k has quit [Ping timeout: 260 seconds]
freerobby has joined #ruby
<ProductionBeast> i have params.require(:project_member).permit(:admin, :email, :phone, forms: [], credits_attributes: [:id, :_destroy, :credit_role_id, :start_year, :end_year, seasons: []]) in my controler and i can't figure out the correct structure i need to send to this endpoint.
jheg has joined #ruby
<ProductionBeast> here is my brave attempt: http://pastebin.com/jR2BkXwD
reinaldob has quit [Remote host closed the connection]
<ProductionBeast> but my code is not running beyond the .permit function.
<rpag> ProductionBeast, #rubyonrails
<ProductionBeast> oh. thanks!
Phonetiki has joined #ruby
marr has quit [Ping timeout: 250 seconds]
<Phonetiki> hi
TPBallbag has quit [Remote host closed the connection]
rshetty has joined #ruby
Phonetiki has quit [Client Quit]
<ProductionBeast> rpag: i can't join rubyonrails and i don't understand why
dorei has quit []
<sevenseacat> you're not registered, as the message tells you.
<havenwood> ProductionBeast: /msg ChanServ HELP REGISTER
nateberkopec has quit [Quit: Leaving...]
boombadaroomba has quit [Remote host closed the connection]
<ProductionBeast> sevenseacat: havenwood thanks!
rshetty has quit [Remote host closed the connection]
jheg has quit [Ping timeout: 264 seconds]
mikepack has quit [Remote host closed the connection]
elemenopy has joined #ruby
<elemenopy> whats up m8's
freerobby has quit [Quit: Leaving.]
garycruise has joined #ruby
lampd1 has quit []
levity_island has quit [Quit: levity_island]
<benzrf> is elemen like eleven
<benzrf> i shudder to think of how this correuption might spread to seven
Trynemjoel has quit [Ping timeout: 265 seconds]
<sevenseacat> nah its like LMNOP in the alphabet i think
<elemenopy> yea i stream on twitch.tv :)
nateberkopec has joined #ruby
mary5030 has joined #ruby
<sevenseacat> benzrf: dont worry, im not gonna change my name to semenseacat.
silkfox has quit [Ping timeout: 260 seconds]
<elemenopy> man the noob struggles continue
ProductionBeast is now known as prodbeas
weemsledeux has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
prodbeas is now known as prodbeas11
prodbeas11 is now known as prodbeas
bricker`work has quit [Ping timeout: 258 seconds]
<elemenopy> im going to post some code and you are going to laugh , but let me build this out real quick on gist
spastorino has quit [Quit: Connection closed for inactivity]
graydot has quit [Quit: graydot]
hamakn has quit [Remote host closed the connection]
duggiefresh has joined #ruby
Trynemjoel has joined #ruby
hamakn has joined #ruby
dkb20k has joined #ruby
SpikeMaster has joined #ruby
<elemenopy> behold, the two day old ruby guy trying his best to use classes https://gist.github.com/anonymous/7ae35171c869503cc7b2
IrishGringo has joined #ruby
<elemenopy> so far i can get most of it working by hackign it together but i am seeing a new error when trying to make this a class with a function
skolman has joined #ruby
hamakn has quit [Ping timeout: 240 seconds]
duggiefresh has quit [Ping timeout: 245 seconds]
<Noobdog> elemenopy: All caps in Ruby is how a constant is defined, rename DB to something else like db and it should work
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<elemenopy> omg you have to be kidding me haha, let me try that. if that works i need to be reading a little more
skolman has quit [Ping timeout: 244 seconds]
kalz has quit [Quit: exit]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MattB2 has quit []
thezanke has joined #ruby
sailias has joined #ruby
baroquebobcat has joined #ruby
wjimenez5271 has quit [Remote host closed the connection]
thezanke has quit [Client Quit]
wjimenez5271 has joined #ruby
skolman_ has joined #ruby
jimms has quit []
ctp has quit [Quit: Connection reset by peer... Isn't he that short little Mexican with the wire cutters heading your way?]
<Noobdog> elemenopy: How did you end up?
<rpag> elemenopy, you don't have to define the open() method, a require of 'open-uri' adds Kernel#open, you can use that to download a file over HTTP: open(url, &:read).
<elemenopy> oh man, new errors are coming up now
hamakn has joined #ruby
<elemenopy> just googling schmoogling now
mr_roger_ has joined #ruby
<elemenopy> reading reading reading
<rpag> your indentation could be improved too :)
<rpag> what's the error?
Lewix has joined #ruby
skolman_ has quit [Remote host closed the connection]
<elemenopy> WebScrapeClass.rb:33:in `scrapepage': undefined method `xpath' for nil:NilClass (NoMethodError)
ramfjord has quit [Ping timeout: 255 seconds]
<rpag> line 31 could be returning nil then
<elemenopy> hmm i gotta check for nil's somehow then
SpikeMaster has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
<rpag> it just means your first xpath query doesn't match, on line 31
melik has quit [Quit: (null)]
<rpag> this line: firstpostonpage = doc.xpath('//table[@class="forumTable forumPostListTable"]/tr/td/div[@class="content"]').first
<elemenopy> i found something like unless firstpostonpage.nil? ...... end
<elemenopy> just wrap that around the code that follows perhaps?
<rpag> well, do you need the xpath to match or not? if it's okay if it is nil, then unless would work, yeah
<elemenopy> yea i can take nils. ill just skip the link in the crawler
djbkd has quit [Quit: My people need me...]
<elemenopy> but i gotta have that xpath , if it doesn't exist it's not valid to be scraped
<Noobdog> its a lot easier if you just work with the CSS, Xpath is a pain in the ass.
<elemenopy> man i wish! i am translating via xpath from c# .NET so xpath was portable
<Noobdog> doc.css('td') from memory
<Noobdog> will return all the tables in the pages
mr_rogerz_ has joined #ruby
mr_roger_ has quit []
<elemenopy> i was able to use xpath to almost do a straigth 1 to 1 translation for most of our code
<Noobdog> Why are you coverting over from c# if it worked
graydot has joined #ruby
<elemenopy> i can't afford to expand anymore Micro$oft servers :) i pay out of pocket with scholarship money right now
kalz has joined #ruby
<elemenopy> i dont host ads on our mobile apps or web pages
agrinb has joined #ruby
<elemenopy> i could trade two M$ server for like 4 or 5 decent linux boxes
agrinb_ has joined #ruby
patrick99e99 has joined #ruby
<rpag> elemenopy, if you depend on the xpath being a match then you should inspect the HTML you're getting and find out why it doesn't match
nateberkopec has quit [Quit: Leaving...]
krz has joined #ruby
cantonic has quit [Read error: Connection reset by peer]
rkalfane has quit [Quit: Textual IRC Client: www.textualapp.com]
cantonic has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
<elemenopy> i hear ya. im just a couple of days into ruby now and im just so impressed how fast we are translating now. i am a huge fan of optimization but i wanna get a working engine prototype done by tonight so i'm just trying to slam through this
<elemenopy> this irc channel has been incredible so far
<elemenopy> but i am getting random PM messages though in here with links to weird websites, im not sure if that's normal
<elemenopy> something about "show gratis"
<rpag> no its not
<rpag> it's a porn bot or something
<rpag> it's been banned before but sounds like it keeps coming back
<rpag> its been banned before*
<benzrf> elemenopy
<benzrf> y not
<benzrf> elemenorb
Channel6 has joined #ruby
<elemenopy> **slow clap** :)
<benzrf> better yet
<benzrf> elemenohs
<benzrf> ;)
<rpag> haskell?
<benzrf> yea
<rpag> nobody in the real world uses that language :D
rshetty has joined #ruby
<benzrf> then how do you explain the existence of people who use it
<benzrf> are they not real
<rpag> right, they're holograms
Takle has joined #ruby
<rpag> (written in ruby)
arup_r has joined #ruby
ramfjord has joined #ruby
<rpag> yay for redirect loops :(
Synthbread has quit [Remote host closed the connection]
<elemenopy> unless .... end fixed the issue. cleaning up little things now
larissa has quit [Quit: Leaving]
Takle has quit [Ping timeout: 255 seconds]
<elemenopy> **tips hat**
devyn has quit [Remote host closed the connection]
echevemaster has quit [Quit: WeeChat 1.0.1]
echevemaster has joined #ruby
echevemaster has joined #ruby
<rpag> ty jenrzzz
pen has quit [Read error: Connection reset by peer]
pen has joined #ruby
iamjarvo has joined #ruby
patrick99e99 has quit [Ping timeout: 265 seconds]
prodbeas has quit [Ping timeout: 258 seconds]
hmsimha has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
anum has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
<anum> could anyone tell me how to disable sslv3 for ALL Net::HTTP requests? any pointers are appreciated, thanks
Insanity133 has joined #ruby
garycruise has quit [Quit: 离开]
rkalfane has joined #ruby
elemenopy has quit [Quit: Leaving...]
rkalfane has quit [Client Quit]
Insanity133 has quit [Read error: Connection reset by peer]
ringarin has joined #ruby
Insanity133 has joined #ruby
rkalfane has joined #ruby
vinleod has quit [Read error: Connection reset by peer]
vinleod has joined #ruby
amclain has joined #ruby
wjimenez_ has joined #ruby
garycruise has joined #ruby
jtdowney has joined #ruby
rkalfane has quit [Client Quit]
rshetty has quit [Remote host closed the connection]
poweratom_ has quit [Quit: Be back later ...]
wjimenez5271 has quit [Ping timeout: 244 seconds]
IrishGringo has quit [Ping timeout: 272 seconds]
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wjimenez_ has quit [Ping timeout: 255 seconds]
elemenopy has joined #ruby
agrinb_ has quit [Remote host closed the connection]
<elemenopy> well, changing your account name on a mac is horrible
<elemenopy> or i did it wrong
duggiefresh has joined #ruby
sailias has quit [Quit: Leaving.]
aspires has quit []
agrinb has joined #ruby
michaeldeol has joined #ruby
duggiefresh has quit [Ping timeout: 256 seconds]
<elemenopy> ok so this next question will probably make you all laugh
poweratom_ has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
parabolize has joined #ruby
agrinb has quit [Ping timeout: 272 seconds]
ramfjord has joined #ruby
amclain has quit [Quit: Leaving]
chipotle has joined #ruby
mdarby has joined #ruby
mdarby has quit [Client Quit]
vinleod has quit [Read error: Connection reset by peer]
Cache_Money has joined #ruby
rshetty has joined #ruby
tyll_ has joined #ruby
troyready has quit [Ping timeout: 265 seconds]
hmsimha has quit [Ping timeout: 255 seconds]
o0oo0o has joined #ruby
michaeldeol has quit [Quit: Textual IRC Client: www.textualapp.com]
<jenrzzz> elemenopy: on line 6, you're defining a new class called WebPage::String, not monkey patching ::String as you seem to intend to
wallerdev has quit [Quit: wallerdev]
it0a has joined #ruby
govg has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
<elemenopy> you're blowing my mind with these monkey
michaeldeol has joined #ruby
<elemenopy> *monkeys
tyll has quit [Ping timeout: 272 seconds]
<rpag> anum, i don't think SSL is enabled unless you explicitly request it to be?
rshetty has quit [Ping timeout: 244 seconds]
existensil has quit [Quit: WeeChat 0.4.2]
Insanity133 has quit [Remote host closed the connection]
nettoweb_ has joined #ruby
doritostains has joined #ruby
<anum> rpag , I am trying to disable SSL for all requests, even those made in gems which I have no control over. Specifically, the stripe gem . It does not specify an SSL version, but it does use ssl
jtdowney has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<rpag> there is no global switch on Net::HTTP that i know of
<rpag> why do you want to disable SSL? Stripe deals with payment, right? you would that to be encrypted
garycruise has quit [Quit: 离开]
<anum> I don't want it disabled, I just want it to not use SSLv3
<anum> a specific version of the protocol
<rpag> what do you want it to use?
robbyoconnor has quit [Ping timeout: 245 seconds]
<anum> anything more modern. TLSv1 or TLSv2 would be great. Stripe sent out a notice that they will disable SSLv3 on their servers, but no guidance on what to do about it.
<rpag> hm
<rpag> surely they would update their gem?
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<anum> in their notice they said my app has made requests using the v3 version, so I'm not sure where it's getting that
<anum> they haven't uet
<anum> *yet
<anum> nor did they say they were planning on it :/
Trynemjoel has quit [Ping timeout: 265 seconds]
dualz has quit [Ping timeout: 265 seconds]
<rpag> e-mail them back?
<rpag> or hang around, someone else could know
<godd2> dunno if that help, but it seems to have info on ssl/tls versioning in ruby?
<godd2> helps*
<anum> thanks godd2 , that would work only if I submitted a pull request to the stripe gem. This isn't my code unfortunately
<elemenopy> can you elaborate a little bit on the previous comment about monkey patching please?
i_s has joined #ruby
Trynemjoel has joined #ruby
<anum> thanks for looking though
<sevenseacat> its not really a good idea. especially for people new to ruby.
adriancb has joined #ruby
graydot has quit [Quit: graydot]
poweratom_ has quit [Quit: Be back later ...]
<siwica> Should I rather use RDoc or Yard for documentation? Experiences?
<rpag> personal opinion: yard.
<godd2> apparently monkeypatching Fixnum#* in irb makes funny things happen
<rpag> it generates prettier docs, and the meta tags are useful when documenting
<godd2> I made it return 7 no matter what and now every keystroke happens 7 times
i_s has quit [Ping timeout: 244 seconds]
<siwica> rpag: ok, thank yoou
nettoweb_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<sevenseacat> godd2: nice.
graydot has joined #ruby
oo__ has quit [Remote host closed the connection]
jottr_ has quit [Ping timeout: 244 seconds]
jgrevich has quit [Ping timeout: 244 seconds]
oo_ has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
mdarby has joined #ruby
<godd2> I'm pretty sure that says more about irb than Ruby though.
<rpag> i can't reproduce that
<godd2> >> class Fixnum; def +(num); return 7; end; end; 3+3
<eval-in__> godd2 => 7 (https://eval.in/218483)
<sevenseacat> :D
Wolland has quit [Remote host closed the connection]
<rpag> the keystroke part
<godd2> I'm not sure why it did it in my irb. I'm on windows with 1.9.3 if that helps
Wolland has joined #ruby
<sevenseacat> my commiserations.
<godd2> hehe its okay. It's for the video games.
jenrzzz has quit [Ping timeout: 255 seconds]
jimbach has joined #ruby
nonks has joined #ruby
<elemenopy> +2 gold pieces to Noobdog
Wolland__ has joined #ruby
Wolland has quit [Ping timeout: 244 seconds]
nobitanobi has quit [Remote host closed the connection]
cantonic has quit [Read error: Connection reset by peer]
cantonic has joined #ruby
_lexjm has joined #ruby
graydot has quit [Quit: graydot]
<siwica> ok, Yard looks very nice indeed
prodbeas has joined #ruby
chipotle has quit [Max SendQ exceeded]
rajeshchawla has joined #ruby
rajeshchawla has quit [Client Quit]
boombadaroomba has joined #ruby
cantonic has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
cantonic has joined #ruby
<elemenopy> wow, like 80% of our code is translated now for the engine from C# into ruby in like a couple days
<elemenopy> i dont know what to say
jenrzzz has joined #ruby
boombadaroomba has quit [Ping timeout: 255 seconds]
thezanke has joined #ruby
mpistone has joined #ruby
bmurt has quit []
godd2 has quit [Remote host closed the connection]
godd2 has joined #ruby
yfeldblum has quit [Remote host closed the connection]
thezanke has quit [Client Quit]
Eiam has joined #ruby
chipotle has quit [Ping timeout: 272 seconds]
Hijiri has quit [Quit: WeeChat 1.0.1]
duggiefresh has joined #ruby
Hijiri has joined #ruby
jxf has joined #ruby
poweratom_ has joined #ruby
aboudreault has quit [Ping timeout: 258 seconds]
duggiefresh has quit [Ping timeout: 255 seconds]
kyb3r_ has joined #ruby
radic has joined #ruby
yfeldblum has joined #ruby
diegovio1 has joined #ruby
aspires has joined #ruby
atomical has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
diegoviola is now known as Guest26343
diegovio1 is now known as diegoviola
viet_power has joined #ruby
mdarby has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest26343 has quit [Ping timeout: 255 seconds]
<elemenopy> if i start a thread using thread.join, it will stop eventually as long as i tell it when it's done right?
donkus has joined #ruby
<rpag> thread.join waits for the thread to finish
mib_mib has joined #ruby
<elemenopy> kew kew thx
lampd1 has joined #ruby
<donkus> okay so, I have a program that makes cleverbot talk to itself, in the console, and I want to set it as my xscreensaver text command
radic_ has quit [Ping timeout: 245 seconds]
<donkus> but the ruby program prints nothing in xscreensaver
<elemenopy> i want a copy o f that when you're done
<elemenopy> :)
<donkus> so I tried using it in shell, it works with no pipes, but if I pipe my program into cat like ./cleverbot.rb | cat, it prints nothing
rshetty has joined #ruby
<donkus> how do I get it to let output be read normally?
garycruise has joined #ruby
<siwica> when having a method that is only doing some stuff and has no return value, is there a canonical parameter one should return if the operation succeeds?
oo_ has quit [Remote host closed the connection]
adriancb has quit [Remote host closed the connection]
oo_ has joined #ruby
garycruise has quit [Client Quit]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Insanity133 has joined #ruby
braincrash has quit [Quit: bye bye]
oo_ has quit [Ping timeout: 250 seconds]
Trynemjoel has quit [Ping timeout: 265 seconds]
pen has quit []
<donkus> why can't I pipe the output of my ruby program into a different unix program like grep or cat?
braincrash has joined #ruby
<donkus> shortened my question
anum has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has joined #ruby
arup_r has quit [Quit: Leaving.]
Trynemjoel has joined #ruby
Jake232 has joined #ruby
devyn has joined #ruby
<Eiam> will be interesting to see that go live..
snovity has quit [Ping timeout: 244 seconds]
Takle has quit [Ping timeout: 264 seconds]
bmurt has joined #ruby
viet_power has quit [Ping timeout: 264 seconds]
marcdel has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
poweratom_ has quit [Quit: Be back later ...]
<rpag> Eiam, wow
beneggett has joined #ruby
<rpag> 60k
bmurt has quit [Client Quit]
<tmoore> siwica: not really, but 'self' is often convenient
<Eiam> yup
<tmoore> donkus: can you share the source of the program?
Lewix has quit [Remote host closed the connection]
<donkus> okay, just a second
<siwica> tmoore: if its a file operation with the method being a class not an instance method? true?
<tmoore> donkus: without it, I can only guess, but it's likely internal buffering. You should call STDOUT.flush after each line.
<donkus> oh, I've heard about that when looking for the answer using python as well
<tmoore> siwica: the main benefit of returning self is you can chain calls
jrvlima has joined #ruby
<godd2> IO#write is also useful if you want to wait to flush everything at once to an IO
<tmoore> siwica: so that applies to class methods too
rshetty has quit [Remote host closed the connection]
<siwica> tmoore: ok, true
<donkus> I was previously using $stdout.puts, now I'm using system 'echo "whatever"'
<donkus> and the latter works
<donkus> but I'll try the flushing thing
davedev24_ has quit [Read error: Connection reset by peer]
benzrf is now known as benzrf|offline
<siwica> tmoore: *ok, that makes sense (not true ;-))
marcdel has quit [Ping timeout: 264 seconds]
davedev24_ has joined #ruby
<Eiam> rpag: surprised its not being mentioned more, i guess its just vaporware for now
<donkus> should it be $stdout.flush instead of STDOUT.flush
<godd2> donkus those are by default the same
<godd2> >> $stdout == STDOUT
<eval-in__> godd2 => true (https://eval.in/218488)
<donkus> oh wow, it works! thanks
<rpag> Eiam, yup, i tried to find the source but nothing
rshetty has joined #ruby
<rpag> Eiam, until 26 nov
<Eiam> cause its not released yet
<Eiam> yeah
cantonic has quit [Ping timeout: 245 seconds]
<Eiam> pretty sure its passenger phusion anyway
cantonic has joined #ruby
<tmoore> donkus: yeah $stdout is probably better
ramfjord has quit [Ping timeout: 255 seconds]
Joufflu has joined #ruby
inhego has joined #ruby
patrick99e99 has joined #ruby
marcdel has joined #ruby
ciclopee has joined #ruby
nobitanobi has joined #ruby
inhego has quit []
anu_ has joined #ruby
Paramore has quit [Ping timeout: 244 seconds]
patrick99e99 has quit [Ping timeout: 264 seconds]
tier has joined #ruby
nickenchuggets has quit [Ping timeout: 244 seconds]
<donkus> is there a demand for a program that uses named pipes to communicate with cleverbot
<donkus> sort of like a cleverbot suckless client
nobitanobi has quit [Client Quit]
IrishGringo has joined #ruby
nobitanobi has joined #ruby
kp666 has quit [Remote host closed the connection]
fandi has quit [Quit: Leaving]
bigmac has quit [Ping timeout: 244 seconds]
ixti has quit [Ping timeout: 272 seconds]
oo_ has joined #ruby
mtakkman has joined #ruby
tier has quit [Ping timeout: 245 seconds]
prodbeas has quit [Ping timeout: 265 seconds]
reinaldob has joined #ruby
jheg has joined #ruby
elemenopy has quit []
squar1sm has joined #ruby
dkb20k has quit [Ping timeout: 260 seconds]
dkb20k has joined #ruby
reinaldob has quit [Ping timeout: 264 seconds]
Spami has joined #ruby
mary5030 has quit [Remote host closed the connection]
marcdel has quit [Ping timeout: 244 seconds]
havenwood has quit [Remote host closed the connection]
bluOxigen has joined #ruby
jimbach has quit [Remote host closed the connection]
mikepack has joined #ruby
jheg has quit [Ping timeout: 250 seconds]
Lewix has joined #ruby
jrvlima has quit [Quit: Textual IRC Client: www.textualapp.com]
jxf has quit [Ping timeout: 250 seconds]
marcdel has joined #ruby
DTSCode has joined #ruby
havenwood has joined #ruby
ramfjord has joined #ruby
mikepack has quit [Ping timeout: 250 seconds]
mr_rogerz_ has quit [Remote host closed the connection]
aspires has quit []
blueOxigen has joined #ruby
beneggett has quit [Remote host closed the connection]
davedev24_ has quit []
duggiefresh has joined #ruby
bluOxigen has quit [Ping timeout: 244 seconds]
mattstratton has quit [Read error: No route to host]
KC9YDN has quit [Read error: Connection reset by peer]
Trynemjoel has quit [Ping timeout: 265 seconds]
triple_b has quit [Remote host closed the connection]
i_s has joined #ruby
mattstratton has joined #ruby
mtakkman has quit [Remote host closed the connection]
balazs has quit [Ping timeout: 258 seconds]
triple_b has joined #ruby
triple_b has quit [Remote host closed the connection]
triple_b has joined #ruby
duggiefresh has quit [Ping timeout: 244 seconds]
Trynemjoel has joined #ruby
tlarevo has joined #ruby
tlarevo has quit [Remote host closed the connection]
tlarevo has joined #ruby
i_s has quit [Ping timeout: 264 seconds]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
squar1sm has left #ruby [#ruby]
mattstratton has quit [Quit: Textual IRC Client: www.textualapp.com]
cantonic has quit [Read error: Connection reset by peer]
mattstratton has joined #ruby
cantonic has joined #ruby
mpistone has quit []
robbyoconnor has joined #ruby
josephndenton has quit [Ping timeout: 244 seconds]
siwica has quit [Ping timeout: 244 seconds]
Morkel has joined #ruby
bluehavana has quit [Quit: Connection closed for inactivity]
robbyoconnor has quit [Client Quit]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
balazs has joined #ruby
_d is now known as discophoros
discophoros is now known as _d
kireevco has joined #ruby
nickenchuggets has joined #ruby
nickenchuggets has quit [Client Quit]
jrvlima has joined #ruby
disKounted has quit []
poweratom_ has joined #ruby
oleo__ is now known as oleo
Areessell has quit [Quit: (null)]
squar1sm has joined #ruby
skolman_ has joined #ruby
NightMonkey has quit [Quit: ZNC - http://znc.in]
krzkrz has joined #ruby
krz has quit [Read error: Connection reset by peer]
aspires has joined #ruby
Snowstormer has joined #ruby
aspires has quit [Client Quit]
govg has quit [Quit: leaving]
x1337807x has joined #ruby
Wolland__ has quit [Remote host closed the connection]
Trynemjoel has quit [Ping timeout: 265 seconds]
byprdct has quit []
krzkrz has quit [Quit: WeeChat 1.0.1]
Trynemjoel has joined #ruby
krz has joined #ruby
chipotle has joined #ruby
mib_mib has quit [Ping timeout: 255 seconds]
oleo__ has joined #ruby
thezanke has joined #ruby
oleo is now known as Guest74485
it0a has quit [Ping timeout: 272 seconds]
thezanke has quit [Client Quit]
Guest74485 has quit [Ping timeout: 255 seconds]
oleo__ has quit [Read error: Connection reset by peer]
oleo__ has joined #ruby
_lexjm has quit [Quit: afk]
oleo__ is now known as oleo
arup_r has joined #ruby
shortCircuit__ has joined #ruby
siwica has joined #ruby
poweratom_ has quit [Quit: Be back later ...]
Darryl_ has quit [Quit: Connection closed for inactivity]
RyanV has joined #ruby
siwica has quit [Remote host closed the connection]
siwica has joined #ruby
chipotle_ has joined #ruby
Joufflu has quit [Quit: Leaving]
arescorpio has quit [Excess Flood]
IrishGringo has quit [Ping timeout: 255 seconds]
duggiefresh has joined #ruby
luriv has joined #ruby
chipotl__ has joined #ruby
chipotle_ has quit [Remote host closed the connection]
freerobby has joined #ruby
freerobby has quit [Client Quit]
chipotle has quit [Ping timeout: 244 seconds]
freerobby has joined #ruby
oleo has quit [Quit: Verlassend]
sinequanon has joined #ruby
sinkensabe has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
duggiefresh has quit [Ping timeout: 244 seconds]
garycruise has joined #ruby
ton31337 has left #ruby [#ruby]
josephndenton has joined #ruby
garycruise has quit [Client Quit]
garycruise has joined #ruby
garycruise has quit [Client Quit]
poweratom_ has joined #ruby
dseitz has joined #ruby
chipotle has joined #ruby
josephndenton has quit [Ping timeout: 245 seconds]
garycruise has joined #ruby
chipotl__ has quit [Ping timeout: 265 seconds]
siwica1 has joined #ruby
cantonic has quit [Quit: cantonic]
nobitanobi has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
siwica has quit [Ping timeout: 244 seconds]
anu_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nobitanobi has joined #ruby
shortCircuit__ is now known as fridYay
Strawman has joined #ruby
Strawman is now known as Guest28693
nobitanobi has quit [Remote host closed the connection]
michaeldeol has joined #ruby
androidbruce_ has joined #ruby
androidbruce has quit [Read error: Connection reset by peer]
androidbruce_ is now known as androidbruce
androidbruce has quit [Changing host]
androidbruce has joined #ruby
Guest28693 has quit [Client Quit]
NightMonkey has joined #ruby
St_Marx has quit [Remote host closed the connection]
bricker`work has joined #ruby
ciclopee has quit [K-Lined]
nobitanobi has joined #ruby
panini has joined #ruby
parabolize has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
St_Marx has joined #ruby
Kamilion has quit [Ping timeout: 255 seconds]
siwica1 has quit [Remote host closed the connection]
siwica has joined #ruby
_1_Snoopy has joined #ruby
<_1_Snoopy> Hola
<_1_Snoopy> :)
arup_r has quit [Remote host closed the connection]
valeriansaliou has joined #ruby
tristras has joined #ruby
siwica has quit [Ping timeout: 264 seconds]
melik has joined #ruby
Insanity133 has quit [Remote host closed the connection]
timonv_ has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MrDoctor has quit [Ping timeout: 245 seconds]
_1_Snoopy has quit [Read error: Connection reset by peer]
Cache_Money has quit [Quit: Cache_Money]
ramfjord has quit [Ping timeout: 240 seconds]
siwica has joined #ruby
Shotwell has joined #ruby
neoxquick has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: zzz]
Shotwell has quit [Client Quit]
freerobby has quit [Quit: Leaving.]
wjimenez5271 has joined #ruby
i_s has joined #ruby
valeriansaliou has quit [Quit: Be back later ...]
rshetty_ has joined #ruby
tvw has joined #ruby
nobitanobi has quit [Remote host closed the connection]
viet_power has joined #ruby
rshetty has quit [Ping timeout: 245 seconds]
maestrojed has joined #ruby
i_s has quit [Ping timeout: 255 seconds]
last_staff has joined #ruby
viet_power has quit [Ping timeout: 258 seconds]
speaking1ode has joined #ruby
speakingcode has quit [Ping timeout: 245 seconds]
anarang has joined #ruby
balazs has quit [Ping timeout: 258 seconds]
last_staff has quit [Client Quit]
last_staff has joined #ruby
duggiefresh has joined #ruby
ringarin has quit [Ping timeout: 265 seconds]
jshultz has quit [Quit: Connection closed for inactivity]
fr1eza has joined #ruby
duggiefresh has quit [Ping timeout: 250 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Macaveli has joined #ruby
Takle has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
abuzze has joined #ruby
fr1eza has quit [Ping timeout: 245 seconds]
echevemaster has quit [Quit: WeeChat 1.0.1]
baroquebobcat has joined #ruby
JohnBat26 has joined #ruby
codecop has joined #ruby
Takle has quit [Ping timeout: 244 seconds]
mg^^ has joined #ruby
viet_power has joined #ruby
terlar has joined #ruby
last_staff has quit [Quit: last_staff]
st1gma has quit [Read error: Connection reset by peer]
abuzze has quit [Ping timeout: 258 seconds]
apeiros has quit [Ping timeout: 258 seconds]
last_staff has joined #ruby
CustosLimen has joined #ruby
francisfish has quit [Remote host closed the connection]
mg^ has quit [Ping timeout: 258 seconds]
hmsimha has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
parduse has quit []
otherj has joined #ruby
parduse has joined #ruby
francisfish has joined #ruby
ndrei has joined #ruby
bal has joined #ruby
queequeg1 has quit [Ping timeout: 258 seconds]
xenomorph has joined #ruby
queequeg1 has joined #ruby
siwica has quit [Ping timeout: 250 seconds]
otherj has quit [Read error: Connection reset by peer]
nonks has quit [Ping timeout: 250 seconds]
fabrice31 has joined #ruby
francisfish has quit [Ping timeout: 260 seconds]
noop has joined #ruby
nrsk has joined #ruby
Macaveli has joined #ruby
robbyoconnor has joined #ruby
mleung has joined #ruby
fella5s has joined #ruby
timonv_ has quit [Remote host closed the connection]
clauswitt has joined #ruby
<mleung> Hi, I have a gem with some rake tasks defined, and I require this gem in a rake task file in a different repo
valeriansaliou has joined #ruby
timonv_ has joined #ruby
<mleung> the gem uses ‘dotenv’ that i included in the gem repo’s Gemfile
fella6s has quit [Ping timeout: 272 seconds]
nrsk has quit [Ping timeout: 256 seconds]
<mleung> however, the rake task can’t load that ‘dotenv’ gem
<zenspider> rake (and ruby) don't "load" gems
<zenspider> they require files in gems
AmBienCeD has quit [Read error: Connection reset by peer]
Pupeno has joined #ruby
Pupeno has joined #ruby
<zenspider> are you requiring a file in dotenv?
jack_rabbit has quit [Ping timeout: 245 seconds]
<zenspider> or, alternatively (and I think of this as a Bad Thing™), does bundler do it for you and you activate bundler's autorequire thingy?
<zenspider> any ops here?
<zenspider> kickban tristras for spamming via PM
<mleung> the gem itself require ‘dotenv’
<mleung> and in the gemfile, I put dotenv in there already
<zenspider> gems don't require things
<zenspider> RUBY requires things. gems aren't ruby, they're bundles of files
maestrojed has quit [Quit: Computer has gone to sleep.]
nonks has joined #ruby
valeriansaliou has quit [Ping timeout: 258 seconds]
timonv_ has quit [Ping timeout: 250 seconds]
<mleung> what i am trying to do is I have a bunch of repos with same rake tasks
<zenspider> I get it. I've done it.
timonv_ has joined #ruby
<zenspider> all of my rakefiles start with `require "hoe"`
<zenspider> so, what is your rakefile doing to require the code you want to use?
thezanke has joined #ruby
<mleung> my rake file also has require ‘rake_helper’
<mleung> maybe i shouldn’t call that a gem
<zenspider> which corresponds to something like lib/rake_helper.rb in the dotenv gem?
<mleung> yup
<mleung> and in the rake_helper.rb, I have require dotenv
timonv_ has quit [Remote host closed the connection]
thezanke has quit [Client Quit]
<zenspider> nope
<zenspider> I'm looking at the repo for dotenv and it has no such file
kireevco has quit [Quit: Leaving.]
<mleung> oh… i meant i tried to do a require ‘dotenv’ in my common rake_helper.rb file
moritzs has quit [Quit: Verlassend]
moritzschaefer has quit [Quit: Verlassend]
<mleung> when I inlcude rake_helper in a rake task in a different repo
<mleung> it couldn’t complain about not finding dotenv
<mleung> i meant it complain about not finding dotenv
moritzs has joined #ruby
melik has quit [Quit: (null)]
<shevy> if you installed dotenv via "gem install dotenv" then it should be available
Abhijit has joined #ruby
Eiam has quit [Quit: (╯°□°)╯︵ ǝpouǝǝɹɟ]
<mleung> i have dotenv in the gemfile that is in repo A
<shevy> did you do gem install dotenv
<mleung> yeah
Sutffness has joined #ruby
arup_r has joined #ruby
<shevy> how can such a repo not have this gem then?
<shevy> wicked black magic
<mleung> shevy: let me explain my situation
moritzs has quit [Remote host closed the connection]
<mleung> so, i have a repo A that has rake_helper.rb
<mleung> it is a bunch of rake tasks I extract from other repos
Stuffness has quit [Ping timeout: 240 seconds]
<shevy> and repo A does not have dotenv installed?
<mleung> it does
<mleung> it is in the Gemfile
<shevy> no
<shevy> you said you did "gem install dotenv"
AFKGeek has joined #ruby
<mleung> I ran bundle install in repo A
<shevy> does the repo A have multiple ruby versions?
<mleung> no, just 1
<shevy> I don't care about bundler, it's awful. if you did install dotenv through gem, then it must work
<shevy> bundler tends to store gems somewhere else
<sevenseacat> bundler is awse :(
<shevy> k sevenseacat volunteered just now for mleung
jrvlima has quit [Quit: Textual IRC Client: www.textualapp.com]
kireevco has joined #ruby
<sevenseacat> D:
kireevco has quit [Max SendQ exceeded]
<mleung> okay, i am doing this all wrong
<shevy> there is also #bundler by the way
kireevco has joined #ruby
<mleung> what i want to do is a bunch of repos with similar rake tasks and i want to extract them into one repo
<mleung> so, later on, i can do a ‘require’ and those tasks will be available to repos with the rake tasks previous extracted
<mleung> does this make sense?
skolman_ has quit [Remote host closed the connection]
nrsk has joined #ruby
kamil has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
poweratom_ has quit [Quit: Be back later ...]
Timgauthier has joined #ruby
Norrin has quit [Ping timeout: 272 seconds]
Timgauthier has quit [Max SendQ exceeded]
<mleung> hm.. okay,.. figured it out
govg has joined #ruby
jheg has joined #ruby
Timgauthier has joined #ruby
sandelius has joined #ruby
AFKGeek has quit [Quit: Bye]
Norrin has joined #ruby
<mleung> need to add add_dependency in gemspec, so dotenv is included when using it in another repo
boombadaroomba has joined #ruby
garycruise has quit [Quit: 离开]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
Timgauthier has quit [Max SendQ exceeded]
govg has quit [Client Quit]
jheg has quit [Ping timeout: 272 seconds]
Timgauthier has joined #ruby
boombadaroomba has quit [Ping timeout: 264 seconds]
josephndenton has joined #ruby
DTSCode is now known as dTSCode
Wolland has joined #ruby
dseitz has joined #ruby
Wolland_ has joined #ruby
Timgauthier has quit [Client Quit]
ton31337 has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
<ton31337> Anyone know the reason why TCPSocket/TCPServer hangs sending data?
donkus has quit [Ping timeout: 260 seconds]
<ton31337> TCP handshake is done, as I see in tcpdump
<ton31337> but sending data is hanged
justinmcp_ has quit []
Wolland has quit [Ping timeout: 256 seconds]
josephndenton has quit [Ping timeout: 240 seconds]
duggiefresh has joined #ruby
braincra- has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
blueOxigen has quit [Ping timeout: 256 seconds]
ramfjord has joined #ruby
rdark has joined #ruby
jack_rabbit has joined #ruby
<dseitz> Probably have to share a test case
bluOxigen has joined #ruby
arup_r_ has joined #ruby
<_d> :)
braincrash has quit [Ping timeout: 244 seconds]
chipotle has quit [Quit: cya]
cantonic has joined #ruby
duggiefresh has quit [Ping timeout: 255 seconds]
mleung has quit [Quit: mleung]
arup_r has quit [Ping timeout: 244 seconds]
marcdel has quit []
rshetty_ has quit [Ping timeout: 264 seconds]
<dseitz> What is with the private message spammer? :S
<shevy> it is a bot
jack_rabbit has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
diegoviola has quit [Quit: WeeChat 1.0.1]
mkrank has joined #ruby
Trynemjoel has quit [Ping timeout: 265 seconds]
Bounga has joined #ruby
Trynemjoel has joined #ruby
lxsameer has joined #ruby
jheg has joined #ruby
nb_bez___ has quit [Quit: Connection closed for inactivity]
klaut has joined #ruby
zwer_i has quit [Remote host closed the connection]
zwer has joined #ruby
apeiros has joined #ruby
lampd1 has quit []
TomyWork has joined #ruby
Xeago has joined #ruby
alex88 has joined #ruby
Xeago_ has joined #ruby
kireevco has quit [Quit: Leaving.]
livathinos has joined #ruby
kireevco has joined #ruby
queequeg1 has quit [Ping timeout: 244 seconds]
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
queequeg1 has joined #ruby
Xeago has quit [Ping timeout: 260 seconds]
terlar has quit [Quit: WeeChat 1.0.1]
rpag has quit [Ping timeout: 272 seconds]
Lewix has quit [Remote host closed the connection]
terlar has joined #ruby
patrick99e99 has joined #ruby
timonv_ has joined #ruby
bluehavana has joined #ruby
abuzze has joined #ruby
Timgauthier has joined #ruby
Vivekananda has quit [Quit: Ex-Chat]
patrick99e99 has quit [Ping timeout: 250 seconds]
i_s has joined #ruby
Takle has joined #ruby
timonv_ has quit [Ping timeout: 244 seconds]
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
RitterJack has joined #ruby
Takle has quit [Ping timeout: 256 seconds]
i_s has quit [Ping timeout: 265 seconds]
Wolland has joined #ruby
garycruise has joined #ruby
lolmaus has joined #ruby
jheg has quit [Quit: jheg]
garycruise has quit [Client Quit]
garycruise has joined #ruby
poulet_a has joined #ruby
Wolland_ has quit [Ping timeout: 265 seconds]
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has quit [Remote host closed the connection]
timonv_ has joined #ruby
arup_r_ has quit [Remote host closed the connection]
rpag has joined #ruby
milegao has joined #ruby
rshetty has joined #ruby
garycruise has quit [Quit: 离开]
milegao has quit [Client Quit]
rbrs has joined #ruby
PhilK has quit [Ping timeout: 265 seconds]
tesuji has joined #ruby
maletor has quit [Quit: Textual IRC Client: www.textualapp.com]
lolmaus has quit [Remote host closed the connection]
olivier_bK has joined #ruby
lolmaus has joined #ruby
Snowstormer has quit [Ping timeout: 265 seconds]
PhilK has joined #ruby
luriv has quit [Ping timeout: 245 seconds]
moritzs has joined #ruby
duggiefresh has joined #ruby
nonks has quit [Ping timeout: 250 seconds]
sk87 has joined #ruby
mikecmpbll has joined #ruby
apeiros has quit [Remote host closed the connection]
duggiefresh has quit [Ping timeout: 255 seconds]
Timgauthier is now known as timgauthier_away
Hightower666 has joined #ruby
apeiros has joined #ruby
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
sinequanon has quit [Remote host closed the connection]
arup_r has joined #ruby
sinequanon has joined #ruby
wosuopu has joined #ruby
sinequanon has quit [Ping timeout: 272 seconds]
garycruise has joined #ruby
fandi has joined #ruby
elcheckito has joined #ruby
Axy has quit [Read error: Connection reset by peer]
garycruise has quit [Client Quit]
Axy has joined #ruby
flobin has joined #ruby
Sgeo is now known as WickedWitch
Timgauthier has joined #ruby
WickedWitch is now known as Sgeo
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rippa has joined #ruby
chthon has joined #ruby
luminor has joined #ruby
Takle has joined #ruby
thezanke has joined #ruby
thezanke has quit [Client Quit]
jheg has joined #ruby
flobin has left #ruby [#ruby]
yfeldblum has joined #ruby
lsmola has quit [Remote host closed the connection]
bayed has joined #ruby
starless has joined #ruby
kireevco has joined #ruby
garycruise has joined #ruby
marr has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
kireevco has quit [Ping timeout: 258 seconds]
MrDoctor has joined #ruby
MrDoctor has joined #ruby
bricker`work has quit [Ping timeout: 255 seconds]
casual has quit [Ping timeout: 265 seconds]
sn0wb1rd has quit [Quit: See ya]
garycruise has quit [Quit: 离开]
dnyy has quit [Ping timeout: 244 seconds]
starless has quit [Quit: Leaving]
casual has joined #ruby
garycruise has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
dnyy has joined #ruby
jenrzzz has joined #ruby
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kyb3r_ has quit [Read error: Connection reset by peer]
wosuopu has quit [Quit: 离开]
wosuopu has joined #ruby
rshetty has quit [Ping timeout: 244 seconds]
ramfjord has quit [Ping timeout: 250 seconds]
garycruise has quit [Quit: 离开]
timonv_ has quit [Read error: Connection reset by peer]
EasyCo has quit [Ping timeout: 244 seconds]
Snowstormer has joined #ruby
EasyCo has joined #ruby
kaspergrubbe has joined #ruby
oo_ has quit [Remote host closed the connection]
Wolland_ has joined #ruby
Timgauthier is now known as timgauthier_away
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
josephndenton has joined #ruby
mtakkman has joined #ruby
Wolland has quit [Ping timeout: 258 seconds]
francisfish has joined #ruby
josephndenton has quit [Ping timeout: 256 seconds]
govg has joined #ruby
sevenseacat has quit [Remote host closed the connection]
mkaesz has joined #ruby
dangerousdave has joined #ruby
arup_r has quit [Remote host closed the connection]
anaeem1 has joined #ruby
User458764 has joined #ruby
sandelius has joined #ruby
goshdarnyou has quit [Quit: Connection closed for inactivity]
rodfersou has joined #ruby
arup_r has joined #ruby
yfeldblum has quit [Remote host closed the connection]
BadQuanta has quit [Quit: Leaving.]
yfeldblum has joined #ruby
elaptics`away is now known as elaptics
Pumukel has joined #ruby
wosuopu_ has joined #ruby
Miron has quit [Ping timeout: 258 seconds]
wosuopu_ has quit [Client Quit]
mistermocha has quit [Remote host closed the connection]
nonks has joined #ruby
elcheckito has quit [Quit: WeeChat 1.0.1]
bal has quit [Ping timeout: 260 seconds]
elcheckito has joined #ruby
tyll_ is now known as tyll
bal has joined #ruby
doev has joined #ruby
mame0 has quit [Ping timeout: 250 seconds]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mame0 has joined #ruby
tlarevo has quit [Ping timeout: 256 seconds]
duggiefresh has joined #ruby
dangerousdave has joined #ruby
tesuji has quit [Ping timeout: 244 seconds]
Spami has quit [Quit: This computer has gone to sleep]
tlarevo has joined #ruby
joonty has joined #ruby
duggiefresh has quit [Ping timeout: 264 seconds]
decoponio has joined #ruby
nonks has quit [Ping timeout: 250 seconds]
mtakkman has quit [Remote host closed the connection]
timonv_ has joined #ruby
Hightower666 has quit [Ping timeout: 265 seconds]
<Takumo> wtf is going on here? I have a Rack::MockResponse, but when I call #body ... it says there's no such method Hash#body ?
timonv_ has quit [Remote host closed the connection]
timonv_ has joined #ruby
RitterJack has quit [Remote host closed the connection]
jaredrhine_ has quit [Ping timeout: 250 seconds]
lkba has quit [Ping timeout: 255 seconds]
tesuji has joined #ruby
wosuopu is now known as longchang
Afforess has quit [Quit: ZNC - http://znc.in]
agjacome has joined #ruby
Afforess has joined #ruby
_tpavel has joined #ruby
<zenspider> Takumo: then you're not calling it on the thing you think you are
<Takumo> nvm, its me being an idiot and calling #body on the result of #body ...
<Takumo> hurrhurr
jaredrhine has joined #ruby
DrCode has quit [Ping timeout: 250 seconds]
MrDoctor_ has joined #ruby
dseitz has quit [Quit: night]
Axy has quit [Read error: Connection timed out]
longchang is now known as longchangjin
mityaz has joined #ruby
<zenspider> hurr... hurr... right.
MrDoctor has quit [Ping timeout: 264 seconds]
Takle has quit [Remote host closed the connection]
DrCode has joined #ruby
tokik has quit [Ping timeout: 265 seconds]
_tpavel has quit [Ping timeout: 250 seconds]
Afforess has quit [Ping timeout: 258 seconds]
Takle has joined #ruby
drawingthesun has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dyreshark has quit [Quit: I just dont know what went wrong!]
Spami has joined #ruby
Afforess has joined #ruby
longchangjin is now known as wosuopu
dyreshark has joined #ruby
wosuopu has quit [Quit: 离开]
luminor has quit []
dumdedum_ has joined #ruby
luminor has joined #ruby
rylev has joined #ruby
govg has quit [Quit: leaving]
rylev has quit [Remote host closed the connection]
rylev has joined #ruby
i_s has joined #ruby
larsam has quit [Read error: Connection reset by peer]
ccooke has quit [Ping timeout: 255 seconds]
_tpavel has joined #ruby
MrDoctor2 has joined #ruby
shredding has joined #ruby
i_s has quit [Ping timeout: 255 seconds]
kedare has joined #ruby
MrDoctor_ has quit [Ping timeout: 265 seconds]
pasv has quit [Ping timeout: 265 seconds]
patrick99e99 has joined #ruby
bMalum has quit [Quit: bMalum]
iwishiwerearobot has quit [Quit: Leaving...]
patrick99e99 has quit [Ping timeout: 245 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
zwer has quit [Remote host closed the connection]
lxsameer has quit [Quit: Leaving]
jottr_ has joined #ruby
zwer has joined #ruby
RyanV has quit [Quit: (null)]
aspiers has joined #ruby
rshetty has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
lolmaus has joined #ruby
Noobdog has quit [Ping timeout: 272 seconds]
dANO_ has joined #ruby
garycruise has joined #ruby
drawingthesun has quit [Ping timeout: 265 seconds]
ldnunes has joined #ruby
poweratom_ has joined #ruby
kamil has quit [Quit: Leaving...]
bMalum has joined #ruby
Abhijit has quit [Quit: Leaving]
lsmola has joined #ruby
poweratom_ has quit [Ping timeout: 260 seconds]
lolmaus has quit [Quit: Konversation terminated!]
lolmaus has joined #ruby
KC9YDN has joined #ruby
Takle has quit [Remote host closed the connection]
sk87 has joined #ruby
garycruise has quit [Quit: 离开]
stormy98 has quit [Quit: leaving]
Takle has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arup_r has quit [Remote host closed the connection]
dangerousdave has joined #ruby
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
fabrice31 has quit [Remote host closed the connection]
michael_mbp has quit [Excess Flood]
duggiefresh has joined #ruby
sepp2k has joined #ruby
mtakkman has joined #ruby
sandelius has joined #ruby
nonks has joined #ruby
michael_mbp has joined #ruby
TPBallbag has joined #ruby
<gregf__> $r = $args->{'what'} ? qr{^@{[ $mod->get('name') ]}$} : qr{^offer_type}; ?
<gregf__> oops, sorry, wrong chat :/
weemsledeux has joined #ruby
<rpag> puuuurl!
<gregf__> :/. well its almost ruby ;)
sandelius has quit [Client Quit]
asmodlol has joined #ruby
* pontiki is just happy she can still read that :>
<shevy> ack
<shevy> what is this madness
doev has quit [Quit: Verlassend]
<shevy> who was the guy who said perl is readable
<shevy> hands up now
<pontiki> anything is readable if you understand the language
clauswitt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
duggiefresh has quit [Ping timeout: 272 seconds]
<kaspergrubbe> perl is write once, read never
<pontiki> nonsense
<gregf__> shevy: all that is is: $offer = $mod->get('name') ]}; $r = $args->{'what'} ? qr{^$offer$} : qr{^offer_type}; <== easier?
<gregf__> oops
nonks has quit [Ping timeout: 250 seconds]
<gregf__> shevy: all that is is: $offer = $mod->get('name'); $r = $args->{'what'} ? qr{^$offer$} : qr{^offer_type}; <== easier?
<shevy> gregf__ why do you torment the eyes
<gregf__> heh
<shevy> actually
<shevy> the mod->foo is ok
<shevy> the $ is also ok given that perl is a fossil language
<shevy> what is not ok is this here:
<shevy> qr{^$offer$}
thezanke has joined #ruby
<shevy> TWO $
<pontiki> shevy, that's just like %r{^#{offer}#}
ton31337 has left #ruby [#ruby]
<shevy> nobody uses that either
<pontiki> oh please
<pontiki> i use regexps all the time
<shevy> I do too
<shevy> they are usually the ugliest part of my code
<gregf__> h = "offer1"; reg = %r{^#{h}$}; puts "offer" =~ reg ? "yep": "nope"
<gregf__> any different in ruby?
<gregf__> :/ gtg
<shevy> looks better but still awful
thezanke has quit [Client Quit]
<shevy> you eliminated one $ in the process too :>
* pontiki gives shevy a box of 8 crayons
<pontiki> that's all you'll ever need
<shevy> my code strives to maximum simplicity all the time
<shevy> because it is the only complexity I can handle
Snowstormer has quit [Excess Flood]
<pontiki> your limitations are your limitations
Azure has quit [Quit: Blue Sky Fish]
ciclopee has joined #ruby
<shevy> gained through many years of learning pontiki
<pontiki> you haven't learned me at all
Squarepy has joined #ruby
<shevy> ok
<shevy> I will study pontiki henceforthwith
<pontiki> discover the joy of pushing away the boundaries of your self-imposed limitations by learning
<shevy> I remember having heard that many times before
<shevy> right before the Kool-Aid
<shevy> "use the right tool for the job"
<pontiki> i'm not offering any kool-aid
<pontiki> nor any tool
anarang has quit [Quit: Leaving]
<pontiki> nor any approach
<pontiki> no agenda
<pontiki> i don't really care if you do or do not
<rpag> are you at least offering pancakes?
<pontiki> waffles, rpag. waffles
gccostabr has joined #ruby
<rpag> im allergic to waffles
<pontiki> too many holes?
<pontiki> for you, i'll press them in the paninni press
<rpag> yeah, same reason im allergic to golf courses
DaniG2k has joined #ruby
<rpag> apeiros, ciclopee is a spam bot
<pontiki> try minigolf
<pontiki> tristras as well?
arup_r has joined #ruby
<rpag> yup
<pontiki> +g mode is a goodness
bMalum has quit [Quit: bMalum]
reinaldob has joined #ruby
bMalum has joined #ruby
<rpag> what's +g mode?
<pontiki> disallows PMs
<rpag> i use PMs sometimes
<pontiki> you can allow individuals explicitly
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
<rpag> pontiki, where are you from? greece?
<pontiki> no :/
<pontiki> US
<rpag> ah
* pontiki real nick is tamouse__
<rpag> your nick looks greek to me :P
<pontiki> but being bored one day, i started to see how to say "mouse" in various languages
ccooke has joined #ruby
<pontiki> when i got to Greek, i thought pontiki rather squeeful
<pontiki> == 'mouse' in Greek: ποντίκι
mtakkman has quit [Read error: Connection reset by peer]
<rpag> cool
<shevy> the name pontiki reminds me of a native american
<txdv> This guy should win an award for professional procrastination
<pontiki> maybe Chief Pontiact?
<pontiki> hey, i'm up for that, txdv !
<shevy> laziness gave rise to great inventions txdv
<pontiki> Pontiac*
<shevy> Pontiac reminds me of either a cognac
<shevy> or a car
<pontiki> yes, another case of extreme hegemonic appropriation and oppression of native peoples
Takle has quit [Read error: Connection reset by peer]
Takle has joined #ruby
tkuchiki has quit [Ping timeout: 255 seconds]
<txdv> pontiki: did you look up how mouse is written in lithuanian?
<pontiki> newp
<txdv> so you got to the greek language and thought that was the ultimate version and just stopped?
<txdv> i may have to take back that imaginary award
<pontiki> p.much :D
doritostains has quit [Read error: Connection reset by peer]
<pontiki> pelé doesn't seem to interesting, tho
<txdv> pontiki sounds like contiki
workmad3 has joined #ruby
bricker`work has joined #ruby
Xiti` has joined #ruby
Guest7420 has joined #ruby
lkba has joined #ruby
Wolland_ has quit [Remote host closed the connection]
<txdv> shevy why do you keep running away when I join the conversation in this channel?
Wolland has joined #ruby
<matt_d> txdv: who does?
<rpag> >> Array.new(100) { "shevy" }.join " "
<eval-in__> rpag => "shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy sh ... (https://eval.in/218631)
<shevy> rpag \o/
<txdv> look another convert
<shevy> yeah
<txdv> soon we will hang you on a cross like we did with jesus
<shevy> txdv I am still trying to finish my rewrite of konsole colours :(
<rpag> lol
coderhs has joined #ruby
fandi has quit [Remote host closed the connection]
coderhs has quit [Remote host closed the connection]
Azure has joined #ruby
<shevy> ohhhhhh
Xiti has quit [Ping timeout: 244 seconds]
<shevy> <module:KonsoleColours>': undefined method `menu' for class `Class' (NameError)
cantonic has quit [Quit: cantonic]
<shevy> I now see what I did there
josephndenton has joined #ruby
bricker`work has quit [Ping timeout: 265 seconds]
Wolland has quit [Ping timeout: 255 seconds]
<shevy> Foo::Foo becomes too confusing
snovity has joined #ruby
fsapo has joined #ruby
nrsk has quit [Ping timeout: 256 seconds]
mtakkman has joined #ruby
cantonic has joined #ruby
<alex88> hi guys, someone uses fog here? I'm trying to download a 2gb file https://gist.github.com/alex88/d34c6afc88aeb6eb0d80 however it download first some hundred megs and then it hangs, starts again after a while and nearly at 1.5gb or so it raises "read timeout reached"
<alex88> any thought?
ramfjord has joined #ruby
<alex88> tristras: ciclopee: no need thanks :D
josephndenton has quit [Ping timeout: 265 seconds]
robustus is now known as robustus|Off
clauswitt has joined #ruby
lxsameer has joined #ruby
eightfold has joined #ruby
ramfjord has quit [Ping timeout: 265 seconds]
anarang has joined #ruby
<eightfold> i wonder what's the best way to download and use ruby for os x these days. i mostly use it for jekyll.
<eightfold> should i get rvm?
<rpag> if you don't care about using the latest ruby then the system ruby that comes with osx should be fine
Takle has quit [Remote host closed the connection]
kaspertidemann has joined #ruby
<rpag> i use chruby&ruby-install
Pixi_ has joined #ruby
quimrstorres has joined #ruby
Axy has joined #ruby
<eightfold> rpag: i don't care much about that
robustus|Off is now known as robustus
_tpavel has quit [Ping timeout: 245 seconds]
Xiti has joined #ruby
Xiti` has quit [Ping timeout: 245 seconds]
mg^^ has quit [Ping timeout: 264 seconds]
mg^ has joined #ruby
rylev has quit [Remote host closed the connection]
<shevy> the source!!!
Guest7420 has quit [Quit: Leaving]
Darryl_ has joined #ruby
arup_r has quit [Remote host closed the connection]
Pixi_ has quit [Ping timeout: 244 seconds]
pasv has joined #ruby
pasv is now known as Guest57834
oo_ has quit [Remote host closed the connection]
Takle has joined #ruby
oo_ has joined #ruby
boombadaroomba has joined #ruby
mtakkman has quit [Read error: Connection reset by peer]
hanmac1 has joined #ruby
<rpag> eightfold, latest osx ships ruby2
postmodern has quit [Quit: Leaving]
agjacome has quit [Quit: leaving]
dANO_ has quit []
<eightfold> rpag: well that's good. finally
mattstratton has joined #ruby
bMalum has quit [Quit: bMalum]
nrsk has joined #ruby
rshetty has quit [Ping timeout: 258 seconds]
oo_ has quit [Ping timeout: 255 seconds]
boombadaroomba has quit [Ping timeout: 250 seconds]
<rpag> i think they didn't ship 1.9 because macruby was going to be 1.9 but never took off
Morkel_ has joined #ruby
IrishGringo has joined #ruby
Morkel has quit [Ping timeout: 245 seconds]
Morkel_ is now known as Morkel
<eightfold> reading this reminds me of what i'm talking about: https://github.com/jekyll/jekyll-help/issues/73
fella6s has joined #ruby
_tpavel has joined #ruby
ringarin has joined #ruby
quimrsto_ has joined #ruby
wjimenez5271 has quit [Remote host closed the connection]
fella5s has quit [Ping timeout: 250 seconds]
eightfold has quit [Ping timeout: 265 seconds]
<rpag> >> Time.at(0)
<eval-in__> rpag => 1970-01-01 00:00:00 +0000 (https://eval.in/218644)
davidhq has joined #ruby
panini has quit [Ping timeout: 240 seconds]
quimrstorres has quit [Ping timeout: 250 seconds]
duggiefresh has joined #ruby
jzinedine has joined #ruby
Jake232 has joined #ruby
razieliyo has joined #ruby
davedev24_ has joined #ruby
weemsledeux has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
luminor has quit []
Takle has quit [Remote host closed the connection]
duggiefresh has quit [Ping timeout: 245 seconds]
anarang has quit [Ping timeout: 265 seconds]
moritzs has quit [Ping timeout: 250 seconds]
anarang has joined #ruby
Xiti` has joined #ruby
<jheg> when writing OO code is best to follow any sort of loose rules regarding class dependencies on other classes such as how deep the relationship between them go?
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Brando753 has quit [Ping timeout: 265 seconds]
kaspertidemann has quit []
Xiti has quit [Ping timeout: 265 seconds]
tristras has quit [K-Lined]
<michael_mbp> hey guys
jzinedine has quit [Ping timeout: 264 seconds]
Miron has joined #ruby
Fire-Dragon-DoL has joined #ruby
Pixi_ has joined #ruby
i_s has joined #ruby
shredding has quit [Quit: shredding]
kaspertidemann has joined #ruby
clauswitt has quit [Remote host closed the connection]
quimrsto_ has quit [Remote host closed the connection]
Xiti` has quit [Ping timeout: 244 seconds]
_d is now known as yubi
clauswitt has joined #ruby
yubi is now known as _d
anarang has quit [Ping timeout: 250 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
i_s has quit [Ping timeout: 255 seconds]
Xiti` has joined #ruby
Kamilion has joined #ruby
rshetty has joined #ruby
rshetty has quit [Read error: Connection reset by peer]
larsam has joined #ruby
rshetty has joined #ruby
fabrice31 has joined #ruby
VanillaGoat_ has joined #ruby
luckyruby has quit [Quit: Leaving...]
Brando753 has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
tesuji has quit [Ping timeout: 258 seconds]
Pixi_ has quit [Ping timeout: 240 seconds]
MattB2 has joined #ruby
Xiti has joined #ruby
sevenseacat has joined #ruby
VanillaGoat__ has quit [Ping timeout: 255 seconds]
Xiti` has quit [Ping timeout: 244 seconds]
anarang has joined #ruby
Wolland has joined #ruby
AlexRussia has quit [Ping timeout: 250 seconds]
koderok has joined #ruby
quimrstorres has joined #ruby
k4nn37 has joined #ruby
<k4nn37> anyone here
rbrs has quit [Quit: Leaving]
<jhass> you are
<k4nn37> i bet
Wolland has quit [Ping timeout: 265 seconds]
clauswit_ has joined #ruby
godd2 has quit [Ping timeout: 255 seconds]
spastorino has joined #ruby
<rpag> k4nn37, ask your q, if someone is interested/around they will answer
patrick99e99 has joined #ruby
<shevy> k4nn37 come on man
* hanmac1 does trade Q against A
* jhass trades Q against AA
tlarevo_ has joined #ruby
cantonic has quit [Read error: Connection reset by peer]
ndrei has quit [Ping timeout: 250 seconds]
cantonic has joined #ruby
clauswitt has quit [Ping timeout: 250 seconds]
dbugger has joined #ruby
<dbugger> Hello everyone
<k4nn37> brb
<dbugger> I am trying to compile Ruby, but I am finding this error at the end of the "make" command. Can someone please help me figure out why? http://stackoverflow.com/questions/26801289/problems-compiling-ruby
clauswit_ has quit [Remote host closed the connection]
tlarevo has quit [Ping timeout: 244 seconds]
yeticry has quit [Ping timeout: 260 seconds]
clauswitt has joined #ruby
<jhass> what's your readline version?
patrick99e99 has quit [Ping timeout: 272 seconds]
ringarin has quit [Ping timeout: 255 seconds]
<hanmac1> jhass: as it seems the wrong one
Takle has joined #ruby
<hanmac1> apeiros: spam bot ciclopee
ringarin has joined #ruby
banister has joined #ruby
anarang has quit [Read error: Connection reset by peer]
<hanmac1> banister: can you kick?
fandi has joined #ruby
k4nn37 has quit [Ping timeout: 250 seconds]
anarang has joined #ruby
<banister> hanmac1 who
<hanmac1> banister: spam bot ciclopee
<hanmac1> but i think you might have noticed already ,P
<banister> no
banister is now known as banisterfiend
Xeago_ has quit [Remote host closed the connection]
ciclopee was kicked from #ruby by banisterfiend [Your behavior is not conducive to the desired environment.]
koderok has quit [Quit: koderok]
AlexRussia has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dude007 has joined #ruby
kamil has joined #ruby
IrishGringo has quit [Ping timeout: 258 seconds]
rylev has joined #ruby
<apeiros> I think the spammer got wiser and stopped spamming ops
<_d> banister got rid of the fiend. Lovely.
dc has quit [Remote host closed the connection]
<apeiros> clearly, the solution is to put everybody in the channel into the op list
anarang has quit [Ping timeout: 258 seconds]
IrishGringo has joined #ruby
<hanmac1> apeiros: *played an home-made of The Incredibles* "when everyone is op, no one is" ;P
anarang has joined #ruby
nonks has joined #ruby
robustus is now known as robustus|Off
pwestlund has joined #ruby
yeticry has joined #ruby
nonks has quit [Ping timeout: 250 seconds]
pwestlun1 has quit [Ping timeout: 244 seconds]
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
Macaveli has joined #ruby
ClarusCogitatio has quit [Ping timeout: 250 seconds]
AlSquire has joined #ruby
rshetty has quit [Ping timeout: 265 seconds]
thezanke has joined #ruby
robustus|Off is now known as robustus
Wolland has joined #ruby
mkaesz has quit [Remote host closed the connection]
phutchins has joined #ruby
ClarusCogitatio has joined #ruby
blackmesa has joined #ruby
Dude007 has quit [Read error: Connection reset by peer]
thezanke has quit [Client Quit]
dangerousdave has joined #ruby
Wolland_ has joined #ruby
jxf has joined #ruby
Nahra has quit [Ping timeout: 265 seconds]
anarang has quit [Quit: Leaving]
anaeem1 has quit [Remote host closed the connection]
anarang has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
shredding has joined #ruby
Mia has left #ruby [#ruby]
Wolland has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
duggiefresh has joined #ruby
Wolland_ has quit [Ping timeout: 258 seconds]
charliesome has quit [Client Quit]
Soda has joined #ruby
georgschlenkhoff has joined #ruby
duggiefresh has quit [Ping timeout: 255 seconds]
georgschlenkhoff has left #ruby ["Textual IRC Client: www.textualapp.com"]
garycruise has joined #ruby
anarang has quit [Ping timeout: 255 seconds]
garycruise has quit [Client Quit]
sarlalian has quit [Quit: WeeChat 0.4.2]
dc has joined #ruby
aclearman037 has joined #ruby
Timgauthier has joined #ruby
sk87 has joined #ruby
pyon has quit [Quit: And the battle will rage until only the Raichu prevail!]
Lewix has joined #ruby
heftig is now known as heftig[]
larissa has joined #ruby
heftig[] is now known as heftig
jenrzzz has joined #ruby
shiru has joined #ruby
josephndenton has joined #ruby
RitterJack has joined #ruby
Xeago has joined #ruby
KC9YDN has quit [Read error: Connection reset by peer]
shiru has quit [Remote host closed the connection]
MattB2 has quit []
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anarang has joined #ruby
arup_r has joined #ruby
yfeldblum has quit [Remote host closed the connection]
Xeago_ has joined #ruby
josephndenton has quit [Ping timeout: 240 seconds]
triple_b has joined #ruby
dangerousdave has joined #ruby
panini has joined #ruby
paulfm has joined #ruby
hmsimha has quit [Ping timeout: 255 seconds]
St_Marx has quit [Ping timeout: 250 seconds]
Xeago has quit [Ping timeout: 250 seconds]
tier has joined #ruby
mattstratton has quit [Ping timeout: 264 seconds]
abuzze_ has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
abuzze has quit [Ping timeout: 265 seconds]
dangerousdave has joined #ruby
eightfold has joined #ruby
spyderman4g63 has joined #ruby
cantonic has quit [Read error: Connection reset by peer]
nfk has joined #ruby
cantonic has joined #ruby
<alex88> how could be that on an aws instance with a root device only Dir.tmpdir returns /tmp and in an instance with /tmp mounted on an ebs it returns the current path as tmpdir?
<Takumo> hmm, warden is failing authentication
<Takumo> even though my strategy literally just returns true for #valid? and #authenticate!
_tpavel has quit [Quit: Leaving]
aclearman037 has quit [Quit: I'm out!]
<hanmac1> alex88: did you try to ask at ##aws too?
ed_t has quit [Quit: Leaving]
droidburgundy has joined #ruby
<alex88> hanmac1: nm found it, looking at Dir.tmpdir source, /tmp when default mounted to an ebs is not world writable :S
aclearman037 has joined #ruby
Jake232 has quit [Ping timeout: 258 seconds]
blackmesa has quit [Ping timeout: 260 seconds]
philwantsfish has joined #ruby
govg has joined #ruby
anarang has quit [Quit: Leaving]
ndrei has joined #ruby
atomical has joined #ruby
Lewix has quit [Remote host closed the connection]
siwica has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banister has joined #ruby
dangerousdave has joined #ruby
mtakkman has joined #ruby
jleishman has joined #ruby
nateberkopec has joined #ruby
benzrf|offline is now known as benzrf
andrewlio has joined #ruby
rshetty has joined #ruby
oo_ has joined #ruby
sinkensabe has quit [Remote host closed the connection]
boombadaroomba has joined #ruby
abuzze has joined #ruby
yfeldblum has joined #ruby
DaniG2k has quit [Ping timeout: 245 seconds]
rshetty has quit [Read error: Connection reset by peer]
mib_mib has joined #ruby
arup_r has quit [Remote host closed the connection]
arup_r has joined #ruby
bmurt has joined #ruby
arup_r has quit [Remote host closed the connection]
silkfox has joined #ruby
rshetty has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
TPBallbag has quit [Remote host closed the connection]
abuzze_ has quit [Ping timeout: 255 seconds]
kamil has quit [Quit: Leaving...]
boombadaroomba has quit [Ping timeout: 250 seconds]
tier has quit [Remote host closed the connection]
yfeldbl__ has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
poulet_a has quit [Quit: Quitte]
haroldwu has quit [Ping timeout: 255 seconds]
pouleta has joined #ruby
haroldwu has joined #ruby
oleo has joined #ruby
mtakkman has quit [Remote host closed the connection]
pouleta has joined #ruby
Pumukel has quit [Ping timeout: 272 seconds]
cpruitt has joined #ruby
yfeldbl__ has quit [Ping timeout: 258 seconds]
sinkensabe has joined #ruby
romistrub has joined #ruby
adriancb has joined #ruby
<romistrub> what's the best way to define an empty method in a class definition to indicate an interface?
mtakkman has joined #ruby
i_s has joined #ruby
<jhass> romistrub: don't
tier has joined #ruby
<banister> romistrub http://i.imgur.com/AYch4Io.gif
<jhass> document it should be there. That's all
duggiefresh has joined #ruby
nonks has joined #ruby
rshetty_ has joined #ruby
livathin_ has joined #ruby
<romistrub> jhass: thanks
rshetty has quit [Read error: Connection reset by peer]
<hanmac1> romistrub: hm you might not need it, just use respond_to? or just call the method and let it crash in a MethodMissing .... or use: def function(*args) raise NotImplementedError; end
luksaur has joined #ruby
<jhass> don't do the last one
dblessing has joined #ruby
dblessing has quit [Client Quit]
<jhass> just assume it's there and let it crash
TPBallbag has joined #ruby
i_s has quit [Ping timeout: 244 seconds]
livathinos has quit [Ping timeout: 240 seconds]
_maes_ has joined #ruby
duggiefresh has quit [Ping timeout: 244 seconds]
<hanmac1> jhass: i use NotImplementedError for platform specific stuff ...
nonks has quit [Ping timeout: 250 seconds]
<jhass> sounds like NotSupportedError
Squarepy has quit [Remote host closed the connection]
<hanmac1> jhass: hm yeah something like that, but the underlying lib does call it "not implemented" too, so i think its okay ...
jxf has quit [Ping timeout: 244 seconds]
Axy has quit [Read error: Connection reset by peer]
Axy has joined #ruby
rshetty_ has quit [Remote host closed the connection]
jleishman has quit [Quit: Be back later ...]
dumdedum_ has quit [Quit: foo]
benzrf is now known as benzrf|offline
clauswitt has quit [Quit: Textual IRC Client: www.textualapp.com]
sinkensabe has quit [Remote host closed the connection]
clauswitt has joined #ruby
tier has quit [Remote host closed the connection]
tier has joined #ruby
<Timgauthier> hi
charliesome has joined #ruby
tlarevo_ has quit [Remote host closed the connection]
tlarevo has joined #ruby
kaspertidemann has quit []
thezanke has joined #ruby
livathin_ has quit [Remote host closed the connection]
josephndenton has joined #ruby
Psy-Q has quit [Read error: Connection reset by peer]
pouleta has quit [Quit: Ex-Chat]
pouleta has joined #ruby
jerius has joined #ruby
pouleta has quit [Client Quit]
poulet_a_ has joined #ruby
ixti has joined #ruby
tlarevo has quit [Ping timeout: 265 seconds]
josephndenton has quit [Ping timeout: 244 seconds]
eightfold has quit [Quit: eightfold]
jxf has joined #ruby
fandi has quit [Remote host closed the connection]
poulet_a_ has quit [Remote host closed the connection]
sinkensabe has joined #ruby
benzrf|offline is now known as benzrf
sailias has joined #ruby
o0oo0o has quit [Remote host closed the connection]
duggiefresh has joined #ruby
Takle has quit [Remote host closed the connection]
jimbach has joined #ruby
baroquebobcat has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
fsapo has quit [Remote host closed the connection]
cantonic has quit [Quit: cantonic]
joast has quit [Ping timeout: 244 seconds]
livathinos has joined #ruby
patrick99e99 has joined #ruby
elaptics is now known as elaptics`away
mary5030 has joined #ruby
Dude007 has joined #ruby
Takle has joined #ruby
exgf has joined #ruby
iwishiwerearobot has joined #ruby
jleishman has joined #ruby
patrick99e99 has quit [Ping timeout: 250 seconds]
krz has quit [Quit: WeeChat 1.0.1]
vyorkin has joined #ruby
elaptics`away is now known as elaptics
balazs has joined #ruby
DaniG2k has joined #ruby
govg has quit [Ping timeout: 255 seconds]
ndrei has quit [Ping timeout: 245 seconds]
camilasan has quit [Ping timeout: 250 seconds]
rylev has quit [Ping timeout: 244 seconds]
camilasan has joined #ruby
sinkensabe has quit [Remote host closed the connection]
rylev has joined #ruby
devdazed has joined #ruby
timonv_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
allcentury has joined #ruby
tesaf has joined #ruby
hanmac1 has quit [Quit: Leaving.]
xenomorph is now known as {xenomorph}
bal has quit [Quit: bal]
bal has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
fridYay has quit [Remote host closed the connection]
sevenseacat has quit [Remote host closed the connection]
ndrei has joined #ruby
shredding has quit [Quit: shredding]
Wolland has joined #ruby
vinleod has joined #ruby
sinkensabe has joined #ruby
Channel6 has joined #ruby
shredding has joined #ruby
viet_power has quit [Ping timeout: 272 seconds]
oo_ has quit [Remote host closed the connection]
blueOxigen has joined #ruby
TinkerTyper has quit [Quit: ZNC restarting...]
bluOxigen has quit [Ping timeout: 260 seconds]
bluOxigen has joined #ruby
ptrrr has joined #ruby
blueOxigen has quit [Ping timeout: 260 seconds]
otherj has joined #ruby
Pupeno_ has joined #ruby
iwishiwerearobot has quit [Remote host closed the connection]
Wolland has quit [Ping timeout: 264 seconds]
it0a has joined #ruby
TinkerTyper has joined #ruby
Vile` has quit [Quit: reboot]
rkalfane has joined #ruby
ptrrr has quit [Quit: ptrrr]
mary5030 has quit [Remote host closed the connection]
iamjarvo has joined #ruby
Pupeno has quit [Ping timeout: 260 seconds]
sinkensabe has quit [Remote host closed the connection]
last_staff has quit [Quit: last_staff]
Akuma has quit [Ping timeout: 272 seconds]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ctp has joined #ruby
Aranshada|W has joined #ruby
shredding has quit [Quit: shredding]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
blueOxigen has joined #ruby
Kricir has joined #ruby
ptrrr has joined #ruby
Takle has quit [Remote host closed the connection]
sk87 has joined #ruby
mattstratton has joined #ruby
krz has joined #ruby
bluOxigen has quit [Ping timeout: 255 seconds]
joast has joined #ruby
charliesome has quit [Quit: zzz]
Aranshada|W has left #ruby [#ruby]
livathinos has quit []
krz has quit [Client Quit]
krz has joined #ruby
apeiros has quit [Ping timeout: 256 seconds]
TPBallbag has quit [Remote host closed the connection]
Vile` has joined #ruby
timonv_ has joined #ruby
max96at|off is now known as max96at
i_s has joined #ruby
jobewan has joined #ruby
perrier has joined #ruby
sinkensabe has joined #ruby
mkaesz has joined #ruby
oo_ has joined #ruby
josephndenton has joined #ruby
kristofferR has joined #ruby
apeiros has joined #ruby
Takle has joined #ruby
iwishiwerearobot has joined #ruby
dbugger has left #ruby ["Leaving"]
Macaveli has quit [Ping timeout: 265 seconds]
i_s has quit [Ping timeout: 258 seconds]
bluOxigen has joined #ruby
robustus is now known as robustus|Off
Hijiri has quit [Quit: WeeChat 1.0.1]
dANO_ has joined #ruby
kaspergr_ has joined #ruby
Takle has quit [Read error: Connection reset by peer]
Takle has joined #ruby
oo_ has quit [Ping timeout: 255 seconds]
josephndenton has quit [Ping timeout: 255 seconds]
shredding has joined #ruby
kaspergrubbe has quit [Read error: Connection reset by peer]
blueOxigen has quit [Ping timeout: 264 seconds]
Aranshada|W has joined #ruby
blueOxigen has joined #ruby
Aranshada|W has left #ruby [#ruby]
ptrrr has quit [Quit: ptrrr]
freerobby has joined #ruby
TPBallbag has joined #ruby
ptrrr has joined #ruby
djstorm has joined #ruby
oo_ has joined #ruby
mary5030 has joined #ruby
pwestlund has quit [Ping timeout: 250 seconds]
bluOxigen has quit [Ping timeout: 250 seconds]
yfactor has joined #ruby
yfactor has quit [Read error: Connection reset by peer]
dc has quit [Remote host closed the connection]
pwestlund has joined #ruby
timonv_ has quit [Remote host closed the connection]
dc has joined #ruby
oo_ has quit [Ping timeout: 264 seconds]
michaeldeol has joined #ruby
pwestlund has quit [Ping timeout: 245 seconds]
triple_b has joined #ruby
jtdowney has joined #ruby
Channel6 has quit [Quit: Leaving]
triple_b has quit [Client Quit]
dc has quit [Ping timeout: 265 seconds]
robustus|Off is now known as robustus
clauswitt has quit [Remote host closed the connection]
startupality has joined #ruby
<startupality> what is the difference between this case and if http://pastie.org/private/yusce7bnc3uap53cbl40va ?
noop has quit [Ping timeout: 255 seconds]
jimms has joined #ruby
Akuma has joined #ruby
mr_rogerz_ has joined #ruby
Lewix has joined #ruby
Gadgetoid has quit [Ping timeout: 245 seconds]
atomical has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jtdowney has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<workmad3> startupality: case statements don't use ==
yfeldblum has joined #ruby
<workmad3> startupality: they use ===
neredsenvy has joined #ruby
<workmad3> startupality: so it would be 'if Var === current_company || Customer === current_company'
neoxquick has joined #ruby
kamil has joined #ruby
echevemaster has joined #ruby
ClarusCogitatio has quit [Ping timeout: 244 seconds]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
hhutch has joined #ruby
dTSCode is now known as DTSCode
Timgauthier is now known as timgauthier_away
<startupality> workmad3 actually just realized that also, can you pls link the docs related to === operator?
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ClarusCogitatio has joined #ruby
yfeldblum has quit [Ping timeout: 256 seconds]
<apeiros> startupality: also see `ri` in your shell, or ruby-doc.org
Gadgetoid has joined #ruby
Kricir has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
otherj has quit [Quit: .]
Kricir has joined #ruby
silentpost has joined #ruby
Takle has quit [Remote host closed the connection]
snovity has quit [Ping timeout: 244 seconds]
silentpost has quit [Client Quit]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
silentpost has joined #ruby
neredsenvy has quit [Quit: Page closed]
aspiers has quit [Quit: heading back to London]
TomyWork has quit [Ping timeout: 250 seconds]
triple_b has joined #ruby
shredding has quit [Read error: Connection reset by peer]
silentpost has quit [Client Quit]
nonks has joined #ruby
lxsameer has quit [Quit: Leaving]
triple_b has quit [Client Quit]
Takle has joined #ruby
shredding has joined #ruby
JBreit has joined #ruby
ndrei has quit [Ping timeout: 260 seconds]
Kricir has quit [Ping timeout: 264 seconds]
Ankhers has joined #ruby
devdazed has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
shredding has quit [Read error: Connection reset by peer]
JBreit has left #ruby [#ruby]
zz_jrhorn424 is now known as jrhorn424
devdazed has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sinkensabe has quit [Remote host closed the connection]
ctp has quit [Quit: I've got an 8 hour ticket to dream land. ZZZzzz…]
Wolland has joined #ruby
nonks has quit [Ping timeout: 250 seconds]
shredding has joined #ruby
amundj has quit [Ping timeout: 244 seconds]
vectra has quit [Ping timeout: 244 seconds]
livingstn has joined #ruby
sinkensabe has joined #ruby
txdv has quit [Ping timeout: 272 seconds]
devdazed has quit [Read error: Connection reset by peer]
vectra has joined #ruby
devdazed has joined #ruby
<mr_rogerz_> Hey, I'm super new to Ruby. Here's a gist: https://gist.github.com/anonymous/50205fd7e96257d28b1f Simple problem, I just want to create new arrays with all new random numbers 0-9. Each array is just one longer than the previous array. I know the problem lies within the << Any help would be appreciated.
oo_ has quit [Ping timeout: 258 seconds]
sinkensabe has quit [Remote host closed the connection]
snovity has joined #ruby
Hightower666 has joined #ruby
Wolland has quit [Ping timeout: 244 seconds]
jshultz has joined #ruby
<apeiros> mr_rogerz_: Array.new(100) { rand(10) }
silverdust has joined #ruby
ptrrr has quit [Quit: ptrrr]
baroquebobcat has joined #ruby
treehug88 has joined #ruby
Trynemjoel has quit [Ping timeout: 265 seconds]
<apeiros> `new_numbers` is probably misnamed, as it's a single number ;-)
havenwood has joined #ruby
bal has quit [Quit: bal]
<nateberkopec> Array.new(100) { rand(10) } is so much more rubylike too :D
Lewix has quit [Remote host closed the connection]
<mr_rogerz_> What I am trying to achieve it like a sort of pyramid of random numbers. So I would create an array of 1 random number, then an array of 2 random numbers, 3 random.. etc until 100
jrhorn424 is now known as zz_jrhorn424
<mr_rogerz_> but instead of pushing into the array, it would be new arrays
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DTSCode is now known as dTSCode
<j416> mr_rogerz_: what is suggested above is a good start
<j416> mr_rogerz_: length = 1; arrays = []; 10.times { arrays << Array.new(length) { rand(100) }; length += 1 }
rkalfane has joined #ruby
<j416> there may be a more elegant way.
<jhass> j416: times yields the current iteration (0 based)
<j416> but it depends on your problem at hand
renderful has joined #ruby
<jhass> >> 10.times.to_a
<eval-in__> jhass => [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] (https://eval.in/218738)
ctp has joined #ruby
<j416> jhass: nice, didn't know
Trynemjoel has joined #ruby
<j416> arrays = []; 10.times { |length| arrays << Array.new(length) { rand(100) } }
<j416> then
rshetty has joined #ruby
dc has joined #ruby
txdv has joined #ruby
tvw has quit []
timonv_ has joined #ruby
cpruitt has quit [Read error: Connection reset by peer]
<j416> mr_rogerz_: I'm sure you could make it even shorter, but readability may suffer and I'm not sure what problem you are trying to solve
<jhass> array = []; something { array << else } is in > 90% of the cases array = something.map { else }
cpruitt has joined #ruby
ndrei has joined #ruby
<j416> even truer :)
<mr_rogerz_> I can show you the specific problem (Job interview question) that I am using to teach myself Ruby... I figured this was a decent way to start the problem.
<apeiros> (1..N).map { |len| Array.new(len) { rand(100) } }
vyorkin has quit [Ping timeout: 264 seconds]
<j416> 10.times.map { |length| Array.new(length) { rand(100) } }
Kricir has joined #ruby
<apeiros> problem with 10.times is that it starts at zero
<j416> yeah
<apeiros> otherwise I'd have suggested Array.new(10)
<j416> empty array first is ugly
zz_jrhorn424 is now known as jrhorn424
<j416> then again, don't know if that was what was wanted :)
<apeiros> IMO semantically better than 10.times.map
triple_b has joined #ruby
<j416> apeiros: hm?
<apeiros> well, a pyramid usually starts with 1, not 0 items on top :-p
renderf__ has quit [Ping timeout: 265 seconds]
<apeiros> j416: 10.times.map -->Array.new(10)
<j416> apeiros: never know :D
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<j416> apeiros: ah
<j416> have fun with the triangle :) mr_rogerz_
<mr_rogerz_> thanks for the help.. I will keep at it
<j416> not sure what I gave you will be of any use in that particular problem, though
Trynemjoel has quit [Ping timeout: 265 seconds]
alex88 has quit []
<mr_rogerz_> Any different perspective is a help with this stuff.
<apeiros> mr_rogerz_: String#center might be of interest too
<apeiros> and Kernel#sprintf (aka String#%)
<mr_rogerz_> I was looking at that earlier
<mr_rogerz_> seemed like I could use that
<mr_rogerz_> I'll re-read those docs
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
andrew56 has joined #ruby
kobain has joined #ruby
speaking1ode is now known as speakingcode
Lewix has joined #ruby
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
robustus is now known as robustus|Off
jrhorn424 is now known as zz_jrhorn424
supersym has joined #ruby
jottr_ has quit [Ping timeout: 240 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fabrice31 has quit [Remote host closed the connection]
shortCircuit__ has joined #ruby
oo_ has joined #ruby
vinnicc has joined #ruby
abuzze has quit [Remote host closed the connection]
vyorkin has joined #ruby
abuzze has joined #ruby
zz_jrhorn424 is now known as jrhorn424
TPBallbag is now known as JessyS_
JessyS_ is now known as TPBallbag
michaeldeol has joined #ruby
TPBallbag is now known as JessyS_
JessyS_ is now known as TPBallbag
livathinos has joined #ruby
livathinos has quit [Client Quit]
oo_ has quit [Ping timeout: 255 seconds]
sk87 has joined #ruby
rkalfane has joined #ruby
abuzze has quit [Ping timeout: 258 seconds]
TPBallbag has quit [Remote host closed the connection]
aaronrl_ has joined #ruby
triple_b has joined #ruby
vyorkin has quit [Ping timeout: 255 seconds]
Trynemjoel has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
jgrevich has joined #ruby
bMalum has joined #ruby
triple_b has quit [Client Quit]
gsd has joined #ruby
aaronrl has quit [Ping timeout: 264 seconds]
andrew56_ has joined #ruby
apeiros has quit [Remote host closed the connection]
mkrank has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
yfeldblum has joined #ruby
red_horned_rihno has joined #ruby
benzrf is now known as benzrf|offline
TPBallbag has joined #ruby
benzrf|offline is now known as benzrf
andrew56 has quit [Ping timeout: 245 seconds]
benzrf is now known as benzrf|offline
Xeago_ has quit [Remote host closed the connection]
geggam has joined #ruby
apeiros has quit [Ping timeout: 245 seconds]
Hightower666 has quit [Ping timeout: 245 seconds]
shortCircuit__ is now known as fridYay
yfeldblum has quit [Ping timeout: 240 seconds]
fenak has joined #ruby
jrhorn424 is now known as zz_jrhorn424
anu has joined #ruby
larissa has quit [Quit: Leaving]
iwishiwerearobot has quit [Remote host closed the connection]
anu is now known as Guest15232
krz has quit [Quit: WeeChat 1.0.1]
triple_b has joined #ruby
zz_jrhorn424 is now known as jrhorn424
kedare has quit [Quit: WeeChat 1.0.1]
Lewix has quit [Remote host closed the connection]
oo_ has joined #ruby
nickjj has quit [Quit: WeeChat 1.0.1]
tier has quit [Remote host closed the connection]
Lewix has joined #ruby
TheNet has joined #ruby
jottr_ has joined #ruby
ctp has quit [Quit: I've got an 8 hour ticket to dream land. ZZZzzz…]
chrishough has joined #ruby
balazs has quit [Ping timeout: 258 seconds]
Takle has quit [Remote host closed the connection]
elaptics is now known as elaptics`away
vyorkin has joined #ruby
Takle has joined #ruby
tvw has joined #ruby
oo_ has quit [Ping timeout: 245 seconds]
elaptics`away is now known as elaptics
CustosLimen has quit [Ping timeout: 258 seconds]
billy_ran_away has joined #ruby
Takle has quit [Remote host closed the connection]
jrhorn424 is now known as zz_jrhorn424
Takle has joined #ruby
tier has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
DaniG2k has quit [Ping timeout: 258 seconds]
spyderman4g63 has joined #ruby
jottr_ has quit [Ping timeout: 240 seconds]
elaptics is now known as elaptics`away
elaptics`away is now known as elaptics
Alina-malina has quit [Ping timeout: 244 seconds]
poweratom_ has joined #ruby
Pupeno has joined #ruby
tlarevo has joined #ruby
vyorkin has quit [Ping timeout: 245 seconds]
Alina-malina has joined #ruby
pandaant has quit [Quit: Lost terminal]
aspires has joined #ruby
Wolland has joined #ruby
dkb20k has quit [Remote host closed the connection]
Pupeno_ has quit [Ping timeout: 265 seconds]
billy_ran_away has left #ruby [#ruby]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vinnicc has left #ruby [#ruby]
pandaant has joined #ruby
zz_jrhorn424 is now known as jrhorn424
cndiv has joined #ruby
chipotle has joined #ruby
Hijiri has joined #ruby
fabrice31 has joined #ruby
mib_mib has quit [Ping timeout: 250 seconds]
Wolland_ has joined #ruby
Wolland has quit [Read error: Connection reset by peer]
mityaz has quit [Quit: Leaving]
balazs has joined #ruby
fabrice31 has quit [Remote host closed the connection]
nickjj has joined #ruby
mattstratton has joined #ruby
<romistrub> can ruby do something like [k, v] = [1, 2] ?
<Hanmac> >> [k, v] = [1, 2]; p k,v
<eval-in__> Hanmac => /tmp/execpad-129f71bcf3a3/source-129f71bcf3a3:2: syntax error, unexpected '=', expecting keyword_end ... (https://eval.in/218744)
<Hanmac> romistrub: yes without []
<Hanmac> >> k, v = [1, 2]; p k,v
<Hanmac> >> k, v = [1, 2]; p k,v
<eval-in__> Hanmac => 1 ... (https://eval.in/218745)
<romistrub> ah, thx!
jzinedine has joined #ruby
supersym has quit [Quit: WeeChat 1.0.1]
mikecmpbll has quit [Quit: i've nodded off.]
Wolland_ has quit [Ping timeout: 250 seconds]
Alina-malina has quit [Ping timeout: 265 seconds]
mtakkman has quit [Remote host closed the connection]
Alina-malina has joined #ruby
i_s has joined #ruby
dorei has joined #ruby
ptrrr has joined #ruby
jtdowney has joined #ruby
aboudreault has joined #ruby
oo_ has joined #ruby
josephndenton has joined #ruby
kaspergr_ has quit [Remote host closed the connection]
jtdowney has quit [Client Quit]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mkaesz has quit [Quit: Leaving...]
jrhorn424 is now known as zz_jrhorn424
Xeago has joined #ruby
ramfjord has joined #ruby
triple_b has joined #ruby
luk3thomas has joined #ruby
i_s has quit [Ping timeout: 255 seconds]
Brothmars has joined #ruby
xcesariox has joined #ruby
Xeago has quit [Remote host closed the connection]
reinaldob has quit [Read error: Connection reset by peer]
oo_ has quit [Ping timeout: 260 seconds]
benzrf|offline is now known as benzrf
reinaldob has joined #ruby
timonv_ has quit [Remote host closed the connection]
joonty has quit [Quit: Leaving]
josephndenton has quit [Ping timeout: 256 seconds]
anaeem1 has joined #ruby
_maes_ has joined #ruby
xcesariox has quit [Client Quit]
maestrojed has joined #ruby
olivier_bK has quit [Ping timeout: 255 seconds]
lmickh has joined #ruby
apeiros has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
luk3thomas has left #ruby [#ruby]
luk3thomas has joined #ruby
neoxquick has quit [Ping timeout: 255 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andrew56_ has quit [Remote host closed the connection]
thezanke has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ghostmoth has joined #ruby
bMalum has quit [Quit: bMalum]
jxf has quit [Ping timeout: 244 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
anaeem1 has quit [Remote host closed the connection]
majjoha has joined #ruby
allcentury has quit [Ping timeout: 250 seconds]
Morkel has quit [Quit: Morkel]
bricker`work has joined #ruby
mib_mib has joined #ruby
jenrzzz has joined #ruby
TheNet has quit [Quit: Leaving...]
shredding has quit [Quit: shredding]
siwica has quit [Ping timeout: 245 seconds]
<claw_> is there a nice ruby way for replacing a file extension ? e.g file = '/home/user/music/song.flac' ... now i want to check if '/home/user/music/song.mp3' exist
jottr_ has joined #ruby
dANO_ has quit []
<claw_> basename is bad because it also drops the full path
TPBallbag has quit [Remote host closed the connection]
jfran has joined #ruby
davidhq has joined #ruby
i_s has joined #ruby
<claw_> nevermind
maletor has joined #ruby
<claw_> i can use absolute_path after using basename
wjimenez5271 has joined #ruby
jottr_ has quit [Ping timeout: 250 seconds]
jherbst has joined #ruby
Xeago has joined #ruby
x1337807x has joined #ruby
red_horned_rihno has quit [Ping timeout: 255 seconds]
red_horned_rihno has joined #ruby
cndiv has quit [Ping timeout: 265 seconds]
yfeldblum has joined #ruby
<shevy> claw_ you could use gsub
Xeago_ has joined #ruby
<shevy> >> x = "/home/user/music/song.flac"; x.gsub(/.flac/,'.mp3')
<eval-in__> shevy => "/home/user/music/song.mp3" (https://eval.in/218748)
wldcordeiro_ has joined #ruby
mattstratton has quit [Quit: Textual IRC Client: www.textualapp.com]
bMalum has joined #ruby
<jhass> you should anchor that
<Morrolan> And escape the dot.
timonv_ has joined #ruby
SCHAAP137 has joined #ruby
x1337807x has quit [Ping timeout: 258 seconds]
Xeago_ has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Ping timeout: 255 seconds]
djbkd has joined #ruby
panini_ has joined #ruby
x1337807x has joined #ruby
elaptics is now known as elaptics`away
BadQuanta has joined #ruby
rylev_ has joined #ruby
sarlalian has joined #ruby
triple_b has quit [Quit: Textual IRC Client: www.textualapp.com]
abuzze has joined #ruby
Pupeno_ has joined #ruby
freerobby has quit [Quit: Leaving.]
smcquaid has joined #ruby
chipotle has quit [Quit: cya]
<fridYay> hiii
terlar has quit [Ping timeout: 245 seconds]
dualz has joined #ruby
mleung has joined #ruby
Guest15232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pupeno has quit [Ping timeout: 272 seconds]
rylev has quit [Ping timeout: 245 seconds]
nonks has joined #ruby
phutchin1 has joined #ruby
rylev_ has quit [Ping timeout: 244 seconds]
abuzze has quit [Ping timeout: 265 seconds]
<shevy> you guys invest way too much energy
phutchins has quit [Ping timeout: 258 seconds]
<bricker`work> With rspec, is there a way to show the failure information right away without using fail-fast, i.e. the suite should still run but I want to start fixing the error right away
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
troyready has joined #ruby
elaptics`away is now known as elaptics
nonks has quit [Ping timeout: 250 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
<fridYay> I disliked that default firefox in unbuntu (which was more like a firecow). I downloaded the firefox 33 from the website and have it in my downloads folder. If I want to execute it like firefox & from the terminal, do I symlink the firefox folder or the application?
cndiv has joined #ruby
mumblerit has quit [Ping timeout: 240 seconds]
hakunin has joined #ruby
mumblerit has joined #ruby
mumblerit is now known as Guest18680
nobitanobi has joined #ruby
Eiam has joined #ruby
TPBallbag has joined #ruby
jY has joined #ruby
<jY> value[:addresses].keys.detect{ |k| k.to_s =~ /^10\./ } is there anyway to say not start with 10.
<bricker`work> I see there are options like instafail
<havenwood> jY: !~
rshetty has quit [Remote host closed the connection]
roolo has quit [Quit: AAAAaaaaAAAAAAA]
<jY> ty
Hijiri has quit [Ping timeout: 272 seconds]
dumdedum has quit [Quit: foo]
boombadaroomba has joined #ruby
oo_ has joined #ruby
bMalum has quit [Quit: bMalum]
timonv_ has quit [Read error: Connection reset by peer]
elaptics is now known as elaptics`away
maestrojed has quit [Quit: Computer has gone to sleep.]
noop has joined #ruby
crantron has quit []
baroquebobcat has joined #ruby
x1337807x has joined #ruby
timonv_ has joined #ruby
crantron has joined #ruby
red_horned_rihno has quit [Quit: Leaving]
Wolland_ has joined #ruby
red_horned_rihno has joined #ruby
boombadaroomba has quit [Ping timeout: 265 seconds]
spyderman4g63 has quit [Read error: No route to host]
renderful has quit [Read error: Connection reset by peer]
spyderman4g63 has joined #ruby
renderful has joined #ruby
lolmaus has quit [Read error: Connection reset by peer]
lolmaus_ has joined #ruby
romistrub has quit [Ping timeout: 246 seconds]
mtakkman has joined #ruby
sinequanon has joined #ruby
dkb20k has joined #ruby
elaptics`away is now known as elaptics
renderfu_ has joined #ruby
francisfish has quit [Remote host closed the connection]
baroquebobcat has quit [Client Quit]
arup_r has joined #ruby
skolman_ has joined #ruby
dTSCode is now known as DTSCOde
oo_ has quit [Ping timeout: 255 seconds]
skolman_ has quit [Remote host closed the connection]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
francisfish has joined #ruby
Takle_ has joined #ruby
skolman_ has joined #ruby
ptrrr has quit [Quit: ptrrr]
renderf__ has joined #ruby
renderful has quit [Read error: Connection reset by peer]
nobitanobi has quit [Remote host closed the connection]
sinequanon has quit [Ping timeout: 265 seconds]
DTSCOde has quit [Read error: Connection reset by peer]
oleo has quit [Ping timeout: 250 seconds]
prodbeas has joined #ruby
cndiv has quit [Ping timeout: 244 seconds]
renderful has joined #ruby
DTSCOde has joined #ruby
Pupeno has joined #ruby
Pupeno has joined #ruby
Takle has quit [Ping timeout: 258 seconds]
TPBallbag has quit [Remote host closed the connection]
Bounga has quit [Quit: Bounga]
renderfu_ has quit [Ping timeout: 255 seconds]
Takle_ has quit [Ping timeout: 244 seconds]
francisfish has quit [Ping timeout: 264 seconds]
D9 has quit [Quit: Leaving]
Pupeno_ has quit [Ping timeout: 258 seconds]
twistedpixels is now known as zz_twistedpixels
dkb20k has quit [Ping timeout: 260 seconds]
anaeem1_ has joined #ruby
renderf__ has quit [Ping timeout: 255 seconds]
Mon_Ouie has quit [Quit: WeeChat 1.0.1]
luk3thomas has quit [Quit: luk3thomas]
nobitanobi has joined #ruby
maletor has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 258 seconds]
hhutch has quit [Ping timeout: 255 seconds]
nobitanobi has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
oleo has joined #ruby
psyprus has quit [Ping timeout: 258 seconds]
prodbeas has quit [Quit: WeeChat 1.0.1]
mib_mib has quit [Ping timeout: 265 seconds]
AndyBotwin has joined #ruby
thagomizer has joined #ruby
anaeem1_ has quit [Read error: Connection reset by peer]
parduse is now known as Guest69332
Guest69332 has quit [Killed (morgan.freenode.net (Nickname regained by services))]
auxbuss has joined #ruby
BadQuanta has quit [Quit: Leaving.]
parduse has joined #ruby
arup_r has quit [Quit: Leaving.]
arup_r has joined #ruby
nobitanobi has joined #ruby
wallerdev has joined #ruby
ohwhoa has joined #ruby
beneggett has joined #ruby
BadQuanta has joined #ruby
mib_mib has joined #ruby
maletor has joined #ruby
fridYay has quit [Remote host closed the connection]
<ohwhoa> Hi, I use mysql2 gem and I have a question, I need to open connection once Mysql2::Client.new(....) or per each page request ? Thanks
workmad3 has quit [Ping timeout: 245 seconds]
jottr_ has joined #ruby
iamjarvo has joined #ruby
boombadaroomba has joined #ruby
jerius has quit []
<gizmore> ohwhoa: rails?
anaeem1_ has joined #ruby
<ohwhoa> sinatra
mr_rogerz_ has quit [Ping timeout: 265 seconds]
dcopeland has quit [Quit: Connection closed for inactivity]
jxf has joined #ruby
jimms has quit []
timonv_ has quit [Read error: Connection reset by peer]
<gizmore> ohwhoa: ... guessing... i think rails does it with connection pools... i would try with a single connection for now, until you run into problems
<gizmore> i think there should be no threading problems, but i might be wrong
ramfjord has quit [Ping timeout: 260 seconds]
chrishough has joined #ruby
panini has quit [Ping timeout: 250 seconds]
atomical has joined #ruby
panini_ has quit [Ping timeout: 260 seconds]
<ohwhoa> I'm ask because I have problems on production - MySQL server has gone away :(( and localy no problems.
anaeem1_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
Pupeno_ has joined #ruby
jerius has joined #ruby
<Morrolan> Check the server's log. (And crank up the loglevel, if need be)
freerobby has joined #ruby
atomical has quit [Ping timeout: 258 seconds]
Pupeno has quit [Ping timeout: 256 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
red_horned_rihno has quit [Quit: Leaving]
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
maestrojed has joined #ruby
vyorkin has joined #ruby
terlar has joined #ruby
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
iwishiwerearobot has joined #ruby
ctp has joined #ruby
Timgauthier has joined #ruby
Timgauthier is now known as timgauthier_away
jzinedine has quit [Ping timeout: 264 seconds]
patrick99e99 has joined #ruby
atomical has joined #ruby
ramfjord has joined #ruby
oo_ has joined #ruby
sinequanon has joined #ruby
sepp2k has joined #ruby
anaeem1_ has joined #ruby
iwishiwerearobot has quit [Ping timeout: 260 seconds]
<wallerdev> morning ruby
AlSquire has quit [Quit: This computer has gone to sleep]
wald0 has joined #ruby
razrunelord has joined #ruby
sk87 has joined #ruby
patrick99e99 has quit [Ping timeout: 244 seconds]
oo_ has quit [Ping timeout: 258 seconds]
sk87 has quit [Client Quit]
nonks has joined #ruby
<shevy> morning walter
thezanke has joined #ruby
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yeticry has quit [Remote host closed the connection]
<shevy> walter, grab your gun
<shevy> we have business to do
graydot has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
<shevy> <shevy> wallerdev say something funny
<shevy> <wallerdev> your face
DTSCOde has quit [Read error: Connection reset by peer]
nonks has quit [Ping timeout: 250 seconds]
nobitanobi has quit [Remote host closed the connection]
kirun has joined #ruby
luk3thomas has joined #ruby
omosoj has joined #ruby
AndyBotwin has quit [Remote host closed the connection]
androidbruce has quit [Ping timeout: 244 seconds]
vanea-mini has joined #ruby
<wallerdev> :p
melik has joined #ruby
robustus|Off is now known as robustus
jzinedine has joined #ruby
allcentury has joined #ruby
androidbruce has joined #ruby
androidbruce has quit [Changing host]
androidbruce has joined #ruby
SloggerKhan has quit [Quit: Leaving.]
FernandoKosh has joined #ruby
tvw has quit []
ohwhoa has quit [Quit: woah!]
tvw has joined #ruby
jheg has quit [Quit: Leaving]
bigkevmcd has quit [Quit: Outta here...]
<shevy> wallerdev whatcha coding lately
bayed has quit [Quit: Connection closed for inactivity]
bbloom has quit [Ping timeout: 265 seconds]
altamic has joined #ruby
nrsk has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
josephndenton has joined #ruby
oo_ has joined #ruby
cantonic has joined #ruby
<wallerdev> work stuff haha
<wallerdev> although a new piece of software i use
<shevy> damn
<shevy> work is boring
<shevy> QUIT IT man
razrunelord has quit []
marr has quit [Ping timeout: 250 seconds]
sepp2k has quit [Quit: Leaving.]
psyprus has joined #ruby
yeticry has joined #ruby
yetanotherdave has joined #ruby
Brothmars has quit [Quit: Be back later ...]
josephndenton has quit [Ping timeout: 260 seconds]
oo_ has quit [Ping timeout: 258 seconds]
dkb20k has joined #ruby
sinkensabe has joined #ruby
djbkd has quit [Remote host closed the connection]
helpa has quit [Ping timeout: 244 seconds]
Brothmars has joined #ruby
noop has quit [Ping timeout: 258 seconds]
quimrstorres has quit [Remote host closed the connection]
amundj has joined #ruby
Trynemjoel has quit [Ping timeout: 265 seconds]
mikecmpbll has joined #ruby
ramfjord has joined #ruby
jgrevich has quit [Quit: jgrevich]
sinkensabe has quit [Ping timeout: 250 seconds]
chthon has quit [Ping timeout: 244 seconds]
Brothmars has quit [Quit: Be back later ...]
jamto11 has joined #ruby
dkb20k has quit [Ping timeout: 244 seconds]
b1nd has quit [Ping timeout: 265 seconds]
pglombardo has joined #ruby
mtakkman has quit [Read error: Connection reset by peer]
jimbach has quit [Remote host closed the connection]
AndyBotwin has joined #ruby
<wallerdev> lol i like my job
<wallerdev> also i forgot to finish my sentence
Trynemjoel has joined #ruby
<wallerdev> im working on figuring out why android stock browser is bad :p
skolman_ has quit [Remote host closed the connection]
b1nd has joined #ruby
maletor has quit [Read error: Connection reset by peer]
skolman_ has joined #ruby
vanea-mini has left #ruby [#ruby]
aantix has joined #ruby
rdark has quit [Quit: leaving]
auxbuss has quit [Quit: I'm gone.]
Takle has joined #ruby
mleung has quit [Quit: mleung]
skolman_ has quit [Ping timeout: 245 seconds]
<certainty> yow
nobitanobi has joined #ruby
sanguisdex has quit [Ping timeout: 245 seconds]
mleung has joined #ruby
jcdesimp has joined #ruby
ctp has quit [Quit: I've got an 8 hour ticket to dream land. ZZZzzz…]
AndyBotwin has quit [Quit: Leaving]
amundj has quit [Ping timeout: 244 seconds]
<_br_> Curious question. Why does it seem that string manipulation of jruby is twice slower that on MRI ?
_d is now known as yubi
yubi is now known as _d
spastorino has quit [Quit: Connection closed for inactivity]
Rahul_Roy_ has joined #ruby
iamjarvo has joined #ruby
pglombardo1 has joined #ruby
iamjarvo has quit [Client Quit]
amundj has joined #ruby
jottr_ has quit [Ping timeout: 245 seconds]
pglombardo has quit [Ping timeout: 264 seconds]
mleung has quit [Quit: mleung]
robbyoconnor has quit [Ping timeout: 245 seconds]
b1nd has quit [Ping timeout: 264 seconds]
Linell has joined #ruby
Wolland has joined #ruby
<wallerdev> java doesnt have mutable strings maybe
<wallerdev> not sure if the jvm provides them
<wallerdev> just a random guess lol
jottr_ has joined #ruby
nateberkopec has quit [Quit: Leaving...]
postmodern has joined #ruby
jimms has joined #ruby
jherbst has quit [Quit: Textual IRC Client: www.textualapp.com]
startupality has quit [Quit: startupality]
Wolland_ has quit [Ping timeout: 255 seconds]
poulet_a_ has joined #ruby
aspires has quit []
<pipework> I thought Java had stdlib mutable strings....
<pipework> Might just be libraries though
davidhq has quit [Quit: Textual IRC Client: www.textualapp.com]
poulet_a_ has quit [Client Quit]
jottr has joined #ruby
moritzs has joined #ruby
davidhq has joined #ruby
aspires has joined #ruby
tlarevo has quit [Remote host closed the connection]
jottr_ has quit [Ping timeout: 264 seconds]
tlarevo has joined #ruby
<headius> _br_: twice as slow? got an example?
<headius> for most core classes (those implemented in C in MRI) JRuby is usually faster
wjimenez_ has joined #ruby
<headius> there are specific cases where we have to emulate behavior
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tyll has quit [Ping timeout: 272 seconds]
jottr has quit [Ping timeout: 244 seconds]
x1337807x has joined #ruby
altamic has quit [Quit: altamic]
tyll has joined #ruby
crazydiamond has joined #ruby
jxf has quit [Ping timeout: 255 seconds]
wjimenez5271 has quit [Ping timeout: 255 seconds]
<_br_> headius: well, you can argue how relevant this is .. . http://benchmarksgame.alioth.debian.org/u32/benchmark.php?test=all&lang=yarv&lang2=jruby
allcentury has quit [Ping timeout: 250 seconds]
tlarevo has quit [Ping timeout: 245 seconds]
g0bl1n has joined #ruby
<_br_> headius: example not really, we had a system here running on Ruby 2.1.4+Celluloid and coordination via Drake (JVM), and we had some speed issues, so we tried moving it to JRuby and Drip etc. resulting in being three times slower
ndrei has quit [Ping timeout: 256 seconds]
<_br_> wallerdev: interesting... could be
jottr has joined #ruby
<_br_> Now I'm pondering if in order to speed this up, we should use C or C++ to handle string manipulations with ruby as glue
x1337807x has quit [Client Quit]
baroquebobcat has joined #ruby
icole has joined #ruby
maletor has joined #ruby
benzrf is now known as benzrf|offline
aspires has quit []
Spami has quit [Quit: This computer has gone to sleep]
mleung has joined #ruby
wald0 has quit [Quit: Lost terminal]
ph8 has quit [Ping timeout: 260 seconds]
Pupeno_ has quit [Remote host closed the connection]
spider-mario has joined #ruby
IrishGringo has quit [Ping timeout: 265 seconds]
Juanchito has quit [Quit: Connection closed for inactivity]
lolmaus_ has quit [Remote host closed the connection]
lolmaus_ has joined #ruby
ta has quit [Read error: Connection reset by peer]
aspires has joined #ruby
ta has joined #ruby
icarus has joined #ruby
aspires has quit [Client Quit]
Ulrike_Rayne has quit [Ping timeout: 244 seconds]
mr_foobar_baz has joined #ruby
jzinedine has quit [Ping timeout: 245 seconds]
thezanke has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ctp has joined #ruby
ta has quit [Ping timeout: 240 seconds]
ph8 has joined #ruby
ta__ has joined #ruby
aspires has joined #ruby
mr_foobar_baz has quit [Client Quit]
atomical has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
nonks has joined #ruby
x1337807x has joined #ruby
josephndenton has joined #ruby
mleung has quit [Quit: mleung]
asmodlol has quit [Read error: Connection reset by peer]
Darryl_ has quit [Quit: Connection closed for inactivity]
asmodlol has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
cpruitt has quit [Quit: cpruitt]
IrishGringo has joined #ruby
jxf has joined #ruby
workmad3 has joined #ruby
nonks has quit [Ping timeout: 250 seconds]
mikeg has joined #ruby
josephndenton has quit [Ping timeout: 255 seconds]
i_s has quit []
Jake232 has joined #ruby
phillip has joined #ruby
coderhs has joined #ruby
phillip has left #ruby ["bye"]
jdj_dk has joined #ruby
lolmaus_ has quit [Quit: Konversation terminated!]
rodfersou has quit [Quit: leaving]
weemsledeux has joined #ruby
benzrf|offline is now known as benzrf
cpruitt has joined #ruby
rkalfane has quit [Quit: Textual IRC Client: www.textualapp.com]
dualz has quit [Quit: Leaving]
pasties has quit [Ping timeout: 250 seconds]
phutchin1 has quit [Ping timeout: 260 seconds]
mikeg has quit [Ping timeout: 256 seconds]
mleung has joined #ruby
pasties has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
mleung has quit [Client Quit]
jimbach has joined #ruby
g0bl1n has quit [Quit: g0bl1n]
SCHAAP137 has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
skolman_ has joined #ruby
benzrf is now known as benzrf|offline
jherbst has joined #ruby
moritzs has quit [Ping timeout: 255 seconds]
ptrrr has joined #ruby
nobitanobi has quit [Remote host closed the connection]
thagomizer has quit [Quit: Leaving.]
thagomizer has joined #ruby
marr has joined #ruby
viet_power has joined #ruby
chipotle has joined #ruby
wallerdev has quit [Quit: wallerdev]
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
allcentury has joined #ruby
sambao21 has joined #ruby
s00pcan has quit [Read error: No route to host]
chipotle has quit [Quit: cya]
ndrei has joined #ruby
s00pcan has joined #ruby
BTRE has quit [Quit: Leaving]
kamil has quit [Quit: Linkinus - http://linkinus.com]
nobitanobi has joined #ruby
decoponio has quit [Quit: Leaving...]
jxf has quit [Quit: Leaving]
ldnunes has quit [Quit: Leaving]
jimms has quit [Remote host closed the connection]
SCHAAP137 has quit [Remote host closed the connection]
Hijiri has joined #ruby
luk3thomas has quit [Quit: luk3thomas]
patrick99e99 has joined #ruby
mattmcclure has joined #ruby
Ulrike_Rayne has joined #ruby
govg has joined #ruby
robustus is now known as robustus|Off
arup_r has quit [Quit: Leaving.]
arup_r has joined #ruby
ctp has quit [Quit: I've got an 8 hour ticket to dream land. ZZZzzz…]
Mon_Ouie has quit [Quit: WeeChat 1.0.1]
patrick99e99 has quit [Ping timeout: 244 seconds]
Wolland_ has joined #ruby
nonks has joined #ruby
anu has joined #ruby
anu is now known as Guest39496
Hijiri has quit [Ping timeout: 244 seconds]
godd2 has joined #ruby
Hijiri has joined #ruby
ghostmoth has joined #ruby
skolman_ has quit [Remote host closed the connection]
Wolland has quit [Ping timeout: 244 seconds]
b1nd has joined #ruby
Hijiri has quit [Client Quit]
Hijiri has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
ringarin has quit [Quit: Leaving]
b1nd has quit [Ping timeout: 244 seconds]
skolman has joined #ruby
viet_power has quit [Ping timeout: 264 seconds]
francisfish has joined #ruby
fabrice31 has joined #ruby
Hijiri has quit [Ping timeout: 265 seconds]
romistrub has joined #ruby
<romistrub> any way to interrupt all method calls to a class? I tried overriding "send"
Furby has joined #ruby
moritzs has joined #ruby
kaspergrubbe has joined #ruby
<romistrub> uhh... Furby... I think your link is broken
Freemason has joined #ruby
dkb20k has joined #ruby
<Furby> why ?
pglombardo has joined #ruby
<romistrub> I'm creating a Listenable mixin that will hopefully check for specific method calls to any class that includes it... for example, I want to do something with Listenable any time an "add_*" method is called
<jhass> apeiros: banister ^
fabrice31 has quit [Remote host closed the connection]
pglombardo1 has quit [Ping timeout: 255 seconds]
maletor has joined #ruby
gsd has quit [Ping timeout: 250 seconds]
reinaldob has quit [Remote host closed the connection]
<jhass> romistrub: kinda hard to do for arbitrary methods, you could probably define an included_hook and iterate through instance_methods(false)
gsd has joined #ruby
<romistrub> I suppose I could do on_include (whatever that metaprogramming function is), override every method with a dynamically created method that sniffs through the method names and sends all e.g. add_ methods to the Listenable.add method
michael_mbp has quit [Excess Flood]
Brothmars has joined #ruby
elaptics is now known as elaptics`away
djbkd has joined #ruby
<romistrub> jhass: that's what I'm thinking
<jhass> another approach could be doing a decorator, have a look at the classes provided in the delegate stdlib
djbkd has quit [Remote host closed the connection]
luksaur has quit [Quit: Leaving]
SCHAAP137 has joined #ruby
djbkd has joined #ruby
<romistrub> jhass: did you mean delegator? or actually decorator? never heard of that...
omosoj has quit [Ping timeout: 260 seconds]
Furby has quit [Killed (idoru (Spam is off topic on freenode.))]
Freemason has quit [K-Lined]
dkb20k has quit [Ping timeout: 255 seconds]
Hobogrammer_ has quit [Ping timeout: 245 seconds]
<jhass> a delegator is usually used to decorate ;)
<romistrub> ah, ok thx!
Pupeno has joined #ruby
<jhass> delegation is the mechanism, decoration the intend
<pipework> I thought delegation is usually used to delegate.
IrishGringo has quit [Ping timeout: 245 seconds]
michael_mbp has joined #ruby
<jhass> that too!
balazs has quit [Ping timeout: 258 seconds]
jottr has quit [Ping timeout: 260 seconds]
Brothmars has quit [Ping timeout: 258 seconds]
nevans has quit [Quit: good bye]
<pipework> Hawt.
boombadaroomba has quit [Remote host closed the connection]
iamjarvo has joined #ruby
Pupeno has quit [Ping timeout: 245 seconds]
ta__ has quit [Read error: Connection reset by peer]
ta has joined #ruby
kirun has quit [Quit: Client exiting]
danguita has joined #ruby
DLSteve has joined #ruby
n_blownapart has joined #ruby
atomical has joined #ruby
TPBallbag has joined #ruby
codecop has quit [Remote host closed the connection]
arup_r has quit [Quit: Leaving.]
Guest39496 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
weemsledeux has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
moritzs has quit [Ping timeout: 245 seconds]
weemsledeux has joined #ruby
weemsledeux has joined #ruby
Lewix has quit [Remote host closed the connection]
apeiros has quit [Ping timeout: 256 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jimms has joined #ruby
Lewix has joined #ruby
MattB2 has joined #ruby
yfeldblu_ has joined #ruby
<n_blownapart> hi more drama with Fido, Dog and the inspect method. I was having trouble yesterday because the rubykoan code was off; I needed to add #inspect to line 24 here: http://pastie.org/9701622
TPBallbag has quit [Ping timeout: 244 seconds]
yetanotherdave has quit [Ping timeout: 265 seconds]
<n_blownapart> sorry line 25 ^^
BadQuanta has quit [Quit: Leaving.]
yfeldblum has quit [Ping timeout: 255 seconds]
<jhass> n_blownapart: wrong
<jhass> that's not what it's trying to teach you
<jhass> the koans are right
<jhass> this has nothing to do with inspect still
zz_twistedpixels is now known as twistedpixels
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<n_blownapart> jhass: thanks, hold on I was getting an error and found the link..
Pupeno has joined #ruby
Pupeno has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
josephndenton has joined #ruby
yetanotherdave has joined #ruby
jottr has joined #ruby
<jhass> the string "<Dog named 'Fido'>" is not what self is, it is what's used to _represent_ self
KC9YDN has joined #ruby
<jhass> it is was is used to represent it because self has a method self that returns that string
spyderman4g63 has quit [Remote host closed the connection]
<jhass> now, what else do you have in that method that has a inspect method that returns the string "<Dog named 'Fido'>" to represent it?
spyderman4g63 has joined #ruby
<jhass> *self has a method inspect
spyderman4g63 has quit [Remote host closed the connection]
<n_blownapart> jhass thank you .. kindly give me a few minutes... working on it..
jdj_dk has quit [Remote host closed the connection]
nonks has quit [Ping timeout: 250 seconds]
spyderman4g63 has joined #ruby
Xeago has joined #ruby
<n_blownapart> jhass: I understand the overwrite aspect of it...one sec
josephndenton has quit [Ping timeout: 240 seconds]
<jhass> interesting, I see nothing that "overwrites" there
allcentury has quit [Ping timeout: 258 seconds]
blackjid_ has quit [Ping timeout: 265 seconds]
wallerdev has joined #ruby
spyderman4g63 has quit [Ping timeout: 258 seconds]
balazs has joined #ruby
terrellt has quit [Ping timeout: 265 seconds]
balazs has quit [Max SendQ exceeded]
skarn has quit [Ping timeout: 265 seconds]
<n_blownapart> jhass: the <...> syntax is used to contain a message that overwrites the object reference number which would have the same <Object:0x007ff8f5822a08> sort of form.
<jhass> no
<jhass> "<Object:0x#{object_id}>" is just the output of the default Object#inspect
<jhass> the angle brackets there are purely convention, there's zero meaning for ruby in there
allcentury has joined #ruby
<jhass> it's a representation for you, the programmer, not ruby
iamjarvo has joined #ruby
<jhass> but all that stuff about inspect is completely unrelated to what this example tries to teach you and not required to pass the test
terlar has quit [Ping timeout: 255 seconds]
<jhass> I'm not sure how many times more I need to say this
<pipework> my guess: approx. 3.1
jottr has quit [Ping timeout: 250 seconds]
<jhass> I'm already at 5, you only saw 3
<jhass> *2
mikecmpbll has quit [Quit: ciao.]
<pipework> jhass: Well, 3.1 more times after now.
<n_blownapart> please forgive my background is in literature
<n_blownapart> me*
blueOxigen has quit [Ping timeout: 245 seconds]
<jhass> yeah, already said yesterday koans is not exactly the best thing for the first exposure to programming
viet_power has joined #ruby
Dude007 has quit [Remote host closed the connection]
<n_blownapart> I went through a book but it was over two years ago. really appreciate it though. if I could work on this to form one last question ...
duplex has joined #ruby
jottr has joined #ruby
<pipework> n_blownapart: I'd suggest Chris Pines, Learn to Program
boombadaroomba has joined #ruby
<n_blownapart> pipework: thanks I need to get it
<pipework> n_blownapart: The #inspect method isn't something that Ruby, depends on, it's something it provides. I think the intent is for users, but I've seen code that uses inspect on some objects for other reasons.
alvaro_o has joined #ruby
Jake232 has joined #ruby
<n_blownapart> jhass I wrote <Object:0x007ff8f5822a08> but filled in 'Object:' just for generic illustration .. but would that have no trace of the obj. reference, say i.e. <Dog7:0x007ff8f5822a08>
<n_blownapart> ?
terrellt has joined #ruby
<jhass> stop. even. thinking. about. inspect. for. this.
<jhass> last time I said that, really
<n_blownapart> jhass ok many thanks .. thanks pipework
rylev has joined #ruby
<n_blownapart> one thing that really sets me back is when I test things in pry and the results are far different. I need to understand what I'm doing with pry/ irb.
ta has quit [Ping timeout: 250 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
Wolland has joined #ruby
auxbuss has joined #ruby
Wolland_ has quit [Ping timeout: 265 seconds]
<pipework> n_blownapart: Don't worry about the class name and object id. It's a very minor detail.
<n_blownapart> pipework: thanks I really appreciate it. this stuff is fascinating hope to progress a lot..
yetanotherdave has quit [Ping timeout: 240 seconds]
Wolland has quit [Ping timeout: 245 seconds]
yetanotherdave has joined #ruby
<pipework> n_blownapart: I hope you do too. After you finish with what you're doing and Learn to Program, let me know and I can recommend some other books that are beneficial to your understanding of ruby.
<pipework> Other people here also know great books, especially when you have a particular interest in doing something with ruby.
<n_blownapart> pipework: I went through well-grounded rubyist. some of it I didn't quite get.
fenak has quit [Remote host closed the connection]
kireevco has joined #ruby
<pipework> n_blownapart: You'll want to get through some of the more foundational stuff so that the black book will be more easily grasped.
mleung has joined #ruby
francisfish has quit [Remote host closed the connection]
<n_blownapart> ok more drama later. thanks pipework
nateberkopec has joined #ruby
Takle has quit [Remote host closed the connection]
Spami has joined #ruby
renderfu_ has joined #ruby
sailias has quit [Quit: Leaving.]
renderful has quit [Ping timeout: 245 seconds]
geggam has quit [Ping timeout: 244 seconds]
Toba has left #ruby [#ruby]
Takle has joined #ruby
TPBallbag has joined #ruby
jcdesimp_ has joined #ruby
TPBallbag is now known as JessyS
Ankhers has quit [Ping timeout: 250 seconds]
JessyS is now known as TPBallbag
TPBallbag is now known as JessyS
majjoha has quit [Ping timeout: 255 seconds]
viet_power has quit [Ping timeout: 250 seconds]
JessyS is now known as TPBallbag
ta has joined #ruby
paulfm has quit []
dc has quit [Remote host closed the connection]
jcdesimp has quit [Ping timeout: 255 seconds]
blackjid_ has joined #ruby
jcdesimp_ has quit [Ping timeout: 240 seconds]
aclearman037 has quit [Quit: I'm out!]
weemsledeux has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skarn has joined #ruby
timonv_ has joined #ruby
romistrub has quit [Ping timeout: 246 seconds]
weemsledeux has joined #ruby
weemsledeux has quit [Changing host]
weemsledeux has joined #ruby
duncannz has joined #ruby
allcentury has quit [Ping timeout: 258 seconds]
timonv^ has joined #ruby
timonv^ has quit [Remote host closed the connection]
tesaf has quit [Quit: Lost terminal]
timonv^ has joined #ruby
smcquaid has quit [Read error: Connection reset by peer]
gr33n7007h has quit [Ping timeout: 250 seconds]
weemsledeux has quit [Client Quit]
Xeago_ has joined #ruby
weemsledeux has joined #ruby
weemsledeux has quit [Changing host]
weemsledeux has joined #ruby
jcdesimp has joined #ruby
westoque has joined #ruby
nevans has joined #ruby
jcdesimp has quit [Read error: Connection reset by peer]
Takle is now known as takle
trickyearlobe has joined #ruby
bmurt has quit []
yfeldblu_ has quit [Remote host closed the connection]
timonv_ has quit [Ping timeout: 245 seconds]
oo_ has joined #ruby
mleung has quit [Quit: mleung]
westoque has quit [Client Quit]
droidburgundy has quit [Remote host closed the connection]
mleung has joined #ruby
Xeago has quit [Ping timeout: 264 seconds]
Pupeno has quit [Quit: Leaving...]
moritzs has joined #ruby
amundj has quit [Read error: Connection reset by peer]
g_ has joined #ruby
g_ is now known as Guest91134
jherbst has quit [Ping timeout: 264 seconds]
Scotteh has joined #ruby
gr33n7007h has joined #ruby
nonks has joined #ruby
jleishman has quit [Quit: Be back later ...]
amundj has joined #ruby
timonv^ has quit [Remote host closed the connection]
jimms has quit [Remote host closed the connection]
jimbach has quit [Remote host closed the connection]
timonv_ has joined #ruby
icole has quit [Remote host closed the connection]
Guest18680 is now known as mumblerit
blackmesa has joined #ruby
duggiefresh has quit []
nonks has quit [Ping timeout: 250 seconds]
freerobby has quit [Quit: Leaving.]
dorei has quit [Ping timeout: 244 seconds]
timonv_ has quit [Ping timeout: 264 seconds]
blackmesa has quit [Client Quit]
Rahul_Roy_ has quit [Quit: Connection closed for inactivity]
gr33n7007h has quit [Changing host]
gr33n7007h has joined #ruby
psyprus has quit [Read error: Connection reset by peer]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
havenwood has quit [Remote host closed the connection]
lmickh has quit [Remote host closed the connection]
dorei has joined #ruby
cantonic has quit [Quit: cantonic]
max96at is now known as max96at|off
psyprus has joined #ruby
BadQuanta has joined #ruby
mary5030 has quit [Remote host closed the connection]
allcentury has joined #ruby
jheg has joined #ruby
Guest91134 is now known as mr_rogerz_
dc has joined #ruby
n_blownapart has quit []
sambao21 has joined #ruby
beef-wellington has joined #ruby
auxbuss has quit [Quit: I'm gone.]
yfeldblum has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Brothmars has joined #ruby
echevemaster has quit [Quit: WeeChat 1.0.1]
echevemaster has joined #ruby
allcentury has quit [Ping timeout: 272 seconds]
x1337807x has joined #ruby
silkfox has quit [Ping timeout: 245 seconds]
tier has quit [Remote host closed the connection]
apeiros has joined #ruby
patrick99e99 has joined #ruby
jenrzzz has joined #ruby
kireevco has quit [Read error: Connection reset by peer]
beef-wellington has quit [Ping timeout: 245 seconds]
mikeg has joined #ruby
jleishman has joined #ruby
cantonic has joined #ruby
patrick99e99 has quit [Ping timeout: 245 seconds]
chipotle has joined #ruby
jerius has quit [Ping timeout: 260 seconds]
dkb20k has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
chipotle has quit [Max SendQ exceeded]
byprdct has joined #ruby
pandaant has quit [Remote host closed the connection]
yetanotherdave has quit [Ping timeout: 245 seconds]
jheg has quit [Quit: jheg]
chipotle has joined #ruby
oo_ has quit [Remote host closed the connection]
dkb20k has quit [Ping timeout: 258 seconds]
chipotle has quit [Client Quit]
andrewlio has quit [Remote host closed the connection]
larsam has quit []
jottr has quit [Ping timeout: 250 seconds]
spider-mario has quit [Read error: Connection reset by peer]
majjoha has joined #ruby
Wolland has joined #ruby
gsd has quit [Ping timeout: 265 seconds]
mikeg has quit [Remote host closed the connection]
sargas has joined #ruby
kyb3r_ has joined #ruby
majjoha has quit [Ping timeout: 250 seconds]
Wolland has quit [Ping timeout: 250 seconds]
Wolland has joined #ruby
josephndenton has joined #ruby
freerobby has joined #ruby
rkalfane has joined #ruby
siwica has joined #ruby
m4rCsi has quit [Quit: No Ping reply in 180 seconds.]
rkalfane has quit [Client Quit]
m4rCsi has joined #ruby
Linell has quit [Ping timeout: 265 seconds]
anaeem1_ has quit [Remote host closed the connection]
MusachiMiyamotoF has joined #ruby
josephndenton has quit [Ping timeout: 260 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MusachiMiyamotoF has quit [Client Quit]
spyderman4g63 has joined #ruby
gsd has joined #ruby
Xeago has joined #ruby
Xeago__ has joined #ruby
djbkd has quit [Remote host closed the connection]
brennanMKE has joined #ruby
<brennanMKE> hi, i have a Ruby question. i think i need to run something to fix up my Ruby environment on my Mac.
Kricir has quit [Remote host closed the connection]
<brennanMKE> I get messages like this... "Ignoring puma-1.6.3 because its extensions are not built. Try: gem pristine puma-1.6.3"
<brennanMKE> what do i need to do?
Xeago_ has quit [Ping timeout: 244 seconds]
<apeiros> jhass: thanks. sorry, was busy :)
kaspergrubbe has quit [Ping timeout: 272 seconds]
spyderman4g63 has quit [Ping timeout: 244 seconds]
<jhass> freenode staff was quicker ;)
Xeago has quit [Ping timeout: 244 seconds]
<jhass> brennanMKE: did you try it?
sargas has quit [Quit: Leaving]
beneggett has quit [Ping timeout: 250 seconds]
jimms has joined #ruby
jamto11 has quit [Remote host closed the connection]
moritzs has quit [Ping timeout: 260 seconds]
freerobby has quit [Quit: Leaving.]
weemsledeux has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Vivekananda has joined #ruby
leafybasil has joined #ruby
RitterJack has quit [Ping timeout: 260 seconds]
treehug88 has quit []
sargas has joined #ruby
renderfu_ has quit [Remote host closed the connection]
Soda has quit [Remote host closed the connection]
jimms has quit [Remote host closed the connection]
Brothmars has quit [Quit: Be back later ...]
smoores has joined #ruby
<smoores> Typing gem -v in my command line gives me: /usr/bin/gem:12:in `<main>': uninitialized constant Gem::Requirement (NameError)... anyone know how to fix this?
<jhass> smoores: what's your ruby version?
Wolland has quit [Remote host closed the connection]
<smoores> ruby -v is 1.9.3p484
tvw has quit []
<jhass> and gem env ?
Wolland has joined #ruby
mleung has quit [Quit: mleung]
<smoores> jhass, gem env is /usr/bin/gem:12:in `<main>': uninitialized constant Gem::Requirement (NameError)
djstorm has quit [Ping timeout: 244 seconds]
<jhass> head -1 $(which gem) ?
<smoores> #!/usr/bin/ruby1.9.1
wldcordeiro_ has quit [Remote host closed the connection]
<jhass> how did you install ruby & rubygems?
jenrzzz has quit [Ping timeout: 245 seconds]
<brennanMKE> gem -v is 2.4.2
Hobogrammer has joined #ruby
<smoores> jhass: gem install && update_rubygems
mleung has joined #ruby
workmad3 has joined #ruby
<jhass> smoores: update_rubygems? never saw that one
<jhass> and you need to have installed a version of ruby and rubygems prior to that
<jhass> how did you install those
<brennanMKE> it was just installed with the Mac or the Xcode dev tools
Alina-malina has quit [Ping timeout: 245 seconds]
Freemason has joined #ruby
<smoores> apt-get install ruby1.9.1, and the rvm install script
cpruitt has quit [Quit: cpruitt]
Alina-malina has joined #ruby
Wolland has quit [Ping timeout: 264 seconds]
luk3thomas has joined #ruby
<jhass> you should decide whether you want to use RVM or the packaged ruby
<jhass> brennanMKE: didn't ask you. You still didn't answer if you tried the command your error message suggests you
x1337807x has joined #ruby
mary5030 has joined #ruby
nobitanobi has quit [Remote host closed the connection]
<brennanMKE> sorry, i to step away
<smoores> jhass, either one is fine i guess. i dont particularly care about version
livingstn has quit []
<smoores> jhass, looks like gem wants 1.9.1.
luk3thomas has quit [Client Quit]
elaptics`away is now known as elaptics
<jhass> smoores: that's 1.9.1 == 1.9.3 here, ABI version vs interpreter version
<brennanMKE> "Failed to find gems ["puma-1.6.3"] >= 0"
<brennanMKE> so i am installing puma now
<brennanMKE> i do not understand how these dependencies are missing
<jhass> smoores: and of course your global rubygems links against the apt installed one
<jhass> smoores: did you install RVM as root or under your regular user?
jobewan has quit [Quit: Leaving]
<smoores> root
<jhass> smoores: okay, installing rvm as root is madness unless you know exactly what you're doing
<jhass> let's clean that up first
<smoores> ok
jimms has joined #ruby
<jhass> http://rvm.io/support/troubleshooting check the second to last entry
<smoores> got it
renderful has joined #ruby
it0a has quit [Quit: WeeChat 1.0.1]
nonks has joined #ruby
jleishman has quit [Quit: Be back later ...]
luminor has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
magic has quit [Read error: Connection reset by peer]
luminor has quit [Read error: Connection reset by peer]
luminor has joined #ruby
jimms has quit [Remote host closed the connection]
<brennanMKE> "failed to find gems"
<brennanMKE> any tips on fixing that?
francisfish has joined #ruby
luk3thomas has joined #ruby
nobitanobi has joined #ruby
nonks has quit [Ping timeout: 250 seconds]
<jhass> brennanMKE: that's what gem install puma says?
luminor has quit [Read error: Connection reset by peer]
jottr has joined #ruby
luminor has joined #ruby
smoores has quit [Quit: Textual IRC Client: www.textualapp.com]
magic has joined #ruby
<brennanMKE> i had to run `sudo gem install puma`
<workmad3> brennanMKE: what did you put in your Gemfile ?
<brennanMKE> this time it worked but before it was failing
vyorkin has quit [Ping timeout: 258 seconds]
IrishGringo has joined #ruby
Poutsa has joined #ruby
nobitanobi has quit [Remote host closed the connection]
rkalfane has joined #ruby
<brennanMKE> that is the Gemfile
adriancb has quit [Remote host closed the connection]
<Poutsa> Hello I have an issue with my ruby ... http://raw.pro-chan.com/Raw/t/674_1382207920
francisfish has quit [Ping timeout: 245 seconds]
<workmad3> brennanMKE: because that error looks like you put 'gem install puma-1.6.3' in, or 'gem "puma-1.6.3" ' or something along those lines
<brennanMKE> workmad3: i try to run `rake bootstrap` and get lots of errors
<workmad3> brennanMKE: i.e. you had something attempt to install a gem called 'puma-1.6.3', not 'puma'
<brennanMKE> like :"Ignoring puma-1.6.3 because its extensions are not built. Try: gem pristine puma-1.6.3"
<jhass> apeiros: ^ again
Poutsa has left #ruby [#ruby]
<zenspider> jesus. impatient much?
majjoha has joined #ruby
<zenspider> brennanMKE: did you try the pristine command?
jottr has quit [Ping timeout: 265 seconds]
<zenspider> ah. leave off the "-1.6.3" that's a shitty command suggestion
<brennanMKE> i did
16WAAGGSI has joined #ruby
<brennanMKE> worked better without the extension
hmsimha has joined #ruby
AndyBotwin has joined #ruby
nkumari has joined #ruby
luk3thomas has quit [Quit: luk3thomas]
allcentury has joined #ruby
<brennanMKE> ok, those errors are gone but now i get this... "[!] Disabled the middleman publish task, run `rake bootstrap` first."
magic has quit [Disconnected by services]
<brennanMKE> and that is after i run `rake bootstrap` which i do not understand
mikeg has joined #ruby
majjoha has quit [Ping timeout: 244 seconds]
boombadaroomba has quit [Remote host closed the connection]
soulcake has joined #ruby
beneggett has joined #ruby
soulcake has quit [Client Quit]
hightower has joined #ruby
soulcake has joined #ruby
<brennanMKE> i am going to restart with a freshly cloned copy
allcentury has quit [Ping timeout: 245 seconds]
soulcake has quit [Client Quit]
soulcake has joined #ruby
beneggett has quit [Client Quit]
soulcake has quit [Client Quit]
16WAAGGSI has quit [Remote host closed the connection]
soulcake has joined #ruby
soulcake has quit [Remote host closed the connection]
soulcake has joined #ruby
soulcake has quit [Client Quit]
hightower has quit [Quit: Leaving]
AndyBotwin has quit [Remote host closed the connection]