havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.0; 2.2.4; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wldcordeiro has joined #ruby
flaf has left #ruby ["WeeChat 1.0.1"]
govg has quit [Ping timeout: 250 seconds]
william3 has joined #ruby
skweek has joined #ruby
charliesome has joined #ruby
n008f4g_ has joined #ruby
rahult_ has joined #ruby
thejamespinto_ is now known as thejamespinto
bronson has joined #ruby
karapetyan has quit [Remote host closed the connection]
rahult has quit [Ping timeout: 268 seconds]
ssiris has joined #ruby
govg has joined #ruby
william3 has quit [Ping timeout: 276 seconds]
Dimik1 has joined #ruby
solocshaw has joined #ruby
govg has quit [Ping timeout: 250 seconds]
cdg has quit [Remote host closed the connection]
giz|work has joined #ruby
govg has joined #ruby
giz|work has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bruno- has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
govg has quit [Ping timeout: 250 seconds]
ramfjord has quit [Ping timeout: 252 seconds]
Moosashi has joined #ruby
govg has joined #ruby
ur5us has quit [Remote host closed the connection]
bronson has quit [Remote host closed the connection]
Sammichmaker has joined #ruby
bronson has joined #ruby
kedare has quit [Quit: WeeChat 1.4]
rkazak has joined #ruby
govg has quit [Ping timeout: 244 seconds]
darkf has joined #ruby
elifoster has joined #ruby
statelesscode has joined #ruby
tvw has quit [Ping timeout: 250 seconds]
govg has joined #ruby
vdamewood has joined #ruby
SilverKey has quit [Quit: Halted.]
jaguarmagenta has joined #ruby
superscott has quit []
govg has quit [Ping timeout: 250 seconds]
Rutix has joined #ruby
Rutix has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bruno- has quit [Read error: Connection reset by peer]
chouhoul_ has joined #ruby
govg has joined #ruby
armatechnicos has joined #ruby
Moosashi has quit [Quit: Moosashi]
jaguarmagenta has quit [Ping timeout: 250 seconds]
kirun has quit [Quit: Client exiting]
CloCkWeRX has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
chouhoulis has quit [Ping timeout: 244 seconds]
skweek has quit [Ping timeout: 250 seconds]
neanderslob has joined #ruby
govg has quit [Ping timeout: 240 seconds]
rcvalle has quit [Quit: rcvalle]
chouhoul_ has quit [Ping timeout: 276 seconds]
duncannz has joined #ruby
bruno- has joined #ruby
sapslaj has quit [Ping timeout: 260 seconds]
chipotle has joined #ruby
grassass has joined #ruby
n008f4g_ has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Snowy has quit [Remote host closed the connection]
charliesome has joined #ruby
pawnbox has quit [Ping timeout: 268 seconds]
neanderslob has quit [Remote host closed the connection]
Dimik1 has quit [Ping timeout: 250 seconds]
lkba has quit [Ping timeout: 244 seconds]
senayar has quit []
ropeney has quit [Quit: Leaving]
RegulationD has joined #ruby
hxegon has joined #ruby
nando293921 has joined #ruby
ur5us has joined #ruby
neanderslob has joined #ruby
neanderslob has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 240 seconds]
armatechnicos has quit [Quit: Leaving]
aegis3121 has joined #ruby
rubie_ has quit [Remote host closed the connection]
finisherr has quit [Quit: finisherr]
bronson has quit [Remote host closed the connection]
bruno- has quit [Read error: Connection reset by peer]
DanKnox_ has quit [Quit: ZNC - http://znc.in]
Channel6 has joined #ruby
bruno- has joined #ruby
sudoubuntu has joined #ruby
KramerC has joined #ruby
duncannz has quit [Ping timeout: 240 seconds]
FooMunki has quit [Quit: FooMunki]
uri___ has joined #ruby
uri___ has quit [Client Quit]
karapetyan has joined #ruby
godzillaenlacasa has quit [Quit: ZZZZZ....]
diprotic is now known as monoprotic
dfoolz has quit [Quit: ZNC - http://znc.in]
jackjackdripper1 has quit [Quit: Leaving.]
<havenwood> ?rbenv
jenrzzz_ has quit [Ping timeout: 252 seconds]
karapetyan has quit [Ping timeout: 244 seconds]
<havenwood> crystal77: It seems the rbenv readme still shows manual rehashing. Folk still seem to need to rehash. Unsure.
<havenwood> crystal77: Use chruby to free yourself of your garden of shims and the need to rehash them: https://github.com/postmodern/chruby#readme
<havenwood> crystal77: Or if you like rbenv maybe search their docs for how to enable the autorehashing? I don't think there's an rbenv irc channel. There are #rvm or #chruby channels.
<crystal77> is this like rbenv? never heard of it
pawnbox has joined #ruby
mlakewood has quit [Quit: mlakewood]
<havenwood> crystal77: chruby sets env variables like GEM_HOME and GEM_PATH instead of maintaining shims for rubies and gems like rbenv
<havenwood> It's simpler and faster. No need to create a C extension for a shell builtin like rbenv.
<havenwood> crystal77: And then to enable autoswitching you can also source: https://github.com/postmodern/chruby/blob/master/share/chruby/auto.sh
<crystal77> Looks rad! I'm just surprised I've never seen it mention in any rails/ruby guide.
<crystal77> The RVM stuff got old quick.
terminalrecluse has joined #ruby
<havenwood> crystal77: Lots of folk still use RVM. I mostly see chruby recommended here and in #RubyOnRails. :)
pawnbox has quit [Ping timeout: 250 seconds]
sdothum has quit [Read error: Connection reset by peer]
diegoaguilar has joined #ruby
shum has joined #ruby
davedev2_ has joined #ruby
davedev24 has quit [Ping timeout: 276 seconds]
smathy is now known as smathy_afk
agentmeerkat has joined #ruby
xybre has quit [Quit: oh shit its the fbi]
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
BSab has joined #ruby
terminalrecluse has joined #ruby
kareeoleez has joined #ruby
neha- has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
terminalrecluse has quit [Client Quit]
jrafanie has joined #ruby
BrunoSaboia has quit [Ping timeout: 252 seconds]
bradleyprice has quit [Remote host closed the connection]
kareeoleez has quit [Ping timeout: 276 seconds]
jackjackdripper has joined #ruby
hxegon has quit [Ping timeout: 252 seconds]
noobsu has joined #ruby
x77686d has quit [Quit: x77686d]
rahult has joined #ruby
astrobunny has joined #ruby
rahult_ has quit [Read error: Connection reset by peer]
noobsu has quit [Ping timeout: 244 seconds]
jenenliu has joined #ruby
bradleyprice has joined #ruby
ropeney has joined #ruby
aegis3121 has quit [Read error: Connection reset by peer]
bradleyprice has quit [Ping timeout: 260 seconds]
chouhoulis has joined #ruby
yfeldblum has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
Cohedrin has joined #ruby
Cohedrin_ has quit [Ping timeout: 246 seconds]
<jenenliu> hi guys, my os is windows 7, I want to write a ruby script to open many instances of the same exe file
<jenenliu> how can I do that ?
<Arcaire> jenenliu: Install Ruby and write a for loop.
<jenenliu> I don't want to click so many times of the exe file
<jenenliu> can I write a script to click for me ?
<Arcaire> You can write a script to open the program yeah
<jenenliu> I mean, many cmd terminals open
bruno- has joined #ruby
pawnbox has joined #ruby
<jenenliu> are you sure ? I am afraid it will not pop up a new window
<Arcaire> Why wouldn't it?
<jenenliu> just run the program on the terminal I run ruby script
<Arcaire> Was that supposed to be an answer to my question?
vdamewood has quit [Ping timeout: 252 seconds]
<Arcaire> If not: Yeah, that's what I'd do in this case. You want to write a Ruby script that opens the application a certain amount of times, not one that clicks for you.
<Arcaire> Since all you're doing when you're clicking is opening the application, you can skip the click step.
rkazak has joined #ruby
replay has quit []
<jenenliu> but I want to do that
<Arcaire> Why do you want to click?
<Arcaire> You can just open the program without clicking.
Chagel has joined #ruby
rahult_ has joined #ruby
hxegon has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
<jenenliu> the app is a network client, and show many outputs, I want to see the output
rkazak has quit [Client Quit]
davedev2_ has quit [Ping timeout: 268 seconds]
rahult has quit [Ping timeout: 252 seconds]
vdamewood has joined #ruby
bronson has joined #ruby
davedev24 has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
A124 has quit [Read error: Connection reset by peer]
davedev2_ has joined #ruby
davedev24 has quit [Read error: Connection reset by peer]
BSaboia has joined #ruby
htmldrum has quit [Quit: Lost terminal]
bradleyprice has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
chipotle has quit [Quit: cheerio]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
A124 has joined #ruby
BSab has quit [Ping timeout: 252 seconds]
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
droptone has joined #ruby
flashpoint9 has joined #ruby
<droptone> Question: I use constants when declaring my logger instance so I can easily alter various components. For some reason though, despite me setting a constant to "monthly", when I declare my logger instance it does not generate a new log file every month.
<droptone> I'd gist this but it's two lines of code.
<droptone> Can someone see why this wouldn't work?
<droptone> LOGGER_FREQ = 'daily'; LOGGER_LEVEL = Logger::DEBUG;
<droptone> logger = Logger.new(LOGGER_FILENAME, LOGGER_FREQ); logger.level = LOGGER_LEVEL
<droptone> I'm testing using "daily" but LOGGER_LEVEL was previously set to 'monthly' and it had no effect
chipotle has joined #ruby
<droptone> yet LOGGER_FILENAME works fine
shum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
<droptone> Seems pretty basic, no?
coyo has quit [Ping timeout: 240 seconds]
sdothum has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
<ropeney> looks like it should work
<droptone> Yes, very strange.
<droptone> Would using single quotes when declaring the constant matter?
<ropeney> it shouldn't
<droptone> ok
<droptone> Right, so that shouldn't matter.
charliesome_ has joined #ruby
Moosashi has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
baweaver has quit [Remote host closed the connection]
arescorpio has joined #ruby
charliesome_ has quit [Client Quit]
chipotle has quit [Quit: cheerio]
freerobby has quit [Quit: Leaving.]
impermanence has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
<impermanence> What does "${::some_string}" in ruby, please?
davedev2_ has quit []
test has joined #ruby
mdih has joined #ruby
test is now known as Guest44238
<impermanence> anybody?
chipotle has joined #ruby
<Guest44238> test
solocshaw has quit [Ping timeout: 276 seconds]
ramfjord has joined #ruby
jaguarmagenta has joined #ruby
<impermanence> What does "${::some_string}" mean in ruby?
goodroot has quit [Ping timeout: 252 seconds]
<impermanence> fuck so after five this room is fucking dead, eh?
<impermanence> fuck I guess everybody is off work and just chilling. good.
<ropeney> nice attitude, did you try researching?
<ropeney> did you try testing in irb?
<ropeney> or post questions in here, swear when people don't stop their jobs and help you
neha_ has joined #ruby
<impermanence> Ha!
<impermanence> I got you to respond.
<impermanence> Relax man.
<impermanence> I was just kicking up the juice for a sec to see if anyone was actually here.
<impermanence> I posted my very basic question twice.
<impermanence> No response.
jaguarmagenta has quit [Ping timeout: 244 seconds]
<impermanence> So I figured I'd get ignorant for a second.
<impermanence> Sorry if I was offensive.
<ropeney> well your on your own from me now
<impermanence> shuckles. have a good night, then.
neha_ has quit [Client Quit]
neha- has joined #ruby
devbug has quit [Quit: ZZZzzz…]
<impermanence> hmm. seems like it is ruby syntax.
<impermanence> yeah. yeah.
<impermanence> I thought the double colons were for accessing stuff from outside something or other...
peter has joined #ruby
last_staff has joined #ruby
<peter> hi
<peter> how do I declare a gem wide utility function?
<peter> specifically, I have a gem, which has a top level module MyGem
<peter> and I'd like to make a set of puts_color methods global, within that module
<peter> such that in any methods or classes within the module I can simply use puts_red
hxegon has joined #ruby
x77686d has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
rkazak has joined #ruby
<peter> I declared the methods on the top level module, and other module methods (including submodules) can access them, but not classes defined within the modules
braincrash has joined #ruby
rkazak has quit [Client Quit]
zacstewart has joined #ruby
braincras has quit [Ping timeout: 240 seconds]
<peter> actually is there _any_ way a class within a module can access the module methods without including the module?
<peter> I'm beginning to think not
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
terminalrecluse has joined #ruby
pawnbox has joined #ruby
FooMunki has joined #ruby
brendan- has quit [Quit: Textual IRC Client: www.textualapp.com]
jackjackdripper has joined #ruby
Rodya_ has quit [Remote host closed the connection]
matp has quit [Quit: Textual IRC Client: www.textualapp.com]
<impermanence> peter, my friend, I asked for some guidance here as well, but it did not go so well.
<impermanence> And then I was rebuked for being rude.
pawnbox has quit [Ping timeout: 276 seconds]
<impermanence> Anyway, good luck!
x77686d has quit [Quit: x77686d]
<impermanence> I know nothing of this wonderful language so I couldn't help you anyway.
fedexo has joined #ruby
<impermanence> But in all seriousness I think this room gets very slow after work hours U.S.
<impermanence> I could be wrong.
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<impermanence> Hey, let me ask you, since you seem to know Ruby. Do you know if this syntax is Ruby: "${::some_string}" ?
<Arcaire> That looks like Perl.
<Arcaire> Variable interpolation in Ruby is with a #{}.
<Arcaire> "#{:some_symbol}"
<impermanence> Fuck. perl. what?
<impermanence> The guys at my office luuuuuuv perl...so that would make sense...
<impermanence> fudge.
Moosashi has quit [Quit: Moosashi]
karapetyan has joined #ruby
goodroot has joined #ruby
<impermanence> Hm. Why would they put perl in a puppet manifest?
Chagel has quit [Ping timeout: 244 seconds]
<Arcaire> Oh, if it's a Puppet manifest it's Puppet's own language kinda.
<Arcaire> It's not Ruby and it's kind of only half Perl.
<impermanence> I know. But puppet is written in Ruby and well I thought that you could talk to the ol' Pupp-dawg in ruby so fuck.
<impermanence> Arcaire: thanks for responding.
<impermanence> I just need to read is the deal.
<impermanence> But I'll be darned if that old Puppet Domain Specific Language doesn't look a lot like Ruby, man.
al2o3-cr has joined #ruby
roger_rabbit has quit [Ping timeout: 260 seconds]
<Arcaire> "its syntax was inspired by the Nagios configuration file format"
<impermanence> Arcaire: I guess I was hoping that learning puppet would give me an excuse to learn Ruby since puppet is written in Ruby.
jenenliu has quit [Read error: Connection reset by peer]
karapetyan has quit [Ping timeout: 244 seconds]
bruno- has quit [Read error: Connection reset by peer]
bronson has joined #ruby
<Arcaire> Chef is probably what you're after in that case.
<Arcaire> The recipes for Chef are in Ruby.
<Arcaire> afaik you can use Puppet too but not for that.
<impermanence> Arcaire: you're right about chef. I actually wish we used chef, big time, for that exact reason, too.
<impermanence> Anyway, yeah, okay, so I need to look at the docs. Good night, to you, Sir. Thanks for talking. Talk to you later maybe.
<al2o3-cr> i knew a chef once, lovely piece of duck
<Arcaire> Cheers impermanence. See ya. :)
<Arcaire> [12:36:47] <peter>how do I declare a gem wide utility function?
<impermanence> al2o3-cr: confit si my favorite. How about you?
<Arcaire> class MyModule::Utility
<Arcaire> end
<Arcaire> ;)
nisstyre_ has quit [Ping timeout: 252 seconds]
<al2o3-cr> impermanence: pan fried, then oven quite simple like me
bronson has quit [Ping timeout: 252 seconds]
Rodya_ has joined #ruby
<al2o3-cr> with a bit of slag bag sauce
braincrash has quit [Quit: bye bye]
bruno- has joined #ruby
<impermanence> al2o3-cr: am I walking into an American trap here...what is slag bag sauce?
<Arcaire> impermanence: I opted not to Google it just in case.
<al2o3-cr> impermanence: someting tart
stardiviner has quit [Ping timeout: 244 seconds]
<impermanence> al2o3-cr: (I'm tough) ((sigh of relief)) Oh, okay. cool. yeah, tart is good.
<impermanence> Arcaire: I goog'd immediately.
<Arcaire> impermanence: I'm presently in the office so Googling it may have resulted in questions. :D
<impermanence> Arcaire: yeah, I gathered that. What country are you in?
<Arcaire> East Australia.
devbug has joined #ruby
<impermanence> Arcaire: Damn, cool. Wish I was there. The states are shit right now. Alright, I really have to go now. Later guys.
zenlot6 has joined #ruby
<Arcaire> See ya.
impermanence has quit [Quit: leaving]
<Arcaire> >the states are shit right now
<Arcaire> I hope impermanence is voting to make America great again, in that case.
impermanence has joined #ruby
zenlot has quit [Ping timeout: 276 seconds]
yfeldblum has quit [Remote host closed the connection]
devbug has quit [Read error: Connection reset by peer]
ebbflowgo has joined #ruby
smathy_afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
peter has quit [Ping timeout: 250 seconds]
bruno- has quit [Read error: Connection reset by peer]
braincrash has joined #ruby
bruno- has joined #ruby
Moosashi has joined #ruby
Spami_ has quit [Quit: This computer has gone to sleep]
stardiviner has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
Channel6 has quit [Quit: Leaving]
rideh has quit [Ping timeout: 276 seconds]
CloCkWeRX has quit [Ping timeout: 276 seconds]
hostess has quit [Quit: No Ping reply in 180 seconds.]
rideh has joined #ruby
impermanence has quit [Quit: leaving]
Spami has joined #ruby
pawnbox has joined #ruby
Spami has quit [Client Quit]
zast has joined #ruby
mattp_ has quit [Read error: Connection reset by peer]
hostess has joined #ruby
mattp_ has joined #ruby
pawnbox has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Remote host closed the connection]
bruno- has quit [Read error: Connection reset by peer]
SilverKey has joined #ruby
bruno- has joined #ruby
devbug has joined #ruby
jackjackdripper has joined #ruby
gix has quit [Ping timeout: 240 seconds]
Moosashi has quit [Quit: Moosashi]
nisstyre_ has joined #ruby
gix has joined #ruby
jobewan has joined #ruby
shinnya has quit [Ping timeout: 250 seconds]
jud has quit [Ping timeout: 240 seconds]
Moosashi has joined #ruby
hostess has quit [Quit: No Ping reply in 180 seconds.]
arlek_ has quit [Ping timeout: 240 seconds]
hxegon has joined #ruby
grassass has quit [Ping timeout: 260 seconds]
hostess has joined #ruby
bluOxigen has joined #ruby
zenlot has joined #ruby
QpQ4_ has joined #ruby
jevs has quit [Quit: Connection closed for inactivity]
Moosashi has quit [Quit: Moosashi]
zenlot6 has quit [Ping timeout: 250 seconds]
william3 has joined #ruby
LoneHerm_ has joined #ruby
Moosashi has joined #ruby
karapetyan has joined #ruby
PaulCape_ has joined #ruby
pawnbox has joined #ruby
william3 has quit [Ping timeout: 260 seconds]
yxhuvud has quit [Ping timeout: 260 seconds]
aydintd has quit [Ping timeout: 260 seconds]
tubbo has quit [Ping timeout: 244 seconds]
yxhuvud has joined #ruby
terminalrecluse has joined #ruby
LoneHerm_ has quit [Ping timeout: 268 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
PaulCapestany has quit [Ping timeout: 260 seconds]
karapetyan has quit [Ping timeout: 244 seconds]
CloCkWeRX has joined #ruby
aydintd has joined #ruby
pawnbox has quit [Ping timeout: 268 seconds]
brent__ has quit [Quit: Connection closed for inactivity]
tax has joined #ruby
Moosashi has quit [Quit: Moosashi]
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kareeoleez has joined #ruby
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Cohedrin_ has joined #ruby
Cohedrin has quit [Ping timeout: 244 seconds]
bruno- has quit [Ping timeout: 276 seconds]
Yeomra has joined #ruby
tubbo has joined #ruby
last_staff has quit [Quit: last_staff]
Rasi has quit [Ping timeout: 260 seconds]
zacts has quit [Ping timeout: 260 seconds]
vdamewood has quit [Quit: Life beckons.]
vdamewood has joined #ruby
zacts has joined #ruby
zacts is now known as Guest55535
Yeomra has quit [Quit: WeeChat 1.4]
Dimik1 has joined #ruby
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
baweaver has joined #ruby
pawnbox has joined #ruby
jaguarmagenta has joined #ruby
vF3hNGxc47h8 has quit [Remote host closed the connection]
astrobu__ has joined #ruby
Moosashi has joined #ruby
pawnbox has quit [Remote host closed the connection]
Spami has joined #ruby
Rasi has joined #ruby
pawnbox has joined #ruby
astrobunny has quit [Ping timeout: 246 seconds]
Chagel has joined #ruby
jaguarmagenta has quit [Ping timeout: 252 seconds]
bb010g has joined #ruby
astrobu__ has quit [Ping timeout: 246 seconds]
Guest44238 has quit [Quit: Page closed]
agentmee1kat has joined #ruby
agentmeerkat has quit [Ping timeout: 260 seconds]
rbennace_ has joined #ruby
rbennacer has quit [Ping timeout: 260 seconds]
dopie has quit [Quit: Lost terminal]
chipotle has quit [Quit: cheerio]
dopie has joined #ruby
tvon has quit [Quit: System is sleeping...]
matp has joined #ruby
Blaguvest has quit [Remote host closed the connection]
QpQ4_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vdamewood has quit [Quit: Life beckons.]
tvon has joined #ruby
crystal77 has joined #ruby
RegulationD has joined #ruby
elifoster has quit [Ping timeout: 250 seconds]
Chagel has quit [Ping timeout: 252 seconds]
zacstewart has quit [Quit: Lost terminal]
Chagel has joined #ruby
rbennace_ has quit [Remote host closed the connection]
william3 has joined #ruby
rbennacer has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
arahael has joined #ruby
<arahael> : invalid byte sequence in UTF-8 (ArgumentError) <-- How do I fix this?
<arahael> I've already called: .encode! "UTF-8"
<baweaver> !g invalid byte sequence in UTF-8
duncannz has joined #ruby
<arahael> baweaver: Yes, I've seen that. But if the string had an invalid sequence, then surely the .encod!e itself should fail?
tildes has quit [Read error: Connection reset by peer]
<arahael> *.encode!
william3 has quit [Ping timeout: 260 seconds]
phpwebdev has quit [Ping timeout: 276 seconds]
tildes has joined #ruby
<baweaver> did you read _all_ of it?
zacstewart has joined #ruby
zacstewart has quit [Client Quit]
<baweaver> string.encode('UTF-8', 'binary', invalid: :replace, undef: :replace, replace: '')
zacstewart has joined #ruby
<arahael> baweaver: Well, that doesn't make sense. What source encoding is "binary"?
<baweaver> &ri String#encode
<arahael> baweaver: And furthermore, the error I get with that line is *after* the encode! call. Ie, when it's been encoded.
<baweaver> !code
<baweaver> ?code
<ruby[bot]> We can't help you without your code, please post it to https://gist.github.com
* baweaver mumbles something about bot prefixes
<arahael> baweaver: I just found something subtle in those docs: If the source and target encodings are the same, then encode! is a no-op.
<arahael> And as it turns out, the encoding is UTF-8 for some unfathomable reason. How does ruby guess the results of my `shell calls`?
* baweaver shrugs
<arahael> so, I have, for instance: p = `diff foo bar`, and I'm surprised to see that p.encoding is UTF-8.
<baweaver> probably a system configuration, though I wouldn't know where to look
arescorpio has quit [Quit: Leaving.]
<baweaver> also naming something p is a bad idea
<arahael> I have p to represent "patch".
<baweaver> then type out patch
kfpratt has joined #ruby
<arahael> It's only a local variable.
<baweaver> p is a method, which will lead to confusion later.
<arahael> How so?
<arahael> I mean, p is a method?
<baweaver> people reading your code
<baweaver> yep
<baweaver> puts *.inspect == p *
<baweaver> well, p returns the object as well
<baweaver> >> p 1
<ruby[bot]> baweaver: # => 1 ...check link for more (https://eval.in/557838)
<baweaver> more of from a glance it's going to confuse people, so best to avoid that.
devbug has quit [Quit: ZZZzzz…]
<arahael> I see ruby has built-in one-character methods. I guess I learnt something new.
<baweaver> not a fan of it myself, but such it is
devbug has joined #ruby
<arahael> baweaver: It sounded more like that it was a bad name, because it's a confusing name that doesn't explain what it is for.
<arahael> baweaver: But as it clobbers a builtin, that's an excellent reason to avoid it.
<baweaver> it won't clobber it
<arahael> For that scope, anyway.
<baweaver> it'll just be annoying to read
<baweaver> the parser can tell
<arahael> Ah. Still confusing in any case.
<baweaver> >> p = 5; p 6
<ruby[bot]> baweaver: # => 6 ...check link for more (https://eval.in/557842)
sauvin has joined #ruby
<baweaver> which is why I avoid it
<arahael> So, my p1 and p2 are still fine.
nando293921 has quit [Ping timeout: 240 seconds]
<baweaver> If I told you Ruby has a p1 to p50 function?
<arahael> Then I give up on ruby!
* baweaver is pulling your leg on that one
<baweaver> as far as default encoding it's probably set on a system level
<baweaver> probably based on locale
<arahael> I suspect it's incorrectly getting it from my locale, yeah.
jenrzzz has joined #ruby
<arahael> Even though there's no reason whatsoever that the output of an arbitrary command would be in that locale.
atmosx_alt is now known as atmosx
<arahael> Heck, it would still think that: music = `cat /dev/pcm` would be UTF-8 encoded.
<arahael> (No, don't do that...)
<arahael> Now that I've forced the encoding, it makes a lot more sense.
<arahael> patch.force_encoding('binary').encode('UTF-8') results in the error. Which is good.
Don_John has joined #ruby
noobsu has joined #ruby
ICantCook has quit [Quit: bye]
apeiros has quit [Ping timeout: 260 seconds]
<arahael> baweaver: This is where I'd say that python does it better - but python3 probably does the same thing. :(
noobsu has quit [Remote host closed the connection]
Moosashi has quit [Read error: Connection reset by peer]
Moosashi has joined #ruby
hxegon has joined #ruby
<baweaver> are they still arguing over 2 vs 3?
<arahael> Not as such. More that they've mutually decided not to talk about it.
<baweaver> that's healthy
galeido has quit [Ping timeout: 260 seconds]
<arahael> pypy, for instance, is python2 comptible, they're not focusing on python3 at all due lack of funding.
galeido has joined #ruby
galeido has joined #ruby
galeido has quit [Changing host]
<arahael> There's a pypy3 version, but that isn't anywhere nearly as good as the pypy release, apparently)
apeiros has joined #ruby
<baweaver> Python rules and formatting always bothered me, but the 2 3 debate and shenanigans kinds seals it for me.
<arahael> baweaver: It's widely regarded as a bit of a mistake.
<baweaver> Sure, Ruby has its issues
<arahael> For sure.
<arahael> Though, I feel that ruby-the-language is better.
<baweaver> but end of the day I can trust that the community will move forwards and Matz will make sane calls
<arahael> I otherwise prefer python's ecosystem, though ruby is maturing nicely.
<baweaver> Though Ruby 3.... That'll be interesting
aufi_ has joined #ruby
astrobunny has joined #ruby
<baweaver> SciRuby is a thing now as well.
<arahael> I wasn't impressed with how ruby kept breaking code from 1.8, 1.9, and 2.0
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<arahael> (Particularly relating to encodings)
<baweaver> 1.8 to 1.9 and 1.9.2 to 1.9.3 were the bad ones
<baweaver> other than that it's been fairly straightforward
astrobu__ has joined #ruby
<arahael> That sounds like my experience there.
<baweaver> after 1.9.3 I've not had any major issues.
flashpoint9 has joined #ruby
<baweaver> 1.8.7 was straight shenanigans
<arahael> In ruby's credit, even those "bad ones" could still be coped with. In python's case, it's effectively a different langauge.
Chagel has quit [Ping timeout: 260 seconds]
Devalo has joined #ruby
<baweaver> Scala has a nasty habit of binary incompatibility
<arahael> I could never quite get into Scala.
<baweaver> even on minor patches
<arahael> Going into haskell more though. But only as time allows.
<baweaver> It's my job now, so there's that
stardiviner has quit [Ping timeout: 252 seconds]
<baweaver> Scala / Spark / Machine Learning
<baweaver> Combine with Couchbase, Cassandra, and Terabytes of logs a day on AWS.
kareeoleez has quit [Remote host closed the connection]
astrobunny has quit [Ping timeout: 240 seconds]
Xiti has quit [Ping timeout: 246 seconds]
Cohedrin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<arahael> Ah, fun stuff.
<baweaver> Kotlin tends to be a much more sane and pared down Scala
jenrzzz has quit [Ping timeout: 250 seconds]
<arahael> You're not using AWS's kibana and elasticsearch, I see?
ramfjord has quit [Ping timeout: 268 seconds]
<baweaver> Jetbrains got pissed with Java and realized that making an IDE got them most of the way to a language already, so they made Kotlin
flashpoint9 has quit [Ping timeout: 250 seconds]
<arahael> (I think AWS has redis, too)
<baweaver> We broke ES to hell and back
<baweaver> doesn't scale that high
dionysus69 has joined #ruby
<arahael> Doesn't surprise me. :/
<baweaver> It turned out to not be very Elastic :/
<arahael> Heh.
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<baweaver> Grafana, OpenTSDB, Kafka, and a few others
hxegon has joined #ruby
zast has quit [Remote host closed the connection]
Xiti has joined #ruby
jenrzzz has joined #ruby
Don_John has quit [Quit: Later]
<baweaver> We're one of the places that benchmarks and scaling claims go to die horrible painful deaths :(
<arahael> A lot of places can do that.
<arahael> The thing is, you have to *measure* them.
<baweaver> hence one of
<arahael> The log stash guys have quite complex processing queues setup.
<baweaver> Now if only Apache could hire better tech writers for their docs
<baweaver> Kafka is illegible from a glance
<baweaver> I know Logstash is somewhere in the pipeline
tubuliferous has quit [Ping timeout: 276 seconds]
<baweaver> * disclaimer: I'm new to that team, so I don't pretend to know the domain extremely well yet
<arahael> No worries. :)
<arahael> I prefer those who are more outspoken, to those who keep everything back until they _know_ the answer.
<arahael> The latter tend not to say very much at all.
xingped has quit [Ping timeout: 260 seconds]
BrunoSaboia has joined #ruby
amclain has quit [Quit: Leaving]
Moosashi has quit [Quit: Moosashi]
ssiris has quit [Quit: End of Line]
BSaboia has quit [Ping timeout: 252 seconds]
stardiviner has joined #ruby
chouchen has joined #ruby
chouchen has quit [Quit: ChatZilla 0.9.92 [Firefox 46.0/20160418114253]]
djbkd_ has joined #ruby
kfpratt has quit [Remote host closed the connection]
raeoks has joined #ruby
LoneHerm_ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
Cohedrin has joined #ruby
tax has quit [Ping timeout: 240 seconds]
Chagel has joined #ruby
SilverKey has quit [Quit: Halted.]
LoneHerm_ has quit [Ping timeout: 246 seconds]
Asher has quit [Quit: Leaving.]
doublemalt_ has quit [Remote host closed the connection]
tessi has joined #ruby
ramfjord has joined #ruby
Rodya_ has quit [Quit: Leaving...]
SilverKey has joined #ruby
yfeldblum has joined #ruby
SilverKey has quit [Client Quit]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
ta__ has quit [Remote host closed the connection]
william3 has joined #ruby
polysics_ has joined #ruby
navneet_ has joined #ruby
navneet_ has quit [Remote host closed the connection]
rahult has joined #ruby
navneet_ has joined #ruby
duncannz has quit [Ping timeout: 250 seconds]
navneet__ has joined #ruby
polysics has quit [Ping timeout: 246 seconds]
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has joined #ruby
blaxter has joined #ruby
Devalo has quit [Remote host closed the connection]
william3 has quit [Ping timeout: 260 seconds]
rahult_ has quit [Ping timeout: 276 seconds]
nisstyre_ has quit [Ping timeout: 260 seconds]
navneet_ has quit [Ping timeout: 260 seconds]
kareeoleez has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
devbug has quit [Quit: ZZZzzz…]
kareeoleez has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
kareeoleez has joined #ruby
TheMoonMaster has quit [Ping timeout: 260 seconds]
statelesscode has quit [Quit: statelesscode]
nisstyre_ has joined #ruby
Caelum has quit [Ping timeout: 246 seconds]
DanKnox has joined #ruby
astrobu__ has quit [Remote host closed the connection]
astrobunny has joined #ruby
TheMoonMaster has joined #ruby
paulgrmn2 has joined #ruby
pLaToOn has joined #ruby
null__ has quit [Max SendQ exceeded]
armyriad has quit [Ping timeout: 240 seconds]
paulgrmn1 has quit [Ping timeout: 260 seconds]
null__ has joined #ruby
armyriad has joined #ruby
Caelum has joined #ruby
flughafen has quit [Ping timeout: 276 seconds]
null__ has quit [Max SendQ exceeded]
astrobunny has quit [Ping timeout: 244 seconds]
minster_prime has left #ruby [#ruby]
null__ has joined #ruby
agit0 has joined #ruby
aganov has joined #ruby
null__ has quit [Max SendQ exceeded]
armyriad has quit [Ping timeout: 260 seconds]
null__ has joined #ruby
jobewan has quit [Quit: Textual IRC Client: www.textualapp.com]
pawnbox_ has joined #ruby
null__ has quit [Max SendQ exceeded]
jaguarmagenta has joined #ruby
tax has joined #ruby
firstdayonthejob has joined #ruby
pawnbox has quit [Ping timeout: 268 seconds]
devbug has joined #ruby
null__ has joined #ruby
devbug has quit [Client Quit]
gagrio_ has joined #ruby
toretore has joined #ruby
jaguarmagenta has quit [Ping timeout: 260 seconds]
gooodroot has joined #ruby
antgel has joined #ruby
william3 has joined #ruby
goodroot has quit [Ping timeout: 240 seconds]
firstdayonthejob has quit [Ping timeout: 276 seconds]
william3 has quit [Ping timeout: 260 seconds]
andikr has joined #ruby
TheMoonMaster has quit [Ping timeout: 250 seconds]
TomyLobo has quit [Read error: Connection reset by peer]
jud has joined #ruby
Mia has quit [Read error: Connection reset by peer]
polysics_ has quit [Remote host closed the connection]
CausaMortis has joined #ruby
solars has joined #ruby
Caelum has quit [Ping timeout: 260 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ur5us has joined #ruby
astrobunny has joined #ruby
djbkd_ has quit []
null__ has quit [Ping timeout: 268 seconds]
ur5us has quit [Ping timeout: 250 seconds]
myntcake has quit [Quit: Leaving]
polysics has joined #ruby
TheMoonMaster has joined #ruby
Chagel_ has joined #ruby
Chagel has quit [Ping timeout: 250 seconds]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
null__ has joined #ruby
tessi has quit [Quit: tessi]
agentmee1kat has quit [Ping timeout: 250 seconds]
null__ has quit [Ping timeout: 268 seconds]
sameerynho has joined #ruby
gagrio has quit [Remote host closed the connection]
TheMoonMaster has quit [Ping timeout: 276 seconds]
mark_66 has joined #ruby
xue has quit [Ping timeout: 244 seconds]
neanderslob has joined #ruby
CausaMortis has quit [Ping timeout: 276 seconds]
Caelum has joined #ruby
TheMoonMaster has joined #ruby
TheMoonMaster has joined #ruby
LoneHerm_ has joined #ruby
p0p0pr37 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
aiguu__ has joined #ruby
agentmeerkat has joined #ruby
fedexo has quit [Ping timeout: 250 seconds]
anisha has joined #ruby
tagaulap_ has joined #ruby
vondruch has joined #ruby
tagaulap_ has quit [Client Quit]
tagaulap has joined #ruby
Caelum has quit [Ping timeout: 260 seconds]
conta has joined #ruby
aiguu__ is now known as aiguu
conta has quit [Client Quit]
LoneHerm_ has quit [Ping timeout: 252 seconds]
jaruga___ has joined #ruby
anisha_ has joined #ruby
Caelum has joined #ruby
anisha has quit [Ping timeout: 246 seconds]
ramfjord has quit [Ping timeout: 260 seconds]
antgel has quit [Ping timeout: 276 seconds]
navneet__ has quit [Remote host closed the connection]
TomyWork has joined #ruby
aiguu has quit [Quit: WeeChat 1.4]
Couch has joined #ruby
navneet_ has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
Macaveli has joined #ruby
navneet_ has quit [Remote host closed the connection]
last_staff has joined #ruby
Moosashi has joined #ruby
thejamespinto has quit []
blaxter has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 250 seconds]
sinanislekdemir has joined #ruby
terlar has joined #ruby
pawnbox_ has quit [Remote host closed the connection]
marr has joined #ruby
howdoi has joined #ruby
Snowy has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
biberu has joined #ruby
mikecmpbll has joined #ruby
navneet_ has joined #ruby
navneet_ has quit [Remote host closed the connection]
navneet_ has joined #ruby
bruno- has joined #ruby
igam has joined #ruby
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
bruno- has quit [Ping timeout: 246 seconds]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
kareeole_ has joined #ruby
kareeoleez has quit [Ping timeout: 260 seconds]
victortyau has joined #ruby
benlieb has joined #ruby
DoubleMalt has joined #ruby
CloCkWeRX has quit [Ping timeout: 260 seconds]
araujo has joined #ruby
sepp2k has joined #ruby
bronson has joined #ruby
mikecmpbll has joined #ruby
karivolas has joined #ruby
maneken has quit [Disconnected by services]
karivolas is now known as maneken
maneken has quit [Changing host]
maneken has joined #ruby
blackgoat has quit [Quit: WeeChat 1.4]
karate has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
baweaver has joined #ruby
drptbl has joined #ruby
null__ has joined #ruby
bsinhy has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
goooodroot has joined #ruby
null__ has quit [Quit: Shutting down until Linode fixes their network]
MagePsycho has joined #ruby
gooodroot has quit [Ping timeout: 260 seconds]
poerror has joined #ruby
poerror has left #ruby [#ruby]
postmodern has joined #ruby
Coldblackice_ has quit [Ping timeout: 260 seconds]
noobsu has joined #ruby
william3 has joined #ruby
william3_ has joined #ruby
william3 has quit [Read error: Connection reset by peer]
navneet_ has quit [Remote host closed the connection]
noobsu has quit [Remote host closed the connection]
yeticry has quit [Read error: Connection reset by peer]
william3_ has quit [Remote host closed the connection]
william3 has joined #ruby
jaguarmagenta has joined #ruby
Dimik1 has quit [Ping timeout: 276 seconds]
jaguarmagenta has quit [Ping timeout: 240 seconds]
yeticry has joined #ruby
william3 has quit [Ping timeout: 268 seconds]
tessi has joined #ruby
shredding has joined #ruby
davidrsmorris has joined #ruby
evidex has joined #ruby
<davidrsmorris> Hi, I'm using IO.popen, and I noticed that when I gets a certain program, it hangs. When I call the program from bash, it gives lines of output to stdout. What could be the problem?
skislak has joined #ruby
<apeiros> davidrsmorris: the program might wait for stdin to be closed
benlieb has quit [Quit: benlieb]
<davidrsmorris> bash does this? This program gives multiple lines, as the data becomes available. It is written in C++.
pawnbox has quit [Remote host closed the connection]
<davidrsmorris> How would I do this with popen or other non-blocking ruby IO?
codecop has joined #ruby
pawnbox has joined #ruby
william3 has joined #ruby
<apeiros> example: io = IO.popen('ruby -e "p data: ARGF.read"', 'w+'); io.write "hello"; io.close_write; io.read
nisstyre_ has quit [Ping timeout: 250 seconds]
<davidrsmorris> would opening with a mode of 'r' and no io.close_write simulate calling it from bash with no pipes?
<apeiros> no idea
<Moosashi> anyone ever set up a bot for slack
Dimik has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 276 seconds]
RegulationD has joined #ruby
pandaant has joined #ruby
MagePsycho has quit [Quit: MagePsycho]
sameerynho has quit [Ping timeout: 244 seconds]
<apeiros> Moosashi: no. no one. ever.
<Moosashi> damn not a single person ever
MagePsycho has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
<davidrsmorris> I'm not sure that's my problem, since I can wrap it in bash -c and it still won't feed its output up. What could cause this?
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
gooooodroot has joined #ruby
<jhass> davidrsmorris: if you redirect the output to a file and tail -f the file at the same time, does it update live?
astrobunny has quit [Remote host closed the connection]
<jhass> so we know it doesn't behave differently when stdout isn't a tty
<davidrsmorris> it does not update live, I am now mad at my prof.
sid_fules has joined #ruby
<davidrsmorris> it updates when the gui is killed
<jhass> we don't even want to know, do we?
goooodroot has quit [Ping timeout: 276 seconds]
william3 has quit [Ping timeout: 250 seconds]
<davidrsmorris> roboticist. So is there some option for popen, or should I figure out how to do it with the script command?
benlieb has joined #ruby
victortyau has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bruno- has joined #ruby
sid_fules has quit [Remote host closed the connection]
william3 has joined #ruby
sid_fules has joined #ruby
workmad3 has joined #ruby
bruno- has quit [Ping timeout: 250 seconds]
<jhass> option for what?
<jhass> what script command?
raeoks has quit [Ping timeout: 244 seconds]
ddv has quit [Ping timeout: 268 seconds]
<davidrsmorris> script -c can be used to simulate having an interactive session, and I'm wondering if ruby has a built-in thing for doing that because apparently doing that is not straightforward
mikenovikov has joined #ruby
Weavel has joined #ruby
mikenovikov has quit [Max SendQ exceeded]
<jhass> script's manpage says specifically that with -c stdout won't be a tty either
ferr has joined #ruby
<jhass> Run the command rather than an interactive shell. This makes it easy for a script to capture the output of a program that behaves differently when its
<jhass> stdout is not a tty.
Aerik has joined #ruby
sid_fules has quit [Remote host closed the connection]
darkxploit has quit [Ping timeout: 246 seconds]
senayar has joined #ruby
sid_fules has joined #ruby
ddv has joined #ruby
blackmesa has joined #ruby
binaryplease has quit [Quit: Goodbye cruel world]
binaryplease has joined #ruby
nisstyre_ has joined #ruby
Aerik has quit [Read error: Connection reset by peer]
doublemalt_ has joined #ruby
Khaki has joined #ruby
Moosashi has quit [Quit: Moosashi]
DoubleMalt has quit [Ping timeout: 252 seconds]
ayonkhan has joined #ruby
victortyau has joined #ruby
goodroot has joined #ruby
MagePsycho has quit [Ping timeout: 276 seconds]
darkxploit has joined #ruby
gooooodroot has quit [Ping timeout: 250 seconds]
<shredding> i need to compare page loads of various pages.
<shredding> e.g. including assets loaded (the "Finish" value in chrome network tab.
<shredding> is there a way to do that with capybara / waitr or so?
sid_fules has quit [Read error: Connection reset by peer]
gooodroot has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
al2o3-cr has quit [Ping timeout: 244 seconds]
goodroot has quit [Ping timeout: 240 seconds]
william3 has quit [Read error: Connection reset by peer]
william3 has joined #ruby
benlieb has quit [Quit: benlieb]
kareeole_ is now known as kareeoleez
<davidrsmorris> jhass: script seems to be the only thing this joe code will output to in realtime
karapetyan has joined #ruby
tildes has quit [Remote host closed the connection]
MagePsycho has joined #ruby
noobsu has joined #ruby
al2o3-cr has joined #ruby
DaniG2k has joined #ruby
blaxter has joined #ruby
navneet has joined #ruby
tax has quit [Ping timeout: 250 seconds]
idletask has quit [Quit: .]
karapetyan has quit [Read error: Connection reset by peer]
Emmanuel_Chanel has quit [Remote host closed the connection]
MagePsycho has quit [Ping timeout: 246 seconds]
Nahra has joined #ruby
TheMoonMaster has quit [Ping timeout: 268 seconds]
idletask has joined #ruby
navneet_ has joined #ruby
navneet has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
hk238 has joined #ruby
Caelum has quit [Ping timeout: 250 seconds]
TheMoonMaster has joined #ruby
TheMoonMaster has joined #ruby
bronson has joined #ruby
Caelum has joined #ruby
troulouliou_div2 has joined #ruby
aeterne has joined #ruby
bruno- has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
norc has joined #ruby
<shevy> what is the route to epicness
william3 has quit [Remote host closed the connection]
baweaver has joined #ruby
polysics has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 276 seconds]
<shevy> hmm... I think I'll slowly start a ruby-gtk games project on rubygems
william3 has joined #ruby
Caelum has quit [Ping timeout: 250 seconds]
Emmanuel_Chanel has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
karapetyan has joined #ruby
davidrsmorris has quit [Ping timeout: 250 seconds]
bsinhy has quit [Ping timeout: 276 seconds]
gnufied has joined #ruby
karapetyan has quit [Ping timeout: 250 seconds]
p0p0pr37 has joined #ruby
TheMoonMaster has quit [Read error: Connection timed out]
agentmeerkat has quit [Ping timeout: 252 seconds]
n008f4g_ has joined #ruby
DaniG2k_ has joined #ruby
sxjnsy has joined #ruby
TheMoonMaster has joined #ruby
sid_fules has joined #ruby
TheMoonMaster has quit [Changing host]
TheMoonMaster has joined #ruby
<shevy> is there a way to jump back in an iteration? like on http://pastie.org/10808033 if the user enters "p" or "previous", to "reset" the .each loop to the element before (or the element -2)
MagePsycho has joined #ruby
DaniG2k has quit [Ping timeout: 240 seconds]
ruby-lang400 has joined #ruby
<ruby-lang400> morning all,
<Ox0dea> Good morning, ruby-lang400.
<ruby-lang400> is there a way we can reset the .each method on an array to reloop from the start?
<ruby-lang400> (like java cursors of sort)
<Ox0dea> ruby-lang400: You'll have to make it an Enumerator, and then you can #rewind it.
<Ox0dea> There's #to_enum for that first part.
<ruby-lang400> awesome, that's what I needed
<ruby-lang400> thanks
<Ox0dea> No worries.
jaguarmagenta has joined #ruby
ocbtec has joined #ruby
jaguarmagenta has quit [Ping timeout: 250 seconds]
karapetyan has joined #ruby
blackmesa has joined #ruby
sxjnsy has quit [Remote host closed the connection]
sid_fules has quit [Read error: Connection reset by peer]
Caelum has joined #ruby
troulouliou_div2 has quit [Ping timeout: 276 seconds]
mikeiniowa has quit [Remote host closed the connection]
mikeiniowa has joined #ruby
terlar has quit [Ping timeout: 260 seconds]
shredding has quit [Ping timeout: 276 seconds]
elaptics`away is now known as elaptics
tvw has joined #ruby
karapetyan has quit [Remote host closed the connection]
terlar has joined #ruby
karapetyan has joined #ruby
william3 has quit [Read error: Connection reset by peer]
MagePsycho has quit [Quit: MagePsycho]
qrvljf has joined #ruby
dezull has joined #ruby
sdothum has joined #ruby
troulouliou_div2 has joined #ruby
william3 has joined #ruby
jaguarmagenta has joined #ruby
gooodroot has quit [Ping timeout: 252 seconds]
sid_fules has joined #ruby
ruby-lang400 has quit [Quit: Page closed]
sid_fules has quit [Remote host closed the connection]
ur5us has joined #ruby
karapetyan has quit [Remote host closed the connection]
william3 has quit [Read error: Connection reset by peer]
terlar has quit [Quit: WeeChat 1.4]
william3 has joined #ruby
johnmilton has joined #ruby
carella has quit [Read error: Connection timed out]
sid_fules has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anisha_ has quit [Quit: This computer has gone to sleep]
carella has joined #ruby
silverdust has quit [Quit: leaving]
JagaJaga has joined #ruby
bruno- has joined #ruby
sdothum has quit [Read error: Connection reset by peer]
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
ropeney has joined #ruby
Chagel_ has quit [Ping timeout: 260 seconds]
jaguarma_ has joined #ruby
polysics has joined #ruby
william3 has quit [Read error: Connection reset by peer]
bruno- has quit [Ping timeout: 250 seconds]
william3 has joined #ruby
sdothum has joined #ruby
william3 has quit [Remote host closed the connection]
sid_fules has quit [Read error: Connection reset by peer]
jaguarmagenta has quit [Ping timeout: 276 seconds]
Chagel has joined #ruby
william3 has joined #ruby
bluOxigen has quit [Ping timeout: 276 seconds]
tubuliferous has joined #ruby
drptbl has quit [Quit: See you later!]
jaguarmagenta has joined #ruby
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
polysics has quit [Ping timeout: 260 seconds]
jaguarma_ has quit [Ping timeout: 252 seconds]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Snowy has quit [Quit: ragequit]
william3 has quit [Ping timeout: 276 seconds]
Fernando-Basso has joined #ruby
ropeney has joined #ruby
Chagel has quit [Ping timeout: 246 seconds]
gooodroot has joined #ruby
ldnunes has joined #ruby
stardiviner has quit [Ping timeout: 246 seconds]
dezull has quit [Ping timeout: 250 seconds]
blackmesa has quit [Ping timeout: 244 seconds]
rippa has joined #ruby
DaniG2k_ has quit [Quit: leaving]
terlar has joined #ruby
GodFather has joined #ruby
kfpratt has joined #ruby
Xeago has joined #ruby
banister has joined #ruby
rodfersou has joined #ruby
stardiviner has joined #ruby
MagePsycho has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
william3 has joined #ruby
minimalism has quit [Quit: minimalism]
sdothum has joined #ruby
Khaki has quit [Quit: Leaving]
kfpratt has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
navneet_ has quit [Remote host closed the connection]
tubuliferous has quit [Ping timeout: 276 seconds]
william3 has quit [Ping timeout: 276 seconds]
<Fernando-Basso> I have a class/singleton method define like "def self.foo". I want to call it inside "initialize". It seems I must do "self.class.foo". Why "class" has to be there?
moeabdol has joined #ruby
Weavel has quit [Quit: Few women admit their age. Few men act theirs.]
Weavel has joined #ruby
<Fernando-Basso> I mean, insin't `self` already referencing the class itself?
<apeiros> Fernando-Basso: because without .class you'd call it on self which is the instance of the class and not the class itself.
<alexherbo2> Hi guys
<apeiros> Fernando-Basso: no. self in initialize is the instance. remember, initialize is an instance method (you didn't define it as def self.initialize after all, right?)
<apeiros> alexherbo2: hi gal
Xzanron has joined #ruby
<alexherbo2> How get named arguments in a hash form?, and convert hash to named arguments.
Xeago has quit [Remote host closed the connection]
sepp2k has quit [Quit: Leaving.]
<alexherbo2> Use case is to implement a bind method with named argument support.
<apeiros> >> def foo(**kwargs); p kwargs; end; foo bar: 1, baz: 2 # alexherbo2
<ruby[bot]> apeiros: # => {:bar=>1, :baz=>2} ...check link for more (https://eval.in/557997)
<alexherbo2> Nice !
null__ has joined #ruby
rkazak has joined #ruby
<alexherbo2> apeiros: I guess foo **{ bar: 1, baz: 2 } will convert hash to named arguments?
<Fernando-Basso> apeiros: Makes sense. Since `initialize` is called when creating an _instance_, `self` references the _instance_, not the class. Got it.
<Fernando-Basso> I just want to find where in the docs that is mentioned.
charliesome has joined #ruby
<apeiros> alexherbo2: yes, but it's not necessary. last hash in the args is treated as named args already.
<Fernando-Basso> It seems strange that I have to ask these type of questions...
<Fernando-Basso> :D
<Fernando-Basso> 08:53:21 alexherbo2 | Hi guys
<Fernando-Basso> Sorry.
<apeiros> Fernando-Basso: it'd also be difficult to initialize ivars if it wasn't an instance method ;-) (you'd access the class' ivars otherwise)
Weavel has quit [Quit: I used to think I was indecisive, but now I'm not too sure.]
<alexherbo2> apeiros: What is the built-in equivalent of #bind I try to implement?
rkazak has quit [Client Quit]
Madplatypus has quit [Quit: Connection closed for inactivity]
<apeiros> binded -> bound
dezull has joined #ruby
<apeiros> not quite sure what you're trying to do there
sepp2k has joined #ruby
<apeiros> looks like currying
<alexherbo2> Yes currying
<apeiros> &ri Proc#curry
banister has joined #ruby
poerror has joined #ruby
poerror has left #ruby [#ruby]
<alexherbo2> apeiros: There is no Boost-like implemention?
ropeney has quit [Quit: Leaving]
<apeiros> sorry, not gonna read that wall of text
dezull has quit [Quit: Leaving]
MagePsycho has quit [Read error: Connection reset by peer]
<workmad3> alexherbo2: no, nothing to the level of boost's implementation... but then, you can just use a proc or lambda in ruby for that sort of thing
trinaldi has joined #ruby
<workmad3> so instead of doing `bind(f, _1, _1)` you'd do `->(x) {f(x,x)}`
<shevy> ack
<shevy> boost for ruby
<shevy> "Using bind with function objects"
<shevy> cool
<chris2> curl -sL http://repo.voidlinux.eu/void-updates/void-updates.txt | awk '/chneukirchen@/,/^$/'
<chris2> bleh
<shevy> they have function objects!
synthroid has joined #ruby
pawnbox_ has joined #ruby
polysics has joined #ruby
ur5us has quit [Remote host closed the connection]
aeterne has quit [Read error: Connection reset by peer]
polysics_ has joined #ruby
baweaver has joined #ruby
pawnbox has quit [Ping timeout: 268 seconds]
jackjackdripper has quit [Quit: Leaving.]
jhn has joined #ruby
qrvljf has quit [Ping timeout: 252 seconds]
roelof has joined #ruby
polysics has quit [Ping timeout: 260 seconds]
<roelof> hello, what is the best way to learn ruby ?
<shevy> to write ruby code
baweaver has quit [Ping timeout: 250 seconds]
Weavel has joined #ruby
<roelof> shevy: yes
<Ox0dea> roelof: Did you learn anything from RubyMonk?
<Fernando-Basso> apeiros: I mentioned I wanted to find that `self.class` thingy in the docs. Would it be this one? http://ruby-doc.org/core-2.2.3/Object.html#class-method
yude_ has quit [Quit: Leaving...]
<Fernando-Basso> "Returns the class of obj. This method must always be called with an explicit receiver, as class is also a reserved word in Ruby."
<Ox0dea> Fernando-Basso: That tells you why you have to say `self.class`, but not why `self` is the instance being constructed in #initialize.
<Fernando-Basso> Yeah, that is what I was wondering.
<Ox0dea> It's really just that #initialize is an instance method.
<Ox0dea> The VM allocates the memory for your Object, assigns it a class, then invokes the relevant #initialize method to construct it.
navneet has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<workmad3> Fernando-Basso: what you're asking for is documentation of the language scoping rules... such docs exist in the form of a language overview (as given by countless tutorials, etc.), but you won't find them attached to a specific item like `Object` because it's a global property of the language
<roelof> yes. I learned a lot . In 2 weeeks I have a job interview and I want to be prepared. So practice a lot, Ox0dea
<Fernando-Basso> My goal is to increment a counter every time I instantiate a class. Instead of using self.class.increment_counter (to call a method that increments @count), I could just as well have used @@count += 1 inside `initialize`, I suppose.
jaguarmagenta has quit [Remote host closed the connection]
<Ox0dea> Fernando-Basso: Are you perfectly certain that you'll never subclass this class?
flashpoint9 has joined #ruby
<Fernando-Basso> Ox0dea: I am just making some study cases, not a real project.
<workmad3> Fernando-Basso: `def self.new; @count += 1; super; end`
flashpoint9 has quit [Read error: Connection reset by peer]
<workmad3> (I missed out argument specification there, but it's another alternative to what you want ;) )
flashpoint9 has joined #ruby
<Ox0dea> Fernando-Basso: Ah, well, something to be mindful of: https://eval.in/558016
blackmesa has joined #ruby
navneet_ has joined #ruby
dgncn has quit [Excess Flood]
tildes has joined #ruby
navneet has quit [Read error: Connection reset by peer]
<jhass> (and it's not because the inherited initialize would be run in the scope of the parent class, that's not the case)
<roelof> Ox0dea: maybe a idea to do the ruby monk course again ?
dn` has quit [Quit: dn`]
Snowy has joined #ruby
<Ox0dea> roelof: Definitely not.
<Ox0dea> It just doesn't suit your learning style, I think.
<Fernando-Basso> But this is two ways to do the same, right? https://eval.in/558028
dgncn has joined #ruby
<Ox0dea> Fernando-Basso: I was just demonstrating that class variables are shared, which is almost never what you want.
<workmad3> Fernando-Basso: nearly the same... there's edge-case differences like the one Ox0dea pointed out
<roelof> Ox0dea: why do you think that way ?
<Ox0dea> roelof: Er, well, RubyMonk is a pretty massive course that touches on most of Ruby, and yet here you are still at the beginning. :/
<Ox0dea> Something didn't go as intended.
GodFather has quit [Ping timeout: 276 seconds]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Fernando-Basso> Okay. Thank you all. I took notes. I'll review everything.
dn` has joined #ruby
aupadhye has joined #ruby
<jhass> Fernando-Basso: to show it based on your sample: https://eval.in/558035
blackmesa has quit [Ping timeout: 240 seconds]
goooodroot has joined #ruby
<roelof> oke, I will look for better alternatives
swills has quit [Ping timeout: 268 seconds]
gooodroot has quit [Ping timeout: 250 seconds]
<Fernando-Basso> jhass: Just a moment. I'm reviewing.
<jhass> no hurry, take your time
<Ox0dea> roelof: ^ :P
ramortegui has joined #ruby
pchcrb has joined #ruby
LoneHermit has joined #ruby
siaw has quit [Quit: siaw]
victortyau has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Yiota has joined #ruby
LoneHermit has quit [Ping timeout: 250 seconds]
victortyau has joined #ruby
<roelof> Ox0dea: ?? ^:p
<Ox0dea> roelof: Take your time.
<Ox0dea> With whichever resource(s) you end up using.
william3 has joined #ruby
<roelof> Thanks , I wil
kfpratt has joined #ruby
<roelof> I think sometimes I want to fast
kfpratt has quit [Client Quit]
<Ox0dea> You treated RubyMonk like some sort of competition.
Xeago has joined #ruby
<roelof> Ox0dea: not complete. I wanted to fast so I could do other challenges
<Ox0dea> roelof: To your detriment. The point is to learn, not to "win".
<roelof> yep , I know
jrafanie has joined #ruby
<roelof> sometimes im too eager to solve a problem
ItSANg___ has quit [Quit: Leaving...]
pLaToOn has quit [Read error: Connection reset by peer]
antgel has joined #ruby
william3 has quit [Read error: Connection reset by peer]
ropeney has joined #ruby
ChiefAlexander has joined #ruby
MagePsycho has joined #ruby
william3 has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
<Fernando-Basso> jhass: So, @a is not incremented upon Sub instantiations because `initialize` is not inherited?
william3 has quit [Read error: Connection reset by peer]
<jhass> Fernando-Basso: no, because @a belongs to a specific class instance whereas @@ is shared down the ancestry chain
RegulationD has joined #ruby
<tobiasvl> also don't use @@ :P
<Ox0dea> Unless you *really* mean it.
william3 has joined #ruby
<roelof> Ox0dea: thanks for the advice ?
<roelof> Ox0dea: thanks for the advice
<Ox0dea> Heh.
<Ox0dea> Sure thing?
<roelof> Sure thing
william3 has quit [Read error: Connection reset by peer]
MagePsycho has quit [Ping timeout: 250 seconds]
rbennace_ has joined #ruby
BrunoSaboia has quit [Quit: Leaving]
BSaboia has joined #ruby
MagePsycho has joined #ruby
<roelof> Ox0dea: I like people who are honest
RegulationD has quit [Ping timeout: 252 seconds]
rbennace_ has quit [Remote host closed the connection]
rbennac__ has joined #ruby
rbennacer has quit [Ping timeout: 260 seconds]
<Ox0dea> roelof: Nothing higher than truth, and thus nothing more virtuous than honesty.
navneet_ has quit [Remote host closed the connection]
<roelof> Ox0dea: yep
rbennacer has joined #ruby
william3 has joined #ruby
<roelof> last question : Are there more places that I can practice ruby on problems so I can get more and more familiar with it ?
banister has joined #ruby
<Ox0dea> You should read a book.
ChiefAlexander has joined #ruby
<roelof> Ox0dea: can your recommend one
<Ox0dea> roelof: The Well-Grounded Rubyist is the one I got the most out of when I was first learning.
<roelof> oke, I wil look at that one
<Fernando-Basso> My comments on the example. I hope it is at leat partially corret. https://eval.in/558048
rbennac__ has quit [Ping timeout: 260 seconds]
ItSANgo has joined #ruby
victortyau has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ox0dea> Fernando-Basso: Almost. The comment on Line 15 isn't quite right.
<Fernando-Basso> I should reword some comments... They are ...
<Fernando-Basso> Ah!
nettoweb has joined #ruby
<Fernando-Basso> Yeah, it can be incremented upon invoking new on child objects.
<Fernando-Basso> But it will be particular to that one child class.
<Ox0dea> Just so. :)
<Fernando-Basso> Line 15: # Incremented separately for each class, super or child.
Xeago has joined #ruby
<Fernando-Basso> Well, still lacking.
<Ox0dea> s/super/base/
bruno- has joined #ruby
<roelof> Ox0dea: have a good day
<Ox0dea> roelof: And you.
davedev24 has joined #ruby
Xeago has quit [Ping timeout: 250 seconds]
Lucas0231 has joined #ruby
Lucas0231 has left #ruby [#ruby]
malconis has joined #ruby
bruno- has quit [Ping timeout: 252 seconds]
aegis3121 has joined #ruby
impermanence has joined #ruby
trinaldi has quit [Quit: WeeChat 1.5-rc1]
<impermanence> Will upgrading my ruby.x86_64 package from 2 to 2.3 break all of my other ruby packages and everything else that depends on ruby? OS is CentOS.
terlar has quit [Ping timeout: 240 seconds]
victortyau has joined #ruby
charliesome has joined #ruby
roelof has quit [Quit: Page closed]
Arcaire has quit [Quit: wew lad]
Arcaire has joined #ruby
<dsimon> impermanence, maybe? that depends on how CentOS packages things
crameth has joined #ruby
<dsimon> however, it might be possible to install 2.3 in addition to the current ruby, if you only need it for certain things
crameth has quit [Max SendQ exceeded]
<Arcaire> totally possible, but not through the OS package manager
dionysus69 has joined #ruby
<Arcaire> sorry, i missed all chat prior to my reconnection, my bouncer wasn't logging properly
<dsimon> yeah, or if you don't want to or can't use CentOS packaging to do it, you could use rvm
<dsimon> however that can be tricky to set up upfront
<Arcaire> well, you *can't* do it otherwise
<Arcaire> not cleanly
<Arcaire> and chruby/ruby-install is definitely the best way, and not too hard to set up
trinaldi has joined #ruby
crystal77 has joined #ruby
hxegon has joined #ruby
sudoubuntu has joined #ruby
godzillaenlacasa has joined #ruby
sgambino has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
impermanence has quit [Ping timeout: 250 seconds]
swills has joined #ruby
ItSANgo has quit [Quit: Leaving...]
codecop has quit [Remote host closed the connection]
impermanence has joined #ruby
<impermanence> Sorry. Did anybody answer my question? I quit but accident before I looked...
<Arcaire> what was your question? :^)
<Arcaire> i only just joined
<jhass> ?logs
<ruby[bot]> You can find a log of this channel at http://irclog.whitequark.org/ruby/
<Arcaire> but that's effort jhass
<Arcaire> wow is this even hosted on cloudflare
<Arcaire> it took 10s to load
<impermanence> bot: good to know.
cdg has joined #ruby
<Arcaire> 13:17 <impermanence> Will upgrading my ruby.x86_64 package from 2 to 2.3 break all of my other ruby packages and everything else that depends on ruby? OS is CentOS.
<Arcaire> probably
<impermanence> Arcaire: damn.
<Arcaire> Linux is notoriously shite for installation of languages like Ruby and Python.
<Arcaire> You need to make use of chruby/ruby-install and pyenv.
pawnbox_ has quit [Remote host closed the connection]
<Arcaire> Otherwise you end up with an awful mess.
<Ox0dea> Wat.
<impermanence> Arcaire: wait, wait? If Linux is shite then what OS isn't?
<Arcaire> All of them are pretty bad lmao
<Ox0dea> Nice cop-out.
ljames has quit []
<impermanence> Arcaire: Going with 0x0dea on this one, boss...
<Arcaire> *shrugs*
<Arcaire> Don't really need validation. :)
<Ox0dea> "I don't need my beliefs to square with reality."
<Arcaire> That's a behaviour endemic to #ruby, Ox0dea. :)
<Arcaire> But for real, impermanence: A lot of issues come up using systemwide Ruby.
tubuliferous has joined #ruby
<shevy> nah
WaqasA has joined #ruby
<Arcaire> The issue is across Linux and BSD/OSX, and less so on Windows but Windows has its own issues with Ruby installation sometimes.
<shevy> it comes because of most distributions using the FHS so they can't have multiple versions at /usr/bin/ruby and so on
<Arcaire> I figured there was no real need to get into the technical details of why, but sure. :^)
<Arcaire> It's less so on Windows due to the fact that it's *usually* single user.
<impermanence> Here's the deal. I didn't know that all of these other ruby packages were installed on my centos box like rubygem-psych and a bunch of others. I'm just trying to figure out if upgrading to 2.3 will render all these other packages useless, basically.
<apeiros> I'd say that's the same for desktop linux
<Arcaire> But if you have two Ruby apps that need different versions of Ruby (lol), unless you're using something like chruby or RVM or whatever flavour of the month tool, you're in a tight spot.
<impermanence> I mean...what am I supposed to do...? Upgrade all of the others?
<impermanence> And the repos only offer ruby.x86_64 2.0 so WTF?
<Arcaire> Yes, that's why these tools exist.
<Arcaire> λ ruby --version
<Arcaire> ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]
<Arcaire> λ /usr/bin/ruby -v
<Arcaire> ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin15]
banister has joined #ruby
<impermanence> I'm about to lose connection because I'm almost at work. I'll be back most likely. Thanks Arcaire. I ain't runnin' no Mac though unfort.
impermanence has quit [Quit: leaving]
<Arcaire> I run pretty much everything so it's ok.
<Arcaire> wow they cut that close.
<mustmodify> Arcaire: Are you saying it's odd that you have two different apps that require different versions of Ruby? If so, were you thinking that all languages were forward compatible?
<Arcaire> Nah.
<shevy> Arcaire where is the other ruby installed btw? the first one
<Arcaire> shevy: λ which ruby
<Arcaire> alright thanks textual
<Arcaire> /Users/elliot/.rubies/ruby-2.3.0/bin/ruby
<shevy> I see
tubuliferous has quit [Ping timeout: 244 seconds]
<Arcaire> I use ruby-install on most of my boxen.
<Arcaire> mustmodify: Generally when I run into things like this I'm surprised they're not on separate systems.
<Arcaire> mustmodify: Because the apps are big enough that upgrading is not worth the hassle.
SilverKey has joined #ruby
bruno- has joined #ruby
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tubuliferous has joined #ruby
whippythellama has joined #ruby
bluOxigen has joined #ruby
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<mustmodify> ah
carella has quit [Read error: Connection timed out]
carella has joined #ruby
freerobby has joined #ruby
sudoubuntu has quit [Quit: Textual IRC Client: www.textualapp.com]
william3 has quit [Read error: Connection reset by peer]
agent_white has quit [Quit: leaving]
agent_white has joined #ruby
SilverKey has quit [Quit: Halted.]
william3 has joined #ruby
<agent_white> Moin
<alexherbo2> apeiros: is there a built-in method to detect if arguments are named?
davedev24 has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
<Ox0dea> &ri Method#parameters alexherbo2
CloCkWeRX has joined #ruby
bruce_lee has joined #ruby
davedev24 has joined #ruby
Dry_Lips has quit [Read error: Connection reset by peer]
pawnbox has quit [Remote host closed the connection]
ibba has joined #ruby
pawnbox has joined #ruby
davedev2_ has joined #ruby
<ibba> Hiya sysadmin looking at learning ruby to make life deautiful
<Arcaire> learn python instead
<ibba> what resources can i look into to learn ruby to make my sysadmin life easier
davedev__ has joined #ruby
<Arcaire> ibba: Depends really, are you looking at sticking with general sysadmin-y tasks?
<tobiasvl> Arcaire: heresy!
<ibba> i here you Arcaire, with a lof of work "to be done" in puppet ppl tell me ruby is the way to go
<Arcaire> tobiasvl: I agree. Mixing snake case and camel case in the standard library alone should bring the death penalty to the language.
<Arcaire> ibba: Yeah.
<alexherbo2> `derpy: Thanks!
<shevy> ibba depends on your prior knowledge too. starting irb and work through https://pine.fm/LearnToProgram/chap_01.html - it should not take longer than an hour or so if you are concentrated
<ibba> yeah...something i can't do on shell i would like to look at Ruby. What ever task that's complicated to de done in shell i like to use Ruby
<ibba> You folks are amazing
akem has joined #ruby
davedev24 has quit [Ping timeout: 276 seconds]
<ibba> you folks don't sympathise any ruby books ?
<shevy> yeah I do so too, don't have a need to write shell scripts much at all anymore. I only keep them for legacy purposes mostly or when I am in weird restricted environments
davedev2_ has quit [Ping timeout: 268 seconds]
n008f4g_ has quit [Ping timeout: 268 seconds]
crime has joined #ruby
<shevy> I used the pickaxe back then, not sure about other good books
<havenwood> ibba: The Well-Grounded Rubyist, Second Edition
tvon has quit [Quit: System is sleeping...]
akem has quit [Remote host closed the connection]
<crime> WGR is really good, and once you have a basic handle on ruby semantics, Sandi Metz POODR book is fantastic for learning how to actually organize
<shevy> the good old poodle book
<crime> yeah, I got introduced to it for the first time a few months ago, and it has blown my mind
baweaver has joined #ruby
<crime> the way that sandi is able to convey her wisdom so concisely is just amazing. you can just hear the years of experience in her words, I think my code has really grown from the whole ordeal
<ibba> havenwood: wellgrounded rubyist, published in 2009 isn't that dated ? or is that ruby syntax semantics in what i'm looking at ( sysadminy ) work will still be current in dated releases ?
gigetoo has quit [Ping timeout: 246 seconds]
<Ox0dea> ibba: The second edition is much more recent, but the first would suffice in a pinch.
sinanislekdemir has quit [Remote host closed the connection]
gigetoo has joined #ruby
Xzanron has quit [Quit: Leaving]
<ibba> 0x0dea, ty
<norc> Ox0dea: So I was thinking about how shadowing lvars could be created to really obfuscate the heck out of code.
<norc> *used I mean.
baweaver has quit [Ping timeout: 250 seconds]
* ibba slaps ibba around a bit with a large trout
<neha-> can anyone recommend an advanced ruby book
<Ox0dea> norc: With block parameters and such?
<norc> Ox0dea: Mmm no with dead code.
<Ox0dea> norc: I'm having trouble seeing it.
r0b3rt has joined #ruby
<Ox0dea> As soon as you find out it's dead, elide it and the shadows go with it, no?
bluOxigen has quit [Ping timeout: 260 seconds]
yude has joined #ruby
<norc> Ox0dea: a; if false a = $1; a;
<norc> Ox0dea: The first will attempt a method invocation whereas the the second will not.
<Ox0dea> norc: Sure, but "obfuscate the heck out of" means something different to me by now. :P
MagePsycho has quit [Read error: Connection reset by peer]
SilverKey has joined #ruby
<norc> Ox0dea: Well, maybe Im still in the state of mind I was yesterday. :S
<shevy> Statler and Waldorf are at it again!
<norc> Thinking in terms of lexer time is still disgusting.
<Ox0dea> norc: Having to use lambdae for everything makes for some remarkably tortuous code.
mrmortondk has joined #ruby
<Ox0dea> I inadvertently gave myself deobfuscation practice material a while back.
charliesome_ has joined #ruby
<norc> Ox0dea: Though in all fairness, the king of all obfuscation remains this: http://www.bellard.org/otcc/otcc.c
smathy has joined #ruby
Emmanuel_Chanel has quit [Remote host closed the connection]
hxegon has joined #ruby
<Ox0dea> norc: Aye, that's freakin' incredible.
<adaedra> > calloc(1,99999)
<adaedra> my eyes
charliesome has quit [Ping timeout: 250 seconds]
<norc> adaedra: Well the whole compiler needs some buffers... ;)
ChiefAlexander has quit [Remote host closed the connection]
<crime> neha-: Eloquent Ruby is pretty advanced
<crime> some of it
<Ox0dea> Metaprogramming Ruby as well.
mr_rich101 has quit [Max SendQ exceeded]
zast has joined #ruby
mr_rich101 has joined #ruby
MagePsycho has joined #ruby
Snowy is now known as HighRoller
Xeago has joined #ruby
HighRoller is now known as Snowy
bruno- has quit [Ping timeout: 260 seconds]
tvon has joined #ruby
last_staff has quit [Ping timeout: 244 seconds]
TomyWork has quit [Remote host closed the connection]
rbr has quit [Disconnected by services]
ropeney has joined #ruby
rbr has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
soxet has joined #ruby
<neha-> thanks crime and Ox0dea
<crime> <3
danman has joined #ruby
ChiefAlexander has joined #ruby
rbr has quit [Ping timeout: 246 seconds]
gooooodroot has joined #ruby
noobsu has quit [Remote host closed the connection]
newjersey has joined #ruby
norc has quit [Ping timeout: 250 seconds]
goooodroot has quit [Ping timeout: 250 seconds]
diegoviola has joined #ruby
akem has joined #ruby
stardiviner has quit [Ping timeout: 250 seconds]
troulouliou_div2 has quit [Ping timeout: 276 seconds]
DenSchub has quit [Ping timeout: 244 seconds]
william3 has quit [Read error: Connection reset by peer]
hosttor has joined #ruby
diegoaguilar has joined #ruby
charliesome has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
GodFather has joined #ruby
mrgrieves has joined #ruby
last_staff has joined #ruby
charliesome_ has quit [Ping timeout: 250 seconds]
blackmesa has joined #ruby
ixti has quit [Quit: WeeChat 1.4]
william3 has joined #ruby
dhollinger has joined #ruby
isxek has joined #ruby
Devalo has joined #ruby
stardiviner has joined #ruby
cdg has quit [Remote host closed the connection]
Devalo has quit [Remote host closed the connection]
chipotle has joined #ruby
DenSchub has joined #ruby
siaw has joined #ruby
troulouliou_div2 has joined #ruby
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tvw has quit []
tvw has joined #ruby
nettoweb has quit [Quit: Textual IRC Client: www.textualapp.com]
stardiviner has quit [Client Quit]
aganov has quit [Remote host closed the connection]
aegis3121 has quit [Ping timeout: 276 seconds]
kareeoleez has quit [Remote host closed the connection]
kaleido has quit [Ping timeout: 246 seconds]
dionysus69 has quit [Ping timeout: 276 seconds]
dopie has quit [Quit: Lost terminal]
infernix has quit [Quit: ZNC - http://znc.sourceforge.net]
aufi_ has quit [Remote host closed the connection]
yo61_ has quit []
I has joined #ruby
mrmortondk has quit [Quit: Textual IRC Client: www.textualapp.com]
I is now known as Guest32036
dopie has joined #ruby
agit0 has joined #ruby
yo61 has joined #ruby
bronson has joined #ruby
ixti has joined #ruby
tubuliferous has quit [Ping timeout: 276 seconds]
chouhoulis has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 260 seconds]
chouhoulis has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
davedev24 has joined #ruby
chouhoul_ has joined #ruby
davedev__ has quit [Ping timeout: 276 seconds]
newjersey has quit [Quit: Leaving]
freerobby has quit [Quit: Leaving.]
synthroid has quit [Remote host closed the connection]
chridal_ is now known as chridal
chridal has quit [Changing host]
chridal has joined #ruby
freerobby has joined #ruby
freerobby has quit [Client Quit]
freerobby has joined #ruby
chouhoulis has quit [Ping timeout: 252 seconds]
freerobby has quit [Client Quit]
mdih has quit [Ping timeout: 276 seconds]
bruno- has joined #ruby
bluOxigen has joined #ruby
newjersey has joined #ruby
newjersey has quit [Max SendQ exceeded]
freerobby has joined #ruby
davedev24 has quit [Read error: Connection reset by peer]
aegis3121 has joined #ruby
newjersey has joined #ruby
william3 has quit [Remote host closed the connection]
davedev24 has joined #ruby
dhollinger has quit [Ping timeout: 240 seconds]
ropeney has joined #ruby
mlakewood has joined #ruby
tubuliferous has joined #ruby
infernix has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gagrio_ has quit [Quit: Leaving...]
last_staff has quit [Quit: last_staff]
johnmilton has quit [Ping timeout: 260 seconds]
hxegon has quit [Ping timeout: 260 seconds]
bradleyprice has quit [Remote host closed the connection]
rubeegginor has joined #ruby
moeabdol has quit [Ping timeout: 268 seconds]
x77686d has joined #ruby
<ibba> what would be the tooling to start ruby on linux/unix ? emacs/vi customisations some modules ?
chouhoul_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
<tvon> ibba: I don't understand the question
william3 has joined #ruby
polishdub has joined #ruby
<smathy> ibba, both of those editors have decent ruby support/plugins, just google for whichever is your preferred editor. Then the other thing that will make your life easier is to use a version manager to actually install ruby itself, take a look at chruby and it's installation helpers ruby-install or ruby-build
waxxy has quit [Quit: Textual IRC Client: www.textualapp.com]
<smathy> None of those are essential, just "make life easier" things.
<ibba> ty smathy
amclain has joined #ruby
<rubeegginor> Hi, learning ruby here :) - I'm curious to know if there's a more elegant/short way to do what this code is doing? https://gist.github.com/anonymous/ff615f71bfbf9822732096e2472e3fbb
evidex has quit [Ping timeout: 276 seconds]
<rubeegginor> (except my typo for 'b'...sorry)
dhollinger has joined #ruby
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
<rubeegginor> oh actually I can do that too: https://gist.github.com/anonymous/b745816ca7df2a4a92e3f59cae328108
swills has quit [Remote host closed the connection]
GodFather has quit [Remote host closed the connection]
dionysus69 has joined #ruby
kareeoleez has joined #ruby
<smathy> rubeegginor, yeah, and you can drop the arg to split and you don't have to chomp.
noService has joined #ruby
_ht_ has quit [Ping timeout: 246 seconds]
lxsameer has joined #ruby
marcdel has joined #ruby
_ht has joined #ruby
szulak has joined #ruby
GodFather has joined #ruby
trinaldi has quit [Quit: WeeChat 1.5-rc1]
tvw has quit [Read error: Connection reset by peer]
william3 has quit [Remote host closed the connection]
<shevy> ibba just the brain tool - and syntax highlighting helps too
<rubeegginor> smathy: what do you mean by dropping the arg to split? The input is a string like that one "2 3", I'm forced to split, no?
swills has joined #ruby
swills has quit [Changing host]
swills has joined #ruby
noService has quit [Ping timeout: 260 seconds]
<crime> ibba, ruby syntax is very simple. you can easily use any text editor that you feel comfortable with.
william3 has joined #ruby
mfb2_ has joined #ruby
Snowy has quit [Quit: ragequit]
mfb2_ has quit [Remote host closed the connection]
<smathy> rubeegginor, the argument that you're passing to the split method.
mfb2 has joined #ruby
<smathy> rubeegginor, ie. this will do what you want: gets.split.map &:to_i
johnmilton has joined #ruby
<smathy> rubeegginor, split's default argument is " "
<rubeegginor> oh I see smathy, thanks :)
baweaver has joined #ruby
tessi has quit [Quit: tessi]
ibba has quit []
Martxel has joined #ruby
william3 has quit [Ping timeout: 276 seconds]
RegulationD has joined #ruby
aswen has joined #ruby
pawnbox has quit [Remote host closed the connection]
senayar has quit []
darkf has quit [Quit: Leaving]
agit0 has quit [Quit: zzzZZZ….]
bronson has joined #ruby
bradleyprice has joined #ruby
Pupeno has joined #ruby
Pupeno has joined #ruby
pawnbox has joined #ruby
hxegon has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
davedev24 has quit [Remote host closed the connection]
flashpoint9 has quit [Remote host closed the connection]
TomyLobo has joined #ruby
VeryBewitching has joined #ruby
mikecmpbll has quit [Ping timeout: 260 seconds]
shinnya has joined #ruby
bradleyprice has quit [Ping timeout: 250 seconds]
Martxel has left #ruby ["Leaving"]
<smathy> rubeegginor, np.
iwmrby has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
bradleyprice has joined #ruby
Couch has quit [Ping timeout: 276 seconds]
mark_66 has quit [Remote host closed the connection]
pawnbox has joined #ruby
aswen has quit [Quit: WeeChat 1.4]
aegis3121 has quit [Ping timeout: 276 seconds]
Mia has joined #ruby
Mia has joined #ruby
Spami has joined #ruby
rbr has joined #ruby
ayonkhan has quit [Read error: Connection reset by peer]
troulouliou_div2 has quit [Quit: Leaving]
lsmola has quit [Ping timeout: 240 seconds]
ayonkhan has joined #ruby
mrgrieves has quit [Ping timeout: 268 seconds]
tubuliferous has quit [Ping timeout: 252 seconds]
synthroid has joined #ruby
allcentury has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
nando293921 has joined #ruby
maneken has quit [Quit: Leaving]
<crime> so I'm fiddling with 2.3, and if I do "something&.split("")" I get a no-method error. I thought the lonely operator was supposed to fix that?
<crime> something would be nil in that scenario, so shouldnt it just return nil?
evidex has joined #ruby
mrmortondk has joined #ruby
<smathy> crime, nope, that's not what the lonely op fixes.
siaw has quit [Quit: siaw]
<crime> so how do I do whatever that is?
MagePsycho has quit [Quit: MagePsycho]
tubuliferous has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brent__ has joined #ruby
<smathy> crime, don't call non-existent methods, use respond_to?, or rescue that exception.
<crime> ok, so then what does &. actually do?
kith has quit [Quit: kith]
pchcrb has quit [Remote host closed the connection]
nealix has joined #ruby
devbug has joined #ruby
nealix has quit [Client Quit]
<crime> its something && something.split, got it. didnt realize
<crime> so if its nil it just stops, ok
<smathy> Yep.
bronson has quit [Remote host closed the connection]
skade has joined #ruby
that2 has joined #ruby
that2 has left #ruby [#ruby]
AnoHito_ has quit [Read error: Connection reset by peer]
djbkd has quit [Read error: Connection reset by peer]
isxek is now known as acl_
acl_ is now known as isxek
joneshf-laptop has quit [Ping timeout: 244 seconds]
djbkd has joined #ruby
AnoHito_ has joined #ruby
dhollinger has quit [Ping timeout: 276 seconds]
monoprotic has quit [Read error: Connection reset by peer]
M-shine has quit [Ping timeout: 244 seconds]
monoprotic has joined #ruby
monoprotic has quit [Changing host]
monoprotic has joined #ruby
hays_ has joined #ruby
davedev24 has joined #ruby
WaqasA has quit [Remote host closed the connection]
<zzak> [travis-ci, irc.freenode.net] The build was broken. by @nagachika: See https://travis-ci.org/ruby/ruby/builds/125060185
mustmodify has left #ruby [#ruby]
rbr has quit [Ping timeout: 260 seconds]
PedramT has joined #ruby
M-Kodo has quit [Ping timeout: 264 seconds]
PedramT has quit [Client Quit]
hays has quit [Ping timeout: 250 seconds]
Axy has joined #ruby
M-shine has joined #ruby
baweaver has quit [Remote host closed the connection]
treehug88 has joined #ruby
roger_rabbit has joined #ruby
M-Kodo has joined #ruby
Mia has quit [Ping timeout: 252 seconds]
Yiota has joined #ruby
PedramT has joined #ruby
siaw has joined #ruby
Yiota has quit [Max SendQ exceeded]
Yiota has joined #ruby
igam has quit [Ping timeout: 246 seconds]
mikecmpbll has joined #ruby
Cohedrin has joined #ruby
sepp2k has quit [Quit: Leaving.]
dhollinger has joined #ruby
symm- has joined #ruby
mlakewood has quit [Quit: mlakewood]
Cohedrin_ has joined #ruby
ramfjord has joined #ruby
Cohedrin has quit [Ping timeout: 250 seconds]
IrishGringo has joined #ruby
PedramT has quit [Remote host closed the connection]
cdg has joined #ruby
sepp2k has joined #ruby
pawnbox has quit [Remote host closed the connection]
doublemalt_ has quit [Read error: Connection reset by peer]
GodFather has quit [Remote host closed the connection]
dopie has quit [Quit: Lost terminal]
GodFather has joined #ruby
moeabdol has joined #ruby
pandaant has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 276 seconds]
skade has quit [Quit: Computer has gone to sleep.]
Rodya_ has joined #ruby
johnmilton has quit [Quit: Namaste]
johnmilton has joined #ruby
kareeoleez has quit [Remote host closed the connection]
nofxx has joined #ruby
moeabdol has quit [Ping timeout: 244 seconds]
kareeoleez has joined #ruby
ruby-lang418 has joined #ruby
crystal77 has quit [Ping timeout: 250 seconds]
elifoster has joined #ruby
Guest38 has joined #ruby
<ruby-lang418> hi there. Ruby newbie here
mfb2 has quit [Ping timeout: 276 seconds]
skade has joined #ruby
MagePsycho has joined #ruby
davedev24 has quit [Remote host closed the connection]
goodroot has joined #ruby
moeabdol has joined #ruby
<jhass> hi
IrishGringo has quit [Ping timeout: 276 seconds]
carella has quit [Remote host closed the connection]
PedramT has joined #ruby
carella has joined #ruby
gooooodroot has quit [Ping timeout: 252 seconds]
bronson has joined #ruby
ruby-lang418 has quit [Ping timeout: 250 seconds]
roelof has joined #ruby
IrishGringo has joined #ruby
dopie has joined #ruby
<roelof> Now the answer is this : http://lpaste.net/161243
<roelof> but where is the :zig part coming from ?
<smathy> roelof, who said that was the answer?
<shevy> roelof just a symbol that he used at the "Example Code:" part
tristanp has quit [Read error: Connection reset by peer]
freerobby has quit [Quit: Leaving.]
eric____ has joined #ruby
r0b3rt has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 276 seconds]
tristanp has joined #ruby
<roelof> oke, so irl zig is defined somewhere ? , shevy
PedramT has quit [Remote host closed the connection]
MagePsycho has quit [Ping timeout: 252 seconds]
<shevy> roelof in this case, it actually equals to nil
firstdayonthejob has joined #ruby
karapetyan has joined #ruby
<shevy> no, the hash does not have a key like that - I have no idea why he picked that example
mfb2 has joined #ruby
<shevy> was there no explanation in that tutorial how hashes work?
davedev24 has joined #ruby
freerobby has joined #ruby
<smathy> roelof, he's showing the default value function of a ruby hash, see the second last sentence preceding that example.
<smathy> (why you took his example and put it in a separate paste for your question thereby destroying all context, I'll never understand)
<roelof> oke, so :zig contains what the hash.new provides , in the first there is only hash.new so :zig is nill. in the second one it's Hash.new("brown") so :zig is "brown"
hakunin has quit [Remote host closed the connection]
eric____ has quit [Remote host closed the connection]
<roelof> smathy: sorry, so the next time I schould paste the whole chapter part ?
<shevy> :D
<smathy> roelof, it's not really right to say that :zig contains anything, it doesn't exist in the hash, no keys do.
william3 has joined #ruby
<shevy> the RUN functionality is cool though
MagePsycho has joined #ruby
<smathy> roelof, don't be a smart ass, but you took the example out of context, instead you should have just pasted the first link and explained where the example was.
nando293921 has quit [Ping timeout: 260 seconds]
PedramT has joined #ruby
<roelof> oke, I will do that the next time
gregf has quit [Quit: WeeChat 1.4]
<smathy> roelof, you understand the default value thing now?
mfb2 has quit [Ping timeout: 268 seconds]
iwmrby has quit [Quit: WeeChat 1.4]
karate has quit [Remote host closed the connection]
tubuliferous has quit [Ping timeout: 260 seconds]
<roelof> smathy: yes, I do
Silox| has joined #ruby
<tobiasvl> smathy: did you mean "not to be a smart ass"?
<tobiasvl> carries a different meaning than what you wrote ;)
<smathy> tobiasvl, no, I meant what I said.
<tobiasvl> ah, all right.
<smathy> roelof, cool, what's really mind bending is that you can provide a proc as well, and that proc can create a hash on the fly.
patrick_star_2 has joined #ruby
hakunin has joined #ruby
<shevy> roelof has earned a beer now
karmatr0n has joined #ruby
<roelof> smathy: I hope I wil learn that in the ruby monk course later
kasisnu has joined #ruby
pawnbox has joined #ruby
* roelof is now drunk. He is not used to alcohol
moeabdol has quit [Ping timeout: 260 seconds]
mfb2 has joined #ruby
<smathy> roelof, I hope so too, but I'm not sure it does. Enjoy.
csharper has quit [Remote host closed the connection]
aegis3121 has joined #ruby
william3 has quit [Ping timeout: 276 seconds]
sepp2k has quit [Quit: Leaving.]
<roelof> thanks
SilverKey has quit [Quit: Halted.]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
<roelof> I m doing to ruby monk another time. The first time I did it too fast. After that I think I will do the codingame challenges or the codewars challenges
UlisesG has joined #ruby
naftilos76 has joined #ruby
hakunin has quit [Ping timeout: 246 seconds]
Amnez777 has quit [Ping timeout: 244 seconds]
bluOxigen has quit [Ping timeout: 244 seconds]
monoprotic has quit [Remote host closed the connection]
bluOxigen has joined #ruby
PedramT has quit [Remote host closed the connection]
valeri_ufo has quit [Ping timeout: 276 seconds]
monoprotic has joined #ruby
monoprotic has joined #ruby
agent_white has quit [Ping timeout: 244 seconds]
priodev has quit [Ping timeout: 244 seconds]
spacemud has quit [Ping timeout: 244 seconds]
tvon[laptop] has joined #ruby
Sou|cutter has quit [Ping timeout: 244 seconds]
papercode has quit [Ping timeout: 244 seconds]
Junaos_ has quit [Ping timeout: 244 seconds]
ltp_ has quit [Ping timeout: 244 seconds]
fragtastic has quit [Ping timeout: 244 seconds]
victortyau has quit [Ping timeout: 276 seconds]
tvon has quit [Ping timeout: 244 seconds]
dsimon has quit [Ping timeout: 244 seconds]
theRealAlexz_ has quit [Ping timeout: 244 seconds]
valeri_ufo has joined #ruby
theRealAlexz has joined #ruby
gigetoo has quit [Ping timeout: 276 seconds]
gigetoo has joined #ruby
agent_white has joined #ruby
ltp has joined #ruby
Devalo has joined #ruby
yxhuvud has quit [Remote host closed the connection]
DoubleMalt has joined #ruby
_djbkd has joined #ruby
Waqas has joined #ruby
Xiti has quit [Quit: Xiti]
evidex has quit [Remote host closed the connection]
Fridtjof has quit [Ping timeout: 264 seconds]
pietr0 has quit [Ping timeout: 276 seconds]
ayonkhan has quit [Quit: Textual IRC Client: www.textualapp.com]
ChiefAlexander has joined #ruby
hays_ has quit [Quit: No Ping reply in 180 seconds.]
spacemud has joined #ruby
Junaos has joined #ruby
JagaJaga has quit [Ping timeout: 276 seconds]
priodev has joined #ruby
marr has quit [Ping timeout: 250 seconds]
fragtastic has joined #ruby
marienz has quit [Ping timeout: 610 seconds]
Amnez777 has joined #ruby
Cohedrin has joined #ruby
pietr0 has joined #ruby
Fridtjof has joined #ruby
chipotle has quit [Quit: cheerio]
Cohedrin_ has quit [Ping timeout: 276 seconds]
JagaJaga has joined #ruby
hobodave has joined #ruby
papercode has joined #ruby
marienz has joined #ruby
Sou|cutter has joined #ruby
hays has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
diegoaguilar has quit [Remote host closed the connection]
dsimon has joined #ruby
JesseH has joined #ruby
kasisnu has quit [Ping timeout: 268 seconds]
marcdel has quit [Ping timeout: 246 seconds]
benlieb has joined #ruby
n008f4g_ has joined #ruby
jaruga___ has quit [Quit: jaruga___]
<Fernando-Basso> roelof: What about using anki to help you review?
baweaver has joined #ruby
<roelof> Fernando-Basso: what or who is anki ?
SilverKey has joined #ruby
tvon[laptop] has quit [Quit: System is sleeping...]
Xiti has joined #ruby
<Fernando-Basso> It is a spaced repetion software that is intended to make you review something when you are about to forget about it.
nchambers is now known as sillytime
<roelof> Fernando-Basso: you mean this one :https://ankiweb.net/shared/info/664741051 ?
skade has quit [Quit: Computer has gone to sleep.]
malconis has joined #ruby
<Fernando-Basso> I have started and stopped using it about 4 times already. It helps for me.
Es0teric has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
<Fernando-Basso> Yeah, but other people's cards is not what I advise.
PedramT has joined #ruby
diegoaguilar has joined #ruby
pietr0 has quit [Ping timeout: 276 seconds]
<Fernando-Basso> And this is off-topic here anyway. I just wanted to tell you this software exists. See for your self. There are some posts on the web about using anki to help one memorize (you learn something, and only then you make some anki cards for reviewing what you learned)
pietr0 has joined #ruby
MagePsycho has quit [Ping timeout: 276 seconds]
<Fernando-Basso> http://www.jackkinsella.ie/2011/12/05/janki-method.html and https://sivers.org/srs if you want to read some more (there is more on th web)
tvon has joined #ruby
cmckee has joined #ruby
devbug has quit [Read error: Connection reset by peer]
<Fernando-Basso> One of my cards says "get the last char of a string", and the answer is: (substring str (- (string-length str) 1))
andikr has quit [Remote host closed the connection]
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
devbug has joined #ruby
RegulationD has joined #ruby
ramfjord has joined #ruby
mdw has joined #ruby
mdw has quit [Max SendQ exceeded]
mdw has joined #ruby
MagePsycho has joined #ruby
cmckee has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
hxegon has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
<roelof> Fernando-Basso : thanks for the tip
gizmore has joined #ruby
replay has joined #ruby
<Fernando-Basso> roelof: If you ever adopt this approach, remember this one thing: spaced repetition is to help remember small details, not to "learn". Learning happens before making review notes.
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
mfb2_ has joined #ruby
mfb2_ has quit [Read error: Connection reset by peer]
mfb2_ has joined #ruby
[Butch] has joined #ruby
mfb2 has quit [Ping timeout: 240 seconds]
karapetyan has quit [Ping timeout: 276 seconds]
<crime> fernando is one a them smart people
tenderlove has quit [Quit: Leaving...]
mfb2_ has quit [Ping timeout: 252 seconds]
baweaver has joined #ruby
ledestin has joined #ruby
karapetyan has joined #ruby
poerror has joined #ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
karmatr0n has quit [Ping timeout: 276 seconds]
chouhoulis has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 276 seconds]
mfb2 has joined #ruby
goodroot has quit [Ping timeout: 250 seconds]
agit0 has joined #ruby
roelof has quit [Quit: Page closed]
SilverKey has quit [Quit: Halted.]
zast has quit [Remote host closed the connection]
mfb2 has quit [Ping timeout: 276 seconds]
Devalo has quit [Remote host closed the connection]
SilverKey has joined #ruby
SCHAAP137 has joined #ruby
gregf has joined #ruby
sphex_ has quit [Ping timeout: 252 seconds]
antgel has quit [Ping timeout: 246 seconds]
Dimik has joined #ruby
karapetyan has quit [Remote host closed the connection]
<eam> has anyone built native ruby mri for android? I know about ruboto, but I want something for non-android apps
aegis3121 has quit [Ping timeout: 260 seconds]
karapetyan has joined #ruby
isxek has quit [Remote host closed the connection]
antgel has joined #ruby
flashpoint9 has joined #ruby
skislak has quit [Remote host closed the connection]
<tubbo> wait
flashpoint9 has quit [Read error: Connection reset by peer]
<tubbo> eam: you want ruby mri for android so you can make non-android apps?
naftilos76 has quit [Ping timeout: 240 seconds]
flashpoint9 has joined #ruby
joneshf-laptop has joined #ruby
r0b3rt has joined #ruby
<baweaver> ruboto
<baweaver> well, jRuby there
tagaulap has quit [Quit: Connection closed for inactivity]
<jhass> tubbo: of course, don't you use your old android has homeserver? :P
dmr8 has joined #ruby
darkxploit has quit [Ping timeout: 276 seconds]
sphex has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
agentmeerkat has joined #ruby
baweaver has quit [Remote host closed the connection]
aegis3121 has joined #ruby
blackmesa has joined #ruby
devbug has quit [Read error: Connection reset by peer]
devbug has joined #ruby
Asher has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
symm- has quit [Ping timeout: 250 seconds]
bluOxigen has quit [Ping timeout: 246 seconds]
antgel has quit [Ping timeout: 240 seconds]
sauvin has quit [Remote host closed the connection]
hakunin has joined #ruby
<eam> tubbo: I want to write some system scripts
mikecmpbll has joined #ruby
codecop has joined #ruby
codecop_ has joined #ruby
<eam> stuff like interacting with hardware for a testing framework
poerror has left #ruby ["Textual IRC Client: www.textualapp.com"]
flashpoint9 has joined #ruby
codecop has quit [Client Quit]
soxet has quit [Quit: Leaving]
yfeldblum has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
darkxploit has joined #ruby
Snowy has joined #ruby
mfb2 has joined #ruby
moeabdol has joined #ruby
navneet has joined #ruby
bigkevmcd has quit [Quit: Outta here...]
darkxploit has quit [Max SendQ exceeded]
raeoks has joined #ruby
darkxploit has joined #ruby
<shevy> eam goes hardcore mode - beastmode!
navneet_ has joined #ruby
mdw has quit [Ping timeout: 250 seconds]
devbug has quit [Read error: Connection reset by peer]
moeabdol has quit [Ping timeout: 244 seconds]
Yeomra has joined #ruby
mdw has joined #ruby
diegoaguilar has quit [Read error: Connection reset by peer]
darkxploit has quit [Max SendQ exceeded]
navneet has quit [Ping timeout: 240 seconds]
diegoaguilar has joined #ruby
darkxploit has joined #ruby
navneet_ has quit [Ping timeout: 240 seconds]
diego1 has joined #ruby
SilverKey has quit [Quit: Halted.]
diegoviola has quit [Ping timeout: 244 seconds]
<shevy> hmm I just saw this in code written by someone else: @game_pause ^= true
<shevy> what does that mean?
darkxploit has quit [Max SendQ exceeded]
karapetyan has quit [Remote host closed the connection]
<hanmac> shevy: it does flipflop the boolean value
ramortegui has quit [Quit: Ex-Chat]
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<hanmac> it does set true to false, and false to true
hxegon has joined #ruby
<apeiros> shevy: check TrueClass#^ (and FalseClass#^), it's boolean XOR
<shevy> hmm weird
devbug has joined #ruby
diego1 is now known as diegoviola
diegoaguilar has quit [Remote host closed the connection]
SilverKey has joined #ruby
<tobiasvl> why not just !@game_pause
<tobiasvl> showoff
<jhass> I guess @game_pause = !@game_pause was considered more verbose
<tobiasvl> verbosity is not always a bad thing :P
<jhass> or the author didn't feel smart enough with it
<gizmore> hmmm weird bug: ... @arm_gcache[other.table_name] => Exception no [] for nil .... but the second call works Oo
<gizmore> like the same row twice works... but the first call gives an exception
<jhass> gizmore: try to write a minimal reproducer, this can have a myriad of reasons
thejamespinto has joined #ruby
<shevy> tobiasvl yeah, I am so used to the ! there too
<gizmore> jhass: would you like to clone and run spec that halts exactly there?
Cohedrin_ has joined #ruby
karmatr0n has joined #ruby
<shevy> some of this code is in old ruby-gtk, I have not even noted down who wrote this (was not me!)
<jhass> gizmore: not sure, I suspect some > 1kloc codebase involved
<gizmore> yeah... could be the reason it is on self.inherited ?
<jhass> trying to reduce it will also have a high likelihood of you understanding the issue afterwards
<jhass> with the current amount of context, sure why not
antgel has joined #ruby
hakunin has quit [Remote host closed the connection]
<jhass> (or even in the process of writing the reproducer)
Cohedrin has quit [Ping timeout: 252 seconds]
anik120 has joined #ruby
Dry_Lips has joined #ruby
Dry_Lips has joined #ruby
jhill has quit [Ping timeout: 244 seconds]
ckrailo has quit [Ping timeout: 244 seconds]
akahn has quit [Ping timeout: 244 seconds]
jhill_ has joined #ruby
jhill_ is now known as jhill
tubuliferous has joined #ruby
PedramT has quit [Remote host closed the connection]
dukedave has quit [Ping timeout: 244 seconds]
hayden_ has quit [Read error: Connection reset by peer]
knowtheory has quit [Read error: Connection reset by peer]
PedramT has joined #ruby
baweaver has joined #ruby
MagePsycho has quit [Ping timeout: 268 seconds]
shinnya has quit [Ping timeout: 244 seconds]
<Fernando-Basso> crime: No, I am not.
<crime> u cant fool me
<crime> <3
<Fernando-Basso> ☺
jhack has joined #ruby
<Fernando-Basso> That was cute. ♥
jackjackdripper has joined #ruby
jackjackdripper1 has joined #ruby
agentmeerkat has quit [Ping timeout: 250 seconds]
PedramT has quit [Ping timeout: 268 seconds]
darkxploit has joined #ruby
allcentury has quit [Quit: WeeChat 1.2]
ferr has quit [Quit: WeeChat 1.4]
<Papierkorb> I'm about to write a spec with Rack::Test. Is that a 'feature' test?
baweaver has quit [Ping timeout: 250 seconds]
knowtheory has joined #ruby
akahn has joined #ruby
hayden_ has joined #ruby
ckrailo has joined #ruby
tubuliferous has quit [Ping timeout: 260 seconds]
chouhoulis has joined #ruby
rubeegginor has quit [Ping timeout: 250 seconds]
mdw has quit [Ping timeout: 244 seconds]
yfeldblum has quit [Ping timeout: 276 seconds]
err_ok has quit [Ping timeout: 250 seconds]
dukedave has joined #ruby
<crime> So I wrote some ruby to run markov chains on characters in apt package names, here are some potential names for your next APT package: http://pastebin.com/qLjqmjQT
<ruby[bot]> crime: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/4fdacc5aa42d10687088b39162c1e279
<ruby[bot]> crime: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
blackmesa has quit [Ping timeout: 276 seconds]
mfb2 has quit [Remote host closed the connection]
<jhass> meh, should've stripped trailing numbers or at least throw out candidates with \d+\.\d+ in the middle
jackjackdripper1 has quit [Quit: Leaving.]
tubuliferous has joined #ruby
jackjackdripper has joined #ruby
ItSANgo_ has joined #ruby
Dimik has quit [Ping timeout: 240 seconds]
crankharder has quit [Remote host closed the connection]
<crime> jhass, I left the noise actually specifically to disappoint you
siaw has quit [Quit: siaw]
<jhass> appreciated
<crime> thats the level of detail that I consider in order to foster our relationship
siaw has joined #ruby
<crime> <3
err_ok has joined #ruby
<Fernando-Basso> crime: It is all over now. I thought you loved me, not jhass. I hate you.
newjersey has quit [Ping timeout: 240 seconds]
yude has quit [Read error: Connection timed out]
<crime> how can I write ruby code to this noose tonight? my life has lost meaning just now
<crime> to tie the noose, I meant
<crime> obv
Devalo has joined #ruby
tvon has quit [Quit: System is sleeping...]
yude has joined #ruby
yude has quit [Max SendQ exceeded]
kasisnu has joined #ruby
tvon has joined #ruby
skade has joined #ruby
Devalo has quit [Ping timeout: 240 seconds]
akem has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skade has quit [Client Quit]
baweaver has joined #ruby
tax has joined #ruby
ahuman_ is now known as ahuman
flashpoint9 has quit [Remote host closed the connection]
troulouliou_div2 has joined #ruby
_djbkd has quit [Remote host closed the connection]
crankharder has joined #ruby
_djbkd has joined #ruby
PedramT has joined #ruby
dionysus69 has quit [Ping timeout: 250 seconds]
moeabdol has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
_djbkd has quit [Ping timeout: 252 seconds]
chouhoulis has quit [Remote host closed the connection]
mfb2 has joined #ruby
chouhoulis has joined #ruby
auxbuss has joined #ruby
mikecmpbll has joined #ruby
`tim` has joined #ruby
ChiefAlexander has joined #ruby
mfb2 has quit [Ping timeout: 246 seconds]
Rodya_ has quit [Remote host closed the connection]
joneshf-laptop has quit [Ping timeout: 276 seconds]
Cohedrin has joined #ruby
carella has quit [Remote host closed the connection]
<crime> if I compiled ruby from source, how can I uninstall it?
tax has quit [Ping timeout: 240 seconds]
<crime> nvm i am stupid
jenrzzz has joined #ruby
yfeldblum has joined #ruby
<Fernando-Basso> nvm is for nodejs. rvm is for ruby. :D
<smathy> :)
<crime> i'm using ruby-install right this second actually
<crime> is rvm better?
<shevy> I think havenwood knows the answer to this!
MagePsycho has joined #ruby
* havenwood goes mute
Cohedrin_ has quit [Ping timeout: 250 seconds]
<shevy> haha
<crime> very zen
Coldblackice_ has joined #ruby
gmas has quit [Ping timeout: 244 seconds]
<shevy> crime we will get an answer to this epic duel
PedramT has quit [Remote host closed the connection]
bradleyprice has quit [Remote host closed the connection]
<crime> you dont have to, i was just wondering if one of them was like obviously vastly better
<crime> if they're similar i'm sure i'll be fine
bradleyprice has joined #ruby
mfb2 has joined #ruby
devbug has quit [Read error: Connection reset by peer]
devbug has joined #ruby
gmas has joined #ruby
<smathy> crime, one's not obviously, vastly better - although one is obviously, vastly worse, just that not everyone seems to agree ;)
<crime> which one is worse?
<smathy> rvm
<crime> oh. sucks for them, i suppose
<smathy> They have a loyal following nonetheless.
bradleyprice has quit [Ping timeout: 276 seconds]
bradleyp_ has joined #ruby
Rodya_ has joined #ruby
toretore has quit [Ping timeout: 276 seconds]
yfeldblum has quit [Ping timeout: 268 seconds]
Spami has quit [Quit: This computer has gone to sleep]
karmatr0n has quit [Ping timeout: 250 seconds]
Rodya_ has quit [Ping timeout: 276 seconds]
anik120 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
johnmilton has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
Es0teric has joined #ruby
Lomex has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
CloCkWeRX has quit [Ping timeout: 244 seconds]
jenrzzz has joined #ruby
Rodya_ has joined #ruby
<Fernando-Basso> Damn open source options. Life is getting harder and harder because all of the choices we have to make.
<tobiasvl> decision fatigue
<Fernando-Basso> I wanted one. Just that.
<apeiros> Fernando-Basso: I can sell you a magical decision coin
<apeiros> only $100
<smathy> Fernando-Basso, I have one two, choose mine instead.
<Fernando-Basso> Ah!
<apeiros> I can sell you a lesser coin to decide which coin to buy
* smathy too
<smathy> ...in fact I have hundreds of coins to choose from.
<Fernando-Basso> According to "the paradox of choice" (ted talk) more options tend to make people unhappy and undecisive. It certainly happens to me.
<Fernando-Basso> Should I use vim or emacs? Atom, sublime brackets?
<crime> ruby has a method for that, guys
<smathy> Seems to be something that affects people who struggle to make decisions, maybe people without a good handle on their hierarchy of values.
<Fernando-Basso> Debian, fedora, ubuntu, mint, atch linux, gentoo?
<apeiros> crime: stop ruining my business!
<crime> I code in nano, you guys need to step it up
<smathy> I have no problem with choices, the more the merrier, the right choice always seems pretty clear to me.
minimalism has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<crime> i'd write ruby in punchcards if there were any
gizmore has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
<crime> damn young people, where's my beard
<smathy> That's more something you'd find as a CPAN module.
<hanmac> crime: what about using stone cycles for that? XD
blackmesa has joined #ruby
freerobby has quit [Quit: Leaving.]
<Fernando-Basso> smathy: How do you handle/organize your hierarchy of values?
<crime> I loved that the left-pad situation happened to the kind of people that talk shit about CPAN
<crime> absolutely glorious
<Fernando-Basso> That is another situation where the plethora of options was bad from a certain point of view.
Lomex has quit [Remote host closed the connection]
<Fernando-Basso> I took a look at some npm "modules"... Too many of them are a single, small and simple function.
_djbkd has joined #ruby
mfb2 has quit [Remote host closed the connection]
<Fernando-Basso> Why? Why?
auxbuss has quit [Quit: I'm gone.]
<shevy> because javascript itself lacks simple functions
<Fernando-Basso> "I have 43 modules published on npm. I'm the guy."
<Fernando-Basso> Is that the reason people write so much modules?
flashpoint9 has joined #ruby
<shevy> yeah
<smathy> Fernando-Basso, I was lucky in that most of it was good to begin with, as a result of my upbringing, genetics, whatever - the areas that were in conflict I spent introspecting on and making conscious choices about the direction I wanted to go, the person I wanted to be, and I contemplated a lot of things, especially different philosophies, in order to make decisions about what was important to me. This materializes in decisions as mundane as emacs vs
<smathy> vim: I value consistency and predictability over extensibility and customization, so I choose vim.
<shevy> small is beautiful
MagePsycho has quit [Quit: MagePsycho]
<shevy> you can customize vim!!! you can even play tetris in it
mfb2 has joined #ruby
mfb2 has quit [Remote host closed the connection]
<smathy> shevy, I know, but its customization isn't close to emacs's - VimScript is a clusterfuck.
hobodave_ has joined #ruby
* jhass only plays tetris in sed
joneshf-laptop has joined #ruby
workmad3 has quit [Ping timeout: 268 seconds]
<smathy> shevy, your comment itself is funny because it suggests that my decision was based on some absolute, like that I had said "vim has no customization" - I didn't.
<smathy> shevy, decisions are often about evaluating strengths not absolutes.
<crime> neovim will run on lua, p rad
jenrzzz has quit [Ping timeout: 240 seconds]
<shevy> jhass is that really possible???
<crime> ruco already runs on ruby tho
<smathy> Both in the attributes of what you're evaluating but also in your own value system. I *do* value extensibility, just that I value consistency and predictability more.
blackmesa has quit [Ping timeout: 244 seconds]
moei has quit [Quit: Leaving...]
hobodave has quit [Ping timeout: 244 seconds]
<jhass> shevy: yes
Don_John has joined #ruby
bruno- has quit [Quit: leaving]
Silox| has quit [Quit: Connection closed for inactivity]
joneshf-laptop has quit [Read error: Connection reset by peer]
<shevy> I have to try this
pawnbox has joined #ruby
hakunin has joined #ruby
Don_John has quit [Remote host closed the connection]
northrup has joined #ruby
Yeomra has quit [Ping timeout: 276 seconds]
Emmanuel_Chanel has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
dionysus69 has joined #ruby
<crime> does re.c usually take 15min+ to compile?
<jhass> nope
<shevy> amazingly sedtris works very well
Snowy has quit [Quit: ragequit]
anik120 has joined #ruby
IrishGringo has quit [Ping timeout: 268 seconds]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
loincloth has quit []
tubuliferous has quit [Ping timeout: 276 seconds]
`tim` has joined #ruby
devbug has quit [Read error: Connection reset by peer]
<crime> I'm more of a nethack kinda guy
Es0teric has quit [Quit: Computer has gone to sleep.]
<shevy> typical hacker crime
devbug has joined #ruby
UlisesG has quit [Remote host closed the connection]
ta_ has joined #ruby
PedramT has joined #ruby
<crime> yup
agentmeerkat has joined #ruby
<crime> when i get old im gonna have one of those big white beards and write code on a blackboard and stuff
swills has quit [Ping timeout: 250 seconds]
LastWhisper____ has joined #ruby
moei has joined #ruby
LastWhisper____ has joined #ruby
LastWhisper____ has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
LastWhisper____ has joined #ruby
bradleyp_ has quit [Remote host closed the connection]
<shevy> lol
<shevy> santa claus!
bradleyprice has joined #ruby
Regulati_ has joined #ruby
devbug has quit [Read error: Connection reset by peer]
devbug has joined #ruby
bradleyprice has quit [Ping timeout: 244 seconds]
djcp has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 260 seconds]
RegulationD has quit [Ping timeout: 252 seconds]
symm- has joined #ruby
babblebre has joined #ruby
marr has joined #ruby
emilford has joined #ruby
skade has joined #ruby
antgel has quit [Ping timeout: 240 seconds]
BTRRY has joined #ruby
BTRE has quit [Read error: Connection reset by peer]
[Butch] has joined #ruby
mlakewood has joined #ruby
william3 has joined #ruby
newjersey has joined #ruby
newjersey has quit [Max SendQ exceeded]
synthroid has quit []
<crime> more like santa guard clause, ho ho ho
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
dhollinger has quit [Quit: WeeChat 1.4]
diegoaguilar has joined #ruby
diegoaguilar has quit [Max SendQ exceeded]
FooMunki has quit [Quit: FooMunki]
ur5us has joined #ruby
diegoaguilar has joined #ruby
Pupeno has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
daguilaraguilar has joined #ruby
Moosashi has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
JesseH has quit [Quit: Leaving]
LastWhisper____ has quit [Ping timeout: 250 seconds]
SilverKey has quit [Quit: Halted.]
diegoaguilar has quit [Ping timeout: 252 seconds]
codecop_ has quit [Remote host closed the connection]
<crime> I'm running my markov chain thing on gem names now, they are coming out much worse
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
x77686d has quit [Quit: x77686d]
mfb2 has joined #ruby
blackmesa has joined #ruby
Lomex has joined #ruby
Lomex has quit [Remote host closed the connection]
PedramT has quit [Remote host closed the connection]
PedramT has joined #ruby
Rodya_ has quit [Remote host closed the connection]
davedev24 has quit [Read error: Connection reset by peer]
davedev2_ has joined #ruby
devbug has quit [Read error: Connection reset by peer]
Rodya_ has joined #ruby
Spami has joined #ruby
Spami has quit [Client Quit]
blackmesa has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
PedramT has quit [Remote host closed the connection]
[Butch] has quit [Quit: I'm out . . .]
FooMunki has joined #ruby
Devalo has joined #ruby
tvon has quit [Quit: System is sleeping...]
dionysus69 has quit [Quit: dionysus69]
wuyin has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
musl has joined #ruby
rkazak has joined #ruby
Devalo has quit [Ping timeout: 244 seconds]
Spami has joined #ruby
ldnunes has quit [Quit: Leaving]
bronson has quit [Remote host closed the connection]
stannard has quit [Remote host closed the connection]
Madplatypus has joined #ruby
devbug has joined #ruby
gnufied has quit [Quit: Leaving]
rkazak has quit [Ping timeout: 260 seconds]
VeryBewitching has quit [Quit: Konversation terminated!]
blackgoat has joined #ruby
gnufied has joined #ruby
gnufied has quit [Client Quit]
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Yiota has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blackmesa has joined #ruby
jottr has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
IrishGringo has joined #ruby
aupadhye has quit [Quit: Leaving]
kareeoleez has quit [Remote host closed the connection]
FooMunki has quit [Quit: FooMunki]
<crime> gem names are terrible, apparently
Dimik1 has joined #ruby
ocbtec has quit [Quit: leaving]
mfb2 has quit [Read error: Connection reset by peer]
<weaksauce> you might want to break up the chains at the _ for input
jenrzzz has joined #ruby
jenrzzz has joined #ruby
kareeoleez has joined #ruby
jenrzzz has quit [Client Quit]
<crime> it was done by character for this one and apt one
`tim` is now known as justbleed
<crime> split at " " and "\n"
Yiota has quit [Ping timeout: 276 seconds]
<crime> and then just using n=2 cons cells to represent transitions
kareeoleez has quit [Ping timeout: 276 seconds]
elaptics is now known as elaptics`away
IrishGringo has quit [Ping timeout: 250 seconds]
jhack has quit [Quit: jhack]
mfb2 has joined #ruby
hobodave_ has quit [Quit: Computer has gone to sleep.]
crime has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
CausaMortis has joined #ruby
aegis3121 has quit [Ping timeout: 250 seconds]
ramfjord has quit [Ping timeout: 260 seconds]
aegis3121 has joined #ruby
polishdub has quit [Quit: Leaving]
rbennacer has quit [Remote host closed the connection]
raeoks has quit [Ping timeout: 246 seconds]
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
Moosashi has quit [Quit: Moosashi]
rbennacer has quit [Remote host closed the connection]
threh has joined #ruby
rbennacer has joined #ruby
GodFather has quit [Ping timeout: 252 seconds]
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
ramfjord has joined #ruby
mfb2 has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
CausaMortis has quit [Ping timeout: 268 seconds]
Majost has joined #ruby
rbennacer has joined #ruby
GodFather has joined #ruby
rbennacer has quit [Remote host closed the connection]
dopie has quit [Quit: Lost terminal]
dopie has joined #ruby
justbleed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rodya__ has joined #ruby
bkxd has joined #ruby
kareeoleez has joined #ruby
x77686d has joined #ruby
moeabdol has quit [Ping timeout: 250 seconds]
Rodya_ has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
Xeago has quit [Remote host closed the connection]
jhn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Contigi has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
kareeoleez has quit [Ping timeout: 276 seconds]
Es0teric has joined #ruby
agit0 has quit [Read error: Connection reset by peer]
solars has quit [Ping timeout: 244 seconds]
Xeago has joined #ruby
kareeoleez has joined #ruby
Yiota has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mfb2 has joined #ruby
treehug88 has quit [Quit: Textual IRC Client: www.textualapp.com]
agent_white has quit [Quit: leaving]
Moosashi has joined #ruby
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has joined #ruby
kith has joined #ruby
kareeoleez has quit [Ping timeout: 246 seconds]
Yiota has quit [Ping timeout: 276 seconds]
Trynemjoel has quit [Ping timeout: 244 seconds]
swills has joined #ruby
devbug has quit [Quit: ZZZzzz…]
kareeoleez has joined #ruby
Xeago has quit [Remote host closed the connection]
hxegon has joined #ruby
Trynemjoel has joined #ruby
kasisnu has quit [Remote host closed the connection]
troulouliou_div2 has quit [Ping timeout: 276 seconds]
kareeoleez has quit [Ping timeout: 260 seconds]
Yiota has joined #ruby
anik120 has quit [Ping timeout: 246 seconds]
tessi has joined #ruby
rodfersou has quit [Quit: leaving]
JagaJaga has quit [Ping timeout: 252 seconds]
skweek has joined #ruby
kareeoleez has joined #ruby
jonr22 has joined #ruby
baweaver has quit [Remote host closed the connection]
aegis3121 has quit [Ping timeout: 246 seconds]
Yiota has quit [Ping timeout: 260 seconds]
Moosashi has quit [Quit: Moosashi]
pawnbox has joined #ruby
brianpWins has joined #ruby
emilford has quit [Ping timeout: 260 seconds]
kareeoleez has quit [Ping timeout: 240 seconds]
ebbflowgo has left #ruby [#ruby]
robbyoconnor has joined #ruby
tessi has quit [Quit: tessi]
Es0teric has quit [Quit: Computer has gone to sleep.]
jrafanie has joined #ruby
tessi has joined #ruby
Waqas has quit [Ping timeout: 246 seconds]
pawnbox has quit [Ping timeout: 268 seconds]
emilford has joined #ruby
zenlot6 has joined #ruby
ur5us has quit [Remote host closed the connection]
troulouliou_div2 has joined #ruby
troulouliou_div2 has quit [Remote host closed the connection]
zenlot has quit [Ping timeout: 268 seconds]
Dimik1 has quit [Ping timeout: 246 seconds]
tessi has quit [Ping timeout: 260 seconds]
biberu has quit [Read error: Connection reset by peer]
jottr has quit [Ping timeout: 240 seconds]
jackjackdripper1 has joined #ruby
jonr22 has quit [Ping timeout: 240 seconds]
kareeoleez has joined #ruby
Xeago has joined #ruby
freerobby has joined #ruby
Weavel has quit [Quit: Copywight 2016 Elmer Fudd. All wights wesewved.]
Matthew_ is now known as MRB[away]
jackjackdripper has quit [Ping timeout: 250 seconds]
baweaver has joined #ruby
szulak has quit [Quit: Textual IRC Client: www.textualapp.com]
jolts has joined #ruby
firstdayonthejob has quit [Ping timeout: 250 seconds]
Regulati_ has quit [Remote host closed the connection]
SilverKey has joined #ruby
william3 has joined #ruby
kareeoleez has quit [Ping timeout: 260 seconds]
SilverKey has quit [Client Quit]
daguilaraguilar has quit [Remote host closed the connection]
kareeoleez has joined #ruby
Pupeno has joined #ruby
Pupeno has joined #ruby
Rodya__ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
diegoaguilar has joined #ruby
jonr22 has joined #ruby
william3 has quit [Ping timeout: 246 seconds]
crime has joined #ruby
benlieb has quit [Quit: benlieb]
bronson has quit [Remote host closed the connection]
bradleyprice has joined #ruby
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jonr2219 has joined #ruby
mfb2 has quit [Remote host closed the connection]
Yiota has joined #ruby
jottr has joined #ruby
bradleyprice has quit [Remote host closed the connection]
lemur has joined #ruby
jonr22 has quit [Ping timeout: 250 seconds]
bradleyprice has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
jhack has joined #ruby
blaxter has quit [Read error: Connection reset by peer]
threh has quit [Ping timeout: 250 seconds]
Yiota has quit [Ping timeout: 260 seconds]
jonr2219 has quit [Ping timeout: 250 seconds]
bradleyprice has quit [Ping timeout: 250 seconds]
SilverKey has joined #ruby
Rodya_ has quit [Remote host closed the connection]
lemur has quit [Ping timeout: 276 seconds]
bronson has joined #ruby
tubuliferous has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
solocshaw has joined #ruby
bkxd has joined #ruby
rkazak has joined #ruby
dmr8 has quit [Quit: Leaving]
_djbkd has quit [Remote host closed the connection]
mfb2 has joined #ruby
nando293921 has joined #ruby
Devalo has joined #ruby
whippythellama has quit [Quit: WeeChat 1.4]
baweaver has quit [Remote host closed the connection]
Trynemjoel has quit [Ping timeout: 264 seconds]
Devalo has quit [Ping timeout: 260 seconds]
gnufied has joined #ruby
ur5us has joined #ruby
zeroDivisible has joined #ruby
jackjackdripper1 has quit [Quit: Leaving.]
ixti has quit [Quit: WeeChat 1.4]
ur5us_ has joined #ruby
Trynemjoel has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
mfb2 has quit [Remote host closed the connection]
baweaver has joined #ruby
DotKite has joined #ruby
hays has quit [Quit: No Ping reply in 180 seconds.]
ta_ has quit [Remote host closed the connection]
bradleyprice has joined #ruby
ur5us has quit [Ping timeout: 276 seconds]
tvon has joined #ruby
hays has joined #ruby
SilverKey has quit [Quit: Halted.]
ur5us_ has quit [Ping timeout: 276 seconds]
darkf has joined #ruby
ur5us has joined #ruby
agentmeerkat has quit [Ping timeout: 252 seconds]
agentmeerkat has joined #ruby
jdm has joined #ruby
binaryplease1 has joined #ruby
polysics_ has quit [Remote host closed the connection]
binaryplease has quit [Ping timeout: 240 seconds]
ur5us has quit [Read error: Connection reset by peer]
northrup has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ur5us has joined #ruby
agentmeerkat has quit [Ping timeout: 260 seconds]
wuyin has quit [Quit: leaving]
Es0teric has joined #ruby
terminalrecluse has joined #ruby
triangles2 has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
binaryplease1 is now known as binaryplease
triangles has quit [Ping timeout: 276 seconds]
ebbflowgo has joined #ruby
cdg has quit [Ping timeout: 250 seconds]
TomyLobo has quit [Ping timeout: 240 seconds]
RegulationD has joined #ruby
FooMunki has joined #ruby
Devalo has joined #ruby
RegulationD has quit [Ping timeout: 260 seconds]
Devalo has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
kareeoleez has quit [Remote host closed the connection]
Devalo has joined #ruby
sneakerhax has joined #ruby
Rodya_ has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
_blizzy_ has joined #ruby
Rodya_ has quit [Remote host closed the connection]
_blizzy_ has quit [Client Quit]
Rodya_ has joined #ruby
Devalo has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 240 seconds]
Rodya_ has quit [Remote host closed the connection]