apeiros changed the topic of #ruby to: Ruby 2.1.1; 2.0.0-p451; 1.9.3-p545: 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
RowdyChildren is now known as RowdyChild|Away
apeiros_ has joined #ruby
mansi has joined #ruby
jason_ has joined #ruby
Lewix has quit [Remote host closed the connection]
Lightsword has joined #ruby
apeiros has quit [Ping timeout: 240 seconds]
omosoj has joined #ruby
mengu has quit []
senayar has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 245 seconds]
matchaw has quit [Ping timeout: 240 seconds]
mansi has quit [Ping timeout: 252 seconds]
ktun_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jason_ has quit [Remote host closed the connection]
crucify_me has joined #ruby
jason_ has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apeiros_ is now known as apeiros
evenix has quit [Remote host closed the connection]
emaxi has quit [Read error: Connection reset by peer]
rakm has quit [Quit: Connection closed for inactivity]
emaxi has joined #ruby
dapz has joined #ruby
evenix has joined #ruby
rm_ has quit [Remote host closed the connection]
tjsousa has quit [Quit: Computer has gone to sleep.]
rm_ has joined #ruby
KanKava has quit [Quit: Lost terminal]
rm_ has quit [Read error: Connection reset by peer]
dapz has quit [Client Quit]
rm_ has joined #ruby
mjs2600 has joined #ruby
blackmes1 has quit [Ping timeout: 250 seconds]
nihils has joined #ruby
Milly_Bays has joined #ruby
eka has joined #ruby
jason_ has quit [Ping timeout: 250 seconds]
dapz has joined #ruby
nateberkopec has joined #ruby
bthesorceror has joined #ruby
michaeldeol has joined #ruby
evenix has quit [Ping timeout: 252 seconds]
mjs2600 has quit [Remote host closed the connection]
no6 has quit [Ping timeout: 240 seconds]
r_rios has quit [Ping timeout: 245 seconds]
r_rios has joined #ruby
diegoviola has quit [Remote host closed the connection]
quitobro has quit [Remote host closed the connection]
nichtdiebohne has quit [Ping timeout: 245 seconds]
kitak has quit [Remote host closed the connection]
dapz has quit [Client Quit]
dapz has joined #ruby
havenwood has joined #ruby
bradhe has quit [Remote host closed the connection]
kitak has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
saarinen has joined #ruby
zets has joined #ruby
matchaw has joined #ruby
bradhe has joined #ruby
mansi has joined #ruby
quitobro has joined #ruby
i_s has joined #ruby
quitobro_ has joined #ruby
mjs2600 has joined #ruby
workmad3 has quit [Ping timeout: 250 seconds]
fsdldl has joined #ruby
amundj has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
quitobro has quit [Ping timeout: 240 seconds]
mcclurmc has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
sailias has joined #ruby
tkuchiki has joined #ruby
jamto11 has joined #ruby
quitobro has joined #ruby
bradhe has joined #ruby
i_s has quit [Ping timeout: 276 seconds]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
puzanov_ has quit [Ping timeout: 240 seconds]
codebro has quit [Ping timeout: 240 seconds]
mjs2600 has quit [Remote host closed the connection]
maletor has quit [Quit: Computer has gone to sleep.]
mjs2600 has joined #ruby
quitobro_ has quit [Ping timeout: 276 seconds]
yubrew has joined #ruby
tkuchiki has quit [Remote host closed the connection]
Rylee has quit [Ping timeout: 245 seconds]
crucify_me has quit [Remote host closed the connection]
bodeezl has quit [Ping timeout: 258 seconds]
sailias1 has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
bodeezl has joined #ruby
sailias2 has joined #ruby
BaconOverflow has joined #ruby
Rylee_ has joined #ruby
sailias has quit [Ping timeout: 240 seconds]
chrisja has quit [Quit: leaving]
Soda has joined #ruby
sailias1 has quit [Ping timeout: 240 seconds]
kitak_ has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblu_ has joined #ruby
nisstyre has joined #ruby
tectonic has joined #ruby
lukec has quit [Quit: lukec]
yfeldblum has quit [Ping timeout: 276 seconds]
michael_lee has joined #ruby
mjs2600 has quit [Remote host closed the connection]
zz_karupa is now known as karupa
havenwood has quit [Remote host closed the connection]
sailias2 has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby
pskosinski_ has joined #ruby
puzanov has joined #ruby
CaptainJet has quit [Remote host closed the connection]
zcreative has quit [Quit: Computer has gone to sleep.]
CaptainJet has joined #ruby
centrx has joined #ruby
tkuchiki has joined #ruby
pskosinski has quit [Ping timeout: 272 seconds]
fly2web has left #ruby [#ruby]
oo_ has joined #ruby
mazzid has quit [Quit: Leaving.]
caleb_io has joined #ruby
matchaw has quit [Remote host closed the connection]
r_rios has quit [Ping timeout: 252 seconds]
psyko666 has joined #ruby
matchaw has joined #ruby
fly2web has joined #ruby
<fly2web> there is ide for ruby?
aspires has joined #ruby
lukec has joined #ruby
matchaw has quit [Remote host closed the connection]
<centrx> fly2web, Different people use different software to program Ruby
matchaw has joined #ruby
<centrx> fly2web, Ruby has less need of an IDE than, say, Java, because it is boilerplate-minimal
papercode has quit [Remote host closed the connection]
mjs2600 has joined #ruby
quitobro has quit [Remote host closed the connection]
<fly2web> yes
<fly2web> only using vim?
<centrx> I only use vim
<fly2web> there is eclipse plugin?
<centrx> There are many Ruby-oriented extensions for vim
<centrx> fly2web, Seems like undoubtedly Eclipse plugin
Deele has quit [Ping timeout: 255 seconds]
<centrx> fly2web, Popular software is Sublime Text, Text Made, and RubyMine
<fly2web> centrx: then i will use eclipse plugin.
<centrx> fly2web, RubyMine is an IDE I think
<centrx> fly2web, Yeah, try it out
no6 has joined #ruby
<centrx> *TextMate
<fly2web> ruby Mine?
cfurrow has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
BSaboia has joined #ruby
<fly2web> i dont use textMate.
benzrf|offline is now known as benzrf
<fly2web> textMate is not free.
chrisseaton has quit []
<centrx> I don't think RubyMine is free either
<fly2web> rubyMine is not free?
<havenwood> fly2web: TextMate is free: https://github.com/textmate/textmate/blob/master/LICENSE
<fly2web> just 30 free day.
<havenwood> free forever free
<havenwood> fly2web: TextMate2 went GPL license
<centrx> yeah I thought TextMate was free, but OS X only
<benzrf> if ur not using either vim or emacs ur not living up 2 ur true editing potential sry2saynotsry
cj3kim has joined #ruby
<havenwood> fly2web: try Atom or LightTable
<havenwood> fly2web: or vim or emacs
<fly2web> Atom?
<havenwood> https://atom.io/
<benzrf> atom is 3dumb5me
helpD has quit [Remote host closed the connection]
<havenwood> pull request from your browser
bricker`LA has joined #ruby
no6 has quit [Ping timeout: 250 seconds]
<havenwood> s/browser/text editor
<fly2web> how about eclipse?
<benzrf> fly2web: use vim
<benzrf> only vim is worth ur time
<fly2web> i use eclipse mainly.
<benzrf> or emacs
<benzrf> eclipse is cool if youre writing java
<benzrf> but ruby needs no such compile-time powers
<havenwood> fly2web: RubyMine if you want to go IDE.
<benzrf> dont use rubymine just open a pry in a nother window
<fly2web> vim? but vim is too inconvinient.
<benzrf> (y)
<benzrf> >vim
<benzrf> >more inconvenient than anything but vim
<benzrf> >Ever
<benzrf> >greentexting in irc
<benzrf> >hate self a little
<fly2web> RubyMine is not free.
<centrx> vim is not inconventient.
<benzrf> vim is inconvenient in the same way that ruby is verbose
<fly2web> ok
<centrx> Your shiny GUI baubles are non-free
<fly2web> i will use vim.
<benzrf> B)
<havenwood> hehe
<fly2web> thanks everyone.
funktor has quit [Remote host closed the connection]
<benzrf> and once Quick is into beta u will get IDE features even (maybe)
<fly2web> :)
<benzrf> if i should find somebody to write me some VimL to interface
<benzrf> fly2web: what do u know about vim
funktor has joined #ruby
SHyx0rmZ has quit [Ping timeout: 252 seconds]
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
sailias has joined #ruby
<fly2web> s S q q! $ 0 i I o O DD D a A shift + G, 1G etc.
<benzrf> hmmmmm
<benzrf> that will insert S q q! $ 0 i I o O DD D a A shift + G, 1G etc.
<fly2web> YY
<benzrf> fly2web: do you use the CLI for file management?
aspires has quit []
<benzrf> i.e. rm cd mkdir etc
<fly2web> yes.
<fly2web> i know cd, rm mkdir, cp, etc.
<benzrf> then you have no excuse to claim that vim is unintuitive and obscure and isnt worth the time to memorize
<benzrf> :-)
lmickh has quit [Quit: lmickh]
aspires has joined #ruby
<kalyx> benzrf
<fly2web> vim vs eclipse, eclipse is convinient.
nateberkopec has joined #ruby
<centrx> fly2web, Eclipse is clunky and shoddy
robbyoconnor has quit [Ping timeout: 250 seconds]
<benzrf> eclipse takes 5m to start
funktor has quit [Ping timeout: 250 seconds]
<benzrf> vim takes 5seconds at maxmanders
<benzrf> *max
<benzrf> which is inconvenient now?
lukec has quit [Quit: lukec]
manlycode has joined #ruby
<benzrf> i can use vim ootb on the majority of unices, as well as over ssh
<benzrf> which is inconvenient now?
<fly2web> eclipse is fast.
<fly2web> not slow
<benzrf> no it is not
<benzrf> and if you define eclipse to be fast
<benzrf> then vim is light speed
chipotle has joined #ruby
<fly2web> ok i see
jamto11_ has joined #ruby
<benzrf> eclipse is better at super smart code prediction & completion
<benzrf> but that's almost impossible to do for ruby anyway
banister has joined #ruby
<benzrf> so why not use an editor that's fucking amazing at fiddling your text?
<benzrf> even if it doesnt know what methods an object has/
Lightsword has quit [Ping timeout: 252 seconds]
<fly2web> ok then i will use vim.
<benzrf> :-D
<fly2web> :)
postmodern has joined #ruby
<benzrf> let us help u
nateberkopec has quit [Ping timeout: 240 seconds]
<fly2web> thanks
<centrx> It is pretty easy to use Ruby code completion with vim
<apeiros> 03:08 fly2web: s S q q! $ 0 i I o O DD D a A shift + G, 1G etc.
<benzrf> not that i use that
<centrx> Probably doesn't work with dynamic methods though
<apeiros> now I'm curious whether one of those notorious spambots is actually just somebody using vim for irc :D
chipotle_ has joined #ruby
<benzrf> i just stick w/ basic complete-to-existing-word-in-open-files
<benzrf> 90% of the time its good enough
<benzrf> if i wanna know what methods something has i just use pry
Lightsword has joined #ruby
banister_ has quit [Ping timeout: 252 seconds]
evenix has joined #ruby
jamto11_ has quit [Ping timeout: 245 seconds]
chipotle has quit [Ping timeout: 276 seconds]
i_s has joined #ruby
kayloos has quit [Remote host closed the connection]
danshultz has quit [Remote host closed the connection]
<lagweezle> Also, if you wanna talk about Eclipse, toss that and go for IntelliJ IDEA Community Edition. But yeah, I'd rather use Sublime Text or something a bit more light weight and snappy for Ruby.
havenwood has quit [Remote host closed the connection]
danshultz has joined #ruby
dik_dak has quit [Quit: Leaving]
aspires has quit [Read error: No route to host]
zets has left #ruby [#ruby]
aspires has joined #ruby
agrinb has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
Atrumx has joined #ruby
yubrew has joined #ruby
robbyoconnor has joined #ruby
codebro has joined #ruby
i_s has quit [Ping timeout: 250 seconds]
mjs2600 has quit [Remote host closed the connection]
danshultz has quit [Ping timeout: 245 seconds]
cj3kim has quit [Read error: Connection reset by peer]
aspires has quit [Client Quit]
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hanmac1 has joined #ruby
cj3kim has joined #ruby
yubrew has quit [Ping timeout: 245 seconds]
pwh has joined #ruby
havenwood has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
aspires has joined #ruby
aspires has quit [Client Quit]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
linojon has joined #ruby
centrx has quit [Quit: All this computer hacking is making me thirsty]
ddv has quit [Ping timeout: 245 seconds]
sski has joined #ruby
saarinen has quit [Quit: saarinen]
ddv has joined #ruby
timonv has joined #ruby
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
meatherly has joined #ruby
jason_ has joined #ruby
Sawbones has joined #ruby
timonv has quit [Ping timeout: 252 seconds]
bradhe has quit [Remote host closed the connection]
bradhe has joined #ruby
caleb_io has quit [Quit: caleb_io]
northfurr has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
ixti has quit [Ping timeout: 245 seconds]
psyprus_ has joined #ruby
nateberkopec has joined #ruby
psyprus has quit [Read error: Connection reset by peer]
hamakn has quit [Remote host closed the connection]
<benzrf> i got itman
<benzrf> *it
jason_ has quit [Remote host closed the connection]
bogeyd6 has joined #ruby
jason_ has joined #ruby
agarie has quit [Quit: Leaving...]
bradhe has joined #ruby
jason_ has quit [Ping timeout: 252 seconds]
Es0teric has joined #ruby
quitobro has joined #ruby
Es0teric has quit [Max SendQ exceeded]
ironsand has quit [Quit: Leaving...]
thomasxie has joined #ruby
no6 has joined #ruby
hamakn has joined #ruby
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
davedev24 has quit [Read error: Connection reset by peer]
alexju has joined #ruby
Es0teric has joined #ruby
Guedes0 has quit [Ping timeout: 276 seconds]
davedev24 has joined #ruby
Es0teric has quit [Max SendQ exceeded]
r_rios has joined #ruby
Es0teric has joined #ruby
quitobro has quit [Ping timeout: 240 seconds]
Lightsword has quit [Ping timeout: 252 seconds]
etqqkoiflwhb has joined #ruby
no6 has quit [Ping timeout: 252 seconds]
jason_ has joined #ruby
havenwood has quit [Remote host closed the connection]
browndawg has joined #ruby
<AlexRussia> hey!
<AlexRussia> How to can't added some elements in array, returned .map ?
thomasxie has quit [Quit: Leaving.]
<fly2web> i decide eclipse plugin for ruby.
<mnemon> AlexRussia: that sentence doesn't make any sense
<AlexRussia> mnemon: i have drop/down some elements
<AlexRussia> mnemon: when i in block .map
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has quit [Ping timeout: 276 seconds]
<AlexRussia> mnemon: how i can do it?
metamaterial has joined #ruby
dapz has joined #ruby
<AlexRussia> >> [1,2,3,4,5].map{|i| i unless i%2==0}
<AlexRussia> >>>[1,2,3,4,5].map{|i| i unless i%2==0}
<eval-in__> AlexRussia => /tmp/execpad-54a389329683/source-54a389329683:2: syntax error, unexpected '>' ... (https://eval.in/138972)
<AlexRussia> lol
<AlexRussia> >>[1,2,3,4,5].map{|i| i unless i%2==0}
<eval-in__> AlexRussia => [1, nil, 3, nil, 5] (https://eval.in/138974)
<AlexRussia> mnemon: how to drop nil's, when i in .map block? ^
jason_ has quit [Remote host closed the connection]
<benzrf> >>[1,2,3,4,5].map{|i| i unless i%2==0}.compact
<eval-in__> benzrf => [1, 3, 5] (https://eval.in/138975)
<benzrf> although i am sure there is a more efficient way
<AlexRussia> lol
jason_ has joined #ruby
thomasxie has joined #ruby
<AlexRussia> but i think, this not my way
jason_ has quit [Remote host closed the connection]
<AlexRussia> [1,2,3,4,5] it's just example
jason_ has joined #ruby
magic_ has joined #ruby
<AlexRussia> irl i should calculate some number for every hashes in array and not include hashes, where number not returner true for some condition :P
yubrew has joined #ruby
<tar56> are you guys talking about weed
<tar56> how much do you pay for your hash
<AlexRussia> em, what?
supermarin has joined #ruby
<tar56> hash
<AlexRussia> yes
<tar56> were talking about hash here
<AlexRussia> and arrays too
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<AlexRussia> and map
<tar56> it was a joke
<AlexRussia> no
<tar56> lol
<AlexRussia> it's RL
<tar56> the hash is legit
krz has joined #ruby
<AlexRussia> ?
emaxi_ has joined #ruby
<AlexRussia> everyone hash i get without my sqlite
<AlexRussia> base
luriv has quit [Ping timeout: 240 seconds]
jason_ has quit [Remote host closed the connection]
<AlexRussia> tar56: this not joke, bro ;)
i_s has joined #ruby
<AlexRussia> then, hmmmm......
<tar56> no
<tar56> this
<tar56> is sparta
<AlexRussia> this is spark
yubrew has quit [Ping timeout: 240 seconds]
<AlexRussia> mmm
zkay11 has joined #ruby
<AlexRussia> tar56: .map included in array last calculated value?
fluve has joined #ruby
<tar56> hash
BSaboia has quit [Quit: Fui embora]
Es0teric has quit [Quit: Computer has gone to sleep.]
<AlexRussia> tar56: stooooops
<AlexRussia> tar56: .map use block
<zkay11> Hello all. I am trying to create a simple scraper with nokogiri and save the results to a csv. It pulls results down fine, but when I try to save them, it just saves a single integer 0 to the file instead.
<mnemon> AlexRussia: [1,2,3,4].delete_if{ |i| i%2 == 0 } ?
<AlexRussia> tar56: then, for include in array, he should get somethink at block
emaxi has quit [Ping timeout: 276 seconds]
<tar56> have you tried turning your computer on and off
<tar56> zkay have you tried that
<AlexRussia> mnemon: hmmm......
<tar56> that usually works
kenneth has joined #ruby
<zkay11> tar56: No, guessing not this time. Usually you're right, though.
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sambao21 has joined #ruby
Sawbones has quit [Remote host closed the connection]
kalyx has quit [Quit: Leaving]
Sawbones has joined #ruby
<tar56> it was a joke
<zkay11> :)
i_s has quit [Ping timeout: 252 seconds]
<tar56> no
<tar56> take out the disk and blow on it
<tar56> then put it back in
baweaver has joined #ruby
<zkay11> tar56 == super nintendo chalmers?
<AlexRussia> @db.all.delete_if{|c|
<AlexRussia> Client.new(c).sum != query.to_f
<AlexRussia> }.each { |c|
<AlexRussia> Client.new(c)
<AlexRussia> }
<AlexRussia> how to optimize it?
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
maletor has joined #ruby
<AlexRussia> ofc, i seen topic ;)
SvenOostenbrink has joined #ruby
<tar56> alex alright
<tar56> there should be a flashing light on the back of your computer
<tar56> turn it off
<tar56> and then turn it on again
mrmargolis has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
<shevy> AlexRussia it is not good to chain many method calls
jwhorto1 has quit [Ping timeout: 276 seconds]
<AlexRussia> shevy!
bradhe has joined #ruby
<AlexRussia> shevy: i think too....and i make two objects....
Sawbones has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Quit: Leaving...]
<tar56> alright everyone slow dowbn
<tar56> im trying to help you guys
<tar56> but its really hard
fly2web has quit [Quit: fly2web]
<AlexRussia> tar56: Links 2,3,4.....LINKS
SilkFox has joined #ruby
<AlexRussia> tar56: more Rammstein in my head in 06:28am....i can't sleep every night....
<tar56> wo bist du
<AlexRussia> shevy: how to optimize this crap?
<tar56> the one about the boat
<tar56> i like his song about the boat
Es0teric has joined #ruby
<tar56> id help you
<AlexRussia> tar56: too rammstein?
<tar56> but i only write in machine code
<AlexRussia> tar56: lol
bradhe_ has joined #ruby
<AlexRussia> tar56: only assembler, only hardcore?
<shevy> AlexRussia break the code into logical components
<shevy> especially class + methods
<AlexRussia> shevy: break is....paste?
<shevy> there is no simple answer because it involves doing several small things
<AlexRussia> shevy: or divide?
<shevy> break means to make the code smaller
<popl> AlexRussia: Simplify.
<shevy> simplify is a good word
<popl> AlexRussia: separate into different specialized parts
<shevy> AlexRussia you can work on your object via .reject! too btw
bradhe has quit [Read error: Connection reset by peer]
<shevy> object.reject! {|line| line.include? 'wrong connection' }
<shevy> AlexRussia it is easier to make just a few statements per line, ideally only one, though that is just a rule of thumb
<shevy> but to do a lot of:
linojon has quit [Quit: linojon]
bodeezl has quit [Ping timeout: 240 seconds]
<shevy> x.y.delete_if {|y| some_condition_here}.each {|bla| do_something_with_bla(bla) }
<AlexRussia> shevy: what reject do?
toastynerd has joined #ruby
<shevy> becomes very hard to understand
<tar56> hey anyone know of any free web hosting services with free ssl
<shevy> it is the same as delete_if
<shevy> but shorter
bodeezl has joined #ruby
<AlexRussia> tar56: mmm, you have some ssl 1.0.1f?
toastynerd has quit [Remote host closed the connection]
<tar56> no i use old open ssl
<shevy> >> %w( abc de f ).reject {|entry| entry.size < 2 }
<eval-in__> shevy => ["abc", "de"] (https://eval.in/138978)
<tar56> you cant trust big brother
<shevy> what alternatives are there to ssl!
<tar56> i use the old stuff cause you can always trust the essentials
<tar56> no
<shevy> lol
<tar56> i use a letter falcon
<tar56> he flies my messages
<shevy> how do you know the same falcon is returned?
<tar56> oh shit
<tar56> mind fuck
<shevy> hmm might be possible still
<shevy> you simply code up a falcon
<shevy> if he gets intercepted he instantly dies and disintegrates
<tar56> what if someone stabs my falcon with fiber optic cable tap
<mnemon> tar56: IPoAC ?
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
<tar56> with a*
<AlexRussia> shevy:
<AlexRussia> tmp = @db.all.each{|c|
<AlexRussia> Client.new(c)
<AlexRussia> }
<AlexRussia> tmp.reject!{|c| c.sum == query}
<tar56> shit i didn't know that was already a real joke
<AlexRussia> tmp
<AlexRussia> now nice?
<tar56> hey but i said falconm
<apeiros> AlexRussia: dude
<tar56> but pigeon
<apeiros> you said you've seen the topic
etqqkoiflwhb has quit [Ping timeout: 252 seconds]
<shevy> AlexRussia the first thing is you should start to break it up into methods
<apeiros> willfully ignoring what it says isn't nice.
<AlexRussia> maybe, remove tmp too....
<shevy> AlexRussia ideally delegate the jobs to classes
<tar56> dont listen alex
<tar56> its a trap
Rylee_ is now known as Rylee
havenwood has joined #ruby
<popl> We could use some more ops up in this channel.
<popl> ;)
* popl rewinds the tape.
<AlexRussia> shevy: stop, what you mean about break up?
mehlah has quit [Quit: Leaving...]
<tar56> yea shevy is trolling me
etqqkoiflwhb has joined #ruby
Cmacca has joined #ruby
<popl> shevy isn't trolling, afaik.
<AlexRussia> lol, i forget
Cmacca has left #ruby [#ruby]
<tar56> he send me a message
<tar56> "your fat"
<popl> AlexRussia: I think it's pretty plain what he means.
<AlexRussia> for first work in my class maked method
<tar56> i was just minding my business
<tar56> and hes telling me i'm fat
<popl> AlexRussia: If you don't understand the words he is using maybe you need to study more.
JesseH has joined #ruby
<shevy> AlexRussia break up -> pull down something large, into smaller components
Lightsword has joined #ruby
<lagweezle> I thought tar didn't relate to file allocation systems. ;)
havenwood has quit [Remote host closed the connection]
<AlexRussia> popl: i mean self.clients.reject!{|c| c.sum == query}
<popl> I think you're being trolled shevy.
<shevy> popl you mean tar56?
agent_white has joined #ruby
havenwood has joined #ruby
oo_ has quit [Remote host closed the connection]
<popl> shevy: I can't tell anymore. :/
<shevy> AlexRussia is not trolling, his english is just not ... optimal
<AlexRussia> shevy: his or my?
<popl> shevy: Can we just nuke everything and start from scratch?
<AlexRussia> English.optimize :(
<lagweezle> hee
<lagweezle> English is to languages as PHP is to programming?
<havenwood> lagweezle: piglatin
codebro has quit [Ping timeout: 276 seconds]
<shevy> AlexRussia yes, your english is not optimal
<AlexRussia> English.optimize!
<popl> English is complex
<AlexRussia> :)
agent_white has quit [Client Quit]
<shevy> lagweezle nah, english is quite useful
<AlexRussia> popl: a number?
<lagweezle> shevy: ooh php burn!
<AlexRussia> lagweezle: in fire?
<shevy> AlexRussia you must be careful. do you understand difference between: object.reject and object.reject! ?
<AlexRussia> shevy: yes
<AlexRussia> shevy: ! its methods, not maked new object
<lagweezle> AlexRussia: That would be an insult to fire. ;)
<AlexRussia> shevy: only use self
<AlexRussia> shevy: hmm.....i'm somewhere bugged?
pskosinski_ is now known as pskosinski
<AlexRussia> lagweezle: lol, really fun. but my mind down in dream..........................i should in some sleep, but i can't end program.....heh
oo_ has joined #ruby
<popl> >> a = (1..10).to_a; b = a.select.each_with_index{ |x, i| i.odd? }; b
<shevy> damn
<eval-in__> popl => [2, 4, 6, 8, 10] (https://eval.in/138979)
<shevy> what happened to String#each_char ?
<lagweezle> AlexRussia: I've started using wine to help w/that. :/
<mnemon> shevy: it went away :(
<lagweezle> The drink that is.
<shevy> AlexRussia no, the term is that ! usually means to modify self
<AlexRussia> lagweezle: wine like Wine Is Not Emulator?
<popl> is there something sugary I can use there instead of what I did?
werdnativ has joined #ruby
<shevy> AlexRussia so: x = x.reject! is not the same as x = x.reject
<shevy> mnemon hmmm
<AlexRussia> shevy: i have say, methods with '1' on end
Cmacca has joined #ruby
<popl> like Python's a[::2] or something
<shevy> with 1 ?
<lagweezle> AlexRussia: The kind of wine that Wine Is Not Emulator will drive you to drink. ;)
<Cmacca> Hi, I have a question regarding te use of rake:db
<AlexRussia> '!'*
manlycode has quit [Ping timeout: 240 seconds]
<shevy> popl what are you trying there, you want all odd elements from 1 up to 10?
<popl> shevy: elements with odd indices
<AlexRussia> shevy: with '!'
<popl> shevy: or alternate elements, or every third element, or …
<AlexRussia> lagweezle: if you about alcohol....don't ask me, i can't drink.
apeiros has quit [Remote host closed the connection]
<lagweezle> AlexRussia: Alcohol as a sleep aid.
<Cmacca> hello?
<popl> not really
<popl> Cmacca: Ask your question.
<AlexRussia> lagweezle: i love hot tea with milk.....sugar......mmmm.....hot green tea....
apeiros has joined #ruby
<shevy> >> (1..10).select { |i| i % 2 != 0 }
<eval-in__> shevy => [1, 3, 5, 7, 9] (https://eval.in/138980)
<AlexRussia> shevy: just say, i get somewhere bug or no?
<lagweezle> AlexRussia: Oh that does sound good, although green tea with those I'd not have thought would be a great mix. I may have to try that some time.
<shevy> >> (1..10).select { |i| i % 2 == 0 }
<eval-in__> shevy => [2, 4, 6, 8, 10] (https://eval.in/138981)
<popl> shevy: you're selecting on the value of the element itself
<AlexRussia> shevy: self.clients retuned new array
<popl> shevy: I want to select based on array position
<AlexRussia> lagweezle: traditional russian......
<Cmacca> Ok, so I've been having numerous issues with getting rake:db to work with my postgres installation (they told me to come over here with it). The readme I'm trying to follow is here: http://pastebin.com/uJxBNwUp. I keep getting a Ruby version error. It gave me an error that I had the incorrect ruby version than what was in the Gemfile. However, when I changed the ruby version in the Gemfile to what it said I had, it gave me the same error, but wit
<popl> i % 2 == 0 can be written as i.even?
<shevy> AlexRussia I am sure you have bugs ;)
<benzrf> argh wtf
<AlexRussia> lagweezle: psss, you have some bears in your friend-list?
centrx has joined #ruby
ponga has quit [Remote host closed the connection]
<benzrf> ruby_parser seems to randomly use lvar and call interchangably
<AlexRussia> shevy: where?
<shevy> AlexRussia EVERYWHERE!!!
<benzrf> i cannot find any pattern in which one it parses an identifier as
* benzrf flips a table
<AlexRussia> shevy: lol
pika_pika has quit [Ping timeout: 276 seconds]
<AlexRussia> shevy: you are troll!
<popl> It's a tiny table.
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
<benzrf> look at this
<benzrf> [74] pry(main)> parser.parse 'foo.bar'
<benzrf> => s(:call, s(:lvar, :foo), :bar)
<benzrf> [75] pry(main)> parser.parse 'bar.foo'
<benzrf> => s(:call, s(:call, nil, :bar), :foo)
<Cmacca> @popl?
<benzrf> wut?!
<lagweezle> AlexRussia: My father has a samovar. ^^
<AlexRussia> lagweezle: so really?
<lagweezle> AlexRussia: Da.
<AlexRussia> lagweezle: ofigenno
<popl> Ok, time to hang out in a different channel for awhile.
popl has left #ruby [#ruby]
<lagweezle> AlexRussia: I have a little bit of russian blood. My first name is Nikolai. ^^
no6 has joined #ruby
SvenOostenbrink has quit [Read error: Connection reset by peer]
<Cmacca> popl?
<AlexRussia> ugu, Nikolai.amazonaws.com ;)
SvenOostenbrink has joined #ruby
<shevy> lagweezle your father has a samovar but my father was a samurai!
<lagweezle> shevy: O.O
combusean has joined #ruby
Azure has quit [Quit: My MBP went to sleep.]
<shevy> Cmacca your question was too long
<shevy> can you break it into smaller chunks?
agent_white has joined #ruby
<Cmacca> ok
<Cmacca> I've been having numerous issues with getting rake:db to work with my postgres installation (they told me to come over here with it). The readme I'm trying to follow is here: http://pastebin.com/uJxBNwUp.
<AlexRussia> lagweezle: father shevy just nazi ;)
CaptainJet has quit [Remote host closed the connection]
<Cmacca> I keep getting a Ruby version error. It gave me an error that I had the incorrect ruby version than what was in the Gemfile.
CaptainJet has joined #ruby
Azure has joined #ruby
<AlexRussia> да ладно, что такого я скзал...обидится еще
<AlexRussia> сказал*
<Cmacca> However, when I changed the ruby version in the Gemfile to what it said I had, it gave me the same error, but with the numbers reversed, saying that I actually had the version that was outdated instead.
ponga has quit [Read error: No route to host]
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
<shevy> eh
codebro has joined #ruby
<shevy> Can't really reproduce easily, I don't use rake or bundler
<shevy> why must you use rake:db anyway?
no6 has quit [Ping timeout: 240 seconds]
<shevy> and who is "they" to tell you to come here
* lagweezle pesters google translate.
cj3kim has quit [Remote host closed the connection]
radic has quit [Ping timeout: 240 seconds]
manlycode has joined #ruby
<lagweezle> Ah. I /suspect/ shevy knows you're joking, AlexRussia .
<benzrf> shevy: rake helps you reproduce?
<shevy> benzrf oh no, rake does not help me with anything which is why I don't use it
nateberkopec has joined #ruby
agent_white has quit [Client Quit]
mr_snowf1ake has quit [Ping timeout: 252 seconds]
<AlexRussia> lagweezle: угу, он болшой joker
jwhorto1 has joined #ruby
<shevy> I have more than 20.000 alias and directly call ruby methods in different .rb files if needed, so I have my "rakefiles" globally available all the time - just in plain ruby code, no Rakefiles
<lagweezle> AlexRussia: Google translate fails me. Something about a ballet dancing joker?
agent_white has joined #ruby
charliesome has joined #ruby
<AlexRussia> lagweezle: stop, you say, your first name Nikolay
<Cmacca> Oh.
<Cmacca> I was redirected here by #postgresql
GlenK has quit []
<AlexRussia> lagweezle: and why you use GT?
<lagweezle> AlexRussia: GT?
<lagweezle> OH!
<AlexRussia> lagweezle: Google Translater
<lagweezle> AlexRussia: I can't speak or read Russian.
<AlexRussia> ;)
<AlexRussia> lol
<AlexRussia> lagweezle: maybe, your father brown bear? :P
<AlexRussia> lagweezle: joke, joke
<AlexRussia> lagweezle: joke[r]
<lagweezle> AlexRussia: I have some bear in the family a ways back, I think. Mostly I'm a loony Celt (Irish, Welsh, and Scottish)
radic has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
pdtpatri1k has quit [Quit: leaving]
<shevy> Cmacca ok
pdtpatrick has joined #ruby
<shevy> Cmacca usually what I do when I want to use postgresql from ruby is I install postgresql
<shevy> and then I install the ruby bindings to it
<shevy> the second step can be done via "gem"
saarinen has joined #ruby
<agent_white> Evenin folks
sski has quit [Remote host closed the connection]
nateberkopec has quit [Ping timeout: 240 seconds]
<benzrf> yello
* lagweezle yays as he refinds the orbital equations he needs.
sski has joined #ruby
<shevy> Cmacca the pg gem is the gem for postgresql -> https://rubygems.org/gems/pg "gem install pg" must suffice
<shevy> now after that has been done, all should be fine and work well with ruby+postgresql
kyb3r__ has joined #ruby
<benzrf> oh phew i figured it out :-)
<shevy> lagweezle you have a bear in your family?
<shevy> your sister?
<benzrf> ruby_parser is a genius & it understands scope
<shevy> benzrf go haskelling
<benzrf> so it indicates parsed ruby as either lvar or method call based on nearby parsed assgn
<benzrf> sweet
<lagweezle> shevy: That, or a werewolf. Not sure how else to explain the hair I'm getting.
<shevy> lol
braincrash has quit [Quit: bye bye]
centrx has quit [Quit: All this computer hacking is making me thirsty]
<benzrf> yo wtffff
helpD has joined #ruby
<benzrf> >> if false; var = 3; end; var
<eval-in__> benzrf => nil (https://eval.in/138982)
<benzrf> ???????????
<benzrf> RUBYYYYYY
* lagweezle grins at shevy
<benzrf> this shit is why python is winning
<AlexRussia> lagweezle: lol, Celt :)
<AlexRussia> lagweezle: too much bad it's Crazy Colt ;0
<shevy> benzrf no, that is just the ruby parser making certain assumptions
sski has quit [Ping timeout: 240 seconds]
<shevy> whoa
iamjarvo has joined #ruby
<shevy> in 2008 dave thomas still replied to mails on the mailing list
* lagweezle eyes eval-in__
braincrash has joined #ruby
kyb3r_ has quit [Ping timeout: 276 seconds]
freerobby has quit [Quit: Leaving.]
<lagweezle> >> "%f" % "3.532e+12"
<eval-in__> lagweezle => "3532000000000.000000" (https://eval.in/138983)
helpD has quit [Ping timeout: 252 seconds]
spyderman4g63 has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
<lagweezle> >> "3.532e+12".to_i / 200000
<shevy> will anyone give me moral support
<eval-in__> lagweezle => 0 (https://eval.in/138984)
<lagweezle> ...
<shevy> and confirm that readline is annoying to use from ruby?
yubrew has joined #ruby
spyderman4g63 has joined #ruby
<shevy> in particular tab completion
<lagweezle> shevy: readline is annoying to use, full stop.
maletor has quit [Quit: Computer has gone to sleep.]
<shevy> \o/
<lagweezle> >> "3.532e+12".to_i
<eval-in__> lagweezle => 3 (https://eval.in/138985)
<lagweezle> Oh. That explains a great deal. -.-
<shevy> lol
<lagweezle> >> "3.532e+12".to_f / 200000
<eval-in__> lagweezle => 17660000.0 (https://eval.in/138986)
<lagweezle> \o/
kitak_ has quit [Read error: Connection reset by peer]
<lagweezle> gah
<lagweezle> 17 million m/s velocity?! That can't be right ...
kitak_ has joined #ruby
<lagweezle> OH!
maroloccio has quit [Quit: WeeChat 0.4.3]
<lagweezle> >> Math.sqrt("3.532e+12".to_f / 200000)
<eval-in__> lagweezle => 4202.380277890139 (https://eval.in/138987)
jamto11_ has joined #ruby
ponga has quit [Remote host closed the connection]
nateberkopec has quit [Ping timeout: 240 seconds]
jenskarlsen has joined #ruby
diegoviola has joined #ruby
yubrew has quit [Ping timeout: 250 seconds]
<shevy> how fast is light
yfeldblu_ has quit [Read error: Connection reset by peer]
<lagweezle> 3.8e10 m/s ?
yfeldblum has joined #ruby
evenix has quit [Remote host closed the connection]
browndawg has quit [Ping timeout: 276 seconds]
<lagweezle> Oh. Nope. Just 3e8 m/s
Cmacca has left #ruby [#ruby]
<lagweezle> Wonder why I keep putting the 10 in there ...
evenix has joined #ruby
<lagweezle> AH! 3*10^8 and I'm getting order confused. Ahh..
nari has joined #ruby
<shevy> hmm
<shevy> that's not so fast
Steve445 has joined #ruby
jamto11_ has quit [Ping timeout: 250 seconds]
<Steve445> can someone exaplain why these two lines output the same result? From the documentaiton they should be different:
<Steve445> puts Date.strptime('2014 00', '%G %U')
<Steve445> puts Date.strptime('2014 00', '%G %W')
kayloos has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
<lagweezle> I need to get a notebook for my orbital mechanics notes...
i_s has joined #ruby
<lagweezle> I never would have thought that a video game would hve inspired me to learn this kind of thing.
evenix has quit [Ping timeout: 252 seconds]
funktor has joined #ruby
toastynerd has joined #ruby
larsam has quit [Ping timeout: 252 seconds]
funktor has quit [Client Quit]
jonno11 has joined #ruby
kayloos has quit [Ping timeout: 276 seconds]
i_s has quit [Ping timeout: 240 seconds]
chipotle_ has quit [Quit: cya]
Milly_Bays has quit [Quit: Leaving]
timonv has joined #ruby
TripTastic has joined #ruby
SvenOostenbrink has quit [Ping timeout: 252 seconds]
bthesorceror has quit [Remote host closed the connection]
bthesorceror has joined #ruby
seuros has quit [Ping timeout: 250 seconds]
Guedes0 has joined #ruby
<AlexRussia> lagweezle: orbital mechanic?O_O
browndawg has joined #ruby
lukec has joined #ruby
<Lightsword> what options can I pass to this object and how would I format it? http://rdoc.info/github/toretore/barby/Barby/RmagickOutputter:to_image
etqqkoiflwhb has quit [Ping timeout: 240 seconds]
Terminus- has quit [Quit: i have no name]
<lagweezle> AlexRussia: I think that is the right term...
timonv has quit [Ping timeout: 250 seconds]
sailias has quit [Ping timeout: 276 seconds]
<lagweezle> Apparently also known as astrodynamics.
bthesorceror has quit [Ping timeout: 252 seconds]
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<AlexRussia> lagweezle: thank, i understand without google or wiki
<lagweezle> :)
<pontiki> lagweezle: KSP?
<lagweezle> AlexRussia: It's all new to me. Thank you Kerbal Space Program for renewing my love of science.
<pontiki> amazing game
TripTastic has left #ruby ["Leaving"]
<AlexRussia> lagweezle: just its not popular profession, i think
<AlexRussia> not very*
<lagweezle> pontiki: Well done! And yes! I'm still debating buying a few more copies for the nieces and nephews.
<lagweezle> AlexRussia: Certainly not an easy one to get into!
<Steve445> anyone able to explain why this does not provided expected response: puts Date.strptime('2014 00', '%G %W')
<shevy> puts Date.strptime('2014 00', '%G %W') # 2013-12-30
<lagweezle> Right now I'm trying to figure out the orbital period for a satellite at 200,000 km so I know how large the batteries need to be. Heh.
<Steve445> now try: puts Date.strptime('2014 00', '%G %U’)
<lagweezle> er, 200km
<Steve445> should give two different results
<shevy> DateTime.strptime("11/28/2011 05:00", "%m/%d/%Y %H:%M") # => #<DateTime: 2011-11-28T05:00:00+00:00 ((2455894j,18000s,0n),+0s,2299161j)>
<pontiki> >> puts Date.strptime('2014 00', '%G %U')
<eval-in__> pontiki => undefined method `strptime' for Date:Class (NoMethodError) ... (https://eval.in/138989)
<Steve445> require “date"
bthesorceror has joined #ruby
mansi has quit [Remote host closed the connection]
<pontiki> >> require 'date'; puts Date.strptime('2014 00', '%G %U')
<eval-in__> pontiki => 2013-12-30 ... (https://eval.in/138990)
<pontiki> >> require 'date'; puts Date.strptime('2014 00', '%G %W')
<eval-in__> pontiki => 2013-12-30 ... (https://eval.in/138991)
<shevy> %U is month?
<Steve445> Week numbers
<Steve445> U is the Sunday as the first day or week and W is monday
<Steve445> U should be 29 in this case
caleb_io has joined #ruby
freerobby has joined #ruby
bluOxigen has joined #ruby
<Steve445> puts Date.strptime('2014 00', '%G %U’) should come out to 2013-12-29
<Steve445> at least thats my understanding
<Steve445> see strftime “Weel Numbers” section
<Steve445> Week Numbers section
BWStearns has joined #ruby
<Steve445> any ideas?
<pontiki> >> puts Date.new(2013,12,30).wday
<eval-in__> pontiki => wrong number of arguments (3 for 0) (ArgumentError) ... (https://eval.in/138992)
<Steve445> I only have Year and Week number to work with
<Steve445> the problem is the values i have to work with for the week numbers are 0-53
freerobby has quit [Ping timeout: 240 seconds]
<Steve445> iso8601 is 1-52
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
<pontiki> >> require 'date'; puts Date.strptime("2014 52","%G %U")
<eval-in__> pontiki => 2013-12-30 ... (https://eval.in/138993)
<pontiki> ?
<Steve445> 2013-12-30 is a Monday
<Steve445> it should be 2013-12-29
ponga has quit [Remote host closed the connection]
<pontiki> i don't see %G defined in strptime(3) man page...
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
<Steve445> search for: “ISO 8601 week-based year and week number:”
<Steve445> I am guessing is the %G thats causing the problem
arietis has joined #ruby
<pontiki> what OS?
<Steve445> but I cant use %Y. Comes back as invalid date
<Steve445> osx
<pontiki> which is BSD...
<pontiki> hang on, i'm looking on linux
toastynerd has quit [Remote host closed the connection]
agrinb has quit [Remote host closed the connection]
ponga has quit [Ping timeout: 240 seconds]
bradhe_ has quit [Remote host closed the connection]
bradhe has joined #ruby
<pontiki> man, i don't know what to say about this
<pontiki> it's really weird
<Steve445> I think its the %G
<pontiki> i don't disagree
<Steve445> but %Y does not work
<Steve445> know of any other % that works?
<Steve445> Unless the result is correct and we are just misunderstanding the result
poguez_ has quit [Quit: Connection closed for inactivity]
njection has joined #ruby
kyb3r__ has quit [Quit: Leaving]
kyb3r_ has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
michaeldeol has joined #ruby
<pontiki> i don't really understand the definition completely; i'm assuming it does produce something distinct than %Y for some dates
tkuchiki_ has joined #ruby
<pontiki> but the defn on strftime is not really very clear, and testing it on output with pry, i can't see what that would be
browndawg has quit [Read error: Connection timed out]
tkuchiki has quit [Ping timeout: 276 seconds]
HashNuke has joined #ruby
<pontiki> stumped am i
<pontiki> >> require 'date'; puts Date.strptime("2014 01","%Y %U")
<eval-in__> pontiki => 2014-01-05 ... (https://eval.in/138994)
browndawg has joined #ruby
<pontiki> >> require 'date'; puts Date.strptime("2014 01","%G %U")
<eval-in__> pontiki => 2013-12-30 ... (https://eval.in/138995)
yubrew has joined #ruby
browndawg has quit [Max SendQ exceeded]
<pontiki> i would say those should be the same
pwh has quit []
freerobby has joined #ruby
cassioscabral has quit [Ping timeout: 240 seconds]
<pontiki> file a bug?
nari has quit [Ping timeout: 276 seconds]
<Steve445> ya thinking its a bug the most i test it
<pontiki> if it's not a bug, maybe you will get an explanation
iamjarvo has quit [Ping timeout: 250 seconds]
<Steve445> How did you get %Y %U to work?
cassioscabral has joined #ruby
<pontiki> i used 01 for the week, not 00
<Steve445> oh oops ya
<pontiki> but 2014 52 should really not give 2013-12-30 either
<Steve445> that scenario makes me think its for sure the %G thats causing the issue. Likely not compatible or overriding
havenwood has quit [Remote host closed the connection]
browndawg has joined #ruby
sdouglas has joined #ruby
<Steve445> mm ya thats a good example too
<pontiki> it makes me believe that it stops parsing anything after it satisfies the %G
havenwood has joined #ruby
yubrew has quit [Ping timeout: 252 seconds]
<Steve445> mmm ya!
<Steve445> even if you flip it
<Steve445> so if you do %U %G
<Steve445> you still get the same value if you did %G %U
freerobby has quit [Ping timeout: 252 seconds]
nateberkopec has joined #ruby
<pontiki> it's bogus
<pontiki> look at this:
<pontiki> >> require 'date'; puts Date.new(2013,12,30).strftime("%G %U")
<eval-in__> pontiki => 2014 52 ... (https://eval.in/138996)
<pontiki> wtf?!
Dreamer3 has quit [Ping timeout: 246 seconds]
<Steve445> Thats correct for 8601
<Steve445> OH no
<Steve445> ya thats a prob
<Steve445> that should be 2013 52
<pontiki> i'd have accepted 2014 00
Dreamer3 has joined #ruby
<pontiki> but yeah, 2013 52
Hamburglr has quit [Read error: Connection reset by peer]
bthesorceror has quit [Ping timeout: 250 seconds]
<Steve445> just making ruby issue. Suggesiton on best examples to show iss?
havenwood has quit [Ping timeout: 252 seconds]
<Steve445> issuue
<pontiki> lots of examples like we just showed
jwhorto1 has left #ruby [#ruby]
iamjarvo has joined #ruby
<pontiki> 2014 00, 2014 01, 2014 52
<pontiki> then show the bogosity of strftime as well
thomasxie has quit [Remote host closed the connection]
thomasxie has joined #ruby
<pontiki> i'm not up to writing a straight C version using the standard routines, but that might be useful
nateberkopec has quit [Ping timeout: 240 seconds]
bthesorceror has joined #ruby
<pontiki> i mean tonight :)
evenix has joined #ruby
<Steve445> :)
<Steve445> apprecaite the sounding board
<Steve445> I thought i was going crazy!
<Steve445> been fighting with it on and off the past few days
Dreamer3 has quit [Ping timeout: 240 seconds]
saarinen has quit [Quit: saarinen]
<Steve445> The pain is dealing with something like MongoDB aggregation framework which only outputs its Week Aggregations in 0-53 ( aka: %U)
chipotle has joined #ruby
centrx has joined #ruby
<Steve445> but everything else except for strptime in ruby Date and Date time uses 01-52
bluOxigen has quit [Ping timeout: 276 seconds]
browndawg has quit [Ping timeout: 240 seconds]
blackavr has joined #ruby
quitobro has joined #ruby
bluOxigen has joined #ruby
quitobro has quit [Remote host closed the connection]
i_s has joined #ruby
<AlexRussia> i'm on a highway to hell.....
<AlexRussia> lagweezle: hey, u are here?
IceDragon has quit [Quit: Space~~~]
bradhe has joined #ruby
tkuchiki_ has quit [Remote host closed the connection]
i_s has quit [Ping timeout: 240 seconds]
tkuchiki has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
mrmargolis has joined #ruby
ktosiek has joined #ruby
nari has joined #ruby
<benzrf> how do i get an enum from 0 to infinity
<AlexRussia> benzrf: 0..Math::Infinity or moethink like that?
<AlexRussia> somethink*
<AlexRussia> benzrf: idk, where infinity saved...
<Steve445> pontiki: are you using latest of ruby 2.0 ?
<centrx> Float::Infinity
<Steve445> just updating to p451 to see if it will make a difference
<benzrf> smells like bad practice
CaptainJet has quit []
<benzrf> hmmmm
<benzrf> isnt there a method for all permutations of sizes up to the length of the ar
mrmargolis has quit [Ping timeout: 240 seconds]
<benzrf> *arr
<benzrf> or something
centrx has quit [Quit: All this computer hacking is making me thirsty]
iamjarvo has quit [Ping timeout: 240 seconds]
leoj3n has joined #ruby
Adran is now known as wrw
wrw is now known as Adran
arietis has joined #ruby
<Steve445> nah same issues
<Lightsword> how do I check if I'm getting output from this to_image function? http://rdoc.info/github/toretore/barby/Barby/RmagickOutputter:to_image
freerobby has joined #ruby
jack_rabbit has quit [Remote host closed the connection]
<pontiki> 2.0.0-p353, Steve445
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
<Steve445> tried with 451 and same issues
blueOxigen has joined #ruby
lukec has quit [Quit: lukec]
<lagweezle> AlexRussia: I am still, yes.
freerobby has quit [Ping timeout: 250 seconds]
<lagweezle> Not for too much longer, though. Just trying to figure out where I'm screwing up this math.
quitobro has joined #ruby
bluOxigen has quit [Ping timeout: 250 seconds]
<AlexRussia> lagweezle: you can't love math?
Guedes0 has quit [Ping timeout: 240 seconds]
quitobro has quit [Client Quit]
lw has joined #ruby
<leoj3n> Hey hey, I'm n00b, can anyone tell me how to do this properly? https://gist.github.com/leoj3n/11132456
lw has quit [Max SendQ exceeded]
<lagweezle> AlexRussia: I think I missed something, as I don't understand what you're asking.
lw has joined #ruby
<AlexRussia> lagweezle: you saying about math....i ask, you can't love math?
Steve445 has quit [Quit: Steve445]
zkay11 has quit [Quit: Leaving.]
haroldwu has quit [Ping timeout: 240 seconds]
haroldwu has joined #ruby
Celm has quit [Remote host closed the connection]
binw has quit [Ping timeout: 240 seconds]
anaeem1 has joined #ruby
emaxi_ has quit [Remote host closed the connection]
grieg has joined #ruby
emaxi has joined #ruby
emaxi has quit [Remote host closed the connection]
binw has joined #ruby
kreisys has quit [Quit: Computer has gone to sleep.]
kreisys has joined #ruby
yubrew has joined #ruby
x1337807x has joined #ruby
kobain has quit [Ping timeout: 252 seconds]
kobain has joined #ruby
i_s has joined #ruby
omosoj has quit [Ping timeout: 240 seconds]
browndawg has joined #ruby
havenwood has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
<AlexRussia> people, rackup is part of ruby or own gem?
i_s has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 240 seconds]
<lxsameer> AlexRussia: it is a gem
<AlexRussia> hm
oo_ has quit [Remote host closed the connection]
<lagweezle> AlexRussia: I suppose I'm friends with math, but not really a lover.
<lagweezle> AlexRussia: I'm failing to get the right numbers when attempting to compute the orbital period of a satellite around Kerbin.
toastynerd has joined #ruby
rjhunter has joined #ruby
helpD has joined #ruby
<AlexRussia> lagweezle: O_o....you are smoking nice weed.....
<lagweezle> AlexRussia: Why do you say that? o.O
<AlexRussia> lagweezle: idk, where Kerbin.....now.....
<AlexRussia> lagweezle: my mind very very up
<lagweezle> AlexRussia: It is 'earth' in the game Kerbal Space Program.
oo_ has joined #ruby
<AlexRussia> lagweezle: lol
<AlexRussia> lagweezle: <facepalm>
<AlexRussia> lagweezle: i seen, you love 'games'
Steve445 has joined #ruby
<AlexRussia> lxsameer: ah, this is park of rake, right?
<lagweezle> AlexRussia: Not so much. I was addicted to WoW for quite some time. KSP is one of the few games I've gotten really into.
<AlexRussia> addict fuuuuuuuuuuuuuuuuu
<AlexRussia> lagweezle: am, i forget ask
<AlexRussia> lagweezle: what system you use?
nateberkopec has joined #ruby
havenwood has quit [Ping timeout: 276 seconds]
<AlexRussia> linux x64
<AlexRussia> maybe
helpD has quit [Ping timeout: 276 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lagweezle> AlexRussia: OS X for my desktop
lw has quit [Quit: s]
<AlexRussia> lagweezle: and irc on own server?
<AlexRussia> lagweezle: linux*
<lagweezle> AlexRussia: Aye. Got it on an ec2 system.
<AlexRussia> lagweezle: aye?
<lagweezle> AlexRussia: aye = yes
<AlexRussia> lagweezle: i think, you forget change a to s ;)
e^ipi has joined #ruby
anaeem1 has quit [Remote host closed the connection]
mr_snowf1ake has joined #ruby
Bofu2U has quit [Ping timeout: 250 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
<lagweezle> hee
<lagweezle> aye, aye, matey!
jamto11 has quit []
jamto11_ has joined #ruby
<AlexRussia> lagweezle: lol, i seen, good weed in this year.....
timonv has joined #ruby
<lagweezle> Nah. I'm just naturally weird.
<AlexRussia> lagweezle: nice
<AlexRussia> We spies, we slow hands
<AlexRussia> Put the weights all around yourself
<AlexRussia> We spies, oh yeah, we slow hands
<AlexRussia> We retire like nobody else
<AlexRussia> lagweezle: i'm too ^
manlycode has quit [Ping timeout: 250 seconds]
jamto11_ has quit [Ping timeout: 240 seconds]
kayloos has joined #ruby
timonv has quit [Ping timeout: 252 seconds]
kenndel has joined #ruby
browndawg has quit [Quit: Leaving.]
<agent_white> My favorite is Untitled
<agent_white> ;)
caleb_io has quit [Quit: caleb_io]
stormbytes has joined #ruby
kenndel_ has quit [Ping timeout: 240 seconds]
<stormbytes> evening folks
<agent_white> Evenin'
<stormbytes> is there something about stdout that doesn't bubble through multiple calls?
cover has joined #ruby
<stormbytes> like.. if script.rb calls system(mysqldump)
<stormbytes> calling script.rb from the command line, the only time i get some output from that call is stderr
<stormbytes> but nothing from stdout
kayloos has quit [Ping timeout: 252 seconds]
lolmaus has joined #ruby
oo_ has quit [Remote host closed the connection]
iamjarvo has joined #ruby
jeaye has joined #ruby
<stormbytes> i'm intentionally omitting arguments in the system() call
<rjhunter> stormbytes: `system` returns stdout as a string
s3ri0us|away has quit [Quit: Linkinus - http://linkinus.com]
jeaye has left #ruby ["WeeChat 0.4.3"]
Xeago has joined #ruby
rorr has joined #ruby
r_rios has quit [Ping timeout: 276 seconds]
<rorr> working on ruby on rails ... When I write "bundle exec rake db:migrate" I get the error "cannot load such file tasks/rails"
<rorr> need help
<rorr> my Rakefile : http://ideone.com/L9lmt3
bradhe has quit [Remote host closed the connection]
eynj1 has quit [Read error: Connection reset by peer]
<pontiki> are you running that from the rails app root?
<rorr> yes
bradhe has joined #ruby
<stormbytes> rjhunter if i run system(mysqldump) from the command line (omitting the required arguments) i get the help page
mr_snowf1ake has quit [Ping timeout: 250 seconds]
<pontiki> what in the world is the Main.java stuff???
<stormbytes> rjhunter I don't understand why i don't get the same when running the command from within my own script, when that script is executed from the command line
<pontiki> also, rorr, you should really be asking rails questions over in #RubyOnRails
<stormbytes> i'm following a command line apps in ruby tutorial
northfurr has quit [Quit: northfurr]
Gabri has joined #ruby
<rjhunter> stormbytes: hmm, i may have mislead you on `system` returning a string
<stormbytes> i'm a novice with ruby but.. i probably would have caught that ;)
<rorr> pontiki: nothing happening when I click #RubyOnRails
<stormbytes> here's the code, again.. its just a tutorial i'm following so its just sample code
<pontiki> what does "click #RubyOnRails" mean?
iamjarvo has quit [Ping timeout: 276 seconds]
sepp2k has quit [Quit: Leaving.]
freerobby has joined #ruby
<xorl> I am confused on how to access a returned method from the aws-sdk in ruby
bradhe_ has joined #ruby
<stormbytes> if i run system("mysqldump") from irb, i get the mysqldump help page
bradhe has quit [Read error: Connection reset by peer]
<stormbytes> but if i call it from a script (that's being called/executed from the command line) i don't.
<xorl> in there documentation is says I can access this via #each, #each_batch, #enum ...
<xorl> but it yields no data
JohnBat26 has joined #ruby
noop has joined #ruby
Gabri has quit [Client Quit]
<rjhunter> stormbytes: what about: ruby -e 'system("mysqldump")'
<xorl> does that mean it's requiring the specification of said vpc_id?
oo_ has joined #ruby
<rorr> pontiki: nothing happening when I click #RubyOnRails
Steve445 has quit [Quit: Steve445]
michaeldeol has quit [Ping timeout: 276 seconds]
<stormbytes> rjhunter its not so much that i *need* the help page, i just want to understand why its not 'bubbling up' to stdout (when the command is called from inside a script)
blackavr has quit [Quit: blackavr]
<rjhunter> rorr: this channel is called #Ruby and the channel you want is called #RubyOnRails -- however you joined this channel, do the same but type in #RubyOnRails wherever you typed #Ruby
<rjhunter> stormbytes: in that case, i'd start by making sure that it's nothing `mysqldump` is doing. try with a simple script that just prints "stdout" to stdout, and "stderr" to stderr.
<pontiki> rorr: i *still* have no idea what you mean by "click #RubyOnRails"
freerobby has quit [Ping timeout: 250 seconds]
michael_lee has quit [Quit: Ex-Chat]
<pontiki> stormbytes: there is no "bubble up"
<pontiki> stormbytes: you have to tell ruby to print the output coming from the system command
<stormbytes> there is none
<pontiki> irb does that automatically, but ruby does not
supermarin has quit [Quit: Computer has gone to sleep.]
<pontiki> have you tried puts system(mysqldump) ?
supermarin has joined #ruby
cj3kim_ has joined #ruby
<stormbytes> yes
<stormbytes> it does exactly the same thing in both cases
<pontiki> alright, gist your code and output
anarang has joined #ruby
<stormbytes> this is tutorial code for a ruby command line script
toastynerd has quit [Remote host closed the connection]
<pontiki> what is the contents of the output file you gave in command?
<pontiki> on line 67
<stormbytes> pretty sure its blank but let me check
<pontiki> also, not entirely sure why you call system on line 68, then turn around and run capture3 again
browndawg has joined #ruby
<pontiki> if you send stdout to a file, even if it's empty, nothing will come back to ruby
<stormbytes> its empty
arietis has quit [Quit: Computer has gone to sleep.]
supermarin has quit [Ping timeout: 245 seconds]
<stormbytes> i was wondering about that too. i was following the tutorial
<pontiki> try you command straight from the shell and see what you get
<stormbytes> i just changed the code (commented lines 60 - 69) and replaced "system("mysqldump")
oo_ has quit [Remote host closed the connection]
<pontiki> again, try the command straight in the shell
<stormbytes> worked exactly at it should.. there must be something in my code suppressing 'help page'
<stormbytes> that mysqldump puts to stdout
<pontiki> try this in your shell: `mysqldump 2>/dev/null`
grieg has quit [Ping timeout: 276 seconds]
<pontiki> then try `mysqldump 1>/dev/null` and tell if theres a difference
dapz has joined #ruby
<stormbytes> the second one (1) doesn't output anything
<stormbytes> the first (2) behaves as expected, printing the help text
Celm has joined #ruby
oo_ has joined #ruby
<pontiki> okay, now try this: `ruby -e 'system("mysqldump")'`
<stormbytes> again, worked as expected
emaxi has joined #ruby
<pontiki> now, gist the code you are actually running
<stormbytes> i just found it --
<stormbytes> you pointed out the > file
RowdyChild|Away is now known as RowdyChildren
<pontiki> yes
<stormbytes> eventhough the file was empty
<stormbytes> i had initially looked into that file for the output, and since it was empty, assumed it wasn't being output to file
<stormbytes> but now that i commented out the reference > file it works as it should
<pontiki> great, now try the mysqldump command that should have been working directly in the shell
cj3kim__ has joined #ruby
yubrew has joined #ruby
<stormbytes> i'm intentionally omitting args for the mysqldump command to get it to output the help text.. but why isn't it printing it to file in the earlier example?
<pontiki> why do you assume there's any output from the full mysqldump command?
agent_white has quit [Read error: Connection reset by peer]
<stormbytes> well, there is when i run it in the shell
<stormbytes> and, there is when i run it via 'system(mysqldump)' inside irb
Celm has quit [Ping timeout: 240 seconds]
kevinykchan has joined #ruby
<pontiki> just mysqldump?
<stormbytes> mysqldump requires some params which, when omitted, result in the help file being printed to stdout
<stormbytes> yes
<pontiki> or mysqldump -u user -p password databasename > output.sql ?
toastynerd has joined #ruby
<stormbytes> well that's how it *should* be presented, yes
<pontiki> fuck
<stormbytes> ?
<pontiki> DO YOU GET OUTPUT FROM THAT COMMAND?????
<stormbytes> yes
<pontiki> not just mysqldump
<stormbytes> STDERR
<pontiki> the full command
<stormbytes> yes yes
<stormbytes> i mean..
<stormbytes> i don't actually have MySQL running
<stormbytes> so.. i'm expecting it to fail
<benzrf> dont use mysql
<benzrf> use postgresql
oo_ has quit [Remote host closed the connection]
emaxi has quit [Ping timeout: 252 seconds]
<benzrf> [pronounced 'post-gres-q-l']
agent_white has joined #ruby
cj3kim_ has quit [Ping timeout: 276 seconds]
<stormbytes> personally i think David Copeland picked the shittiest example
arietis has joined #ruby
<pontiki> or you did
Steve445 has joined #ruby
<stormbytes> dude, i'm taking this stuff right out of his book
<pontiki> and yet, you're not running mysql
<stormbytes> i'm not about to setup MySQL, a database, etc
<stormbytes> he doesn't ask you to
<pontiki> THEN USE A FUCKING DIFFERENT COMMAND
yubrew has quit [Ping timeout: 276 seconds]
<stormbytes> thought of that… but the book builds on this one #@#$%$ script from chapter to chapter
<stormbytes> i don't even use MySQL
Steve445 has left #ruby [#ruby]
<stormbytes> The author is really knowledgable and I think he's put some thought behind the examples, but its obvious he's a first-time author
Steve21 has joined #ruby
Steve21 has joined #ruby
<benzrf> mysql is a dumb db for dumb apps written by dumb people
spyderma_ has joined #ruby
pontiki has quit [Quit: nini, folx, bedtime for this mousie]
<Steve21> h
<benzrf> *not 100% true
spyderman4g63 has quit [Ping timeout: 252 seconds]
<stormbytes> pontiki - here's the crux of it all: when calling system(mysqldump > file), **knowing** it will fail, why is the help file output not prtined to the file?
<stormbytes> printed
<benzrf> stormbytes: stderr vs stdout perhaps
<Steve21> When you use github can you tell me some popular Issue queue questions you would want to answer: https://github.com/StephenOTT/GitHub-Analytics working on this and looking to prioritize some analysis questions
<stormbytes> benzrf stderr works fine
<rjhunter> stormbytes: when you type `mysqldump > output.sql` into a shell on your terminal, do you see output on your terminal?
RowdyChildren is now known as RowdyChild|Away
<stormbytes> rjhunter no, but i do see the help text output to file
<stormbytes> which does *not happen in my script
<stormbytes> i'd like to understand why, if i can.
<stormbytes> ugh i can't type
<rjhunter> stormbytes: ok, first, let's take mysql out of the picture
<rjhunter> stormbytes: let's just use a tiny script that prints "i am stdout" to stdout
Dreamer3 has joined #ruby
<rjhunter> (you can add stderr as well)
<stormbytes> the 'mysqldump' command prints just fine to stdout
<rjhunter> no
<rjhunter> do not use mysqldump yet
<stormbytes> ok
<rjhunter> it conflates matters
LostDatagram has quit [Quit: Bye :P - znc.in]
<rjhunter> you can put it back when you're sure of how things fit together
sdouglas has quit [Remote host closed the connection]
<stormbytes> 'ls' prints to stdout
<rjhunter> sure, use that
sdouglas has joined #ruby
<stormbytes> i tried all this
sigurding has joined #ruby
<rjhunter> do you observe the same behaviour as when you were using mysqldump?
<stormbytes> i've been at this for a while
<stormbytes> oh, you mean substitute.. hm
<stormbytes> ok
tectonic has quit []
<stormbytes> works just fine
LostDatagram has joined #ruby
sdouglas_ has joined #ruby
<stormbytes> i just referenced a c script that outputs 'hello world'
noop has quit [Ping timeout: 240 seconds]
LostDatagram has quit [Client Quit]
<rjhunter> ok, so a tool that always -- unconditionally -- prints to stdout, behaves the way you'd expect
oo_ has joined #ruby
sdouglas has quit [Ping timeout: 240 seconds]
<stormbytes> yes
chipotle has quit [Quit: cya]
<rjhunter> but msqldump doesn't behave the way you expect
sigurding has quit [Client Quit]
<rjhunter> which tells you that mysqldump doesn't always -- unconditionally -- print to stdout
<stormbytes> no, it does.. without the "> file"
Dreamer3 has quit [Ping timeout: 245 seconds]
<rjhunter> please substitute exactly
<rjhunter> so you're only changing one thing at a time
<stormbytes> i started out with this :
<rjhunter> that way, you can reason about the differences
<stormbytes> command = "mysqldump #{auth}#{database_name} #{output_file}"
<rjhunter> no `>` sign?
<stormbytes> oops, sorry pasted wrong
<stormbytes> command = "mysqldump #{auth}#{database_name} > #{output_file}"
<stormbytes> (now) I have this :
<stormbytes> command = "mysqldump #{auth}#{database_name}" # "> #{output_file}"
nateberkopec has joined #ruby
<stormbytes> and that works just fine (mysqldump help text shows up in stdout)
<stormbytes> i substituted before with: command ("./hello.out")
benzrf is now known as benzrf|offline
<stormbytes> and that worked fine both with/without a "> file.txt"
LostDatagram has joined #ruby
nisstyre has quit [Quit: WeeChat 0.4.3]
browndawg has quit [Ping timeout: 240 seconds]
toastynerd has quit [Remote host closed the connection]
Dreamer3 has joined #ruby
<stormbytes> i found my prob
<stormbytes> damn file name was empty
<stormbytes> damn idiot
<stormbytes> thanks rjhunter pontiki
rm_ has quit [Remote host closed the connection]
rm_ has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
cj3kim__ has quit [Read error: Connection reset by peer]
cj3kim_ has joined #ruby
werdnativ has quit [Quit: werdnativ]
Dreamer3 has quit [Ping timeout: 240 seconds]
werdnativ has joined #ruby
LostDatagram has quit [Quit: Bye :P - znc.in]
rm_ has quit [Ping timeout: 252 seconds]
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
LostDatagram has joined #ruby
rorr has quit [Ping timeout: 240 seconds]
LostDatagram has quit [Client Quit]
SCommette has joined #ruby
dapz has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
SCommette has quit [Client Quit]
browndawg has joined #ruby
kevinykchan has joined #ruby
mrmargolis has joined #ruby
skaflem has joined #ruby
SonicX has quit [Read error: Connection reset by peer]
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SonicX has joined #ruby
alpha123 has quit [Ping timeout: 276 seconds]
mrmargolis has quit [Ping timeout: 240 seconds]
ktosiek has quit [Ping timeout: 245 seconds]
alpha123 has joined #ruby
sandelius has joined #ruby
freerobby has joined #ruby
phansch has joined #ruby
cj3kim_ has quit [Remote host closed the connection]
dapz has joined #ruby
LostDatagram has joined #ruby
enriclluelles has joined #ruby
bradhe_ has quit [Remote host closed the connection]
noop has joined #ruby
browndawg has quit [Ping timeout: 240 seconds]
klaut has joined #ruby
hobodave_ has quit [Remote host closed the connection]
anaeem1 has joined #ruby
freerobby has quit [Ping timeout: 252 seconds]
cj3kim_ has joined #ruby
LostDatagram has quit [Ping timeout: 240 seconds]
e^ipi has left #ruby [#ruby]
emaxi has joined #ruby
chipotle has joined #ruby
cj3kim_ has quit [Remote host closed the connection]
akonny has joined #ruby
claymore has joined #ruby
yubrew has joined #ruby
robbyoconnor has quit [Ping timeout: 245 seconds]
robbyoconnor has joined #ruby
emaxi has quit [Ping timeout: 245 seconds]
Celm has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
SonicX has quit [Read error: Connection reset by peer]
magic_ has quit [Ping timeout: 276 seconds]
AliRezaTaleghani has joined #ruby
AliRezaTaleghani has left #ruby [#ruby]
browndawg has joined #ruby
blackavr has joined #ruby
seuros has joined #ruby
claymore has quit [Ping timeout: 250 seconds]
Celm has quit [Ping timeout: 240 seconds]
claymore has joined #ruby
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chipotle has quit [Quit: cya]
dapz has joined #ruby
dachi has quit [Quit: ...]
SilkFox has quit [Read error: Connection reset by peer]
LostDatagram has joined #ruby
SilkFox has joined #ruby
benzrf|offline is now known as benzrf
browndawg has quit [Ping timeout: 250 seconds]
<benzrf> yo
nomenkun has joined #ruby
<benzrf> first buggy alpha version of a mini gem i made for future use in Quick
<benzrf> anybody know if something like this but better already exists:
tuxtgz has joined #ruby
kitak_ has quit [Read error: Connection reset by peer]
kitak_ has joined #ruby
blueOxigen has quit [Ping timeout: 240 seconds]
timonv has joined #ruby
LostDatagram has quit [Ping timeout: 276 seconds]
oo_ has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
n0n3 has joined #ruby
LostDatagram has joined #ruby
<benzrf> i rly do not want to have to repimplement a half-baked version of constant lookup
<benzrf> ¬_¬
helpD has joined #ruby
Soda has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 245 seconds]
bradhe has joined #ruby
himsin has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
evenix has quit [Remote host closed the connection]
nateberkopec has joined #ruby
evenix has joined #ruby
helpD has quit [Ping timeout: 240 seconds]
bradhe has quit [Ping timeout: 250 seconds]
cj3kim_ has joined #ruby
Hanmac has joined #ruby
fluve has quit []
evenix has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
jamto11 has joined #ruby
Hanmac1 has quit [Ping timeout: 276 seconds]
browndawg has joined #ruby
robbyoconnor has joined #ruby
banister has joined #ruby
jackneill has joined #ruby
jackneill has quit [Changing host]
jackneill has joined #ruby
dachi has joined #ruby
sdouglas_ has quit [Remote host closed the connection]
jamto11 has quit [Ping timeout: 240 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
kayloos has joined #ruby
cassioscabral has quit [Ping timeout: 240 seconds]
paolooo has joined #ruby
paolooo has quit [Client Quit]
paolooo has joined #ruby
paolooo has quit [Client Quit]
bambuka has joined #ruby
kayloos has quit [Ping timeout: 245 seconds]
Oog has joined #ruby
sigurding has joined #ruby
agent_white has quit [Quit: brb]
rjhunter has quit [Remote host closed the connection]
benzrf is now known as benzrf|offline
robbyoconnor has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
robbyoconnor has joined #ruby
_justin has joined #ruby
lxsameer has quit [Ping timeout: 276 seconds]
blackavr has quit [Quit: blackavr]
phansch has quit [Quit: WeeChat 0.4.2]
freerobby has joined #ruby
lolmaus has quit [Remote host closed the connection]
sigurding has quit [Quit: sigurding]
agent_white has quit [Quit: leaving]
freerobby has quit [Ping timeout: 250 seconds]
emaxi has joined #ruby
agent_white has joined #ruby
noop has quit [Ping timeout: 240 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
relix has joined #ruby
yubrew has joined #ruby
dachi has quit [Quit: ...]
emaxi has quit [Ping timeout: 245 seconds]
spyderman4g63 has joined #ruby
yubrew has quit [Ping timeout: 250 seconds]
spyderma_ has quit [Ping timeout: 276 seconds]
Merks has joined #ruby
Celm has joined #ruby
tuxtgz has quit [Ping timeout: 276 seconds]
obs has joined #ruby
Celm has quit [Ping timeout: 240 seconds]
blackmes1 has joined #ruby
_justin has quit [Quit: _justin]
seuros has quit [Ping timeout: 250 seconds]
Dreamer3 has joined #ruby
nihils has quit [Quit: Linkinus - http://linkinus.com]
nichtdiebohne has joined #ruby
andrewlio has joined #ruby
_justin has joined #ruby
timonv has joined #ruby
bradhe has joined #ruby
oo_ has quit [Remote host closed the connection]
noop has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
shime has joined #ruby
leoj3n has quit [Quit: WeeChat 0.4.3]
oo_ has joined #ruby
alexherbo2 has joined #ruby
nateberkopec has joined #ruby
lolmaus has joined #ruby
seuros has joined #ruby
akonny has quit [Quit: akonny]
combusean has quit [Ping timeout: 245 seconds]
dumdedum has joined #ruby
marr has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
seuros has quit [Ping timeout: 240 seconds]
browndawg has quit [Ping timeout: 252 seconds]
banister has joined #ruby
Bofu2U has joined #ruby
agent_white has quit [Quit: night folks]
<tar56> where can i find a free web hosting service with free subdomains, free cpanel and free ssl certificates that are trusted by firefox and safari
blackmes1 has quit [Ping timeout: 240 seconds]
jxf has joined #ruby
cj3kim has joined #ruby
thomasxie has quit [Ping timeout: 250 seconds]
Shidash has quit [Ping timeout: 250 seconds]
vlad_starkov has joined #ruby
thomasxie has joined #ruby
timonv has quit [Remote host closed the connection]
cj3kim_ has quit [Ping timeout: 276 seconds]
mrmargolis has joined #ruby
danijoo has joined #ruby
seuros has joined #ruby
agjacome has joined #ruby
crzrcn has quit [Quit: Leaving.]
agjacome has quit [Client Quit]
papercode has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
browndawg has joined #ruby
mrmargolis has quit [Ping timeout: 250 seconds]
emaxi has joined #ruby
freerobby has joined #ruby
yubrew has joined #ruby
mizar990 has joined #ruby
mizar990 has quit [Quit: mizar990]
mizar990 has joined #ruby
mizar990 has left #ruby [#ruby]
senayar has joined #ruby
cj3kim has quit [Read error: Connection reset by peer]
emaxi has quit [Ping timeout: 240 seconds]
proliberate has joined #ruby
cj3kim has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
freerobby has quit [Ping timeout: 250 seconds]
vlad_starkov has quit []
shashank_rs has joined #ruby
vlad_starkov has joined #ruby
tuxtgz has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
ktun has joined #ruby
_justin has quit [Quit: _justin]
kayloos has joined #ruby
fsdldl has quit [Quit: WeeChat 0.4.3]
charliesome has joined #ruby
KanKava has joined #ruby
bluOxigen has joined #ruby
enriclluelles has quit [Remote host closed the connection]
Celm has joined #ruby
lolmaus has quit [Remote host closed the connection]
blackmes1 has joined #ruby
Celm has quit [Ping timeout: 240 seconds]
browndawg has quit [Ping timeout: 276 seconds]
red234324 has joined #ruby
oo_ has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 252 seconds]
_justin has joined #ruby
anaeem1 has quit [Ping timeout: 252 seconds]
tar56 has left #ruby [#ruby]
yogie has quit [Quit: Sic Semper Tyrannis]
crzrcn has joined #ruby
oo_ has joined #ruby
senayar has quit [Read error: Connection reset by peer]
helpD has joined #ruby
senayar has joined #ruby
anaeem1 has joined #ruby
nari has quit [Ping timeout: 245 seconds]
Thanatermesis has quit [Ping timeout: 276 seconds]
paradisaeidae has joined #ruby
timonv has joined #ruby
red234324 has quit [Quit: Leaving]
crzrcn has quit [Ping timeout: 276 seconds]
sdouglas has joined #ruby
emaxi has joined #ruby
olivier_bK has joined #ruby
matchaw has quit [Ping timeout: 245 seconds]
nateberkopec has joined #ruby
sdouglas has quit [Ping timeout: 240 seconds]
lxsameer has quit [Ping timeout: 240 seconds]
tjsousa has joined #ruby
tjsousa has quit [Remote host closed the connection]
spider-mario has joined #ruby
sdouglas has joined #ruby
tjsousa has joined #ruby
shashank_rs has quit [Ping timeout: 250 seconds]
browndawg has joined #ruby
shashank_rs has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
decoponio has joined #ruby
lolmaus has joined #ruby
jamto11 has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Remote host closed the connection]
einarj has joined #ruby
Speed has joined #ruby
jamto11 has quit [Ping timeout: 250 seconds]
decoponio has quit [Ping timeout: 276 seconds]
proliberate has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
decoponio has joined #ruby
nari has joined #ruby
arietis has joined #ruby
Xeago_ has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oo_ has quit [Remote host closed the connection]
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
oo_ has joined #ruby
carraroj has joined #ruby
postmodern has quit [Quit: Leaving]
Deejay_ has joined #ruby
SHyx0rmZ has joined #ruby
yubrew has joined #ruby
Steve21 has quit [Quit: Steve21]
senayar has quit [Remote host closed the connection]
anaeem1 has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby
Hanmac1 has joined #ruby
tjsousa_ has joined #ruby
Hanmac has quit [Ping timeout: 250 seconds]
yubrew has quit [Ping timeout: 276 seconds]
paradisaeidae has left #ruby [#ruby]
freerobby has joined #ruby
chrisseaton has joined #ruby
Xeago__ has joined #ruby
banister has joined #ruby
Xeago___ has joined #ruby
tjsousa has quit [Ping timeout: 245 seconds]
obs has quit [Quit: Konversation terminated!]
_justin has quit [Quit: _justin]
camilasan has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
Xeago_ has quit [Ping timeout: 250 seconds]
freerobby has quit [Ping timeout: 252 seconds]
anaeem1 has joined #ruby
freggles has joined #ruby
obs has joined #ruby
marr has quit []
anaeem1 has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby
anaeem1__ has joined #ruby
thomasxie has quit [Read error: Connection reset by peer]
thomasxie has joined #ruby
stormbytes has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jaxxstorm has quit [Ping timeout: 252 seconds]
Doppp has quit [Quit: leaving]
timonv has quit [Remote host closed the connection]
jaxxstorm has joined #ruby
wallerdev has quit [Quit: wallerdev]
tuxtgz has quit []
Speed has quit [Ping timeout: 250 seconds]
Celm has joined #ruby
danijoo has quit [Quit: Leaving...]
_justin has joined #ruby
Doppp has joined #ruby
Celm has quit [Ping timeout: 240 seconds]
diegoviola has quit [Quit: WeeChat 0.4.3]
mikecmpbll has quit [Quit: i've nodded off.]
etqqkoiflwhb has joined #ruby
yfeldblum has quit [Remote host closed the connection]
<etqqkoiflwhb> anyone, is there a method which lets me do foo = [1, 2, 3].each(&:to_s).what_method { |strings| Foo.new(strings) }
<etqqkoiflwhb> thanks
Xeago___ has quit [Remote host closed the connection]
crzrcn has joined #ruby
mikecmpbll has joined #ruby
BizarreCake has joined #ruby
nari has quit [Ping timeout: 240 seconds]
jonno11 has joined #ruby
crzrcn has quit [Ping timeout: 250 seconds]
<banister> etqqkoiflwhb map?
nateberkopec has joined #ruby
kitak_ has quit [Remote host closed the connection]
<etqqkoiflwhb> banister: map iterates over the array
<banister> etqqkoiflwhb what are you trying to do?
<etqqkoiflwhb> i want something like Object#tap, but which returns the result of the block instead
<banister> etqqkoiflwhb result of what block?
<etqqkoiflwhb> just avoid doing a Foo.new(long chain..)
<banister> etqqkoiflwhb can you explain what you'er trying to do?
<etqqkoiflwhb> each, to_s returns an array of ['1', '2', '3'], want this to be passed to a block where I instantiate a class called Foo
<banister> etqqkoiflwhb because this is meaningless: [1, 2, 3].each(&:to_s).
<banister> since to_s has no side-effects, that entire expression is a no-op
<etqqkoiflwhb> [18] pry(main)> [1, 2, 3].each(&:to_s)
<etqqkoiflwhb> => [1, 2, 3]
<etqqkoiflwhb> oh
<banister> etqqkoiflwhb wrong
carraroj has quit [Ping timeout: 245 seconds]
<banister> you mean map :)
Lewix has joined #ruby
<banister> >> (1..3).map(&:to_s)
<eval-in__> banister => ["1", "2", "3"] (https://eval.in/139050)
Deejay_ has quit [Quit: Computer has gone to sleep.]
<etqqkoiflwhb> banister: ohh, aren;t map, each aliases?
<banister> etqqkoiflwhb no
spyderma_ has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
werdnativ has quit [Quit: werdnativ]
oo_ has quit [Remote host closed the connection]
nari has joined #ruby
oo_ has joined #ruby
<banister> etqqkoiflwhb #each is only used for side-effects
<banister> #each returns the oriiginal collection
<banister> #map returns a new collection with the block applied to each member of the collection
<etqqkoiflwhb> banister: yea, just read realised
spyderman4g63 has quit [Ping timeout: 276 seconds]
<etqqkoiflwhb> banister: [1, 2, 3].map(&:to_s).what_method { |strings| Foo.new(strings) }
<Mon_Ouie> Foo.new [1, 2, 3].map(&:to_s)
rvraghav93 has quit [Quit: No Ping reply in 180 seconds.]
<Mon_Ouie> strings = very_long_expression; Foo.new(strings)
dumdedum has quit [Remote host closed the connection]
<etqqkoiflwhb> Mon_Ouie: just looked for a nicer way to chain, just like #tap but returning the block result instead
<banister> etqqkoiflwhb if you're using rails, you can use #try here
<banister> etqqkoiflwhb [1, 2, 3].map(&:to_s).try { |strings| Foo.new(strings) }
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rvraghav93 has joined #ruby
dumdedum has joined #ruby
<banister> Mon_Ouie what are you writing in C these days ?
Hanmac1 has quit [Ping timeout: 276 seconds]
<Mon_Ouie> banister: Right now I'm playing with writing a lisp interpreter
lkba has joined #ruby
<banister> Mon_Ouie why in C? Why not just do that in ruby ? :)
<etqqkoiflwhb> banister: thanks
robustus has quit [Ping timeout: 252 seconds]
<Mon_Ouie> Well writing an interpreter without writing the whole runtime is half the fun
kaspergrubbe has joined #ruby
yubrew has joined #ruby
<etqqkoiflwhb> Mon_Ouie: what would a good place to start to write an interpreter as a fun project?
apeiros has quit [Remote host closed the connection]
<banister> Mon_Ouie can you rephrase that pls
apeiros has joined #ruby
<Mon_Ouie> banister: If I were to write it in Ruby I wouldn't have to write a garbage collector, etc.; that's part of the fun
Oog has quit []
<banister> Mon_Ouie ah ok :)
robustus has joined #ruby
<banister> Mon_Ouie btw how do i open an org-mode link so that it replaces the org-mode window rather than opening it in an opposing window?
Hanmac has joined #ruby
<Mon_Ouie> etqqkoiflwhb: I'm not sure. In this case I started with a parser for the various expressions then the runtime (GC, etc.) and when I'm done debugging that I'll actually move on to evaluating expressions.
<Mon_Ouie> banister: No idea
yubrew has quit [Ping timeout: 240 seconds]
Speed has joined #ruby
browndawg has quit [Quit: Leaving.]
<etqqkoiflwhb> Mon_Ouie: a parser with bison?
jonno11 has joined #ruby
mehlah has joined #ruby
jonno11 has quit [Client Quit]
<Mon_Ouie> I just did it by hand, lisp expressions are simple enough. It's not to hard for more complex expressions either, just likely slower than the code a parser generator produces.
mrmargolis has joined #ruby
pika_pika has joined #ruby
kayloos has quit [Remote host closed the connection]
<banister> Mon_Ouie recursive decent parser?
<Mon_Ouie> (A cool way to write parsers, although more so in functional languages, is using parser combinators)
aagdbl has joined #ruby
<Mon_Ouie> banister: I don't know the exact terminology
karupa is now known as zz_karupa
Lewix has quit [Remote host closed the connection]
<banister> Mon_Ouie one sec
<banister> Mon_Ouie here: "récursive analyseur de descente"
<Mon_Ouie> Oh, that helps a lot
<banister> np
<Mon_Ouie> If you actually meant "decent" rather than "descent" you should also say "décence" instead :p
mrmargolis has quit [Ping timeout: 250 seconds]
diegoviola has joined #ruby
ponga has quit [Remote host closed the connection]
pika_pika has quit [Ping timeout: 250 seconds]
freerobby has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
klaut has quit [Remote host closed the connection]
Merks has quit []
klaut has joined #ruby
* JesseH wonders if there is a general ruby gamedev channel
<Mon_Ouie> https://gist.github.com/Mon-Ouie/11138971 here's the code (still mixes parsing errors with out-of-memory errors)
<banister> JesseH #ray
<banister> JesseH and #gosu
<Mon_Ouie> Does the former even exist anymore?
ponga has quit [Read error: No route to host]
<JesseH> #ray doesnt
<Mon_Ouie> I'm not on it
<JesseH> I'm on #gosu
ponga has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
freerobby has quit [Ping timeout: 240 seconds]
<banister> Mon_Ouie why did you give up on ray?
<JesseH> What's ray?
<Mon_Ouie> I felt like I was sort of done with it. It still works, and I use it every now and then, but there's not much I feel like changing in it
kinginky__ has quit [Ping timeout: 240 seconds]
Rubeh has quit [Ping timeout: 250 seconds]
<banister> Mon_Ouie is it because you're still only 15 and easily lose interest in things?
kinginky has quit [Ping timeout: 252 seconds]
atno has joined #ruby
<Mon_Ouie> (usually I use it to run stuff using OpenGL shaders, with less boilerplate code than in C)
kyb3r_ has quit [Read error: Connection reset by peer]
klaut has quit [Ping timeout: 240 seconds]
Rubeh has joined #ruby
etqqkoiflwhb has quit [Ping timeout: 252 seconds]
<Mon_Ouie> Probably, yes. I mean, how many 15 year old have an attention span of over 4 years?
vlad_starkov has quit []
obs has quit [Quit: Konversation terminated!]
anaeem1__ has quit [Read error: Connection reset by peer]
anaeem1_ has joined #ruby
<banister> JesseH it's a pretty cool project :)
etqqkoiflwhb has joined #ruby
<JesseH> Oh yeah, looks like it.
kinginky has joined #ruby
atno has quit [Remote host closed the connection]
cj3kim has quit [Remote host closed the connection]
kaspergrubbe has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
shashank_rs has quit [Ping timeout: 250 seconds]
Deele has joined #ruby
obs has joined #ruby
tjsousa_ has quit [Remote host closed the connection]
tjsousa_ has joined #ruby
Celm has joined #ruby
phoo1234567 has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
kinginky__ has joined #ruby
shashank_rs has joined #ruby
ponga has quit [Remote host closed the connection]
ponga has joined #ruby
Celm has quit [Ping timeout: 240 seconds]
yvemath has quit [Remote host closed the connection]
psyko666 has quit [Quit: Leaving]
mansi has joined #ruby
evenix has joined #ruby
ponga has quit [Ping timeout: 250 seconds]
crzrcn has joined #ruby
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
evenix has quit [Ping timeout: 240 seconds]
mostlybadfly has joined #ruby
Sp4rKy has quit [Ping timeout: 252 seconds]
iamjarvo has joined #ruby
emaxi has quit [Remote host closed the connection]
emaxi has joined #ruby
crzrcn has quit [Ping timeout: 240 seconds]
diegoviola has quit [Quit: WeeChat 0.4.3]
mansi has quit [Ping timeout: 240 seconds]
KJM has joined #ruby
KJM has left #ruby [#ruby]
nateberkopec has joined #ruby
emaxi has quit [Ping timeout: 240 seconds]
KJM has joined #ruby
KJM has left #ruby [#ruby]
werdnativ has joined #ruby
arietis has joined #ruby
chrisseaton has quit [Ping timeout: 250 seconds]
rvraghav93 has quit [Ping timeout: 250 seconds]
rvraghav93 has joined #ruby
_matt has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
zigomir has joined #ruby
iamjarvo has quit [Ping timeout: 276 seconds]
yvemath has joined #ruby
kayloos has joined #ruby
eka has joined #ruby
rvraghav93 has quit [Remote host closed the connection]
jamto11 has joined #ruby
yubrew has joined #ruby
_matt has quit [Client Quit]
mehlah_ has joined #ruby
mehlah has quit [Read error: Connection reset by peer]
jamto11 has quit [Ping timeout: 252 seconds]
yubrew has quit [Ping timeout: 240 seconds]
zigomir has quit [Remote host closed the connection]
werdnativ has quit [Quit: werdnativ]
_justin has quit [Quit: _justin]
Sawbones has joined #ruby
iamjarvo has joined #ruby
etqqkoiflwhb has quit [Remote host closed the connection]
etqqkoiflwhb has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
_justin has joined #ruby
mr_snowf1ake has joined #ruby
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
tkuchiki_ has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
oo__ has joined #ruby
nari has quit [Ping timeout: 245 seconds]
sdouglas has quit [Remote host closed the connection]
timonv has joined #ruby
bogeyd6 has quit [Read error: Connection reset by peer]
tkuchiki has quit [Ping timeout: 245 seconds]
agjacome has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freerobby has quit [Ping timeout: 264 seconds]
danshultz has joined #ruby
ayaz has joined #ruby
zigomir has joined #ruby
tkuchiki_ has quit [Ping timeout: 276 seconds]
Virtualize|away has joined #ruby
rjhunter has joined #ruby
Sawbones has quit [Remote host closed the connection]
sbnnrd has joined #ruby
kobain has quit []
timonv has quit [Ping timeout: 252 seconds]
nateberkopec has joined #ruby
seaned has joined #ruby
timonv has joined #ruby
frobrob has joined #ruby
yalue has joined #ruby
nateberkopec has quit [Client Quit]
Mon_Ouie has quit [Remote host closed the connection]
Lightsword has quit [Ping timeout: 252 seconds]
klaut has joined #ruby
shashank_rs has quit [Ping timeout: 250 seconds]
danijoo has joined #ruby
chipotle has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kirun has joined #ruby
Celm has joined #ruby
blackmes1 has quit [Quit: WeeChat 0.4.3]
akonny has joined #ruby
simono has joined #ruby
Zopieux has joined #ruby
<Zopieux> hi there
<Zopieux> i'm trying to install rvm on archlinux using the given command: \curl -sSL https://get.rvm.io | bash -s stable
<Zopieux> curl gives me error 23 cannot write body
<Zopieux> i've googled this and nothing interesting comes up
<Zopieux> do you have any idea?
Celm has quit [Ping timeout: 276 seconds]
chipotle has quit [Quit: cya]
yfeldblum has joined #ruby
seaned has quit [Quit: Zzzzzz....]
kaspergrubbe has quit [Remote host closed the connection]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
ktosiek has joined #ruby
tkuchiki has joined #ruby
crzrcn has joined #ruby
etqqkoiflwhb has quit [Quit: Computer has gone to sleep.]
<sweeper> Zopieux: seems like a permissions/disk space issue?
dingus_khan has joined #ruby
<Zopieux> well I can write anywhere on my ~
yfeldblum has quit [Ping timeout: 252 seconds]
<Zopieux> obviously it works using super user but I want a single user install here
<Zopieux> does the script tries to write anywhere else than ~ ?
timonv has quit [Remote host closed the connection]
<sweeper> nope
Speed has quit [Ping timeout: 245 seconds]
<sweeper> Zopieux: running arch myself, and rvm 'just worked'
<Zopieux> I don't get it :/
oo__ has quit [Remote host closed the connection]
iamjarvo has quit [Ping timeout: 240 seconds]
kaspergrubbe has joined #ruby
crzrcn has quit [Ping timeout: 255 seconds]
aspiers has quit [Ping timeout: 276 seconds]
kaspergrubbe has quit [Remote host closed the connection]
oo_ has joined #ruby
etqqkoiflwhb has joined #ruby
ixti has joined #ruby
yubrew has joined #ruby
timonv has joined #ruby
dingus_khan has quit []
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
yfeldblum has joined #ruby
oo_ has quit [Remote host closed the connection]
metamaterial has quit [Quit: Leaving.]
oo_ has joined #ruby
thomasxie has left #ruby [#ruby]
mjs2600 has joined #ruby
_justin has quit [Quit: _justin]
mjs2600 has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 276 seconds]
yfeldblum has quit [Ping timeout: 252 seconds]
charlies_ has joined #ruby
sumark has quit [Remote host closed the connection]
sumark has joined #ruby
charliesome has quit [Ping timeout: 276 seconds]
<Zopieux> ok guys there was already a .rvm folder, but I don't understad why the script did not remove it or told me so...
<Zopieux> thanks anyway
aspiers has joined #ruby
bluOxigen has quit [Ping timeout: 240 seconds]
timonv has quit [Remote host closed the connection]
_justin has joined #ruby
mark_locklear has joined #ruby
emaxi has joined #ruby
Sawbones has joined #ruby
seaned has joined #ruby
himsin has quit [Quit: himsin]
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
seuros has quit [Read error: Connection reset by peer]
emaxi_ has joined #ruby
emaxi has quit [Read error: Connection reset by peer]
jxf has quit [Ping timeout: 245 seconds]
nari has joined #ruby
suujeet has joined #ruby
suujeet has quit [Client Quit]
Hanmac1 has joined #ruby
freerobby has joined #ruby
suujeet has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
psyko666 has joined #ruby
Sp4rKy has joined #ruby
Beoran_ has quit [Ping timeout: 250 seconds]
puzanov_ has joined #ruby
freerobby has quit [Ping timeout: 252 seconds]
manlycode has joined #ruby
banister has joined #ruby
oo__ has joined #ruby
mjs2600 has joined #ruby
AlexRussia has quit [Ping timeout: 250 seconds]
ndrei has joined #ruby
aagdbl has quit [Quit: Connection closed for inactivity]
freerobby has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
Blaze_Boy has joined #ruby
nomenkun has joined #ruby
Hanmac has joined #ruby
puzanov has quit [Ping timeout: 240 seconds]
dorei has joined #ruby
pika_pika has joined #ruby
_axx has left #ruby [#ruby]
oo_ has quit [Ping timeout: 264 seconds]
Hanmac1 has quit [Ping timeout: 252 seconds]
zigomir has quit [Remote host closed the connection]
mehlah_ is now known as mehlah
r0nin has joined #ruby
r0nin has quit [Client Quit]
pskosinski has quit [Quit: Til rivido Idisti!]
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
mjs2600 has quit []
<shevy> does rvm use coloured output?
kukyakya has joined #ruby
coderhs has joined #ruby
Beoran_ has joined #ruby
tjsousa_ has quit [Quit: Computer has gone to sleep.]
rmorello has joined #ruby
bambuka has quit [Quit: Saliendo]
shime has quit [Ping timeout: 240 seconds]
timonv has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
happytux_ has quit [Ping timeout: 240 seconds]
<rjhunter> shevy: rvm used to be pretty colorful when i used to use it
etqqkoiflwhb has quit [Quit: Computer has gone to sleep.]
vpretzel has joined #ruby
lfox has joined #ruby
enebo has joined #ruby
djbender_ has joined #ruby
Slavox is now known as Slavox|AFK
djbender_ has quit [Client Quit]
<Blaze_Boy> i'm trying to deploy this script on heroku : https://github.com/blazeeboy/RubyScripts/blob/master/2014-4-21/evalin_comodor.rb , my Procfile : web: bundle exec ruby evalin_comodor.rb , when i use "heroku ps" it says : eb.1: up 2014/04/21 14:20:16 (~ 17m ago , but it is not really running and doesn't respond, when i try : heroku run ruby evalin_comodor.rb, it runs normally, any ideas what's wrong ?
kreisys has quit [Quit: Computer has gone to sleep.]
Hanmac1 has joined #ruby
lmickh has joined #ruby
Coolhand has joined #ruby
niharvey has quit [Ping timeout: 245 seconds]
Hanmac has quit [Ping timeout: 276 seconds]
Xeago has joined #ruby
linojon has joined #ruby
holomorph has joined #ruby
Nukepuppy has joined #ruby
crzrcn has joined #ruby
BizarreCake has quit [Ping timeout: 250 seconds]
proliberate has joined #ruby
emaxi_ has quit [Read error: Connection reset by peer]
emaxi has joined #ruby
yubrew has joined #ruby
SilkFox has quit [Ping timeout: 252 seconds]
mercwithamouth has joined #ruby
Zopieux has left #ruby ["Quitte"]
mikepack has joined #ruby
happytux has joined #ruby
<happytux> hi
mjs2600 has joined #ruby
sambao21 has joined #ruby
etqqkoiflwhb has joined #ruby
crzrcn has quit [Ping timeout: 255 seconds]
mikepack has quit [Remote host closed the connection]
arietis has quit [Quit: Computer has gone to sleep.]
mikepack has joined #ruby
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv has quit [Remote host closed the connection]
dblessing has joined #ruby
yubrew has quit [Ping timeout: 276 seconds]
xiella has quit [Ping timeout: 252 seconds]
paulfm has joined #ruby
emaxi has quit [Ping timeout: 255 seconds]
lmickh has quit [Quit: lmickh]
chrisseaton has joined #ruby
CorySimmons has joined #ruby
codabrink has joined #ruby
mikepack has quit [Ping timeout: 255 seconds]
mrmargolis has joined #ruby
doodlehaus has joined #ruby
metamaterial has joined #ruby
<suujeet> hi, i m geting error while installation of gem file. Gem files will remain installed in C:/webserver/ruby/Ruby187/lib/ruby/gems/1.8/g ems/json-1.8.1 for inspection. Results logged to C:/webserver/ruby/Ruby187/lib/ruby/gems/1.8/gems/json-1.8.1/ext/json/ext/generator/gem_make.out An error occurred while installing json (1.8.1), and Bundler cannot continue. Make sure that `gem install json -v '1.8.1'`
<suujeet> succeeds before bundling.
arietis has joined #ruby
Hanmac has joined #ruby
helpD has quit [Remote host closed the connection]
relix has joined #ruby
zigomir has joined #ruby
Hanmac1 has quit [Ping timeout: 252 seconds]
AlexRussia has joined #ruby
bthesorceror has quit [Remote host closed the connection]
etqqkoiflwhb_ has joined #ruby
bthesorceror has joined #ruby
etqqkoiflwhb has quit [Ping timeout: 240 seconds]
tjsousa_ has joined #ruby
metamaterial has quit [Ping timeout: 272 seconds]
emaxi has joined #ruby
codenapper has joined #ruby
timonv has joined #ruby
codenapper has quit [Client Quit]
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
oo_ has joined #ruby
etqqkoiflwhb_ has quit [Read error: Connection reset by peer]
bthesorceror has quit [Ping timeout: 252 seconds]
tjsousa_ has quit [Ping timeout: 255 seconds]
rm_ has joined #ruby
oo___ has joined #ruby
creativeembassy has joined #ruby
oo__ has quit [Read error: Connection reset by peer]
arietis has quit [Quit: Computer has gone to sleep.]
Xeago has quit [Remote host closed the connection]
Xeago__ has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
oo_ has quit [Ping timeout: 264 seconds]
mansi_ has joined #ruby
mansi_ has quit [Remote host closed the connection]
mansi_ has joined #ruby
tjsousa_ has joined #ruby
simono has joined #ruby
anaeem1 has joined #ruby
emaxi_ has joined #ruby
timonv has quit [Remote host closed the connection]
emaxi has quit [Ping timeout: 264 seconds]
krz has quit [Quit: WeeChat 0.4.3]
kreisys has joined #ruby
meatherly has quit [Remote host closed the connection]
meatherly has joined #ruby
iamjarvo has joined #ruby
b1nd has quit [Ping timeout: 250 seconds]
claymore has quit [Ping timeout: 245 seconds]
meatherly has quit [Ping timeout: 240 seconds]
<shevy> "This method supports thread. Switches the thread context when waits inputting line."
Krajsnick has joined #ruby
<shevy> typical official ruby documentation
creativeembassy has quit [Quit: FO SHO]
creativeembassy has joined #ruby
Phoenixz has joined #ruby
mr_snowf1ake has quit [Ping timeout: 252 seconds]
claymore has joined #ruby
arietis has joined #ruby
emaxi_ has quit [Read error: Connection reset by peer]
Guedes0 has joined #ruby
zachallett has joined #ruby
obscured has joined #ruby
werdnativ has joined #ruby
oo___ has quit [Remote host closed the connection]
werdnativ has quit [Client Quit]
ffranz has joined #ruby
mityaz has joined #ruby
lukec has joined #ruby
_justin has quit [Quit: _justin]
etqqkoiflwhb_ has joined #ruby
omosoj has joined #ruby
JohnBat26 has quit [Ping timeout: 240 seconds]
SilkFox has joined #ruby
omosoj has quit [Client Quit]
omosoj has joined #ruby
lmickh has joined #ruby
Krajsnick has quit [Quit: Leaving...]
Lewix has joined #ruby
kristiandelay has joined #ruby
pskosinski has joined #ruby
pskosinski has quit [Client Quit]
pskosinski has joined #ruby
etqqkoiflwhb_ has quit [Quit: Computer has gone to sleep.]
etqqkoiflwhb_ has joined #ruby
CorySimmons has quit [Quit: Zzz...]
djbender_ has joined #ruby
sambao21 has joined #ruby
jobewan has joined #ruby
b1nd has joined #ruby
CorySimmons has joined #ruby
jamto11 has joined #ruby
Sawbones_ has joined #ruby
codebro has quit [Ping timeout: 240 seconds]
wald0 has joined #ruby
anaeem1 has quit [Read error: Connection reset by peer]
GlenK has joined #ruby
anaeem1_ has joined #ruby
lolmaus has quit [Ping timeout: 245 seconds]
etqqkoiflwhb_ has quit [Ping timeout: 240 seconds]
ndrei has quit [Ping timeout: 240 seconds]
Sawbones has quit [Ping timeout: 252 seconds]
emaxi has joined #ruby
cassioscabral has joined #ruby
crzrcn has joined #ruby
lolmaus has joined #ruby
zz_jrhorn424 is now known as jrhorn424
sambao21 has quit [Quit: Computer has gone to sleep.]
sigurding has joined #ruby
etqqkoiflwhb_ has joined #ruby
crzrcn1 has joined #ruby
akonny has quit [Quit: akonny]
randomnick_ has joined #ruby
<randomnick_> http://pastie.org/9097603 is there shorter way to d it?
vpretzel has quit [Remote host closed the connection]
djbender_ is now known as djbender
kitak has quit [Remote host closed the connection]
Lemur has joined #ruby
vpretzel has joined #ruby
kitak has joined #ruby
crzrcn has quit [Ping timeout: 255 seconds]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
kevind has joined #ruby
mark_locklear has quit [Ping timeout: 265 seconds]
crzrcn1 has quit [Ping timeout: 252 seconds]
voglster has quit [Ping timeout: 245 seconds]
helpD has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
sdouglas has joined #ruby
anaeem1 has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
gsvolt has quit [Ping timeout: 250 seconds]
sambao21 has joined #ruby
jxf has joined #ruby
yfeldblum has joined #ruby
etqqkoiflwhb_ has quit [Quit: Computer has gone to sleep.]
suujeet has quit []
klaut has quit [Remote host closed the connection]
sdouglas has quit [Ping timeout: 240 seconds]
dik_dak has joined #ruby
sdelmore has joined #ruby
Dreamer3 has quit [Quit: Leaving...]
ndrei has joined #ruby
mark_locklear has joined #ruby
devdazed has joined #ruby
mary5030 has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
<shevy> randomnick_ problem is you call a DSL here
bradhe has joined #ruby
lukec has quit [Quit: lukec]
<shevy> randomnick_ you pass the same hash as the second argument to 4 method calls
<shevy> hash = input_html: { class: 'form-control' }
HashNuke has quit [Quit: Connection closed for inactivity]
andy___ has joined #ruby
<shevy> then you can pass the variable hash to all of them
<shevy> btw why is there a leading = ?
<randomnick_> its haml
mary5030 has quit [Remote host closed the connection]
ktun has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mary5030 has joined #ruby
Blaze_Boy has left #ruby [#ruby]
rm_ has quit [Remote host closed the connection]
bricker`LA has quit [Ping timeout: 276 seconds]
rm_ has joined #ruby
<shevy> is this ruby code?
bradhe has quit [Ping timeout: 252 seconds]
codebro has joined #ruby
ktun has joined #ruby
ktun has quit [Client Quit]
noop has quit [Ping timeout: 240 seconds]
noop has joined #ruby
Deejay_ has joined #ruby
holomorph has left #ruby [#ruby]
rm_ has quit [Ping timeout: 264 seconds]
omosoj has quit [Ping timeout: 240 seconds]
mengu has quit []
Atrumx has quit [Quit: Leaving]
ktun has joined #ruby
stormbytes has joined #ruby
rvraghav93 has joined #ruby
sigurding has quit [Ping timeout: 265 seconds]
sigurding_ has joined #ruby
rmorello is now known as rmorello|1194
ktosiek has quit [Ping timeout: 252 seconds]
tuliohmendes has joined #ruby
tuliohmendes has quit [Client Quit]
metamaterial has joined #ruby
etqqkoiflwhb_ has joined #ruby
stormbytes has quit [Client Quit]
poguez_ has joined #ruby
Xeago has joined #ruby
helpD has quit [Remote host closed the connection]
tuliohmendes has joined #ruby
BWStearns has quit [Ping timeout: 245 seconds]
arietis has quit [Quit: Computer has gone to sleep.]
agrinb has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
CorySimmons has quit [Quit: Bye!]
skulker has joined #ruby
tuliohmendes has quit [Client Quit]
metamaterial has quit [Ping timeout: 272 seconds]
Xeago has quit [Ping timeout: 255 seconds]
r_rios has joined #ruby
iamjarvo has quit [Ping timeout: 276 seconds]
sepp2k has joined #ruby
agrinb has quit [Ping timeout: 264 seconds]
carraroj has joined #ruby
Es0teric has joined #ruby
omosoj has joined #ruby
bluOxigen has joined #ruby
arietis has joined #ruby
SCommette has joined #ruby
jespada has joined #ruby
mansi_ has quit [Read error: Connection reset by peer]
mansi_ has joined #ruby
etqqkoiflwhb_ has quit [Quit: Computer has gone to sleep.]
anaeem1 has quit [Remote host closed the connection]
cassioscabral has quit [Quit: Saindo]
anaeem1 has joined #ruby
randomnick_ has quit [Ping timeout: 265 seconds]
timonv has joined #ruby
chipotle has joined #ruby
yubrew has joined #ruby
simono has quit [Ping timeout: 264 seconds]
cjbottaro has joined #ruby
feelx has joined #ruby
senayar has joined #ruby
mikepack has joined #ruby
<jxf> Is there a Ruby method that changes self to something else, within the context of a block? Analogous to, say, Object#tap.
krz has joined #ruby
Pynix has joined #ruby
<banister> jxf instance_eval ?
<jxf> But instead of doing "o.tap { |o| o.foo; o.bar; o.baz }", I could do: "o.<???> { |o| foo; bar; baz }".
centrx has joined #ruby
yubrew has quit [Ping timeout: 264 seconds]
etqqkoiflwhb_ has joined #ruby
<jxf> banister: Dang, yes. I feel stupid now. :)
Pynix has quit [Client Quit]
<proliberate> be careful and make sure you document that you are changing self
Pynix has joined #ruby
anarang has quit [Quit: Leaving]
<centrx> Only you can change your self
<jxf> Be the self you want to be in the world.
mikepack has quit [Ping timeout: 252 seconds]
blackmesa has joined #ruby
<lagweezle> centrx: hah :)
<cout> centrx: you cannot change your self.
<cout> you can only change that to which your self refers. :)
helpD has joined #ruby
vpretzel is now known as vpretzel|1332
geggam has joined #ruby
<banister> cout how's life bro
chipotle has quit [Quit: cya]
<cout> banister: busy racing cars :)
etqqkoiflwhb_ has quit [Quit: Computer has gone to sleep.]
<cout> trying to get the prius ready to race in two weeks
<banister> cout cool, still doing rails as a day job? :)
<cout> banister: no, back in financial programming again
<banister> cout cool, using what language?
<cout> C++ and ruby
<cout> frontend is angular
randomnick_ has joined #ruby
crzrcn has joined #ruby
zcreative has joined #ruby
codezomb has joined #ruby
<happytux> hi
<happytux> I got a strange ruby problem
charlies_ is now known as charliesome
<happytux> /var/lib/jenkins/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/bundler-1.6.1/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find builder-3.2.2 in any of the sources (Bundler::GemNotFound)
CorySimmons has joined #ruby
shime has joined #ruby
<happytux> When executing rbenv exec bundle exec librarian-puppet [...]
Fretta has joined #ruby
iamjarvo has joined #ruby
timonv has quit [Remote host closed the connection]
arietis has quit [Quit: Computer has gone to sleep.]
terrellt has joined #ruby
<happytux> I could also run it using bundle exec librarian-puppet [...], same result
Celm has joined #ruby
<cout> banister: what about you?
<happytux> could anyone help?
<happytux> I can only find very spare information about this problem.
anaeem1 has quit [Remote host closed the connection]
<banister> cout just rails programming stuff a generalassemb.ly
<banister> at
BWStearn2 has joined #ruby
sambao21 has joined #ruby
<banister> cout it's ok, we're moving to SOA soon (mainly little sinatra apps) , so should be more fun
<proliberate> happytux: did you bundle install
crzrcn has quit [Ping timeout: 252 seconds]
<cout> SOA?
<cout> South of... Antarctica?
sdouglas has joined #ruby
<happytux> proliberate: no
<cout> South of... Antarctica?
<happytux> proliberate: bundle pack
<cout> oops wrong window
<happytux> proliberate: bundle package --path vendor/bundle
<happytux> proliberate: as I want to install them only locally
<banister> cout haha, service oriented architecture, yeah..a buzzword ;) but it's remote work, so i may consider moving to south of antarctica ;)
renier has quit [Read error: No route to host]
<cout> banister: that would be awesome if you do
<cout> let me know and I'll come visit
<cout> probably need some sort of space votex manipulator though
codenapper has joined #ruby
<banister> cout a lot less distractions there, i'm sure i'd be a lot more productive :)
kristiandelay has quit [Remote host closed the connection]
<happytux> proliberate: this is a really wicked error
<happytux> proliberate: I can't find anything about it
renier has joined #ruby
LastWhisper has joined #ruby
codenapper has quit [Client Quit]
<LastWhisper> hey guys. do any of you have experience using the .send method?
<shevy> LastWhisper you use it to invoke a method
<LastWhisper> Perhaps you can enlighten me as to whether or not I'm using this incorrectly
<shevy> >> class Cat; def meow; puts 'cat meows'; end; end; cat = Cat.new; cat.send :meow
<eval-in__> shevy => cat meows ... (https://eval.in/139236)
<happytux> I should rename myself to 'unhappytux' :(
<happytux> or 'depressedtux'
<shevy> LastWhisper depends on your use case. but if you don't have dynamic code, then using .send is rarely needed
sdouglas has quit [Ping timeout: 240 seconds]
<proliberate> hate that sort of error happytux. would help you out more if i could :(
b1nd has quit [Ping timeout: 240 seconds]
blueOxigen has joined #ruby
<happytux> proliberate: I use rbenv to install bundle to install librarian-puppet, so it is quite nested.
abra has joined #ruby
<happytux> But I don't find it too uncommon.
randomnick_ has quit [Ping timeout: 276 seconds]
lkba has quit [Ping timeout: 264 seconds]
ktosiek has joined #ruby
timonv has joined #ruby
<LastWhisper> shevy: I'm using it for a db check using rspec matchers, and basically whenever something has a "not" for the presence regex matcher, I want it to do a .not_to equal value
<LastWhisper> and when presence = nil, then I want it to do a .to eq value
<LastWhisper> so I was trying to just set this variable presence_check
bluOxigen has quit [Ping timeout: 240 seconds]
<LastWhisper> to either be a 'to
<LastWhisper> or 'not_to
bluOxigen has joined #ruby
<LastWhisper> but I think the problem is that send uses a method
<LastWhisper> and im giving it a variable
dachi has joined #ruby
codebro has quit [Read error: Connection reset by peer]
codebro has joined #ruby
<LastWhisper> actually, guy in #rspec asnwered it for me shevy
blueOxigen has quit [Ping timeout: 240 seconds]
<LastWhisper> basically just had to write it as .send(variable, eq(value))
<LastWhisper> instead
maletor has joined #ruby
timonv has quit [Ping timeout: 255 seconds]
rjhunter has quit [Remote host closed the connection]
<shevy> good that I don't have to use such APIs
rm_ has joined #ruby
voglster has joined #ruby
randomnick_ has joined #ruby
voglster has quit [Client Quit]
<Pynix> new to ruby
CorySimmons has quit [Quit: Zzz...]
werdnativ has joined #ruby
toastynerd has joined #ruby
red234324 has joined #ruby
creativeembassy has quit [Quit: FO SHO]
_maes_ has joined #ruby
Sawbones_ has quit []
maletor has quit [Ping timeout: 252 seconds]
<shevy> hi Pynix
Celm has quit [Remote host closed the connection]
CorySimmons has joined #ruby
<Pynix> hi shevy
<shevy> why did you pick ruby?
timonv has joined #ruby
mattsp1290 has joined #ruby
blueOxigen has joined #ruby
bryanculver has joined #ruby
arubincloud has joined #ruby
<Pynix> django's missing migration
bluOxigen has quit [Ping timeout: 240 seconds]
supermarin has joined #ruby
qhartman_ has quit [Quit: Ex-Chat]
<centrx> Sounds like a riddle
timonv has quit [Ping timeout: 240 seconds]
Pynix has left #ruby [#ruby]
Pynix has joined #ruby
hairyhen1erson has joined #ruby
lolmaus has quit [Ping timeout: 240 seconds]
i_s has joined #ruby
<shevy> lol centrx
i_s has quit [Remote host closed the connection]
i_s has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
dima__ has joined #ruby
metamaterial has joined #ruby
lolmaus has joined #ruby
hairyhenderson has quit [Ping timeout: 252 seconds]
<Pynix> shevy, where r u from?
vlad_starkov has joined #ruby
thatrubylove has joined #ruby
lukec has joined #ruby
<shevy> Pynix central europe
metamaterial has quit [Client Quit]
<thatrubylove> does anyone know where the source code for setters is located?
enebo_ has joined #ruby
<Pynix> yeh
<thatrubylove> i can't seem to find them
enebo has quit [Ping timeout: 240 seconds]
enebo_ is now known as enebo
dapz has joined #ruby
hairyhenderson has joined #ruby
_maes_ has joined #ruby
<Pynix> setters?
jxf has quit [Ping timeout: 240 seconds]
<thatrubylove> aye, as in the ruby source code
binaryhat has joined #ruby
oo_ has joined #ruby
sdouglas has joined #ruby
<thatrubylove> def bla=(val)
havenwood has joined #ruby
<thatrubylove> i want to alter the return behavior for an experiement
kaspergrubbe has joined #ruby
timonv has joined #ruby
lw has joined #ruby
<thatrubylove> right now you cannot return your own value from them, like an initializer, the choice is taken from you by ruby
lw has quit [Max SendQ exceeded]
hairyhen1erson has quit [Ping timeout: 264 seconds]
lw has joined #ruby
Pynix has left #ruby [#ruby]
Pynix has joined #ruby
<thatrubylove> ahh
<thatrubylove> maybe this is it
<thatrubylove> rb_gvar_set(struct global_entry *entry, VALUE val)
tharindu has joined #ruby
<thatrubylove> yep
<Pynix> c level
<shevy> seems like a global variable
dachi has quit [Quit: ...]
arietis has joined #ruby
<thatrubylove> variable.c#806 return val; - how sad :)
gregf has quit [Quit: WeeChat 0.4.3]
thatrubylove has quit [Quit: thatrubylove]
<shevy> very sophisticated
benzrf|offline is now known as benzrf
helpD has quit [Remote host closed the connection]
<Pynix> polari is not respending.
helpD has joined #ruby
<benzrf> hm hm
<benzrf> anybody know if there is already https://github.com/benzrf/static_source_loc or if i should just refine it a little more
<Pynix> new gnome irc client
<benzrf> *i mean, a gem or something that does the same thing
yubrew has joined #ruby
AlexRussia has quit [Ping timeout: 265 seconds]
randomnick_ has quit [Ping timeout: 276 seconds]
browndawg has joined #ruby
treehug88 has joined #ruby
treehug88 has quit [Max SendQ exceeded]
<shevy> benzrf you are the official ruby statistics guy now
bean__ has joined #ruby
treehug88 has joined #ruby
<benzrf> ??
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
helpD has quit [Ping timeout: 252 seconds]
<shevy> you showed the amount of words people wrote on IRC a while ago
vpretzel_ has joined #ruby
<shevy> and now you count the number of source code in a project on github
<shevy> that puts you above 95% of the people here
<shevy> in regards to statistics
timonv has quit [Remote host closed the connection]
<benzrf> wuh
<benzrf> ok
<benzrf> but my question stands o-o
dapz has joined #ruby
kreisys has quit [Read error: Connection reset by peer]
skulker has quit [Quit: Leaving...]
kreisys has joined #ruby
<shevy> People wake up!
yubrew has quit [Ping timeout: 265 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dachi has joined #ruby
<shevy> benzrf wants to know something
rm_ has quit [Remote host closed the connection]
<Pynix> it 's 23:50 here
<benzrf> irelevent
rm_ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
arietis has quit [Quit: Computer has gone to sleep.]
lw has quit [Ping timeout: 252 seconds]
jeregrine has joined #ruby
vpretzel|1332 has quit [Ping timeout: 265 seconds]
enebo has quit [Quit: enebo]
<omosoj> lol
lw has joined #ruby
<benzrf> *irrelevant
<benzrf> shit
<benzrf> a vs e and double letters always get me ;-;
axisys has quit [Quit: Lost terminal]
lw has quit [Max SendQ exceeded]
axisys has joined #ruby
axisys has quit [Changing host]
axisys has joined #ruby
lw has joined #ruby
r_rios has quit [Ping timeout: 252 seconds]
<shevy> and tab completion
lw has quit [Max SendQ exceeded]
zigomir has quit [Remote host closed the connection]
Celm has joined #ruby
lw has joined #ruby
lw has quit [Max SendQ exceeded]
<Pynix> :-
rm_ has quit [Ping timeout: 240 seconds]
lw has joined #ruby
lw has quit [Max SendQ exceeded]
dachi has quit [Quit: ...]
benzrf is now known as benzrf|offline
toastynerd has quit [Remote host closed the connection]
<happytux> hi
lw has joined #ruby
<happytux> Can I install gems to vendor/ locally using gem?
kobain has joined #ruby
lw has quit [Max SendQ exceeded]
<Mon_Ouie> shevy: I would like to see the data that you got that number from.
lw has joined #ruby
benzrf|offline is now known as benzrf
psyko666 has quit [Quit: Leaving]
GaryOak_ has joined #ruby
shashank_rs has joined #ruby
Pynix has quit [Read error: Connection reset by peer]
randomnick_ has joined #ruby
<shevy> Mon_Ouie the people here with statistics gems
pigzzcanfly has joined #ruby
sigurding_ has quit [Quit: sigurding_]
rainmanjam has joined #ruby
<happytux> anyone?
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy> happytux you can use --user-install switch
<shevy> hmm
<shevy> or was the name different
yfeldblum has joined #ruby
pietr0 has joined #ruby
bradhe has joined #ruby
<banister> Mon_Ouie bored bored bored, are you playing any video games recently?
kaspergrubbe has quit [Remote host closed the connection]
heftig has quit [Quit: Quitting]
chibob has joined #ruby
<Mon_Ouie> I've been playing superhexagon
bradhe has quit [Read error: Connection reset by peer]
bradhe_ has joined #ruby
sigurding has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pynix has joined #ruby
pigzzcanfly has quit [Ping timeout: 252 seconds]
eynj has joined #ruby
heftig has joined #ruby
<Pynix> GEM_HOME?
crzrcn has joined #ruby
manlycode has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby
charliesome has quit [Client Quit]
<Mon_Ouie> Also, I've got to go. Bye :)
Milly_Bays has joined #ruby
<Hanmac> shevy rwx docu-rank: 1002 elements(classes & modules & constants & methods & attributes) 53.59% documented
[ROOT]XxNeoLiTHi has joined #ruby
arietis has joined #ruby
<banister> Mon_Ouie we'll miss you, a bien tot
Mon_Ouie has quit [Read error: Operation timed out]
<[ROOT]XxNeoLiTHi> hi all, im looking to convert a string to 158 bit hexdump string similar to running echo "somestring" | xxd -ps on command line. Is there any thing in ruby core/stdlib i can use to do this instead of shelling out?
<benzrf> [ROOT]XxNeoLiTHi: wow ur nick is so leet
marcdel has quit []
<benzrf> anyway
<benzrf> what do u mean by '158 bit'
dachi has joined #ruby
rm_ has joined #ruby
adammokan has joined #ruby
crzrcn has quit [Ping timeout: 252 seconds]
froy has joined #ruby
<[ROOT]XxNeoLiTHi> have an internal application that takes xml configs and it uses a hashed string as unique identifier, was told it had to be 158 bit
<[ROOT]XxNeoLiTHi> the above command is what they gave me
bean__ has joined #ruby
mcclurmc has joined #ruby
Pynix has quit [Quit: Pynix]
<[ROOT]XxNeoLiTHi> *158 bit hex string
<benzrf> ok
<happytux> shevy: so --user-install is the same as --local? Will it install on user-level or on directory-level?
grieg has joined #ruby
<benzrf> >> "some_str".bytes.map &:hex
<eval-in__> benzrf => undefined method `hex' for 115:Fixnum (NoMethodError) ... (https://eval.in/139252)
<benzrf> hmm
<benzrf> >> "some_str".bytes.map {|n| n.to_s 16}.join
<eval-in__> benzrf => "736f6d655f737472" (https://eval.in/139253)
<benzrf> is that what you want
<[ROOT]XxNeoLiTHi> checking
iamjarvo has quit [Ping timeout: 276 seconds]
vpretzel_ is now known as vpretzel|566
<[ROOT]XxNeoLiTHi> :-) ur awesome, ty
<benzrf> B)
<[ROOT]XxNeoLiTHi> that matches the command line output, it works
<benzrf> do u understand the code
sigurding has quit [Quit: sigurding]
<benzrf> because if not u should work it out so that you can do things like this ITF without help
<Hanmac> [ROOT]XxNeoLiTHi: are you sure you dont want something from the digest lib?
DrShoggoth has joined #ruby
etqqkoiflwhb_ has joined #ruby
<benzrf> Hanmac: they said like xxd -ps
* benzrf shrugs
zachallett has quit [Remote host closed the connection]
aknagi has joined #ruby
mjs2600 has quit []
<Hanmac> he wants to use it as key, i think hash is better for that
<[ROOT]XxNeoLiTHi> im following what the app owner gave me, if not i would have done sha1 or something for a unique hash
Speed has joined #ruby
mehlah has quit [Quit: Leaving...]
TUXY-J has joined #ruby
oo_ has quit [Remote host closed the connection]
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
evenix has joined #ruby
TUXY-J has left #ruby [#ruby]
agrinb has joined #ruby
evenix has quit [Remote host closed the connection]
evenix has joined #ruby
maletor has joined #ruby
wallerdev has joined #ruby
sambao21 has joined #ruby
matchaw has joined #ruby
hoelzro has joined #ruby
djbkd has joined #ruby
f0ster has joined #ruby
f0ster is now known as the_f0ster_
michaeldeol has joined #ruby
zcreative has quit [Quit: Computer has gone to sleep.]
evenix has quit [Client Quit]
mehlah has joined #ruby
bradhe_ has quit [Remote host closed the connection]
SonicX_ has joined #ruby
blackavr has joined #ruby
etqqkoiflwhb_ has quit [Quit: Computer has gone to sleep.]
[ROOT]XxNeoLiTHi has left #ruby [#ruby]
werdnativ has quit [Quit: werdnativ]
hamakn has quit [Remote host closed the connection]
madhatter has quit [Remote host closed the connection]
madhatter has joined #ruby
mcclurmc has left #ruby [#ruby]
krz has quit [Quit: WeeChat 0.4.3]
ktun has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ktun has joined #ruby
Guedes0 has quit [Ping timeout: 252 seconds]
benzrf is now known as benzrf|offline
phantasm66 has quit [Quit: *sleeeep….]
blueOxigen has quit [Ping timeout: 252 seconds]
ktun has quit [Client Quit]
codezomb has quit [Quit: Textual IRC Client: www.textualapp.com]
supermarin has quit [Quit: Computer has gone to sleep.]
supermarin has joined #ruby
ktun has joined #ruby
workmad3 has joined #ruby
<shevy> happytux I think it will only install into the user home dir
echevemaster has joined #ruby
ktun has quit [Client Quit]
relix has quit [Read error: Connection reset by peer]
etqqkoiflwhb_ has joined #ruby
relix has joined #ruby
mark_locklear has quit [Ping timeout: 252 seconds]
bean__ has joined #ruby
AlexRussia has joined #ruby
supermarin has quit [Ping timeout: 264 seconds]
supermarin has joined #ruby
toastynerd has joined #ruby
michaeldeol has quit [Quit: Textual IRC Client: www.textualapp.com]
chipotle has joined #ruby
metamaterial has joined #ruby
BaconOverflow has quit [Quit: Connection closed for inactivity]
sarlalian has quit [Quit: WeeChat 0.4.0]
failshell has joined #ruby
blackavr has quit [Quit: blackavr]
yubrew has joined #ruby
wallerdev has quit [Quit: wallerdev]
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
yfeldblum has quit [Ping timeout: 252 seconds]
sarlalian has joined #ruby
Hobogrammer has joined #ruby
himsin has joined #ruby
himsin has quit [Client Quit]
randomnick_ has quit [Ping timeout: 252 seconds]
mikepack has joined #ruby
metamaterial has quit [Ping timeout: 272 seconds]
zcreative has joined #ruby
yubrew has quit [Ping timeout: 252 seconds]
michaeldeol has joined #ruby
ace_striker has joined #ruby
ace_striker has quit [Changing host]
ace_striker has joined #ruby
ace_striker has joined #ruby
ace_striker has quit [Changing host]
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Deejay_ has quit [Quit: Computer has gone to sleep.]
yubrew has joined #ruby
Kricir has joined #ruby
zcreative has quit [Client Quit]
relix has quit [Read error: Connection reset by peer]
mikepack has quit [Ping timeout: 264 seconds]
blackmesa has quit [Ping timeout: 255 seconds]
relix has joined #ruby
klaut has joined #ruby
pwh has joined #ruby
supermarin has quit [Quit: Computer has gone to sleep.]
danijoo has quit [Read error: Connection reset by peer]
supermarin has joined #ruby
danijoo has joined #ruby
agrinb has quit [Quit: Leaving...]
geggam has quit [Ping timeout: 264 seconds]
alpha123 has quit [Ping timeout: 250 seconds]
Virtualize|away has quit [Quit: Leaving...]
Spami has joined #ruby
mjsmith2 has joined #ruby
[BNC]pagioss has quit [Quit: I'm using a Free IRC Bouncer from BNC4FREE - http://bnc4free.com/]
hamakn has joined #ruby
CorySimmons has quit [Quit: Zzz...]
havenwood has quit [Remote host closed the connection]
sigurding has joined #ruby
IceDragon has joined #ruby
bradhe has joined #ruby
nomenkun has quit [Remote host closed the connection]
mr_snowf1ake has joined #ruby
supermarin has quit [Ping timeout: 252 seconds]
nomenkun has joined #ruby
vlad_starkov has quit []
vlad_starkov has joined #ruby
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 264 seconds]
wald0 has quit [Quit: leaving]
endash has joined #ruby
einarj has quit [Remote host closed the connection]
frem_ has joined #ruby
gregf has joined #ruby
nomenkun has quit [Ping timeout: 252 seconds]
bean__ has joined #ruby
tris has quit [Read error: Connection reset by peer]
jdguzman has joined #ruby
CorySimmons has joined #ruby
lw has quit [Ping timeout: 255 seconds]
HashNuke has joined #ruby
havenwood has joined #ruby
SonicX_ has quit [Remote host closed the connection]
pel_daniel has joined #ruby
manlycode has joined #ruby
rippa has joined #ruby
djbender has quit [Quit: djbender]
blackavr has joined #ruby
geggam has joined #ruby
ebwise has joined #ruby
metamaterial has joined #ruby
szerf has joined #ruby
Speed has quit [Ping timeout: 240 seconds]
lw has joined #ruby
jxf has joined #ruby
<szerf> hi
<happytux> [exec] /var/lib/jenkins/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/librarian-0.1.2/lib/librarian/dependency.rb:149:in `assert_name_valid!': name ("") must be sensible (ArgumentError)
<happytux> oh man
djbender has joined #ruby
<happytux> what is wrong?!
lw has quit [Max SendQ exceeded]
<szerf> anyone know about Rsec parser ?
GlenK has quit [Ping timeout: 240 seconds]
SonicX has joined #ruby
ace_striker has quit [Ping timeout: 240 seconds]
<szerf> i need some help
treehug88 has quit [Ping timeout: 240 seconds]
lw has joined #ruby
mattmcclure has joined #ruby
crzrcn has joined #ruby
s3ri0us has joined #ruby
robbyoconnor has quit [Ping timeout: 252 seconds]
tjsousa__ has joined #ruby
tjsousa_ has quit [Ping timeout: 252 seconds]
lowch has joined #ruby
deens has joined #ruby
browndawg has quit [Quit: Leaving.]
lowch has quit [Client Quit]
crzrcn has quit [Ping timeout: 240 seconds]
metamaterial has quit [Quit: Leaving.]
jdguzman has quit [Quit: Textual IRC Client: www.textualapp.com]
nanoyak has joined #ruby
<slash_nick> szerf: what's the question?
Avahey_ has joined #ruby
metamaterial has joined #ruby
obs has quit [Quit: Konversation terminated!]
<szerf> it seems like i dont understand how to use negative predicate operator
shime has quit [Ping timeout: 240 seconds]
<slash_nick> what makes you say that? something you could paste into a gist?
<szerf> ok
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
<szerf> but how to paste it
obscured has quit [Quit: leaving]
arietis has joined #ruby
crzrcn has joined #ruby
sepp2k has quit [Quit: Leaving.]
tjsousa__ has quit [Remote host closed the connection]
abra has quit [Ping timeout: 252 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tjsousa__ has joined #ruby
timonv has joined #ruby
pagioss has joined #ruby
abra has joined #ruby
lw has quit [Ping timeout: 276 seconds]
michaeldeol has joined #ruby
CorySimmons has quit [Quit: Zzz...]
vlad_starkov has quit []
werdnativ has joined #ruby
emaxi has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
matchaw has quit [Ping timeout: 240 seconds]
sdouglas has quit [Remote host closed the connection]
senayar has quit [Remote host closed the connection]
<Hanmac> szerf: i dont know rsec but what happend with 'abcd'.r | ('a'.r ^ 'b'.r) ?
nanoyak has quit [Quit: Computer has gone to sleep.]
mark_locklear has joined #ruby
VTLob has joined #ruby
lkba has joined #ruby
metamaterial has quit [Quit: Leaving.]
etqqkoiflwhb_ has quit [Quit: Computer has gone to sleep.]
Milly_Bays has quit [Ping timeout: 264 seconds]
Milly_Bays has joined #ruby
nanoyak has joined #ruby
lw has joined #ruby
werdnativ has quit [Ping timeout: 276 seconds]
lw has quit [Max SendQ exceeded]
<happytux> Found it: Empty records in / malformed Puppetfile.
Virtualize|away has joined #ruby
sdouglas_ has joined #ruby
lw has joined #ruby
geggam has quit [Remote host closed the connection]
yfeldblum has joined #ruby
<szerf> actually this was just an example : what i want is a way to solve the problems using PEG expressions
<LastWhisper> hey guys, is there a shorter way to write this first if presence? block ?
deric_skibotn has joined #ruby
rmorello|1194 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
aknagi has quit [Quit: aknagi]
<szerf> for example expr = keyword | identifier
garndt has joined #ruby
geggam has joined #ruby
nanoyak_ has joined #ruby
nanoyak has quit [Read error: Connection reset by peer]
xyh has joined #ruby
CorySimmons has joined #ruby
xyh has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
<szerf> this expression will match the keyword and any identifier that begin with this keyword as in for:format
crzrcn has quit [Quit: Leaving.]
nari has quit [Ping timeout: 240 seconds]
emaxi has joined #ruby
<szerf> the other way expr = identifier | keyword will match both idenifier nd keywords as identifiers
rvraghav93 has quit [Read error: Connection reset by peer]
adammokan has quit []
etqqkoiflwhb_ has joined #ruby
senayar has joined #ruby
ebwise has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
rezzack has joined #ruby
bradhe has joined #ruby
nateberkopec has joined #ruby
Valesk has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
djbender has quit [Quit: djbender]
djbender has joined #ruby
randomnick_ has joined #ruby
<szerf> this problem must be solved using the negative lookahead
etqqkoiflwhb_ has quit [Quit: Computer has gone to sleep.]
bradhe has quit [Remote host closed the connection]
djbender has quit [Client Quit]
<szerf> but it seems that the code i wrote contain problem specific to Rsec
bradhe has joined #ruby
geggam has quit [Remote host closed the connection]
ponga has quit [Remote host closed the connection]
kenneth has joined #ruby
<szerf> cause i try a similair code in Parslet and it work but i don't want to shift to Parslet
hostess has quit [Excess Flood]
AlSquire has joined #ruby
thrillagorilla has joined #ruby
djbender has joined #ruby
hostess has joined #ruby
omosoj has quit [Ping timeout: 252 seconds]
arietis has joined #ruby
bricker_ is now known as bricker
sdouglas_ has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
bradhe has quit [Ping timeout: 255 seconds]
nateberkopec has quit [Quit: Leaving...]
geggam has joined #ruby
<havenwood> LastWhisper: presence_check = presence.nil? ? :to : :not_to
helpD has joined #ruby
x1337807x has joined #ruby
nateberkopec has joined #ruby
CaptainJet has joined #ruby
sigurding has quit [Ping timeout: 240 seconds]
bradhe has joined #ruby
sigurding has joined #ruby
ndrei has quit [Read error: Operation timed out]
olivier_bK has quit [Ping timeout: 246 seconds]
nanoyak_ has quit [Read error: Connection reset by peer]
andy___ has quit [Remote host closed the connection]
<LastWhisper> thx havenwood ~!
nanoyak has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robbyoconnor has quit [Read error: Operation timed out]
helpD has quit [Ping timeout: 265 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bradhe has quit [Remote host closed the connection]
nanoyak has quit [Read error: Connection reset by peer]
nanoyak has joined #ruby
bradhe has joined #ruby
djbkd has quit [Remote host closed the connection]
aknagi has joined #ruby
einarj has joined #ruby
chrisseaton has quit [Ping timeout: 240 seconds]
Virtualize|away has quit [Quit: Leaving...]
toastyne_ has joined #ruby
toastynerd has quit [Ping timeout: 276 seconds]
ixti has quit [Ping timeout: 276 seconds]
obs has joined #ruby
lw has quit [Read error: Connection reset by peer]
andy___ has joined #ruby
ndrei has joined #ruby
lw has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
lw has quit [Max SendQ exceeded]
geggam has quit [Remote host closed the connection]
lw has joined #ruby
lw has quit [Max SendQ exceeded]
toastynerd has joined #ruby
lw has joined #ruby
lw has quit [Max SendQ exceeded]
<shevy> ok guys
<shevy> it is time again
<shevy> down with the pants!
simono has joined #ruby
lw has joined #ruby
<shevy> what do you use when you start with a new gem and wish to populate it with proper skeletons, including documentation?
<shevy> file and directory skeletons, not the undead type ones
toastyne_ has quit [Ping timeout: 276 seconds]
geggam has joined #ruby
olivier_bK has joined #ruby
tommylommykins has quit [Quit: leaving]
tommylommykins has joined #ruby
cina has joined #ruby
saarinen has joined #ruby
Milly_Bays has quit [Quit: Leaving]
yfeldblum has quit [Ping timeout: 245 seconds]
* shevy starts to whip everyone
rvraghav93 has joined #ruby
combusean has joined #ruby
rvraghav93 has quit [Read error: Connection reset by peer]
<aedorn> people still wear pants?
Phoenixz has quit [Ping timeout: 252 seconds]
metamaterial has joined #ruby
CorySimmons has quit [Quit: Bye!]
gvickers has joined #ruby
bradhe has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
crzrcn has joined #ruby
Coolhand is now known as niharvey
robbyoconnor has joined #ruby
havenwood has quit [Remote host closed the connection]
szerf has quit [Quit: Page closed]
skaflem has quit [Quit: Leaving]
Trynemjoel has quit [Ping timeout: 245 seconds]
Kricir has quit [Remote host closed the connection]
lw has quit [Read error: Connection reset by peer]
nanoyak has quit [Quit: Computer has gone to sleep.]
anaeem1 has joined #ruby
lukec has quit [Quit: lukec]
Trynemjoel has joined #ruby
nateberkopec has joined #ruby
x1337807x has joined #ruby
marcdel has joined #ruby
robbyoconnor has quit [Excess Flood]
nanoyak has joined #ruby
senayar has quit [Remote host closed the connection]
treehug88 has joined #ruby
nanoyak has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
ebwise has joined #ruby
nanoyak has joined #ruby
djbkd has joined #ruby
VTLob has quit [Quit: VTLob]
thrillagorilla has quit []
<shevy> only outside home!
Xeago has joined #ruby
armstrjare has joined #ruby
armstrjare has quit [Max SendQ exceeded]
etqqkoiflwhb_ has joined #ruby
Phoenixz has joined #ruby
marcdel has quit [Ping timeout: 265 seconds]
ehc has joined #ruby
treehug88 has quit [Ping timeout: 255 seconds]
robbyoconnor has quit [Ping timeout: 252 seconds]
obs has quit [Quit: Saliendo]
ixti has joined #ruby
omosoj has joined #ruby
bradhe has quit [Remote host closed the connection]
treehug88 has joined #ruby
simono is now known as simon-away
simon-away has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bradhe has joined #ruby
kaspergrubbe has joined #ruby
centrx has quit [Quit: All this computer hacking is making me thirsty]
havenwood has joined #ruby
afex has joined #ruby
helpD has joined #ruby
etqqkoiflwhb_ has quit [Ping timeout: 252 seconds]
gvickers has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
baroquebobcat has joined #ruby
marcdel has joined #ruby
lw has joined #ruby
lw has quit [Max SendQ exceeded]
Shidash has joined #ruby
lw has joined #ruby
lw has quit [Max SendQ exceeded]
sputnik1_ has joined #ruby
sputnik1_ is now known as sputnik13net
geggam has quit [Remote host closed the connection]
lw has joined #ruby
ebwise has quit [Remote host closed the connection]
etqqkoiflwhb_ has joined #ruby
djbender has quit [Quit: djbender]
postmodern has joined #ruby
j416 has joined #ruby
<j416> o/ what's a nice way to embedd a multiline shell script in my ruby script? Can I use heredoc?
geggam has joined #ruby
mikepack has joined #ruby
<j416> I want to execute a few lines, blocking, and get the result into a variable
<j416> s/embedd/embed/
<j416> even
<havenwood> j416: my first impulse would be to create an Array of commands and iterate over them with backticks
<j416> that's not too bad
<havenwood> j416: do the commands rely on each other? if it's complicated you might consider rake.
<j416> yes well
<j416> I'd like to chain them with &&
<j416> to let shell handle any errors
blackmesa has joined #ruby
<j416> no rake
<j416> this is a script to get some data from a website and commit it to a git repo and push it
<j416> to become a cron job
<havenwood> you can rake in a cron job
toastynerd has quit []
<j416> I'd rather not rely on rake, though
<j416> seems overkill
<j416> not sure how I'd benefit?
crystal77 has joined #ruby
spyderma_ has quit []
mikepack has quit [Ping timeout: 252 seconds]
GlenK has joined #ruby
tharindu has quit [Quit: Leaving...]
<havenwood> j416: if tasks depend on other tasks it can quickly become spaghetti mess. rake has a nice clean way of invoking task dependencies. if it is simple enough maybe no need.
paulfm has quit []
<j416> havenwood: good point. This is just a simple script though, and it's not a disaster if it fails to push
paulfm has joined #ruby
<j416> since it's a cron job I'd like to keep its dependencies few, since if it didn't run at all it'd be a bit of a hassle for me
<j416> (in case gem is lost etc.)
ponga has joined #ruby
AntelopeSalad_ has joined #ruby
djbkd has quit [Remote host closed the connection]
twiceday has joined #ruby
<havenwood> j416: rake does ship with ruby these days, but i sure understand wanting to keep it simple
AntelopeSalad has quit [Ping timeout: 252 seconds]
bthesorceror has joined #ruby
<j416> havenwood: I found a solution
<havenwood> j416: use Shell :P
<j416> havenwood: Kernel#system returns a boolean with the result of the command
paulfm has quit [Ping timeout: 252 seconds]
djbkd has joined #ruby
twiceaday has quit [Ping timeout: 240 seconds]
<j416> havenwood: I could just loop an array as you suggest and break if any command gives false
<j416> nice nice
<havenwood> j416: with backticks you can check: $?.success? #=> true
ponga has quit [Ping timeout: 240 seconds]
<havenwood> j416: $? should work fine as long as you're blocking
<havenwood> j416: but yeah, `system` if you don't need to return output
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
Guedes0 has joined #ruby
<havenwood> j416: do you really need to shell out?
<havenwood> j416: Have any code to Gist?
Lewix has quit [Remote host closed the connection]
djbender has joined #ruby
Lewix has joined #ruby
paulfm has joined #ruby
<shevy> $?.success? is so ugly to read
claymore has quit [Ping timeout: 240 seconds]
<havenwood> shevy: i guess you can: require 'english'; $CHILD_STATUS == $? #=> true
<havenwood> shevy: perlisms!
<shevy> only slightly better
<shevy> that one has to require english is however awful :(
ponga has quit [Ping timeout: 252 seconds]
<shevy> it makes these alternative names second-class citizens
claymore has joined #ruby
<shevy> couldn't all those $- be added into a module?
<crome> $- looks like an umbrella or something
aknagi has quit [Quit: aknagi]
b1nd has joined #ruby
lw has quit [Read error: No route to host]
<havenwood> i was pleased the other day that i got to make a monkeyface with: #inject(:|)
<shevy> and what does $~ look like
<shevy> lol
<crome> shevy: a corkwscrew
<crome> -w
<shevy> inject with a monkeyface attitude
<crome> should be $~~ for better proportions
<havenwood> inject monkeys at once!
Kricir has joined #ruby
GaryOak_ has quit [Remote host closed the connection]
olivier_bK has quit [Ping timeout: 246 seconds]
aknagi has joined #ruby
<shevy> lol
tjsousa__ has quit [Ping timeout: 252 seconds]
shashank_rs has quit [Ping timeout: 250 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benzrf|offline is now known as benzrf
senayar has joined #ruby
aarkerio has joined #ruby
AntelopeSalad_ is now known as AntelopeSalad
bradhe has quit [Remote host closed the connection]
proliberate has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
sepp2k has joined #ruby
simono has joined #ruby
dideler|work has quit [Quit: WeeChat 0.4.3-dev]
crazymykl has quit [Ping timeout: 258 seconds]
anaeem1 has quit [Remote host closed the connection]
anaeem1 has joined #ruby
paulfm has quit []
lolmaus has quit [Ping timeout: 255 seconds]
pskosinski has quit [Remote host closed the connection]
pskosinski has joined #ruby
aarkerio has quit [Quit: Verlassend]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
Es0teric_ has joined #ruby
senayar has quit [Ping timeout: 276 seconds]
paulfm has joined #ruby
<j416> havenwood: turns out I couldn't do it that way afterall, can't cd and expect to be in that directory when executing next command
crystal77 has quit [Quit: Computer has gone to sleep.]
<havenwood> j416: Show the commands you're running and maybe we can help.
<j416> havenwood: ended up doing cmd = <<-SHELL [...] SHELL and then system cmd or raise ...
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> j416: aha
shashank_rs has joined #ruby
<j416> havenwood: pushd directory && git add file && git commit -m Message && git push && popd
Doc_X has joined #ruby
rgiscard has joined #ruby
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<j416> I suppose I could accomplish that in a more ruby-ish way using grit or the like, but that's another dependency I don't need :)
<j416> this is enough, it's not like it's a production-critical thing or anything like that, anyway
kukyakya has quit [Remote host closed the connection]
<j416> (it's a script to get the latest price for some stocks and add that to my ledger (ledger-cli.org) price database)
Es0teric has quit [Ping timeout: 252 seconds]
<havenwood> j416: I'd be tempted to use the Rugged gem: https://github.com/libgit2/rugged#readme
timonv has joined #ruby
<j416> so many new things
<j416> I've been out of the loop
<j416> there's libgit_2_ now, wow
CaptainJet has quit []
<j416> last time I checked grit was the go-to ruby gem for git
afex has quit [Ping timeout: 265 seconds]
<havenwood> i think a Rugged dep might end up being more robust than shelling out, dunno
djbkd has quit [Remote host closed the connection]
<j416> yeah, I don't doubt that
<j416> this is dead simple, though
bradhe has joined #ruby
<j416> just add and commit
<j416> and push
testcore has joined #ruby
<j416> if there's an error, cron will send me an e-mail anyway
<benzrf> push push push
simono has quit [Read error: Connection reset by peer]
simono_ has joined #ruby
metamaterial has quit [Quit: Leaving.]
cina has quit [Ping timeout: 240 seconds]
<j416> and if that fails, I'll notice fairly quickly that my price database hasn't been updated
<j416> but thank you. If I ever need to do advanced git magic in ruby I'll definitely re-visit rugged
saarinen has quit [Read error: Connection reset by peer]
rgiscard has quit [Ping timeout: 252 seconds]
Spami has quit [Quit: This computer has gone to sleep]
timonv has quit [Ping timeout: 264 seconds]
lolmaus has joined #ruby
lolmaus has quit [Read error: Operation timed out]
olivier_bK has joined #ruby
Lightsword has joined #ruby
binaryhat has quit [Quit: Leaving]
claymore has quit [Ping timeout: 252 seconds]
testcore has quit [Ping timeout: 272 seconds]
obs has joined #ruby
obs_ has joined #ruby
saarinen has joined #ruby
obs_ has quit [Client Quit]
arietis has quit [Quit: Computer has gone to sleep.]
nopolitica has quit [Ping timeout: 252 seconds]
mjsmith2 has quit [Ping timeout: 240 seconds]
claymore has joined #ruby
Xeago_ has joined #ruby
pika_pika has quit [Ping timeout: 252 seconds]
rgiscard has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
banister is now known as banisterfiend
simono_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xiti` has joined #ruby
Hanmac1 has joined #ruby
oo_ has joined #ruby
feelx has quit []
Hanmac has quit [Ping timeout: 252 seconds]
oo__ has joined #ruby
Xiti has quit [Ping timeout: 276 seconds]
aknagi has quit [Quit: aknagi]
yfeldblum has joined #ruby
aknagi has joined #ruby
senayar has joined #ruby
oo_ has quit [Ping timeout: 276 seconds]
eynj has quit [Quit: Leaving.]
mr_snowf1ake has quit [Ping timeout: 252 seconds]
cpruitt has joined #ruby
oo__ has quit [Ping timeout: 240 seconds]
Xiti` has quit [Quit: Leaving]
oo_ has joined #ruby
testcore has joined #ruby
Thanatermesis has joined #ruby
Thanatermesis has quit [Changing host]
Thanatermesis has joined #ruby
oo__ has joined #ruby
mentero has joined #ruby
oo__ has quit [Read error: Connection reset by peer]
oo__ has joined #ruby
afex has joined #ruby
oo__ has quit [Read error: Connection reset by peer]
rm_ has quit [Remote host closed the connection]
cina has joined #ruby
oo__ has joined #ruby
olivier_bK has quit [Ping timeout: 246 seconds]
oo_ has quit [Ping timeout: 240 seconds]
rm_ has joined #ruby
oo__ has quit [Remote host closed the connection]
rm_ has quit [Read error: Connection reset by peer]
rm_ has joined #ruby
oo_ has joined #ruby
oo__ has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
yfeldblum has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
djbkd has joined #ruby
<rdgawdzi> To clone an object, is it recommended to write your own clone, that clones each field by cloning their respective field? (In a recursive-like nature?)
<rdgawdzi> Like if I clone a hash, are k,v cloned as well for example? Or do I need to handle that?
jb__ has joined #ruby
ktun has joined #ruby
<benzrf> >> {a: 'wut', b: 'ok'}.deep_copy
<eval-in__> benzrf => undefined method `deep_copy' for {:a=>"wut", :b=>"ok"}:Hash (NoMethodError) ... (https://eval.in/139281)
crazymykl has joined #ruby
<benzrf> o wait that's a python thing i think
jonno11 has joined #ruby
<rdgawdzi> Yeah it's kinda iffy for Ruby with deep copies...
<rdgawdzi> I am a ruby noob. What do ruby pro's do when they need a deep copy?
djbkd has quit [Remote host closed the connection]
cina has quit [Ping timeout: 276 seconds]
bean__ has joined #ruby
oo_ has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
<shevy> we use .dup
<shevy> hash1 = { :abc => 'yo' }; hash2 = hash1.dup
<shevy> .clone also exists I think
oo__ has quit [Ping timeout: 276 seconds]
<rdgawdzi> Those are shallow copies..
Sawbones has joined #ruby
<benzrf> those arent deep u plebs
<crome> :D
<shevy> deep enough for me
crucify_me has joined #ruby
<crome> we are not bloody birds to use nests, right?
oo_ has quit [Read error: Connection reset by peer]
CYBERSPOOKZ has joined #ruby
oo_ has joined #ruby
<shevy> you can be a bloody bird!
<Hanmac1> rdgawdzi: use Marshal.load(Marshal.dump(hash)) but it does not work when Hash uses default_proc
kevind_ has joined #ruby
n0n3 has quit []
HashNuke has quit [Quit: Connection closed for inactivity]
<benzrf> ewwwww
jb__ has quit [Quit: leaving]
ponga has quit [Ping timeout: 276 seconds]
yfeldblum has joined #ruby
<rdgawdzi> Yeah that looks so horrible...
decoponio has quit [Quit: Leaving...]
Musashi1 has joined #ruby
kevind has quit [Ping timeout: 252 seconds]
kevind_ is now known as kevind
oo__ has joined #ruby
<rdgawdzi> At least rails has deep_dup
CYBERSPOOKZ has quit [Ping timeout: 255 seconds]
oo_ has quit [Ping timeout: 240 seconds]
<apeiros> rdgawdzi: ruby's pros don't need deep copies
rm_ has quit [Remote host closed the connection]
<apeiros> deep copy is a smell. if you still need one, the cheap way is to use Marshal, the proper way is to model your classes correctly and implement their #intialize_copy
<rdgawdzi> apeiros: I am creating a decision tree of board game states, and I am modifying them but I want them to not modify each other down the chain.
rm_ has joined #ruby
<rdgawdzi> apeiros: You recommend designing it differently?
simono has joined #ruby
<apeiros> rdgawdzi: definitely. as said, deep copy = smell
obscured has joined #ruby
crystal77 has joined #ruby
Lemur has quit [Remote host closed the connection]
<shevy> "implement their #intialize_copy"
<shevy> hmmmmmm
<shevy> ;-)
<shevy> it took me several minutes once to find out why class Foo; def intialize did not work
<benzrf> ?
oo__ has quit [Ping timeout: 240 seconds]
shashank_rs has quit [Read error: Operation timed out]
Azure has quit [Quit: Blue Sky Fish]
<shevy> yeah benzrf that is something for you to find out!
<benzrf> oic lol
jsutch has joined #ruby
<benzrf> this is why python uses __init__
rm_ has quit [Ping timeout: 252 seconds]
<benzrf> that one is hard to mis spell
Azure has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.3]
<shevy> hmm
<shevy> def init
<shevy> might actually be cool too
<shevy> or def main
<shevy> def start
<shevy> !!!
lw has joined #ruby
<benzrf> def leppard
rgiscard has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
lw has quit [Max SendQ exceeded]
sambao21 has quit [Quit: Computer has gone to sleep.]
Kricir has quit [Remote host closed the connection]
djbkd has joined #ruby
lw has joined #ruby
zigomir has joined #ruby
CYBERSPOOKZ has joined #ruby
sambao21 has joined #ruby
pika_pika has joined #ruby
<Hanmac1> shevy dont trust statistics that say "java" is better than "ruby" because most of them only count the lines of code ... and be serious, you need many less lines in ruby for the same thing than in java
<Senjai> LOC is the worst metric
<Senjai> I'm fine with double the code if I can read it twice as fast
<Senjai> clarity trumps all
davispuh has joined #ruby
bryanculver has quit [Quit: Connection closed for inactivity]
CYBERSPOOKZ has left #ruby [#ruby]
matchaw has joined #ruby
danshultz has quit [Remote host closed the connection]
<Hanmac1> Senjai: good that you did not see my C(++) code ... i use macros in macros .. in macros with templates to automatic generate bindable functions for Ruby's C-Api
danshultz has joined #ruby
<atmosx> benzrf: Love biteeesss
<atmosx> love bleeeeds
oo_ has joined #ruby
<Senjai> Hanmac1: That doesn't sound fun at all.
red234324 has quit [Quit: Leaving]
Hanmac1 is now known as Hanmac
<benzrf> love.bite :atmosx
instantaphex has joined #ruby
<Hanmac> Senjai: i am still suprised that the IDE can resolve the macro construct to detect the code behind ;P
<Senjai> Sounds like you should refactor
<benzrf> yesterday i learned that ruby is fucking weird about local variables' existence
<benzrf> >> if false; n = 3; end; n
<eval-in__> benzrf => nil (https://eval.in/139285)
<benzrf> wtf
<Senjai> That soounds right
<Senjai> Scoping should work that way
<benzrf> uh
<benzrf> what
<benzrf> that code was not run, therefore the variable was not created
<Senjai> if n isn't defined before the if statement?
<benzrf> yes
combusean has quit [Ping timeout: 252 seconds]
<Senjai> oh i see.
<Senjai> derp
<atmosx> benzrf: I encountered similar behavior in many programs the last couple of days, I must be missing something
<Senjai> >> n
<eval-in__> Senjai => undefined local variable or method `n' for main:Object (NameError) ... (https://eval.in/139286)
<benzrf> python doesnt do it that way
<Senjai> I get what you mean
<Senjai> that is weird :/
<atmosx> benzrf: dont' remember having such issues in the past
<atmosx> heh
<benzrf> s>>> if False:
<benzrf> ... n = 3
<benzrf> >>> n
<benzrf> Traceback (most recent call last): File "<stdin>", line 1, in <module>
<benzrf> ...
<eval-in__> benzrf => /tmp/execpad-7d2adeae7994/source-7d2adeae7994:2: syntax error, unexpected '>' ... (https://eval.in/139287)
<benzrf> NameError: name 'n' is not defined
oo_ has quit [Ping timeout: 252 seconds]
danshultz has quit [Ping timeout: 265 seconds]
<Senjai> benzrf: Where'd you discover that?
<Senjai> just in the day to day codethings?
crucify_me has quit []
<benzrf> n
<benzrf> yesterday i discovered that ruby_parser understands scope
<benzrf> so if you have it parse 'n = 3' and then 'n', it will parse it as a local variable lookup
<benzrf> but 'x' as a method call
marcdel has quit []
<benzrf> so i tried doing it when it is indeterminate whether the var exists
<benzrf> and got that it still treats it as a var
<benzrf> then i tried it in actual code so that i could comment on the inconsistency
<benzrf> then i found out that that's not an inconsistency
<benzrf> [tableflip]
mentero has quit [Quit: Leaving]
jxf has quit [Ping timeout: 264 seconds]
WilfredTheGreate has joined #ruby
WilfredTheGreat has joined #ruby
WilfredTheGreate has quit [Client Quit]
WilfredTheGreat has quit [Client Quit]
WilfredTheGreat has joined #ruby
alvaro_o has joined #ruby
Donations has joined #ruby
combusean has joined #ruby
SlvrDragn has quit [Quit: Peace & Protection 4.22.2]
thrillagorilla has joined #ruby
mjsmith2 has joined #ruby
mikepack has joined #ruby
gregf has quit [Quit: WeeChat 0.4.3]
<Senjai> benzrf: I think you should submit a bug report
<benzrf> pretty sure that's indenteded bhavior
<benzrf> *intended wow
CorySimmons has joined #ruby
<benzrf> it's much harder to do it that way then the sane way
bricker has quit [Quit: leaving]
bricker has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
metamaterial has joined #ruby
mikepack has quit [Ping timeout: 252 seconds]
obscured has quit [Quit: leaving]
olivier_bK has joined #ruby
crucify_me has joined #ruby
sigurding has quit [Quit: sigurding]
Donations has quit [K-Lined]
Hanmac has quit [Ping timeout: 240 seconds]
<GlenK> hmm, so I'm forgetting everything I did previously. and now rails isn't working due to my init scripts. if I unset GEM_PATH though, it starts working again.
<GlenK> I have rails installed via my distro's package manager at this point. works for me.
<GlenK> question though, if I am going to be installing other things via the gem command, I'm probably going to need that GEM_PATH variable again. any advice on how to consolidate that with my OS's stuff?
davispuh has quit [Ping timeout: 240 seconds]
terrellt has quit [Read error: Connection reset by peer]
Spami has joined #ruby
jackneill has quit [Remote host closed the connection]
bthesorceror has quit [Remote host closed the connection]
terrellt has joined #ruby
<instantaphex> why don't you remove everything through the package manager and install through rbenv or something like that
aknagi has quit [Quit: aknagi]
<GlenK> instantaphex: because that seems silly for one.
Hanmac has joined #ruby
Xiti has joined #ruby
<GlenK> and anyhow, I've just determined via "gem env" that I don't need to set GEM_PATH at all
<GlenK> so I have no idea why I was doing it in the past, but oh well, whatever.
<instantaphex> it is pretty silly
anaeem1 has quit [Remote host closed the connection]
metamaterial has quit [Remote host closed the connection]
anaeem1 has joined #ruby
<GlenK> seriously. I mean, I get the want to stick to a particular version or whatever, but for me a student of all this, I'm just going to go with the lazy route, my distro's package manager.
yalue has quit [Quit: Leaving]
crucify_me_ has joined #ruby
<instantaphex> you could end up with some problems trying to follow documentation when you're working with outdated builds
oo_ has joined #ruby
crucify_me_ has quit [Client Quit]
aspiers has quit [Ping timeout: 245 seconds]
workmad3 has joined #ruby
ikaros has joined #ruby
matchaw has quit [Ping timeout: 255 seconds]
jmurray has joined #ruby
<postmodern> GlenK, you should probably install all gems via gem install
<postmodern> GlenK, using ruby via the package manager is OK though
ixti has quit [Ping timeout: 276 seconds]
anaeem1 has quit [Ping timeout: 252 seconds]
jmurray has quit [Client Quit]
sambao21 has joined #ruby
<GlenK> haha, I'm sure I'll fail at something again soon. so until the next time! right now though I'm going to succeed at mexican food
chipotle has quit [Quit: cya]
oo_ has quit [Ping timeout: 265 seconds]
<GlenK> I'm off to a great start. I got chipotle to quit
oo_ has joined #ruby
drPoggs has quit [Quit: +++ATH]
WilfredTheGreat has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
codebro has quit [Ping timeout: 240 seconds]
metamaterial has joined #ruby
grieg has quit [Ping timeout: 240 seconds]
akonny has joined #ruby
oo_ has quit [Ping timeout: 240 seconds]
oo__ has joined #ruby
<shevy> what is a chipotle
<shevy> is that like a kangaroo?
<shevy> or is it a satanic ritual of the old aztecs
<instantaphex> its a pepper
davispuh has joined #ruby
<benzrf> its a mexican fast food restaurant
<shevy> ohh so it is even worse
<instantaphex> it also makes your anus bleed
<benzrf> but more All Natural™ than taco bell
<benzrf> instantaphex: ive eaten there and not had fiery shits
<shevy> no need to describe all of their devilish secrets instantaphex
<shevy> benzrf you are still young but wait as you get older, how your body responds to abuse
manlycode has quit [Ping timeout: 240 seconds]
oo_ has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
<GlenK> you have a problem with digestion, not with spicy food if you're unable to handle mildly spicy foods, such as chipotle peppers.
Sawbones has quit []
<instantaphex> I guess you guys didn't see that episode of south park
<GlenK> bear in mind there are chipotle peppers and there are "chipotle peppers". the canned ones are weird.
oo_ has quit [Remote host closed the connection]
oo__ has quit [Ping timeout: 276 seconds]
oo_ has joined #ruby
<GlenK> yeah, south park, sorry, I'm pop culture impaired these days after canceling cable.
<instantaphex> Yeah I cancelled cable years ago too
<arubincloud> Chipotle peppers are made from jalapenos, which vary quite a bit in hotness.
<shevy> so the guys on #ruby know more about peppers than they do about ruby
<GlenK> shevy: comes from living in new mexico I guess.
instantaphex has quit [Quit: Lost terminal]
<GlenK> arubincloud: they vary, meaning they're mostly mild I find these days, but even the most spicy ones are quite mild, especially if you roast and/or seed them or whatever.
<arubincloud> shevy: Peppers are the new Ruby.
djbkd has quit [Ping timeout: 276 seconds]
ixti has joined #ruby
momomomomo has joined #ruby
ponga has quit [Ping timeout: 252 seconds]
<arubincloud> Just think of the great naming conventions that peppers allow.
<arubincloud> gems = seeds?
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
dideler|work has joined #ruby
djbkd has joined #ruby
oo_ has quit [Ping timeout: 252 seconds]
<benzrf> in python we had eggs as the files
<arubincloud> There would certainly be a seed with the name of every obscure pepper.
x1337807x has joined #ruby
<benzrf> but then we switched to the wheel format
<arubincloud> Then you have Scoville and capsicum.
kirun has quit [Quit: Client exiting]
<benzrf> (the package index was ocassionally referred to as the cheesehop)
<arubincloud> benzrf: Python switches every few years, no?
<arubincloud> =P
<benzrf> *cheeseshop
aknagi has joined #ruby
<shevy> python just can't make up their minds
Avahey_ has quit [Quit: Connection closed for inactivity]
<benzrf> the trouble with python is that it is an excellent procedural language
<benzrf> but the OOP is tacked on
<aknagi> GlenK: I’d avoid the package manager if I were you (if I was doing Rails development that is, simle use caes might be OK).
benlieb has joined #ruby
<GlenK> I find it weird how much people are opposed to python based on the indentation rules. I mean, I get it with fortran, but python? the rules are pretty loose.
no6 has joined #ruby
<benzrf> and then they force you to do everything above super simple scripts (and even that!) with objects
rm_ has joined #ruby
<benzrf> but if square objects werent hammered into python's procedural round hole
paulfm has quit []
freezey has joined #ruby
supermarin has joined #ruby
BZaidan has joined #ruby
<BZaidan> good afternoon..
<benzrf> as it is python is my favorite recommendation for a first language because it lets you learn about procedural and imperative programming in a nice, consistent context
thrillagorilla has quit []
<benzrf> except that they force in objects =[
<benzrf> maybe i should start with smalltalk instead
<benzrf> i should probably learn it myself first
<BZaidan> does anyone here know how I can parse an rss feed in ruby, add an item and then export it?
<benzrf> hmm
<benzrf> >> require 'rss'
<eval-in__> benzrf => (https://eval.in/139311)
<benzrf> yup
ktosiek has quit [Read error: Operation timed out]
<BZaidan> ie can I use RSS::Parser and RSS::Maker together?
mary5030 has quit [Remote host closed the connection]
<benzrf> i dont see why not
terrellt has quit [Remote host closed the connection]
<BZaidan> can you explain how I can?
<shevy> benzrf get over it, smalltalk failed
<benzrf> lel
<GlenK> ha, I got nothing dude. except jerk stuff, like rss, is that even a thing anymore?
<benzrf> BZaidan: im not familiar with the API sorry
<GlenK> sorry, sorry.
yfeldblum has quit [Ping timeout: 245 seconds]
<benzrf> shevy: i bet youd like smalltalk
<BZaidan> ah, don'T worry about it. thanks for the help.
terrellt has joined #ruby
<shevy> hopefully RSS has good documentation
<benzrf> shevy: seriously
<shevy> benzrf, the idea yes, the syntax no
ixti has quit [Ping timeout: 240 seconds]
<benzrf> whats wrong w/ it
<shevy> I remember code examples where the method chaining was split out after several line breaks
<benzrf> huh?
froy has quit [Ping timeout: 276 seconds]
terrellt has quit [Remote host closed the connection]
terrellt has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
<shevy> it was awful to watch
<benzrf> idk what u mean
<benzrf> fyi smalltalk has cascading
oo_ has joined #ruby
danijoo has joined #ruby
djbkd has quit [Remote host closed the connection]
<shevy> fancy namy for awful syntax
BZaidan has left #ruby ["POTATO!"]
kreisys has quit [Quit: Computer has gone to sleep.]
<shevy> foo open:"abc" read:true write:false
enebo has joined #ruby
<benzrf> foo bar; baz;
enebo has quit [Client Quit]
<benzrf> foo.bar; foo.baz
<benzrf> ^equiv
<benzrf> iirc
<shevy> much more concise in the second example
<shevy> let's find a longer smalltalk example with spread out method chaining
enebo has joined #ruby
robbyoconnor has joined #ruby
enebo has quit [Read error: Connection reset by peer]
<shevy> does smalltalk have GUI bindings?
<benzrf> um
<benzrf> it doesnt come without em these days
<shevy> because I think that example had window as a variable
<benzrf> except for gst
oo_ has quit [Read error: Connection reset by peer]
<shevy> ewww
<shevy> lisp fragmentation?
<benzrf> yep :[
<benzrf> remember, non-gst smalltalk dev is all based on interacting with a running image
oo_ has joined #ruby
lw has quit [Quit: s]
klaut has quit [Remote host closed the connection]
<benzrf> and in most that means using the gui it's programmed
codebro has joined #ruby
helpD has quit [Remote host closed the connection]
<shevy> it was like this but about 4x as long
testcore has quit [Ping timeout: 272 seconds]
klaut has joined #ruby
<shevy> s := super new.
<shevy> s setsize: size.
<shevy> ^s
<shevy> god no
helpD has joined #ruby
jrhorn424 is now known as zz_jrhorn424
s3ri0us is now known as s3ri0us|away
klaut_ has joined #ruby
<GlenK> has anyone messed with J?
<shevy> java
<GlenK> I keep looking at that origins of J thing and keep thinking either I'm dumb as a box of rocks or dude is insane
djbender has quit [Quit: djbender]
Nukepuppy has quit [Ping timeout: 252 seconds]
<GlenK> not java, J
<shevy> hey
<shevy> it could be both GlenK ;-)
<benzrf> god no?
<GlenK> nah, this insanity: http://nsl.com/papers/origins.htm
<benzrf> GlenK: J is from APL
<shevy> benzrf how can you find beauty in that syntax?
<benzrf> it's not beautiful
<benzrf> but i fail to find it awful
michaeldeol has joined #ruby
oo_ has quit [Ping timeout: 252 seconds]
djbender has joined #ruby
klaut has quit [Ping timeout: 276 seconds]
Emmanuel_Chanel has quit [Ping timeout: 252 seconds]
kies has quit [Ping timeout: 252 seconds]
nemesit|znc has quit [Ping timeout: 258 seconds]
robbyoconnor has quit [Quit: Konversation terminated!]
helpD has quit [Ping timeout: 276 seconds]
randomnick_ has quit [Quit: Leaving]
froy has joined #ruby
failshel_ has joined #ruby
brunops has joined #ruby
<benzrf> yo somebody wanna take a glance at my NEW GEM
nemesit|znc has joined #ruby
<benzrf> it has 167 LOC B)
<benzrf> that's more than 100
<benzrf> that's a lot
marcdel has joined #ruby
marcdel has quit [Max SendQ exceeded]
<slash_nick> benzrf: where's it
oo_ has joined #ruby
rm_ has quit [Disconnected by services]
enebo has joined #ruby
Emmanuel_Chanel has joined #ruby
marcdel has joined #ruby
rm__ has joined #ruby
CorySimmons has quit [Quit: Zzz...]
ixti has joined #ruby
failshell has quit [Ping timeout: 255 seconds]
aknagi has quit [Quit: aknagi]
klaut_ has quit [Ping timeout: 240 seconds]
failshel_ has quit [Ping timeout: 264 seconds]
<Senjai> benzrf: What's it do
CorySimmons has joined #ruby
<slash_nick> :P
kimiamania has quit [Ping timeout: 240 seconds]
<Senjai> benzrf: Have you heard of ack-grep?
<Senjai> Or pry :P
<benzrf> static analysis tho
<benzrf> no need to load the files
<benzrf> all parsing-based, no sfx
agent_white has joined #ruby
agent_white has quit [Client Quit]
workmad3 has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
oo_ has quit [Ping timeout: 240 seconds]
pel_daniel has quit [Read error: No route to host]
<agent_white> Afternoon folks
mercwithamouth has quit [Ping timeout: 255 seconds]
luckyruby has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
andy___ has quit [Remote host closed the connection]
oo_ has joined #ruby
frem_ has quit [Quit: Connection closed for inactivity]
pel_daniel has joined #ruby
<benzrf> Senjai: anyway the other thing is that it works by resulting name or some shit
<benzrf> it knows which class each method is in etc
<benzrf> more programmatic than ack-grep
testcore has joined #ruby
<benzrf> yadda yadda :p
<Senjai> benzrf: ah
kaspergrubbe has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kies has joined #ruby
kies has quit [Changing host]
kies has joined #ruby
dblessing has quit [Quit: dblessing]
<shevy> Fetching: static_source_loc-1.0.0.gem (100%)
<shevy> Successfully installed static_source_loc-1.0.0
<shevy> 1 gem installed
<shevy> what now
djbkd has joined #ruby
oo_ has quit [Ping timeout: 264 seconds]
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zack_ has joined #ruby
GaryOak_ has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
<zack_> Hi. I have a Test::Unit test. I want to call it multiple times, changing the parameters inside setup slightly each time. What's the best way about this?
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
x1337807x has joined #ruby
<benzrf> shevy: require 'static_source_loc'
<benzrf> then do 'StaticSourceLoc.analyze <some_directory_path>'
<benzrf> it takes 3 optional args
agent_white has quit [Ping timeout: 264 seconds]
agent_white has joined #ruby
<benzrf> 2nd is an ==='able test to run against files to see whether to include them (default is /\.rb\Z/)
afex has quit [Ping timeout: 276 seconds]
<benzrf> 3rd is the same for dirs, but if it fails the entire dir is skipped
doodlehaus has quit [Remote host closed the connection]
<benzrf> default is proc {true}
danijoo has quit [Read error: Connection reset by peer]
agent_white has quit [Read error: Connection reset by peer]
<benzrf> 4th is boolean on whether to ignore parsing errors and just move onto the next file
<benzrf> default is true
<benzrf> so that if it misidentifies a .rb file which isnt really code, it doesnt blow up
danijoo has joined #ruby
<shevy> hmm
<shevy> I get things like "(Object doesn't support #inspect)"
einarj has quit [Read error: Connection reset by peer]
freezey has quit [Remote host closed the connection]
olivier_bK has quit [Ping timeout: 246 seconds]
emaxi has quit [Remote host closed the connection]
<shevy> and for my largest project I get lots of:
<benzrf> yo wht
codebro has quit [Ping timeout: 252 seconds]
<shevy> delete
<shevy> BLOCK
<benzrf> ??
SilkFox has quit [Ping timeout: 240 seconds]
<shevy> and then after some more empty lines I get
<shevy> (Object doesn't support #inspect)
<benzrf> wuh
centipedefarmer has joined #ruby
einarj has joined #ruby
<shevy> I tried:
<benzrf> screen shot?
<shevy> require 'static_source_loc'; StaticSourceLoc.analyze 'lib/'
hfp is now known as hfp`away
<benzrf> ok
<benzrf> and what's all this BLOCK
noop has quit [Ping timeout: 240 seconds]
locriani has joined #ruby
<shevy> benzrf here the screenshot result http://oi57.tinypic.com/29n8hmv.jpg
<benzrf> >tinypic
* benzrf smacks shevy
reset has joined #ruby
<shevy> it is a direct link to the image
cover has quit [Remote host closed the connection]
<Senjai> shevy: Ewwww
<Senjai> shevy: That font
<shevy> wat
agent_white has joined #ruby
<benzrf> yooo wtf
<shevy> show me your font
mark_locklear has quit [Ping timeout: 240 seconds]
kimiamania has joined #ruby
<shevy> benzrf does StaticSourceLoc.analyze take directories into consideration?
<benzrf> um yes
<benzrf> thats the point
<shevy> hmm
oo_ has joined #ruby
<benzrf> what was the result of itman
<benzrf> *it
<apeiros> ruby-2.1.1:001:0>> BasicObject.new
<apeiros> (Object doesn't support #inspect)
omosoj has quit [Ping timeout: 240 seconds]
<apeiros> didn't use eval-in because that's how IRB handles it
momomomomo has quit [Quit: momomomomo]
<apeiros> ruby-2.1.1:002:0>> class X; undef inspect; end; X.new
<apeiros> (Object doesn't support #inspect)
terrellt has quit [Remote host closed the connection]
<benzrf> Senjai: switch to inconsolata
<apeiros> that works too
<benzrf> its da best
<shevy> benzrf I tried from a .rb file
zigomir has quit [Remote host closed the connection]
<shevy> static_source_loc.rb:36:in `inspect': undefined method `class_name' for StaticSourceLoc::ModuleSource:Class (NoMethodError)
djbkd has quit [Remote host closed the connection]
<Senjai> benzrf: I have coworkers who swear to it
<benzrf> whoa what
<benzrf> Senjai: what, inconsolata?
terrellt has joined #ruby
<Senjai> benzrf: Aye
<benzrf> shevy: what ruby v
<shevy> Senjai that font looks mega spaced out
<benzrf> Senjai: listen to em
zigomir has joined #ruby
<benzrf> it's fuckin beautiful
<shevy> ruby 2.1.1p76 (2014-02-24 revision 45161) [i686-linux]
Xeago_ has quit [Remote host closed the connection]
<Senjai> benzrf: weechat?
<shevy> benzrf that link loads very slowly
terrellt has quit [Read error: Connection reset by peer]
<benzrf> Senjai: irssi
jerius has joined #ruby
<benzrf> shevy: cuz my wifi a shit
<Senjai> benzrf: poor soul
<benzrf> & is hosted right off my laptop
<benzrf> Senjai: what, for irssi?
terrellt has joined #ruby
<Senjai> benzrf: :P
Valesk has quit [Quit: Textual IRC Client: www.textualapp.com]
<benzrf> i have no specivi
<benzrf> *specific attachment to irssi
<benzrf> why should i use weechat
DouweM has joined #ruby
<slash_nick> benzrf: i do... started this session with `screen -S irssi`
havenwood has quit [Remote host closed the connection]
<benzrf> swag
oo__ has joined #ruby
<benzrf> Senjai: switch to inconsolata u will never go BackEndCoder
<slash_nick> you could say i'm attached to "irssi", specifically
<benzrf> *back
* benzrf punches slash_nick
terrellt has quit [Remote host closed the connection]
oo_ has quit [Ping timeout: 252 seconds]
linojon has quit [Quit: linojon]
<shevy> get a better client
<Senjai> benzrf: TLDR, more built in things
<benzrf> whoa what replaced class_name
<crucify_me> << see moniker beforehand
<shevy> what is class_name?
<shevy> class.name ?
zigomir has quit [Ping timeout: 252 seconds]
akonny has quit [Quit: akonny]
<shevy> "
<shevy> Then the other day Chris McDonald claimed the unfortunately named WeeChat was superior to Irssi."
claymore has quit [Quit: Leaving]
<shevy> I would not want to use software that rhymes with pee
kyb3r_ has joined #ruby
<crucify_me> shevy: speaking of pee how is your spider bite?
<shevy> crucify_me hmm
<popl> …
<benzrf> 19>> class Foo; class Bar; end; end; Foo::Bar.name
<shevy> crucify_me kind of healed up, only slightly more red than the skin
jespada has quit [Quit: Leaving]
<benzrf> 19>> class Foo; class Bar; end; end; Foo::Bar.class_name
<eval-in__> benzrf => undefined method `class_name' for Foo::Bar:Class (NoMethodError) ... (https://eval.in/139317)
<benzrf> yo wut
dstynchula has joined #ruby
<shevy> !
<Mon_Ouie> There's name, not class_name
<crucify_me> great , should be fine. shevy I'll be in the Amazon in June. The skeeters are brutal..
<benzrf> ah it's from yard's core_ext
<Mon_Ouie> Yup
<benzrf> thanks for telling me that pry
<shevy> crucify_me omg I've seen youtube videos of baby spider crawling out of wounds
oo__ has quit [Ping timeout: 252 seconds]
terrellt has joined #ruby
dstynchu_ has joined #ruby
<benzrf> how do i find the base name in vanilla
ponga has joined #ruby
<Mon_Ouie> split on ::, get the last part?
<crucify_me> http://pastie.org/9098594 I still can't grep this reverse_append recursion method. yeah shevy so much nasty phenomena
<benzrf> Mon_Ouie: pfft
<Mon_Ouie> That's exactly how it's implemented in YARD actually
dstynchu_ has quit [Read error: Connection reset by peer]
terrellt has quit [Remote host closed the connection]
ponga has quit [Read error: Connection reset by peer]
<benzrf> ok ok fixed gem on rubygems
<benzrf> shevy: upgrade ur gem & try agem
ponga has joined #ruby
terrellt has joined #ruby
mansi_ has quit [Remote host closed the connection]
<shevy> my rubygems?
dstynchu_ has joined #ruby
<benzrf> ur version of my gem
mikemac has joined #ruby
terrellt has quit [Read error: Connection reset by peer]
<shevy> gem install static_source_loc ?
terrellt has joined #ruby
dstynchula has quit [Ping timeout: 265 seconds]
<shevy> test
<shevy> ERROR: While executing gem ... (Gem::Package::FormatError)
<shevy> package is corrupt, exception while verifying: undefined method `size' for nil:NilClass
<shevy> I'll try another day
jonno11 has joined #ruby
<benzrf> yo wut
crazymykl has quit [Ping timeout: 252 seconds]
nateberkopec has quit [Quit: Leaving...]
yubrew has quit [Remote host closed the connection]
<benzrf> wtf is that from
ponga has quit [Ping timeout: 252 seconds]
<shevy> from "gem install static_source_loc"
terrellt has quit [Remote host closed the connection]
kayloos_ has joined #ruby
robert_ has quit [Quit: brb, reboot..!]
<benzrf> try again? o.O
Shidash has quit [Ping timeout: 252 seconds]
<combusean> benzrf
<benzrf> ?
Valesk has joined #ruby
<benzrf> combusean wut
kayloos has quit [Ping timeout: 252 seconds]
<combusean> dunno
<combusean> just making your irc window highlight
<benzrf> http://prntscr.com/3c6au8 heheheheh
agent_white has quit [Read error: Connection reset by peer]
zack_ has quit [Read error: Connection reset by peer]
<combusean> and hi =P
agent_white has joined #ruby
rm__ has quit [Remote host closed the connection]
davedev24 has quit [Read error: Connection reset by peer]
dstynchu_ has quit []
agent_white has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
rm__ has joined #ruby
mjsmith2 has quit [Remote host closed the connection]
davedev24 has joined #ruby
yfeldblum has joined #ruby
matchaw has joined #ruby
* combusean loves it when he gets to use a variable called klass
GlenK has quit []
amundj has joined #ruby
Es0teric_ has quit [Quit: Computer has gone to sleep.]
testcore has quit [Ping timeout: 272 seconds]
<benzrf> i always call it cls or class_ or something
<benzrf> never klass
mrmargolis has quit [Remote host closed the connection]
<combusean> cls?
<apeiros> clazz
<combusean> that's clear screen :P
mockra has joined #ruby
<crucify_me> http://pastie.org/9098594 << throw me a bone.
afex has joined #ruby
omosoj has joined #ruby
testcore has joined #ruby
* apeiros throws crucify_me a de-tab to fix his indentation
DrShoggoth has quit [Quit: Leaving]
<crucify_me> sorry will do
ndrei has quit [Ping timeout: 264 seconds]
rvraghav93 has joined #ruby
rm__ has quit [Ping timeout: 252 seconds]
<shevy> combusean are you german?
<combusean> no
<crucify_me> apeiros: http://pastie.org/9098626
ndrei has joined #ruby
<combusean> quarter irish, quarter scottish-irish, quarter finnish, the rest miscellaneous northern european
<shevy> in german, a "class" is a "Klasse", so it always feels weird to read "klass", it is as if someone omitted a character there
momomomomo has joined #ruby
<shevy> the absolutely worst is "eigenclass"
amundj has quit [Ping timeout: 255 seconds]
<shevy> because "eigen" is "self" in german
<crucify_me> german is a pretty language...
<shevy> don't make fun of it now!
<Senjai> combusean: Finnish is apparently the hardest language for native english speakers to learn
rvraghav93 has quit [Read error: Connection reset by peer]
<shevy> hehe
simono has quit [Quit: Textual IRC Client: www.textualapp.com]
<apeiros> crucify_me: what's your question?
<combusean> Senjai, i know, i kinda looked it up once, my gramma never taught me what she knew.
<shevy> fins are that secretive
<crucify_me> apeiros: well the append method was the same with lines 3 and 4 switched round. but I don't see how this runs if the args are [], 2 .
<kayloos_> Your gramma never taught you finish grammar_
<combusean> i don't know how much she knew
<shevy> who here is from suomi?
<apeiros> crucify_me: the order of those two lines doesn't matter
<apeiros> crucify_me: the method calls itself, decreasing n by 1 each time, until it hits 0
<apeiros> (or starts out with <0)
<apeiros> it's a rather poor way to do what the method does
aspiers has joined #ruby
* combusean kicks slow rails projects
deens has quit []
ikaros has quit [Quit: Ex-Chat]
mikepack has joined #ruby
<crucify_me> but the instructor says that is what changes the append to the reverse_append. (its a video with josh cheek) to teach recursion I guess
obs has quit [Quit: Saliendo]
terrellt has joined #ruby
<apeiros> crucify_me: oh, true
<apeiros> order of appending changes
<apeiros> because it descends after appending
<crucify_me> so if the args are [], 2 , what happens first?
<crucify_me> I tend to visualize a program running from a to b, but I am often amazed to find I was looking at the logic flow backwards...
<apeiros> crucify_me: step through the execution
benlieb has quit [Quit: benlieb]
<crucify_me> well, I think the problem is that I don't see how zero is returned first.
<crucify_me> is *appended first
garndt has quit [Quit: Connection closed for inactivity]
mikepack has quit [Ping timeout: 264 seconds]
<apeiros> crucify_me: as said, step through each instruction
<apeiros> program code is easy that way. you can just do what the computer would do
<shevy> *sleep
<shevy> *idle
<shevy> *scratch the main CPU
<crucify_me> scratch you spider bite shevy
<crucify_me> your
Dreamer3 has joined #ruby
<shevy> hmmm
Shidash has joined #ruby
<shevy> I am not gonna ever reveal again what bites me
havenwood has joined #ruby
agent_white has joined #ruby
kaspergrubbe has joined #ruby
hfp`away is now known as hfp
<crucify_me> shevy: I'm capable of commiseration
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jerius has quit [Ping timeout: 276 seconds]
<crucify_me> apeiros: sorry I get one as the first element that is the problem. plus not seeing how flipping 3 and 4 populates the array differently. sorry
lukec has joined #ruby
<apeiros> crucify_me: write it out the lines are stepped through with recursive_append [], 2
<apeiros> and paste it
Phoenixz has quit [Ping timeout: 240 seconds]
<apeiros> add which variable has what value at each step
<crucify_me> you mean reverse_append?
andy___ has joined #ruby
jbellone has left #ruby [#ruby]
<apeiros> yes
benzrf is now known as benzrf|offline
<apeiros> it might help if you also add how many levels down you're in reverse_append
<crucify_me> apeiros: thanks will do
Phoenixz has joined #ruby
freezey has joined #ruby
kayloos_ has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hfp is now known as hfp`offline
djbender has quit [Quit: djbender]
hfp`offline is now known as hfp
mockra has quit [Remote host closed the connection]
rm__ has joined #ruby
mockra has joined #ruby
Dreamer3 has quit [Quit: Leaving...]
jacky has joined #ruby
iceden has joined #ruby
Phoenixz has quit [Ping timeout: 276 seconds]
momomomomo has quit [Quit: momomomomo]
nanoyak has quit [Quit: Computer has gone to sleep.]
chibob has quit []
jobewan has quit [Ping timeout: 265 seconds]
mockra has quit [Ping timeout: 264 seconds]
chrisseaton has joined #ruby
nanoyak has joined #ruby
<crucify_me> apeiros: sorry if n = 0 , n - 1 = -1 . what am I missing?
crystal77 has quit [Quit: Computer has gone to sleep.]
<crucify_me> are those element indices ? apeiros ^
<apeiros> I don't understand your question
crystal77 has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 0.4.3]
happytux has quit [Read error: Connection reset by peer]
6JTAAD7VE has joined #ruby
happytux has joined #ruby
dik_dak has quit [Quit: Leaving]
djbkd has quit [Read error: Connection reset by peer]
kayloos has joined #ruby
djbkd has joined #ruby
centipedefarmer has quit [Ping timeout: 252 seconds]
crystal77 has quit [Quit: Computer has gone to sleep.]
mengu has quit [Remote host closed the connection]
yubrew has joined #ruby
treehug88 has quit []
<bricker> If you were going to grep a relatively small file from a Ruby script, would you use shell or loop with File.foreach?
andy___ has quit [Remote host closed the connection]
<shevy> ruby!
<shevy> but I dont think I would use File.foreach
<shevy> we really need a module called Grep.
<apeiros> we have Enumerable#grep
<crucify_me> apeiros: http://pastie.org/9098695 ok I see how the base case returns [], but each arg (starting with 0) just gets pushed to the array without alteration from line 3?
brunops has quit [Ping timeout: 264 seconds]
rm__ has quit [Remote host closed the connection]
rm__ has joined #ruby
supermarin has quit [Quit: Computer has gone to sleep.]
supermarin has joined #ruby
rvraghav93 has joined #ruby
rm__ has quit [Read error: Connection reset by peer]
robert_ has joined #ruby
robert_ has quit [Changing host]
robert_ has joined #ruby
rm__ has joined #ruby
yubrew has quit [Ping timeout: 276 seconds]
<apeiros> crucify_me: paste your steps
<apeiros> also, I'll soon be off
jonno11 has joined #ruby
no6 has quit [Ping timeout: 252 seconds]
rvraghav93 has quit [Remote host closed the connection]
brunops has joined #ruby
mockra has joined #ruby
mockra has quit [Client Quit]
<popl> apeiros: you're already way off! ;)
cpruitt has quit [Quit: cpruitt]
<apeiros> o0
etqqkoiflwhb_ has quit [Quit: Computer has gone to sleep.]
<bricker> apeiros: cool, foreach.grep seems appropriate
freezey_ has joined #ruby
<shevy> hmmm
<crucify_me> sorry thanks for your help. aside from simple subtraction n - 1 I don't know what you mean.
<popl> apeiros: sorry, joke.
supermarin has quit [Ping timeout: 255 seconds]
* popl stops making jokes
<apeiros> thought as much, but I didn't get it
<popl> apeiros: way off as in nuts, crackers, off-your-rocker
ponga has joined #ruby
<apeiros> ok
<apeiros> I guess I'm too sleepy to find it funny :-)
SCommette has quit [Quit: SCommette]
brunops has quit [Changing host]
brunops has joined #ruby
<apeiros> crucify_me: I told you to write down line by line which line of the method is stepped through, along with the values each variable carries
<apeiros> and to paste that
etqqkoiflwhb_ has joined #ruby
<apeiros> it either will help you on its own to figure out where you make a mistake in your mental model, or it helps us to figure out and tell you.
centrx has joined #ruby
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<crucify_me> but apeiros I'm asking if 0,1,2 are being calculated as index places in the array or just fixnums.
freezey has quit [Ping timeout: 264 seconds]
<apeiros> crucify_me: that question makes no sense
<apeiros> n is never used as an index
<banisterfiend> apeiros hey what's up
etqqkoiflwhb__ has joined #ruby
<apeiros> banisterfiend: not me for long anymore
monsieur1 has joined #ruby
etqqkoiflwhb_ has quit [Read error: Connection reset by peer]
einarj has quit [Remote host closed the connection]
<banisterfiend> apeiros do u ever mess with arel_table
<apeiros> haven't yet, no
<crucify_me> apeiros: thanks very much . later.
<Senjai> banisterfiend: Almost never a reason to
<Senjai> banisterfiend: Almost easier to use sql.
<banisterfiend> Senjai: i guess that's true
freezey_ has quit [Ping timeout: 252 seconds]
ponga has quit [Ping timeout: 276 seconds]
monsieurp has quit [Ping timeout: 240 seconds]
lw has joined #ruby
crucify_me has quit [Remote host closed the connection]
skysploit has joined #ruby
skysploit has quit [Changing host]
skysploit has joined #ruby
yfeldblum has quit [Remote host closed the connection]
Su7_ has joined #ruby
Su7 has quit [Read error: Connection reset by peer]
MatthewsFace has joined #ruby
reset has quit [Quit: Leaving...]
bradhe has quit [Remote host closed the connection]
vpretzel|566 is now known as vpretzel
arubincloud has quit []
etqqkoiflwhb__ has quit [Quit: Computer has gone to sleep.]
aspiers has quit [Ping timeout: 276 seconds]
omosoj has quit [Ping timeout: 240 seconds]
spider-mario has quit [Remote host closed the connection]
rm__ has quit [Remote host closed the connection]
bean__ has joined #ruby
rm__ has joined #ruby
lw has quit [Quit: s]
Xeago has quit [Remote host closed the connection]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
robert_ has quit [Ping timeout: 255 seconds]
speakingcode has quit [Ping timeout: 250 seconds]
supermarin has joined #ruby
kreisys has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
zxq9 has quit [Read error: Connection reset by peer]
arietis has joined #ruby
rm__ has quit [Ping timeout: 255 seconds]
reset has joined #ruby
endash has quit [Quit: endash]
arietis has quit [Ping timeout: 265 seconds]
jxf has joined #ruby
gregf has joined #ruby
mjsmith2 has joined #ruby
mjsmith2 has quit [Remote host closed the connection]
agjacome has quit [Ping timeout: 240 seconds]
skysploit has quit [Quit: This computer has gone to sleep]
lkba has quit [Ping timeout: 252 seconds]
shotsfired has joined #ruby
kaspergrubbe has quit [Ping timeout: 240 seconds]
pel_daniel has left #ruby [#ruby]
<shotsfired> .
Xai_ has joined #ruby
shotsfired has quit [Client Quit]
ehc has quit [Quit: ehc]
MatthewsFace has quit [Read error: Connection reset by peer]
Geniack has quit [Ping timeout: 276 seconds]
rm__ has joined #ruby
rm__ has quit [Remote host closed the connection]
rm__ has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
Geniack has joined #ruby
<shevy> ..
MatthewsFace has joined #ruby
agent_white has joined #ruby
broadcast has joined #ruby
bklane has joined #ruby
<combusean> ...
charliesome has joined #ruby
luckyruby has quit [Remote host closed the connection]
<combusean> fuck
jamto11 has quit [Remote host closed the connection]
<combusean> "make this work by tomorrow" i've never once digged into the code for the whole bloody app.
<centrx> You can do it
<centrx> I believe in you
djbkd has quit [Remote host closed the connection]
<combusean> the implicit trust in the offshore team that they got this done correctly is disheartening
<combusean> because it's broken
<centrx> It's up to you to fix it
<centrx> We are all depending on you
Xai_ has quit [Remote host closed the connection]
bklane has quit [Quit: Leaving...]
Celm has quit [Remote host closed the connection]
broadcast has left #ruby ["Linkinus - http://linkinus.com"]
lmickh has quit [Remote host closed the connection]
testcore has quit [Ping timeout: 272 seconds]
W0rmDr1nk has joined #ruby
yubrew has joined #ruby
WormDr1nk has quit [Ping timeout: 250 seconds]
lkba has joined #ruby
robbyoconnor has joined #ruby
benzrf|offline is now known as benzrf
danman_ has joined #ruby
metamaterial has quit [Quit: Leaving.]
<benzrf> yo
<centrx> yo what
<benzrf> just sayin yo
<benzrf> can i not say yo
yubrew has quit [Ping timeout: 252 seconds]
<centrx> k yo
m_3 has joined #ruby
<njs126> Any good examples of automating DNS updates?//
<centrx> What does that mean
skysploit has joined #ruby
rainmanjam has quit [Remote host closed the connection]
rainmanjam has joined #ruby
ffranz has quit [Quit: Leaving]
marcdel has quit [Ping timeout: 265 seconds]
i_s has quit []
danman_ has quit [Quit: danman_]
baroquebobcat has quit [Ping timeout: 276 seconds]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
crazymykl has joined #ruby
mikemac has quit [Remote host closed the connection]
MatthewsFace has quit [Quit: This computer has gone to sleep]
rainmanjam has quit [Ping timeout: 240 seconds]
diegoviola has joined #ruby
<TigerWolf> njs126 - Find a web service that provides dns and has an api
dima__ has quit [Remote host closed the connection]
<TigerWolf> njs126 - www.dnsmadeeasy.com
sdouglas has joined #ruby
x1337807x has quit [Read error: Operation timed out]
testcore has joined #ruby
testcore has quit [Client Quit]
skysploit has quit [Quit: This computer has gone to sleep]
mansi has joined #ruby
MatthewsFace has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
ponga has joined #ruby
zxq9 has joined #ruby
saarinen has quit [Quit: saarinen]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mengu has quit [Ping timeout: 240 seconds]
mansi has quit [Ping timeout: 255 seconds]
ponga has quit [Ping timeout: 265 seconds]
speakingcode has joined #ruby
mikepack has joined #ruby
kevind has quit [Quit: kevind]
crystal77 has joined #ruby
linojon has joined #ruby
jxf has quit [Ping timeout: 276 seconds]
elshaka has joined #ruby