havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.0, 2.3.3 & 2.2.6: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby
mrconfused has quit [Ping timeout: 255 seconds]
LoneHerm_ has quit [Remote host closed the connection]
whathappens has quit [Remote host closed the connection]
TheHodge has quit [Quit: Connection closed for inactivity]
whathappens has joined #ruby
whathapp_ has joined #ruby
minimalism has joined #ruby
hahuang65 has joined #ruby
whathappens has quit [Ping timeout: 240 seconds]
Zamyatin has quit [Quit: Knocking out. Peace y'all...]
Guest67725 is now known as ged
ged is now known as Guest20028
maddmaxx has joined #ruby
phoo1234567 has quit [Quit: Gotta go]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ianmethyst has quit [Quit: WeeChat 1.6]
houhoulis has joined #ruby
kht has quit [Ping timeout: 240 seconds]
Rodya_ has joined #ruby
LuckyABA has joined #ruby
Andrew_TA has joined #ruby
charliesome has joined #ruby
ozzloy has quit [Ping timeout: 240 seconds]
tyang has quit [Read error: Connection reset by peer]
electrostat has quit [Quit: uwotm8]
Andrew_TA has quit [Ping timeout: 240 seconds]
ur5us has quit [Remote host closed the connection]
polishdub has quit [Quit: leaving]
electrostat has joined #ruby
hahuang61 has joined #ruby
_aepy has joined #ruby
_pastel has left #ruby [#ruby]
kht has joined #ruby
ozzloy has joined #ruby
ozzloy has quit [Changing host]
ozzloy has joined #ruby
mrconfused has joined #ruby
chouhoulis has joined #ruby
hahuang61 has quit [Ping timeout: 256 seconds]
<_aepy> Question for you all: How come you can do this (if x is a number): x += 2 but not x.+= 2?
dkings has quit []
ur5us has joined #ruby
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
whathapp_ has quit [Quit: Leaving...]
<zenspider> _aepy: a += b => a = a + b
<zenspider> assignment isn't a method call
shayan__ has joined #ruby
<_aepy> ah, makes sense. thanks. was trying to mock :+= in a test...
shayan_ has quit [Ping timeout: 259 seconds]
shayan__ is now known as shayan_
<zenspider> _aepy: why?
mikeiniowa has joined #ruby
wrkrcoop has joined #ruby
<_aepy> the method calls @var += 1 a number of times and I was trying something like: expect(myMock).to receive(:+=)
<_aepy> but there's probably a better way to test that....
JeanCarloMachado has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<zenspider> _aepy: sure... but why test that?
<agent_white> Evenin' folks
ericsupreme has quit [Quit: Leaving]
<_aepy> i'm interating through a set of a data. doing @errors += 1 to keep track of errors internally.
<zenspider> _aepy: and? what's the difference between checking that you have 3 errors and that you call += 3 times?
alexar has quit [Remote host closed the connection]
alexar has joined #ruby
cloaked1 has quit [Quit: leaving]
_geoff has joined #ruby
Xentil has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pawnbox has joined #ruby
z64 has quit [Quit: WeeChat 1.6]
alexar_ has joined #ruby
_pastel has joined #ruby
alexar has quit [Ping timeout: 255 seconds]
charliesome has joined #ruby
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
houhoulis has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 240 seconds]
alexar_ has quit [Ping timeout: 240 seconds]
benlieb has joined #ruby
milardovich has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
<_aepy> no difference, really. only @errors wasn't yet defined for this method.
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_pastel has quit [Quit: leaving]
SteenJobs has joined #ruby
chouhoulis has joined #ruby
_pastel has joined #ruby
nankyokusei has joined #ruby
millerti has joined #ruby
SteenJobs has quit [Client Quit]
mrconfused has quit [Ping timeout: 255 seconds]
nobitanobi has joined #ruby
ozzloy has quit [Ping timeout: 240 seconds]
SteenJobs has joined #ruby
enyo_ has joined #ruby
nankyokusei has quit [Ping timeout: 258 seconds]
Guest20028 is now known as ged
ged is now known as Guest7276
_aepy has quit [Quit: Page closed]
nobitanobi has quit [Ping timeout: 255 seconds]
miloops has joined #ruby
miloops has left #ruby [#ruby]
enyo_ has quit [Ping timeout: 240 seconds]
meinside has joined #ruby
benlieb has quit [*.net *.split]
electrostat has quit [*.net *.split]
hahuang65 has quit [*.net *.split]
moei has quit [*.net *.split]
tristanp has quit [*.net *.split]
evertversteeg has quit [*.net *.split]
TinkerTyper has quit [*.net *.split]
MyMind has quit [*.net *.split]
h42r62[m] has quit [*.net *.split]
Xi[m] has quit [*.net *.split]
kineticrootkit[m has quit [*.net *.split]
evotopid has quit [*.net *.split]
FMan has quit [*.net *.split]
Azure has quit [*.net *.split]
xaviergmail has joined #ruby
wrkrcoop has quit [Quit: wrkrcoop]
kineticrootkit[m has joined #ruby
hahuang65 has joined #ruby
evertversteeg has joined #ruby
moei has joined #ruby
tristanp has joined #ruby
h42r62[m] has joined #ruby
MyMind has joined #ruby
TinkerTyper has joined #ruby
electrostat has joined #ruby
evotopid has joined #ruby
Xi[m] has joined #ruby
FMan has joined #ruby
benlieb has joined #ruby
ruby[bot] has joined #ruby
Azure has joined #ruby
ozzloy has joined #ruby
ozzloy has joined #ruby
FMan has quit [Max SendQ exceeded]
MyMind has quit [Max SendQ exceeded]
MyMind has joined #ruby
Rodya_ has quit [Remote host closed the connection]
moei has quit [Ping timeout: 255 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
hahuang61 has joined #ruby
irondocwatson has joined #ruby
moei has joined #ruby
enterprisey has joined #ruby
tau has joined #ruby
cibs has quit [*.net *.split]
Cork has quit [*.net *.split]
nfsnobody has quit [*.net *.split]
voxxit has quit [*.net *.split]
nfsnobody has joined #ruby
StoneCypher has quit [Ping timeout: 240 seconds]
johnny56 has joined #ruby
djbkd has quit [Ping timeout: 245 seconds]
LuckyABA has joined #ruby
irondocwatson has quit [Ping timeout: 248 seconds]
hahuang61 has quit [Ping timeout: 255 seconds]
thegriff has joined #ruby
milardovich has joined #ruby
nobitanobi has joined #ruby
Cork has joined #ruby
alexar has joined #ruby
pawnbox has joined #ruby
Channel6 has joined #ruby
hahuang65 has quit [Remote host closed the connection]
cjbottaro has joined #ruby
thegriff has quit [Ping timeout: 240 seconds]
nobitanobi has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 255 seconds]
alexar has quit [Ping timeout: 252 seconds]
marr has quit [Ping timeout: 248 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
pawnbox has quit [Ping timeout: 252 seconds]
thegriff has joined #ruby
brent__ has quit [Ping timeout: 256 seconds]
SteenJobs has quit [Quit: SteenJobs]
tinhajj123 has joined #ruby
<tinhajj123> is it really a bad idea to store persistent data from a gem within its own directory vs in some user profile directory
<tinhajj123> this is the only info I could find about this: http://stackoverflow.com/questions/1990875/ruby-gems-with-persistent-data
StoneCypher has joined #ruby
cdg has quit [Remote host closed the connection]
<tinhajj123> considering I want to deploy this gem to potentially linux and windows is it worth figuring out where to store depending on OS
thegriff has quit [Ping timeout: 255 seconds]
Rodya_ has joined #ruby
_pastel has quit [Quit: leaving]
masondesu has joined #ruby
ur5us has quit [Remote host closed the connection]
Kug3lis has joined #ruby
ur5us has joined #ruby
jhack has joined #ruby
thegriff has joined #ruby
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_pastel has joined #ruby
masondesu has quit [Client Quit]
cjbottaro has joined #ruby
chouhoulis has quit [Remote host closed the connection]
jameser has joined #ruby
tolerablyjake has joined #ruby
harai_ has quit [Ping timeout: 255 seconds]
ur5us has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
thegriff has quit [Ping timeout: 240 seconds]
alexar has joined #ruby
_pastel has quit [Quit: leaving]
jameser has quit [Client Quit]
harai_ has joined #ruby
Kug3lis is now known as Kug3lis_off
jameser has joined #ruby
xaviergmail has quit [Ping timeout: 252 seconds]
axsuul has quit [Ping timeout: 246 seconds]
alexar has quit [Ping timeout: 260 seconds]
benlieb has quit [Quit: benlieb]
thegriff has joined #ruby
sebastiansier has joined #ruby
markholmes has joined #ruby
nadir is now known as nadir|mobile
xaviergmail has joined #ruby
thegriff has quit [Ping timeout: 264 seconds]
jhack has quit [Quit: jhack]
<baweaver> tinhajj123 just store it in whatever directory it's run in
milardovich has joined #ruby
<baweaver> I'd need to know what it does to be any more specific.
tinhajj123 has quit [Ping timeout: 260 seconds]
milardovich has quit [Ping timeout: 258 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
thegriff has joined #ruby
zeroDi has quit [Quit: WeeChat 1.6]
pawnbox has joined #ruby
blackmesa has quit [Quit: WeeChat 1.6]
harai_ has quit [Ping timeout: 255 seconds]
benlieb has joined #ruby
alexar has joined #ruby
nowhereman has quit [Ping timeout: 240 seconds]
mikeXsh has quit [Quit: Connection closed for inactivity]
montanonic has quit [Ping timeout: 252 seconds]
thegriff has quit [Ping timeout: 240 seconds]
pilne has quit [Quit: Quitting!]
pawnbox has quit [Ping timeout: 240 seconds]
Andrew_TA has joined #ruby
alexar has quit [Ping timeout: 255 seconds]
matp has quit [Remote host closed the connection]
thegriff has joined #ruby
harai_ has joined #ruby
cibs has joined #ruby
_geoff has quit [Ping timeout: 240 seconds]
nowhereman has joined #ruby
matp has joined #ruby
xaviergmail has quit [Ping timeout: 245 seconds]
_pastel has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jameser_ has joined #ruby
Andrew_TA has quit [Ping timeout: 276 seconds]
thegriff has quit [Ping timeout: 255 seconds]
jameser_ has quit [Client Quit]
Guest7276 is now known as ged
jameser has quit [Ping timeout: 276 seconds]
danieldocki has quit [Quit: Leaving...]
ged is now known as Guest51850
voxxit has joined #ruby
hanmac has quit [Ping timeout: 245 seconds]
thegriff has joined #ruby
d^sh has quit [Ping timeout: 245 seconds]
sebastiansier has quit [Remote host closed the connection]
jameser has joined #ruby
d^sh has joined #ruby
thegriff has quit [Ping timeout: 245 seconds]
tyang has joined #ruby
axsuul has joined #ruby
koldbrutality has quit [Remote host closed the connection]
nowhereman has quit [Remote host closed the connection]
nowhereman has joined #ruby
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
montanonic has joined #ruby
spt0 has quit [Remote host closed the connection]
Guest33 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_pastel has quit [Quit: leaving]
tau has quit [Remote host closed the connection]
_pastel has joined #ruby
tyang has quit [Quit: Leaving]
govg has quit [Ping timeout: 258 seconds]
iogf has joined #ruby
Rodya_ has quit [Remote host closed the connection]
c355e3b has quit [Quit: Connection closed for inactivity]
hanmac has joined #ruby
iogf has quit [Remote host closed the connection]
cjbottaro has joined #ruby
Rodya_ has joined #ruby
ruler has quit [Quit: Connection closed for inactivity]
iogf has joined #ruby
pawnbox has joined #ruby
iogf has quit [Remote host closed the connection]
iogf has joined #ruby
_pastel has quit [Quit: leaving]
xall_ has joined #ruby
duderonomy has quit [Ping timeout: 255 seconds]
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 276 seconds]
pawnbox has quit [Ping timeout: 252 seconds]
_pastel has joined #ruby
sdwrage has joined #ruby
rt has quit [Excess Flood]
optiz0r has quit [Ping timeout: 240 seconds]
helpa has quit [Write error: Broken pipe]
Guest33 has joined #ruby
MyMind has quit [Excess Flood]
_pastel has quit [Quit: leaving]
helpa has joined #ruby
rt has joined #ruby
MyMind has joined #ruby
Kestrel-029 has quit [Ping timeout: 256 seconds]
Nicmavr has joined #ruby
Nicmavr is now known as Guest26062
<zenspider> chrisseaton: saw your announcement ... WOW. congrats!
milardovich has joined #ruby
enyo_ has joined #ruby
gajus has quit [Quit: Connection closed for inactivity]
_pastel has joined #ruby
enyo_ has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 240 seconds]
nankyokusei has joined #ruby
empty_cup has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
kht has quit [Ping timeout: 260 seconds]
kht has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
Azure has quit [Read error: Connection reset by peer]
markholmes has quit [Quit: Leaving]
Azure has joined #ruby
s2013 has joined #ruby
djbkd has joined #ruby
cibs has quit [Quit: leaving]
pawnbox has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
cibs has joined #ruby
djbkd has quit [Remote host closed the connection]
ICantCook has joined #ruby
astrobunny has joined #ruby
_pastel has quit [Quit: leaving]
pawnbox has quit [Ping timeout: 240 seconds]
braincrash has quit [Ping timeout: 248 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
irondocwatson has joined #ruby
hahuang61 has joined #ruby
benlieb has quit [Quit: benlieb]
charliesome has joined #ruby
electrostat has quit [Quit: uwotm8]
irondocwatson has quit [Ping timeout: 258 seconds]
milardovich has joined #ruby
hahuang61 has quit [Ping timeout: 276 seconds]
nobitanobi has joined #ruby
Guest51850 is now known as ged
electrostat has joined #ruby
ged is now known as Guest48037
_geoff has joined #ruby
duderonomy has joined #ruby
milardovich has quit [Ping timeout: 256 seconds]
nobitanobi has quit [Ping timeout: 245 seconds]
hutch34_ has quit [Ping timeout: 258 seconds]
chouhoulis has joined #ruby
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
braincrash has joined #ruby
xall has joined #ruby
iogf has quit [Remote host closed the connection]
iogf has joined #ruby
xall_ has quit [Read error: Connection reset by peer]
milardovich has joined #ruby
TheWhip has joined #ruby
harfangk has joined #ruby
milardovich has quit [Ping timeout: 256 seconds]
iogf has quit [Remote host closed the connection]
iogf has joined #ruby
jhn has joined #ruby
ramfjord has quit [Ping timeout: 256 seconds]
braincrash has quit [Quit: bye bye]
wrkrcoop has joined #ruby
sdothum has joined #ruby
benlieb has joined #ruby
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
SteenJobs has joined #ruby
benlieb has quit [Client Quit]
astrobunny has quit [Ping timeout: 256 seconds]
alan_w has joined #ruby
Guest33 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
statelesscode_ has quit [Quit: statelesscode_]
astrobunny has joined #ruby
nadir|mobile has quit [Quit: Connection closed for inactivity]
statelesscode has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
amclain has quit [Quit: Leaving]
mrconfused has joined #ruby
_geoff has quit [Ping timeout: 264 seconds]
Andrew_TA has joined #ruby
xall has quit [Ping timeout: 248 seconds]
djbkd has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
Andrew_TA has quit [Ping timeout: 248 seconds]
braincrash has joined #ruby
optiz0r has joined #ruby
djbkd has quit [Remote host closed the connection]
sdothum has quit [Read error: Connection reset by peer]
sdothum has joined #ruby
Guest33 has joined #ruby
hahuang61 has joined #ruby
djbkd has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SteenJobs has quit [Quit: SteenJobs]
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gix has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 256 seconds]
hutch34_ has joined #ruby
cjbottaro has joined #ruby
etehtsea has joined #ruby
mrconfused has quit [Remote host closed the connection]
gix has joined #ruby
hutch34_ has quit [Ping timeout: 255 seconds]
ur5us_ has joined #ruby
Rodya_ has quit [Remote host closed the connection]
ur5us has quit [Ping timeout: 240 seconds]
Guest48037 is now known as ged
ged is now known as Guest17404
raul782 has joined #ruby
kht has quit [Ping timeout: 240 seconds]
millerti has quit [Ping timeout: 258 seconds]
Rodya_ has joined #ruby
enyo has joined #ruby
solocshaw has joined #ruby
enyo has quit [Ping timeout: 256 seconds]
jhn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vali_ has joined #ruby
Rodya_ has quit [Quit: Leaving...]
milardovich has joined #ruby
jeyraof has joined #ruby
enterprisey has quit [Read error: Connection reset by peer]
s2013 has joined #ruby
milardovich has quit [Ping timeout: 255 seconds]
dogweather has quit [Ping timeout: 258 seconds]
sdothum has quit [Read error: Connection reset by peer]
Channel6 has quit [Quit: Leaving]
sdothum has joined #ruby
nankyokusei has joined #ruby
alan_w has quit [Quit: WeeChat 1.4]
chouhoulis has quit [Remote host closed the connection]
sdothum has quit [Read error: Connection reset by peer]
Kaze_FX has quit [Ping timeout: 240 seconds]
nankyokusei has quit [Ping timeout: 245 seconds]
sdothum has joined #ruby
ur5us_ has quit [Remote host closed the connection]
bokayio has quit [Ping timeout: 240 seconds]
Pongles has quit [Ping timeout: 248 seconds]
dc2 has quit [Ping timeout: 252 seconds]
arthurnn has quit [Ping timeout: 255 seconds]
bokayio has joined #ruby
matrix9180 has joined #ruby
Pongles has joined #ruby
statelesscode has quit [Read error: Connection reset by peer]
TreyG has quit [Ping timeout: 258 seconds]
arthurnn has joined #ruby
TreyG has joined #ruby
robnester has quit [Ping timeout: 255 seconds]
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
empty_cup has quit [Quit: leaving]
cjbottaro has joined #ruby
alexar has joined #ruby
empty_cup has joined #ruby
irondocwatson has joined #ruby
aupadhye has joined #ruby
alexar has quit [Ping timeout: 240 seconds]
byte512 has quit [Ping timeout: 256 seconds]
enterprisey has joined #ruby
maddmaxx_ has joined #ruby
sdwrage has quit [Ping timeout: 240 seconds]
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
irondocwatson has quit [Ping timeout: 255 seconds]
pawnbox has joined #ruby
Kaze_FX has joined #ruby
maddmaxx has quit [Ping timeout: 252 seconds]
maddmaxx_ is now known as maddmaxx
solocshaw has quit [Ping timeout: 264 seconds]
insanedreamer has joined #ruby
xall has joined #ruby
bokayio has quit [Ping timeout: 240 seconds]
etehtsea has quit [Quit: Textual IRC Client: www.textualapp.com]
arthurnn has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
CloCkWeRX has joined #ruby
bokayio has joined #ruby
insanedreamer has quit [Quit: insanedreamer]
renchan has joined #ruby
arthurnn has joined #ruby
govg has joined #ruby
robnester has joined #ruby
Lain_ has joined #ruby
TreyG_ has joined #ruby
ur5us has quit [Remote host closed the connection]
TreyG has quit [Ping timeout: 252 seconds]
Kug3lis_off is now known as Kug3lis
Guest17404 is now known as ged
alexar has joined #ruby
ged is now known as Guest39167
Lain_ has quit [Quit: Mutter: www.mutterirc.com]
Lain_ has joined #ruby
enyo has joined #ruby
alexar has quit [Ping timeout: 260 seconds]
Lain_ has quit [Client Quit]
Lain_ has joined #ruby
hightower2 has joined #ruby
gusrub has quit [Remote host closed the connection]
milardovich has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ifctj has joined #ruby
Kug3lis is now known as Kug3lis_off
enyo has quit [Ping timeout: 240 seconds]
alan_w has joined #ruby
hightower3 has quit [Ping timeout: 248 seconds]
alexar has joined #ruby
Lain_ has quit [Quit: Mutter: www.mutterirc.com]
rikai has quit [Ping timeout: 240 seconds]
eclm has quit [Ping timeout: 260 seconds]
tdy has quit [Quit: WeeChat 1.6]
milardovich has quit [Ping timeout: 276 seconds]
eclm has joined #ruby
brent__ has joined #ruby
alexar has quit [Ping timeout: 240 seconds]
wugy has joined #ruby
alan_w has quit [Ping timeout: 240 seconds]
ICantCook has quit [Quit: bye]
maddmaxx has quit [Quit: Going offline, see ya! (www.adiirc.com)]
aupadhye has quit [Ping timeout: 252 seconds]
Kug3lis_off is now known as Kug3lis
aupadhye has joined #ruby
Andrew_TA has joined #ruby
yeticry has quit [Ping timeout: 248 seconds]
yeticry has joined #ruby
brent__ has quit [Remote host closed the connection]
Andrew_TA has quit [Ping timeout: 276 seconds]
Devalo has joined #ruby
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
etehtsea has joined #ruby
hahuang61 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Devalo has quit [Ping timeout: 276 seconds]
matrix9180 has quit [Quit: *drops mic*]
bocaneri has joined #ruby
bocaneri has quit [Max SendQ exceeded]
milardovich has joined #ruby
hahuang61 has quit [Ping timeout: 245 seconds]
hutch34_ has joined #ruby
wrkrcoop has quit [Quit: wrkrcoop]
Kug3lis is now known as Kug3lis_off
bocaneri has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
hutch34_ has quit [Ping timeout: 240 seconds]
JoshS has joined #ruby
braincrash has quit [Ping timeout: 276 seconds]
aesthetikxx has quit [Ping timeout: 252 seconds]
aesthetikxx has joined #ruby
lubekpl has joined #ruby
govg has quit [Ping timeout: 258 seconds]
raul782 has quit [Remote host closed the connection]
last_staff has joined #ruby
saneax-_-|AFK is now known as saneax
braincrash has joined #ruby
Mortomes|Train has joined #ruby
blaxter has joined #ruby
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
amarsharma has joined #ruby
DaniG2k has joined #ruby
Guest39167 is now known as ged
ged is now known as Guest96720
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
blaxter has quit [Quit: foo]
<DaniG2k> hello all
ur5us has joined #ruby
milardovich has joined #ruby
<DaniG2k> some time ago I wrote a little Ruby web crawler, which I have hosted on my GitHub repo: https://github.com/DaniG2k/RubyCrawler
<DaniG2k> I needed it for a job interview but I didn't get the job because the tests I wrote required an external connection to actually run
<DaniG2k> I should have made them run without an external connection
<DaniG2k> I'm just wondering what the best way to do this is?
ur5us has quit [Read error: No route to host]
nankyokusei has joined #ruby
milardovich has quit [Ping timeout: 276 seconds]
aupadhye has quit [Ping timeout: 255 seconds]
chouhoulis has joined #ruby
jeyraof has quit [Quit: Leaving]
charliesome has joined #ruby
<baweaver> DaniG2k: Ever heard of fixtures?
Velizar has joined #ruby
Cohedrin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<baweaver> Basic version is this: You have a pre-fetched version of the site in your test folder as a fixture, or mock site if you will.
<baweaver> Now you just stub the call outs to return a mock site instead of actually calling out
<baweaver> the idea behind avoiding external resources is that they may well change and break all of your tests.
<DaniG2k> right
<baweaver> never rely on something you can't control in your specs or it's going to make for a bad day
nankyokusei has quit [Ping timeout: 264 seconds]
aupadhye has joined #ruby
<DaniG2k> I've heard of fixtures but I don't know how to actually stub it so that it references that page
teclator has joined #ruby
<baweaver> brb in a sec. That aside I think it's a bit harsh to dq you on a job for that unless it was for a mid-level or above
<DaniG2k> it was junior but I think they just had so many damn applicants that they didn't care
chouhoulis has quit [Ping timeout: 256 seconds]
vali_ has joined #ruby
<baweaver> It happens.
<baweaver> Junior spots are hard to nab honestly.
<baweaver> and somewhat ironically
milardovich has joined #ruby
tonini has joined #ruby
conta has joined #ruby
<DaniG2k> baweaver: I recently got a junior role in Tokyo actually so it all ended up working quite well
<DaniG2k> i start in a few weeks
<baweaver> allow(Kernel).to receive(:open) { |url| fixtures.get(url) }
<baweaver> something like that
<baweaver> the nice thing about receive blocks is that it passes the original params to it
<DaniG2k> btu im trying to learn how to do this so that I dont embarrass myself on the first few days there haha
<baweaver> That being said I would really consider using Net::HTTP.get(URI) instead as it's a bit easier to stub
<baweaver> How long do you have?
<baweaver> ah, few weeks
<baweaver> Eloquent Ruby
<baweaver> read it cover to cover and do all the exercises
<DaniG2k> yeah I'm ok with Ruby and with Rails
<baweaver> is it Ruby only?
<DaniG2k> I just need to learn how to test a bit more
<baweaver> or Rails as well?
<DaniG2k> Rails
tonini has quit [Client Quit]
<DaniG2k> Im ok with Rails
StoneCypher has quit [Ping timeout: 255 seconds]
tonini has joined #ruby
<baweaver> Ok, so here's the reading list: Eloquent Ruby, Rails 4 Test Prescriptions, Rails 4 in Action
<baweaver> Eloquent Ruby explains how to program Ruby like a Ruby programmer
tonini has quit [Client Quit]
<baweaver> R4 Test Prescriptions takes you through the entirety of tests, considerations, and the lot
tonini has joined #ruby
<baweaver> R4ia will go through the entire shebang from start to finish and was written by a few members of the channel here
tonini is now known as zastav
zastav has quit [Client Quit]
<baweaver> Now if those are too expensive to buy outright you might consider looking into safaribooksonline
tonini has joined #ruby
Kug3lis has joined #ruby
<baweaver> It gets you full access to all the O'Reilly books as well as a lot of Manning, NoStarch, Pragmatic Press, Addison Wesley, and others.
<DaniG2k> I've read Rails 4 in action cover to cover
milardovich has quit [Ping timeout: 240 seconds]
<baweaver> Worth its weight in gold, also has a lot of great video tutorials
<baweaver> If you want to learn a specific concept you might try Confreaks and look for Railsconf talks from years gone by.
nowhereman has quit [Ping timeout: 255 seconds]
<baweaver> If you _really_ need to go deep on Ruby and Rails look into The Rails 4 Way and The Ruby Way
<DaniG2k> awesome, thanks
<DaniG2k> the Rails 4 test prescriptions book looks nice
<DaniG2k> migh invest in that at some point
<DaniG2k> these were the specs I'd written: https://github.com/DaniG2k/RubyCrawler/tree/master/spec
<baweaver> I was going through some of them.
<DaniG2k> look quite shit eh?
<baweaver> I might run through some of the code later and give you some tips
<DaniG2k> that would be very helpful, thanks
nadir has joined #ruby
<baweaver> as is I may pass out soon as I get up at 5am PST
<DaniG2k> its a very small gem anyway
enterprisey has quit [Remote host closed the connection]
<DaniG2k> hehe ok
<baweaver> and it's just shy of midnight
<baweaver> not great for me to keep doing that :P
braincrash has quit [Ping timeout: 258 seconds]
<baweaver> I'll probably see about a PR to it so you can reference some of it.
<baweaver> add comments everywhere and such
<DaniG2k> baweaver: as you can see here for example https://github.com/DaniG2k/RubyCrawler/blob/master/spec/spider_spec.rb#L62
<DaniG2k> I am running an actual crawl
<DaniG2k> but yeah I should make that into a fixture
ur5us has joined #ruby
<baweaver> I'll probably ignore the specs for now and go file by file in the lib
irondocwatson has joined #ruby
anisha has joined #ruby
ac_slater has joined #ruby
aufi has joined #ruby
<DaniG2k> ok
agit0 has joined #ruby
DaniG2k has quit [Quit: leaving]
DaniG2k has joined #ruby
Mortomes|Train has quit [Ping timeout: 260 seconds]
ifctj has quit [Ping timeout: 276 seconds]
irondocwatson has quit [Ping timeout: 240 seconds]
<baweaver> I would avoid using singletons for that
<baweaver> just make RubyCrawler a class with the config attributes.
<baweaver> easier to test against and cleaner
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<DaniG2k> baweaver: have you ever used webmock?
<zenspider> generally always avoid making or using singletons... almost always the smell of a terrible design
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<baweaver> Not offhand
Cohedrin_ has joined #ruby
<baweaver> VCR was one that was common for a while
<DaniG2k> seems I can make a file with an html body and then do something like stub_request(:any, "www.example.com").
<DaniG2k> to_return(body: File.new('/tmp/response_body.txt'), status: 200)
<baweaver> been a while since I had to do web mocks
<DaniG2k> gotcha
<DaniG2k> VCR you say
<DaniG2k> oh wow
<DaniG2k> VCR records them
<DaniG2k> that's awesome
braincrash has joined #ruby
govg has joined #ruby
atmosx has joined #ruby
Kug3lis has joined #ruby
SesMan has joined #ruby
<baweaver> Ideally you could just: crawler = RubyCrawler.new(url: 'test.com', exclude_patterns: [/i/])
<baweaver> then crawler.run and return things through associated methods.
TreyG has joined #ruby
enyo has joined #ruby
vali_ has joined #ruby
TreyG_ has quit [Ping timeout: 240 seconds]
montanonic has quit [Ping timeout: 245 seconds]
milardovich has joined #ruby
cjbottaro has joined #ruby
enyo has quit [Ping timeout: 256 seconds]
Andrew_TA has joined #ruby
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<DaniG2k> yeah
aidalgol has joined #ruby
shayan_ has quit [Quit: shayan_]
<DaniG2k> I thought I'd made that possible
nowz has joined #ruby
<DaniG2k> I think I made it so that you can do both ways
<DaniG2k> RubyCrawler.crawl as well as rc = RubyCrawler.new(); rc.crawl
<DaniG2k> but I might be wrong
enyo has joined #ruby
Andrew_TA has quit [Read error: Connection reset by peer]
milardovich has quit [Ping timeout: 240 seconds]
Andrew_TA has joined #ruby
Yali has joined #ruby
TreyG_ has joined #ruby
Andrew_TA has quit [Read error: Connection reset by peer]
grh has joined #ruby
Andrew_TA has joined #ruby
<DaniG2k> oh well probably not worth wasting time with this crawler but i would like to learn how to stub web responses at some point
<DaniG2k> I probably should learn to do it well
moei has quit [Quit: Leaving...]
xall has quit [Ping timeout: 245 seconds]
Andrew_TA has quit [Read error: Connection reset by peer]
djbkd has quit [Quit: My people need me...]
Andrew_TA has joined #ruby
enyo has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
TreyG has quit [Ping timeout: 240 seconds]
enyo has joined #ruby
Andrew_TA has quit [Read error: Connection reset by peer]
Andrew_TA has joined #ruby
xall has joined #ruby
patarr has joined #ruby
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Andrew_TA has quit [Read error: Connection reset by peer]
Andrew_TA has joined #ruby
nobitanobi has joined #ruby
Andrew_TA has quit [Read error: Connection reset by peer]
Andrew_TA has joined #ruby
terens has joined #ruby
ur5us has quit [Remote host closed the connection]
patarr has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
Andrew_TA has quit [Read error: Connection reset by peer]
neuraload has joined #ruby
rikai has joined #ruby
voker57 has quit [Ping timeout: 240 seconds]
voker57 has joined #ruby
voker57 has joined #ruby
voker57 has quit [Changing host]
ur5us has quit [Ping timeout: 240 seconds]
Yali has quit []
TreyG has joined #ruby
montanonic has joined #ruby
Yali has joined #ruby
TomyWork has joined #ruby
Guest96720 is now known as ged
nowhereman has joined #ruby
ged is now known as Guest22743
TreyG_ has quit [Ping timeout: 240 seconds]
Mortomes|Work has joined #ruby
TreyG_ has joined #ruby
yeticry has quit [Ping timeout: 258 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cjbottaro has joined #ruby
TreyG has quit [Ping timeout: 240 seconds]
anisha has quit [Quit: This computer has gone to sleep]
Cohedrin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yeticry has joined #ruby
anisha has joined #ruby
DaniG2k has quit [Ping timeout: 256 seconds]
aryaching has joined #ruby
milardovich has joined #ruby
aryaching_ has quit [Ping timeout: 240 seconds]
montanonic has quit [Ping timeout: 252 seconds]
DaniG2k has joined #ruby
Cohedrin_ has joined #ruby
Silthias has joined #ruby
andikr has joined #ruby
Devalo has joined #ruby
Silthias2 has joined #ruby
Silthias1 has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
mark_66 has joined #ruby
Silthias has quit [Ping timeout: 240 seconds]
hahuang61 has joined #ruby
Devalo has quit [Ping timeout: 264 seconds]
haxrbyte has joined #ruby
ac_slater has quit [Quit: Textual IRC Client: www.textualapp.com]
aidalgol has quit [Ping timeout: 240 seconds]
nowhereman has quit [Read error: Connection reset by peer]
nowhere_man has joined #ruby
haxrbyte has quit [Client Quit]
hahuang61 has quit [Ping timeout: 264 seconds]
willdrew has quit [Ping timeout: 240 seconds]
govg has quit [Ping timeout: 255 seconds]
StoneCypher has joined #ruby
hutch34_ has joined #ruby
xall has quit [Read error: No route to host]
xall_ has joined #ruby
tdy has joined #ruby
antgel has joined #ruby
DaniG2k has quit [Ping timeout: 245 seconds]
Silthias2 has quit [Read error: Connection reset by peer]
flying has joined #ruby
hutch34_ has quit [Ping timeout: 240 seconds]
empty_cup has quit [Ping timeout: 240 seconds]
robnester has quit [Ping timeout: 260 seconds]
DaniG2k has joined #ruby
biberu has joined #ruby
Burgestrand has joined #ruby
kodnin has joined #ruby
Silthias has joined #ruby
TreyG has joined #ruby
milardovich has joined #ruby
yeticry has quit [Ping timeout: 264 seconds]
dionysus69 has joined #ruby
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yeticry has joined #ruby
empty_cup has joined #ruby
TreyG_ has quit [Ping timeout: 255 seconds]
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
robnester has joined #ruby
Moosashi has joined #ruby
milardovich has quit [Ping timeout: 256 seconds]
DaniG2k has quit [Ping timeout: 245 seconds]
SesMan has joined #ruby
DaniG2k has joined #ruby
Kug3lis has joined #ruby
irondocwatson has joined #ruby
DaniG2k has quit [Client Quit]
dn` has quit [Quit: dn`]
reaVer has quit [Ping timeout: 246 seconds]
Shashikant86 has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
djbkd__ has joined #ruby
Silthias has quit [Ping timeout: 264 seconds]
j3r0 has quit [Ping timeout: 248 seconds]
nankyokusei has joined #ruby
djbkd has quit [Ping timeout: 240 seconds]
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nankyokusei has quit [Ping timeout: 240 seconds]
jsrn_ has joined #ruby
djbkd__ has quit []
TreyG_ has joined #ruby
foooobear has joined #ruby
Silthias has joined #ruby
Burgestrand has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TreyG has quit [Ping timeout: 256 seconds]
JeanCarloMachado has joined #ruby
tvw has joined #ruby
Madper|AFK has quit [Quit: ZNC 1.6.3+deb1 - http://znc.in]
tomphp has joined #ruby
StoneCypher has quit [Ping timeout: 255 seconds]
iMadper has joined #ruby
iMadper has quit [Changing host]
iMadper has joined #ruby
Guest22743 is now known as ged
aidalgol has joined #ruby
ged is now known as Guest31465
nettoweb has joined #ruby
agent_white has quit [Remote host closed the connection]
Shashikant86 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
govg has joined #ruby
marr has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
Shashikant86 has joined #ruby
agent_white has joined #ruby
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
xen0fon has joined #ruby
xall_ has quit [Ping timeout: 245 seconds]
astrobunny has quit [Ping timeout: 240 seconds]
Moosashi has quit [Quit: Moosashi]
xall_ has joined #ruby
Moosashi has joined #ruby
gajus has joined #ruby
drptbl has joined #ruby
xen0fon has quit [Quit: xen0fon]
ruby-lang167 has joined #ruby
<ruby-lang167> better to learn both html css and javascript?
StoneCypher has joined #ruby
Spaulding has quit [Quit: WeeChat 1.4]
DoubleMalt has quit [Ping timeout: 252 seconds]
TheHodge has joined #ruby
Cohedrin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nankyokusei has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
drptbl has quit [Quit: See you later!]
StoneCypher has quit [Ping timeout: 260 seconds]
Burgestrand has joined #ruby
nankyokusei has quit [Client Quit]
<apeiros> ruby-lang167: that's three things. and yes. makes sense to learn those three together.
<apeiros> not really a #ruby topic either ;-)
Beams has joined #ruby
patarr has joined #ruby
<ruby-lang167> @apeiros
<ruby-lang167> thx bro :)
pandaant has joined #ruby
<apeiros> I might not be a bro either…
Burgestrand has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
patarr has quit [Ping timeout: 260 seconds]
Yali has quit []
<ruby-lang167> @apeiros stop trolling
dionysus69 has joined #ruby
JeanCarloMachado has quit [Remote host closed the connection]
<ruby-lang167> no time to entertain this kind of behaviour :)
<elomatreb> ruby-lang167: You're the one trolling
<apeiros> ruby-lang167: chill sister
milardovich has joined #ruby
<agent_white> Soul sistah
JeanCarloMachado has joined #ruby
<ruby-lang167> @elomatreb i'm not trolling
* apeiros too thinks ruby-lang167 isn't trolling. just inconsiderate.
pawnbox has quit [Ping timeout: 256 seconds]
gingerboy has joined #ruby
<ruby-lang167> asking for a questions that's all
Burgestrand has joined #ruby
<ruby-lang167> nothing to troll
<ruby-lang167> :)
<elomatreb> Being willfully inconsiderate constitutes trolling, imo
gingerboy has left #ruby [#ruby]
<apeiros> agreed. but I guess a single "bro" isn't necessarily willful.
<apeiros> just my opinion, though :)
<apeiros> their reaction to the information that I might not be male was rather bad, though
<agent_white> apeibros
<apeiros> agent_white: hah
milardovich has quit [Ping timeout: 240 seconds]
<agent_white> agent_... bros!
<agent_white> :(
workmad3 has joined #ruby
<agent_white> Is it wrong to hate python for shit like their change from 2->3 for print() ?
<apeiros> agent_waifu
<apeiros> only phonetical similarity, though
<agent_white> agent_tnega
milardovich has joined #ruby
ruby-lang167 has quit [Ping timeout: 260 seconds]
jameser has quit [Ping timeout: 240 seconds]
dn` has joined #ruby
blackwind_123 has quit [Ping timeout: 240 seconds]
<agent_white> Do you think Ruby and Perl would fight crime together if they were persons with capes?
<agent_white> Maybe eyewear if they wanted.
blackwind_123 has joined #ruby
aidalgol has quit [Remote host closed the connection]
Moosashi has quit [Quit: Moosashi]
braincrash has quit [Ping timeout: 256 seconds]
Devalo has joined #ruby
<Burgestrand> I think ruby would ride a giant turtle.
Moosashi has joined #ruby
Caius has quit [Ping timeout: 240 seconds]
ruby-lang182 has joined #ruby
<Burgestrand> I guess Ruby and Perl could share the shell too.
<ruby-lang182> But it's pearl you know
hahuang61 has joined #ruby
Caius has joined #ruby
e1z0__ has joined #ruby
DoubleMalt has joined #ruby
Devalo has quit [Ping timeout: 264 seconds]
nobitanobi has quit [Remote host closed the connection]
Guest31465 is now known as ged
ruby-lang182 has quit [Client Quit]
ged is now known as Guest36007
hahuang61 has quit [Ping timeout: 240 seconds]
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
xall_ has quit [Ping timeout: 240 seconds]
hutch34_ has joined #ruby
Zephyr has joined #ruby
<Zephyr> I'm new
Zephyr is now known as Guest580
nobitanobi has joined #ruby
xall_ has joined #ruby
xall has joined #ruby
Moosashi has quit [Quit: Moosashi]
nobitanobi has quit [Remote host closed the connection]
hutch34_ has quit [Ping timeout: 252 seconds]
Guest580 has quit [Ping timeout: 260 seconds]
xall_ has quit [Read error: Connection reset by peer]
Moosashi has joined #ruby
ruby-lang605 has joined #ruby
<herwin> hello new, I'm herwin
<ruby-lang605> guys would't it be confusing to learn javascript when learning rails?
<ruby-lang605> the syntax has simicolon etc and wouldn't it be confusing?
braincrash has joined #ruby
<elomatreb> The syntax is the least of your worries when learning any programming language
<elomatreb> Also, semicolons in Javascript are largely optional, almost like in Ruby
xall has quit [Ping timeout: 258 seconds]
aryaching has quit [Read error: Connection reset by peer]
aryaching has joined #ruby
nowhere_man has quit [Ping timeout: 245 seconds]
Shashikant86 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Kug3lis has joined #ruby
ruby-lang605 has quit [Ping timeout: 260 seconds]
harai_ has quit [Ping timeout: 256 seconds]
ldnunes has joined #ruby
Moosashi has quit [Quit: Moosashi]
Shashikant86 has joined #ruby
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 248 seconds]
dionysus70 is now known as dionysus69
j3r0 has joined #ruby
jaequery has joined #ruby
sepp2k has joined #ruby
pandaant has quit [Remote host closed the connection]
blackmesa has joined #ruby
ruler has joined #ruby
conta has quit [Ping timeout: 240 seconds]
xen0fon has joined #ruby
Guest26062 has quit [Ping timeout: 255 seconds]
flying has quit []
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mim1k|work> 4.221.pools.vodafone-ip.de] has
mim1k|work has left #ruby [#ruby]
conta has joined #ruby
psychicist__ has joined #ruby
nankyokusei has joined #ruby
chouhoulis has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Ping timeout: 264 seconds]
neuraload has quit [Quit: This computer has gone to sleep]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<irondocwatson> ruby-lang605: it might be if you're learning to program itself
<irondocwatson> you could learn coffeescript alongside which is inspired by ruby but that wouldnt help for raw javascript
brent__ has joined #ruby
reaVer has joined #ruby
s2013 has joined #ruby
toretore has joined #ruby
elaptics has joined #ruby
Tempesta has quit [Quit: See ya!]
brent__ has quit [Ping timeout: 252 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
nowz has quit [Remote host closed the connection]
neuraload has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
govg has quit [Ping timeout: 240 seconds]
hhatch has joined #ruby
jameser has joined #ruby
xen0fon has quit [Quit: xen0fon]
jameser has quit [Client Quit]
Kug3lis has joined #ruby
jameser has joined #ruby
blackmesa has joined #ruby
duckpuppy has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DaisyTheCow has joined #ruby
Guest36007 is now known as ged
ged is now known as Guest92580
<workmad3> irondocwatson: personally, I frequently find switching between coffeescript and ruby more confusing than javascript and ruby... which is annoying, because I generally prefer coffeescript over javascript :)
workmad3 is now known as wm3|away
dionysus69 has quit [Ping timeout: 240 seconds]
gregf_ has quit [Quit: Page closed]
StoneCypher has joined #ruby
<irondocwatson> workmad3: I can understand that - switching to js puts you more in the js mindset maybe? Probably best to have that greater distinction maybe when learning both...
<apeiros> if you want to avoid learning js (as in: avoid learning an additional language), then opal might be the better choice than coffeescript
agit0 has quit [Ping timeout: 260 seconds]
nowz has joined #ruby
StoneCypher has quit [Ping timeout: 260 seconds]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wm3|away has quit [Ping timeout: 240 seconds]
unshadow has quit [Ping timeout: 260 seconds]
patarr has joined #ruby
<crayfishx> Is there a way to mirror rubygems, where I can define a list of gems I want to mirror and the whole dependency tree will also get mirrored?
A124 has quit [Ping timeout: 240 seconds]
millerti has joined #ruby
unshadow has joined #ruby
jameser has joined #ruby
blackmes1 has joined #ruby
patarr has quit [Ping timeout: 248 seconds]
blackmesa has quit [Ping timeout: 276 seconds]
jshjsh has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
blackmes1 has quit [Ping timeout: 260 seconds]
JoshS has quit [Ping timeout: 248 seconds]
enyo has quit [Ping timeout: 240 seconds]
UserJosh has joined #ruby
FMan has joined #ruby
Tempesta has joined #ruby
jshjsh has quit [Ping timeout: 240 seconds]
Shashikant86 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
flying has joined #ruby
Andrew_TA has joined #ruby
Tempesta has quit [Quit: See ya!]
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wm3|away has joined #ruby
Tempesta has joined #ruby
Kug3lis has joined #ruby
Andrew_TA has quit [Ping timeout: 260 seconds]
Gayathri_ has joined #ruby
nobitanobi has joined #ruby
Kug3lis has quit [Client Quit]
A124 has joined #ruby
hahuang61 has joined #ruby
blackbom1 has quit [Ping timeout: 248 seconds]
Kug3lis has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hahuang61 has quit [Ping timeout: 252 seconds]
milardovich has quit [Remote host closed the connection]
tyang has joined #ruby
hutch34_ has joined #ruby
c355e3b has joined #ruby
jameser has joined #ruby
psychicist__ has quit [Ping timeout: 255 seconds]
Dry_Lips has quit [Ping timeout: 240 seconds]
malconis has joined #ruby
swills has joined #ruby
hutch34_ has quit [Ping timeout: 264 seconds]
gix has quit [Ping timeout: 245 seconds]
minimalism has quit [Ping timeout: 248 seconds]
Pumukel has quit [Ping timeout: 258 seconds]
CloCkWeRX has quit [Quit: Leaving.]
milardovich has joined #ruby
milardovich has quit [Read error: Connection reset by peer]
milardovich has joined #ruby
Boss16166 has joined #ruby
minimalism has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tonini has quit [Quit: Connection closed for inactivity]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
candelabra has joined #ruby
gix has joined #ruby
Shashikant86 has joined #ruby
<Boss16166> Hi
nowhere_man has joined #ruby
govg has joined #ruby
Guest92580 is now known as ged
psychicist__ has joined #ruby
ged is now known as Guest93991
ponga has joined #ruby
Boss16166 has quit [Quit: Mutter: www.mutterirc.com]
z64 has joined #ruby
blackmes1 has joined #ruby
bmurt has joined #ruby
jameser has joined #ruby
solocshaw has joined #ruby
milardovich has quit [Remote host closed the connection]
Xentil has joined #ruby
raul782 has joined #ruby
minimalism has quit [Quit: minimalism]
govg has quit [Ping timeout: 240 seconds]
synthroid has joined #ruby
jeffreylevesque_ has joined #ruby
candelabra has quit [Ping timeout: 240 seconds]
solocshaw has quit [Quit: solocshaw]
solocshaw has joined #ruby
LuckyABA has quit [Ping timeout: 240 seconds]
thegriff has joined #ruby
nankyokusei has joined #ruby
jeffreylevesque_ has quit [Ping timeout: 260 seconds]
sebastiansier has joined #ruby
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
sebastiansier has quit [Read error: No route to host]
nobitanobi has quit []
sebastia_ has joined #ruby
nankyokusei has quit [Ping timeout: 248 seconds]
solocshaw has quit [Ping timeout: 255 seconds]
jshjsh has joined #ruby
enyo has joined #ruby
Guest33 has quit [Ping timeout: 255 seconds]
dionysus69 has joined #ruby
UserJosh has quit [Ping timeout: 276 seconds]
brent__ has joined #ruby
amarsharma has quit [Ping timeout: 240 seconds]
douglascorrea has joined #ruby
sami has joined #ruby
brent__ has quit [Ping timeout: 240 seconds]
jaruga____ has joined #ruby
sdothum has quit [Read error: Connection reset by peer]
sdothum has joined #ruby
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
matrix9180 has joined #ruby
Andrew_TA has joined #ruby
kobain has joined #ruby
xen0fon has joined #ruby
andikr has quit [Remote host closed the connection]
hightower3 has joined #ruby
millerti has quit [Read error: Connection reset by peer]
hightower2 has quit [Ping timeout: 240 seconds]
last_staff has quit [Quit: last_staff]
Andrew_TA has quit []
kobain has quit [Ping timeout: 252 seconds]
j3r0 has quit [Ping timeout: 248 seconds]
thegriff has quit [Ping timeout: 245 seconds]
aryaching has quit [Ping timeout: 258 seconds]
mim1k|work has joined #ruby
hightower2 has joined #ruby
StoneCypher has joined #ruby
matrix9180 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
minimalism has joined #ruby
hightower3 has quit [Ping timeout: 248 seconds]
renchan has quit [Read error: Connection reset by peer]
renchan has joined #ruby
thegriff has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kht has joined #ruby
tvw has quit [Read error: Connection reset by peer]
StoneCypher has quit [Ping timeout: 258 seconds]
saslam has joined #ruby
wm3|away is now known as workmad3
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Mortomes|Work has quit [Ping timeout: 260 seconds]
thegriff has quit [Ping timeout: 276 seconds]
douglascorrea has quit [Ping timeout: 260 seconds]
Guest93991 is now known as ged
ged is now known as Guest9680
kobain has joined #ruby
thegriff has joined #ruby
jhack has joined #ruby
kht has quit [Ping timeout: 248 seconds]
kobain has quit [Excess Flood]
jhack has quit [Client Quit]
kobain has joined #ruby
jhack has joined #ruby
newbie22 has joined #ruby
ramortegui has joined #ruby
aupadhye has quit [Ping timeout: 240 seconds]
saslam has quit [Ping timeout: 252 seconds]
DarthGandalf has quit [Remote host closed the connection]
DarthGandalf has joined #ruby
newbie22 has quit [Client Quit]
__Yiota has joined #ruby
Burgestrand has quit [Ping timeout: 264 seconds]
jhack has quit [Ping timeout: 255 seconds]
cdg has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Burgestrand has joined #ruby
harfangk has joined #ruby
e1z0__ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackbom1 has joined #ruby
Kug3lis has joined #ruby
saslam has joined #ruby
blackbombay has joined #ruby
blackmes1 has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
blackbom1 has quit [Ping timeout: 255 seconds]
mustmodify has joined #ruby
twistedpixels_ has quit [Ping timeout: 248 seconds]
saslam has quit [Ping timeout: 256 seconds]
willdrew has joined #ruby
nowz has quit [Quit: Leaving]
Uber_yama has joined #ruby
jhack has joined #ruby
bentanweihao has quit [Read error: Connection reset by peer]
bentanweihao has joined #ruby
nhhc has joined #ruby
jhack has quit [Client Quit]
jhack has joined #ruby
hightower2 has quit [Ping timeout: 240 seconds]
yehowyada has joined #ruby
etehtsea has quit [Quit: Textual IRC Client: www.textualapp.com]
hahuang61 has joined #ruby
hutch34_ has joined #ruby
hightower2 has joined #ruby
Dry_Lips has joined #ruby
Dry_Lips has joined #ruby
Dry_Lips has quit [Changing host]
ifctj has joined #ruby
ruby-lang437 has joined #ruby
ruby714 has joined #ruby
mustmodify has left #ruby [#ruby]
UserJosh has joined #ruby
jhack has quit [Ping timeout: 248 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
tvw has joined #ruby
hahuang61 has quit [Ping timeout: 276 seconds]
cibs has quit [Ping timeout: 240 seconds]
jshjsh has quit [Ping timeout: 240 seconds]
workmad3 has quit [Quit: Lost terminal]
Xentil has quit [Remote host closed the connection]
brendan- has quit [Read error: Connection reset by peer]
bmurt has quit [Read error: Connection reset by peer]
cibs has joined #ruby
hightower3 has joined #ruby
nettoweb has joined #ruby
bmurt has joined #ruby
brendan- has joined #ruby
eelster has quit [Ping timeout: 245 seconds]
hightower2 has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kug3lis has quit [Ping timeout: 276 seconds]
Shashikant86 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
malconis has joined #ruby
andikr has joined #ruby
hightower3 has quit [Ping timeout: 252 seconds]
hightower3 has joined #ruby
malconis_ has joined #ruby
StoneCypher has joined #ruby
thegriff has quit [Ping timeout: 240 seconds]
Gayathri_ has quit [Quit: Connection closed for inactivity]
hightower2 has joined #ruby
yehowyada has quit [Quit: Textual IRC Client: www.textualapp.com]
bmurt has quit [Read error: Connection reset by peer]
brendan- has quit [Read error: Connection reset by peer]
malconis has quit [Ping timeout: 260 seconds]
mustmodify has joined #ruby
hightower3 has quit [Ping timeout: 245 seconds]
bmurt has joined #ruby
rippa has joined #ruby
Beams has quit [Quit: .]
Shashikant86 has joined #ruby
brendan- has joined #ruby
<mustmodify> I have an interface problem. I have Datum that can be created by a Calculation using a Loaders::CalculationLoader class. All that has worked for some time. But now I need to add an extra piece of data to each Calculation datum before it's cached. The CalculationLoader doesn't otherwise need this attribute. Should I add that attribute after the CalculationLoader is complete? Or pass it in to the CalculationLoader?
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
montanonic has joined #ruby
milardovich has quit []
Beams has joined #ruby
aryaching has joined #ruby
thegriff has joined #ruby
Shashikant86 has quit [Client Quit]
<mustmodify> I realize I haven't posted any code but there's so much of it...
StoneCypher has quit [Ping timeout: 255 seconds]
jhack has joined #ruby
moei has joined #ruby
kodnin has quit [Ping timeout: 240 seconds]
saslam has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
ifctj has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
ifctj has joined #ruby
JoshS has joined #ruby
pawnbox has joined #ruby
UserJosh has quit [Ping timeout: 255 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
warrshrike has joined #ruby
kodnin has joined #ruby
jhack has quit [Ping timeout: 276 seconds]
modin has quit [Ping timeout: 245 seconds]
sdothum has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
ruby714 has quit [Quit: Page closed]
milardovich has joined #ruby
mikeXsh has joined #ruby
saslam has quit [Read error: Connection reset by peer]
vondruch_ has joined #ruby
d10n-work` has joined #ruby
<d10n-work`> What's the best way to explicitly suppress an exception?
tvw has quit [Write error: Broken pipe]
Xiti` has quit [Excess Flood]
SesMan has quit [Excess Flood]
tvw has joined #ruby
vondruch has quit [Write error: Broken pipe]
d10n-work has joined #ruby
tekk has quit [Excess Flood]
tekku has joined #ruby
Xiti` has joined #ruby
Eiam has quit [Excess Flood]
rt has quit [Excess Flood]
mikeXsh has quit [Changing host]
mikeXsh has joined #ruby
vondruch_ has joined #ruby
vondruch_ has quit [Changing host]
d10n-work` has joined #ruby
d10n-work` has quit [Changing host]
d10n-work has quit [Changing host]
d10n-work has joined #ruby
helpa-bot has joined #ruby
<d10n-work`> RuboCop does not like an empty rescue block and I haven't found a suggestion for how to prevent that RuboCop warning
grh has quit [Ping timeout: 260 seconds]
vondruch_ is now known as vondruch
tekku is now known as tekk
psychici1t__ has joined #ruby
ccooke_ has joined #ruby
darix- has joined #ruby
olblak__ has joined #ruby
cibs_ has joined #ruby
agent_wh1te has joined #ruby
_geoff has joined #ruby
<apeiros> d10n-work`: does a comment count as empty? if I have empty blocks, I usually put a comment in, explaining why it is empty
ironcame1 has joined #ruby
eam_ has joined #ruby
julian has joined #ruby
ammar_ has joined #ruby
Prira_ has joined #ruby
shaman42 has quit [Write error: Connection reset by peer]
volix has quit [Write error: Broken pipe]
bhaak has quit [Write error: Connection reset by peer]
freeze_ has joined #ruby
bhaak_ has joined #ruby
ironcamel has quit [Write error: Broken pipe]
freeze has quit [Write error: Broken pipe]
ccooke has quit [Write error: Broken pipe]
agent_white has quit [Write error: Broken pipe]
helpa has quit [Write error: Broken pipe]
shaman42_ has joined #ruby
PaulePan1er has joined #ruby
volix has joined #ruby
Kero_ has joined #ruby
sunya7a__ has joined #ruby
joevandy1 has joined #ruby
whiteline has quit [Excess Flood]
nuck has quit [Excess Flood]
crayfishx has quit [Excess Flood]
tobiasvl has quit [Write error: Connection reset by peer]
izaac_ has joined #ruby
M-Techni1 has joined #ruby
Prira has quit [Quit: No Ping reply in 180 seconds.]
psychicist__ has quit [Remote host closed the connection]
bgray has joined #ruby
darix has quit [Remote host closed the connection]
cibs has quit [Remote host closed the connection]
FastJack has quit [Remote host closed the connection]
ltd has joined #ruby
eam has quit [Remote host closed the connection]
Guest79606 has quit [Remote host closed the connection]
ammar has quit [Remote host closed the connection]
snapcase has quit [Remote host closed the connection]
julian is now known as Guest92983
crayfishx_ has joined #ruby
jrmhurs102 has joined #ruby
rt has joined #ruby
darix- is now known as darix
snapcase has joined #ruby
whiteline has joined #ruby
FastJack has joined #ruby
ccooke_ is now known as ccooke
<d10n-work`> apeiros: a comment counts as being empty, at least in the RuboCop configuration I have to adhere to
milardovich has quit [*.net *.split]
bentanweihao has quit [*.net *.split]
harfangk has quit [*.net *.split]
jaruga____ has quit [*.net *.split]
ponga has quit [*.net *.split]
FMan has quit [*.net *.split]
TheHodge has quit [*.net *.split]
terens has quit [*.net *.split]
hanmac has quit [*.net *.split]
Trynemjoel has quit [*.net *.split]
mwlang has quit [*.net *.split]
Guest44896 has quit [*.net *.split]
SerialDev has quit [*.net *.split]
Seich has quit [*.net *.split]
kp666[m] has quit [*.net *.split]
dmitrysinina[m] has quit [*.net *.split]
ryantriangles[m] has quit [*.net *.split]
brain_shim has quit [*.net *.split]
dhollinger has quit [*.net *.split]
bathtub_shark has quit [*.net *.split]
sneakerhax has quit [*.net *.split]
Kero has quit [*.net *.split]
AnoHito has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
joaomdmoura__ has quit [*.net *.split]
bauruine has quit [*.net *.split]
jxf has quit [*.net *.split]
cardoni has quit [*.net *.split]
jwheare has quit [*.net *.split]
antoniobeyah has quit [*.net *.split]
vayan has quit [*.net *.split]
hayden___ has quit [*.net *.split]
johnkpaul has quit [*.net *.split]
bogdanteleaga has quit [*.net *.split]
perryh has quit [*.net *.split]
Zarthus has quit [*.net *.split]
x0f has quit [*.net *.split]
davidmichaelkarr has quit [*.net *.split]
uranellus has quit [*.net *.split]
rideh has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
leonthemisfit has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
nchambers has quit [*.net *.split]
Canucktux has quit [*.net *.split]
eregon has quit [*.net *.split]
anekos has quit [*.net *.split]
tabakhase has quit [*.net *.split]
olblak has quit [*.net *.split]
raatiniemi has quit [*.net *.split]
biox has quit [*.net *.split]
bounb has quit [*.net *.split]
Guest8139 has quit [*.net *.split]
mrfooo has quit [*.net *.split]
CustosLimen has quit [*.net *.split]
Fire-Dragon-DoL has quit [*.net *.split]
teotwaki has quit [*.net *.split]
Hates_ has quit [*.net *.split]
Qommand0r has quit [*.net *.split]
aurelien has quit [*.net *.split]
DenSchub has quit [*.net *.split]
dikaio has quit [*.net *.split]
Karunamon has quit [*.net *.split]
squ has quit [*.net *.split]
M-Technic has quit [*.net *.split]
Asher has quit [*.net *.split]
hays has quit [*.net *.split]
jimcroft has quit [*.net *.split]
incomprehensibly has quit [*.net *.split]
charles81_ has quit [*.net *.split]
daxroc has quit [*.net *.split]
Eleeleth has quit [*.net *.split]
darthvorik has quit [*.net *.split]
danzilio has quit [*.net *.split]
HashNuke has quit [*.net *.split]
Travis-42 has quit [*.net *.split]
rann has quit [*.net *.split]
MrBloo has quit [*.net *.split]
manveru has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
scott4000 has quit [*.net *.split]
izaac has quit [*.net *.split]
bcavileer has quit [*.net *.split]
podman has quit [*.net *.split]
BackEndCoder has quit [*.net *.split]
erlend has quit [*.net *.split]
Subfusc has quit [*.net *.split]
jrmhurst92 has quit [*.net *.split]
chihhsin has quit [*.net *.split]
ltd_ has quit [*.net *.split]
bgray_ has quit [*.net *.split]
priodev has quit [*.net *.split]
sonne has quit [*.net *.split]
oz has quit [*.net *.split]
JStoker has quit [*.net *.split]
pocketprotector has quit [*.net *.split]
unsymbol has quit [*.net *.split]
rob_ has quit [*.net *.split]
sunya7a_ has quit [*.net *.split]
joevandyk has quit [*.net *.split]
Junaos has quit [*.net *.split]
g3funk has quit [*.net *.split]
cstrahan has quit [*.net *.split]
zzak has quit [*.net *.split]
knowtheory has quit [*.net *.split]
pmarreck has quit [*.net *.split]
alexandernst has quit [*.net *.split]
j0bk has quit [*.net *.split]
sysanthrope has quit [*.net *.split]
aep has quit [*.net *.split]
alxgsv has quit [*.net *.split]
hays has joined #ruby
hays has joined #ruby
Zarthus has joined #ruby
sysanthrope has joined #ruby
oz has joined #ruby
pocketprotector has joined #ruby
Subfusc has joined #ruby
j0bk has joined #ruby
aep has joined #ruby
uranellus has joined #ruby
TheMoonMaster has joined #ruby
uranellus has joined #ruby
uranellus has quit [Changing host]
TheMoonMaster has joined #ruby
TheMoonMaster has quit [Changing host]
JStoker has joined #ruby
rob_ has joined #ruby
Seich has joined #ruby
CustosLimen has joined #ruby
unsymbol has joined #ruby
bogdanteleaga has joined #ruby
tabakhase has joined #ruby
bathtub_shark has joined #ruby
leonthemisfit has joined #ruby
leonthemisfit has quit [Changing host]
leonthemisfit has joined #ruby
nchambers has joined #ruby
erlend has joined #ruby
biox has joined #ruby
helpa-bot has quit [Remote host closed the connection]
x0f has joined #ruby
DenSchub has joined #ruby
helpa has joined #ruby
nuck has joined #ruby
priodev has joined #ruby
rideh has joined #ruby
ggherdov has quit [Ping timeout: 258 seconds]
bauruine has joined #ruby
Karunamon has joined #ruby
Fire-Dragon-DoL has joined #ruby
sonne has joined #ruby
BackEndCoder has joined #ruby
michael_mbp has joined #ruby
nankyokusei has joined #ruby
jhill_ has quit [Ping timeout: 258 seconds]
digitalfiz has quit [Ping timeout: 258 seconds]
Guest9680 is now known as ged
machty has quit [Ping timeout: 252 seconds]
ged is now known as Guest47442
ReK2 has quit [Ping timeout: 240 seconds]
tomaw is now known as 02HAAAAAN
harfangk has joined #ruby
terens has joined #ruby
milardovich has joined #ruby
bentanweihao has joined #ruby
Trynemjoel has joined #ruby
dmitrysinina[m] has joined #ruby
bounb has joined #ruby
dikaio has joined #ruby
kp666[m] has joined #ruby
scott4000 has joined #ruby
ryantriangles[m] has joined #ruby
hanmac has joined #ruby
teotwaki has joined #ruby
mwlang has joined #ruby
dhollinger has joined #ruby
brain_shim has joined #ruby
SerialDev has joined #ruby
7F1AAF8S6 has joined #ruby
AnoHito has joined #ruby
eregon has joined #ruby
Canucktux has joined #ruby
hayden___ has joined #ruby
Qommand0r has joined #ruby
anekos has joined #ruby
aurelien has joined #ruby
podman has joined #ruby
Asher has joined #ruby
Junaos has joined #ruby
g3funk has joined #ruby
raatiniemi has joined #ruby
alexandernst has joined #ruby
alxgsv has joined #ruby
pmarreck has joined #ruby
polishdub has joined #ruby
<herwin> rescue => e\n nil # Shut up rubocop
jxf has joined #ruby
yosafbridge has joined #ruby
Qommand0r has quit [Max SendQ exceeded]
g3funk has quit [Max SendQ exceeded]
jzigmund has quit [Ping timeout: 260 seconds]
bounb has quit [Changing host]
bounb has joined #ruby
douglascorrea has joined #ruby
yo61 has quit [Ping timeout: 240 seconds]
discopatrick has quit [Ping timeout: 240 seconds]
shaman42_ has quit [Ping timeout: 260 seconds]
nibbo has quit [Ping timeout: 260 seconds]
giraffe has joined #ruby
giraffe is now known as Guest98986
gajus has quit [Ping timeout: 256 seconds]
ponga has joined #ruby
<d10n-work`> that worked, thanks herwin
ifctj has quit [Ping timeout: 255 seconds]
pawnbox has joined #ruby
braidn_ has joined #ruby
ReK2 has joined #ruby
ReK2 has joined #ruby
ReK2 has quit [Changing host]
chihhsin has joined #ruby
Qommand0r has joined #ruby
jzigmund has joined #ruby
warrshrike has quit [Ping timeout: 260 seconds]
nibbo has joined #ruby
shaman42 has joined #ruby
rann has joined #ruby
<apeiros> d10n-work`: got distracted. if you want it speaking: module Kernel; module_function def suppressing_exceptions(*exceptions); yield; rescue *exceptions; nil; end; end
darthvorik has joined #ruby
mustmodify has left #ruby [#ruby]
DaisyTheCow has left #ruby ["WeeChat 1.4"]
antoniobeyah has joined #ruby
<apeiros> then: `suppressing_exceptions ArgumentError, TypeError do …code which raises… end`
HashNuke has joined #ruby
daxroc has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
Eleeleth has joined #ruby
cardoni has joined #ruby
TheHodge has joined #ruby
Kug3lis_off is now known as Kug3lis
Travis-42 has joined #ruby
jwheare has joined #ruby
bhaak_ is now known as bhaak
charles81_ has joined #ruby
knowtheory has joined #ruby
discopatrick has joined #ruby
incomprehensibly has joined #ruby
ggherdov has joined #ruby
joaomdmoura__ has joined #ruby
MrBloo has joined #ruby
cjbottaro has joined #ruby
jimcroft has joined #ruby
Hates_ has joined #ruby
zzak has joined #ruby
vayan has joined #ruby
ggherdov has quit [Excess Flood]
eelster has joined #ruby
digitalfiz has joined #ruby
kht has joined #ruby
kht has quit [Changing host]
kht has joined #ruby
jhill_ has joined #ruby
machty has joined #ruby
yo61 has joined #ruby
ggherdov has joined #ruby
johnkpaul has joined #ruby
Shashikant86 has joined #ruby
cgibsonmm has joined #ruby
Xentil has joined #ruby
cstrahan has joined #ruby
manveru has joined #ruby
zel has joined #ruby
saneax is now known as saneax-_-|AFK
zel is now known as Guest59366
shayan_ has joined #ruby
andikr has quit [Remote host closed the connection]
mrfooo has joined #ruby
blackmes1 has joined #ruby
danzilio has joined #ruby
TheWhip has quit [Remote host closed the connection]
etehtsea has joined #ruby
bcavileer has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
davidmichaelkarr has joined #ruby
gix has quit [Ping timeout: 240 seconds]
_geoff has quit [Ping timeout: 240 seconds]
ianmethyst has joined #ruby
Uber_yama has quit [Remote host closed the connection]
gajus has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
_geoff has joined #ruby
jhack has joined #ruby
gix has joined #ruby
Lord_of_Life has quit [Excess Flood]
LambdaSix has quit [Ping timeout: 256 seconds]
LambdaSix has joined #ruby
Lord_of_Life has joined #ruby
jhack has quit [Ping timeout: 240 seconds]
modin has joined #ruby
blackmes1 has quit [Ping timeout: 260 seconds]
alibby has quit [Read error: No route to host]
alibby has joined #ruby
the_drow has joined #ruby
griffindy has joined #ruby
alibby1 has joined #ruby
alibby has quit [Read error: No route to host]
Kero_ is now known as Kero
neuraload has quit [Quit: This computer has gone to sleep]
jhack has joined #ruby
d10n-work` has quit [Quit: Page closed]
Beams has quit [Quit: .]
StoneCypher has joined #ruby
_geoff has quit [Ping timeout: 240 seconds]
machinewar has joined #ruby
<machinewar> anyone have good git precommit hook for pry, i'm using https://gist.github.com/alexbevi/3436040 but can't commit non-ruby files with it?
Beams has joined #ruby
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
reaVer has quit [Ping timeout: 255 seconds]
reaVer has joined #ruby
cgibsonmm has quit []
hightower3 has joined #ruby
sneakerhax has joined #ruby
saslam has joined #ruby
ianmethyst has quit [Quit: WeeChat 1.6]
bentanweihao has quit [Remote host closed the connection]
cjbottaro has joined #ruby
bentanweihao has joined #ruby
saslam has quit [Read error: Connection reset by peer]
hightower2 has quit [Ping timeout: 248 seconds]
gregf_ has joined #ruby
saslam has joined #ruby
griffindy has quit [Ping timeout: 255 seconds]
patarr has joined #ruby
hightower2 has joined #ruby
jshjsh has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
ltd has quit [Ping timeout: 240 seconds]
SesMan has joined #ruby
flyingX has joined #ruby
milardovich has quit [Remote host closed the connection]
hightower3 has quit [Ping timeout: 255 seconds]
milardovich has joined #ruby
freeze_ is now known as freeze
JoshS has quit [Ping timeout: 256 seconds]
flying has quit [Ping timeout: 260 seconds]
TheWhip has joined #ruby
milardovich has quit [Remote host closed the connection]
thegriff has quit [Ping timeout: 258 seconds]
hightower2 has quit [Ping timeout: 240 seconds]
synthroid has quit [Remote host closed the connection]
etehtsea has quit [Quit: Textual IRC Client: www.textualapp.com]
saslam has quit [Read error: Connection reset by peer]
saslam has joined #ruby
mim1k|wo1k has joined #ruby
tolerablyjake has joined #ruby
snath has joined #ruby
mim1k|work has quit [Ping timeout: 255 seconds]
snath has left #ruby [#ruby]
bentanweihao has quit [Remote host closed the connection]
kht has quit [Ping timeout: 255 seconds]
bentanweihao has joined #ruby
ianmethyst has joined #ruby
ianmethyst has quit [Client Quit]
kht has joined #ruby
Boss16166 has joined #ruby
Guest47442 is now known as ged
ged is now known as Guest57384
vali_ has joined #ruby
j3r0 has joined #ruby
_geoff has joined #ruby
s2013 has joined #ruby
tvw has quit [Read error: Connection reset by peer]
tvw has joined #ruby
vali_ has quit [Ping timeout: 248 seconds]
nadir has joined #ruby
bentanweihao has quit [Remote host closed the connection]
milardovich has joined #ruby
vali_ has joined #ruby
milardovich has quit [Remote host closed the connection]
jhack has quit [Quit: jhack]
StoneCypher has quit [Ping timeout: 276 seconds]
milardovich has joined #ruby
douglascorrea has quit [Read error: Connection reset by peer]
bentanweihao has joined #ruby
StoneCypher has joined #ruby
douglascorrea has joined #ruby
jhack has joined #ruby
Devalo has joined #ruby
hahuang61 has joined #ruby
Devalo has quit [Ping timeout: 240 seconds]
neuraload has joined #ruby
douglasc_ has joined #ruby
psychici1t__ has quit [Ping timeout: 260 seconds]
hahuang61 has quit [Ping timeout: 264 seconds]
brent__ has joined #ruby
ruby-lang437 has quit [Ping timeout: 260 seconds]
douglascorrea has quit [Ping timeout: 264 seconds]
saslam has quit [Read error: Connection reset by peer]
saslam has joined #ruby
DoubleMalt has quit [Ping timeout: 256 seconds]
mark_66 has quit [Remote host closed the connection]
shinnya has joined #ruby
raul782 has quit []
synthroid has joined #ruby
shum has joined #ruby
nhhc has quit [Quit: Leaving]
sdothum has quit [Ping timeout: 256 seconds]
Boss16166 has quit [Read error: Connection reset by peer]
shum has quit [Read error: Connection reset by peer]
sdothum has joined #ruby
matrix9180 has joined #ruby
ruler has quit [Quit: Connection closed for inactivity]
freeze has quit [Quit: leaving]
skweek has quit [Ping timeout: 240 seconds]
douglascorrea has joined #ruby
DoubleMalt has joined #ruby
Shashikant86 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
[Butch] has joined #ruby
amclain has joined #ruby
douglasc_ has quit [Ping timeout: 252 seconds]
conta has quit [Quit: conta]
saslam has quit [Read error: Connection reset by peer]
saslam has joined #ruby
neuraload has quit [Ping timeout: 240 seconds]
wrkrcoop has joined #ruby
neuraload has joined #ruby
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
freeze has joined #ruby
iogf has quit [Remote host closed the connection]
marxarelli has joined #ruby
Eiam has joined #ruby
StoneCypher has quit [Ping timeout: 240 seconds]
jsrn_ has quit [Quit: Leaving]
xt233 has joined #ruby
Jayson_Virissimo has joined #ruby
neuraload has quit [Ping timeout: 252 seconds]
aufi has quit [Quit: Leaving]
neuraload has joined #ruby
saslam has quit [Read error: Connection reset by peer]
maddmaxx has joined #ruby
saslam has joined #ruby
kodnin has quit [Ping timeout: 264 seconds]
freeze has quit [Quit: Reconnecting]
freeze has joined #ruby
freeze has quit [Client Quit]
freeze has joined #ruby
TomyWork has quit [Ping timeout: 240 seconds]
mim1k|work has joined #ruby
mim1k|wo1k has quit [Ping timeout: 240 seconds]
xt233 has quit [Quit: Leaving]
Zephyr3107 has joined #ruby
<Zephyr3107> Hey, Any devs from Ireland
<Eiam> Zephyr3107: whats ireland got that I haven't?!
<Eiam> aside from a sweet accent
<Eiam> d10n-work: did anyone answer you? you could just catch and continue ?
<Zephyr3107> guinness
matrix9180 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pawnbox_ has joined #ruby
<Zephyr3107> since when is Ruby 2.4.0 out?!
<apeiros> Zephyr3107: christmas
Gasher has joined #ruby
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
pawnbox has quit [Ping timeout: 276 seconds]
<Zephyr3107> alright,thanks, I still mostley use 1.9.2 for most projects, it has the best gem compatibility
* apeiros blinks in disbelief
chouhoulis has quit [Remote host closed the connection]
nankyokusei has joined #ruby
<Zephyr3107> Like I used 2.3.3 for my latest script that generates all info needed for a Shelf babies
BTRE has quit [Quit: Leaving]
<Zephyr3107> *baby
saslam has quit [Read error: Connection reset by peer]
saslam has joined #ruby
Pumukel has joined #ruby
shinnya has quit [Ping timeout: 276 seconds]
senayar has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
Zephyr3107 has quit [Quit: Page closed]
Kug3lis has quit [Quit: Textual IRC Client: www.textualapp.com]
cibs_ has quit [Ping timeout: 255 seconds]
shayan_ has quit [Quit: shayan_]
nankyokusei has quit [Ping timeout: 260 seconds]
Pumukel has quit [Client Quit]
cibs has joined #ruby
milardovich has quit []
jhack has quit [Ping timeout: 258 seconds]
<Eiam> You should be able to update without any issue..
<Eiam> I went from 1.9 -> 2.0.0 -> 2.3 without any changes on any of my code bases
TreyG_ has quit [Remote host closed the connection]
unshadow_ has joined #ruby
BTRE has joined #ruby
<Eiam> and we got #dig, #&. !
<Eiam> and hash#to_proc god so nice to not write that stupid block anymore
saslam has quit [Read error: Connection reset by peer]
saslam has joined #ruby
flashbang has joined #ruby
unshadow has quit [Ping timeout: 264 seconds]
enyo has quit [Ping timeout: 269 seconds]
wattt has joined #ruby
alexar_ has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pilne has joined #ruby
benlieb has joined #ruby
<antoniobeyah> nice, didn't know about to_proc, goodbye ostruct
senayar has quit []
jhack has joined #ruby
Guest57384 is now known as ged
ged is now known as Guest95724
machinewar has quit []
evotopid has quit [Quit: ZNC - http://znc.in]
sepp2k has quit [Ping timeout: 255 seconds]
blackmes1 has joined #ruby
hahuang61 has joined #ruby
Velizar has quit [Ping timeout: 240 seconds]
saslam has quit [Read error: Connection reset by peer]
<dminuoso> antoniobeyah, I do not think ostruct has become obsolete..
<antoniobeyah> oh, just for me :)
saslam has joined #ruby
jhack has quit [Ping timeout: 240 seconds]
Velizar has joined #ruby
StoneCypher has joined #ruby
whathappens has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
duderonomy has quit [Ping timeout: 240 seconds]
Beams has quit [Quit: .]
irondocwatson has quit [Ping timeout: 260 seconds]
dhollinger has quit [Ping timeout: 245 seconds]
al2o3-cr has quit [Ping timeout: 240 seconds]
antgel has quit [Ping timeout: 240 seconds]
Devalo has joined #ruby
saslam has quit [Read error: Connection reset by peer]
saslam has joined #ruby
jhack has joined #ruby
djbkd has joined #ruby
neuraload has quit [Quit: Leaving]
jhack has quit [Client Quit]
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ishido has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
gusrub has joined #ruby
jhack has joined #ruby
gusrub has quit [Client Quit]
al2o3-cr has joined #ruby
flashbang has quit [Ping timeout: 245 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
jrafanie has joined #ruby
gregf_ has quit [Quit: Page closed]
kht has quit [Ping timeout: 248 seconds]
TomyLobo has joined #ruby
skweek has joined #ruby
djbkd has quit [Remote host closed the connection]
StoneCypher has quit [Ping timeout: 252 seconds]
djbkd has joined #ruby
icey has quit [Remote host closed the connection]
armyriad has joined #ruby
chouhoulis has joined #ruby
the_drow has joined #ruby
millerti has joined #ruby
sdothum has quit [Read error: Connection reset by peer]
FMan has joined #ruby
conta has joined #ruby
djbkd has quit [Ping timeout: 276 seconds]
chouhoulis has quit [Ping timeout: 240 seconds]
sdothum has joined #ruby
renchan has quit [Quit: Leaving...]
djbkd has joined #ruby
saslam has quit [Read error: Connection reset by peer]
saslam has joined #ruby
croberts has quit [Read error: Connection reset by peer]
eelster_ has joined #ruby
sepp2k has joined #ruby
hightower2 has joined #ruby
croberts has joined #ruby
[Butch]_ has joined #ruby
eelster has quit [Ping timeout: 260 seconds]
xen0fon has quit [Quit: xen0fon]
grh has joined #ruby
[Butch] has quit [Ping timeout: 256 seconds]
[Butch]_ is now known as [Butch]
gusrub has joined #ruby
markholmes has joined #ruby
alexherbo2 has quit [Quit: WeeChat 1.6]
croberts_ has joined #ruby
dhollinger has joined #ruby
wrkrcoop has left #ruby [#ruby]
croberts has quit [Ping timeout: 260 seconds]
StoneCypher has joined #ruby
Burgestrand has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alibby1 has quit [Read error: No route to host]
elaptics has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
alibby has joined #ruby
gusrub has quit [Remote host closed the connection]
saslam has quit [Read error: Connection reset by peer]
duderonomy has joined #ruby
saslam has joined #ruby
jhack has quit [Ping timeout: 248 seconds]
TheHodge has quit [Quit: Connection closed for inactivity]
Asher has quit [Quit: Leaving.]
flashbang has joined #ruby
blackmes1 has quit [Ping timeout: 255 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
flashbang has quit [Ping timeout: 276 seconds]
chouhoulis has joined #ruby
jhn has joined #ruby
nanoz has joined #ruby
_geoff has quit [Ping timeout: 264 seconds]
Asher has joined #ruby
hightower2 has quit [Ping timeout: 255 seconds]
lxsameer has quit [Ping timeout: 240 seconds]
saslam has quit [Read error: Connection reset by peer]
saslam has joined #ruby
prestorium has joined #ruby
solocshaw has joined #ruby
shayan_ has joined #ruby
Guest95724 is now known as ged
ged is now known as Guest70015
the_drow has quit [Quit: This computer has gone to sleep]
ifctj has joined #ruby
cajone has quit [Ping timeout: 240 seconds]
tvl has joined #ruby
tvl is now known as tobiasvl
scottj has joined #ruby
skweek has quit [Ping timeout: 252 seconds]
jhack has joined #ruby
ddffg has joined #ruby
tyang_ has joined #ruby
saslam has quit [Read error: Connection reset by peer]
saslam has joined #ruby
kht has joined #ruby
solocshaw has quit [Ping timeout: 240 seconds]
tyang__ has joined #ruby
tyang has quit [Ping timeout: 256 seconds]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
last_staff has joined #ruby
flyingX has quit []
tyang_ has quit [Ping timeout: 256 seconds]
Fire-Dragon-DoL has quit [Remote host closed the connection]
cajone has joined #ruby
Fernando-Basso has joined #ruby
conta has quit [Quit: conta]
tvw has quit [Remote host closed the connection]
jrafanie has quit [Quit: Textual IRC Client: www.textualapp.com]
enyo has joined #ruby
ddffg has quit [Ping timeout: 240 seconds]
TheWhip has quit [Remote host closed the connection]
saslam has quit [Read error: Connection reset by peer]
skweek has joined #ruby
saslam has joined #ruby
enyo has quit [Ping timeout: 255 seconds]
psychicist__ has joined #ruby
shayan_ has quit [Quit: shayan_]
_geoff has joined #ruby
unshadow has joined #ruby
wugy has quit []
jrafanie has joined #ruby
JoshS has joined #ruby
jrafanie has quit [Client Quit]
unshadow_ has quit [Ping timeout: 248 seconds]
nankyokusei has joined #ruby
hahuang61 has quit [Ping timeout: 245 seconds]
jrafanie has joined #ruby
jshjsh has quit [Ping timeout: 240 seconds]
jhack has quit [Quit: jhack]
_geoff has quit [Ping timeout: 264 seconds]
bocaneri has quit [Read error: Connection reset by peer]
jhack has joined #ruby
ramfjord has joined #ruby
jaequery has joined #ruby
tyang_ has joined #ruby
nankyokusei has quit [Ping timeout: 248 seconds]
JeanCarloMachado has joined #ruby
unshadow_ has joined #ruby
saslam has quit [Read error: Connection reset by peer]
tyang__ has quit [Ping timeout: 240 seconds]
Definity has joined #ruby
ddffg has joined #ruby
Devalo has quit [Remote host closed the connection]
saslam has joined #ruby
iogf has joined #ruby
zeroDi has joined #ruby
Fire-Dragon-DoL has joined #ruby
_geoff has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xentil has quit [Remote host closed the connection]
shayan_ has joined #ruby
aidalgol has joined #ruby
chouhoul_ has joined #ruby
ShoaibJahejo has quit [Ping timeout: 240 seconds]
astrobunny has joined #ruby
__Yiota has joined #ruby
__Yiota has quit [Remote host closed the connection]
dc2 has joined #ruby
chouhoulis has quit [Ping timeout: 248 seconds]
ShoaibJahejo has joined #ruby
cdg has quit [Remote host closed the connection]
saslam_ has joined #ruby
ifctj has quit [Ping timeout: 260 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
AndBobsYourUncle has joined #ruby
sebastiansier has joined #ruby
saslam has quit [Ping timeout: 240 seconds]
sebastia_ has quit [Read error: Connection reset by peer]
irondocwatson has joined #ruby
whathappens has quit [Remote host closed the connection]
jhack has quit [Ping timeout: 255 seconds]
dc2 has quit [Ping timeout: 240 seconds]
shayan_ has quit [Quit: shayan_]
whathappens has joined #ruby
hahuang61 has joined #ruby
astrobunny has quit [Remote host closed the connection]
whathappens has quit [Read error: Connection reset by peer]
whathapp_ has joined #ruby
irondocwatson has quit [Ping timeout: 240 seconds]
astrobunny has joined #ruby
vali_ has joined #ruby
ponga has quit [Quit: Connection closed for inactivity]
whathapp_ has quit [Remote host closed the connection]
duckpuppy has quit [Quit: WeeChat 1.6]
whathappens has joined #ruby
maxwell has joined #ruby
<maxwell> i am trying to remember a gem that lets you import a subset of your prod data
<maxwell> you give it an active record model, and it spiders all associations
<maxwell> ring any bells for anyone?
Guest49439 has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
whathapp_ has joined #ruby
astrobunny has quit [Ping timeout: 264 seconds]
kht has quit [Ping timeout: 264 seconds]
chouhoul_ has quit [Remote host closed the connection]
Guest70015 is now known as ged
ged is now known as Guest62742
chouhoulis has joined #ruby
shayan_ has joined #ruby
unreal has quit [Ping timeout: 256 seconds]
ifctj has joined #ruby
flashbang has joined #ruby
skweek has quit [Ping timeout: 252 seconds]
flashbang has quit [Client Quit]
DoubleMalt has quit [Ping timeout: 240 seconds]
kht has joined #ruby
hightower2 has joined #ruby
duckpuppy has joined #ruby
Rodya_ has joined #ruby
Cohedrin_ has joined #ruby
matp has quit [Remote host closed the connection]
jhack has joined #ruby
DoubleMalt has joined #ruby
ur5us has joined #ruby
matp has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
duckpuppy has quit [Ping timeout: 240 seconds]
StoneCypher has quit [Ping timeout: 260 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
02HAAAAAN is now known as tomaw
ldnunes has quit [Quit: Leaving]
vali_ has quit [Quit: Textual IRC Client: www.textualapp.com]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
yqt has joined #ruby
chouhoul_ has joined #ruby
magellanicloud has joined #ruby
harai_ has joined #ruby
jhack has quit [Ping timeout: 240 seconds]
GinoManWorks has quit [Quit: Leaving]
chouhoulis has quit [Ping timeout: 248 seconds]
grh has quit [Remote host closed the connection]
skweek has joined #ruby
StoneCypher has joined #ruby
jhack has joined #ruby
cjbottaro has quit [Quit: Textual IRC Client: www.textualapp.com]
kht has quit [Ping timeout: 255 seconds]
benlieb has quit [Quit: benlieb]
_geoff_ has joined #ruby
Devalo has joined #ruby
StoneCypher has quit [Ping timeout: 255 seconds]
alexar_ has quit [Remote host closed the connection]
alexar has joined #ruby
_geoff has quit [Ping timeout: 276 seconds]
ifctj has quit [Ping timeout: 240 seconds]
benlieb has joined #ruby
DoubleMalt has quit [Ping timeout: 240 seconds]
cyberarm has joined #ruby
Asher has quit [Quit: Leaving.]
Devalo has quit [Ping timeout: 264 seconds]
Asher has joined #ruby
alexar has quit [Ping timeout: 240 seconds]
blackmes1 has joined #ruby
<ytti_> consider this
<ytti_> 'GigabitEthernet0/0/0:42.5'.scan(/\d+/).inject{|m,c|}
jhn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ytti_> i want to output integer (as a reflective of order number for sorting)
Asher has quit [Read error: Connection reset by peer]
JeanCarloMachado has joined #ruby
<ytti_> the number on left is more indicative than the numbers on right
<ytti_> obviously want something like number * 1024 * POS
<ytti_> and then add the numbers
<ytti_> but there isn't #inject_with_index
Asher has joined #ruby
<ytti_> obviously i could just do this in #each_with_index or any other loop
Asher has quit [Client Quit]
<ytti_> but inject seems like Right Choice, is there way to somehow get my iteration count in inject block?
<havenwood> ytti_: Can you show example inputs and the desired output?
<havenwood> ytti_: Say more about the sort order?
markholmes has quit [Ping timeout: 255 seconds]
<havenwood> >> %w[GigabitEthernet10/0/0:42.5 GigabitEthernet9/0/0:42.5 GigabitEthernet9/0/1:42.5].sort_by { |s| s.scan(/\d+/).map &:to_i } # ytti_, here's ordered by number occurance from left to right
<ruby[bot]> havenwood: # => ["GigabitEthernet9/0/0:42.5", "GigabitEthernet9/0/1:42.5", "GigabitEthernet10/0/0:42.5"] (https://eval.in/719382)
<ytti_> [46] pry(main)> pos=1
<ytti_> [47] pry(main)> 'GigabitEthernet0/0/0:42.5'.scan(/\d+/).reverse.inject(0){|m,c|m+c.to_i*1024*pos}
<ytti_> => 1
<ytti_> => 48128
<ytti_> something like this
<ytti_> but with the pos actually incrementing
<ytti_> i cannot know how many number potitions do i have, or how they are delimitered
kht has joined #ruby
<havenwood> err, so if you had `[0, 1, 2, 3]` what would the desired Integer result be?
<ytti_> 0*1024*1 + 1*1024*2 2*1024*3 + 3*1024*4
<ytti_> essentially think of it as reverse of divmod, i could then recover the numbers again, with #divmod(1024)
<ytti_> well #divmod(1024*pos)
<havenwood> ytti_: so the result would be 14336?
<havenwood> ytti_: In Ruby 2.4 you could say: each_with_index.sum { |integer, index| index * integer * 1024 }
dionysus69 has quit [Ping timeout: 252 seconds]
<ytti_> could i do inject.with_object or something
<havenwood> >> [0, 1, 2, 3].map.with_index { |integer, index| index * integer * 1024 }.inject :+
<ruby[bot]> havenwood: # => 14336 (https://eval.in/719383)
prestorium has quit [Quit: Leaving]
douglascorrea has quit [Ping timeout: 252 seconds]
nettoweb has joined #ruby
<havenwood> ytti_: if you're pre 2.4, there's ^ one option
<ytti_> thanks
<ytti_> that'll do fine
<dminuoso> Folks have not migrated yet to 2.4?
<ytti_> amazing, it's been out like month
<dminuoso> 2.4.0, 2.4, 2, latest (2.4/Dockerfile)
<dminuoso> Ready to ship!
<dminuoso> This week I have become a docker fanatic.
benlieb has quit [Quit: benlieb]
maxwell has quit [Quit: maxwell]
pawnbox_ has quit [Quit: gotta go guys.]
_pastel has joined #ruby
kht has quit [Ping timeout: 248 seconds]
jhack has quit [Ping timeout: 248 seconds]
solocshaw has joined #ruby
Asher has joined #ruby
StoneCypher has joined #ruby
<ytti_> havenwood, can you think of in-place fill there?
<ytti_> havenwood, i consider i have GigabitEthernet1/0/0 and GigabitEthernet0/0/0:42.5
<ytti_> havenwood, i want the first actually to be higher
<ytti_> havenwood, the obviously solution is ary.fill("0", ary.size..10)
<ytti_> havenwood, but can that be done in-place
<elomatreb> I don't think you need to put a mention in every line oO
jhack has joined #ruby
cdg has joined #ruby
JeanCarloMachado has quit [Ping timeout: 260 seconds]
ramfjord has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
Velizar_ has joined #ruby
whathapp_ has quit [Remote host closed the connection]
Moosashi has joined #ruby
jhack has quit [Ping timeout: 248 seconds]
Velizar has quit [Ping timeout: 248 seconds]
jhack_ has joined #ruby
Velizar_ is now known as Velizar
Asher1 has joined #ruby
Gasher has quit [Ping timeout: 260 seconds]
chouhoulis has joined #ruby
enyo has joined #ruby
jshjsh has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
StoneCypher has quit [Ping timeout: 240 seconds]
Asher has quit [Ping timeout: 248 seconds]
Asher1 has quit [Client Quit]
Asher has joined #ruby
hhatch has quit [Quit: leaving]
JoshS has quit [Ping timeout: 276 seconds]
enyo has quit [Ping timeout: 245 seconds]
StoneCypher has joined #ruby
hahuang61 has quit [Ping timeout: 240 seconds]
_pastel has quit [Quit: leaving]
Guest49439 has quit [Ping timeout: 240 seconds]
Moosashi has quit [Quit: Moosashi]
Guest62742 is now known as ged
yoones has joined #ruby
ged is now known as Guest83367
tvw has joined #ruby
Gasher has joined #ruby
ramfjord_ has joined #ruby
Guest49439 has joined #ruby
Rodya_ has quit [Remote host closed the connection]
spacheco has joined #ruby
SeepingN has joined #ruby
Rodya_ has joined #ruby
DoubleMalt has joined #ruby
skweek has joined #ruby
<yoones> Hi. I'm trying to figure out how to write a ruby program that executes the following code (http://pastebin.com/zu6ebMZM) and dumps the list of fields with their data type. So far I wrote this (http://pastebin.com/Fbsdpaat) but I struggle to understand how to handle the create_table method that takes a block
<ruby[bot]> yoones: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/a1f2bef079e7e72d48c378793350333e
<ruby[bot]> yoones: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
maxwell has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
<yoones> any help with that ?
Fernando-Basso has quit [Ping timeout: 240 seconds]
Rodya_ has quit [Ping timeout: 255 seconds]
jhn has joined #ruby
last_staff has quit [Quit: last_staff]
jhack_ has quit [Quit: jhack_]
Asher has quit [Quit: Leaving.]
<yoones> rever mind, I found a way
yoones has quit [Quit: Leaving]
statelesscode has joined #ruby
Rodya_ has joined #ruby
nankyokusei has joined #ruby
xen0fon has joined #ruby
xen0fon has quit [Client Quit]
jenrzzz has joined #ruby
jhack has joined #ruby
croberts_ is now known as croberts
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
foooobear has quit [Quit: (null)]
TheWhip has joined #ruby
nankyokusei has quit [Ping timeout: 245 seconds]
jhack has quit [Ping timeout: 248 seconds]
djbkd has quit [Remote host closed the connection]
hahuang61 has joined #ruby
maxwell has quit [Quit: maxwell]
<ytti_> havenwood, works grand - http://p.ip.fi/lKU7
Devalo has joined #ruby
gusrub has joined #ruby
Fernando-Basso has joined #ruby
michalmx2 has joined #ruby
JeanCarloMachado has joined #ruby
Devalo has quit [Ping timeout: 264 seconds]
nanoz has quit [Read error: Connection reset by peer]
chrisja has joined #ruby
djbkd has joined #ruby
hahuang61 has quit [Ping timeout: 264 seconds]
alexar has joined #ruby
TheWhip has quit [Remote host closed the connection]
psychicist__ has quit [Ping timeout: 248 seconds]
workmad3 has joined #ruby
Lord_of_Life has quit [Excess Flood]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
irondocwatson has joined #ruby
JeanCarloMachado has joined #ruby
synthroid has quit []
Gasher has quit [Quit: Leaving]
blackmes1 has quit [Ping timeout: 255 seconds]
kegster has joined #ruby
Lord_of_Life has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
<kegster> if i'm wanting to create a ruby object but have the keys be dynamic via a loop... so let's say i loop thru "pages" i want an object to be {page1:foo,page2:foo} etc -- so i have p_index in my loop and try to do someOutput['page'+( p_index.to_i + 1)] - and i think this is causing an error
Asher has joined #ruby
kht has joined #ruby
Jayson_Virissimo has quit []
biberu has quit []
irondocwatson has quit [Ping timeout: 252 seconds]
<apeiros> kegster: are you sure you mean "object" and not "hash"?
<kegster> probably hash
<apeiros> and yeah, `string + int` fails in ruby.
<apeiros> you have to convert to string or use string interpolation (which does the conversion for you)
<kegster> i imagine i need .to_s after my ) ?
<mordocai> I'd probably do the interpolation "page#{p_index.to_i + 1}"
aidalgol has quit [Quit: Rebooting...]
<apeiros> so: 'page'+( p_index.to_i + 1).to_s or "page#{p_index.to_i + 1}"
<apeiros> most ruby coders prefer the second solution
jhack has joined #ruby
<kegster> but foo["page#{p_index.to_i + 1}"] is ok?
iogf has quit [Remote host closed the connection]
<kegster> i remember having to use foo[:something] but something was the has hi think
<apeiros> yes
<apeiros> hashes accept almost any object as keys
Guest49439 has quit [Ping timeout: 264 seconds]
<apeiros> :something is a different key than "something"
<Radar> Not according to HashWithIndifferentAccess :dhhface:
<apeiros> all keys must do is implement #hash and #eql?
<apeiros> Radar: we're talking about Hash, not hwia
<apeiros> and now I wonder whether there's a way to get my irc client to substitute :dhhface:, thank you very much :<
blackmes1 has joined #ruby
whathappens has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
scottj has quit [Quit: leaving]
gloscombe has joined #ruby
jenrzzz_ has joined #ruby
jakebriggs[m] has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
JeanCarloMachado has joined #ruby
ivanskie has joined #ruby
JeanCarloMachado has quit [Remote host closed the connection]
Guest49439 has joined #ruby
__Yiota has joined #ruby
dc2 has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
xen0fon has joined #ruby
<kegster> apeiros, you are pretty awesome haha
<kegster> thx :D
<kegster> i'm using an API inside a 100% js app, but the API allows me to extend it only by running an endpoint which executes ruby snuppets lol
<kegster> snippets*
<kegster> which ironically has it's own API
JeanCarloMachado has joined #ruby
<Eiam> apeiros: what client
<apeiros> eh, limechat. zero chance one could do that.
<Eiam> I think in textual you could modify the design.css file for your style
gg_ has joined #ruby
<Eiam> add new styles for the faces, then apply them to the string on parse
ltd has joined #ruby
hahuang61 has joined #ruby
solocshaw has quit [Ping timeout: 255 seconds]
Guest49439 has quit [Ping timeout: 240 seconds]
gg_ has quit [Remote host closed the connection]
minimalism has quit [Quit: minimalism]
kht has quit [Ping timeout: 260 seconds]
Guest83367 is now known as ged
ged is now known as Guest82524
xen0fon has quit [Quit: xen0fon]
jshjsh has quit [Ping timeout: 276 seconds]
matrix9180 has joined #ruby
ramortegui has quit [Quit: Ex-Chat]
kht has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
patarr has quit [Ping timeout: 255 seconds]
jenrzzz_ has quit [Ping timeout: 240 seconds]
Kug3lis has joined #ruby
matrix9180 has quit [Ping timeout: 256 seconds]
Kug3lis is now known as Kug3lis_off
magellanicloud has quit [Quit: Leaving]
AndBobsY_ has joined #ruby
spacheco has quit [Read error: Connection reset by peer]
spacheco has joined #ruby
markholmes has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
harai_ has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
maddmaxx has quit [Quit: Going offline, see ya! (www.adiirc.com)]
enyo_ has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
harai_ has joined #ruby
matp has quit [Remote host closed the connection]
enyo_ has quit [Ping timeout: 252 seconds]
matp has joined #ruby
jhack has quit [Ping timeout: 240 seconds]
polishdub has quit [Quit: Leaving]
wattt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ruler has joined #ruby
saslam_ has quit [Ping timeout: 255 seconds]
claw has quit [Ping timeout: 246 seconds]
bentanweihao has quit [Remote host closed the connection]
Fernando-Basso has quit [Quit: WeeChat 1.6]
bentanweihao has joined #ruby
ivanskie has quit [Quit: Going offline, see ya! (www.adiirc.com)]
cdg_ has joined #ruby
cdg_ has quit [Remote host closed the connection]
boakes has joined #ruby
boakes has quit [Client Quit]
claw has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
cdg has quit [Ping timeout: 248 seconds]
malconis_ has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 260 seconds]
saneax-_-|AFK is now known as saneax
wattt has joined #ruby
deadprez has joined #ruby
montanonic has quit [Ping timeout: 255 seconds]
marxarelli is now known as marxarelli|afk
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
kht has quit [*.net *.split]
hahuang61 has quit [*.net *.split]
skweek has quit [*.net *.split]
tvw has quit [*.net *.split]
dhollinger has quit [*.net *.split]
TomyLobo has quit [*.net *.split]
cibs has quit [*.net *.split]
LambdaSix has quit [*.net *.split]
cstrahan has quit [*.net *.split]
digitalfiz has quit [*.net *.split]
MrBloo has quit [*.net *.split]
cardoni has quit [*.net *.split]
jxf has quit [*.net *.split]
erlend has quit [*.net *.split]
biox has quit [*.net *.split]
tabakhase has quit [*.net *.split]
crayfishx_ has quit [*.net *.split]
Caius has quit [*.net *.split]
tristanp has quit [*.net *.split]
evertversteeg has quit [*.net *.split]
TinkerTyper has quit [*.net *.split]
h42r62[m] has quit [*.net *.split]
Xi[m] has quit [*.net *.split]
ruby[bot] has quit [*.net *.split]
kht has joined #ruby
erlend has joined #ruby
jxf has joined #ruby
cstrahan has joined #ruby
biox has joined #ruby
digitalfiz has joined #ruby
cibs has joined #ruby
LambdaSix has joined #ruby
tabakhase has joined #ruby
cardoni has joined #ruby
MrBloo has joined #ruby
crayfishx_ has joined #ruby
TomyLobo has joined #ruby
dhollinger has joined #ruby
Caius has joined #ruby
tvw has joined #ruby
tristanp has joined #ruby
skweek has joined #ruby
hahuang61 has joined #ruby
TinkerTyper has joined #ruby
Xi[m] has joined #ruby
h42r62[m] has joined #ruby
evertversteeg has joined #ruby
ruby[bot] has joined #ruby
maloik has quit [Remote host closed the connection]
digitalfiz has quit [Max SendQ exceeded]
dhollinger has quit [Max SendQ exceeded]
TomyLobo has quit [Max SendQ exceeded]
cstrahan has quit [Max SendQ exceeded]
jxf has quit [Max SendQ exceeded]
nankyokusei has joined #ruby
maloik has joined #ruby
dhollinger has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jxf has joined #ruby
govg has joined #ruby
deadprez has quit [Quit: Leaving...]
cdg has joined #ruby
digitalfiz has joined #ruby
statelesscode has quit [Quit: statelesscode]
nankyokusei has quit [Ping timeout: 256 seconds]
iogf has joined #ruby
cstrahan has joined #ruby
Guest82524 is now known as ged
cdg has quit [Ping timeout: 240 seconds]
j3r0 has quit [Ping timeout: 245 seconds]
ged is now known as Guest84174
_geoff_ has quit [Ping timeout: 255 seconds]
statelesscode has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Devalo has joined #ruby
marxarelli|afk is now known as marxarelli
solocshaw has joined #ruby
Rodya_ has joined #ruby
marxarelli is now known as marxarelli|afk
marxarelli|afk is now known as marxarelli
Devalo has quit [Ping timeout: 264 seconds]
Rodya_ has quit [Ping timeout: 255 seconds]
wattt has quit [Quit: Textual IRC Client: www.textualapp.com]
workmad3 has quit [Ping timeout: 240 seconds]
agent_wh1te is now known as agent_white
aidalgol has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has joined #ruby
kspencer is now known as Ken
Ken is now known as Guest4280
bentanweihao has quit [Remote host closed the connection]
bentanweihao has joined #ruby
montanonic has joined #ruby
nettoweb has joined #ruby
patarr has joined #ruby
irondocwatson has joined #ruby
skweek has quit [Ping timeout: 255 seconds]
patarr has quit [Ping timeout: 240 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
michalmx2_ has joined #ruby
irondocwatson has quit [Ping timeout: 258 seconds]
unshadow1 has joined #ruby
unshadow2 has joined #ruby
bentanweihao has quit [Remote host closed the connection]
bentanweihao has joined #ruby
SteenJobs has joined #ruby
dc2 has quit [Ping timeout: 240 seconds]
bentanweihao has quit [Remote host closed the connection]