apeiros_ changed the topic of #ruby to: Ruby 2.1.2; 2.0.0-p481; 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
SilkFox_ has joined #ruby
bmurt has joined #ruby
ghr has quit [Ping timeout: 250 seconds]
pietr0 has quit [Quit: pietr0]
dbasch has quit [Quit: dbasch]
nanoyak has joined #ruby
testcore has quit [Quit: [BX] Where do you want to go today?]
dbasch has joined #ruby
florida has quit [Remote host closed the connection]
terrellt has quit [Quit: Leaving...]
Cort3z has joined #ruby
jdj_dk has quit [Ping timeout: 255 seconds]
SilkFox_ has quit [Ping timeout: 245 seconds]
startupality has quit [Quit: startupality]
SilverKey has joined #ruby
SilverKey has quit [Max SendQ exceeded]
b00stfr3ak has quit [Read error: Connection reset by peer]
sepp2k1 has joined #ruby
sepp2k has quit [Ping timeout: 245 seconds]
wallerdev has quit [Ping timeout: 250 seconds]
Zebroid has joined #ruby
Hobogrammer has joined #ruby
Cort3z has quit [Ping timeout: 260 seconds]
jessy has joined #ruby
kireevco has quit [Quit: Leaving.]
Vivekananda_y510 has quit [Ping timeout: 255 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jessy has left #ruby [#ruby]
yfeldblum has quit [Remote host closed the connection]
ddv has quit [Ping timeout: 260 seconds]
wallerdev has joined #ruby
yfeldblum has joined #ruby
ddv has joined #ruby
startupality has joined #ruby
Zebroid has quit [Ping timeout: 240 seconds]
jessy has joined #ruby
b00stfr3ak has joined #ruby
Zenigor has joined #ruby
geggam has joined #ruby
rx47 has joined #ruby
dbasch has quit [Ping timeout: 250 seconds]
b00stfr3ak has quit [Ping timeout: 264 seconds]
RandyT has joined #ruby
yokel has quit [Remote host closed the connection]
jfran has quit [Read error: Connection reset by peer]
kireevco has joined #ruby
Mongey has quit [Ping timeout: 240 seconds]
phoo1234567 has quit [Quit: Leaving]
froy has quit [Remote host closed the connection]
Georg3 has joined #ruby
froy has joined #ruby
DivineEntity has joined #ruby
lolmaus has quit [Ping timeout: 255 seconds]
GriffinHeart has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
dbasch has joined #ruby
mikepack has joined #ruby
kaspergrubbe has joined #ruby
Georg3 has quit [Ping timeout: 264 seconds]
Mooneye has quit [Quit: Leaving]
oo_ has joined #ruby
Mongey has joined #ruby
WormDrink has quit [Ping timeout: 240 seconds]
dbasch has quit [Client Quit]
jonahR_ has quit [Remote host closed the connection]
GriffinHeart has quit [Ping timeout: 240 seconds]
mg^ has quit [Quit: Leaving]
jamto11 has quit [Remote host closed the connection]
dbasch has joined #ruby
startupality has quit [Quit: startupality]
SCHAAP137 has quit [Remote host closed the connection]
zz_karupa is now known as karupa
rkazak has joined #ruby
TDJACR has joined #ruby
ixti has quit [Quit: WeeChat 0.4.3]
awc737 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ponch_ has joined #ruby
JoshGlzBrk has joined #ruby
jamto11 has joined #ruby
rebelshrug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rkazak has left #ruby [#ruby]
jessy has quit [Quit: Page closed]
Zebroid has joined #ruby
WormDrink has joined #ruby
kireevco has quit [Quit: Leaving.]
kireevco has joined #ruby
rubytor has joined #ruby
thumpba has quit [Remote host closed the connection]
jamto11 has quit [Remote host closed the connection]
linojon has quit [Quit: linojon]
endash has joined #ruby
thumpba has joined #ruby
oo_ has quit [Remote host closed the connection]
Zebroid has quit [Ping timeout: 240 seconds]
dawkirst has joined #ruby
kireevco has quit [Read error: Connection reset by peer]
kireevco has joined #ruby
elico has quit [Read error: Connection reset by peer]
thumpba has quit [Ping timeout: 240 seconds]
yetanotherdave has quit [Ping timeout: 240 seconds]
sevenseacat has joined #ruby
weems|nix has joined #ruby
weems|nix has joined #ruby
elico has joined #ruby
k0m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
renderfu_ has quit [Remote host closed the connection]
codeurge has joined #ruby
havenwood has joined #ruby
dawkirst has quit [Ping timeout: 240 seconds]
jdj_dk has joined #ruby
beneggett has quit [Ping timeout: 245 seconds]
saarinen has quit [Quit: saarinen]
kireevco has quit [Ping timeout: 256 seconds]
beneggett has joined #ruby
Channel6 has joined #ruby
jamto11 has joined #ruby
lolmaus has joined #ruby
jamto11 has quit [Remote host closed the connection]
i_s has quit [Remote host closed the connection]
i_s has joined #ruby
i_s has quit [Read error: Connection reset by peer]
i_s has joined #ruby
i_s has quit [Read error: Connection reset by peer]
dc_ has quit [Remote host closed the connection]
jamto11 has joined #ruby
i_s has joined #ruby
i_s has quit [Read error: Connection reset by peer]
i_s has joined #ruby
eshy has quit [Quit: bye]
Mon_Ouie has quit [Ping timeout: 264 seconds]
i_s has quit [Read error: Connection reset by peer]
i_s has joined #ruby
i_s has quit [Read error: Connection reset by peer]
mousa has left #ruby ["Leaving"]
toastynerd has quit [Remote host closed the connection]
i_s has joined #ruby
eshy has joined #ruby
i_s has quit [Read error: Connection reset by peer]
i_s has joined #ruby
i_s has quit [Read error: Connection reset by peer]
i_s has joined #ruby
i_s has quit [Read error: Connection reset by peer]
i_s has joined #ruby
jonahR has joined #ruby
i_s has quit [Read error: Connection reset by peer]
toastyne_ has joined #ruby
<mozzarella> fix your goddamn connection
i_s has joined #ruby
SilkFox_ has joined #ruby
phinfonet has quit [Read error: Connection reset by peer]
jamto11 has quit [Remote host closed the connection]
i_s has quit [Read error: Connection reset by peer]
<kaspergrubbe> me?
<mozzarella> no
<mozzarella> i_s
i_s has joined #ruby
<kaspergrubbe> just hide joins/leaves in your client, they aren't very useful
edgarjs is now known as edgarjs_afk
i_s has quit [Read error: Connection reset by peer]
i_s has joined #ruby
kotk_ has joined #ruby
i_s has quit [Read error: Connection reset by peer]
dbasch has quit [Ping timeout: 240 seconds]
rubytor has quit [Quit: No Ping reply in 180 seconds.]
i_s has joined #ruby
rubytor has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
i_s has quit [Read error: Connection reset by peer]
jdj_dk has quit [Ping timeout: 260 seconds]
havenwood has joined #ruby
i_s has joined #ruby
kotk has quit [Ping timeout: 260 seconds]
LadyRainicorn has joined #ruby
binaryhat has quit [Ping timeout: 240 seconds]
SilkFox_ has quit [Ping timeout: 250 seconds]
tkuchiki has joined #ruby
phinfonet has joined #ruby
PanPan has joined #ruby
NinoScript has quit [Read error: Connection reset by peer]
Tricon has quit [Quit: Leaving...]
dbasch has joined #ruby
NinoScript has joined #ruby
i_s has quit [Ping timeout: 256 seconds]
DarthGandalf has quit [Ping timeout: 240 seconds]
Mongey has quit [Ping timeout: 250 seconds]
davispuh has quit [Remote host closed the connection]
iamjarvo has joined #ruby
thumpba has joined #ruby
Sirupsen has quit [Quit: Textual IRC Client: www.textualapp.com]
benzrf has joined #ruby
yfeldblum has quit [Remote host closed the connection]
RandyT has quit [Quit: ZNC - http://znc.in]
SilkFox has joined #ruby
Kricir has joined #ruby
tectonic has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bricker`work has quit [Ping timeout: 240 seconds]
byteddown has joined #ruby
thumpba has quit [Ping timeout: 264 seconds]
Georg3 has joined #ruby
lw has joined #ruby
Mongey has joined #ruby
vincent has joined #ruby
vincent is now known as Guest18316
DarthGandalf has joined #ruby
dbasch has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
dbasch has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
ponch_ has quit [Ping timeout: 240 seconds]
binaryhat has joined #ruby
RandyT has joined #ruby
Georg3 has quit [Ping timeout: 264 seconds]
kaspergrubbe has quit [Remote host closed the connection]
harshjha_ is now known as zj
zj is now known as zjm
NinoScript has quit [Read error: Connection reset by peer]
Wolland has quit [Remote host closed the connection]
Wolland has joined #ruby
NinoScript has joined #ruby
tvw has quit [Ping timeout: 240 seconds]
Georg3 has joined #ruby
Dreamer3 has joined #ruby
Wolland has quit [Ping timeout: 245 seconds]
LadyRainicorn has quit [Read error: Connection reset by peer]
robustus has quit [Ping timeout: 250 seconds]
LadyRainicorn has joined #ruby
bradleyprice has joined #ruby
jamto11 has joined #ruby
troyready has quit [Ping timeout: 250 seconds]
<zjm> If I keep "include <module_name>" inside the class, I can't access the methods in the module, but if I keep it outside, I can. why so?
Georg3 has quit [Ping timeout: 245 seconds]
robustus has joined #ruby
<LadyRainicorn> zjm: Are you accessing them inside class methods?
jdj_dk has joined #ruby
banjara has quit [Quit: Leaving.]
benzrf has quit [Read error: Connection reset by peer]
<zjm> LadyRainicorn, yes
dbasch has quit [Ping timeout: 240 seconds]
<zjm> LadyRainicorn, these methods are instance specific
<LadyRainicorn> Can you pastebin the relevant code?
peret has quit [Remote host closed the connection]
bruno- has joined #ruby
jdj_dk has quit [Ping timeout: 250 seconds]
beauby has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
<beauby> Hi there, I'm building a rails app that pulls some other rails project from git to tmp/something/ and then runs "cd tmp/something && bundle install". However, bundle seems to install the bundle of the running app. Am I missing something?
<byteddown> May I have the rules thrown at me, politely, please?
Zebroid has joined #ruby
<LadyRainicorn> Oh dear, I meant instance method. silly mornings. You want `class << self; include A; end`
lw has quit [Quit: s]
bruno- has quit [Ping timeout: 240 seconds]
bmurt has quit []
ponch_ has joined #ruby
dbasch has joined #ruby
<zjm> LadyRainicorn, Should I use A.fun instead of fun?
<zjm> LadyRainicorn, or Should I use self.fun instead of fun?
Zebroid has quit [Ping timeout: 250 seconds]
<LadyRainicorn> That change alone is sufficient.
RandyT has quit [Ping timeout: 264 seconds]
<LadyRainicorn> You could also define them as class methods in A.
<wallerdev> i usually go with self. for class methods
<wallerdev> unless imoutside the class
<wallerdev> ;)
sdwrage has joined #ruby
jherbst has joined #ruby
magic has joined #ruby
deric_skibotn has quit [Ping timeout: 264 seconds]
RandyT has joined #ruby
Sirupsen has joined #ruby
<magic> Where's the best place for someone who knows their programming to start on Ruby?
<wallerdev> what language are you coming from?
awc737 has joined #ruby
awc737 has quit [Max SendQ exceeded]
dik_dak has joined #ruby
<magic> wallerdev: Well, I've done Python, Java, C, and C++ as the languages I use the most.
<magic> I've just never really gotten around to learning Ruby in-depth.
hamakn has quit [Remote host closed the connection]
<wallerdev> if youve done python theres not much to learn, basically the same thing
<centrx> but much better
<magic> LOL :p
<magic> Time will tell...
<wallerdev> python is dead language
benzrf has joined #ruby
<wallerdev> rip python 3
<wallerdev> ruby is dead too
jdj_dk has joined #ruby
<wallerdev> everyones switching to javascript
<benzrf> tfw
<benzrf> js is not a very good language
<centrx> Javascript is dead dude
<benzrf> :'(
<wallerdev> rip javascript
<benzrf> rip in pizza
<wallerdev> whats next? is everyone switching to swift?
<wallerdev> the future of the web is on iOS
dik_dak has quit [Client Quit]
Wolland has joined #ruby
nanoyak_ has joined #ruby
<centrx> The future is the Old Motorola Flip Phone running Brainf*** and Turbo Pascal
dik_dak has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
tokik has joined #ruby
nanoyak has quit [Ping timeout: 250 seconds]
dik_dak has quit [Read error: Connection reset by peer]
GriffinHeart has joined #ruby
toastyne_ has quit [Remote host closed the connection]
rubytor has quit [Quit: No Ping reply in 180 seconds.]
Vivekananda_y510 has joined #ruby
dbasch has quit [Ping timeout: 240 seconds]
danielpclark has joined #ruby
rubytor has joined #ruby
saarinen has joined #ruby
ponch_ has quit [Ping timeout: 240 seconds]
Kricir has quit [Remote host closed the connection]
oo_ has joined #ruby
Kricir has joined #ruby
wallerdev has quit [Quit: wallerdev]
pietr0 has joined #ruby
braincra- has joined #ruby
dik_dak has joined #ruby
stytown has joined #ruby
dik_dak has quit [Read error: Connection reset by peer]
_1_tomy1910 has joined #ruby
braincrash has quit [Ping timeout: 255 seconds]
_1_tomy1910 has quit [Client Quit]
<byteddown> Other than basic common sense rules, are there any rules for this programmers chat?
nmokru has quit [Quit: nmokru]
Kricir has quit [Ping timeout: 256 seconds]
SilkFox_ has joined #ruby
<dopie> hey beautiful people
jamto11 has quit [Remote host closed the connection]
benzrf|offline has joined #ruby
endash has quit [Quit: endash]
Cort3z has joined #ruby
jdj_dk has quit [Ping timeout: 245 seconds]
hamakn has joined #ruby
AskSteve has joined #ruby
AskSteve has quit [Client Quit]
edgarjs_afk is now known as edgarjs
little_fu has joined #ruby
bmurt has joined #ruby
i_s has joined #ruby
benzrf has quit [Quit: leaving]
benzrf|offline is now known as benzrf
BadQuanta has joined #ruby
starfox_21 has quit [Quit: starfox_21]
MatthewsFace has joined #ruby
thesheff17 has quit [Ping timeout: 250 seconds]
SilkFox has quit [Ping timeout: 245 seconds]
SilkFox_ has quit [Ping timeout: 264 seconds]
Zenigor has quit [Remote host closed the connection]
phutchins has quit [Ping timeout: 240 seconds]
Cort3z has quit [Ping timeout: 250 seconds]
jherbst has quit [Ping timeout: 255 seconds]
edgarjs is now known as edgarjs_afk
r0ok has quit [Quit: r0ok]
i_s has quit [Ping timeout: 240 seconds]
thumpba has joined #ruby
beauby has quit [Ping timeout: 240 seconds]
<centrx> byteddown, They all seem basic and common sense once you learn IRC :)
vsoftoiletpaper has joined #ruby
wallerdev has joined #ruby
edgarjs_afk is now known as edgarjs
<centrx> byteddown, One example would be, repeating questions. Some times people repeat the same question over and over, in order to get an answer and ask new joiners.
jobew_000 has joined #ruby
<centrx> byteddown, If this is too frequent, it is very poor etiquette and even vandalistic if goes so far as "flooding" the channel
<byteddown> Thank you.
<centrx> byteddown, If it is not frequent, it is perfectly acceptable to ask new people and bring the question up again
cashnguns has joined #ruby
edgarjs is now known as edgarjs_afk
<byteddown> I assumed nobody cared and that the rules are probably at the common sense level.
jobew_000 has quit [Read error: Connection reset by peer]
<centrx> Mostly, though it sometimes depends on the channel, and if you are not familiar with IRC something may seem common sense that isn't.
jobew_000 has joined #ruby
chipotle has joined #ruby
britneywright has joined #ruby
thesheff17 has joined #ruby
<centrx> byteddown, For example, sending a private message to someone you don't know without asking them first in the channel is considered by some to be poor etiquette. Myself, I don't care.
<dopie> centrx, I got referred to as a bot :)
<dopie> amazing
<dopie> bleep bleep boopity
<centrx> You clearly show Turing-level intelligence
jobewan has joined #ruby
jobew_000 has quit [Client Quit]
jobewan has quit [Client Quit]
fold has joined #ruby
_JokerDoom has joined #ruby
jobewan has joined #ruby
tacos1de has joined #ruby
r0ok has joined #ruby
tectonic has joined #ruby
dc has joined #ruby
JokerDoom has quit [Ping timeout: 250 seconds]
centrx has quit [Quit: Mead error: Connection reset by beer]
centrx has joined #ruby
Arkaniad|Laptop has joined #ruby
centrx has quit [Client Quit]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danielpclark has quit [Remote host closed the connection]
pietr0 has quit [Quit: pietr0]
radic has quit [Ping timeout: 255 seconds]
radic has joined #ruby
elico has quit [Read error: Connection reset by peer]
elico has joined #ruby
armyriad has quit [Quit: Leaving]
armyriad has joined #ruby
dogeydogey has joined #ruby
freerobby has quit [Quit: Leaving.]
<dogeydogey> hey for each file that contains "blog" in their filename i want to mv it to /tmp
<dogeydogey> how would i do that with ruby?
pietr0 has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikepack has quit [Remote host closed the connection]
yokel has joined #ruby
Zebroid has joined #ruby
uokesita has joined #ruby
Zebroid has quit [Read error: No route to host]
r0ok has quit [Quit: r0ok]
Zebroid has joined #ruby
saarinen has quit [Quit: saarinen]
<havenwood> dogeydogey: require 'fileutils'; Dir['*blog*'].each { |filename| FileUtils.mv(filename, '/tmp') }
<dogeydogey> havenwood i had a similar solution and it's not working
elico has quit [Read error: Connection reset by peer]
<havenwood> dogeydogey: Do show?
<dogeydogey> oh nvm
<dogeydogey> that works!
Zebroid has quit [Ping timeout: 240 seconds]
WormDrink has quit [Ping timeout: 245 seconds]
<dogeydogey> havenwood how do i gzip files in ruby?
<dogeydogey> minitar is no longer available?
k0m has joined #ruby
dc has quit [Remote host closed the connection]
GriffinHeart has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
dbasch has joined #ruby
bmurt has quit []
timonv_ has joined #ruby
dawkirst has joined #ruby
jdj_dk has joined #ruby
toretore has quit [Quit: This computer has gone to sleep]
sepp2k1 has quit [Read error: Connection reset by peer]
TrueJet has joined #ruby
GriffinHeart has quit [Ping timeout: 245 seconds]
timonv_ has quit [Ping timeout: 250 seconds]
rubytor has quit [Quit: No Ping reply in 180 seconds.]
rubytor has joined #ruby
SidWu has joined #ruby
NinoScript has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
dawkirst has quit [Ping timeout: 245 seconds]
cashnguns has quit [Remote host closed the connection]
CaptainJet has quit [Ping timeout: 256 seconds]
alvaro_o has quit [Quit: Ex-Chat]
chrishough has quit [Quit: chrishough]
djbkd has joined #ruby
alvaro_o_ has quit [Quit: Ex-Chat]
jobewan has quit [Ping timeout: 240 seconds]
Guest36174 has joined #ruby
rezzack has quit [Quit: Leaving.]
CaptainJet has joined #ruby
Azure has quit [Read error: Connection reset by peer]
rezzack has joined #ruby
rezzack has quit [Changing host]
rezzack has joined #ruby
orionstein_away is now known as orionstein
Azure has joined #ruby
WormDrink has joined #ruby
rezzack has quit [Client Quit]
rezzack has joined #ruby
<dogeydogey> havenwood i'm using Archive::Tar.create(.....
TrueJet has quit [Ping timeout: 256 seconds]
SouL has quit [Ping timeout: 256 seconds]
<dogeydogey> but iNameError: uninitialized constant Archive
dayepa1 has quit [Read error: Connection reset by peer]
elico has joined #ruby
<dogeydogey> and require 'Archive' doesn' work?
SilkFox_ has joined #ruby
jonahR has quit [Quit: ¡Adios amigos, me fui para el carajo!]
codeurge has quit [Quit: Sleep.]
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
jdj_dk has quit [Ping timeout: 260 seconds]
k0m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
i_s has joined #ruby
braincra- has quit [Quit: bye bye]
Mooneye has joined #ruby
rezzack has quit [Ping timeout: 240 seconds]
SilkFox_ has quit [Ping timeout: 240 seconds]
saarinen has joined #ruby
<Mooneye> Is the "curses" module gone in Ruby 2?
<havenwood> dogeydogey: If you installed and required the archive-tar gem it'd work. But I'd say just use Zlib.
elico has quit [Read error: Connection reset by peer]
<havenwood> Mooneye: Yup.
GriffinHeart has joined #ruby
<havenwood> Mooneye: A gem now.
<dogeydogey> ahh got it
i_s has quit [Ping timeout: 240 seconds]
braincrash has joined #ruby
elico has joined #ruby
<dogeydogey> havenwood i want to compress a directory... the examples only show files and when i try a directory
<Mooneye> ugh. why do I have two ruby versions again?
<dogeydogey> it doesn't seem t owork
<havenwood> dogeydogey: ah, a dir, gotcha
andrew9183 has quit [Quit: andrew9183]
rubytor has quit [Remote host closed the connection]
<dogeydogey> havenwood http://rubydoc.info/gems/archive-tar/frames seems perfect... but I keep getting an error undefined method `create' for Archive::Tar:Module
<dogeydogey> I installed the gem like you said gem install archive-tar
<dogeydogey> require 'archive-tar' doesn't work though?
dbasch has quit [Read error: Connection reset by peer]
Guest36174 is now known as lethjakman
havenn has joined #ruby
dbasch has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
djbkd has quit [Ping timeout: 245 seconds]
<havenn> dogeydogey: Another possibility (maybe considered more of an internal though?): http://www.ruby-doc.org/stdlib-2.1.2/libdoc/rubygems/rdoc/Gem/Package/TarWriter.html
djbkd has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
bruno- has joined #ruby
pis0xpscl has joined #ruby
mikepack has joined #ruby
CodeLicker has quit [Quit: Nettalk6 - www.ntalk.de]
charliesome has joined #ruby
dbasch has quit [Quit: dbasch]
<arup_r> zenspider: Why did you ban me ? I had a problem with Network connection yesterday night.. Which is the reason, it was getting frequently connected and disconnected. Don't you see the name written as arup_r1, where as my name is arup_r. Please consider to remove the ban.
bruno- has quit [Ping timeout: 260 seconds]
asmodlol has joined #ruby
<arup_r> I am really surprised to see, that happened in #minitest. Not in any other channels.. Strange.
krz has joined #ruby
pis0xpscl has quit [Ping timeout: 250 seconds]
joshbamboo1 has joined #ruby
ponch_ has joined #ruby
<joshbamboo1> I'm trying to write a quick ruby script. How to I access top level variables from within a method? They are not marked as global $. What scope do they live at? Object class instance variables?
jdj_dk has joined #ruby
<arup_r> pass it as a method argument.. this is a cool option.
<joshbamboo1> yeah ok, I realise I can do that. I was more curious as to where those variables live
jamto11 has joined #ruby
<arup_r> They are in the scope of the Object clas.
<arup_r> Do.. Object.local_variables.grep(/local_var_name/) to check the same
sdwrage has quit [Quit: This computer has gone to sleep]
<joshbamboo1> actually, I've got several. Might just make them $. It's just a small script.
jamto11 has quit [Remote host closed the connection]
ponch_ has quit [Ping timeout: 240 seconds]
jamto11_ has joined #ruby
bricker`LA has quit [Quit: leaving]
<joshbamboo1> They're not Object class instance variables, though, are they? Ie, they're not @@
<joshbamboo1> And they're not object instance vars, @
snath has joined #ruby
<arup_r> Come on.. see again what I wrote
<arup_r> @x = 1 <- instance var.. x =1 x is a local var
hamakn has quit [Read error: Connection reset by peer]
<joshbamboo1> Yes, I'm just not used to languages that can have local variables outside of a method that are not instance or class variables.
hamakn has joined #ruby
LadyRainicorn has quit [Ping timeout: 256 seconds]
sixxy has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
Zebroid has joined #ruby
RandyT has quit [Quit: ZNC - http://znc.in]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
dogeydogey has quit [Quit: Bye]
GriffinH_ has joined #ruby
RandyT has joined #ruby
<joshbamboo1> I just moved those variables inside the method. Thanks for the help.
Zebroid has quit [Ping timeout: 250 seconds]
thesheff17_ has joined #ruby
thesheff17 has quit [Disconnected by services]
thesheff17_ is now known as thesheff17
jdj_dk has quit [Ping timeout: 256 seconds]
SilkFox has joined #ruby
spastorino has quit [Quit: Connection closed for inactivity]
zjm has quit [Ping timeout: 240 seconds]
chrishough has joined #ruby
whyy has joined #ruby
SilkFox has quit [Ping timeout: 260 seconds]
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dayepa1 has joined #ruby
stytown has quit [Quit: stytown]
CodeLicker has joined #ruby
sdwrage has joined #ruby
C0deMaver1ck has quit [Quit: ZNC - http://znc.in]
Cort3z has joined #ruby
SilkFox_ has joined #ruby
benzrf is now known as benzrf|offline
dbasch has joined #ruby
nanoyak_ has quit [Ping timeout: 240 seconds]
rebelshrug has joined #ruby
i_s has joined #ruby
hamakn_ has joined #ruby
SilkFox_ has quit [Ping timeout: 240 seconds]
nanoyak has joined #ruby
Cort3z has quit [Ping timeout: 240 seconds]
i_s has quit [Ping timeout: 240 seconds]
hamakn has quit [Ping timeout: 240 seconds]
JasmeetQA has joined #ruby
anaeem1_ has joined #ruby
jdj_dk has joined #ruby
mary5030 has joined #ruby
i_s has joined #ruby
mr-foobar has quit [Read error: Connection reset by peer]
mr-foobar has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Channel6 has quit [Quit: Leaving]
saarinen has quit [Read error: Connection reset by peer]
i_s has quit [Client Quit]
saarinen has joined #ruby
mesamoo has quit [Quit: Konversation terminated!]
rebelshrug has quit [Quit: Textual IRC Client: www.textualapp.com]
phinfonet has quit []
amizya has joined #ruby
shevy has quit [Ping timeout: 250 seconds]
saarinen has quit [Quit: saarinen]
lw has joined #ruby
fluve has quit []
jdj_dk has quit [Ping timeout: 250 seconds]
inside has quit [Ping timeout: 260 seconds]
jamto11_ has quit [Remote host closed the connection]
Deele has joined #ruby
mary5030 has quit [Remote host closed the connection]
papercode has quit [Ping timeout: 264 seconds]
gimpygoo has quit [Ping timeout: 240 seconds]
hgl has joined #ruby
dbasch has quit [Quit: dbasch]
jamto11 has joined #ruby
ponch_ has joined #ruby
mehlah has quit [Ping timeout: 260 seconds]
BadQuanta has quit [Ping timeout: 240 seconds]
thesheff17 has quit [Ping timeout: 240 seconds]
shevy has joined #ruby
stytown has joined #ruby
Zebroid has joined #ruby
NinoScript has joined #ruby
jamto11 has quit [Remote host closed the connection]
gimpygoo has joined #ruby
Zebroid has quit [Ping timeout: 260 seconds]
tobago has joined #ruby
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
vsoftoiletpaper has quit []
SidWu has quit [Quit: Textual IRC Client: www.textualapp.com]
ponch_ has quit [Ping timeout: 245 seconds]
vsoftoiletpaper has joined #ruby
elico has quit [Read error: Connection reset by peer]
tectonic has quit []
elico has joined #ruby
Tricon has joined #ruby
Mooneye has quit [Quit: Leaving]
mehlah has joined #ruby
jdj_dk has joined #ruby
frellnet has quit [Remote host closed the connection]
banjara has joined #ruby
frellnet has joined #ruby
NinoScript_ has joined #ruby
frellnet_ has joined #ruby
djbkd has quit [Quit: My people need me...]
aganov has joined #ruby
nanoyak has quit [Quit: Lates.]
nanoyak has joined #ruby
theharshest has joined #ruby
nanoyak has quit [Read error: Connection reset by peer]
frellnet has quit [Ping timeout: 250 seconds]
nanoyak has joined #ruby
EvanR_ has quit [Read error: Connection reset by peer]
frellnet_ has quit [Remote host closed the connection]
EvanR_ has joined #ruby
rx47 has quit [Ping timeout: 240 seconds]
nonnatus has quit [Quit: Leaving]
SilkFox_ has joined #ruby
SouL_ has joined #ruby
nanoyak has quit [Ping timeout: 240 seconds]
ziyadb has quit [Quit: Connection closed for inactivity]
nanoyak has joined #ruby
sixxy has quit [Quit: Leaving]
meinside has joined #ruby
SilkFox_ has quit [Ping timeout: 250 seconds]
Tricon has quit [Quit: Leaving...]
jdj_dk has quit [Ping timeout: 240 seconds]
bruno- has joined #ruby
lethjakman has quit [Ping timeout: 256 seconds]
jobewan has joined #ruby
tacos1de has quit [Ping timeout: 264 seconds]
oo_ has quit [Remote host closed the connection]
mgberlin has joined #ruby
tacos1de has joined #ruby
bruno- has quit [Ping timeout: 256 seconds]
timonv_ has joined #ruby
jshultz has quit [Quit: Connection closed for inactivity]
mgberlin has quit [Remote host closed the connection]
oo_ has joined #ruby
Tricon has joined #ruby
Tricon has quit [Client Quit]
kaspergrubbe has joined #ruby
aagdbl has joined #ruby
mesamoo has joined #ruby
b00stfr3ak has joined #ruby
havenn has quit [Remote host closed the connection]
nanoyak has quit [Ping timeout: 245 seconds]
Wolland has quit [Remote host closed the connection]
tectonic has joined #ruby
tectonic_ has joined #ruby
byteddown has quit [Ping timeout: 245 seconds]
tacos1de has quit [Ping timeout: 264 seconds]
kaspergrubbe has quit [Ping timeout: 256 seconds]
byteddown has joined #ruby
jobewan has quit [Quit: Leaving]
shredding has joined #ruby
Sauvin has joined #ruby
yfeldblu_ has joined #ruby
Aaaal has joined #ruby
toastynerd has joined #ruby
tectonic has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hakunin has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
nanoyak has joined #ruby
Morkel has joined #ruby
yfeldblu_ has quit [Ping timeout: 264 seconds]
rx47 has joined #ruby
uokesita has quit [Quit: uokesita]
RahulAN has joined #ruby
NinoScript_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
k0m has joined #ruby
Zebroid has joined #ruby
<RahulAN> Hii all, I am new to ruby .. i have a doubt in http://codepad.org/A8RG9Sbd
mary5030 has joined #ruby
<RahulAN> why it is printing 6 line?
IceDragon has quit [Quit: Space~~~]
stytown has quit [Quit: stytown]
<RahulAN> any one here?
kyb3r_ has joined #ruby
Morkel has quit [Quit: Morkel]
jamto11 has joined #ruby
uokesita has joined #ruby
uokesita has quit [Client Quit]
<godd2> Are there any best practices on dealing with particular file types? Is it a good idea to create a class for, say, PNG that inherits from File ?
alexju has joined #ruby
Zebroid has quit [Ping timeout: 240 seconds]
CaptainJet has quit []
mary5030 has quit [Ping timeout: 255 seconds]
ninegrid has joined #ruby
nanoyak has quit [Ping timeout: 240 seconds]
mikepack has quit [Remote host closed the connection]
apeiros has joined #ruby
MatthewsFace has quit [Quit: This computer has gone to sleep]
MatthewsFace has joined #ruby
tagrudev has joined #ruby
jdj_dk has joined #ruby
elico has quit [Read error: No route to host]
tacos1de has joined #ruby
Rollabunna has quit [Remote host closed the connection]
jamto11 has quit [Ping timeout: 240 seconds]
toastynerd has quit [Remote host closed the connection]
<RahulAN> any one here for help??
Notte has joined #ruby
Notte has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
<godd2> RahulAN because you're iterating over a range of 0..4 which means 0, 1, 2, 3, 4. But there is no test[4]
<godd2> There is only test[0], test[1], test[2]. and test[3]. You have a, off by one error
fabrice31 has joined #ruby
k0m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<godd2> so either do 1..test.length or 0...test.length (note the three dots there), or test.length.times do |i|
<godd2> actually 1..test.length wont work. dont do that
shredding has quit [Quit: shredding]
<RahulAN> What this .
<RahulAN> What this ... is doing?
sigurding has joined #ruby
<godd2> a range with three dots means you dont use the top number, so 0...10 means 0 through 9
dawkirst has joined #ruby
<RahulAN> godd2, ohkk
<RahulAN> Thanks :)
VooDooNOFX has quit [Read error: Connection reset by peer]
Shidash has joined #ruby
pietr0 has quit [Quit: pietr0]
nobodyzzz has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
apeiros has quit [Remote host closed the connection]
Zebroid has joined #ruby
timonv_ has quit [Remote host closed the connection]
diegoviola has quit [Remote host closed the connection]
Rollabunna has joined #ruby
dawkirst has quit [Ping timeout: 264 seconds]
roolo has joined #ruby
arup_r has quit [Remote host closed the connection]
dangerousdave has joined #ruby
bal has joined #ruby
ghr has joined #ruby
jdj_dk has quit [Ping timeout: 256 seconds]
Cort3z has joined #ruby
Zebroid has quit [Ping timeout: 260 seconds]
Wolland has joined #ruby
elico has joined #ruby
maestrojed has joined #ruby
SilkFox_ has joined #ruby
ghr has quit [Ping timeout: 260 seconds]
Cort3z has quit [Ping timeout: 250 seconds]
RahulAN has quit [Ping timeout: 240 seconds]
<atmosx> Hello
ramfjord has quit [Ping timeout: 240 seconds]
asmodlol has quit [Quit: Leaving]
SilkFox_ has quit [Ping timeout: 250 seconds]
toastynerd has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<agent_white> atmosx: Heya! :)
fabrice31 has joined #ruby
yfeldblum has joined #ruby
ndrei has quit [Ping timeout: 260 seconds]
<atmosx> hello agent_white
ndRx has quit [Remote host closed the connection]
ylluminate has quit [Ping timeout: 245 seconds]
senayar has joined #ruby
<agent_white> How goes it atmosx?
arup_r has joined #ruby
ndrei has joined #ruby
<atmosx> Good, trying to understand if my current approach on saving prices (currency) as BigInt in SQL is correct.
jdj_dk has joined #ruby
dbasch has joined #ruby
dawkirst has joined #ruby
dawkirst has quit [Remote host closed the connection]
jamto11 has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
jamto11 has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
lkba has quit [Ping timeout: 264 seconds]
ndrei has quit [Ping timeout: 256 seconds]
Cort3z has joined #ruby
pranny has joined #ruby
_tpavel has joined #ruby
ylluminarious has quit [Quit: Leaving...]
theharshest has quit [Quit: This computer has gone to sleep]
jamto11 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dfalkner has quit [Quit: Textual IRC Client: www.textualapp.com]
pranny has quit [Quit: Leaving.]
Morkel has joined #ruby
yacks has quit [Ping timeout: 245 seconds]
jamto11 has quit [Ping timeout: 240 seconds]
<agent_white> Boopboop
shredding has joined #ruby
zarul has quit [Ping timeout: 250 seconds]
Shidash has quit [Ping timeout: 240 seconds]
Aaaal has quit [Quit: Aaaal]
dbasch has quit [Quit: dbasch]
<agent_white> #ruby sleeps at night. Maybe I should too.
shredding has quit [Client Quit]
jamto11 has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
relix has joined #ruby
Avahey_ has quit [Quit: Connection closed for inactivity]
mengu has joined #ruby
mengu has joined #ruby
senayar has quit [Remote host closed the connection]
jdj_dk has quit [Remote host closed the connection]
dc has joined #ruby
francisfish has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Remote host closed the connection]
hgl_ has joined #ruby
ndRx has joined #ruby
yfeldblum has joined #ruby
jamto11 has quit [Ping timeout: 240 seconds]
hgl_ has quit [Remote host closed the connection]
hgl_ has joined #ruby
t_p has joined #ruby
dc has quit [Remote host closed the connection]
zarul has joined #ruby
hgl has quit [Ping timeout: 260 seconds]
Mooneye has joined #ruby
Arkaniad|Laptop has quit [Ping timeout: 240 seconds]
tectonic_ has quit []
shredding has joined #ruby
bruno- has joined #ruby
aagdbl has quit [Quit: This computer has gone to sleep]
Rollabunna has quit [Remote host closed the connection]
Zebroid has joined #ruby
TomyWork has joined #ruby
Dude007 has quit [Read error: Connection reset by peer]
Cort3z has quit [Ping timeout: 256 seconds]
dc has joined #ruby
Dude007 has joined #ruby
dc has quit [Remote host closed the connection]
blackmesa has joined #ruby
bruno- has quit [Ping timeout: 240 seconds]
Zebroid has quit [Ping timeout: 250 seconds]
ndrei has joined #ruby
mr_rich101 has joined #ruby
amizya has quit [Quit: amizya]
yacks has joined #ruby
sdwrage has joined #ruby
SilkFox_ has joined #ruby
mr_rich101 has quit [K-Lined]
fabrice31 has quit [Remote host closed the connection]
maestrojed has quit [Quit: Computer has gone to sleep.]
SilkFox_ has quit [Ping timeout: 255 seconds]
alem0lars has joined #ruby
alem0lars has quit [Client Quit]
<atmosx> agent_white: it's 10:13 AM here :-P
<agent_white> atmosx: 1:13am here :)
<agent_white> atmosx: GOOD MORNING!!!11 :D
<atmosx> where you at? :-P
<atmosx> thanks
<agent_white> atmosx: Colorado!
<agent_white> In the US, but we're not American's... we're Coloradans :)
<atmosx> hahaha
<atmosx> I see
<atmosx> I'm in Greece, sunny day today
echevemaster has quit [Ping timeout: 255 seconds]
dc has joined #ruby
dc has quit [Remote host closed the connection]
<agent_white> atmosx: Very nice! :)
<atmosx> hmmm, I just came with a nice idea...
<atmosx> hm
<atmosx> to enhance my workflow with git. But migt require a gem.
idoru has quit [Read error: Connection timed out]
thnee has joined #ruby
deavid has quit [Ping timeout: 256 seconds]
sdwrage has quit [Quit: Leaving]
memph1s has joined #ruby
alexju has quit [Remote host closed the connection]
alex88 has joined #ruby
roolo has quit [Quit: Leaving...]
arup_r has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
tesuji has joined #ruby
shredding has quit [Quit: shredding]
dc has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
vsoftoiletpaper has quit []
Arkaniad|Laptop has joined #ruby
mikecmpbll has joined #ruby
dc has quit [Remote host closed the connection]
whyy has quit [Remote host closed the connection]
fabrice31 has joined #ruby
lxsameer has joined #ruby
shemerey has joined #ruby
kotcdn has joined #ruby
sk87 has joined #ruby
GriffinH_ is now known as GriffinHeart
deavid has joined #ruby
Ilyas has joined #ruby
dc has joined #ruby
shredding has joined #ruby
polysics has joined #ruby
polysics has left #ruby [#ruby]
MatthewsFace has quit [Quit: This computer has gone to sleep]
timonv_ has joined #ruby
Ilyas has quit [Read error: Connection reset by peer]
jaimef has quit [Excess Flood]
jaimef has joined #ruby
Dude007 has quit [Remote host closed the connection]
Ilyas has joined #ruby
Dude007 has joined #ruby
papercode has joined #ruby
deavid has quit [Read error: Connection reset by peer]
jamto11 has joined #ruby
Zebroid has joined #ruby
Zebroid has quit [Read error: No route to host]
idoru has joined #ruby
Dude007 has quit [Ping timeout: 264 seconds]
alem0lars has joined #ruby
dc has quit [Ping timeout: 245 seconds]
Photism has quit [Quit: Leaving]
claymore has joined #ruby
jamto11 has quit [Ping timeout: 256 seconds]
shredding has quit [Quit: shredding]
shredding has joined #ruby
alexju has joined #ruby
Atttwww has quit [Ping timeout: 256 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
LiohAu has joined #ruby
whyy has joined #ruby
Macaveli has joined #ruby
arup_r has joined #ruby
<Macaveli> Is there a build in translations in ruby for 1 -> one?
Soliah has quit [Quit: Soliah]
<atmosx> Macaveli: I guess not, it's so easy to make..
<Macaveli> found the answer
larissa has quit [Quit: Leaving]
<Macaveli> But I will make it myself as suggested atmosx :)
Joulse has joined #ruby
lethjakman has joined #ruby
<atmosx> Macaveli: it's just a hash :-)
mikecmpbll has joined #ruby
shredding has quit [Quit: shredding]
deavid has joined #ruby
deavid has quit [Remote host closed the connection]
ghr has joined #ruby
deavid has joined #ruby
lanox has quit [Quit: leaving]
senayar has joined #ruby
lkba has joined #ruby
aagdbl has joined #ruby
lethjakman has quit [Ping timeout: 255 seconds]
SilkFox_ has joined #ruby
x1337807x has joined #ruby
kaspergrubbe has joined #ruby
x1337807x has quit [Client Quit]
<Macaveli> indeed atmosx human_int = Hash[1 => "one", 2 => "two", 3 => "three", 4 => "four", 5 => "five"]
banjara has quit [Quit: Leaving.]
dumdedum has joined #ruby
SilkFox_ has quit [Ping timeout: 245 seconds]
francisfish has joined #ruby
jottr has joined #ruby
dawkirst has joined #ruby
dawkirst has quit [Remote host closed the connection]
dawkirst has joined #ruby
anarang has joined #ruby
elaptics`away is now known as elaptics
timonv_ has quit [Remote host closed the connection]
<agent_white> Man. Haskell is wierd. Just got a _very_ rough explanation of a pure function.
<agent_white> tl;dr -- stdout has state. ;P
Zebroid has joined #ruby
Aaaal has joined #ruby
Zebroid has quit [Ping timeout: 245 seconds]
jackneill has joined #ruby
yfeldblum has quit [Ping timeout: 256 seconds]
Aaaal has quit [Quit: Aaaal]
Mooneye has quit [Quit: Leaving]
roolo has joined #ruby
oo_ has joined #ruby
dc has joined #ruby
ephemerian has joined #ruby
Hobogrammer has quit [Quit: さようなら]
dc has quit [Remote host closed the connection]
dc has joined #ruby
olivier_bK has joined #ruby
decoponio has joined #ruby
bal has quit [Quit: bal]
bal has joined #ruby
timonv_ has joined #ruby
aagdbl has quit [Quit: This computer has gone to sleep]
wallerdev has quit [Quit: wallerdev]
dc has quit [Remote host closed the connection]
keen_ has joined #ruby
yfeldblum has joined #ruby
jamto11 has joined #ruby
bruno- has joined #ruby
bayed has joined #ruby
jamto11 has quit [Ping timeout: 240 seconds]
Joulse has quit [Quit: Joulse]
ramfjord has joined #ruby
bruno- has quit [Ping timeout: 240 seconds]
memph1s has quit [Quit: I couldn't come up with quit message :(]
rdark has joined #ruby
postmodern has quit [Quit: Leaving]
AlSquire has joined #ruby
idoru has quit [Read error: Connection timed out]
<arup_r> zenspider: Why did you ban me ? Can you talk about that ?
<arup_r> You can't stop me in learning from things that I want to learn... This is not good... Really not good.
DaniG2k has joined #ruby
<sevenseacat> not again
<agent_white> sevenseacat: Heya! Round two!
* agent_white hands sevenseacat an energy drink
arup_r has quit [Remote host closed the connection]
<sevenseacat> lol or not
Dude007 has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
Rollabunna has joined #ruby
lyuzashi has quit [Ping timeout: 272 seconds]
arup_r has joined #ruby
* sevenseacat drinks energy drink
startupality has joined #ruby
Joulse has joined #ruby
workmad3 has joined #ruby
matchaw has quit [Remote host closed the connection]
Rollabunna has quit [Ping timeout: 245 seconds]
idoru has joined #ruby
matchaw has joined #ruby
dblessing has joined #ruby
SilkFox_ has joined #ruby
Ilyas_ has joined #ruby
t_p has quit [Quit: Computer has gone to sleep.]
PanPan_ has joined #ruby
PanPan_ has quit [Client Quit]
ybart has joined #ruby
Ilyas has quit [Ping timeout: 264 seconds]
yacks has quit [Ping timeout: 240 seconds]
<ybart> Hi, do you know how to rename/copy a class SomeModule::Foo to Foo so that Foo.name == "Foo" ?
PanPan has quit [Ping timeout: 264 seconds]
<arup_r> No... Once constants are defined, you can't change the name
SilkFox_ has quit [Ping timeout: 255 seconds]
<arup_r> Xavier Noira had given great Ruby talk on this..
<ybart> And what about a copy ?
<ybart> Great, is the talk available somewhere ?
<arup_r> Ahh! Don't know :( about acopy
<arup_r> Youtube... Go grab it
<arup_r> He is an awesome ruby hero out there..
<ybart> Thanks !
bahar has quit [Ping timeout: 240 seconds]
<ybart> For the context, I'm trying to put my Rails models in a gem. I like to have everything namespaced in my gem, but hate to have to use the namespace in my main app.
<sevenseacat> whats the point then?
Vivekananda_y510 has quit [Read error: Connection reset by peer]
jdj_dk has joined #ruby
doev has joined #ruby
Pharaoh2 has joined #ruby
malditogeek has joined #ruby
yacks has joined #ruby
cajone has quit [Remote host closed the connection]
malditogeek has quit [Client Quit]
workmad3 has quit [Quit: Reconnecting]
<ybart> I had my models defined in a rails app in the root module. I'm trying to extract them in the gem. In a gem would like them scoped. But I don't wan't to change my app code to use that new namespace.
ddv has joined #ruby
ddv has quit [Changing host]
<arup_r> sevenseacat: What is good book to understand TDD concept ?
workmad3 has joined #ruby
malditogeek has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
<agent_white> arup_r: For ruby or rails?
<guardian> hello, I'm trying to debug a test for a contribution I'm about to submit to a ruby project. It looks like the test framework (I think it's minitest) captures stdout and stderr
<guardian> in the middle of the test code, I added require 'pry'; binding.pry in order to debug what's going on
<guardian> but I can't print anything to the console
<guardian> is there a way to force print to the terminal?
Wolland has quit [Remote host closed the connection]
aagdbl has joined #ruby
dANOKELOFF has joined #ruby
<arup_r> agent_white: Humm... May be general concept..
lkba has quit [Ping timeout: 260 seconds]
wasamasa has quit [Quit: ZNC]
whyy has quit [Read error: Connection reset by peer]
wasamasa has joined #ruby
<arup_r> agent_white: Suggest me some book
ndrei has quit [Ping timeout: 240 seconds]
malditogeek has quit [Quit: Leaving.]
dawkirst has quit [Remote host closed the connection]
<Mon_Ouie> guardian: Pry allows you to pass options to specify the output
<Mon_Ouie> binding.pry :output => STDOUT
dawkirst has joined #ruby
malditogeek has joined #ruby
mengu has quit [Remote host closed the connection]
blackmesa has joined #ruby
hsps__ has quit [Read error: Connection reset by peer]
agent_white has quit [Quit: goodnight]
hgl_ has quit [Quit: Computer has gone to sleep.]
oo_ has quit [Remote host closed the connection]
lolmaus has quit [Ping timeout: 240 seconds]
hgl_ has joined #ruby
hgl_ has quit [Remote host closed the connection]
hgl_ has joined #ruby
lolmaus has joined #ruby
whyy has joined #ruby
lnoskhen has joined #ruby
maletor has quit [Ping timeout: 240 seconds]
Arkaniad|Laptop has quit [Ping timeout: 250 seconds]
arup_r has quit [Remote host closed the connection]
jdj_dk has quit [Remote host closed the connection]
startupality has quit [Quit: startupality]
arup_r has joined #ruby
andrewlio has joined #ruby
maletor has joined #ruby
whyy has quit [Ping timeout: 264 seconds]
ramfjord has quit [Ping timeout: 260 seconds]
Bumptious has quit [Read error: No route to host]
Bumptiou_ has joined #ruby
Bumptiou_ has quit [Read error: Connection reset by peer]
whyy has joined #ruby
Bumptious has joined #ruby
inukshuk has joined #ruby
<guardian> thank you
spider-mario has joined #ruby
sevenseacat has quit [Quit: Leaving.]
hsps__ has joined #ruby
Macaveli has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
machete has quit [*.net *.split]
d4nk has quit [*.net *.split]
casheew_ has quit [*.net *.split]
edwardly has quit [*.net *.split]
hackeron has quit [*.net *.split]
yliu has quit [*.net *.split]
destructure has quit [*.net *.split]
harryk has quit [*.net *.split]
Bish has quit [*.net *.split]
tsunamie has quit [*.net *.split]
aep has quit [*.net *.split]
Authenticator has quit [*.net *.split]
Fraeon has quit [*.net *.split]
gtc|ghost has quit [*.net *.split]
klaas has quit [*.net *.split]
jhass|off has quit [*.net *.split]
eregon has quit [*.net *.split]
tommylommykins has quit [*.net *.split]
nanashiRei has quit [*.net *.split]
emdub has quit [*.net *.split]
catepillar has quit [*.net *.split]
redondos has quit [*.net *.split]
everett has quit [*.net *.split]
three18ti has quit [*.net *.split]
jamespw has quit [*.net *.split]
jpic has quit [*.net *.split]
Affix has quit [*.net *.split]
erichmenge has quit [*.net *.split]
emdub has joined #ruby
jamespw has joined #ruby
Fraeon has joined #ruby
yliu has joined #ruby
tommylommykins has joined #ruby
jpic has joined #ruby
hackeron has joined #ruby
gtc has joined #ruby
catepillar has joined #ruby
harryk has joined #ruby
destructure has joined #ruby
Authenticator has joined #ruby
edwardly has joined #ruby
aep has joined #ruby
why_away has joined #ruby
Affix has joined #ruby
yxhuvud has joined #ruby
machete has joined #ruby
nanashiRei has joined #ruby
klaas has joined #ruby
d4nk has joined #ruby
erichmenge has joined #ruby
everett has joined #ruby
eregon has joined #ruby
whyy has quit [Ping timeout: 250 seconds]
redondos has joined #ruby
three18ti has joined #ruby
hgl_ has quit [Quit: Lingo - http://www.lingoirc.com]
hgl has joined #ruby
konflikt has joined #ruby
fabrice31 has quit [Remote host closed the connection]
Atrumx has joined #ruby
jhass|off has joined #ruby
Bish has joined #ruby
fabrice31 has joined #ruby
jhass|off is now known as jhass
casheew_ has joined #ruby
konflikt has quit [Client Quit]
fabrice31 has quit [Ping timeout: 240 seconds]
ybart has quit [Quit: ybart]
startupality has joined #ruby
sigurding has quit [Quit: sigurding]
hsps__ has quit [Read error: Connection reset by peer]
SilkFox_ has joined #ruby
coderhs has joined #ruby
malditogeek has quit [Quit: Leaving.]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
Giorgio has joined #ruby
hgl has quit [Quit: Computer has gone to sleep.]
sigurding has joined #ruby
malditogeek has joined #ruby
SilkFox_ has quit [Ping timeout: 260 seconds]
Mon_Robot has joined #ruby
<Mon_Ouie> >> puts "hey guys"
<Mon_Robot> Mon_Ouie: => hey guys... (https://eval.in:443/170529)
Macaveli has joined #ruby
<godd2> new bot in town?
<Mon_Ouie> I'll release this as a Cinch plugin
tsunamie has joined #ruby
<godd2> >> puts $SAFE
ascarter has joined #ruby
<Mon_Robot> godd2: => 0... (https://eval.in:443/170530)
ascarter has quit [Max SendQ exceeded]
<Mon_Ouie> It uses eval.in like the old one
vifino has joined #ruby
ascarter has joined #ruby
ascarter has quit [Max SendQ exceeded]
Primordus has joined #ruby
hgl has joined #ruby
mengu has quit [Ping timeout: 245 seconds]
inspectah_stack has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
<vifino> Im proud of my bot :>
inspectah_stack has left #ruby [#ruby]
Alina-malina has joined #ruby
<guardian> I have another noob question: is there a way I do bundle exec rake test and at the same time add 'pry-byebug' to the bundle without having to edit the Gemfile?
alem0lars has quit [Quit: Going AFK...]
aagdbl has quit [Quit: Leaving]
alol__ is now known as alol
anarang has quit [Ping timeout: 245 seconds]
anarang has joined #ruby
eka has joined #ruby
alem0lars has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
Dude007 has quit [Ping timeout: 255 seconds]
fabrice31 has joined #ruby
spastorino has joined #ruby
batman has joined #ruby
roolo has quit [Quit: Leaving...]
<workmad3> guardian: I'm not sure that ability ever made it into bundler
kaspergr_ has joined #ruby
timonv_ has quit [Remote host closed the connection]
<workmad3> guardian: it's quite a bit more difficult to achieve than it seems on the surface... as it basically involves re-resolving the Gemfile.lock with the addition, making sure the dependency tree is still satisfiable and then updating the Gemfile.lock with changes are specific to one developer
timonv_ has joined #ruby
lnoskhen has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Morkel_ has joined #ruby
kaspergrubbe has quit [Ping timeout: 240 seconds]
Morkel has quit [Ping timeout: 240 seconds]
Morkel_ is now known as Morkel
bruno- has joined #ruby
<guardian> ok
timonv_ has quit [Ping timeout: 245 seconds]
Vivekananda has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
Vivekananda_y510 has joined #ruby
Dude007 has joined #ruby
little_fu has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 256 seconds]
godd2 has quit [Ping timeout: 245 seconds]
JBreit has joined #ruby
Rollabunna has joined #ruby
emergion has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
Dude007 has quit [Read error: Connection reset by peer]
end_guy has quit [Ping timeout: 264 seconds]
Dude007 has joined #ruby
Joulse has quit [Quit: Joulse]
Vivekananda_y510 has quit [Read error: Connection reset by peer]
quarcu has joined #ruby
roolo has joined #ruby
Zebroid has joined #ruby
end_guy has joined #ruby
marr has joined #ruby
Ilyas__ has joined #ruby
Ilyas_ has quit [Read error: Connection reset by peer]
Dude007_ has joined #ruby
Hanmac has quit [Read error: Connection reset by peer]
Dude007 has quit [Ping timeout: 250 seconds]
quarcu is now known as quarcu_
timonv_ has joined #ruby
agjacome has joined #ruby
quarcu_ is now known as quarcu
shemerey has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Zebroid has quit [Remote host closed the connection]
quarcu is now known as quarcu_
ctp has joined #ruby
shemerey has joined #ruby
quarcu_ is now known as quarcu
ylluminarious has joined #ruby
MCDev has quit [Ping timeout: 250 seconds]
Mon_Robot has quit [Remote host closed the connection]
Mon_Robot has joined #ruby
sixxy has joined #ruby
why_away has quit [Ping timeout: 250 seconds]
coderhs has quit [Read error: Connection reset by peer]
itadder has joined #ruby
coderhs has joined #ruby
SilkFox_ has joined #ruby
klaut has joined #ruby
kiri has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 250 seconds]
hamakn has joined #ruby
hamakn_ has quit [Read error: Connection reset by peer]
tokik has quit [Ping timeout: 250 seconds]
phoo1234567 has joined #ruby
yfeldblum has joined #ruby
blackmesa has joined #ruby
whyy has joined #ruby
phinfonet has joined #ruby
<Mon_Ouie> https://github.com/Mon-Ouie/cinch-eval-in I don't actually have a server to keep the bot running, so if someone does, feel free to replace my bot using this
bauruine has quit [Excess Flood]
bauruine has joined #ruby
itadder has quit [Ping timeout: 256 seconds]
SilkFox_ has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
workmad3 has quit [Quit: leaving]
blackmesa has quit [Ping timeout: 272 seconds]
tjr9898 has joined #ruby
jottr has joined #ruby
edmellum has joined #ruby
doev has quit [Remote host closed the connection]
railzForDaiz has joined #ruby
<apeiros> Mon_Ouie: the server the only problem, or also the time to maintain it? (somehow I thought it was charliesome's bot?)
mostlybadfly has joined #ruby
kyb3r_ has quit [Quit: Leaving]
railzForDaiz has quit [Client Quit]
_tpavel has quit [Ping timeout: 255 seconds]
ndrei has joined #ruby
arup_r has quit [Remote host closed the connection]
alexju has quit [Remote host closed the connection]
Giorgio has quit [Read error: Connection reset by peer]
jdj_dk has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
whyy has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 240 seconds]
cobakobodob has quit [Ping timeout: 240 seconds]
jottr_ has joined #ruby
Primordus has quit [Quit: WeeChat 0.4.3]
nuck has quit [Ping timeout: 256 seconds]
bruno- has joined #ruby
_tpavel has joined #ruby
nuck has joined #ruby
tkuchiki has quit [Ping timeout: 264 seconds]
<Mon_Ouie> apeiros: charlieshome wrote the old bot and the web service both of them used
blackmesa has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
codecop has joined #ruby
lanox has joined #ruby
Joulse has joined #ruby
Neomex has joined #ruby
coderhs has quit [Read error: Connection reset by peer]
coderhs has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mercwithamouth has quit [Ping timeout: 264 seconds]
LadyRainicorn has joined #ruby
AskSteve has joined #ruby
mengu has quit [Remote host closed the connection]
chipotle has quit [Quit: cya]
lkba has joined #ruby
ndrei has joined #ruby
toretore has joined #ruby
MCDev has joined #ruby
sk87 has joined #ruby
JBreit has left #ruby ["Leaving"]
Rollabunna has quit [Remote host closed the connection]
banisterfiend has joined #ruby
philcris_ has joined #ruby
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
keen_ has quit [Ping timeout: 240 seconds]
sigurding has quit [Remote host closed the connection]
tkuchiki has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
sigurding has joined #ruby
LadyRainicorn has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
arup_r has joined #ruby
iamjarvo has joined #ruby
mengu has joined #ruby
ldnunes has joined #ruby
phutchins has joined #ruby
oo_ has joined #ruby
dvb_ua has quit [Ping timeout: 240 seconds]
batman has quit [Quit: going home!]
ninegrid has quit [Ping timeout: 256 seconds]
cobakobodob has joined #ruby
claymore has quit [Ping timeout: 240 seconds]
<vifino> Mon_Ouie: Interesting thing, maybe I will make my own version, interfacing with eval.in seems fun
Sgeo has quit [Read error: Connection reset by peer]
<vifino> Will not use any code from you, dont worry
<vifino> :)
claymore has joined #ruby
mehlah has quit [Quit: Leaving...]
<Mon_Ouie> Well I wouldn't have made it open source if I had a problem with people using it ;)
ndrei has quit [Ping timeout: 264 seconds]
amacou has joined #ruby
yfeldblum has joined #ruby
<vifino> eval.in seems fun, definitly
britneywright has joined #ruby
Mon_Robot has quit [Remote host closed the connection]
Soda has joined #ruby
BadQuanta has joined #ruby
SouL_ has quit [Remote host closed the connection]
SouL has joined #ruby
blackmesa has quit [Quit: WeeChat 0.4.3]
yfeldblum has quit [Ping timeout: 255 seconds]
SilkFox_ has joined #ruby
chipotle has joined #ruby
whyy has joined #ruby
malditogeek has quit [Quit: Leaving.]
SouL has quit [Ping timeout: 272 seconds]
Hanmac has joined #ruby
SilkFox_ has quit [Ping timeout: 245 seconds]
mehlah has joined #ruby
AskSteve has left #ruby [#ruby]
Mon_Robot has joined #ruby
Mon_Robot has quit [Remote host closed the connection]
dawkirst has quit [Remote host closed the connection]
kotk has joined #ruby
whyy has quit [Read error: Connection reset by peer]
MrDoctor has joined #ruby
whyy has joined #ruby
MrDoctor has quit [Client Quit]
Mon_Robot has joined #ruby
MrDoctor has joined #ruby
fgo has joined #ruby
jamto11 has joined #ruby
kotk_ has quit [Ping timeout: 240 seconds]
malditogeek has joined #ruby
ndrei has joined #ruby
claymore has quit [Ping timeout: 260 seconds]
<vifino> Mon_Ouie: I have a question at your code :) Line 64, where is output_title defined?
jdj_dk has quit [Remote host closed the connection]
<vifino> nvm
<vifino> Its not comparison
* vifino facepalms
JasmeetQA has quit [Read error: Connection reset by peer]
senayar has quit [Remote host closed the connection]
claymore has joined #ruby
dawkirst has joined #ruby
<Pro|> what does variable |= something syntax do
<Pro|> or what is it called
<apeiros> Pro|: works the same as +=
<apeiros> `a <op>= b` is expanded to `a = a <op> b`
<Pro|> okay
<vifino> :o
<vifino> thats neat!
<apeiros> except for ||= and &&=, which expand to a || a = b, and a && a = b respectively
<vifino> ...waaat
* vifino 's mind inploded
<apeiros> it has almost the same effect, but avoids a method call in case of obj.foo ||= bar
NinoScript_ has joined #ruby
<Pro|> ||= was what i was looking for tbh but nice to know also, thanks :D!
<apeiros> yeah, ||= is not quite the same as |= ;-)
Morkel has quit [Quit: Morkel]
[1]MCDev has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
hippyphysicist has joined #ruby
senayar has joined #ruby
oo_ has quit [Remote host closed the connection]
jespada has joined #ruby
hippyphysicist has quit [Read error: Connection reset by peer]
MCDev has quit [Ping timeout: 250 seconds]
[1]MCDev is now known as MCDev
ninegrid has joined #ruby
jdj_dk has joined #ruby
Maitiu has joined #ruby
philcris_ has quit [Remote host closed the connection]
Mon_Robot has quit [Remote host closed the connection]
bmurt has joined #ruby
claymore has quit [Ping timeout: 256 seconds]
<Mon_Ouie> >> h = Hash.new(0); h["key"] ||= 1; h
<Mon_Ouie> Oh, I didn't actually make him join :p
ndrei has quit [Ping timeout: 256 seconds]
freerobby has joined #ruby
Mon_Robot has joined #ruby
<Mon_Ouie> >> h = Hash.new(0); h["key"] ||= 1; h
<Mon_Robot> Mon_Ouie: => {} (https://eval.in:443/170572)
kiri has joined #ruby
lw has quit [Quit: s]
codecop has quit [Remote host closed the connection]
workmad3 has joined #ruby
claymore has joined #ruby
wingedsnake has joined #ruby
Dude007_ has quit [Ping timeout: 240 seconds]
jdj_dk has quit [Remote host closed the connection]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<wingedsnake> when writing a gem if you have to classes in /lib. Lets say class a and b. when requiring class a into b, should I use require() or require_relative() ?
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
<Mon_Ouie> require
DivineEntity has quit [Quit: Lost terminal]
senayar has quit [Remote host closed the connection]
<Mon_Ouie> Rubygem will take care of adding the lib directory to the $LOAD_PATH
hgl_ has joined #ruby
<wingedsnake> that sounds good
emergion has quit [Quit: Connection closed for inactivity]
linojon has joined #ruby
jerius has joined #ruby
anaeem1 has joined #ruby
hgl has quit [Ping timeout: 245 seconds]
benzrf|offline is now known as benzrf
anaeem1 has quit [Remote host closed the connection]
willbarrettdev has joined #ruby
hgl__ has joined #ruby
SilkFox_ has joined #ruby
tesuji has quit [Ping timeout: 256 seconds]
DaniG2k has quit [Ping timeout: 240 seconds]
benzrf is now known as benzrf|offline
haroldwu has quit [Ping timeout: 240 seconds]
haroldwu has joined #ruby
hgl_ has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
haroldwu has quit [Changing host]
haroldwu has joined #ruby
jdj_dk has joined #ruby
<wingedsnake> Mon_Ouie, when unit testing I'm getting an error pointing on my require line
freerobby has quit [Quit: Leaving.]
Sirupsen has joined #ruby
<wingedsnake> The tests pass when changing to require_relative()
<workmad3> wingedsnake: your test LOAD_PATH isn't set up correctly then
SilkFox_ has quit [Ping timeout: 245 seconds]
valner has joined #ruby
oo_ has joined #ruby
jdj_dk has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 255 seconds]
valner has quit [Client Quit]
valner has joined #ruby
Fire-Dragon-DoL has joined #ruby
Fire-Dragon-DoL has quit [Client Quit]
<wingedsnake> require_relative should work too, cuz the the two classes will share the same path
<wingedsnake> "in the same folder"
MCDev has quit [Ping timeout: 250 seconds]
Fire-Dragon-DoL has joined #ruby
valner has quit [Client Quit]
valner has joined #ruby
DaniG2k has joined #ruby
orionstein is now known as orionstein_away
keen_ has joined #ruby
SouL has joined #ruby
jamto11 has quit [Remote host closed the connection]
oo_ has quit [Ping timeout: 240 seconds]
whyy has quit [Ping timeout: 264 seconds]
b00stfr3ak has quit [Ping timeout: 264 seconds]
ndrei has joined #ruby
obscured has joined #ruby
DaniG2k has quit [Ping timeout: 240 seconds]
qwyeth has joined #ruby
Shidash has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Zenigor has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sepp2k has joined #ruby
banister has joined #ruby
banister has quit [Client Quit]
<vifino> Mon_Ouie: Made my own version :D
<vifino> It even works!
<vifino> xD
valner has quit [Quit: valner]
valner has joined #ruby
<apeiros> Mon_Ouie: oh nice, you already got it running again?
claymore has quit [Ping timeout: 240 seconds]
ylluminate has joined #ruby
doev has joined #ruby
frellnet has joined #ruby
oo_ has joined #ruby
<Mon_Ouie> Yeah, it's working fine as far as I can tell
<Mon_Ouie> It's on both #ruby and #ruby-lang
oo_ has quit [Remote host closed the connection]
<dvabr> Hi guys
LiohAu has quit [Quit: LiohAu]
<dvabr> appreciate if anybody is willing to retweet or this tweet: https://twitter.com/dvabr/status/491571898531463169 :)
frellnet has quit [Remote host closed the connection]
<dvabr> sorry, or favourite* :)
MrSamuel has quit [Remote host closed the connection]
lolmaus has quit [Remote host closed the connection]
hamakn has quit [Remote host closed the connection]
frellnet has joined #ruby
hamakn has joined #ruby
oo_ has joined #ruby
LiohAu has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
Ankhers has joined #ruby
LadyRainicorn has joined #ruby
LadyRainicorn has quit [Max SendQ exceeded]
senayar has joined #ruby
LadyRainicorn has joined #ruby
spyderman4g63 has joined #ruby
startupality has quit [Quit: startupality]
ixti has joined #ruby
hamakn has quit [Ping timeout: 255 seconds]
tkuchiki has quit [Remote host closed the connection]
oo_ has quit [Ping timeout: 245 seconds]
hamakn has joined #ruby
tkuchiki has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
codabrink has quit [Quit: Textual IRC Client: www.textualapp.com]
LadyRainicorn has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
DaniG2k has joined #ruby
startupality has joined #ruby
hamakn has joined #ruby
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
cpruitt has joined #ruby
lxsameer has quit [Quit: Leaving]
hamakn has joined #ruby
hamakn_ has quit [Read error: Connection reset by peer]
failshell has joined #ruby
vifino has quit [Quit: Ze Cat now leaves...]
cocotton has joined #ruby
cocotton has quit [Read error: Connection reset by peer]
itspots has joined #ruby
Kruppe has quit [Quit: ZNC - http://znc.in]
<apeiros> Mon_Ouie: can you send it to ##new2ruby too?
banister has joined #ruby
endash has joined #ruby
Kruppe has joined #ruby
<Mon_Ouie> Sure. Was it on any other channel?
SilkFox has joined #ruby
<apeiros> uh, don't remember :-/
<apeiros> #rubyonrails maybe
dawkirst has quit [Remote host closed the connection]
Mon_Robot has quit [Remote host closed the connection]
Mon_Robot has joined #ruby
<Mon_Ouie> He should be on all 4 of them now
dawkirst has joined #ruby
senayar has quit [Remote host closed the connection]
karupa is now known as zz_karupa
jshultz has joined #ruby
freerobby has quit [Quit: Leaving.]
valner has quit [Quit: valner]
valner has joined #ruby
Aryasam has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
thoolihan has quit [Ping timeout: 240 seconds]
yacks has quit [Read error: Connection reset by peer]
p0sixpscl has joined #ruby
senayar has joined #ruby
Rollabunna has joined #ruby
p0sixpscl has quit [Client Quit]
p0sixpscl has joined #ruby
amizya has joined #ruby
yacks has joined #ruby
theharshest has joined #ruby
thoolihan has joined #ruby
yfeldblum has joined #ruby
banisterfiend has quit [Quit: Computer has gone to sleep.]
theharshest has quit [Client Quit]
ffranz has joined #ruby
arup_r has quit [Remote host closed the connection]
mikesplain has joined #ruby
mary5030 has joined #ruby
jottr_ has quit [Ping timeout: 256 seconds]
Rollabunna has quit [Ping timeout: 264 seconds]
sigurding has quit [Quit: sigurding]
SilkFox has quit [Ping timeout: 240 seconds]
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
anarang has quit [Quit: Leaving]
yfeldblum has quit [Ping timeout: 260 seconds]
SilkFox_ has joined #ruby
SilkFox has joined #ruby
snath has quit [Ping timeout: 250 seconds]
mengu has quit [Remote host closed the connection]
rahabash has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
<rahabash> hey is there a channel specific to rails or is this where most rails devs hang out?
<Mon_Ouie> There's #rubyonrails
<rahabash> thanks!
gregf_ has joined #ruby
valner has quit [Quit: valner]
valner has joined #ruby
SilkFox_ has quit [Ping timeout: 264 seconds]
valner has quit [Client Quit]
valner has joined #ruby
valner has quit [Client Quit]
hgl__ has quit [Quit: Computer has gone to sleep.]
valner has joined #ruby
ndrei has joined #ruby
hgl__ has joined #ruby
mr_foobar_baz has joined #ruby
jamto11 has joined #ruby
mr_foobar_baz has quit [Client Quit]
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rahabash has left #ruby [#ruby]
jackneill has quit [Remote host closed the connection]
professor_soap has joined #ruby
hgl__ has quit [Ping timeout: 272 seconds]
thesheff17 has joined #ruby
aganov has quit [Remote host closed the connection]
<professor_soap> say I have a json tree with many children and I want to select and return a set of children with uniq id fields, is there a way in ruby to query a json object for that?
baweaver has joined #ruby
banisterfiend has joined #ruby
<professor_soap> problem: many childres has same id field, I want to "uniqify" these children and not show a child with the same id field twice.
baweaver has quit [Read error: Connection reset by peer]
lanox has quit []
baweaver has joined #ruby
<apeiros> professor_soap: there's no such thing as a "json object"
<apeiros> you either have the serialized string, or the deserialized datastructure
freerobby has joined #ruby
chth0n has joined #ruby
<professor_soap> ok, it's a string parsed with JSON
<professor_soap> json = JSON.parse huge_string
<apeiros> which means you have plain ordinary ruby objects now
<apeiros> i.e. hashes, arrays, strings, floats, booleans and nil
mengu has joined #ruby
<professor_soap> yea you are right, it's a hash :)
ponch_ has joined #ruby
willbarrettdev has left #ruby ["Leaving"]
<professor_soap> I guess i can simply map through all the children in the tree and then do #uniq on that array or something, but I was curious to see if there's was a shorter way.
<professor_soap> but that wont work either, cause i need to only have uniq ['id'] fields
<professor_soap> not the rest of the data
JohnFord has joined #ruby
<apeiros> professor_soap: you can gist the code you write along with example input and output data
<apeiros> then we can try to see whether we can come up with a nicer solution
jottr_ has joined #ruby
valner has left #ruby [#ruby]
iamjarvo has joined #ruby
Digital-Ghost has joined #ruby
andrew9183 has joined #ruby
LiohAu has quit [Ping timeout: 250 seconds]
<professor_soap> I solved it with mapping through them, it's ok for now. Thx anyway
valner has joined #ruby
fgo has quit [Remote host closed the connection]
LiohAu has joined #ruby
dogeydogey has joined #ruby
endash has quit [Quit: endash]
tesuji has joined #ruby
phutchins has quit [Ping timeout: 245 seconds]
<j416> def foo(x = nil); end # is there a way to determine if I called foo or foo(nil) ?
<j416> s/if/whether/
<baweaver> arity
<j416> arity of what?
tagrudev has quit [Remote host closed the connection]
<j416> baweaver: did you read what I wrote?
<j416> hm
hamakn has quit [Remote host closed the connection]
tjr9898 has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> j416: no
<j416> apeiros: thanks.
<apeiros> j416: def foo(*x); if x.empty?; "called as foo()"; else; "called as foo(#{x.first.inspect})"; end; end
mengu has quit [Remote host closed the connection]
<j416> ooh
lmickh has joined #ruby
jonahR has joined #ruby
<j416> hm but this means I need more logic in my method to ensure there is only one parameter and not more
<j416> blergh
<j416> I might just skip this altogether
LadyRainicorn has quit [Ping timeout: 245 seconds]
<apeiros> j416: probably not a bad idea
ylluminate has quit [Ping timeout: 250 seconds]
<j416> apeiros++
hgl__ has joined #ruby
lw has joined #ruby
jobewan has joined #ruby
chth0n has quit [Ping timeout: 245 seconds]
yubrew has joined #ruby
oo_ has joined #ruby
cory_ has joined #ruby
Digital-Ghost has quit [Remote host closed the connection]
rebelshrug has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
SirSkidmore has joined #ruby
LiohAu has quit [Ping timeout: 250 seconds]
arup_r has joined #ruby
<SirSkidmore> I have a json string that is something like {"foo" : "\o"} is there a way to tell JSON parse that the string should be "\\o" not "o"?
hgl__ has quit [Ping timeout: 260 seconds]
sailias has joined #ruby
saarinen has joined #ruby
treehug88 has joined #ruby
nanoyak has joined #ruby
<apeiros> SirSkidmore: since that'd be wrong - no
oo_ has quit [Ping timeout: 255 seconds]
<apeiros> in json, "\o" == "o"
Takle has joined #ruby
LadyRainicorn has joined #ruby
<apeiros> you'd have to write your own non-standards-compliant parser for that.
<SirSkidmore> oh okay
<SirSkidmore> thanks apeiros
<apeiros> but I suggest you tell the source to emit proper json instead
Macaveli has quit [Quit: Leaving]
<SirSkidmore> apeiros: I will send them an email
<SirSkidmore> thank you
Eulipion has joined #ruby
<SirSkidmore> (I thought I was doing something wrong, heh)
<apeiros> reading the spec, I'd say "\o" is not even valid
snath has joined #ruby
<SirSkidmore> I think I know where the mistake is happening
<apeiros> since \ must be followed by either ", \, /, b, f, n, r, t or uHHHH. it doesn't list any other char as valid to follow \
banister has joined #ruby
banister has quit [Max SendQ exceeded]
DaniG2k has quit [Quit: leaving]
banister has joined #ruby
DaniG2k has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
davedev2_ has quit []
LadyRainicorn has joined #ruby
baweaver has quit [Remote host closed the connection]
codeurge has joined #ruby
jamto11 has quit [Remote host closed the connection]
redondos_ has joined #ruby
yfeldblum has joined #ruby
Dude007 has joined #ruby
shredding has joined #ruby
tjr9898 has joined #ruby
<startupality> Anyone know how can I use pry-rescue inside a rake task? same problem like here http://stackoverflow.com/questions/24194933/use-pry-rescue-in-a-rake-task
LadyRainicorn has quit [Read error: Connection reset by peer]
itspots has quit [Quit: Lingo - http://www.lingoirc.com]
LadyRainicorn has joined #ruby
Shidash has quit [Quit: Leaving.]
tziOm has quit [Ping timeout: 240 seconds]
<kaspergr_> startupality: Have your required pry-rescue?
<startupality> kaspergr_: yes, inside the .rake file
Guest18316 has quit [Remote host closed the connection]
professor_soap has quit []
saarinen has quit [Quit: saarinen]
LiohAu has joined #ruby
vincent__ has joined #ruby
vincent__ is now known as Guest5221
tziOm has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
baweaver has joined #ruby
gdd229 has joined #ruby
bal has quit [Quit: bal]
snath has quit [Read error: Connection reset by peer]
banister has quit [Ping timeout: 272 seconds]
Guest5221 has quit [Ping timeout: 250 seconds]
edmellum has quit [Quit: Connection closed for inactivity]
snath has joined #ruby
Bira has joined #ruby
Zebroid has joined #ruby
gdd229 has quit [Client Quit]
TomyWork has quit [Ping timeout: 250 seconds]
timonv_ has quit [Remote host closed the connection]
SilkFox_ has joined #ruby
timonv_ has joined #ruby
sdrew has joined #ruby
apeiros has quit [Remote host closed the connection]
tjr9898 has quit [Read error: Connection reset by peer]
tjr9898 has joined #ruby
apeiros has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
k0m has joined #ruby
banister has joined #ruby
wingedsnake has quit [Quit: Lämnar]
banister has quit [Max SendQ exceeded]
shredding has quit [Ping timeout: 245 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
saarinen has joined #ruby
sigurding has joined #ruby
SilkFox_ has quit [Ping timeout: 245 seconds]
timonv_ has quit [Ping timeout: 260 seconds]
apeiros has quit [Ping timeout: 264 seconds]
oo_ has joined #ruby
ramfjord has joined #ruby
Zebroid has quit [Remote host closed the connection]
Kricir has joined #ruby
Morkel has joined #ruby
asmodlol has joined #ruby
IceDragon has joined #ruby
shredding has joined #ruby
Lulzon has joined #ruby
tjr9898 has quit []
Lulzon has quit [K-Lined]
oo_ has quit [Ping timeout: 250 seconds]
sputnik13 has joined #ruby
willgorman_ has quit [Quit: free bouncers - bnc.im]
tjr9898 has joined #ruby
krz has quit [Quit: WeeChat 0.4.3]
DaniG2k has quit [Quit: leaving]
jackneill has joined #ruby
sputnik13 has quit [Ping timeout: 264 seconds]
finges has joined #ruby
sputnik13 has joined #ruby
sputnik13 has quit [Client Quit]
codeurge has quit [Quit: Quit.]
coderhs has quit [Quit: Leaving]
rayners has joined #ruby
tziOm has quit [Ping timeout: 256 seconds]
itspots has joined #ruby
itspots has joined #ruby
itspots has quit [Changing host]
terrellt has joined #ruby
banister has quit [Ping timeout: 255 seconds]
andrew9183 has left #ruby [#ruby]
tziOm has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
fgo has joined #ruby
tesuji has quit [Ping timeout: 260 seconds]
kevind has joined #ruby
Hanmac has quit [Ping timeout: 260 seconds]
jlovick has joined #ruby
sdrew has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vsoftoiletpaper has joined #ruby
moted has joined #ruby
Sirupsen has joined #ruby
xiq has joined #ruby
shemerey has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fgo has quit [Ping timeout: 250 seconds]
<ponch_> /join #carrierwave
nateberkopec has joined #ruby
nmokru has joined #ruby
icarus_ has joined #ruby
davispuh has joined #ruby
xxi is now known as ixx
b00stfr3ak has joined #ruby
fabrice31 has quit []
descala has quit [Ping timeout: 256 seconds]
dawkirst has quit [Remote host closed the connection]
_tpavel has quit [Quit: Leaving]
treehug88 has quit [Ping timeout: 272 seconds]
SBoolean has joined #ruby
descala has joined #ruby
tesaf has joined #ruby
frellnet_ has joined #ruby
jimms has joined #ruby
Takle has quit [Remote host closed the connection]
Hanmac has joined #ruby
icarus_ is now known as icarus
nanoyak has joined #ruby
diegoviola has joined #ruby
sambao21 has joined #ruby
hamakn has joined #ruby
arup_r has quit [Remote host closed the connection]
centrx has joined #ruby
maestrojed has joined #ruby
arup_r has joined #ruby
ndRx has quit [Remote host closed the connection]
frellnet has quit [Ping timeout: 245 seconds]
apeiros has joined #ruby
yfeldblum has joined #ruby
gbaway has joined #ruby
malditogeek has quit [Quit: Leaving.]
malditogeek has joined #ruby
nanoyak has quit [Client Quit]
terrellt has quit [Remote host closed the connection]
banister has joined #ruby
hamakn has quit [Ping timeout: 255 seconds]
terrellt has joined #ruby
Zebroid has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
Tricon has joined #ruby
mikepack has joined #ruby
fgo has joined #ruby
vincent__ has joined #ruby
timonv_ has joined #ruby
binaryhat has quit [Quit: Leaving]
vincent__ is now known as Guest61100
b00stfr3ak has quit [Ping timeout: 255 seconds]
codabrink has joined #ruby
nmokru has quit [Quit: nmokru]
b00stfr3ak has joined #ruby
Aryasam has quit [Read error: Connection reset by peer]
Elhu has joined #ruby
acrussell has joined #ruby
binaryhat has joined #ruby
p0sixpscl has quit [Quit: p0sixpscl]
Rollabunna has joined #ruby
p0sixpscl has joined #ruby
fgo has quit [Ping timeout: 255 seconds]
<arup_r> How can I change the last modified time of a directory in Ruby.. I am not getting the method in FileUtils..
Aryasam has joined #ruby
matti has quit [Quit: Oh dear...]
<katlogic> arup_r: File.utime
<bmurt> anyone have suggestions on how to interpolate a json file (for vagrant) that contains an instance variable?
Kricir has quit [Remote host closed the connection]
krz has joined #ruby
<bmurt> it was previously inline in the Vagrantfile, but now when it gets read in, the line stays static without the substitution
<arup_r> I tired mtime.. not working
dawkirst has joined #ruby
carraroj has joined #ruby
<katlogic> arup_r: mtime only returns it iirc
p0sixpscl has quit [Ping timeout: 250 seconds]
Tricon has quit [Quit: Linkinus - http://linkinus.com]
Rollabunna has quit [Ping timeout: 260 seconds]
SilkFox_ has joined #ruby
<aep> anyone knows a way to restart your custom ruby daemons when they die? since we dont have systemd yet on servers
dANOKELOFF has quit [Remote host closed the connection]
jlovick has quit [Remote host closed the connection]
<centrx> aep, http://godrb.com/ is one
jlovick has joined #ruby
<arup_r> katlogic: If I want to avoid, should I avoid the first argument there ?
<arup_r> Because I see there.. it needs 2 arguments.. one for atime and then mtime anf them file list
mehlah has quit [Quit: Leaving...]
redondos_ has quit [Remote host closed the connection]
<aep> centrx: looks good, can it write pidfiles or something for init scripts to work?
shemerey has joined #ruby
nanoyak has joined #ruby
<arup_r> **avoid atime..
<centrx> aep, I don't know about its integration with init, I used it a long time ago. It does save pids.
banisterfiend has quit [Quit: Computer has gone to sleep.]
sunya7a has joined #ruby
pietr0 has joined #ruby
hydrozen has joined #ruby
claymore has joined #ruby
SilkFox_ has quit [Ping timeout: 264 seconds]
baroquebobcat has joined #ruby
<arup_r> got an error Errno::EACCES
ramfjord has quit [Ping timeout: 240 seconds]
<centrx> arup_r, Probably means you do not have the file permissions to alter it
wallerdev has joined #ruby
andrewjanssen has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
endash has joined #ruby
banisterfiend has joined #ruby
Aryasam has quit [Read error: No route to host]
sixxy has quit [Remote host closed the connection]
theharshest has joined #ruby
Aryasam has joined #ruby
lkba has quit [Read error: Connection reset by peer]
banisterfiend has quit [Client Quit]
ylluminarious has quit [Quit: Leaving...]
toastynerd has quit [Remote host closed the connection]
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
harshjha_ has joined #ruby
theharshest has quit [Ping timeout: 240 seconds]
Photism has joined #ruby
Sirupsen has joined #ruby
bricker`work has joined #ruby
mehlah has joined #ruby
<arup_r> BigDecimal("7.1762").round(2).to_f.to_s # => "7.18"
dc has joined #ruby
<arup_r> perfect.. what is I don't want rounding ?
sunya7a has quit [Ping timeout: 240 seconds]
<arup_r> like "7.17"
<arup_r> How to do ?
amargherio has joined #ruby
<Hanmac> hm was it floor or ceil ?
<arup_r> just 7.17
zz_jrhorn424 is now known as jrhorn424
<arup_r> just cut it till 2 digits after (dot)
<Mon_Ouie> I guess you could multiply and then truncate
<Hanmac> >> BigDecimal("7.1762").floor(2).to_f.to_s
<Mon_Robot> Hanmac: => NoMethodError: undefined method `BigDecimal' for main:Object (https://eval.in:443/170642)
BadQuanta has quit [Read error: Connection reset by peer]
<Hanmac> >> require "bigdecimal"; BigDecimal("7.1762").floor(2).to_f.to_s
<Mon_Robot> Hanmac: Something went wrong when trying to evaluate your code.
<Mon_Ouie> Let me check what happened there
<Hanmac> Mon_Ouie: ? ;P
<mozzarella> is this a new bot or the old bot?
<Mon_Ouie> A new one with the same backend
<Hanmac> hm seems its not hanmac proof yet ...
BadQuanta has joined #ruby
LiohAu has quit [Quit: LiohAu]
Kricir has joined #ruby
<mozzarella> is it running inside a sandbox?
<Mon_Ouie> Oh, okay, a bug when the output is empty.
<Mon_Ouie> It's running on eval.in
<Mon_Ouie> (which as far as I know uses a ptrace sandbox)
Kricir has quit [Read error: Connection reset by peer]
olivier_bK has quit [Ping timeout: 255 seconds]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv_ has quit [Remote host closed the connection]
yasu has quit [Quit: Tiarra 0.1+svn-38663: SIGTERM received; exit]
<arup_r> Hanmac: I got it ... BigDecimal("7.1762").truncate(2).to_f
oo_ has joined #ruby
maletor has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Eulipion has left #ruby [#ruby]
sigurding has quit [Quit: sigurding]
banister has quit [Ping timeout: 255 seconds]
<mozzarella> why do you need bigdecimal?
St_Marx has quit [Quit: Ex-Chat]
alexju has joined #ruby
yasu has joined #ruby
<Hanmac> arup_r: floor works too
<Mon_Ouie> Hanmac: Consider how it would handle negative numbers
<arup_r> humm ...true
dc has quit [Remote host closed the connection]
Morkel has quit [Quit: Morkel]
ghr has quit [Ping timeout: 255 seconds]
deric_skibotn has joined #ruby
Mon_Robot has quit [Remote host closed the connection]
Mon_Robot has joined #ruby
<Mon_Ouie> >> require "bigdecimal"
<Mon_Robot> Mon_Ouie: => (https://eval.in:443/170644)
dc has joined #ruby
<Mon_Ouie> Should work now
dawkirst has quit [Remote host closed the connection]
sjouke has joined #ruby
<Mon_Ouie> arup_r: floor and truncate would not be the same for negative number BigDecimal("-7.1762").floor is -7.18
<sjouke> what is the difference in find_by and find_by!?
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<sjouke> I googled, but I think Google has a difficult time deciphering between the two strings
alex88 has quit [Quit: Leaving...]
<arup_r> In Ruby we don't have those methods..
<arup_r> Go to #rubyonrails
<lagweezle> sjouke: 'find_by' and 'find_by!'?
banister has joined #ruby
<ericwood> sjouke: typically in rails with finders the ! means it throws an exception if it fails
<arup_r> Mon_Ouie: I see
St_Marx has joined #ruby
<ericwood> it'll either mean: fail spectacularly, "this method will do some shit and modify your things"
<lagweezle> Interesting. So on object, bang means modify, in rails finder, usually means toss exception.
<sjouke> thank you ericwood
<ericwood> no problemo
<sjouke> i didn't know this was a rails issue, sorry about that
<ericwood> no worries
Joulse has quit [Quit: Joulse]
<ericwood> idk if I'm even right but based on past rails experience that's the way it typically works
tobago has quit [Remote host closed the connection]
<Hanmac> Mon_Ouie: as you see evalin does not load bigdecimal because its compiled ... the author of evalin did not fixed that yet that you can load stdlib stuff
dawkirst has joined #ruby
troyready has joined #ruby
harshjha_ has quit [Ping timeout: 245 seconds]
harshjha_ has joined #ruby
<arup_r> zenspider: Why minitest don't have *shared-examples* kind of cool stuffs.. ? Really Ruby should think to make Rspec as a replacement of Minitest,, :-)
ndRx has joined #ruby
<Mon_Ouie> There's minitest/spec isn't there?
Gonzih has joined #ruby
<apeiros> minitest allows you to use plain ruby's awesome code sharing features
Tricon has joined #ruby
<apeiros> no need to reinvent the wheel like rspec does
alexju has quit [Ping timeout: 245 seconds]
<arup_r> Still... Rspec is best....... :-)
<toretore> lol
<apeiros> nope
<apeiros> not even by a far shot
dc has quit [Remote host closed the connection]
<diegoviola> i like minitest simplicity
<centrx> Minitest is good
<arup_r> apeiros: Personal choice........ :)
mikecmpbll has quit [Ping timeout: 245 seconds]
claymore has quit [Ping timeout: 256 seconds]
rippa has joined #ruby
<apeiros> arup_r: sure. "I like X best" is personal choice. "X is best" is a factual statement.
jonahR has quit [Quit: ¡Adios amigos, me fui para el carajo!]
alexju has joined #ruby
<arup_r> toretore: How are you ?
<toretore> terrible
<toretore> i have cancer :(
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<centrx> worst joke ever
<toretore> haha jk you guys
francisfish has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
<toretore> it was not true
Bira has quit [Remote host closed the connection]
<toretore> but now i'll probably get cancer as punishment for joking about it
francisfish has joined #ruby
renderful has joined #ruby
ephemerian has quit [Quit: Leaving.]
claymore has joined #ruby
tectonic has joined #ruby
<arup_r> apeiros: I post a question in Minitest forum.. after 5 days I deleted.. Same posted with Rspec thought.. within 3 hours resolution came.. So community is stronger in Rspec.. and they are good also..:-)
yfeldblum has joined #ruby
<arup_r> toretore: No you wouldn't .. You are blessed by God. :-)
<toretore> yes i am
<apeiros> which one?
<centrx> but minitest is so easy you do not need to ask any questions
nanoyak has quit [Quit: Computer has gone to sleep.]
theRoUS has quit [Quit: Coyote finally caught me]
<apeiros> humanity invented too many gods, I lost track of them
WillAmes has quit [Remote host closed the connection]
<centrx> It's the same one you fools
<shevy> my god is stronger than your god centrx!!!
<drizz> my god is so god it's your gods god
<arup_r> centrx: come on.. :-)
<shevy> here is proof:
WillAmes has joined #ruby
<shevy> "My god is stronger. He is the everlasting sky! Your god lives underneath him."
IcyDragon has joined #ruby
francisfish has quit [Ping timeout: 260 seconds]
IceDragon has quit [Ping timeout: 260 seconds]
amacou has quit [Remote host closed the connection]
CorySimmons has joined #ruby
havenwood has joined #ruby
<centrx> Welp, I'm convinced
CodeLicker has quit [Ping timeout: 245 seconds]
<shevy> I live by Conan quotes every day
yfeldblum has quit [Ping timeout: 240 seconds]
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
<arup_r> Damn.. Getting error DateTime.strptime "141:16:11.865314","%H:%M:%S.%L"
<arup_r> how to parse it ?
<toretore> 141
<apeiros> arup_r: "an error"
<apeiros> not a useful description.
vifino has joined #ruby
<arup_r> invalid date
<arup_r> ArgumentError: invalid date
theRoUS has quit [Client Quit]
<toretore> which it is
<toretore> >> DateTime.strptime "141:16:11.865314","%H:%M:%S.%L"
<Mon_Robot> toretore: => NameError: uninitialized constant DateTime (https://eval.in:443/170645)
wallerdev has quit [Quit: wallerdev]
<apeiros> good. and why do you think the error should not have happened?
<toretore> damit
mikepack has quit [Remote host closed the connection]
mikepack has joined #ruby
IcyDragon is now known as IceDragon
jottr_ has quit [Ping timeout: 255 seconds]
toastynerd has joined #ruby
<arup_r> ah.. why should ? I gave it all arguments ? ;)
<apeiros> why do you think this is not an invalid date?
beneggett has joined #ruby
ramfjord has joined #ruby
<apeiros> or reversed: why do you think this is a valid date?
<arup_r> date is not there..right ?
<apeiros> that
<arup_r> then how would i parse it ?
<apeiros> also which day has 141 hours?
klaut has quit [Remote host closed the connection]
<centrx> arup_r, Ruby core does not have a duration class
<apeiros> I suspect you have a duration, not a date
<arup_r> time class don't have strptime method too...
<centrx> arup_r, Use something like Chronic::Duration
ylluminarious has joined #ruby
toastynerd has quit [Remote host closed the connection]
<vifino> How can I submit a hastebin and read it? I want to paste bigger data
jrhorn424 is now known as zz_jrhorn424
<joelteon> hi, this is happening when I try to run my rails server: https://gist.github.com/joelteon/da807ee0cf7fc3dae5f8
fgo has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
toastynerd has joined #ruby
slap_stick has joined #ruby
<AlHafoudh> vifino: http://hastebin.com/ , click new (the plus icon), paste text, click save (the diskette icon)
<vifino> No, i meant from ruby :>
jamto11 has joined #ruby
ghr has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
<AlHafoudh> vifino: you said you want to paste bigger data
darkxploit has joined #ruby
dangerousdave has joined #ruby
<vifino> Yes, from ruby .-.
nitin_ has joined #ruby
<Aryasam> centrx: can i PM you?
mikecmpbll has joined #ruby
<AlHafoudh> vifino: then try https://github.com/seejohnrun/haste-client
<centrx> Aryasam, Sure. Who are you?
<vifino> AlHafoudh: The library part didnt work, it requires alright, but after that, nothing works
amizya has quit [Quit: amizya]
LadyRainicorn has quit [Quit: Bye]
shredding has quit [Quit: shredding]
nitin_ has quit [Read error: Connection reset by peer]
nitin_ has joined #ruby
CaptainJet has joined #ruby
<AlHafoudh> vifino: if you look at the source, its pretty simple, its just POST request to /documents
<vifino> Im using ruby 2.1.2 btw
darkxploit has quit [Read error: Connection reset by peer]
Zackio has quit [Ping timeout: 260 seconds]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<vifino> AlHafoudh: I also tried to make my own, poorly that didnt work too :/
<eam> >> % %%%%%%% %%%% % %%%%% %%%%
<Mon_Robot> eam: => SyntaxError: (eval):1: unterminated string meets end of file (https://eval.in:443/170650)
nitin_ has quit [Read error: Connection reset by peer]
<eam> >> % %%%%%%% %%%% % %%%%% %%%% ""
<Mon_Robot> eam: => "%" (https://eval.in:443/170651)
<AlHafoudh> vifino: well, then good luck
<eam> Mon_Robot has a bug, it chomps trailing whitespace
<vifino> :/
darkxploit has joined #ruby
<slap_stick> hey, say i have a list of hosts and each host i want to iterate over and make it comma separated except the last one, i.e. host1,host2,host3 i was doing a each do but obviously the last one also contains a , i wondered if there is a neater way other than doing a each_with_index and seeing if index is the last one of the array and not putting it in with some if statement
<AlHafoudh> vifino: right now I did a google search for you
<vifino> You did, yes.
nitin_ has joined #ruby
fgo has quit [Ping timeout: 250 seconds]
<AlHafoudh> vifino: you should too..
<vifino> I _did_
<vifino> But since thats not working, I asked here
darkxploit has quit [Read error: Connection reset by peer]
ghr has quit [Ping timeout: 245 seconds]
nitin_ has quit [Read error: Connection reset by peer]
jamto11 has quit [Ping timeout: 264 seconds]
<AlHafoudh> vifino: what is not working, did you get any error?
darkxploit has joined #ruby
<vifino> Its not an error, its just not working :/
<vifino> well
<AlHafoudh> did you try to debug?
<havenwood> joelteon: mm, eventmachine. are you using thin or is EM bundled for something else?
<eam> Mon_Robot: is the bot yours? is the source somewhere?
<havenwood> joelteon: Rails channel is #rubyonrails by the way.
<joelteon> havenwood, I think I figured it out
<vifino> the library has errors all over the place
<joelteon> all the stacktrace stuff is Ruby 1.9 but eventmachine was built for 2.1
<havenwood> joelteon: aha!
<joelteon> anyway, if eventmachine is a rails thing I'll ask there instead, thanks
<centrx> Do upgrade your Ruby
<joelteon> well I thought I did
<joelteon> that's the problem
<havenwood> joelteon: i'm guessing it is being used with thin, which is just one of many Rack webservers
BadQuanta has quit [Ping timeout: 240 seconds]
SirSkidmore has left #ruby ["WeeChat 0.3.8"]
<havenwood> joelteon: take a look at unicorn and puma for nice alternative options that don't use EM
krz has quit [Quit: WeeChat 0.4.3]
banister_ has joined #ruby
<joelteon> havenwood: unfortunately, it's not my project and I don't have the time or desire to port it to other servers
<joelteon> I just want to get it to work
<AlHafoudh> lemme see
<havenwood> joelteon: building EM for your Ruby makes sense then ;)
banister has quit [Read error: Connection reset by peer]
<joelteon> agreed
JohnFord has joined #ruby
mattmcclure has joined #ruby
Spami has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
beneggett has joined #ruby
Spami has quit [Client Quit]
jerius has quit []
SilkFox_ has joined #ruby
sjouke has quit [Quit: leaving]
slap_stick has quit [Quit: Page closed]
Dude007 has quit [Ping timeout: 240 seconds]
<AlHafoudh> hmm, really
ponch_ has quit [Ping timeout: 272 seconds]
Notte has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
senayar has quit [Remote host closed the connection]
jamto11 has joined #ruby
senayar has joined #ruby
pasties has quit [Read error: Connection reset by peer]
pasties_ has joined #ruby
kotcdn has quit [Read error: Connection reset by peer]
<Hanmac> havenwood: DoctorWho episode?
RichardK has quit [Quit: Leaving]
<havenwood> s6e1
iamjarvo has joined #ruby
Zebroid has quit [Remote host closed the connection]
beef-wellington has joined #ruby
endash has quit [Read error: Connection reset by peer]
SilkFox_ has quit [Ping timeout: 256 seconds]
wallerdev has joined #ruby
endash has joined #ruby
senayar has quit [Ping timeout: 255 seconds]
treehug88 has joined #ruby
Kricir has joined #ruby
Bira has joined #ruby
SilkFox has quit [Ping timeout: 245 seconds]
Spami has quit [Quit: Leaving]
workmad3 has quit [Ping timeout: 264 seconds]
Spami has joined #ruby
Tricon has quit [Ping timeout: 240 seconds]
cleopatra has joined #ruby
Rollabunna has joined #ruby
Rollabunna has quit [Remote host closed the connection]
Rollabunna has joined #ruby
Bira has quit [Ping timeout: 245 seconds]
ndrei has quit [Ping timeout: 272 seconds]
nmokru has joined #ruby
<vifino> AlHafoudh: Found a way?
Bira has joined #ruby
charliesome has joined #ruby
<wallerdev> good morning
Zebroid has joined #ruby
banjara has joined #ruby
Gonzih has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
<dogeydogey> hey i still can't this tar script to work... i installed the archive-tar gem... any ideas? do i need to require anything? http://pastie.org/9412683
crazed has joined #ruby
edgarjs_afk is now known as edgarjs
sdrew has joined #ruby
<crazed> if I have a string such as 'alias(scale(sum(systems.%.magic.rx), 8), "Super Cool!"', what are some easy techniques to parse this and grab out systems.%.magic.rx, then apply the surrounding "functions"
Morkel has joined #ruby
<apeiros> crazed: depends on how much you didn't say. i.e. how generic this thing should be.
<crazed> pretty generic
<apeiros> you can build a proper parser with things like treetop or parslet relatively easy
rdark has quit [Quit: leaving]
<crazed> i don't know if you've ever used graphite, but i'm trying to build an api similar to that
<apeiros> I haven't
<crazed> okay, so yeah assume there's a series of functions to apply to a given target
<crazed> i'd have to pull out 'systems.%.margic.x' as the "target", then apply the functions surrounding it
<eam> crazed: treetop or parselet are good suggestions
NinoScript_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<eam> outside of ruby, I'd use flex
<crazed> flex?
toastynerd has quit [Read error: Connection reset by peer]
CorySimmons has quit [Quit: Zzz...]
toastynerd has joined #ruby
malditogeek has quit [Quit: Leaving.]
AlSquire has quit [Quit: This computer has gone to sleep]
banister has joined #ruby
banister_ has quit [Read error: Connection reset by peer]
Tricon has joined #ruby
awc737 has joined #ruby
Guest61100 has quit [Remote host closed the connection]
sdrew has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<crazed> i'll look into these two parsers, never had to create something such as this
postmodern has joined #ruby
Kricir has quit [Remote host closed the connection]
<vifino> AlHafoudh: Hello?
blurredbits has joined #ruby
roolo has quit [Quit: Leaving...]
jamto11 has quit [Remote host closed the connection]
tectonic has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wingedsnake has joined #ruby
<wingedsnake> where can I find URI.encode's definition ?
<wingedsnake> I checked URI module
<wingedsnake> not there
maxmanders has quit [Ping timeout: 245 seconds]
<centrx> wingedsnake, Search for [ruby uri encode]
<centrx> On the web
<wingedsnake> did that
<centrx> and?
slash_nick has quit [Ping timeout: 255 seconds]
<wingedsnake> stackoverflow threads are what comes up
<wingedsnake> :/
<oxez> except the first result :o
|RicharD| has joined #ruby
okinomo has quit [Ping timeout: 240 seconds]
tjr9898 has quit [Remote host closed the connection]
bnjamin has joined #ruby
<wingedsnake> URI.escape == URI.encode ?
Zenigor has quit [Remote host closed the connection]
<centrx> That's what it says in the docs
<|RicharD|> Hi how I can show a string that have another quote inside ? example 'Richard comment's'
<centrx> |RicharD|, Use a backslash to escape the internal quote, or enclose the string in double-quotes instead of single-quotes
<centrx> i.e. use different kinds of quotes
<|RicharD|> how I can do for the quote inside ? I tried with 'Richard comment\'s' but it print 'Richard comment&#39;ss'
<wingedsnake> drizz thx
jxf has joined #ruby
Elhu has quit [Read error: Connection reset by peer]
<centrx> |RicharD|, I suppose if you use escaping, you must enclose the string in double-quotes
<centrx> |RicharD|, The &#39 implies there was some HTML transformation along the way
<|RicharD|> yes
havenwood has quit [Remote host closed the connection]
johnmolina has joined #ruby
elaptics is now known as elaptics`away
bnjamin85 has joined #ruby
bnjamin has quit [Client Quit]
bnjamin85 has quit [Remote host closed the connection]
Hobogrammer has joined #ruby
Rahul_Roy has joined #ruby
bnjamin has joined #ruby
bnjamin has quit [Remote host closed the connection]
Elhu has joined #ruby
CorySimmons has joined #ruby
doev has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby
jerius has joined #ruby
edmellum has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bnjamin has joined #ruby
schaary is now known as schaary|afk
vsoftoiletpaper has quit []
edgarjs is now known as edgarjs_afk
C0deMaver1ck has joined #ruby
cleopatra has quit [Quit: Saliendo]
matti has joined #ruby
deric_skibotn has quit [Ping timeout: 240 seconds]
BadQuanta has joined #ruby
bnjamin has quit [Remote host closed the connection]
benzrf|offline has quit [Quit: bye]
fgo has joined #ruby
jamto11 has joined #ruby
Martxel has joined #ruby
thesheff17 has quit [Quit: Leaving]
CorySimmons has quit [Quit: Zzz...]
deric_skibotn has joined #ruby
Dude007 has joined #ruby
endash has quit [Read error: Connection reset by peer]
dc has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
endash has joined #ruby
edgarjs_afk is now known as edgarjs
CorySimmons has joined #ruby
chrishough has quit [Quit: chrishough]
fgo has quit [Ping timeout: 272 seconds]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banister is now known as banisterfiend
maxmanders has joined #ruby
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
okinomo has joined #ruby
maestrojed has joined #ruby
AlexRussia has joined #ruby
ph8 has quit [Read error: Connection reset by peer]
Kricir has joined #ruby
yetanotherdave has joined #ruby
joelteon has left #ruby ["bye"]
Asher has quit [Quit: Leaving.]
slash_nick has joined #ruby
charliesome has joined #ruby
Zesty has joined #ruby
agarie has joined #ruby
joelteon has joined #ruby
SilkFox_ has joined #ruby
<joelteon> still happening when i try to run rails s: https://gist.github.com/joelteon/3af8c85bcfe9b18697cf
banister has joined #ruby
<joelteon> this is with all the correct gem versions
banisterfiend has quit [Read error: Connection reset by peer]
banister is now known as banisterfiend
Hanmac has quit [Quit: Leaving.]
<centrx> joelteon, Looks like a different stack trace at least
<joelteon> yeah
<joelteon> hang on, it looks like EM might still have been built against the wrong ruby, somehow
<joelteon> I'm going to purge all non-2.1 rubies from my system
<havenwood> deja vu
CorySimmons has quit [Quit: Zzz...]
qmfnp has joined #ruby
Tricon has quit [Quit: Leaving...]
baroquebobcat has quit [Quit: baroquebobcat]
cpruitt has quit [Read error: Connection reset by peer]
baroquebobcat has joined #ruby
<crazed> heh these PEG things are tricky
SilkFox_ has quit [Ping timeout: 255 seconds]
<crazed> well a learning curve at least
cpruitt has joined #ruby
vt102 has quit [Remote host closed the connection]
thesheff17 has joined #ruby
<Fire-Dragon-DoL> fell in love with #ŧap
<Fire-Dragon-DoL> #tap*
<Fire-Dragon-DoL> can't stop tapping everything lol
djbkd has joined #ruby
StephenA1 has joined #ruby
eka has joined #ruby
<wallerdev> lol
chrishough has joined #ruby
chrishough has quit [Client Quit]
chrishough has joined #ruby
IceDragon has quit [Ping timeout: 250 seconds]
<dogeydogey> anyone know a good way to tar files in ruby?
IceDragon has joined #ruby
Notte has quit [Remote host closed the connection]
eka has quit [Client Quit]
alexju has quit [Remote host closed the connection]
<shevy> dogeydogey can we use external programs?
<dogeydogey> i guess so?
<dogeydogey> i wanted to ouse archive::tar but it doesn't seem to be working
<wallerdev> just shell out to tar?
<shevy> well then you could use system() just directly
<shevy> yeah
<shevy> I guess archive would be the "rubyish" way https://rubygems.org/gems/archive
baroquebobcat has quit [Quit: baroquebobcat]
baroquebobcat has joined #ruby
vt102 has joined #ruby
jheg has joined #ruby
mercwithamouth has joined #ruby
froy has quit [Remote host closed the connection]
Zebroid has quit [Remote host closed the connection]
nowthatsamatt has joined #ruby
Zenigor has joined #ruby
froy has joined #ruby
kaspergr_ has quit [Remote host closed the connection]
mousa has joined #ruby
<eam> if you shell out, consider using pax
mikepack has quit [Remote host closed the connection]
endash has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
endash has joined #ruby
dc has quit [Remote host closed the connection]
<shevy> and what if we want to sell out
Martxel has quit [Quit: Leaving]
Zesty has quit [Quit: Linkinus - http://linkinus.com]
eka has joined #ruby
LekeFly has joined #ruby
x1337807x has joined #ruby
freggles has quit [Ping timeout: 245 seconds]
ndRx has quit [Quit: go go power rangers...]
Martxel has joined #ruby
<eam> pkzip
<shevy> hehe
echevemaster has joined #ruby
<eam> zip is a way better format than tar =/
<shevy> hmm is it?
<eam> tar doesn't have an index, so you have to traverse the archive to extract any element
Notte has joined #ruby
dc has joined #ruby
<eam> O(n) vs O(1)
sigurding has joined #ruby
dc has quit [Remote host closed the connection]
revoohc has joined #ruby
chipotle has quit [Quit: cya]
fschuindt has joined #ruby
fschuindt has quit [Max SendQ exceeded]
fschuindt has joined #ruby
Sauvin has quit [Read error: Connection reset by peer]
<ChristianDC> is it possible to do something like .map(&:id) against a Hash?
banisterfiend has quit [Read error: Connection reset by peer]
dc has joined #ruby
banister has joined #ruby
<centrx> ChristianDC, I think there may be a gem for it but no
djbkd has quit [Remote host closed the connection]
asmodchan has joined #ruby
<centrx> *related to it, but maybe not
<ChristianDC> yeah i've got a Hash with an array in it
<centrx> ChristianDC, not sure what you mean actually, .map(&:id) seems like it would be for an array of hashes
ctp has joined #ruby
endash has quit [Quit: endash]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mousa> Could anyone tell me why I get this error when I: require 'slim'? https://gist.github.com/anonymous/4266f866433ab34c2c1c
<ChristianDC> ok maybe i made a mistake.. I'm working with data that came from JSON.parse
asmodchan has quit [Read error: Connection reset by peer]
<ChristianDC> but it's erroring out with Hash not being able to map but maybe I'm mapping against the wrong thing
asmodlol has quit [Ping timeout: 255 seconds]
<centrx> mousa, Cannot locate such file. What is slim supposed to refer to?
dc has quit [Remote host closed the connection]
<ChristianDC> ok yeah it's an array of hashes
Elhu has joined #ruby
jimms has quit []
<mousa> centrx, I did "gem install slim" before that, which is a tempting engine
<mousa> *templating
uokesita has joined #ruby
<centrx> mousa, Try putting it in your Gemfile and using bundle install
andrewjanssen has quit [Quit: Leaving...]
nfk has joined #ruby
twhittley has joined #ruby
x1337807x has joined #ruby
amizya has joined #ruby
dc has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
gbaway has quit [Ping timeout: 244 seconds]
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cory_ has quit [Quit: Connection closed for inactivity]
Kricir has quit [Remote host closed the connection]
carraroj has quit [Quit: Konversation terminated!]
<mousa> centrx, it worked by adding it to the gem file. I need more clear concept of gem, bundle etc. Any resource you'd recommend?
asmodlol has joined #ruby
<centrx> mousa, I don't know it doesn't really do that much.
thesheff17 has quit [Ping timeout: 272 seconds]
<centrx> mousa, In this case, the "require" is actually overridden by rubygems and checks through your installed gems, whereas Ruby core's "require" just looks at files
<centrx> and PATH maybe
hydrozen has quit [Quit: Textual IRC Client: www.textualapp.com]
<mousa> centrx, I see. Thanks.
<centrx> mousa, It could be that, or it could be because you are running it with bundle exec, it has to be in the bundle
baroquebobcat has quit [Quit: baroquebobcat]
dumdedum has quit [Quit: foo]
marr has quit [Ping timeout: 260 seconds]
rayners has quit [Remote host closed the connection]
<mousa> centrx, I'll have to play with it a little more I guess
Tricon has joined #ruby
JohnFord has joined #ruby
thesheff17 has joined #ruby
Ankhers has quit [Ping timeout: 264 seconds]
fgo has joined #ruby
jheg has quit [Quit: jheg]
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nfk has quit [Quit: yawn]
bayed has quit [Quit: Connection closed for inactivity]
jerius has quit []
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nfk has joined #ruby
ghr has joined #ruby
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
andrewjanssen has joined #ruby
Bira has quit [Remote host closed the connection]
<dogeydogey> random question but anyone here good with the github api?
<Mon_Ouie> wingedsnake: You could use Pry to help you find the definition of methods btw
Spami has joined #ruby
<Mon_Ouie> show-source URI.encode
mikepack has joined #ruby
fgo has quit [Ping timeout: 245 seconds]
vincent__ has joined #ruby
<dogeydogey> shevy do you know why use of archive doesn't work?
<dogeydogey> am I supposed to require something?
vincent__ is now known as Guest72320
ctp has joined #ruby
<byteddown> Has anyone worked with jira-ruby before?
MrDoctor has quit [Read error: Connection reset by peer]
baroquebobcat has joined #ruby
ghr has quit [Ping timeout: 260 seconds]
britneywright has joined #ruby
WormDrink has quit [Ping timeout: 245 seconds]
<Mon_Ouie> eam: Are you sure your client doesn't remove trailing whitespace? I don't do any such stripping, and from the last character of your message seemed to be a "%"
MrDoctor has joined #ruby
<Mon_Ouie> It might be that Cinch is stripping them before I get the string
<eam> well that's interesting, let me see
<Mon_Ouie> >> % foo
<Mon_Robot> Mon_Ouie: => SyntaxError: (eval):1: unterminated string meets end of file (https://eval.in:443/170658)
<eam> yeah, I'm sure because:
<eam>
<eam> " "
<eam> I got that message round-robin through chat
<eam> 6 spaces
<Mon_Ouie> Yeah, and I can see those spaces in the log as well
WormDrink has joined #ruby
<Mon_Ouie> Can you try again?
<eam> >> % %%%
MrDoctor has quit [Read error: Connection reset by peer]
<Mon_Robot> eam: => SyntaxError: (eval):1: unterminated string meets end of file (https://eval.in:443/170659)
<eam> nope
<eam> should be:
<eam> 2.1.0 :002 > % %%%
<eam> => "%%%"
<Mon_Ouie> https://github.com/Mon-Ouie/cinch-eval-in code is here if you want to check
<eam> rad, will dig around
<eam> thanks!
Guest72320 has quit [Ping timeout: 240 seconds]
mengu has joined #ruby
elikem has joined #ruby
<shevy> dogeydogey let me try to find out
<dogeydogey> h nevermind
<dogeydogey> i didn't have the correct dependencies
* dogeydogey is silly
SilkFox_ has joined #ruby
zB0hs has joined #ruby
havenwood has quit [Remote host closed the connection]
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Zenigor has quit [Remote host closed the connection]
dogeydogey has left #ruby ["Bye"]
banister has quit [Read error: Connection reset by peer]
Wolland has joined #ruby
banister_ has joined #ruby
jamto11 has quit [Remote host closed the connection]
Zenigor has joined #ruby
jerius has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
JokerDoom has joined #ruby
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Elhu has quit [Quit: Computer has gone to sleep.]
SilkFox_ has quit [Ping timeout: 272 seconds]
<shevy> hmmm
<shevy> I can't find out right now, I seem to miss "ginstall" for some reason
Notte has quit [Remote host closed the connection]
_JokerDoom has quit [Ping timeout: 245 seconds]
jamto11 has joined #ruby
Zenigor has quit [Ping timeout: 240 seconds]
AlexRussia_ has quit [Ping timeout: 240 seconds]
AlexRussia has quit [Ping timeout: 245 seconds]
droptone_ is now known as ght
vsoftoiletpaper has joined #ruby
voodoofish1 has joined #ruby
mehlah has quit [Quit: Leaving...]
reset has joined #ruby
voodoofish has quit [Ping timeout: 260 seconds]
pasties_ is now known as pasties
treehug88 has quit [Ping timeout: 250 seconds]
<shevy> oops
<shevy> stat /bin/ginstall
<shevy> File: '/bin/ginstall' -> 'install'
<shevy> it's just a symlink
jonny_ has joined #ruby
AlexRussia has joined #ruby
<jonny_> hey guys.. is there some kind of built in string method that will convert `This Is Awesome` to `this-is-awesome`?
<shevy> Archive.compress("tmp.tar.gz", "/home")
<shevy> RuntimeError: Error while calling stat(): No such file or directory
dc has quit [Remote host closed the connection]
<shevy> jonny_ hmm not a single one method
AlexRussia_w has joined #ruby
<shevy> "This Is Awesome".downcase.tr(' ','-') # => "this-is-awesome"
<shevy> you can always write a method though, perhaps even on class String
<jonny_> i see thanks :)
dc has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
jonny_ has quit [Client Quit]
dbasch has joined #ruby
jheg has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
yeticry has quit [Read error: Connection reset by peer]
kaspergrubbe has joined #ruby
dbasch has quit [Client Quit]
mengu has quit []
Notte has joined #ruby
awc737 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Elhu has joined #ruby
SBoolean has quit [Ping timeout: 260 seconds]
KWALL has quit [Quit: WeeChat 0.3.8]
Tricon has quit [Quit: Leaving...]
yeticry has joined #ruby
babykosh has joined #ruby
awc737 has joined #ruby
anaeem1 has joined #ruby
elikem has quit [Read error: Connection reset by peer]
kiri has quit [Ping timeout: 250 seconds]
SBoolean has joined #ruby
dc has quit [Remote host closed the connection]
Zenigor has joined #ruby
Mooneye has joined #ruby
dbasch has joined #ruby
dc has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arup_r has quit [Quit: Leaving.]
babykosh has quit [Quit: babykosh]
beneggett has joined #ruby
tjr9898 has joined #ruby
Atrumx has quit [Quit: exit]
bMalum has joined #ruby
Tricon has joined #ruby
arup_r has joined #ruby
drizz has quit [Quit: leaving]
arup_r has quit [Client Quit]
treehug88 has joined #ruby
SBoolean has quit [Ping timeout: 255 seconds]
banister has joined #ruby
banister_ has quit [Read error: Connection reset by peer]
obscured has quit [Quit: leaving]
nanoyak_ has joined #ruby
Asher has joined #ruby
amizya has quit [Quit: amizya]
djbkd has joined #ruby
renderful has quit [Remote host closed the connection]
francisfish has joined #ruby
vt102 has quit [Remote host closed the connection]
twhittley has quit [Remote host closed the connection]
vt102 has joined #ruby
vifino has quit [Quit: Ze Cat now leaves...]
dc has quit []
StephenA1 has quit [Quit: StephenA1]
geekbri has joined #ruby
drizz has joined #ruby
<Mon_Ouie> eam: As far as I can tell, this is why this is happening: https://github.com/cinchrb/cinch/blob/master/lib/cinch/message.rb#L229
_djbkd has joined #ruby
vt102 has quit [Remote host closed the connection]
djbkd has quit [Ping timeout: 264 seconds]
shemerey has quit [Quit: Textual IRC Client: www.textualapp.com]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Squarepy has joined #ruby
chrishough has quit [Quit: chrishough]
davedev24_ has joined #ruby
wingedsnake has quit [Quit: Lämnar]
vt102 has joined #ruby
fgo has joined #ruby
_djbkd has quit [Ping timeout: 250 seconds]
andrewjanssen has joined #ruby
dawkirst has quit [Quit: Leaving...]
speakingcode has joined #ruby
dbasch has quit [Read error: Connection reset by peer]
dbasch has joined #ruby
SilkFox has joined #ruby
beef-wellington has quit [Read error: Connection reset by peer]
ghr has joined #ruby
Bira has joined #ruby
fgo has quit [Ping timeout: 250 seconds]
sputnik13 has joined #ruby
Mon_Robot has quit [Remote host closed the connection]
rx47 has quit [Quit: Saliendo]
x1337807x has joined #ruby
lw has quit [Quit: s]
tacos1de has quit [Remote host closed the connection]
Mon_Robot has joined #ruby
x1337807x has quit [Client Quit]
<Mon_Ouie> Yeah, I reported it. Just for the sake of it I added a monkey patch to fix it in the bot's code:
<Mon_Ouie> >> % foo
<Mon_Robot> Mon_Ouie: => SyntaxError: (eval):1: unterminated string meets end of file (https://eval.in:443/170703)
decoponio has quit [Quit: Leaving...]
ghr has quit [Ping timeout: 272 seconds]
<Mon_Ouie> Oh, that's odd, it does work when I send that to the bot in a private message
WormDrink has quit [Remote host closed the connection]
peretwrk has joined #ruby
Bira has quit [Ping timeout: 260 seconds]
Zenigor has quit [Remote host closed the connection]
aaronmcadam has joined #ruby
frellnet_ has quit [Remote host closed the connection]
jamto11 has quit [Remote host closed the connection]
frellnet has joined #ruby
necros has joined #ruby
magic has quit [Quit: WeeChat 1.0-dev]
geekbri has quit []
sambao21 has joined #ruby
mehlah has joined #ruby
SilkFox_ has joined #ruby
bMalum has quit [Quit: Computer has gone to sleep.]
frellnet has quit [Ping timeout: 250 seconds]
terrellt has quit [Read error: Connection reset by peer]
bMalum has joined #ruby
mikesplain has joined #ruby
qmfnp has quit [Ping timeout: 255 seconds]
sambao21 has quit [Client Quit]
chrishough has joined #ruby
dbasch has quit [Read error: Connection reset by peer]
JohnFord has joined #ruby
terrellt has joined #ruby
JoshGlzBrk has joined #ruby
Rollabunna has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
djbkd has joined #ruby
bMalum_ has joined #ruby
mikespla_ has quit [Ping timeout: 272 seconds]
vincent__ has joined #ruby
sambao21 has joined #ruby
toastynerd has joined #ruby
bMalum_ has quit [Read error: Connection reset by peer]
vincent__ is now known as Guest379
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Bira has joined #ruby
bMalum_ has joined #ruby
bMalum has quit [Ping timeout: 255 seconds]
SilkFox_ has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Remote host closed the connection]
n_blownapart has joined #ruby
yfeldblum has joined #ruby
jerius has quit []
jimms has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
sigurding has quit [Quit: sigurding]
francisfish has quit []
godd2 has joined #ruby
jamto11 has joined #ruby
sambao21 has quit [Ping timeout: 240 seconds]
moted has quit [Quit: moted]
Bira has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
Guest379 has quit [Ping timeout: 250 seconds]
n_blownapart has quit []
djbkd has quit [Remote host closed the connection]
yocapybara has joined #ruby
yocapybara has left #ruby ["Textual IRC Client: www.textualapp.com"]
froy has quit [Remote host closed the connection]
Hanmac has joined #ruby
moted has joined #ruby
pietr0 has quit [Quit: pietr0]
jxf has quit [Ping timeout: 264 seconds]
Takle has joined #ruby
froy has joined #ruby
BRMatt has joined #ruby
anaeem1 has quit [Remote host closed the connection]
jerius has joined #ruby
anaeem1_ has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
pandaant has quit [Quit: leaving]
Notte has quit [Remote host closed the connection]
dangerousdave has quit [Read error: Connection reset by peer]
sailias has quit [Quit: Leaving.]
dangerousdave has joined #ruby
ndrei has joined #ruby
gattuso has quit [Ping timeout: 260 seconds]
sdrew has joined #ruby
Zenigor has joined #ruby
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
SBoolean has joined #ruby
alvaro_o has joined #ruby
heftig has joined #ruby
sevvie has joined #ruby
gattuso has joined #ruby
nateberkopec has joined #ruby
AimToMisbehave has joined #ruby
steveelsewhere has joined #ruby
<steveelsewhere> interview question: coding challenge - do you submit your .git folder or not?
jaimef has quit [Excess Flood]
deric_skibotn has quit [Ping timeout: 240 seconds]
gypsydave5 has joined #ruby
dvb_ua has joined #ruby
<drizz> of course! how else are people gonna read the changes??¿
mattalexx has joined #ruby
peretwrk has quit [Quit: Leaving]
<steveelsewhere> that was my first instinct
<centrx> steveelsewhere, Why, so they can read all your mistakes, or because they have so little to do they need something to spend their time?
<steveelsewhere> haha
<steveelsewhere> exactly why I asked
NinoScript has quit [Read error: Connection reset by peer]
amizya has joined #ruby
amizya has quit [Client Quit]
<steveelsewhere> I'm also taking advantage of quite a bit of reuse - I'd like that to be seen as a positive
NinoScript has joined #ruby
pandaant has joined #ruby
AimToMisbehave has quit []
codezomb has joined #ruby
alem0lars has quit [Quit: alem0lars]
jaimef has joined #ruby
ponch_ has joined #ruby
ponch_ has quit [Remote host closed the connection]
<mattalexx> I am trying to get a hackable installation of vagrant working on my machine. It uses bundler, and in its Gemspec it refers to the remote "." to add itself as a gem. The bundle install command seems to be working, but the "vagrant" gem doesn't seem to appear in gem list: https://gist.github.com/mattalexx/b596f9c639820dec1a4b
<mattalexx> What am I doing wrong
<mattalexx> ?
mikepack has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bMalum_ has quit [Quit: Computer has gone to sleep.]
diegoviola has quit [Remote host closed the connection]
codezomb has quit [Quit: Textual IRC Client: www.textualapp.com]
bMalum_ has joined #ruby
yfeldblum has joined #ruby
juanjo has joined #ruby
<juanjo> hi everyone
<juanjo> anyone using iruby?
<centrx> What's that?
yubrew has quit []
mary5030_ has joined #ruby
valner has quit [Quit: Leaving.]
joelteon has left #ruby ["bye"]
necros has quit [Remote host closed the connection]
bMalum_ has quit [Read error: Connection reset by peer]
bMalum_ has joined #ruby
mikepack has joined #ruby
Morkel has quit [Quit: Morkel]
NinoScript has quit [Read error: Connection reset by peer]
mary5030 has quit [Ping timeout: 240 seconds]
zB0hs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pietr0 has joined #ruby
NinoScript has joined #ruby
<shevy> hehehe
<shevy> that is ruby with an attitude
<shevy> on an iPOD
banister has joined #ruby
banister has quit [Max SendQ exceeded]
mikesplain has quit [Read error: Connection reset by peer]
<pandaant> lol
<centrx> feature-phone-ruby
gypsydave5 has quit [Quit: leaving]
mikesplain has joined #ruby
banister has joined #ruby
sdrew has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fgo has joined #ruby
fschuindt has quit [Quit: Textual IRC Client: www.textualapp.com]
harshjha_ is now known as jzm
DrShoggoth has joined #ruby
jzm is now known as jzml
Zebroid has joined #ruby
Zenigor has quit [Remote host closed the connection]
ghr has joined #ruby
<jzml> file.puts(@redis.spop("xyz")) adds a lot of empty lines at the end of file. I'm doing that in a loop until the set is empty. what can be the issue?
<jzml> when I do, x = @redis.spop("xyz"); file.puts(x) it works fine
mary5030_ has quit [Remote host closed the connection]
<juanjo> centrx, is a ruby kernel por iPython
jottr_ has joined #ruby
fgo has quit [Ping timeout: 272 seconds]
slash_nick has quit [Changing host]
slash_nick has joined #ruby
mary5030 has joined #ruby
Slavox|AFK is now known as Slavox
<jzml> jhass, any suggestions?
<Mon_Ouie> jzml: file.puts(thing) or x = thing; file.puts(x) produce the same output
<jzml> Mon_Ouie: I understand, it has anything to do with redid?
<jzml> *redis
nmokru has quit [Ping timeout: 260 seconds]
<bricker`work> Gosh, every time I run across this syntax I get mad that I didn't think of it when I used to use non-named parameters: https://gist.github.com/bricker/4916d1b8224bf4dfbb43
ghr has quit [Ping timeout: 240 seconds]
asmodlol has quit [Ping timeout: 264 seconds]
tricon_ has joined #ruby
<Mon_Ouie> I don't know anything about redis, but the two pieces of code you showed do the same thing.
Tricon has quit [Ping timeout: 240 seconds]
<centrx> bricker`work, Doesn't that set those as local variables for the context of the entire caller method?
<Mon_Ouie> You also didn't show us a specific example of the probem
<bricker`work> centrx: yes, but that's not a problem imo
<centrx> ha
<Mon_Ouie> bricker`work: It's also confusing to readers of the code because you can't just swap the order of arguments and have it work. You could have location=a, name=b and it would still do the same
<bricker`work> I guess you'd get warnings in ruby 2 as well, but anyways it's pretty
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bricker`work> Mon_Ouie: I know. It just always looks so natural to me
<bricker`work> Mon_Ouie: and of course you don't have to go searching for the method to know what the arguments being passed in are
<bricker`work> *shrug*
Mooneye has quit [Remote host closed the connection]
<bricker`work> I don't use it, just like to bring it up every once in a while to gauge everybody's opinions
tesaf has quit [Quit: Lost terminal]
<Mon_Ouie> It's very rarely a problem to know what an argument is
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bricker`work> probably
<Mon_Ouie> Pretty much the only time I feel the need to check is when a method is called with a literal true/false
<bricker`work> oh yeah :(
Zackio has joined #ruby
failshel_ has joined #ruby
SilkFox_ has joined #ruby
nanoyak_ has quit [Quit: Computer has gone to sleep.]
bmurt has quit []
mikesplain has quit [Ping timeout: 245 seconds]
_2_sexywoman has joined #ruby
<_2_sexywoman> hi
vsoftoiletpaper has quit []
_2_sexywoman has left #ruby [#ruby]
Atttwww has joined #ruby
failshell has quit [Ping timeout: 240 seconds]
mikesplain has joined #ruby
<centrx> bricker`work, Documentation should not be part of the code. The code should be documentation.
failshel_ has quit [Ping timeout: 240 seconds]
<toretore> the code should be omakase
<toretore> the code should be tofu
Bira has joined #ruby
SilkFox_ has quit [Ping timeout: 260 seconds]
rezzack1 has joined #ruby
sambao21 has joined #ruby
jackneill has quit [Remote host closed the connection]
rebelshrug has quit [Ping timeout: 260 seconds]
<ramfjord> bricker`work: The other problem with those named looking arguments is that you can still do them in the wrong order
andrewjanssen has quit [Quit: Leaving...]
froy has quit [Remote host closed the connection]
Bira has quit [Ping timeout: 250 seconds]
spyderman4g63 has quit [Remote host closed the connection]
p0sixpscl has joined #ruby
johny12 has joined #ruby
spyderman4g63 has joined #ruby
sambao21 has quit [Ping timeout: 272 seconds]
jailbot has joined #ruby
nanoyak has joined #ruby
jailbot has left #ruby ["keep cool, stay in school"]
dbasch has joined #ruby
itspots has quit [Remote host closed the connection]
dangerou_ has joined #ruby
yfeldblum has quit [Remote host closed the connection]
dangerousdave has quit [Read error: Connection reset by peer]
itspots has joined #ruby
yfeldblum has joined #ruby
beneggett has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
spacemud has quit [Ping timeout: 272 seconds]
spyderman4g63 has quit [Ping timeout: 240 seconds]
mary5030 has quit [Remote host closed the connection]
ldnunes has quit [Quit: Leaving]
Mooneye has joined #ruby
johny12 has left #ruby [#ruby]
centrx has quit [Quit: Mead error: Connection reset by beer]
mallu has joined #ruby
vincent__ has joined #ruby
froy has joined #ruby
vincent__ is now known as Guest46514
yfeldblum has quit [Ping timeout: 240 seconds]
spacemud has joined #ruby
<mallu> hi, I just started learning ruby, I'm going through codeacademy now.. what other sites/free classes would you call suggest I should follow?
Sirupsen has joined #ruby
lw has joined #ruby
sambao21 has joined #ruby
SBoolean has quit [Remote host closed the connection]
BadQuanta has quit [Remote host closed the connection]
danielpclark has joined #ruby
beneggett has quit [Read error: Connection reset by peer]
vsoftoiletpaper has joined #ruby
beneggett has joined #ruby
Guest46514 has quit [Ping timeout: 245 seconds]
mikepack has quit [Remote host closed the connection]
roolo has joined #ruby
<bricker`work> "documentation should not be part of the code" makes me so sad :(
wallerdev has quit [Quit: wallerdev]
revoohc has quit [Quit: revoohc]
<bricker`work> That argument *kinda* works for Java
workmad3 has joined #ruby
<bricker`work> but if you think you can get away with writing Ruby without documentation...
<bricker`work> I just wouldn't want to inherit one of your projects
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lxsameer has joined #ruby
yfeldblum has joined #ruby
wallerdev has joined #ruby
nmokru has joined #ruby
itspots_ has joined #ruby
lw_ has joined #ruby
lw_ has quit [Max SendQ exceeded]
timonv_ has joined #ruby
dangerou_ has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
lw_ has joined #ruby
jamto11 has quit [Remote host closed the connection]
St_Marx has quit [Quit: Ex-Chat]
lw_ has quit [Max SendQ exceeded]
yfeldblu_ has joined #ruby
SilkFox has quit [Ping timeout: 240 seconds]
banister has quit [Read error: Connection reset by peer]
jamto11 has joined #ruby
j_mcnally has joined #ruby
nanoyak has quit [Ping timeout: 240 seconds]
claymore has quit [Quit: Leaving]
lw_ has joined #ruby
itspots has quit [Ping timeout: 250 seconds]
diegoviola has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
qmfnp has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lw has quit [Ping timeout: 255 seconds]
ndrei has joined #ruby
jerius has quit []
Sirupsen has quit [Ping timeout: 245 seconds]
nanoyak has joined #ruby
banister has joined #ruby
Sirupsen has joined #ruby
<banister> bricker`work i'd say totally the opposite
<banister> bricker`work good ruby code is way way more declarative than good java code, due to the lack of boiler plate
<banister> bricker`work the aim of the game is code should be self evident and clean that you don't need documentation, and while we sometimes fall short, in general a lot of our recent work code is like that
linojon has quit [Quit: linojon]
banisterone has joined #ruby
<banister> transferring to my phone, that's banisterone
<banister> sup banisterone
<banisterone> Sup
banister has quit [Client Quit]
AndChat|102836 has joined #ruby
renderful has joined #ruby
jamto11 has quit [Remote host closed the connection]
devyn_ has joined #ruby
jimms has quit []
banisterone has quit [Ping timeout: 264 seconds]
devyn_ has quit [Changing host]
devyn_ has joined #ruby
devyn has quit [Disconnected by services]
devyn_ is now known as devyn
AndChat|102836 has quit [Read error: Connection reset by peer]
St_Marx has joined #ruby
bMalum__ has joined #ruby
SJr has quit [Ping timeout: 240 seconds]
lw_ has quit [Quit: s]
SJr has joined #ruby
sjouke has joined #ruby
bMalum_ has quit [Ping timeout: 240 seconds]
dblessing has quit [Quit: dblessing]
fgo has joined #ruby
AlexBlom has joined #ruby
<sjouke> Would you declare this by typing this command in the .rspec file: Rspec.configuration.fail_fast = true
<sjouke> ?
yfeldblu_ has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 264 seconds]
britneywright has joined #ruby
mallu has quit [Ping timeout: 246 seconds]
lw has joined #ruby
lw has quit [Max SendQ exceeded]
<bricker`work> sjouke: just --fail-fast as a command line opt
<sjouke> bricker`work: but i don't want to do that
yfeldblum has joined #ruby
<sjouke> i would like to put this in .rspec
<sjouke> I'm asking how you would do this
lw has joined #ruby
lw has quit [Max SendQ exceeded]
<sjouke> I'm not sure how to use any of the instance methods shown in the documentation
baroquebobcat has quit [Quit: baroquebobcat]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lw has joined #ruby
<sjouke> oh that's an instance attribute
fgo has quit [Ping timeout: 240 seconds]
end_guy has quit [Ping timeout: 264 seconds]
<sjouke> that's why i was thinking Rspec.cofiguration.ATTR would work
<sjouke> Oh, it looks like you do RSpec.configure { |c| c.fail_fast = true }
b00stfr3ak has quit [Read error: Connection reset by peer]
timonv_ has quit [Remote host closed the connection]
<sjouke> that is what i was needing
<sjouke> the difference between Rspec.configuration and Rspec.confiure is that one just lets you play with the other from within block
acrussell has quit [Quit: Leaving.]
thesheff17 has quit [Ping timeout: 264 seconds]
aaronmcadam has quit [Quit: Leaving...]
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mallu has joined #ruby
<mallu> hi, hope someone can help me, In irb I'm typing require 'bunny'. I'm getting LoadError: cannot load such file -- bunny. HOwever gem list is showing bunny
jameswlane has joined #ruby
<mallu> any help would be greatly appreciated
jameswlane has quit [Excess Flood]
end_guy has joined #ruby
CorySimmons has joined #ruby
jameswlane has joined #ruby
jamto11 has joined #ruby
dbasch has quit [Quit: dbasch]
jameswlane has quit [Excess Flood]
b00stfr3ak has joined #ruby
<Mon_Ouie> That just means there's a gem installed called bunny. The file to require doesn't have to be called bunny as well (although it almost always is)
sdrew has joined #ruby
amargherio has quit [Read error: Connection reset by peer]
agarie has quit [Quit: Leaving...]
jameswlane has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jameswlane has quit [Excess Flood]
lw has quit [Ping timeout: 240 seconds]
nobodyzzz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has quit [Remote host closed the connection]
SilkFox_ has joined #ruby
jamto11 has quit [Ping timeout: 272 seconds]
<mallu> Mon_Ouie: how can I find file to require is?
edgarjs is now known as edgarjs_afk
banisterfiend has joined #ruby
<Mon_Ouie> Well since it's a gem surely it has some documentation/examples of how to use it?
<sjouke> i'm trying to get rid of deprecation warnings
Rollabunna has joined #ruby
papercode has quit [Ping timeout: 255 seconds]
<Mon_Ouie> That's a reader, it doesn't give the name of a method to set it
jespada has quit [Quit: Leaving]
SilkFox_ has quit [Ping timeout: 250 seconds]
Bira has joined #ruby
<sjouke> Mon_Ouie: it's something that I can print to the console, but nothing I can set, then
<sjouke> ?
<sjouke> the one below it looks like a setter
<Mon_Ouie> There's a method to set it, it's just not that one
<sjouke> s/reader/writer
<sjouke> s/setter/writer
<Mon_Ouie> that would be config.deprecation_stream = something
DivineEntity has joined #ruby
alexju has joined #ruby
treehug88 has quit []
iceden has quit [Read error: Connection reset by peer]
<Mon_Ouie> Where something could be, for example File.open(FILE::NULL)
CorySimmons has quit [Quit: Bye!]
lw has joined #ruby
Squarepy has quit [Remote host closed the connection]
edgarjs_afk is now known as edgarjs
dvb_ua has quit [Quit: WeeChat 0.4.3]
Rollabunna has quit [Ping timeout: 250 seconds]
lw has quit [Client Quit]
kenichi has quit [Quit: ZNC - http://znc.in]
Bira has quit [Ping timeout: 250 seconds]
jamto11 has joined #ruby
<sjouke> that's the new .rspec file
<sjouke> rspec is still spitting out deprecation warnings though
edgarjs is now known as edgarjs_afk
banisterone has joined #ruby
EminenceHC has joined #ruby
<banisterone> bricker`work: did you reply yet, my internet is bad..
nateberkopec has quit [Quit: Leaving...]
jheg has quit [Quit: jheg]
camilasan has quit [Ping timeout: 256 seconds]
tjr9898 has quit [Remote host closed the connection]
<Mon_Ouie> deprecation_stream = foo is setting a local variable
<Mon_Ouie> It's not calling any method. You need to cal deprecation_stream= on config
<EminenceHC> I am trying to do an include from an array, normally it is [1,2,3].include?(3) but in my case I want to check to see if one array includes any number from a different array like [1,2,3].include?([2,3]) What is the proper syntax?
<Mon_Ouie> [2, 3].any? { |x| [1, 2, 3].include? x }
johnmolina has quit []
<Mon_Ouie> >> [2, 3].any? { |x| [1, 2, 3].include? x }
<Mon_Robot> Mon_Ouie: => true (https://eval.in:443/170726)
<Mon_Ouie> (I've been waiting to have an actual reason to use it for a while now :p)
jobewan has quit [Quit: Leaving]
<EminenceHC> Thanks Mon! (in Jamaican accent)
spider-mario has quit [Remote host closed the connection]
echevemaster has quit [Remote host closed the connection]
dvb_ua has joined #ruby
<apeiros> better use set operations
mikesplain has quit [Ping timeout: 240 seconds]
<apeiros> any? { include? } is O(n^2)
lanox has joined #ruby
<apeiros> make that O(n*m)
riotjones has quit [Ping timeout: 245 seconds]
<apeiros> !([2,3] & [1,2,3]).empty?
Elhu has quit [Quit: Computer has gone to sleep.]
<Mon_Ouie> Code could till be the same with just [1, 2, 3] being a set instead though
toastynerd has quit [Remote host closed the connection]
<Mon_Ouie> Also that allows it to still short-circuit as soon as a common element is found, and doesn't build the intermediate set
Ulrike_Rayne is now known as Ulri[Away]
qmfnp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
soulcake has quit [Read error: Connection reset by peer]
<apeiros> I wish ruby had a native Set class :(
<apeiros> it's a shame really
riotjones has joined #ruby
<apeiros> including a literal for them
soulcake has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
freerobby has quit [Quit: Leaving.]
iceden has joined #ruby
camilasan has joined #ruby
steveelsewhere has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alexju_ has joined #ruby
alexju has quit [Read error: Connection reset by peer]
vincent__ has joined #ruby
vincent__ is now known as Guest25732
Martxel has quit [Quit: Leaving]
<bricker`work> banisterone: no, didn't feel like getting into an argument about it :)
uokesita has quit [Quit: uokesita]
jarto has joined #ruby
<pipework> I'd like to get into an argument about it.
<bricker`work> pipework: I know you would
<pipework> <333
renderful has quit [Remote host closed the connection]
<eam> anyone aware of a libgcrypt gem?
Sgeo has joined #ruby
jlovick has quit [Ping timeout: 240 seconds]
amacou has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
RandyT has quit [Ping timeout: 250 seconds]
Avahey_ has joined #ruby
bruno- has quit [Ping timeout: 260 seconds]
edgarjs_afk is now known as edgarjs
ari-_-e has joined #ruby
MCDev has joined #ruby
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
ctp has joined #ruby
mary5030 has joined #ruby
Wolland has quit [Remote host closed the connection]
apeiros has quit [Ping timeout: 240 seconds]
Wolland has joined #ruby
Guest25732 has quit [Ping timeout: 250 seconds]
mousa has left #ruby ["Leaving"]
jamto11 has quit [Remote host closed the connection]
blurredbits has quit [Quit: ZZZzzz…]
Takle has quit [Remote host closed the connection]
jamto11 has joined #ruby
Ilyas__ has quit [Read error: Connection reset by peer]
kenichi has joined #ruby
banister has joined #ruby
Wolland has quit [Ping timeout: 245 seconds]
renderful has joined #ruby
beneggett has joined #ruby
Hamburglr has joined #ruby
brunops has joined #ruby
ctp has quit [Quit: Textual IRC Client: www.textualapp.com]
fgo has joined #ruby
Guest22956 has quit [Changing host]
Guest22956 has joined #ruby
Guest22956 is now known as guyz
lw has joined #ruby
lw has quit [Max SendQ exceeded]
lw has joined #ruby
beneggett has quit [Ping timeout: 260 seconds]
dc has joined #ruby
lbwski has quit [Quit: leaving]
JoshGlzBrk has joined #ruby
lbwski has joined #ruby
roolo has quit [Quit: Leaving...]
ndrei has quit [Ping timeout: 240 seconds]
BRMatt has quit [Quit: Connection closed for inactivity]
fgo has quit [Ping timeout: 260 seconds]
ghr has joined #ruby
GriffinHeart has joined #ruby
atraylen has joined #ruby
sdrew has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sevvie has quit [Quit: Lost terminal]
andrewjanssen has joined #ruby
<AntelopeSalad> how would you split up a string that's already inside of a heredoc?
dc has quit [Client Quit]
lw has quit [Client Quit]
<AntelopeSalad> rubocop is ripping my face off when it comes to line length and most of my issues are due to having heredocs that have somewhat long lines
beauby has joined #ruby
xiq has quit [Remote host closed the connection]
camilasan has quit [Ping timeout: 264 seconds]
amacou has quit [Remote host closed the connection]
camilasan has joined #ruby
Zebroid has quit [Remote host closed the connection]
amacou has joined #ruby
Channel6 has joined #ruby
ghr has quit [Ping timeout: 250 seconds]
foobarbaz_ has joined #ruby
<foobarbaz_> Hi guys, just a quick question - is it possible to validate whether a filename is malcious or not?
GriffinHeart has quit [Ping timeout: 260 seconds]
BadQuanta has joined #ruby
<foobarbaz_> Basically if the user input is something like './../foo.exe'
<foobarbaz_> etc
ffranz has quit [Quit: Leaving]
beneggett has joined #ruby
andrewlio has quit [Quit: Leaving.]
p0sixpscl has quit [Quit: p0sixpscl]
<Mon_Ouie> You'd have to check for many things. I think it may be best to just not make a filename depend on user input.
<Mon_Ouie> A big one that surprised me recently: File.read("|echo 'Hello world!'")
amacou has quit [Ping timeout: 255 seconds]
AskSteve1 has joined #ruby
jarto has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
<foobarbaz_> Mon_Ouie: lol
<foobarbaz_> Yeah, was thinking that maybe... but i'd like to be able to filter out things maybe
<foobarbaz_> like provide service validation on params
SilkFox_ has joined #ruby
dangerousdave has quit [Ping timeout: 240 seconds]
<foobarbaz_> But I imagine that I would always get it wrong, and some new form of attack would always be available...
<foobarbaz_> m
<foobarbaz_> hm
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
<eam> >> eval "eval % % %%%%%%% %%%% % %%%%% %%%% "
<Mon_Robot> eam: => ArgumentError: wrong number of arguments (0 for 1..4) (https://eval.in:443/170735)
tjr9898 has joined #ruby
AskSteve1 has left #ruby [#ruby]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<eam> >> eval "% % %%%%%%% %%%% % %%%%% %%%% "
<Mon_Robot> eam: => SyntaxError: (eval):1: syntax error, unexpected end-of-input... (https://eval.in:443/170736)
<foobarbaz_> o.o
camilasan has quit [Ping timeout: 245 seconds]
<Mon_Ouie> Both do give the same errors in pry and ruby -e so don't blame me :)
<eam> yeah the first one is interesting I think, why does it give wrong number of args?
j_mcnally has quit [Ping timeout: 260 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
camilasan has joined #ruby
<eam> I'm using eval to force through the space
sjouke has quit [Quit: leaving]
SilkFox_ has quit [Ping timeout: 245 seconds]
vincent has joined #ruby
Bira has joined #ruby
papercode has joined #ruby
vincent is now known as Guest57533
<eam> >> eval "% % %%%%%%% %%%% % %%%%% %%%% % %% "
<Mon_Robot> eam: => "%" (https://eval.in:443/170737)
<banister> Mon_Ouie 'alut
<Mon_Ouie> 'alut
<banister> Mon_Ouie is Mon_Robot one of your things?
papercode has quit [Client Quit]
<Mon_Ouie> Yes, since eval-in died
<banister> Mon_Ouie can he speak to me in french
<banister> Mon_Robot 'alut
<Mon_Ouie> Sure, if you give him a Ruby program that explains what to say
papercode has joined #ruby
<banister> Mon_Ouie I want him to recite rimbaud on demand
<banister> Mon_Ouie something about the dawn rising up like a flock of doves
RandyT has joined #ruby
<banister> Mon_Ouie and the the low hanging sun speckled with mystic horrors
benzrf|offline has joined #ruby
benzrf|offline is now known as benzrf
<banister> Mon_Ouie and the waves beating against the rocks like hysterical herds of cows -- but all en francais of course
Asher1 has joined #ruby
gbaway has joined #ruby
gbaway has quit [Max SendQ exceeded]
benzrf has quit [Client Quit]
Asher has quit [Ping timeout: 245 seconds]
benzrf has joined #ruby
MCDev has quit [Ping timeout: 250 seconds]
Bira has quit [Ping timeout: 255 seconds]
gbaway has joined #ruby
ari-_-e has quit [Quit: Leaving]
godd2 has quit [Ping timeout: 245 seconds]
geopet has joined #ruby
Zebroid has joined #ruby
frankle has joined #ruby
<banister> >> puts "Mon_Ouie, pour vous: 'J'ai rêvé la nuit verte aux neiges éblouies,
<banister> Baiser montant aux yeux des mers avec lenteurs'"
<Mon_Robot> banister: => SyntaxError: (eval):1: unterminated string meets end of file (https://eval.in:443/170738)
<banister> >> puts "Mon_Ouie, pour vous: 'J'ai rêvé la nuit verte aux neiges éblouies, Baiser montant aux yeux des mers avec lenteurs'"
<Mon_Robot> banister: => Mon_Ouie, pour vous: 'J'ai rêvé la nuit verte aux neiges éblouies, Baiser montan... (https://eval.in:443/170739)
geopet has quit [Client Quit]
itspots_ has quit [Quit: Lingo - http://www.lingoirc.com]
kevind has quit [Quit: kevind]
Lucky____ has joined #ruby
Guest57533 has quit [Ping timeout: 255 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
britneywright has joined #ruby
Neomex has quit [Quit: Leaving]
Ulri[Away] is now known as Ulrike_Rayne
mikepack has joined #ruby
Beoran has quit [Ping timeout: 260 seconds]
Bira has joined #ruby
jaimef has quit [Excess Flood]
godd2 has joined #ruby
Rahul_Roy has quit [Quit: Connection closed for inactivity]
mocfive has joined #ruby
Bira has quit [Ping timeout: 245 seconds]
JacobHayes has joined #ruby
JacobHayes has quit [Remote host closed the connection]
JacobHayes has joined #ruby
yfeldblum has quit [Remote host closed the connection]
|RicharD| has quit [Quit: Sto andando via]
JacobHayes has left #ruby [#ruby]
yfeldblum has joined #ruby
tjr9898 has quit [Remote host closed the connection]
thesheff17 has joined #ruby
k0m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has quit [Remote host closed the connection]
jottr_ has quit [Ping timeout: 245 seconds]
renderful has quit [Remote host closed the connection]
beneggett has joined #ruby
charliesome has joined #ruby
<byteddown> Anyone available with reasonable rails knowledge, 3 or 4 hours to spare, and won't mind using voice? There'd be financial incentive involved, send me a pm.
jaimef has joined #ruby
iamjarvo has joined #ruby
juanjo has quit [Quit: Ex-Chat]
snath has quit [Ping timeout: 240 seconds]
awc737 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
itmustbejj has quit [Remote host closed the connection]
yfeldblum has joined #ruby
bmurt has joined #ruby
Sirupsen has joined #ruby
Beoran has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
<shevy> byteddown the railsers are mostly on #rubyonrails
benzrf is now known as benzrf|offline
glebm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bruno- has joined #ruby
Mooneye has quit [Quit: Leaving]
thrownaway has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby
godd2 has quit [Ping timeout: 264 seconds]
<Sou|cutter> byteddown: considered http://www.airpair.com/ruby-on-rails ?
lmickh has quit [Remote host closed the connection]
<byteddown> ok
Zenigor has joined #ruby
britneywright has quit [Ping timeout: 260 seconds]
danielpclark has quit [Ping timeout: 260 seconds]
bruno- has quit [Ping timeout: 255 seconds]
snath has joined #ruby
Takle has joined #ruby
frellnet has joined #ruby
britneywright has joined #ruby
MCDev has joined #ruby
CodeLicker has joined #ruby
foobarbaz_ has quit [Ping timeout: 246 seconds]
apeiros has joined #ruby
phoo1234567 has quit [Quit: Leaving]
alexju_ has quit [Remote host closed the connection]
britneyw_ has joined #ruby
inside has joined #ruby
fgo has joined #ruby
ari-_-e has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
britneywright has quit [Ping timeout: 260 seconds]
maestrojed has quit [Quit: Computer has gone to sleep.]
gregf has quit [Quit: WeeChat 0.4.3]
Takle has quit [Ping timeout: 250 seconds]
JoshGlzBrk has joined #ruby
apeiros has quit [Ping timeout: 260 seconds]
britneyw_ has quit [Ping timeout: 250 seconds]
fgo has quit [Ping timeout: 245 seconds]
atraylen has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
danielpclark has joined #ruby
jamto11 has quit [Remote host closed the connection]
lw has joined #ruby
maestrojed has joined #ruby
lw has quit [Client Quit]
gregf has joined #ruby
ehlovader has quit [Ping timeout: 250 seconds]
ghr has quit [Ping timeout: 272 seconds]
ehlovader has joined #ruby
cnj has quit [Ping timeout: 240 seconds]
benzrf|offline is now known as benzrf
andrewjanssen has quit [Quit: Leaving...]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
gr33n7007h has quit [Ping timeout: 245 seconds]