baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.10: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || Rails questions? Ask on #RubyOnRails || logs @ https://irclog.whitequark.org/ruby/
nisstyre has quit [Read error: Connection reset by peer]
polysics has joined #ruby
rcvalle has quit [Quit: rcvalle]
NetSage has joined #ruby
hopsoft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
whathappens has quit [Remote host closed the connection]
polysics has quit [Ping timeout: 265 seconds]
BackEndCoder has quit [Excess Flood]
whathappens has joined #ruby
BackEndCoder has joined #ruby
finisherr has quit [Ping timeout: 272 seconds]
whathappens has quit [Ping timeout: 255 seconds]
djbkd_ has joined #ruby
ajsharma has joined #ruby
_djbkd has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
nankyokusei has joined #ruby
jaequery has quit [Client Quit]
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
finisherr has joined #ruby
chouhoulis has joined #ruby
leea has quit [Quit: Textual IRC Client: www.textualapp.com]
nankyokusei has quit [Ping timeout: 265 seconds]
redpants has quit [Ping timeout: 244 seconds]
leea has joined #ruby
finisherr has quit [Client Quit]
webopsx has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SeepingN has quit [Disconnected by services]
SeepingN_ has joined #ruby
symm- has quit [Ping timeout: 244 seconds]
Devalo has joined #ruby
CuriousMind has joined #ruby
chouhoulis has quit [Remote host closed the connection]
BackEndCoder has quit [Excess Flood]
chouhoulis has joined #ruby
dminuoso has joined #ruby
<CuriousMind> I don't know how to ask this question but...when would you use instance variables and class variables? To my understanding, instance variables belong to instances of the class while class variables belong to the class. I just don't get why
Devalo has quit [Ping timeout: 265 seconds]
prawnzy has joined #ruby
BackEndCoder has joined #ruby
JoshS has joined #ruby
petercooper has quit [Ping timeout: 276 seconds]
xemehc has joined #ruby
jshjsh has quit [Ping timeout: 265 seconds]
dminuoso has quit [Ping timeout: 260 seconds]
tyang_ has joined #ruby
gp has quit [Ping timeout: 244 seconds]
LambdaSix has quit [Ping timeout: 265 seconds]
tyang has quit [Ping timeout: 255 seconds]
redpants has joined #ruby
nitric has quit [Ping timeout: 255 seconds]
replay has quit [Quit: Textual IRC Client: www.textualapp.com]
blackmesa has joined #ruby
<zenspider> strongcode: OptionParser. Look at minitest's process_args for an example
<zenspider> CuriousMind: you don't get what?
SeepingN_ has quit [Quit: The system is going down for reboot NOW!]
blackmesa has quit [Ping timeout: 244 seconds]
skweek has quit [Ping timeout: 250 seconds]
<CuriousMind> zenspider: Class variables and instance variables. Someone explained it to me in programming
hello_skywalker has joined #ruby
<CuriousMind> zenspider: To my understanding, class variables are unique to the class and instance variables are unique to each instance from the class. Is that correct?
hello_skywalker has left #ruby [#ruby]
CloCkWeRX has quit [Ping timeout: 265 seconds]
ziprar has joined #ruby
zipace has quit [Disconnected by services]
maddmaxx has joined #ruby
xemehc has quit [Quit: ZZZzzz…]
patrick99e99 has quit [Quit: Lost terminal]
sonikspin has joined #ruby
RedNifre_ has quit [Read error: Connection reset by peer]
RedNifre_ has joined #ruby
redpants has quit [Ping timeout: 240 seconds]
sneakers has quit [Ping timeout: 255 seconds]
csk has quit [Quit: ZZZzzz…]
Nanuq has quit [Quit: brb]
<zenspider> CuriousMind: mostly
polysics has joined #ruby
<zenspider> @@class_vars are available to both instances and and the class + its subclasses
gizmore has joined #ruby
<zenspider> @instance_vars are unique to a single instance
<zenspider> and since classes are instances of Class, they can have their own. We call those class instance vars, or civars
<CuriousMind> zenspider: Ah ok, thank you so much
<CuriousMind> civars, interesting
Nanuq has joined #ruby
CloCkWeRX has joined #ruby
_sfiguser has quit [Ping timeout: 250 seconds]
LambdaSix has joined #ruby
polysics has quit [Ping timeout: 244 seconds]
hammond is now known as j2ee
dn5 has quit [Ping timeout: 240 seconds]
kus_ubuntui686 has joined #ruby
kus_ubuntui686 has quit [Max SendQ exceeded]
dn5 has joined #ruby
Azure has joined #ruby
kus_ubuntui686 has joined #ruby
Azure|dc has quit [Ping timeout: 244 seconds]
LambdaSix has quit [Ping timeout: 265 seconds]
gp has joined #ruby
LambdaSix has joined #ruby
greg_ has joined #ruby
greg_ has quit [Read error: Connection reset by peer]
skweek has joined #ruby
sonikspin has quit [Ping timeout: 265 seconds]
arescorpio has joined #ruby
_sfiguser has joined #ruby
Wizznt has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jmignault has quit [Ping timeout: 250 seconds]
s2013 has joined #ruby
LambdaSix has quit [Ping timeout: 265 seconds]
Emmanuel_Chanel has quit [Quit: Leaving]
Emmanuel_Chanel has joined #ruby
nb_bez___ has quit [Quit: Connection closed for inactivity]
dn5 has quit [Ping timeout: 255 seconds]
sonikspin has joined #ruby
LambdaSix has joined #ruby
mlehrer has quit [Ping timeout: 265 seconds]
skweek has quit [Ping timeout: 265 seconds]
dn5 has joined #ruby
saneax is now known as saneax-_-|AFK
dminuoso has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
sdwrage has joined #ruby
LoneHerm_ has joined #ruby
kerframil has joined #ruby
mlehrer has joined #ruby
jaequery has joined #ruby
RegulationD has joined #ruby
dminuoso has quit [Ping timeout: 265 seconds]
<s2013> {"abc"=>{"count"=>2}, "xyz"=>{"count"=>5, "positive"=>1}}.sort_by { |k,v| v["count"] }
<s2013> whats the command to run ruby code here? i forget
tyang_ has quit [Read error: Connection reset by peer]
mwlang has quit [Quit: mwlang]
RegulationD has quit [Ping timeout: 250 seconds]
PlasmaStar has joined #ruby
<havenwood> s2013: #=> [["abc", {"count"=>2}], ["xyz", {"count"=>5, "positive"=>1}]]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<s2013> oh wait i think it does it in an asc order.. k no wonder
jaequery has joined #ruby
blackmesa has joined #ruby
<s2013> thanks
kegster has quit [Quit: Shiner, TX makes good beer.]
kegster has joined #ruby
jaequery has quit [Client Quit]
ropeney has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
jaequery has joined #ruby
Bellthoven has joined #ruby
ResidentBiscuit has joined #ruby
jamlee has joined #ruby
<s2013> k im trying to do a new hash with indifferent access but i keep getting undefined method. Hash.new { |hash, key| hash[key] = { count: 0, sentiments: { positive: 0, negative: 0, neutral: 0, not_set: 0}}} where should i put the with_indifferent_access
<s2013> i tried setting it after first } and second }
MyMind has joined #ruby
duderonomy has quit [Ping timeout: 250 seconds]
Sembei has quit [Ping timeout: 255 seconds]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JoshS has quit [Quit: Leaving]
optiz0r has quit [Ping timeout: 240 seconds]
leea has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
polysics has joined #ruby
Rodya_ has quit [Remote host closed the connection]
duderonomy has quit [Ping timeout: 248 seconds]
polysics has quit [Ping timeout: 265 seconds]
redpants has joined #ruby
jamlee has quit [Quit: Mutter: http://www.mutterirc.com]
Rodya_ has joined #ruby
Vingador has joined #ruby
ajsharma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has quit [Remote host closed the connection]
Bellthoven has quit []
prawnzy has quit [Remote host closed the connection]
nankyokusei has joined #ruby
Vingador has quit [Remote host closed the connection]
Rodya_ has quit [Ping timeout: 255 seconds]
whathappens has joined #ruby
Immune has joined #ruby
ajsharma has joined #ruby
whathappens has quit [Client Quit]
nankyokusei has quit [Ping timeout: 276 seconds]
dviola has quit [Quit: WeeChat 1.5]
Mintyl has quit [Ping timeout: 240 seconds]
hobodave has joined #ruby
mikecmpbll has quit [Read error: Connection reset by peer]
Mintyl has joined #ruby
mikecmpbll has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
ur5us has joined #ruby
nando293921 has joined #ruby
gp has quit [Quit: Leaving]
ajsharma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jamlee has joined #ruby
hobodave has quit [Quit: Computer has gone to sleep.]
ajsharma has joined #ruby
ap4y has quit [Remote host closed the connection]
sonikspin has quit [Ping timeout: 265 seconds]
djbkd_ has quit [Quit: My people need me...]
dminuoso has joined #ruby
jamlee has quit [Remote host closed the connection]
ajsharma has quit [Ping timeout: 264 seconds]
jackjackdripper has joined #ruby
dminuoso has quit [Ping timeout: 265 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 265 seconds]
tmtwd has quit [Ping timeout: 265 seconds]
ResidentBiscuit has quit [Ping timeout: 250 seconds]
redpants has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
weemsledeux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 240 seconds]
Rakko has joined #ruby
<Rakko> Does Ruby 2.3 do some lazy thing by default? I keep finding that work that I expect to be done in my script's main class's constructor is being deferred until after I try accessing members of that class.
Trynemjoel has quit [Ping timeout: 244 seconds]
Trynemjoel has joined #ruby
prawnzy has joined #ruby
<Rakko> And, does it depend on whether I end a line with semicolon (in irb)?
<eam> Rakko: gist some code
ixti has quit [Ping timeout: 244 seconds]
<Rakko> I think I figured out it has something to do with semicolon
<Rakko> I thought I could put semi on the end to suppress printing its value, but apparently I'm wrong and/or that's changed
<Rakko> so nevermind
shinnya has quit [Ping timeout: 260 seconds]
tmtwd has joined #ruby
Cohedrin has joined #ruby
NetSage has quit [Remote host closed the connection]
pokalyis has joined #ruby
blabl has joined #ruby
blabl has left #ruby [#ruby]
<Rakko> when I want to have one uniform way of creating an object, but the object may be an instance of one of several (sub)classes, is it still recommended to use a factory method in Ruby?
redpants has joined #ruby
polysics has joined #ruby
AnoHito_ has quit [Quit: Leaving]
ur5us has quit [Remote host closed the connection]
finisherr has joined #ruby
sylario has quit [Quit: Connection closed for inactivity]
ur5us has joined #ruby
braincras has quit [Quit: bye bye]
dhollinger has quit [Ping timeout: 240 seconds]
polysics has quit [Ping timeout: 244 seconds]
AndyBotwin has joined #ruby
Sonja has joined #ruby
<Sonja> can i import the variables from foo.rb in bar.rb ?
Rodya_ has joined #ruby
<Nilium> Did you try?
<Sonja> #load './vocab'
<Sonja> #require_relative 'vocab.rb'
<Sonja> #include 'vocab'
<Sonja> require './vocab.rb'
<Sonja> none of these work
<Rakko> toki, jan sonja
<Sonja> Rakko!
<Rakko> :)
optiz0r has joined #ruby
<Rakko> I don't believe variables work that way. You should put any relevant variables in classes and then require the class files.
<Rakko> but the non-class-held variables in one file are private to that file
braincrash has joined #ruby
braincrash is now known as braincras
Vile` has quit [Ping timeout: 240 seconds]
Rodya_ has quit [Ping timeout: 255 seconds]
<Sonja> thanks for the help!!
hopsoft has joined #ruby
<Rakko> any time
AnoHito has joined #ruby
jaequery has joined #ruby
LoneHerm_ has joined #ruby
JoshS has joined #ruby
chouhoul_ has joined #ruby
JeanCarloMachado has joined #ruby
brent__ has quit [Quit: Connection closed for inactivity]
_sfiguser has quit [Read error: Connection reset by peer]
Rakko has quit [Quit: Leaving]
<baweaver> havenwood>> 2 + 2
chouhoulis has quit [Ping timeout: 248 seconds]
Coldblackice has quit []
CloCkWeRX has quit [Ping timeout: 276 seconds]
LoneHerm_ has quit [Ping timeout: 260 seconds]
jaequery has quit [Quit: Textual IRC Client: www.textualapp.com]
j2ee is now known as hammond
s2013 has quit [Read error: Connection reset by peer]
arescorpio has quit [Quit: Leaving.]
dminuoso has joined #ruby
ejnahc has quit [Ping timeout: 265 seconds]
craigp has joined #ruby
ejnahc has joined #ruby
skweek has joined #ruby
vdamewood has joined #ruby
dhollinger has joined #ruby
dminuoso has quit [Ping timeout: 276 seconds]
Ebok has joined #ruby
Sonja has quit []
hakunin has quit [Ping timeout: 244 seconds]
duderonomy has joined #ruby
<CuriousMind> Can someone help me understand this? Trying replace a key in a hash and the StackOverflow best response had this code `hash[:new_key] = hash.delete :old_key`
<havenwood> baweaver: #=> 4
<CuriousMind> How do I use that code
<baweaver> you run it through ruby?
_djbkd has joined #ruby
<baweaver> Sorry, that seems fairly straightforward, what's the issue?
craigp has quit [Ping timeout: 244 seconds]
CloCkWeRX has joined #ruby
<baweaver> &ri Hash#[]=
<baweaver> &ri Hash#delete
<baweaver> read through those if it's not clear
_sfiguser has joined #ruby
<_sfiguser> is there a way in ruby to print an array ? like in perl i was doing "say for @myArray" what about ruby ?
hakunin has joined #ruby
blackmesa has joined #ruby
<CuriousMind> baweaver: ok thank you, one second
<baweaver> _sfiguser: define print
<_sfiguser> baweaver, like print all elements in an array
<baweaver> >> p [1,2,3,4]
Guest56_ has joined #ruby
<ruby[bot]> baweaver: # => [1, 2, 3, 4] ...check link for more (https://eval.in/646495)
<_sfiguser> if i have an array of numbers or of string i want to print it
<havenwood> _sfiguser: puts [1, 2, 3]
<_sfiguser> no no baweaver i don't want a debug print...
<baweaver> hence define print
<CuriousMind> baweaver: https://repl.it/DfGY I can't do it see
<_sfiguser> i want t print on console
<_sfiguser> baweaver, what is define print ?
<baweaver> p does that.
<havenwood> _sfiguser: Try `puts` like that ^ in irb.
<baweaver> puts does that
<baweaver> print does that
<havenwood> >> puts [1, 2, 3]
<ruby[bot]> havenwood: # => 1 ...check link for more (https://eval.in/646496)
<baweaver> they all output
<baweaver> CuriousMind: Line 11
<baweaver> what's wrong there?
<_sfiguser> ok thanks
ichkv has joined #ruby
<CuriousMind> baweaver: (repl):11:in `change_key'
<baweaver> Not what your debugger says, but what do you see wrong there.
<baweaver> there are two things
<baweaver> first, how does it know what hash is?
<baweaver> (hint: it doesn't)
blackmesa has quit [Ping timeout: 265 seconds]
<baweaver> second, you need a space after delete
<CuriousMind> baweaver: Ok I'll take another look, thank you
gix has quit [Ping timeout: 244 seconds]
prawnzy has quit [Remote host closed the connection]
AnoHito has quit [Quit: Leaving]
A_Drone has joined #ruby
Guest56_ has quit [Max SendQ exceeded]
Vile` has joined #ruby
<CuriousMind> baweaver: I DID IT!! https://repl.it/DfGY/1
<CuriousMind> I DID IT!
<_sfiguser> guys do interfaces exist in ruby ?
prawnzy has joined #ruby
<_sfiguser> i cannot find anything related
<_sfiguser> how can i apply software engineering principles if no abstract classes or interfaces exist ?
gix has joined #ruby
Guest56_ has joined #ruby
Guest56_ is now known as AlexxNica
prawnzy has quit [Remote host closed the connection]
<CuriousMind> baweaver: I have a question. Why is it when I had put `hash` in the method change_key, it didn't work? But when I passed it in it works? hash is a global variable, I don' get it
<baweaver> no it's not
<havenwood> _sfiguser: There is more than one way to apply software engineering principles. Rubyists tend to embrace tests. It's also quite a flexible language so you can built what you like.
<havenwood> _sfiguser: Maybe you'd like the dry-initializer gem: http://dry-rb.org/gems/dry-initializer/
<baweaver> the thing about patterns and principles is they vary heavily depending on language.
<baweaver> ESPECIALLY on things like Haskell or functional languages.
<baweaver> It'd be absurd to make a commander pattern in Haskell
<havenwood> _sfiguser: `[1, 2, 3].each { |n| puts n }` is another way to write `puts [1, 2, 3]`
<havenwood> _sfiguser: Just he return value of the first is `[1, 2, 3]` and the second is `nil`.
<baweaver> CuriousMind: $hash is global, but don't use globals
rsampaio_ has joined #ruby
<CuriousMind> baweaver: Uhhh ok so hash in my program is local?
<baweaver> bingo
<CuriousMind> How wait baweaver
<CuriousMind> I declare hash at the top of the editor so why is it not accessed in a method/
<CuriousMind> ?*
<baweaver> scope
<baweaver> hash is a local in your main scope
<baweaver> your function has no idea what locals are there.
<CuriousMind> Ohhhhhh baweaver Ok so there is a difference between main and local scope
<CuriousMind> I mean main and global scope
<baweaver> yep
<baweaver> locals are always local to _their_ scope
<baweaver> instance variables to an instance of a class
<baweaver> etc etc
gizmore has quit [Ping timeout: 244 seconds]
A_Drone has quit [Remote host closed the connection]
gizmore has joined #ruby
<CuriousMind> So that's why you pass in variables because you bring variables from different scopes? It's like introducing two people from two different countries baweaver ?
<baweaver> something like that.
sai_ has joined #ruby
<CuriousMind> baweaver: Explain, I am trying to understand this
<baweaver> The method cannot see the variable hash
<CuriousMind> baweaver: Ok my question is. The method is being made in the main scope correct? Explain that
<CuriousMind> Oh wait no, the method has it's OWN scope
<baweaver> yep
JeanCarloMachado has quit [Ping timeout: 244 seconds]
<CuriousMind> I'm confused but ok. I understand this on a surface level. Ok thank you
<baweaver> You might want to read through a book like Eloquent Ruby or The Ruby Way.
Tharbakim has quit [Ping timeout: 244 seconds]
nofxx has quit [Ping timeout: 244 seconds]
<CuriousMind> Yeah definitely baweaver
nofxx has joined #ruby
nofxx has joined #ruby
nofxx has quit [Changing host]
polysics has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
Tharbakim has joined #ruby
polysics has quit [Ping timeout: 250 seconds]
alfiemax has quit [Ping timeout: 265 seconds]
sai__ has joined #ruby
sai_ has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
Rodya_ has joined #ruby
nankyokusei has joined #ruby
Axy has joined #ruby
Rodya_ has quit [Ping timeout: 248 seconds]
nertzy has joined #ruby
nankyokusei has quit [Ping timeout: 272 seconds]
SteenJobs has joined #ruby
Mia has quit [Ping timeout: 255 seconds]
jswe has quit [Quit: ZNC 1.6.3+deb1+trusty0 - http://znc.in]
gnufied has quit [Ping timeout: 272 seconds]
pwnd_nsfw` has joined #ruby
leea has joined #ruby
leea has quit [Client Quit]
pwnd_nsfw has quit [Ping timeout: 272 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
jswe has joined #ruby
nertzy has quit [Ping timeout: 255 seconds]
jswe has quit [Client Quit]
dminuoso has joined #ruby
kerframil has quit [Ping timeout: 265 seconds]
roger_rabbit has quit [Ping timeout: 240 seconds]
dminuoso has quit [Ping timeout: 265 seconds]
leea has joined #ruby
jswe has joined #ruby
leea has quit [Read error: Connection reset by peer]
bronson has joined #ruby
tdy has joined #ruby
finisherr has quit [Quit: finisherr]
Fernando-Basso has quit [Ping timeout: 265 seconds]
sai__ has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
sai_ has joined #ruby
petercooper has joined #ruby
bronson has quit [Read error: Connection reset by peer]
bronson_ has joined #ruby
Fernando-Basso has joined #ruby
ARCADIVS has joined #ruby
finisherr has joined #ruby
finisherr has quit [Client Quit]
Emmanuel_Chanel has quit [Quit: Leaving]
SteenJobs has quit [Quit: SteenJobs]
Emmanuel_Chanel has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
bronson_ has quit [Ping timeout: 248 seconds]
bronson has joined #ruby
sandelius has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 248 seconds]
bronson has joined #ruby
blackwind_123 has quit [Ping timeout: 244 seconds]
saneax-_-|AFK is now known as saneax
bronson has quit [Ping timeout: 248 seconds]
dminuoso has joined #ruby
bronson has joined #ruby
polysics has joined #ruby
Tempesta_ has quit [Quit: See ya!]
alfiemax has joined #ruby
chelly has quit [Quit: Connection closed for inactivity]
tmtwd has quit [Ping timeout: 272 seconds]
dminuoso has quit [Ping timeout: 265 seconds]
bronson has quit [Ping timeout: 248 seconds]
araujo has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
bronson has joined #ruby
polysics has quit [Ping timeout: 244 seconds]
nando293921 has quit [Ping timeout: 248 seconds]
JoshS has quit [Read error: Connection reset by peer]
JoshS has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
grh has joined #ruby
jenrzzz has joined #ruby
ichkv has quit [Ping timeout: 255 seconds]
TheMoonMaster has quit [Ping timeout: 244 seconds]
bronson has joined #ruby
Caelum has quit [Ping timeout: 272 seconds]
LoneHermit has joined #ruby
harfangk has joined #ruby
ur5us has quit [Remote host closed the connection]
moos3 has quit [Ping timeout: 244 seconds]
yeticry has quit [Ping timeout: 260 seconds]
TheMoonMaster has joined #ruby
Devalo has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
Ebok has quit [Quit: Leaving]
yeticry has joined #ruby
LoneHermit has quit [Ping timeout: 272 seconds]
tubuliferous_ has joined #ruby
bocaneri has joined #ruby
sai_ has quit [Remote host closed the connection]
A_Drone has joined #ruby
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
A_Drone has quit [Remote host closed the connection]
bronson has joined #ruby
Caelum has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
moos3 has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
A_Drone has joined #ruby
bronson has joined #ruby
_djbkd has quit [Quit: My people need me...]
sai_ has joined #ruby
dionysus69 has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
blackmesa has joined #ruby
grh has quit [Ping timeout: 265 seconds]
last_staff has joined #ruby
sai_ has quit [Ping timeout: 244 seconds]
djbkd_ has joined #ruby
blackmesa has quit [Ping timeout: 248 seconds]
bronson has joined #ruby
araujo has quit [Ping timeout: 265 seconds]
polysics has joined #ruby
peterhu has quit [Quit: leaving]
A_Drone has quit [Remote host closed the connection]
tonini has joined #ruby
sandelius has joined #ruby
dminuoso has joined #ruby
bronson_ has joined #ruby
bronson has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 244 seconds]
Caelum has quit [Ping timeout: 272 seconds]
Devalo has quit [Remote host closed the connection]
<zenspider> _sfiguser: > <_sfiguser> [20:51:39] how can i apply software engineering principles if no abstract classes or interfaces exist ?
Rodya_ has joined #ruby
<zenspider> really???
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
bronson has joined #ruby
Caelum has joined #ruby
bronson_ has quit [Ping timeout: 248 seconds]
etehtsea has quit [Quit: WeeChat 1.0.1]
blaxter has joined #ruby
Rodya_ has quit [Ping timeout: 248 seconds]
A_Drone has joined #ruby
A_Drone has quit [Remote host closed the connection]
araujo has joined #ruby
Trynemjoel has quit [Ping timeout: 244 seconds]
araujo has quit [Max SendQ exceeded]
bronson has quit [Ping timeout: 248 seconds]
araujo has joined #ruby
minimalism has quit [Quit: minimalism]
Trynemjoel has joined #ruby
bronson has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
A_Drone has joined #ruby
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
firstdayonthejob has joined #ruby
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
nankyokusei has joined #ruby
djbkd_ has quit []
bronson_ has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
shortCircuit__ has joined #ruby
<shortCircuit__> hi
nankyoku_ has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
amclain has quit [Quit: Leaving]
craigp has joined #ruby
<shortCircuit__> when should I use cucumber. I have a file called parse_csv_data .. which takes a csv file. and then inserts each record to database .. how to test this ?
bronson has joined #ruby
bronson_ has quit [Ping timeout: 248 seconds]
<shortCircuit__> I have written a class called Review .. which has an insert method
<shortCircuit__> so I should stub/mock that method ?
blackmesa has joined #ruby
vdamewood has quit [Quit: Life beckons.]
dminuoso has quit [Ping timeout: 265 seconds]
ziprar has quit [Ping timeout: 255 seconds]
ichkv has joined #ruby
xcesariox has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
marktwo has joined #ruby
LoneHermit has joined #ruby
bronson has joined #ruby
marktwo is now known as Guest71613
JoshS has quit [Ping timeout: 265 seconds]
anisha has joined #ruby
bronson has quit [Read error: Connection reset by peer]
LoneHermit has quit [Ping timeout: 244 seconds]
A_Drone has quit [Read error: Connection reset by peer]
A_Drone has joined #ruby
sonikspin has joined #ruby
aufi has joined #ruby
kies has quit [Remote host closed the connection]
Guest71613 has quit [Quit: Leaving]
HaikuUser has joined #ruby
nankyoku_ has quit [Remote host closed the connection]
aufi has quit [Client Quit]
kies has joined #ruby
HaikuUser has quit [Client Quit]
aufi has joined #ruby
dionysus69 has quit [Ping timeout: 248 seconds]
marktwo_ has joined #ruby
leea has joined #ruby
marktwo_ is now known as mkl
devil_tux has quit [Quit: leaving]
conta has joined #ruby
mark_66 has joined #ruby
devil_tux has joined #ruby
NTrash has joined #ruby
dminuoso has joined #ruby
etehtsea_ has joined #ruby
raeoks has joined #ruby
etehtsea_ has quit [Client Quit]
grh has joined #ruby
leea has quit [Read error: Connection reset by peer]
firstdayonthejob has quit [Ping timeout: 276 seconds]
dminuoso has quit [Remote host closed the connection]
A124 has quit [Ping timeout: 255 seconds]
PaulePanter has quit [Quit: leaving]
PaulePanter has joined #ruby
tomphp has joined #ruby
ur5us has joined #ruby
CloCkWeRX has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 265 seconds]
dminuoso has joined #ruby
blackmesa has joined #ruby
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
ta_ has joined #ruby
prawnzy has joined #ruby
NTrash has quit [Quit: Konversation terminated!]
sdwrage has quit [Quit: This computer has gone to sleep]
p0p0pr37 has quit [Quit: p0p0pr37]
ur5us has quit [Remote host closed the connection]
submitnine has joined #ruby
prawnzy has quit [Read error: Connection reset by peer]
prawnzy has joined #ruby
blackmesa has quit [Ping timeout: 272 seconds]
CloCkWeRX has joined #ruby
biberu has joined #ruby
andikr has joined #ruby
araujo_ has joined #ruby
araujo has quit [Ping timeout: 272 seconds]
claudiuinberlin has joined #ruby
sai_ has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wugy has joined #ruby
TomyWork has joined #ruby
Vivekananda has quit [Ping timeout: 265 seconds]
AlexxNica has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
dn5 has quit [Ping timeout: 260 seconds]
Guest56_ has joined #ruby
rsup has joined #ruby
rsup has quit [Client Quit]
dn5 has joined #ruby
aidalgol has joined #ruby
araujo_ has quit [Ping timeout: 265 seconds]
toretore has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 255 seconds]
RegulationD has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
CloCkWeRX has quit [Quit: Leaving.]
RegulationD has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
Emmanuel_Chanel has joined #ruby
prawnzy has quit [Remote host closed the connection]
ichkv has quit [Remote host closed the connection]
ichkv has joined #ruby
Rodya_ has joined #ruby
braderhart is now known as techntoke
techntoke is now known as braderhart
pawnbox has quit [Ping timeout: 240 seconds]
araujo_ has joined #ruby
Silthias1 has joined #ruby
Guest8435 is now known as sts
Silthias has quit [Ping timeout: 244 seconds]
braderhart is now known as techntoke
bsrd has joined #ruby
Rodya_ has quit [Ping timeout: 272 seconds]
pawnbox has joined #ruby
Axy has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
ta__ has joined #ruby
elenatanasoiu has joined #ruby
the_drow has joined #ruby
sai_ has quit [Remote host closed the connection]
Chelsea has quit [Ping timeout: 265 seconds]
naviaa has quit [Ping timeout: 265 seconds]
blackmesa has joined #ruby
ta_ has quit [Ping timeout: 265 seconds]
marr has joined #ruby
JoshS has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
A_Drone has quit [Remote host closed the connection]
Dimik has quit [Ping timeout: 260 seconds]
tomphp has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
ruby-lang006 has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
ruby-lang006 has left #ruby [#ruby]
<hightower3> Hey folks, I have a problem in my Ruby app which opens a TCP socket, and in case the connection drops at some point it reconnects. However, when it attempts to reconnect, it does a hostname lookup, and instead of getting the IP for it, it gets #<SocketError: getaddrinfo: Name or service not known>
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
salut has joined #ruby
<hightower3> (This is in no way related to my DNS or hostname resolving. When I restart the app it works, it only fails within the app, when a reconnection attempt is made, and only fails sometimes (like 1 out of 20 times))
<hightower3> I've searched the web and found that Ruby ships with a module resolv-replace to fix this known problem
<hightower3> However, I have the same behavior both with the standard/C resolving and resolv-replace; the difference is only in the cases/conditions under which the bug shows up
<hightower3> Any hints?
ocbtec has joined #ruby
LoneHerm_ has joined #ruby
chichou has joined #ruby
tomphp has joined #ruby
flying has joined #ruby
jaruga___ has joined #ruby
LoneHerm_ has quit [Ping timeout: 255 seconds]
Couch has joined #ruby
shortCircuit__ has quit [Ping timeout: 260 seconds]
koma has left #ruby ["Leaving"]
nankyokusei has joined #ruby
sandelius has joined #ruby
rsampaio_ has quit [Ping timeout: 250 seconds]
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nadir has quit [Quit: Connection closed for inactivity]
bsrd has quit [Quit: WeeChat 1.5]
Burgestrand has joined #ruby
nankyokusei has quit [Ping timeout: 265 seconds]
bsrd has joined #ruby
petercooper has quit [Ping timeout: 260 seconds]
chichou has quit [Quit: Bye! 1.5]
mikecmpbll has joined #ruby
<CuriousMind> Difference between `require` and `include` in ruby?
senayar has joined #ruby
gingray has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
singalaut has joined #ruby
<ljarvis> CuriousMind: did you check the documentation?
<ljarvis> &ri require
Guest56_ has quit [Quit: Guest56_]
<ljarvis> &ri include
<CuriousMind> ljarvis: Nope
<ljarvis> that might be a good place to start
<CuriousMind> ljarvis: Ok thank you
claudiuinberlin has joined #ruby
<ljarvis> the require one is IRB::Locale which is annoying
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
<ljarvis> &ri Kernel#require
olblak has quit [Ping timeout: 260 seconds]
xecution_ has joined #ruby
postmodern has quit [Quit: Leaving]
interki has quit [Remote host closed the connection]
interki has joined #ruby
sai_ has joined #ruby
polysics has quit []
A_Drone has joined #ruby
dreamyspell has joined #ruby
blackmesa has joined #ruby
xecution_ has quit [Remote host closed the connection]
_sfiguser has quit [Ping timeout: 272 seconds]
sai_ has quit [Ping timeout: 265 seconds]
claudiuinberlin has quit [Remote host closed the connection]
A_Drone has quit [Remote host closed the connection]
claudiuinberlin has joined #ruby
A_Drone has joined #ruby
blackmesa has quit [Ping timeout: 265 seconds]
c0mrad3 has joined #ruby
Jamo has joined #ruby
Snowy has joined #ruby
f4cl3y has joined #ruby
veloutin has quit [Ping timeout: 265 seconds]
stamina has joined #ruby
shortCircuit__ has joined #ruby
symm- has joined #ruby
_sfiguser has joined #ruby
harfangk has joined #ruby
ponga has joined #ruby
sai_ has joined #ruby
jsrn_ has joined #ruby
araujo_ has quit [Ping timeout: 272 seconds]
mikecmpbll has quit [Ping timeout: 250 seconds]
dreamyspell is now known as Guest92219
dreamyspell has joined #ruby
kerframil has joined #ruby
kerframil has quit [Max SendQ exceeded]
Guest92219 has quit [Ping timeout: 255 seconds]
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
olblak has joined #ruby
Rodya_ has joined #ruby
nikivi has joined #ruby
mikecmpbll has joined #ruby
ichkv has quit [Remote host closed the connection]
Rodya_ has quit [Ping timeout: 255 seconds]
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
araujo_ has joined #ruby
petercooper has joined #ruby
prawnzy has joined #ruby
nofxx has quit [Ping timeout: 240 seconds]
Guest63555 has quit [Ping timeout: 240 seconds]
jackjackdripper has quit [Quit: Leaving.]
prawnzy has quit [Ping timeout: 244 seconds]
Veejay has left #ruby ["WeeChat 0.4.2"]
ropeney has joined #ruby
nuck has joined #ruby
nuck is now known as Guest22395
face has quit [Ping timeout: 244 seconds]
Ishido has joined #ruby
Robtop__ has joined #ruby
pragmaticus has joined #ruby
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 255 seconds]
blackmesa has joined #ruby
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
A_Drone has quit [Remote host closed the connection]
<devil_tux> so idle ..
blackmesa has quit [Ping timeout: 260 seconds]
gnufied has joined #ruby
dn5 has quit [Ping timeout: 248 seconds]
<devil_tux> haha wow ... dn5 is my home account
dn5 has joined #ruby
f4cl3y has quit [Ping timeout: 272 seconds]
<devil_tux> seems like my connection dropped off
antgel has joined #ruby
DaniG2k has joined #ruby
<DaniG2k> hello all
LoneHermit has joined #ruby
jaxxstorm has joined #ruby
<ropeney> hi
LoneHermit has quit [Ping timeout: 260 seconds]
<DaniG2k> I'm making my first gem
<DaniG2k> I'm wondering how I can use require 'mygem' from irb to test that it's working
pawnbox has quit [Remote host closed the connection]
<DaniG2k> do I need to rake it first? bundle it?
<apeiros> irb -Ilib
pawnbox has joined #ruby
<apeiros> that's an uppercase i
interki has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<DaniG2k> :O that worked
<DaniG2k> in general though do I need to compile it or something?
alfiemax has quit [Ping timeout: 255 seconds]
sepp2k has joined #ruby
<devil_tux> yes, if you want .gem
<devil_tux> so others could require, without relative
<apeiros> it's not really compiling
dionysus69 has joined #ruby
<apeiros> you'd need to install it
<DaniG2k> how do I do that?
<apeiros> see gem help build, and gem help install
<devil_tux> gem build
antgel has quit [Ping timeout: 265 seconds]
<DaniG2k> The best way to build a gem is to use a Rakefile
jaruga___ has quit [Ping timeout: 260 seconds]
<DaniG2k> guess I need to use a rake file
<apeiros> why do you ask if you already know "the best way"?
pawnbox has quit [Remote host closed the connection]
<DaniG2k> apeiros: that was from gem help build which you just told me about :P
pawnbox has joined #ruby
nankyokusei has joined #ruby
<DaniG2k> i copied and pasted that line
blackgoat has quit [Quit: WeeChat 1.5]
blackgoat has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
claudiuinberlin has joined #ruby
nankyokusei has quit [Ping timeout: 265 seconds]
pawnbox has quit [Remote host closed the connection]
<apeiros> DaniG2k: that's what quotes exist for :-p
<apeiros> you know, to "quote a source"
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
claudiuinberlin has quit [Ping timeout: 265 seconds]
dn5 has quit [Ping timeout: 248 seconds]
pawnbox has joined #ruby
alfiemax has joined #ruby
dn5 has joined #ruby
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aryaching has quit [Ping timeout: 260 seconds]
Azure has joined #ruby
vuoto has joined #ruby
claudiuinberlin has joined #ruby
vuoto has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 255 seconds]
vqrs has quit [Ping timeout: 265 seconds]
<_sfiguser> is "beginning perl" a good book ?
<canton7> for learning ruby? probably not :P
<shortCircuit__> :D
<_sfiguser> canton7, why '?
rodfersou has joined #ruby
<canton7> ... because it's for perl, not ruby?
* canton7 must be missing something
vqrs has joined #ruby
<shortCircuit__> I am having a problem https://gist.github.com/argentum47/4f94fc59056f4916e5f0656ba07aa35d .. when I run this code I have undefined method `log' for HTTParty::Logger:Module this error
<shortCircuit__> how to fix
dionysus69 has quit [Ping timeout: 250 seconds]
mkl has quit [Read error: Connection reset by peer]
DaniG2k has quit [Quit: leaving]
xemehc has joined #ruby
lxsameer has joined #ruby
<devil_tux> shortCircuit__: ? whats in Logger?
xemehc has quit [Client Quit]
<devil_tux> You haven't initialized Logger
<shortCircuit__> for now its just class Logger def self.log(str); p str if ENV["ENABLE_LOGGING"}; end end end
<toretore> shortCircuit__: gist all the code you have
<shortCircuit__> ok
zeroDi has joined #ruby
dionysus69 has joined #ruby
ARCADIVS has quit [Quit: ARCADIVS]
aidalgol has quit [Ping timeout: 265 seconds]
<shortCircuit__> updated
hanmac has quit [Ping timeout: 255 seconds]
pragmaticus has quit [Ping timeout: 260 seconds]
alfiemax has quit [Ping timeout: 265 seconds]
<_sfiguser> canton7, ops sorry i mean beginning ruby
<_sfiguser> is it a good book beginning ruby ?
<toretore> shortCircuit__: `Logger` inside `FetchFromApi means` `HTTParty::Logger`, not `Logger`
<toretore> because you `include HTTParty`
<darix> shortCircuit__: you never instanciate your logger anywhere
<shortCircuit__> but why
<toretore> which has a Logger
<shortCircuit__> oh
<shortCircuit__> that's why
<shortCircuit__> shit
<darix> shortCircuit__: use the ruby logger class btw
<shortCircuit__> everyone has a Logger
<toretore> if you want to reference a top level Logger (which you shouldn't), use ::Logger
<darix> shortCircuit__: you can just play with log levels
<darix> to filter messages you dont want that way
<shortCircuit__> oh .. I have to log those messages and send them to some storage like aws or something
<shortCircuit__> in production
blackmesa has joined #ruby
nikivi has quit [Quit: zzz]
<darix> you will handle it
Rodya_ has joined #ruby
TheWhip has joined #ruby
<shortCircuit__> for which I need a custom class. I will wrap it in my own module
<hightower4> Hey, I'm running 'gem install openssl' as I've always been doing, but now I get: ERROR: Could not find a valid gem 'openssl' (>= 0) in any repository
<hightower4> Any hints?
<toretore> openssl is part of ruby
<toretore> stdlib
symm- has quit [Ping timeout: 244 seconds]
<shortCircuit__> c
<shortCircuit__> oh
nikivi has joined #ruby
<shortCircuit__> I should write everything in one method, will make unit testing easier .. less methods to deal with XD
Rodya_ has quit [Ping timeout: 250 seconds]
chichou has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
<devil_tux> shortCircuit__: don't.
<devil_tux> seperate your project but seperate it smart
<shortCircuit__> I know .. I am always in the look for making the design better
GodFather has joined #ruby
<shortCircuit__> ^ naic
<_sfiguser> you guys think it is a good book to start with ruby "Beginning Ruby" ?
hanmac has joined #ruby
<shortCircuit__> yes yes .. begin somewhere
<shortCircuit__> there are others too, POODR, MR, MR2 etc etc
<shortCircuit__> it would be fun if you said 'you guys think it is a good book to start with "Beginning Ruby" ?' . I would have said for perl ? probably not
<shortCircuit__> XD
nikivi has quit [Read error: Connection reset by peer]
CuriousMind has quit [Ping timeout: 240 seconds]
antgel has joined #ruby
FINbit has joined #ruby
<FINbit> hi
<FINbit> LoadError: no such file to load -- rubygems
<FINbit> i keep getting this error when trying t start some app
LoneHermit has joined #ruby
<FINbit> ive tried to install that dependency and it says it doesnt exist
<FINbit> any ideas /
<FINbit> ?
<devil_tux> no matter how nice we are we never help people who gives no details
ctp has joined #ruby
<shortCircuit__> which app
JeanCarloMachado has joined #ruby
Burgestrand has joined #ruby
<shortCircuit__> teach them to help themselves :hand:
<shortCircuit__> :D
CloCkWeRX has joined #ruby
<shortCircuit__> and then probably they will meet God .. coz God helps them ...
Guest22395 has quit [Ping timeout: 240 seconds]
dreamyspell has quit [Quit: Leaving]
LoneHermit has quit [Ping timeout: 248 seconds]
nuck has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
nuck is now known as Guest28265
Xiti has quit [Quit: Xiti]
Xiti has joined #ruby
jmignault has joined #ruby
JeanCarloMachado has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
araujo__ has joined #ruby
araujo_ has quit [Ping timeout: 276 seconds]
prawnzy has joined #ruby
ldnunes has joined #ruby
tubuliferous_ has quit [Ping timeout: 276 seconds]
blackgoat has quit [Quit: WeeChat 1.5]
chris2 has quit [Ping timeout: 265 seconds]
prawnzy has quit [Ping timeout: 265 seconds]
blackgoat has joined #ruby
chris2 has joined #ruby
blackgoat has quit [Client Quit]
tyang has joined #ruby
chris2 has quit [Ping timeout: 255 seconds]
chris2 has joined #ruby
chichou has quit [Quit: Bye! 1.5]
blackgoat has joined #ruby
Silthias1 has quit [Ping timeout: 272 seconds]
A_Drone has joined #ruby
Rodya_ has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
blackmesa has joined #ruby
erlingur has joined #ruby
bruce_lee has quit [Read error: No route to host]
bruce_lee has joined #ruby
A_Drone has quit [Ping timeout: 265 seconds]
Rodya_ has quit [Ping timeout: 255 seconds]
nadir has joined #ruby
pawnbox has joined #ruby
ruby-lang837 has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
face has joined #ruby
Snowy has quit [Remote host closed the connection]
GinoManWorks has joined #ruby
Silthias has joined #ruby
<_sfiguser> which are the possible modules in can put in "require" when i have just a fresh installation of ruby ?
fmcgeough has joined #ruby
ruby-lang837 has quit [Quit: Page closed]
<apeiros> _sfiguser: it's called core & stdlib
<apeiros> see http://ruby-doc.org
ctp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TheWhip has quit [Remote host closed the connection]
griffindy has joined #ruby
<apeiros> core stuff doesn't need require, stdlib needs require and comes with a standard installation of ruby
sdothum has quit [Quit: ZNC 1.6.3 - http://znc.in]
erlingur has quit [Quit: WeeChat 1.5]
erlingur has joined #ruby
gingray has quit [Ping timeout: 260 seconds]
LoneHermit has joined #ruby
GodFather has quit [Ping timeout: 248 seconds]
erlingur has quit [Client Quit]
csk has joined #ruby
erlingur has joined #ruby
johnmilton has quit [Remote host closed the connection]
Ananthu has joined #ruby
Samysam has joined #ruby
LoneHermit has quit [Ping timeout: 265 seconds]
sdothum has joined #ruby
rndUser__ has joined #ruby
<Samysam> Hello all. I'm fighting against gitlab upgrade and I have this error Sass::SyntaxError: Undefined mixin 'webkit-prefix'. It seems I miss a gem. Any idea which one ?
nankyokusei has joined #ruby
Vile` has quit [Ping timeout: 240 seconds]
jaruga___ has joined #ruby
nikivi has joined #ruby
nankyokusei has quit [Ping timeout: 265 seconds]
<Samysam> rndUser__: Seems's strange since I don't changed the source code and I don't see any gitlab-related post about this on the web.
TheWhip has joined #ruby
sai_ has quit [Remote host closed the connection]
TheWhip has quit [Remote host closed the connection]
<Ananthu> Hello. I'm Ananthu.I'm a first year cse student and I"m very much interested in learning ruby. Could anyone please give me an idea on the best place to start? I have not much of prior knowledge in programming language. Is there any pre-requisite knowledges or any needed knowledge on any other programming language?
Snowy has joined #ruby
chouhoulis has joined #ruby
tubuliferous_ has joined #ruby
chouhoulis has quit [Remote host closed the connection]
garethrees has joined #ruby
chouhoulis has joined #ruby
<rndUser__> Ananthu: This is a very useful tool -> http://www.rubyist.net/~slagell/ruby/
<negatifze> Ananthu: Just start with codecademy http://www.codecademy.com
marr has quit [Ping timeout: 265 seconds]
johnmilton has joined #ruby
<Ananthu> Thank you
lxsameer has quit [Quit: WeeChat 1.5]
<negatifze> After that, pick up some books. “The Well Grounded Rubyist”, for example.
pragmaticus has joined #ruby
<negatifze> Another good resource is “Learn Ruby The Hard Way”
<negatifze> If you’ve never programmed before, it will be a tough journey, but just stick with it and it will start to make sense
rahul-kumi has joined #ruby
synthroid has joined #ruby
sai_ has joined #ruby
<Ananthu> ok
<shortCircuit__> hi
Silthias1 has joined #ruby
<shortCircuit__> oh why am i hi-ing .. wrong channel ..
negatifze has quit [Quit: negatifze]
<devil_tux> lol
Silthias has quit [Ping timeout: 244 seconds]
jaxxstorm has quit [Ping timeout: 264 seconds]
qba73 has joined #ruby
raeoks has quit [Quit: Textual IRC Client: www.textualapp.com]
jphase has quit [Remote host closed the connection]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
jphase has joined #ruby
redpants has quit [Ping timeout: 265 seconds]
aegis3121 has joined #ruby
zeroDi has quit [Quit: WeeChat 1.5]
sdwrage has joined #ruby
p0p0pr37 has joined #ruby
last_staff has quit [Quit: last_staff]
Samysam has quit [Read error: Connection reset by peer]
cdg has joined #ruby
rndUser__ has quit [Quit: Page closed]
Samysam has joined #ruby
xemehc has joined #ruby
jphase has quit [Ping timeout: 250 seconds]
vondruch has quit [Ping timeout: 248 seconds]
harfangk has joined #ruby
aegis3121 has quit [Ping timeout: 248 seconds]
ramortegui has joined #ruby
johnDoe111 has joined #ruby
hk238 has joined #ruby
johnDoe111 has quit [Remote host closed the connection]
blackmesa has joined #ruby
Mintyl has quit [Quit: Life without danger is a waste of oxygen]
aegis3121 has joined #ruby
coolboy has quit [Ping timeout: 248 seconds]
blackmesa has quit [Ping timeout: 244 seconds]
tyang has quit [Ping timeout: 264 seconds]
wethu has quit [Quit: This computer has gone to sleep]
Vivekananda has joined #ruby
sai_ has quit [Remote host closed the connection]
qguv has quit [Ping timeout: 265 seconds]
p0p0pr37_ has joined #ruby
hopsoft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ule> that's new for me: "hi-ing" lol
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
qguv has joined #ruby
p0p0pr37 has quit [Ping timeout: 244 seconds]
p0p0pr37_ is now known as p0p0pr37
sai_ has joined #ruby
redpants has joined #ruby
malconis has joined #ruby
<devil_tux> ule: better then goodbye-ing
[k- has joined #ruby
llua has quit [Ping timeout: 265 seconds]
llua has joined #ruby
csk has quit [Quit: Bye]
watersoul has quit [Ping timeout: 240 seconds]
csk has joined #ruby
maddmaxx has quit [Quit: Going offline, see ya! (www.adiirc.com)]
govg has joined #ruby
jphase has joined #ruby
lightstalker has quit [Ping timeout: 240 seconds]
craigp_ has joined #ruby
redpants has quit [Ping timeout: 240 seconds]
redpants has joined #ruby
troulouliou_div2 has joined #ruby
kimegede has joined #ruby
anisha has quit [Quit: Leaving]
johnDoe111 has joined #ruby
craigp has quit [Ping timeout: 265 seconds]
johnDoe111 has quit [Remote host closed the connection]
anisha has joined #ruby
johnDoe111 has joined #ruby
marr has joined #ruby
johnDoe111 has quit [Remote host closed the connection]
sai_ has quit [Remote host closed the connection]
TheWhip has joined #ruby
antgel has quit [Remote host closed the connection]
prawnzy has joined #ruby
AnoHito has joined #ruby
reaVer_ has joined #ruby
reaVer has quit [Ping timeout: 248 seconds]
inco6 has joined #ruby
jokester has quit [Quit: WeeChat 1.4]
prawnzy has quit [Ping timeout: 240 seconds]
GodFather has joined #ruby
CloCkWeRX has quit [Ping timeout: 255 seconds]
anisha has quit [Quit: Leaving]
patarr has joined #ruby
anisha has joined #ruby
Rodya_ has joined #ruby
anisha has quit [Client Quit]
ChiefAlexander has joined #ruby
ctp has joined #ruby
coolboy has joined #ruby
blackgoat has quit [Quit: WeeChat 1.5]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.2 Aria]
claudiuinberlin has quit [Remote host closed the connection]
elenatanasoiu has quit [Quit: WeeChat 1.5]
Rodya_ has quit [Ping timeout: 272 seconds]
elenatanasoiu has joined #ruby
weemsledeux has joined #ruby
Samysam has quit [Quit: Konversation terminated!]
Samysam has joined #ruby
claudiuinberlin has joined #ruby
ctp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tyang has joined #ruby
grh has quit [Ping timeout: 255 seconds]
tyang_ has joined #ruby
SteenJobs has joined #ruby
csk has quit [Quit: Bye]
llua has quit [Read error: Connection reset by peer]
CloCkWeRX has joined #ruby
llua has joined #ruby
csk has joined #ruby
maddmaxx has joined #ruby
tyang has quit [Ping timeout: 248 seconds]
maddmaxx has quit [Remote host closed the connection]
LemonJuice has joined #ruby
GodFather has quit [Ping timeout: 248 seconds]
blackmesa has joined #ruby
sepp2k has quit [Quit: Leaving.]
garethrees has quit []
maddmaxx has joined #ruby
sepp2k has joined #ruby
pawnbox has quit [Read error: Connection reset by peer]
TheWhip has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
troulouliou_div2 has quit [Ping timeout: 276 seconds]
TheWhip has joined #ruby
csk has quit [Max SendQ exceeded]
rahul_kumi has joined #ruby
garethrees has joined #ruby
TheWhip_ has joined #ruby
saneax is now known as saneax-_-|AFK
blackmesa has quit [Ping timeout: 265 seconds]
TheWhip_ has quit [Client Quit]
TheWhip has quit [Ping timeout: 240 seconds]
rahul-kumi has quit [Ping timeout: 276 seconds]
shortCircuit__ has quit [Remote host closed the connection]
GodFather has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
hobodave has joined #ruby
Gasher has joined #ruby
blackmesa has joined #ruby
jrafanie has joined #ruby
cdg has quit [Remote host closed the connection]
dminuoso has quit [Ping timeout: 265 seconds]
watersoul has joined #ruby
troulouliou_div2 has joined #ruby
LoneHermit has joined #ruby
ebbflowgo has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
weemsledeux has quit [Quit: Textual IRC Client: www.textualapp.com]
CloCkWeRX has quit [Ping timeout: 265 seconds]
bsrd has quit [Quit: WeeChat 1.5]
sai_ has joined #ruby
cr3 has joined #ruby
<cr3> hi folks, I'm getting "could not find gem 'devise (~> 3.2.0)'..." but my Gemfile has "source 'https://rubygems.org'" at the top, so what might be wrong?
kimegede has quit [Quit: Linkinus - http://linkinus.com]
sarbs has quit [Max SendQ exceeded]
tonini has quit [Quit: Connection closed for inactivity]
djbkd_ has joined #ruby
antgel has joined #ruby
LoneHermit has quit [Ping timeout: 265 seconds]
sarbs has joined #ruby
tyang_ has quit [Ping timeout: 255 seconds]
submitnine has quit []
<maddmaxx> cr3 I had no issues getting devise. What does your line look like in the Gemfile?
Samysam has quit [Quit: Konversation terminated!]
<cr3> maddmaxx: "gem 'devise', '~> 3.2.0'" (I didn't forget the comma :)
nankyokusei has joined #ruby
xemehc has quit [Quit: ZZZzzz…]
cibs has quit [Ping timeout: 268 seconds]
xemehc has joined #ruby
nikivi has quit [Quit: zzz]
<maddmaxx> cr3 This is exactly what I have, omitting the double quotes though (unless you put those in for the msg).
hopsoft has joined #ruby
platzhirsch has joined #ruby
gingray has joined #ruby
<cr3> yes, in for the msg, I should also mention that I'm testing with ruby 1.9.3. I'm currently trying to reproduce in an isolated environment within a ruby:1.9.3 docker container.
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
cibs has joined #ruby
nikivi has joined #ruby
<cr3> docker run -it --rm ruby:1.9.3 sh; gem install devise; ERROR: Error installing devise: rack requires Ruby version >= 2.2.2.
nikivi has quit [Client Quit]
csk has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<maddmaxx> Well there is your answer.
<cr3> I'm not sure that reproduces exactly what I was experiencing with bundle install but it seems to be conclusive.
<maddmaxx> Devise requires rack, and rack requires ver. 2.2.3
<maddmaxx> sorry, 2.2.2
harfangk_ has joined #ruby
rlex has quit [Ping timeout: 276 seconds]
harfangk has quit [Ping timeout: 248 seconds]
optiz0r has quit [Quit: No Ping reply in 180 seconds.]
<cr3> maddmaxx: but the error I was seeing was "could not find gem devise" whereas that error is that it couldn't actually find rake
mim1k|work has quit [Read error: Connection reset by peer]
tyang_ has joined #ruby
<cr3> maddmaxx: I'll try pinning to an earlier version
s2013 has joined #ruby
<maddmaxx> Yes, it seems the code is requiring devise, so it could not find it. The reason it could not find it is because it could not be installed, because it is dependent on rack.
nankyokusei has quit [Ping timeout: 255 seconds]
Rodya_ has joined #ruby
optiz0r has joined #ruby
polishdub has joined #ruby
<cr3> it's a it annoying that it took so much work to figure that out when proper error reporting would've spared me all this time (and yours too :)
inco6 has left #ruby [#ruby]
inco6 has joined #ruby
rlex has joined #ruby
<maddmaxx> haha true, its the story of my life though :(
redpants has quit [Ping timeout: 264 seconds]
inco6 has quit [K-Lined]
inco6 has joined #ruby
inco6 has quit [Max SendQ exceeded]
inco6 has joined #ruby
inco6 has quit [Max SendQ exceeded]
inco6 has joined #ruby
inco6 has quit [Max SendQ exceeded]
qba73__ has joined #ruby
inco6 has joined #ruby
inco6 has quit [Max SendQ exceeded]
dionysus69 has quit [Ping timeout: 272 seconds]
qba73 has quit [Ping timeout: 260 seconds]
tyang_ has quit [Ping timeout: 255 seconds]
<cr3> maddmaxx: on the upside, it's a good reminder to be careful in our own code. I'm not saying proper error reporting is easy because it really isn't :(
inco6 has joined #ruby
inco6 has quit [Max SendQ exceeded]
inco6 has joined #ruby
inco6 has quit [Max SendQ exceeded]
inco6 has joined #ruby
inco6 has quit [Max SendQ exceeded]
SteenJobs has joined #ruby
inco6 has joined #ruby
inco6 has quit [Max SendQ exceeded]
inco6 has joined #ruby
inco6 has quit [Max SendQ exceeded]
inco6 has joined #ruby
inco6 has quit [Max SendQ exceeded]
<apeiros> !fixcon inco6
djbkd_ has quit []
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
rahulKumi has joined #ruby
tmi has quit [Quit: .]
GodFather has quit [Ping timeout: 244 seconds]
<_sfiguser> do ruby programmers put round parenthesis around to specify if conditions ? i'm reading "beginning ruby" and it always cite if without round parenthesis anyway i get no errors when using round parenthesis
rodfersou is now known as rodfersou|lunch
ghostlight has quit [Ping timeout: 260 seconds]
govg has quit [Ping timeout: 265 seconds]
<elomatreb> _sfiguser: You can use parentheses, but they're completely redundant if you just wrap the entire condition
rahul_kumi has quit [Ping timeout: 276 seconds]
<elomatreb> The probably most popular Ruby styleguide (https://github.com/bbatsov/ruby-style-guide) recommends leaving them out
<apeiros> _sfiguser: I doubt I've ever seen parens for conditions
nando293921 has joined #ruby
ghostlight has joined #ruby
jncog has joined #ruby
jncog has quit [Max SendQ exceeded]
grh has joined #ruby
webopsx has joined #ruby
jncog has joined #ruby
jncog has quit [Max SendQ exceeded]
jncog has joined #ruby
jncog has quit [Max SendQ exceeded]
webopsx has quit [Max SendQ exceeded]
<ironcamel> Are there any service managers written in Ruby that you guys would recommend?
Rodya_ has quit [Remote host closed the connection]
dionysus69 has joined #ruby
<ironcamel> something that would allow you to define a service foo and do stuff like service start foo
millerti has joined #ruby
<apeiros> not sure whether that's what you're looking for, but: god, eye
<apeiros> bluepill
<ironcamel> yes, that's the type of thing i'm looking for
<ironcamel> thank you
tdy has quit [Ping timeout: 250 seconds]
tyang_ has joined #ruby
inkog has joined #ruby
tomphp has quit [Remote host closed the connection]
jshjsh has joined #ruby
platzhirsch has quit [Quit: WeeChat 1.4]
qba73__ has quit [Remote host closed the connection]
tomphp has joined #ruby
JoshS has quit [Ping timeout: 255 seconds]
Dimik has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
dviola has joined #ruby
tdy has joined #ruby
govg has joined #ruby
<baweaver> ironcamel: Monit may be easier and more stable
<baweaver> God and friends keep dying and making a mess
<baweaver> Heh, Nietzsche
mark_66 has left #ruby ["PART #RubyOnRails :PART #elixir-lang :PART #crystal-lang :PONG :hitchcock.freenode.net"]
jschoolcraft has joined #ruby
SteenJobs has quit [Quit: peaceee]
[Butch] has joined #ruby
jhack has quit [Read error: Connection reset by peer]
<eam> ugh monit
<eam> try runit :)
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ironcamel> baweaver eam apeiros: i'm just looking for an easy way to locally deploy a sinatra based web service
jhack has joined #ruby
<ironcamel> is monit, runit, eye, etc good options?
<ironcamel> is there some rack or ruby thing that i don't know about that is a better approach?
huggy has joined #ruby
cr3 has quit [Ping timeout: 265 seconds]
<ropeney> ironcamel, can you just use systemd?
cr3 has joined #ruby
<ironcamel> yes
<eam> don't use systemd
<ropeney> oh?
<ironcamel> well, whatever is on centos 6
<ironcamel> i don't think it is systemd
<eam> it's upstart on centos6
<ironcamel> initd ?
<ironcamel> ok, yeah
<eam> that's the problem with systemd, it won't work on most systems
<ropeney> it works on systems... with systemd?
conta has quit [Ping timeout: 240 seconds]
<ropeney> like monit works on systems... with monit?
<elomatreb> Also, isn't the majority of Linux distros using systemd nowadays?
<ropeney> yes
Rajamaa has joined #ruby
skweek has joined #ruby
patarr has quit [Ping timeout: 260 seconds]
<baweaver> I use Monit at work a lot
<baweaver> very simple to have up and running in a few minutes.
aufi has quit [Quit: Leaving]
<ropeney> So is systemd :P
<baweaver> Never used so I can't speak to it
<baweaver> I just know what a garbage fire it turned Unix channels into for a few months
<ropeney> thats because people dislike change
<chris2> i forgot everything i ever knew about yaml. is it possible to load a yaml file in such way that the custom types are not used and i get something json-style?
<ropeney> but Monit is definitely a good choice
govg has quit [Quit: leaving]
gregf_ has joined #ruby
<baweaver> I've seen a lot of talk on Runit as well, but I never trust anything that has a website that looks like a man page
<baweaver> frivolous, maybe, but dang has it saved me time
antgel has quit [Ping timeout: 276 seconds]
<baweaver> this goes doubly true for anything apache related.
<chris2> a better approach is to not trust anything that has a website that doesnt look like a manpage :P
cr3 has left #ruby [#ruby]
cdg has joined #ruby
jhack has quit [Read error: Connection reset by peer]
Devalo has joined #ruby
<baweaver> to each their own. I just find that sites that don't tend to be more comprehensive and easier to navigate. It's like someone put thought into the UI instead of `man program > website.html`
jhack has joined #ruby
<ropeney> hmmmm, is nmap man pagey enough?
blaxter has quit [Quit: foo]
A124 has joined #ruby
Samysam has joined #ruby
<elomatreb> baweaver: Agreed. The design of man pages is dictated by the limitations of the terminal, no reason to replicate it in a medium that supports better
synthroid has quit [Remote host closed the connection]
sai_ has quit [Remote host closed the connection]
nikivi has joined #ruby
qba73 has joined #ruby
gregf_ has left #ruby [#ruby]
gregf_ has joined #ruby
andikr has quit [Remote host closed the connection]
jaruga___ has quit [Quit: jaruga___]
inkog has quit [Ping timeout: 272 seconds]
chouhoulis has quit [Remote host closed the connection]
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
dhk has joined #ruby
snebel has joined #ruby
grh has quit [Ping timeout: 265 seconds]
prawnzy has joined #ruby
Devalo has quit [Ping timeout: 240 seconds]
nando293921 has quit [Ping timeout: 272 seconds]
<toretore> baweaver: my experience has led me to be skeptical of any oss project that has a pretty website. the experience is that they are good at marketing but not much for substance
Rajamaa has quit [Quit: Konversation terminated!]
<ropeney> Or it shows a diversified team working on the project
<toretore> if the web site looks like it was made by someone with questionable personal hygiene and food stuck in their beard, on the other hand
JRajamaa has joined #ruby
<toretore> any project that drones on about diversity too i'm usually skeptical of
pawnbox has quit [Remote host closed the connection]
<ropeney> Personal hygiene affects code? :s
<snebel> I'm having some troubles to build a systemd unit that points to a thin webserver, I'd really appreciate if someone can point me to something working..
<toretore> ?code snebel
<ruby[bot]> snebel: We can't help you without your code, please post it to https://gist.github.com
|prawnzy has joined #ruby
prawnzy has quit [Read error: Connection reset by peer]
tmtwd has joined #ruby
garethrees has quit []
pawnbox has joined #ruby
nikivi has quit [Quit: irc]
araujo__ has quit [Quit: Leaving]
sepp2k has quit [Quit: Leaving.]
AlexRussia has quit [Ping timeout: 265 seconds]
LuckyABA has joined #ruby
synthroid has joined #ruby
troulouliou_div2 has quit [Quit: Leaving]
amclain has joined #ruby
<snebel> Here it is
<snebel> when running it manually or trough a sysVinit script everything is fine..
qba73 has quit [Remote host closed the connection]
<snebel> was unable to find a systemd unit that make my stuff works...
jsrn_ has quit [Read error: Connection reset by peer]
<toretore> ?gist-usage
<ropeney> snebel, are you using a ruby manager?
qba73 has joined #ruby
<ropeney> ruby version manager*?
<snebel> nope
<snebel> system installation
<toretore> snebel: --daemonize
<toretore> systemd expects the process to not do that unless told otherwie
Devalo has joined #ruby
<snebel> ah!
aegis3121 has quit [Ping timeout: 265 seconds]
<snebel> well make sense
<ropeney> good spot
<snebel> knew would be something obvious.. let me try..
jshjsh is now known as JoshS
<toretore> you'll still get the exception probably
garethrees has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
<snebel> .well the error changed which is a good sign :-)
|prawnzy has quit [Ping timeout: 240 seconds]
dn5 has quit [Ping timeout: 248 seconds]
<snebel> port is in use or requires root privileges
<snebel> let's review my setup
qba73 has quit [Ping timeout: 276 seconds]
Couch has quit [Ping timeout: 244 seconds]
<snebel> cool, that worked ah just forgot some manually triggered process started listening over there.. :-)
jackjackdripper has joined #ruby
<snebel> toretore: Thanks!
dn5 has joined #ruby
GodFather has joined #ruby
<toretore> np
erlingur has quit [Ping timeout: 240 seconds]
<snebel> :-)
icedp has joined #ruby
Rodya_ has joined #ruby
ebbflowgo has quit [Quit: ebbflowgo]
qba73 has joined #ruby
ebbflowgo has joined #ruby
flying has quit []
tyang_ has quit [Ping timeout: 255 seconds]
Rodya_ has quit [Ping timeout: 250 seconds]
claudiuinberlin has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
Snowy has quit [Quit: ragequit]
tyang_ has joined #ruby
ebbflowgo has quit [Ping timeout: 272 seconds]
greylevel has joined #ruby
GinoManWorks has quit [Quit: Leaving]
<_sfiguser> how can i remove the 5th element in an array ?
<apeiros> &ri Array#delete_at _sfiguser
jhack has quit []
dn5 has quit [Ping timeout: 265 seconds]
SeepingN has joined #ruby
dn5 has joined #ruby
Biciato has joined #ruby
<Biciato> using sqlite3 i want to repeat the query in case that the query finds nothing , how can i do this ?
<apeiros> Biciato: you write a loop?
mallu has joined #ruby
<Biciato> yeah but how would be the conditioning for finding nothing ?
<mallu> noob here.. how do I write output of this to a file? ec2.describe_instances(filters:[{name: 'instance-state-name', values:['running']}])
VladGh has quit [Remote host closed the connection]
jackjackdripper has quit [Quit: Leaving.]
<apeiros> mallu: File.write(path_to_file, data)
thisguy123 has joined #ruby
VladGh has joined #ruby
<apeiros> Biciato: how do you do the query?
nitric has joined #ruby
<apeiros> _sfiguser: yeah, you're welcome. no need to have the manners to say "thank you" or somesuch…
<Biciato> db.execute("select * from Card where face = '#{vet_s}'") do |row| while row == NIL do db.execute print row end
<apeiros> I don't think row will ever be nil there
<Biciato> the problem is with "while row == NIL"
<apeiros> so you can either place a variable outside, initializing it with nil, and set it to true in your do/end, or you can change the way you query.
<_sfiguser> apeiros, sorry i come from perl :) where people is touchy and having an answer is hard without things like "you *** stupid, go read the docs"
mikecmpbll has quit [Ping timeout: 260 seconds]
<apeiros> _sfiguser: I have no idea how that relates. but sure.
ebbflowgo has joined #ruby
<Biciato> let me explain better, the variable vet_s holds a string selected randomly from a array of strings
MyMind has quit [Read error: Connection reset by peer]
conta has joined #ruby
LoneHermit has joined #ruby
<Biciato> and there are some strings that have the same value of the database's rows but also there are some that haven't
VladGh has quit [Remote host closed the connection]
MyMind has joined #ruby
<ropeney> you do a loop, checking the count of the results
VladGh has joined #ruby
<apeiros> Biciato: ok. still the same answer :)
<Biciato> example: "John" is in the array and is also inside db but Kerry is in the array but isn't inside db
<Biciato> vet_s variable select a "name" randomly from array so sometimes the query will match but sometimes won't
ramfjord has joined #ruby
LoneHermit has quit [Ping timeout: 264 seconds]
DoubleMalt has joined #ruby
<ropeney> Biciato, `until (rows = db.execute('...')).count > 0 { vet_s = ArrayOfRandoms.next_random_thing }`
<apeiros> ropeney: I think you omitted something there.
<apeiros> otherwise rows will be true/false
<Biciato> so if the query match , that has to stop but if don't, that has to repeat until it finds a match
<ropeney> rows == the result of the db query?
<apeiros> ropeney: no.
<apeiros> in your code, rows == .count > 0
<apeiros> oh
<ropeney> how so?
<apeiros> missed a pair of parens :D
<apeiros> my fault
nankyokusei has joined #ruby
<ropeney> np
<Biciato> the conditioning could be something like if row == no match then repeat the query else print the query
<ropeney> Biciato, did you look at my code?
<Biciato> yes
<ropeney> You should be able to get what you want from moulding that to do what you want
armyriad has joined #ruby
<eam> ropeney: < ropeney> like monit works on systems... with monit?
<eam> no
<eam> you can run monit on any unix system
<ropeney> well that took a while
<eam> you can NOT run systemd on every unix system
<ropeney> you can run monit if you install monit
jackjackdripper has joined #ruby
<eam> ropeney: yeah I have a job which is more important than this channel
<eam> ropeney: yes but you cannot install systemd
<ropeney> oh?
<eam> literally can no
tomphp has quit [Ping timeout: 244 seconds]
<eam> systemd can only be init, so it cannot run on centos6
<eam> and it cannot run on any non-linux system, ever
RegulationD has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
<eam> you can only run systemd if your distro has made deep changes
<eam> it's a pervasive thing
<ropeney> so like... any new distro?
<eam> some of them
etehtsea has joined #ruby
DuoSRX has joined #ruby
<eam> not all of them
<ropeney> you have your feels about it, I keep my recommendation its a good choice if its available :)
<eam> it's a bad choice :)
<eam> I haven't mentioned any feelings, just pointing out facts
<apeiros> eam: wait what? there is something more important than this channel? heresy I say!
<ropeney> bad choice, is a feel :)
<toretore> said differently: systemd is, from the ground up, meant to be pid 1
<eam> apeiros: ;)
Wizznt has joined #ruby
<eam> ropeney: no, it's a fact
<eam> feelings are like "systemd makes me feel like I'm staring into the void"
<eam> which is true, but not really relevant
<apeiros> can systemd stare back?
<eam> facts are like "systemd can't work on most systems"
<toretore> it will eventually
<toretore> apeiros: ^
<ropeney> feelings are "systemd doesnt work on every system so its bad"
rcvalle has joined #ruby
<eam> ropeney: no, that's an opinion
<eam> still not a feeling
hutch34 has joined #ruby
<toretore> eam: that's a little besides the point, systemd is meant to *be* the system
snebel has quit [Quit: Leaving]
<ropeney> eam, cool story :)
<eam> feelings are like "systemd gives me existential angst as to the future of humanity, given our capacity for poor choices at scale"
<eam> it's the donald trump of process management
<toretore> make linux great again
bjh13 has joined #ruby
* apeiros notices that mallu apparently also part of those new cool kids who don't think a "thank you" was necessary or just basic manners
Devalo has quit [Remote host closed the connection]
<toretore> i'd take someone providing basic information over a thank you any day
<mallu> apeiros: sorry.. got distracted thank you
Devalo has joined #ruby
FINbit has quit [Ping timeout: 265 seconds]
emersonian has joined #ruby
dhk_ has joined #ruby
sai_ has joined #ruby
rahulKumi has quit [Ping timeout: 244 seconds]
<_sfiguser> is there difference between if and If ?
<_sfiguser> sorry i mean between "else" and "Else" ?
<apeiros> else is a keyword, Else a constant.
<apeiros> and you almost always want else, not Else.
the_drow has joined #ruby
Devalo has quit [Ping timeout: 264 seconds]
dhk has quit [Ping timeout: 265 seconds]
jackjackdripper has quit [Quit: Leaving.]
TomyWork has quit [Ping timeout: 240 seconds]
allcentury has joined #ruby
aegis3121 has joined #ruby
sai_ has quit [Ping timeout: 248 seconds]
dionysus69 has quit [Ping timeout: 276 seconds]
_djbkd has joined #ruby
AlexxNica has joined #ruby
mikecmpbll has joined #ruby
senayar has quit []
jackjackdripper has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
AndyBotwin has quit [Ping timeout: 244 seconds]
tyang_ has quit [Ping timeout: 255 seconds]
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
finisherr has joined #ruby
Dysp has joined #ruby
blackmesa has joined #ruby
brendan- has quit [Quit: Textual IRC Client: www.textualapp.com]
AndyBotwin has joined #ruby
nikivi has joined #ruby
<Dysp> Hey guys. I am trying to solve a problem. I hope you can help me.
qba73 has quit [Ping timeout: 240 seconds]
<Dysp> Say I have a given array = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]. I want to do a rolling average, where I iterate over n amount of elements and take the mean of these.
<Dysp> I then want to move forward one element and do it again for the next n elements.
Cohedrin has joined #ruby
<havenwood> Dysp: each_cons
<Dysp> havenwood: Yep. Exactly that.
dionysus69 has joined #ruby
pawnbox_ has joined #ruby
pawnbox has quit [Read error: Connection reset by peer]
blackmesa has quit [Ping timeout: 265 seconds]
ponga has quit [Quit: Connection closed for inactivity]
<havenwood> Dysp: 1.upto(array.size).map { |n| array.each_cons(n).map { |a| a.inject :+ } }
<Dysp> Beautiful. :)
_sfiguser has quit [Ping timeout: 240 seconds]
ebbflowgo has quit [Quit: ebbflowgo]
<apeiros> what's the 1.upto for?
ben______ has joined #ruby
<apeiros> misses a .quo(n) (or .fdiv(n))
firstdayonthejob has joined #ruby
<apeiros> if you want to optimize performance - it can be done with a single addition and subtraction per rolling element instead of summing all n elements on each iteration. but only if you need the perf. otherwise it'll just needlessly make the code more complex.
lxsameer has joined #ruby
be_______ has quit [Ping timeout: 265 seconds]
<Dysp> apeiros: Can you clarify?
<Dysp> I always want to learn new things, especially performance.
SuperLag has quit [Read error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number]
redpants has joined #ruby
SuperLag has joined #ruby
heftig has quit [Remote host closed the connection]
_djbkd has quit [Read error: Connection reset by peer]
<Dysp> Also, havenwood; I don't get what 1.upto(array.size) is for?
aryaching has joined #ruby
_djbkd has joined #ruby
Guest19031 is now known as zrl
<havenwood> Dysp: I must have misunderstood what you wanted. I thought you wanted each cons of every possible size up to the whole array. Nevermind!
sylario has joined #ruby
<Dysp> Odds are higher that I didn't express myself properly.
chris2 has quit [Ping timeout: 272 seconds]
_sfiguser has joined #ruby
salut has quit [Quit: salut]
rodfersou|lunch is now known as rodfersou
armin has quit [Quit: relate to the matter as i drop the bomb]
etehtsea has quit [Quit: Textual IRC Client: www.textualapp.com]
noahgibbs has joined #ruby
blackwind_123 has joined #ruby
thisguy123 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
hahuang65 has joined #ruby
dhk_ has quit [Ping timeout: 265 seconds]
hk238 has joined #ruby
postmodern has joined #ruby
noahgibbs has quit [Ping timeout: 240 seconds]
<apeiros> Dysp: basically you sum n elements as a setup, then you subtract 1st element and add n+1 nth element, and you do that ary.size - n - 1 times (one time less because the initial has to be special cased)
replay has joined #ruby
elenatanasoiu has quit [Ping timeout: 255 seconds]
<apeiros> i.e. first iteration: subtract index 0, add index n+1, 2nd iter: subtract idx 1, add idx n+2, etc.
grh has joined #ruby
armin has joined #ruby
<Dysp> I think I understand it a little bit, but not entirely. But it's okay, thank you for explaining. It's getting a bit too mathy :p
Devalo has joined #ruby
redpants has quit [Ping timeout: 272 seconds]
jackjackdripper has quit [Quit: Leaving.]
garethrees has quit []
claudiuinberlin has joined #ruby
ocbtec has quit [Quit: leaving]
whathappens has joined #ruby
huggy has quit [Ping timeout: 272 seconds]
tdy has quit [Ping timeout: 240 seconds]
mallu has quit [Quit: Page closed]
minimalism has joined #ruby
<Dysp> If I want to make sure a passed parameter/argument is an integer, is this an okay way to do it? n.class != Integer
<Dysp> ?
<Dysp> Oh, it raises if not.
<toretore> what you probably want is to call to_i on it
<toretore> then document that
ropeney has quit [Quit: Leaving]
A124 has quit [Ping timeout: 244 seconds]
camilasan has quit [Remote host closed the connection]
<Dysp> But I wanna make sure that user do not expect that the method will work with anything else than an integer.
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.2 Aria]
<toretore> why not?
jphase is now known as jphase-afk
ramfjord has quit [Ping timeout: 264 seconds]
camilasan has joined #ruby
Rodya_ has joined #ruby
<Dysp> Because it shouldn't. If a float is passed, then an error should be thrown; not just convert it into an integer. In that case unexpected errors would rise in the end result and then they have to figure out why without proper knowledge of programming
sai_ has joined #ruby
<toretore> again, why?
<toretore> what sort of disaster happens if i pass 1.1 instead of 1?
sai_ has quit [Read error: Connection reset by peer]
sai__ has joined #ruby
Johne has left #ruby ["bye"]
RedNifre_ is now known as RedNifre
heftig has joined #ruby
<eam> toretore: are you really arguing that methods should fudge inputs?
zacts has quit [Ping timeout: 250 seconds]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<eam> strict input validation is a good practice
<Dysp> toretore: I cannot iterate over 1.1 elements in an array
<apeiros> 1.1 vs. 1 isn't exactly the same quacking either
<Dysp> And if user expects that, things will just go wrong
Mrgoose has quit []
elaptics has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Rodya_ has quit [Ping timeout: 248 seconds]
<eam> Dysp: I'd #is_a? Integer
<toretore> you basically have two choices: 1) strictly require that class == Integer; 2) require that it responds to to_i
dhk_ has joined #ruby
p0p0pr37_ has joined #ruby
chris2 has joined #ruby
<eam> well you just need to know it inherits from Integer
GinoManWorks has joined #ruby
<eam> Bignum and Fixnum are both ok
<toretore> same thing, basically
<eam> yeah
<toretore> my point is that 1 is static typing and 2 is duck typing
rippa has joined #ruby
<eam> duck typing is very perlish
<baweaver> Perls of wisdom eam
<eam> I'd get freaked out if I could foo["lolwut"]
p0p0pr37 has quit [Ping timeout: 260 seconds]
p0p0pr37_ is now known as p0p0pr37
<eam> where foo was an integer indexed array
ebbflowgo has joined #ruby
<eam> cuz sure you could return index zero
<eam> but should you?
KnownSyntax has quit [Ping timeout: 240 seconds]
SteenJobs has joined #ruby
<baweaver> Meanwhile, hash will take whatever you can stuff in there
<toretore> Dysp: if you have users who don't understand programming, then there should be a layer separating them and your method, and it is in this layer that the validation should occur
<eam> well yeah, but that's explicit in the hash functionality
<baweaver> eam: Did I ever show you how I abused that fact?
<eam> baweaver: nope, please do tell
<baweaver> to precurse it though, what do Hash and Proc have in common?
<eam> they're both a class?
<eam> Object? :D
<baweaver> How do you get a value from a hash
<eam> uh oh
<baweaver> oh yes
DroidBurgundy has joined #ruby
<eam> I really wish ruby had a obj{} syntax as well as obj[]
<baweaver> Let there be Lambda
whathappens has quit [Remote host closed the connection]
marxarelli has joined #ruby
A124 has joined #ruby
whathappens has joined #ruby
<baweaver> eam: Do you now know fear?
<eam> nope
<baweaver> you get what it's doing yet
<baweaver> ?
whathapp_ has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
twe4ked has quit [Ping timeout: 248 seconds]
prawnzy has joined #ruby
<apeiros> [1,2,3,4]["foo"] *obviously* should return the index at "foo".hash!!!1!elf!
<apeiros> Dysp: did you try to implement the rolling average yet?
<eam> baweaver: yeah that's neat :D
<baweaver> I'll probably refactor it to work as a tree select
<baweaver> get all nodes down the tree where this condition matches and return a new hash
blackmesa has joined #ruby
twe4ked has joined #ruby
<baweaver> problem is [:*] on the end would require a call with something explicit to tell it stop the tree
<Dysp> Got into a discussion about databases
mikecmpbll has quit [Quit: inabit. zz.]
<baweaver> Seems like a conversation with a lot in store
ben______ has quit [Remote host closed the connection]
<Dysp> We are newbs. Of course ^^
GodFather has quit [Ping timeout: 244 seconds]
* baweaver grumbles about missed puns
ben______ has joined #ruby
sai_ has joined #ruby
sai__ has quit [Read error: Connection reset by peer]
prawnzy has quit [Ping timeout: 272 seconds]
ben______ has quit [Remote host closed the connection]
ben______ has joined #ruby
sai_ has quit [Read error: Connection reset by peer]
<apeiros> Dysp: ok. pondering to implement Enumerable#rolling_average(n). but don't want to do it if you haven't done it yourself already :-p
<Dysp> toretore: There actually is. It's simply for my developer to get exceptions if he acts up
ben______ has quit [Remote host closed the connection]
AlexxNica has quit [Quit: AlexxNica]
sai_ has joined #ruby
ben______ has joined #ruby
<Dysp> apeiros: Did I awake some curiousity in you? :D
alfiemax has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
<Dysp> But show me your solution. I of course learn things by doing them myself, but that doesn't mean I cannot get inspiration. I also don't have an interest in becoming a software developer
banisterfiend has joined #ruby
mikecmpbll has joined #ruby
RobertBirnie has joined #ruby
<apeiros> Dysp: I usually want to see an implementation (working or near-working) from a help-seeker before revealing mine.
<banisterfiend> anyone here familiar with kafka?
<banisterfiend> apeiros U?
zacts has joined #ruby
<banisterfiend> :P:P
platzhirsch has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
SteenJobs has joined #ruby
gingray has quit [Ping timeout: 265 seconds]
<apeiros> banisterfiend: I only know kafka, not his works.
<apeiros> and I'm still waiting for godot.
<banisterfiend> apeiros lol i mean the message queue
<apeiros> aha!
<apeiros> in that case, no
<bougyman> banisterfiend: yes, used it a bunch
<apeiros> do you have to kafka.wait_for_godot there too?
<banisterfiend> bougyman awesome! you're my homie then
<banisterfiend> bougyman can i have two consumers belong to the same consumer group but subscribed to different topics?
<apeiros> and: hi banisterfiend, long time no see :D
<banisterfiend> i'm getting mad errors when i try that
<banisterfiend> apeiros ya :( RL etc...
<bougyman> banisterfiend: I don't think so. consumer groups pull different partitions from the same topic.
DoubleMalt has quit [Ping timeout: 265 seconds]
<bougyman> banisterfiend: which version of kafka?
jphase-afk is now known as jphase
<banisterfiend> bougyman yeah i thought so, but you can setup a consumer to read from multiple topics
<bougyman> last we were on was 0.8x
<bougyman> banisterfiend: you can, but we didn't (read from multiple topics)
<bougyman> we had tons of busy partitions, each worker concentrated on only one partition of one topic.
<banisterfiend> bougyman we're on 0.9 i think with the new consumer API
nando293921 has joined #ruby
<Dysp> apeiros: That's fair. I will return shortly :D
<bougyman> banisterfiend: so things may have changed, though ours was a capacity/performance requirement.
<bougyman> banisterfiend: word to the wise: always have a replay method available.
<bougyman> at least with 0.7/0.8, we had to wipe and replay partitions probably 1x/month
<banisterfiend> bougyman it's so trivially easy to get a consumer to subscribe to multiple topics, u can even use a regex as a topic, so i'd have expected there to be more direction in the API to prevent from having two consumers in the same group subscribing to different topics
<bougyman> this was billions of messages/day, though.
gingray has joined #ruby
<banisterfiend> bougyman cheers
<banisterfiend> bougyman did you use ruby-kakfa?
nikivi has quit [Quit: zzz]
<bougyman> banisterfiend: no, poseiden
<bougyman> poseidon seems dead now
<bougyman> The Producer API is currently beta level and used in production. There's an alpha level Consumer Group API that has not yet been used in production and that may change without warning. Feel free to try it out but don't expect it to be stable or correct quite yet.
<bougyman> that should be fun for you :)
cdg has quit [Remote host closed the connection]
<apeiros> incomplete, as it doesn't deal with enums < n
bocaneri has quit [Remote host closed the connection]
Dysp has quit [Quit: Page closed]
aegis3121 has quit [Ping timeout: 255 seconds]
ebbflowgo has quit [Quit: ebbflowgo]
sophia7 has joined #ruby
<sophia7> who do you wanna fuck? fupa or lala?
<sophia7> milk filled dog tits
<apeiros> !spam sophia7
sophia7 was kicked from #ruby by ruby[bot] [spamming is a bannable offense, see http://ruby-community.com/pages/user_rules]
sai_ has quit [Read error: Connection reset by peer]
sai_ has joined #ruby
eldariof has joined #ruby
LoneHerm_ has joined #ruby
zapata has quit [Quit: WeeChat 1.5]
kitikonti has joined #ruby
zipace has joined #ruby
zapata has joined #ruby
sai_ has quit [Read error: Connection reset by peer]
sai_ has joined #ruby
LoneHerm_ has quit [Ping timeout: 255 seconds]
sai_ has quit [Read error: Connection reset by peer]
sai_ has joined #ruby
allcentury has quit [Quit: WeeChat 1.2]
nankyokusei has joined #ruby
swills has quit [Quit: Leaving]
sai_ has quit [Read error: Connection reset by peer]
elenatanasoiu has joined #ruby
sai_ has joined #ruby
symm- has joined #ruby
swills has joined #ruby
nankyokusei has quit [Ping timeout: 265 seconds]
<havenwood> I wonder if Dysp was using enumerable-statistics for Array#mean? :-) https://github.com/mrkn/enumerable-statistics
<apeiros> prolly just rails
swills has quit [Max SendQ exceeded]
<apeiros> oh, no #mean in rails
<apeiros> well, too bad they're offline. can't ask.
sai_ has quit [Read error: Connection reset by peer]
sai_ has joined #ruby
swills has joined #ruby
eldariof has quit []
sai_ has quit [Read error: Connection reset by peer]
last_staff has joined #ruby
sai_ has joined #ruby
dviola has quit [Ping timeout: 265 seconds]
aegis3121 has joined #ruby
chelly has joined #ruby
sai_ has quit [Read error: Connection reset by peer]
tomphp has joined #ruby
sai_ has joined #ruby
jblack has joined #ruby
dhk_ has quit [Quit: Leaving]
DroidBurgundy has quit []
hutch34_ has joined #ruby
dionysus69 has quit [Ping timeout: 244 seconds]
ramortegui has quit [Remote host closed the connection]
nikivi has joined #ruby
nikivi has quit [Client Quit]
hutch34 has quit [Ping timeout: 240 seconds]
colept has joined #ruby
harfangk_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<colept> Howdy! I'm making a Gem and wondering how do I add a submodule to a module (from another gem)?
AlexRussia has joined #ruby
aegis3121 has quit [Ping timeout: 240 seconds]
<colept> I've tried `/lib/existing_module.rb` with the submodule in it but nothing
<chrisseaton> colept: I'm not totally sure what you are trying to do, but you can just write module ExistingModule; module MySubModule; end; end to create a submodule to an existing module from another gem
<colept> Yeah I tried that, however only ExistingModule will load
sai_ has quit [Read error: Connection reset by peer]
7GHAAC3YG has joined #ruby
32NAB2183 has joined #ruby
sai_ has joined #ruby
<colept> I have to manually require 'existingmodule/mysubmodule'
<colept> where as 'existingmodule' is autoloaded by rails
gizless has joined #ruby
<colept> (this may be a rails-specific problem)
<colept> Should I ask there instead?
<chrisseaton> Yeah sounds like it
ramortegui has joined #ruby
<colept> okie doke thanks!
<chrisseaton> Your question isn't totally clear to me - you might get a better response if you word it differently
chouhoulis has joined #ruby
<chrisseaton> For example I don't know what submodules have to do with requiring things, or why it matters what gem the module is in
gizmore has quit [Ping timeout: 272 seconds]
7GHAAC3YG is now known as despai
32NAB2183 has quit [Remote host closed the connection]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Alina-malina is now known as Samsepiol
Samsepiol is now known as Alina-malina
chouhoulis has quit [Ping timeout: 272 seconds]
tyang_ has joined #ruby
<apeiros> colept: the proper term is "nested module"
<apeiros> colept: and rails only autoloads /app, not /lib
<apeiros> but yeah, #rubyonrails
<colept> To clarify, Im building a gem
ramfjord has joined #ruby
<apeiros> yes, read that :)
<colept> Yeah I see that
blackmesa has joined #ruby
platzhirsch has quit [Quit: WeeChat 1.4]
<colept> Im trying to extend `graphql-ruby`
<colept> which AFAIK has no rails integration
<colept> And it's autoloaded
<apeiros> then it won't be autoloaded by rails either, unless you explicitly told it to.
Biciato has quit [Ping timeout: 240 seconds]
dviola has joined #ruby
<colept> Weird, it is being autoloaded
JoshS has quit [Quit: Leaving]
<apeiros> that means you somewhere tell it to
<apeiros> or you're using a reeeeally ancient version of rails (iirc. 2.x autoloaded everything)
tomphp has joined #ruby
<colept> hmmm
Rodya_ has joined #ruby
pragmaticus has quit [Ping timeout: 264 seconds]
kerframil has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
<colept> Using Rails 5 and `graphql-ruby` is required by Bundler
<colept> I don't think #RubyOnRails is helpful when it comes to publishing gems
<colept> that may be a quick observation tho
Rodya_ has quit [Ping timeout: 248 seconds]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<colept> Ill keep looking, thanks tho!
redpants has joined #ruby
<apeiros> you mean you have a `require` in your gemfile?
Devalo has quit [Remote host closed the connection]
yasu has quit [Ping timeout: 250 seconds]
stamina has quit [Ping timeout: 244 seconds]
Devalo has joined #ruby
<colept> @aperios yes
<apeiros> though, I'm not even sure. might even be that rails requires all in the Gemfile unless explicitly having a require: false
elenatanasoiu has quit [Ping timeout: 264 seconds]
<colept> I think the issue is in my gem itself
<apeiros> colept: well, if you have a *require*, then there's no autoloading anyway :-p
nofxx has joined #ruby
Ananthu has quit [Quit: Connection closed for inactivity]
<colept> yeah
<colept> I think my Gem is being loaded, I just think I monkey patched the other gem incorrectly
SteenJobs has quit [Quit: SteenJobs]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> you don't have to guess. this is programming. you can verify.
<colept> That is the goal
GodFather has joined #ruby
tdy has joined #ruby
zipace has quit [Disconnected by services]
ziprar has joined #ruby
banisterfiend has joined #ruby
dionysus69 has joined #ruby
Devalo has quit [Ping timeout: 255 seconds]
elenatanasoiu has joined #ruby
SteenJobs has joined #ruby
aegis3121 has joined #ruby
miqlas-H has joined #ruby
chouhoulis has joined #ruby
diamonds has joined #ruby
<diamonds> Newb here apologies in advance if my question is OT
Mark-6ma has joined #ruby
<diamonds> attempting to run Jekyll locally (someone elses project), I keep getting in this loop of "gem missing" "run bundle install" "gem missing" "run bundle install"
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<diamonds> here's some output http://hastebin.com/raw/ajisamurud
peterhu has joined #ruby
heftig has quit [Read error: Connection reset by peer]
miqlas-H has quit [Client Quit]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
heftig has joined #ruby
yasu has joined #ruby
LoneHermit has joined #ruby
Devalo has joined #ruby
sdwrage has quit [Quit: Leaving]
Mark-6ma has quit [Quit: -]
banisterfiend has joined #ruby
dyjakan has quit [Quit: leaving]
dyjakan has joined #ruby
LoneHermit has quit [Ping timeout: 276 seconds]
banisterfiend has quit [Client Quit]
hobodave has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<diamonds> getting jekyll set up on a mac is I N S A N E
<diamonds> I'm reading thru the install instructions of the individual dependencies now... o_O
jackjackdripper has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
AlexxNica has joined #ruby
banisterfiend has joined #ruby
banisterfiend has quit [Client Quit]
tomphp has joined #ruby
johnmilton has quit [Remote host closed the connection]
<dyjakan> wat?
mikecmpbll has quit [Quit: inabit. zz.]
jackjackdripper has quit [Client Quit]
<dyjakan> is it not plain old 'gem install jekyll'?
banisterfiend has joined #ruby
<dyjakan> afair it works like charm on osx
hobodave has joined #ruby
jackjackdripper has joined #ruby
Asher has joined #ruby
<diamonds> having got past the "gem missing" "run bundle install" "gem missing" "run bundle install" "gem missing" "run bundle install" "gem missing" "run bundle install" issue (for now) I'm now wrestling with nokogiri
tomphp has quit [Client Quit]
<dyjakan> weird, i'm still on el capitan but i was rolling jekyll site circa 3 days ago
<diamonds> nothing I do seems to get it to install :/ I'm trying all the suggestions but it's outside my normal domain so I don't really know what I'm doing
banisterfiend has quit [Client Quit]
<dyjakan> no problems at all
<diamonds> dyjakan, can I borrow your computer to work on?
<dyjakan> i'm using rbenv and up-to-date ruby system wide
qba73 has joined #ruby
<dyjakan> 2.3.1
Devalo has quit [Remote host closed the connection]
banisterfiend has joined #ruby
<diamonds> dyjakan, what do you make of this http://hastebin.com/raw/guzepoyupo
Devalo has joined #ruby
tomphp has joined #ruby
blackmesa has joined #ruby
<dyjakan> show me your ruby -v
banisterfiend has quit [Client Quit]
<dyjakan> I think you're using outdated ruby that comes bundled with osx
conta has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
<diamonds> you think this is a ruby version issue?
DoubleMalt has joined #ruby
<diamonds> ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin15]
banisterfiend has joined #ruby
<dyjakan> yeah, I think it's related to your ruby
coolboy has quit [Ping timeout: 248 seconds]
qba73 has quit [Client Quit]
Devalo has quit [Ping timeout: 248 seconds]
banisterfiend has quit [Client Quit]
<dyjakan> it's been sometime I did this but afair you either roll out brew's version ruby and switch up symlinks for ruby
<dyjakan> or go with rbenv/rvm and roll out ruby from there
<dyjakan> which is better choice because often times you want specific ruby per project
<diamonds> I just want jekyll to run
<diamonds> what do you recommend
<dyjakan> once you have up-to-date ruby you can gem install jekyll without problems
<diamonds> what do recommend for getting up-to-date jekyll
<diamonds> sorry, RUBY
JRajamaa has quit [Quit: Konversation terminated!]
<diamonds> that's best choice for single-purpose ruby install? OK will do that
<dyjakan> follow their installation steps with brew
stamina has joined #ruby
hobodave has quit [Quit: Computer has gone to sleep.]
Wizznt has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<dyjakan> btw it's apple's shit all over the plave
<dyjakan> they don't like updating their stuff
nankyokusei has joined #ruby
JRajamaa has joined #ruby
Wizznt has joined #ruby
elenatanasoiu has quit [Ping timeout: 265 seconds]
bsrd has joined #ruby
<diamonds> dyjakan, ok what version of ruby do I need to run this powerful, sophisticated piece of software (jekyll)?
bsrd has quit [Client Quit]
<colept> @apeiros it was indeed my declarations
<colept> thanks for the tip!
<diamonds> I'm confused cuz it just says I need >2 which I have
<apeiros> colept: note, this isn't twitter. @ is not needed.
<colept> Slack force-of-habit
<apeiros> and yw
<colept> I'm well aware of IRC ;)
sdwrage has joined #ruby
<diamonds> holy jesus I think it might be working ;_;
Asher has quit [Quit: Leaving.]
jokester has joined #ruby
Asher has joined #ruby
johnmilton has joined #ruby
_djbkd has quit [Remote host closed the connection]
<Nilium> Now quick, summon a devil so it stays working.
<eam> \m/
<dyjakan> diamonds: newest obviously, is it working yet?
<apeiros> might let god watch it
webus has joined #ruby
<diamonds> nope :(
Gasher has quit [Ping timeout: 276 seconds]
banisterfiend has joined #ruby
<diamonds> I guess it's a content issue now?
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<Nilium> Every time I see a hastebin link I accidentally mistake it for my office's internal hastebin instance.
<Nilium> And then I get mad 'cause I hate the thing.
sai_ has quit [Remote host closed the connection]
<Nilium> And that's why my office has at least six devils.
<eam> Nilium: count your lucky stars, I'm provided with stash snippets
<Nilium> We've got GitLab and it has snippets, but they kinda suck.
<diamonds> why is it even trying to build a post from gems/jekyll/lib/site_template/_posts/.... ??
hobodave has joined #ruby
tdy has quit [Ping timeout: 264 seconds]
_djbkd has joined #ruby
hulk_smash has joined #ruby
AlexxNica has quit [Ping timeout: 250 seconds]
Rodya_ has joined #ruby
banisterfiend has quit [Client Quit]
elenatanasoiu has joined #ruby
banisterfiend has joined #ruby
NTrash has joined #ruby
machinewar has joined #ruby
Devalo has joined #ruby
LemonJuice has quit [Quit: Leaving]
nankyokusei has quit [Remote host closed the connection]
nankyokusei has joined #ruby
Rodya_ has quit [Ping timeout: 272 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
aegis3121 has quit [Ping timeout: 240 seconds]
aegis3121 has joined #ruby
pawnbox_ has quit [Remote host closed the connection]
sp4rrow has joined #ruby
Devalo has quit [Remote host closed the connection]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Devalo has joined #ruby
dionysus69 has quit [Ping timeout: 255 seconds]
ixti has joined #ruby
NTrash has quit [Quit: Konversation terminated!]
AlexxNica has joined #ruby
Devalo has quit [Ping timeout: 248 seconds]
chouhoulis has quit [Remote host closed the connection]
fmcgeough has quit [Quit: fmcgeough]
chouhoulis has joined #ruby
cdg has joined #ruby
zeroDi has joined #ruby
blackgoat has joined #ruby
tyang_ has quit [Quit: Leaving]
marxarelli is now known as marxarelli|afk
FINbit has joined #ruby
claudiuinberlin has quit []
nankyokusei has quit []
Samysam has quit [Quit: Konversation terminated!]
iamvery has joined #ruby
ur5us has joined #ruby
duderonomy has joined #ruby
pawnbox has joined #ruby
erlingur has joined #ruby
ur5us has quit [Read error: No route to host]
ur5us has joined #ruby
pawnbox_ has joined #ruby
pawnbox has quit [Read error: Connection reset by peer]
nn0 has joined #ruby
nankyokusei has joined #ruby
colept has quit [Quit: Page closed]
redpants has quit [Quit: Lost terminal]
coolboy has joined #ruby
erlingur has quit [Ping timeout: 272 seconds]
hahuang61 has joined #ruby
banisterfiend has joined #ruby
airdisa has joined #ruby
aarkerio has joined #ruby
bsrd has joined #ruby
hahuang65 has quit [Ping timeout: 264 seconds]
<aarkerio> hi! is there a way to split an string to an array every four characters? example: var = 'hhayyrrowdsfdsfdsfdsfadsfadsfadsfadsfadsfs'
bsrd has quit [Client Quit]
<baweaver> What have you tried?
marxarelli|afk is now known as marxarelli
<baweaver> &ri String
despai has quit [Quit: This computer has gone to sleep]
elastix has joined #ruby
whathapp_ has quit [Remote host closed the connection]
whathappens has joined #ruby
<baweaver> If nothing, read through the String documentation above
<baweaver> there are a few methods that should do what you're looking for.
<diamonds> aarkerio, I see you can access substrings by index: yourstring[0,3] for the first for chars e.g.
s2013 has joined #ruby
<baweaver> there's a way to do it in one shot
synthroid has quit []
<baweaver> and it's a method for String
<aarkerio> I tried split but it need a character
<aarkerio> needs
<baweaver> what other methods start with `s`?
<aarkerio> to create the new array
Rodya_ has joined #ruby
<baweaver> one of them will do it
<nn0> - -
nn0 has left #ruby ["WeeChat 1.4"]
<diamonds> that's one way to skin the cat I think...
<baweaver> not quite.
whathapp_ has joined #ruby
whathapp_ has quit [Read error: Connection reset by peer]
<baweaver> there's another method that will do it, scroll up a bit.
whathapp_ has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
<aarkerio> ok, thanks a lot
hahuang65 has joined #ruby
<baweaver> what'd you find?
<diamonds> oh I see what you mean baweaver
UserOO7 has joined #ruby
hahuang62 has joined #ruby
<baweaver> getting comfortable with the docs will improve your ruby substantially.
hahuang61 has quit [Ping timeout: 265 seconds]
<baweaver> which is why I tend to link to them and not outright answer.
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Pisuke has joined #ruby
<aarkerio> yeah, I tried "sdasdasdasd".scan(/.{4}/) because I need the array to loop for sequences
<baweaver> >> 'hhayyrrowdsfdsfdsfdsfadsfadsfadsfadsfadsfs'.scan(/.{4}/) # by the way
<ruby[bot]> baweaver: # => ["hhay", "yrro", "wdsf", "dsfd", "sfds", "fads", "fads", "fads", "fads", "fads"] (https://eval.in/647317)
<baweaver> yep
<baweaver> For doing things with that, Enumerable is a good read
<baweaver> &ri Enumerable
ta__ has quit [Remote host closed the connection]
ta_ has joined #ruby
<aarkerio> ok, I see, thanks a lot!
<baweaver> >> 'hhayyrrowdsfdsfdsfdsfadsfadsfadsfadsfadsfs'.chars.each_cons(4).to_a.first(3)
<ruby[bot]> baweaver: # => [["h", "h", "a", "y"], ["h", "a", "y", "y"], ["a", "y", "y", "r"]] (https://eval.in/647318)
ta_ has quit [Client Quit]
hahuang61 has joined #ruby
MyMind has quit [Ping timeout: 244 seconds]
<baweaver> well, with join, but anyways.
DarthGandalf has quit [Quit: Bye]
hahuang65 has quit [Ping timeout: 244 seconds]
UserOO7 has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
whathapp_ has quit [Read error: Connection reset by peer]
hahuang62 has quit [Ping timeout: 265 seconds]
whathappens has joined #ruby
<strongcode> in a case statement, can I have a `when` clause to check for nil value of the case subject?
<strongcode> or will it just fall through to the default case
whathappens has quit [Remote host closed the connection]
stamina has quit [Ping timeout: 265 seconds]
aryaching has quit [Ping timeout: 265 seconds]
<baweaver> what have you tried?
DarthGandalf has joined #ruby
<strongcode> gisting, 1 sec
alxgsv has quit [Quit: https://fnordserver.eu]
flopsec has quit [Quit: https://fnordserver.eu]
Guest1469 has quit [Quit: https://fnordserver.eu]
<baweaver> How much do you know about case statements?
<strongcode> I feel like I'm being baited into a Dunning-Kruger admission....
dmtd has joined #ruby
<baweaver> Moreover I don't want to give you an exhaustive explain if you already know the basics of how they work
<strongcode> i believe they are merely syntactic sugar around if/else statments
jenrzzz has quit [Ping timeout: 248 seconds]
<baweaver> Not quite, just a sec.
<baweaver> So a case statement actually uses === for comparing things
<baweaver> === happens to be overwritten for certain classes
<dmtd> Hi all, new at ruby. Trying to run a gem, and getting unkown command after already doing the gem install on the gem name. this is the project https://github.com/warwickshire/saml_tools
<baweaver> >> (1..10) === 2
<ruby[bot]> baweaver: # => true (https://eval.in/647319)
<baweaver> >> Integer === 4
<ruby[bot]> baweaver: # => true (https://eval.in/647320)
<strongcode> I see
<baweaver> >> NilClass === nil
<ruby[bot]> baweaver: # => true (https://eval.in/647321)
<strongcode> that makes sense
hahuang65 has joined #ruby
<baweaver> so if one of those options happens to be NilClass
maloik has quit [Remote host closed the connection]
<strongcode> worked like a charm, thank you for the explanation baweaver '
maloik has joined #ruby
<baweaver> (also, look up how they work, there's a lot more to them)
<hays> from the avaialble examples on the web it appears that rack is primarily a 'hello world' framework
<baweaver> especially handy with IP ranges
<baweaver> and regex
hahuang61 has quit [Ping timeout: 240 seconds]
<strongcode> dmtd can you paste the error please (in a gist or pastebin site)
<baweaver> beat me to it
ldnunes has quit [Quit: Leaving]
tenderlove has joined #ruby
tenderlove has quit [Changing host]
tenderlove has joined #ruby
<strongcode> hays maybe in the sense that it is minimal and barebones - but that is the point. It is just a common app server interface
elastix has quit [Quit: elastix]
<baweaver> you'd probably want something like Sinatra instead
<baweaver> which runs on top of Rack
<hays> well really just trying to understnd what rack is
prawnzy has joined #ruby
erlingur has joined #ruby
<baweaver> "Rack provides a minimal interface between webservers that support Ruby and Ruby frameworks."
hulk_smash has quit [Quit: GONE]
despai has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
banisterfiend has quit [Ping timeout: 255 seconds]
toretore has quit [Ping timeout: 272 seconds]
<hays> so i guess actual documentation is buries in the source code
hulk_smash has joined #ruby
<baweaver> you just call `saml_tools` if it has a bin component
<baweaver> or include it in your script with `require`
rodfersou has quit [Quit: leaving]
<baweaver> in this case you need `require`
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dmtd> baweaver: so my ruby knowledge is minimal - to run a ruby file, do I need a script? or can I call it with arguments? how exactly does the running part work? is it like php where it needs to be run as part of a webpage or something?
ledestin has joined #ruby
<baweaver> though I have a feeling you'll be far less frustrated with this if you read through a ruby book
<baweaver> Then I would definitely recommend reading through a Ruby book to get started
<baweaver> most of this will be covered early on in more detail than you'd likely get here.
aarkerio has quit [Quit: Leaving]
last_staff has quit [Quit: last_staff]
Vile` has joined #ruby
<baweaver> Consider: Programming Ruby, The Well Grounded Rubyist, Eloquent Ruby, The Ruby Way
elastix has joined #ruby
JeanCarloMachado has quit [Ping timeout: 276 seconds]
<strongcode> dmtd a basic ruby script would be a `filename.rb` file (note .rb extension) containing your code. It can be run with `ruby filename.rb`
loinclot_ has quit []
erlingur has quit [Ping timeout: 265 seconds]
<strongcode> however to use external gems, you need to install them with `gem install gemname`
banisterfiend has joined #ruby
<strongcode> then, require it inside your script file with `require gemname` at the top
<strongcode> I agree with baweaver though, a quick 30 minute primer on ruby and ruby gems would suffice
<baweaver> make sure gemname is in quotes
<strongcode> oops, good catch
despai has quit [Quit: This computer has gone to sleep]
LoneHerm_ has quit [Remote host closed the connection]
skweek has quit [Ping timeout: 272 seconds]
<strongcode> w/ 6
hulk_smash has quit [Quit: GONE]
erlingur has joined #ruby
<_sfiguser> how are the "%q" and "%w" called ? and are there mnemonics associated ? how can i remember them ?
hutch34_ has quit [Ping timeout: 265 seconds]
iamvery has quit [Quit: Leaving...]
<strongcode> no good mnemonics for them IMO. Just bookmark a reference such as https://simpleror.wordpress.com/2009/03/15/q-q-w-w-x-r-s/
xemehc has quit [Quit: ZZZzzz…]
JRajamaa has quit [Quit: Konversation terminated!]
elastix has quit [*.net *.split]
sp4rrow has quit [*.net *.split]
blackmesa has quit [*.net *.split]
GinoManWorks has quit [*.net *.split]
replay has quit [*.net *.split]
emersonian has quit [*.net *.split]
amclain has quit [*.net *.split]
mikecmpbll has quit [*.net *.split]
Dimik has quit [*.net *.split]
rlex has quit [*.net *.split]
Mia has quit [*.net *.split]
[k- has quit [*.net *.split]
Silthias1 has quit [*.net *.split]
jmignault has quit [*.net *.split]
pabs has quit [*.net *.split]
M-manveru has quit [*.net *.split]
eljimador has quit [*.net *.split]
jud has quit [*.net *.split]
wlanboy has quit [*.net *.split]
Liothen has quit [*.net *.split]
jpterry has quit [*.net *.split]
Technodrome has quit [*.net *.split]
justinmcp has quit [*.net *.split]
x0f has quit [*.net *.split]
\13k has quit [*.net *.split]
m4rCsi has quit [*.net *.split]
swartzcr has quit [*.net *.split]
cevett has quit [*.net *.split]
devster31 has quit [*.net *.split]
EDT has quit [*.net *.split]
Davey has quit [*.net *.split]
zack6849 has quit [*.net *.split]
cibs has quit [*.net *.split]
voxxit has quit [*.net *.split]
fullstack has quit [*.net *.split]
zeroDi has quit [*.net *.split]
dyjakan has quit [*.net *.split]
ziprar has quit [*.net *.split]
firstdayonthejob has quit [*.net *.split]
lxsameer has quit [*.net *.split]
LuckyABA has quit [*.net *.split]
tmtwd has quit [*.net *.split]
millerti has quit [*.net *.split]
sdothum has quit [*.net *.split]
Emmanuel_Chanel has quit [*.net *.split]
Immune has quit [*.net *.split]
kegster has quit [*.net *.split]
claw has quit [*.net *.split]
elifoster has quit [*.net *.split]
jwl has quit [*.net *.split]
moneylotion_ has quit [*.net *.split]
noodle has quit [*.net *.split]
axisys has quit [*.net *.split]
Rasi has quit [*.net *.split]
BTRE has quit [*.net *.split]
madsa has quit [*.net *.split]
Morrolan has quit [*.net *.split]
oz has quit [*.net *.split]
cgfbee has quit [*.net *.split]
scorphus has quit [*.net *.split]
YaknotiS has quit [*.net *.split]
aep has quit [*.net *.split]
Scient has quit [*.net *.split]
machty has quit [*.net *.split]
_br__ has quit [*.net *.split]
epitron has quit [*.net *.split]
erlingur has quit [*.net *.split]
kerframil has quit [*.net *.split]
dviola has quit [*.net *.split]
ramortegui has quit [*.net *.split]
AnoHito has quit [*.net *.split]
qguv has quit [*.net *.split]
gix has quit [*.net *.split]
guacamole has quit [*.net *.split]
connor_goodwolf has quit [*.net *.split]
kspencer has quit [*.net *.split]
tristanp has quit [*.net *.split]
ratatine has quit [*.net *.split]
poikon has quit [*.net *.split]
matp has quit [*.net *.split]
cj has quit [*.net *.split]
wldcordeiro has quit [*.net *.split]
greister has quit [*.net *.split]
knight_ has quit [*.net *.split]
ohcibi has quit [*.net *.split]
pragmatism has quit [*.net *.split]
krasnus has quit [*.net *.split]
heyimwill has quit [*.net *.split]
vedu has quit [*.net *.split]
Hobbyboy has quit [*.net *.split]
soahccc has quit [*.net *.split]
mitsuhiko has quit [*.net *.split]
nemesit|znc has quit [*.net *.split]
lele has quit [*.net *.split]
rprimus has quit [*.net *.split]
helpa has quit [*.net *.split]
djbkd has quit [*.net *.split]
humd1ng3r has quit [*.net *.split]
quoboo has quit [*.net *.split]
miah has quit [*.net *.split]
P1ro has quit [*.net *.split]
robnester has quit [*.net *.split]
drPoggs has quit [*.net *.split]
mrsolo has quit [*.net *.split]
rann has quit [*.net *.split]
bove has quit [*.net *.split]
Lightsword has quit [*.net *.split]
quiller has quit [*.net *.split]
jhill has quit [*.net *.split]
ckrailo has quit [*.net *.split]
MrBloo has quit [*.net *.split]
rfv has quit [*.net *.split]
avdi has quit [*.net *.split]
bestie has quit [*.net *.split]
Zarthus has quit [*.net *.split]
Fetch has quit [*.net *.split]
nitrix has quit [*.net *.split]
bazzy has quit [*.net *.split]
CrazyEddy has quit [*.net *.split]
ken_barber has quit [*.net *.split]
vircung has quit [*.net *.split]
AphelionZ has quit [*.net *.split]
jlyndon has quit [*.net *.split]
discopatrick has quit [*.net *.split]
ELCALOR has quit [*.net *.split]
jabreity has quit [*.net *.split]
olivierjanss has quit [*.net *.split]
shelling__ has quit [*.net *.split]
lipoqil has quit [*.net *.split]
im0b has quit [*.net *.split]
Hates_ has quit [*.net *.split]
incomprehensibly has quit [*.net *.split]
bcavileer has quit [*.net *.split]
mjc_ has quit [*.net *.split]
pizzaops has quit [*.net *.split]
cardoni has quit [*.net *.split]
davidmichaelkarr has quit [*.net *.split]
the-eat-scout has quit [*.net *.split]
charles81 has quit [*.net *.split]
daemonwrangler has quit [*.net *.split]
gremax has quit [*.net *.split]
jimeh has quit [*.net *.split]
hlieberman has quit [*.net *.split]
bathtub_shark has quit [*.net *.split]
maxmanders has quit [*.net *.split]
ozzloy has quit [*.net *.split]
kaspergrubbe has quit [*.net *.split]
joevandyk has quit [*.net *.split]
crayfishx has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
AKPWD has quit [*.net *.split]
Guest92408 has quit [*.net *.split]
Apocalypse has quit [*.net *.split]
NET||abuse has quit [*.net *.split]
Guest87677 has quit [*.net *.split]
bodgix has quit [*.net *.split]
ElderFain has quit [*.net *.split]
queequeg1 has quit [*.net *.split]
G has quit [*.net *.split]
nekomune_ has quit [*.net *.split]
cb has quit [*.net *.split]
canton7 has quit [*.net *.split]
badeball has quit [*.net *.split]
blackpioter has quit [*.net *.split]
FifthWall has quit [*.net *.split]
ineb has quit [*.net *.split]
aspiers has quit [*.net *.split]
Guest85411 has quit [*.net *.split]
electrostat has quit [*.net *.split]
xaxisx has quit [*.net *.split]
Canucktux has quit [*.net *.split]
ramblinpeck has quit [*.net *.split]
marienz has quit [*.net *.split]
hightower4 has quit [*.net *.split]
SegFaultAX has quit [*.net *.split]
[dmp] has quit [*.net *.split]
RushPL has quit [*.net *.split]
contradictioned_ has quit [*.net *.split]
Voker57 has quit [*.net *.split]
boshhead has quit [*.net *.split]
sjums has quit [*.net *.split]
juanfra has quit [*.net *.split]
deepak_ has quit [*.net *.split]
kapowaz has quit [*.net *.split]
greenhat_ has quit [*.net *.split]
mrfooo has quit [*.net *.split]
icedp has quit [*.net *.split]
trajing has quit [*.net *.split]
bier_ has quit [*.net *.split]
KrzaQ has quit [*.net *.split]
C0deMaver1ck has quit [*.net *.split]
Todd has quit [*.net *.split]
xsdg has quit [*.net *.split]
shadeslayer has quit [*.net *.split]
erlend has quit [*.net *.split]
audibleblink has quit [*.net *.split]
gf3 has quit [*.net *.split]
_ht has quit [*.net *.split]
nankyokusei has quit [*.net *.split]
nocd has quit [*.net *.split]
Asher has quit [*.net *.split]
ramfjord has quit [*.net *.split]
AlexRussia has quit [*.net *.split]
gingray has quit [*.net *.split]
optiz0r has quit [*.net *.split]
face has quit [*.net *.split]
ChiefAlexander has quit [*.net *.split]
yeticry has quit [*.net *.split]
xcesariox has quit [*.net *.split]
eljimmy has quit [*.net *.split]
aesthetikx has quit [*.net *.split]
zenguy_pc has quit [*.net *.split]
icey has quit [*.net *.split]
lel has quit [*.net *.split]
Guest21095 has quit [*.net *.split]
pocketprotector has quit [*.net *.split]
rubirc has quit [*.net *.split]
twistedpixels has quit [*.net *.split]
hirvi has quit [*.net *.split]
papercode has quit [*.net *.split]
DEac- has quit [*.net *.split]
Guest68096 has quit [*.net *.split]
nirix has quit [*.net *.split]
pavelz has quit [*.net *.split]
aibot_ has quit [*.net *.split]
brucebag has quit [*.net *.split]
constantinexvi has quit [*.net *.split]
isomorphismes has quit [*.net *.split]
kmckelvin has quit [*.net *.split]
valkyr1e has quit [*.net *.split]
clamstar has quit [*.net *.split]
mmasaki has quit [*.net *.split]
Helheim has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
blingrang has quit [*.net *.split]
joconcepts has quit [*.net *.split]
donnoc has quit [*.net *.split]
abort has quit [*.net *.split]
shaman42 has quit [*.net *.split]
fold4 has quit [*.net *.split]
soud has quit [*.net *.split]
chridal has quit [*.net *.split]
psmolen has quit [*.net *.split]
ghr has quit [*.net *.split]
tjvc has quit [*.net *.split]
inukshuk has quit [*.net *.split]
raz has quit [*.net *.split]
rideh has quit [*.net *.split]
kenichi has quit [*.net *.split]
dmarr has quit [*.net *.split]
hightower3 has quit [*.net *.split]
chee has quit [*.net *.split]
ruurd has quit [*.net *.split]
strongcode has quit [*.net *.split]
scottalan has quit [*.net *.split]
Luna_Moonfang has quit [*.net *.split]
atom3 has quit [*.net *.split]
freedrull has quit [*.net *.split]
Kuukunen has quit [*.net *.split]
sirecote has quit [*.net *.split]
devyn has quit [*.net *.split]
funnel has quit [*.net *.split]
Karunamon has quit [*.net *.split]
destructure has quit [*.net *.split]
angseus has quit [*.net *.split]
ryotarai has quit [*.net *.split]
mattp_ has quit [*.net *.split]
moufl has quit [*.net *.split]
sunya7a has quit [*.net *.split]
jasondotstar has quit [*.net *.split]
JoshL has quit [*.net *.split]
chazu has quit [*.net *.split]
ledestin has quit [*.net *.split]
DarthGandalf has quit [*.net *.split]
dmtd has quit [*.net *.split]
ur5us has quit [*.net *.split]
DoubleMalt has quit [*.net *.split]
sdwrage has quit [*.net *.split]
diamonds has quit [*.net *.split]
jblack has quit [*.net *.split]
zapata has quit [*.net *.split]
RobertBirnie has quit [*.net *.split]
A124 has quit [*.net *.split]
chris2 has quit [*.net *.split]
AndyBotwin has quit [*.net *.split]
DuoSRX has quit [*.net *.split]
greylevel has quit [*.net *.split]
ghostlight has quit [*.net *.split]
polishdub has quit [*.net *.split]
csk has quit [*.net *.split]
jrafanie has quit [*.net *.split]
Guest28265 has quit [*.net *.split]
hanmac has quit [*.net *.split]
gnufied has quit [*.net *.split]
Jamo has quit [*.net *.split]
devil_tux has quit [*.net *.split]
Caelum has quit [*.net *.split]
moos3 has quit [*.net *.split]
lucast has quit [*.net *.split]
mozzarella has quit [*.net *.split]
renderful has quit [*.net *.split]
AndrewIsHere has quit [*.net *.split]
nedbat has quit [*.net *.split]
yokel has quit [*.net *.split]
blackjid has quit [*.net *.split]
nebg has quit [*.net *.split]
ewilliam has quit [*.net *.split]
manveru has quit [*.net *.split]
seggy has quit [*.net *.split]
gigetoo has quit [*.net *.split]
segmond has quit [*.net *.split]
[spoiler] has quit [*.net *.split]
nug has quit [*.net *.split]
biox has quit [*.net *.split]
catbusters has quit [*.net *.split]
jhass has quit [*.net *.split]
beawesomeinstead has quit [*.net *.split]
NightMonkey has quit [*.net *.split]
hammond has quit [*.net *.split]
tekacs has quit [*.net *.split]
iooner has quit [*.net *.split]
tpendragon has quit [*.net *.split]
beatdown has quit [*.net *.split]
tylersmith has quit [*.net *.split]
epochwolf has quit [*.net *.split]
cschneid has quit [*.net *.split]
ec has quit [*.net *.split]
andersh has quit [*.net *.split]
tfitts has quit [*.net *.split]
Y_Ichiro_ has quit [*.net *.split]
ggherdov has quit [*.net *.split]
jmcc____________ has quit [*.net *.split]
HashNuke has quit [*.net *.split]
boxrick1 has quit [*.net *.split]
twodayslate has quit [*.net *.split]
dukedave has quit [*.net *.split]
AdamMeghji__ has quit [*.net *.split]
iamdevnul has quit [*.net *.split]
mroth has quit [*.net *.split]
alxndr has quit [*.net *.split]
Lewix has quit [*.net *.split]
daxroc has quit [*.net *.split]
sent-hil has quit [*.net *.split]
aarongodin has quit [*.net *.split]
pmarreck has quit [*.net *.split]
vcoinminer has quit [*.net *.split]
ijij has quit [*.net *.split]
digitalfiz has quit [*.net *.split]
Travis-42 has quit [*.net *.split]
pfg has quit [*.net *.split]
hays has quit [*.net *.split]
j416 has quit [*.net *.split]
jyaworski has quit [*.net *.split]
WebDawg has quit [*.net *.split]
shiver has quit [*.net *.split]
p1k has quit [*.net *.split]
spk has quit [*.net *.split]
ndrst has quit [*.net *.split]
DarkBushido has quit [*.net *.split]
jolamb has quit [*.net *.split]
mburns has quit [*.net *.split]
ghormoon has quit [*.net *.split]
adam12 has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
piotrj_ has quit [*.net *.split]
nfsnobody has quit [*.net *.split]
StoBrendo has quit [*.net *.split]
nexace has quit [*.net *.split]
Yxhuvud has quit [*.net *.split]
Drakevr has quit [*.net *.split]
bhaak has quit [*.net *.split]
edwardly has quit [*.net *.split]
samuelkadolph has quit [*.net *.split]
spastorino has quit [*.net *.split]
jonathanwallace has quit [*.net *.split]
orangey has quit [*.net *.split]
ajaiswal has quit [*.net *.split]
SuperTux88 has quit [*.net *.split]
Muz has quit [*.net *.split]
jtdowney has quit [*.net *.split]
Nilium has quit [*.net *.split]
exchgr has quit [*.net *.split]
jokke has quit [*.net *.split]
PhishPhood has quit [*.net *.split]
daemoen has quit [*.net *.split]
Tele has quit [*.net *.split]
croberts has quit [*.net *.split]
MadWasp has quit [*.net *.split]
rheddry has quit [*.net *.split]
despai has joined #ruby
<eam> q is quote, w is word
helpa has joined #ruby
<eam> x is execute
<eam> s is symbol
shmulik has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<eam> r is regexp
<baweaver> i is also symbol for some reason
xemehc has joined #ruby
miah has joined #ruby
cj has joined #ruby
quoboo has joined #ruby
lipoqil has joined #ruby
krasnus has joined #ruby
AnoHito has joined #ruby
bodgix has joined #ruby
mrsolo has joined #ruby
daemonwrangler has joined #ruby
the-eat-scout has joined #ruby
Hates_ has joined #ruby
im0b has joined #ruby
bathtub_shark has joined #ruby
maxmanders has joined #ruby
hlieberman has joined #ruby
ramblinpeck has joined #ruby
tristanp has joined #ruby
Canucktux has joined #ruby
Guest85411 has joined #ruby
ckrailo has joined #ruby
marienz has joined #ruby
jabreity has joined #ruby
ozzloy has joined #ruby
ken_barber has joined #ruby
CrazyEddy has joined #ruby
Voker57 has joined #ruby
FifthWall has joined #ruby
wldcordeiro has joined #ruby
RushPL has joined #ruby
bcavileer has joined #ruby
Guest92408 has joined #ruby
heyimwill has joined #ruby
jhill has joined #ruby
badeball has joined #ruby
[dmp] has joined #ruby
Apocalypse has joined #ruby
dviola has joined #ruby
soahccc has joined #ruby
bestie has joined #ruby
vircung has joined #ruby
erlingur has joined #ruby
jlyndon has joined #ruby
NET||abuse has joined #ruby
guacamole has joined #ruby
ineb has joined #ruby
aspiers has joined #ruby
poikon has joined #ruby
rprimus has joined #ruby
Guest87677 has joined #ruby
cb has joined #ruby
nemesit|znc has joined #ruby
greister has joined #ruby
AphelionZ has joined #ruby
mitsuhiko has joined #ruby
crayfishx has joined #ruby
blackpioter has joined #ruby
vedu has joined #ruby
hightower4 has joined #ruby
robnester has joined #ruby
kaspergrubbe has joined #ruby
matp has joined #ruby
queequeg1 has joined #ruby
discopatrick has joined #ruby
Lightsword has joined #ruby
humd1ng3r has joined #ruby
qguv has joined #ruby
canton7 has joined #ruby
kerframil has joined #ruby
nitrix has joined #ruby
jimeh has joined #ruby
quiller has joined #ruby
djbkd has joined #ruby
cardoni has joined #ruby
Fetch has joined #ruby
P1ro has joined #ruby
pizzaops has joined #ruby
mjc_ has joined #ruby
boshhead has joined #ruby
bazzy has joined #ruby
pragmatism has joined #ruby
icedp has joined #ruby
connor_goodwolf has joined #ruby
gremax has joined #ruby
rfv has joined #ruby
AKPWD has joined #ruby
contradictioned_ has joined #ruby
Hobbyboy has joined #ruby
ramortegui has joined #ruby
rann has joined #ruby
sjums has joined #ruby
ruby[bot] has joined #ruby
electrostat has joined #ruby
incomprehensibly has joined #ruby
gix has joined #ruby
shelling__ has joined #ruby
charles81 has joined #ruby
joevandyk has joined #ruby
davidmichaelkarr has joined #ruby
ElderFain has joined #ruby
SegFaultAX has joined #ruby
olivierjanss has joined #ruby
bove has joined #ruby
lele has joined #ruby
Zarthus has joined #ruby
drPoggs has joined #ruby
xaxisx has joined #ruby
nekomune_ has joined #ruby
MrBloo has joined #ruby
avdi has joined #ruby
ohcibi has joined #ruby
ratatine has joined #ruby
G has joined #ruby
michael_mbp has joined #ruby
kspencer has joined #ruby
ELCALOR has joined #ruby
knight_ has joined #ruby
deepak_ has joined #ruby
juanfra has joined #ruby
kapowaz has joined #ruby
greenhat_ has joined #ruby
mrfooo has joined #ruby
bier_ has joined #ruby
trajing has joined #ruby
erlend has joined #ruby
nocd has joined #ruby
C0deMaver1ck has joined #ruby
audibleblink has joined #ruby
xsdg has joined #ruby
_ht has joined #ruby
gf3 has joined #ruby
shadeslayer has joined #ruby
KrzaQ has joined #ruby
Todd has joined #ruby
Rasi has joined #ruby
<baweaver> Q is double quote
<eam> these are all directly inherited from perl, btw
<baweaver> irc went boom
StoBrendo has joined #ruby
zrl has quit [Ping timeout: 245 seconds]
imanc has quit [Ping timeout: 245 seconds]
jwheare has quit [Ping timeout: 245 seconds]
shmulik has joined #ruby
cstrahan has quit [Ping timeout: 248 seconds]
caw has quit [Ping timeout: 248 seconds]
rann has quit [Max SendQ exceeded]
bathtub_shark has quit [Max SendQ exceeded]
bove has quit [Max SendQ exceeded]
pizzaops has quit [Max SendQ exceeded]
rfv has quit [Max SendQ exceeded]
jlyndon has quit [Max SendQ exceeded]
AphelionZ has quit [Max SendQ exceeded]
ELCALOR has quit [Max SendQ exceeded]
davidmichaelkarr has quit [Max SendQ exceeded]
jhill has quit [Max SendQ exceeded]
discopatrick has quit [Max SendQ exceeded]
lancetw has quit [Ping timeout: 240 seconds]
<baweaver> massive netsplit
techntoke has quit [Ping timeout: 264 seconds]
Iacobus has quit [Ping timeout: 264 seconds]
zero7 has quit [Ping timeout: 264 seconds]
skmp has quit [Ping timeout: 264 seconds]
peteretep has quit [Ping timeout: 244 seconds]
chelly has quit [Ping timeout: 250 seconds]
yo61 has quit [Ping timeout: 250 seconds]
jimcroft has quit [Ping timeout: 250 seconds]
JackMc has quit [Ping timeout: 248 seconds]
[diecast] has quit [Ping timeout: 272 seconds]
deimos has quit [Ping timeout: 272 seconds]
Majost has quit [Ping timeout: 265 seconds]
kireevco has quit [Ping timeout: 250 seconds]
wsmoak has quit [Ping timeout: 250 seconds]
Lloyd has quit [Ping timeout: 250 seconds]
mtkd has quit [Ping timeout: 244 seconds]
Guest17253 has joined #ruby
jcp has quit [Ping timeout: 248 seconds]
hays has joined #ruby
chris2 has joined #ruby
jblack has joined #ruby
sdwrage has joined #ruby
DoubleMalt has joined #ruby
A124 has joined #ruby
AndyBotwin has joined #ruby
zapata has joined #ruby
csk has joined #ruby
ur5us has joined #ruby
DarthGandalf has joined #ruby
RobertBirnie has joined #ruby
polishdub has joined #ruby
greylevel has joined #ruby
hanmac has joined #ruby
Guest28265 has joined #ruby
jrafanie has joined #ruby
gnufied has joined #ruby
Jamo has joined #ruby
devil_tux has joined #ruby
ledestin has joined #ruby
renderful has joined #ruby
AndrewIsHere has joined #ruby
blackjid has joined #ruby
nedbat has joined #ruby
moos3 has joined #ruby
SuperTux88 has joined #ruby
lucast has joined #ruby
orangey has joined #ruby
Muz has joined #ruby
DarkBushido has joined #ruby
cschneid has joined #ruby
seggy has joined #ruby
digitalfiz has joined #ruby
manveru has joined #ruby
NightMonkey has joined #ruby
iooner has joined #ruby
boxrick1 has joined #ruby
samuelkadolph has joined #ruby
jonathanwallace has joined #ruby
Drakevr has joined #ruby
spk has joined #ruby
j416 has joined #ruby
PhishPhood has joined #ruby
jtdowney has joined #ruby
aarongodin has joined #ruby
epochwolf has joined #ruby
beatdown has joined #ruby
nug has joined #ruby
WebDawg has joined #ruby
segmond has joined #ruby
pfg has joined #ruby
nexace has joined #ruby
yokel has joined #ruby
croberts has joined #ruby
beawesomeinstead has joined #ruby
tpendragon has joined #ruby
ndrst has joined #ruby
piotrj_ has joined #ruby
shiver has joined #ruby
sent-hil has joined #ruby
Nilium has joined #ruby
edwardly has joined #ruby
MadWasp has joined #ruby
daxroc has joined #ruby
spastorino has joined #ruby
catbusters has joined #ruby
bhaak has joined #ruby
nfsnobody has joined #ruby
ajaiswal has joined #ruby
jolamb has joined #ruby
vcoinminer has joined #ruby
jhass has joined #ruby
hammond has joined #ruby
Tele has joined #ruby
ijij has joined #ruby
pmarreck has joined #ruby
ghormoon has joined #ruby
nebg has joined #ruby
gigetoo has joined #ruby
exchgr has joined #ruby
[spoiler] has joined #ruby
mburns has joined #ruby
biox has joined #ruby
Y_Ichiro_ has joined #ruby
tylersmith has joined #ruby
Kilo`byte has joined #ruby
daemoen has joined #ruby
jyaworski has joined #ruby
jokke has joined #ruby
rheddry has joined #ruby
Yxhuvud has joined #ruby
tekacs has joined #ruby
mozzarella has joined #ruby
p1k has joined #ruby
jmcc____________ has joined #ruby
adam12 has joined #ruby
Caelum has joined #ruby
zipkid has quit [Ping timeout: 244 seconds]
Guest17253 has quit [Client Quit]
jxf has quit [Ping timeout: 265 seconds]
Expanse has quit [Ping timeout: 265 seconds]
rflot has quit [Ping timeout: 265 seconds]
hays has joined #ruby
hays has quit [Changing host]
<eam> I always use perldoc for ruby syntax :^)
danzilio has quit [Ping timeout: 250 seconds]
sylario has quit [Ping timeout: 250 seconds]
colstrom has quit [Ping timeout: 250 seconds]
mitsuhiko has quit [Ping timeout: 252 seconds]
quoboo has quit [Ping timeout: 252 seconds]
mrsolo has quit [Ping timeout: 252 seconds]
MrBloo has quit [Ping timeout: 252 seconds]
avdi has quit [Ping timeout: 252 seconds]
jabreity has quit [Ping timeout: 252 seconds]
olivierjanss has quit [Ping timeout: 252 seconds]
shelling__ has quit [Ping timeout: 252 seconds]
lipoqil has quit [Ping timeout: 252 seconds]
incomprehensibly has quit [Ping timeout: 252 seconds]
Hates_ has quit [Ping timeout: 252 seconds]
im0b has quit [Ping timeout: 252 seconds]
bcavileer has quit [Ping timeout: 252 seconds]
mjc_ has quit [Ping timeout: 252 seconds]
cardoni has quit [Ping timeout: 252 seconds]
charles81 has quit [Ping timeout: 252 seconds]
daemonwrangler has quit [Ping timeout: 252 seconds]
jimeh has quit [Ping timeout: 252 seconds]
hlieberman has quit [Ping timeout: 252 seconds]
c0mrad3 has quit [Ping timeout: 272 seconds]
dviola has joined #ruby
Tony-St4rk has quit [Ping timeout: 250 seconds]
dviola has quit [Changing host]
jmcc____________ has quit [Ping timeout: 255 seconds]
boxrick1 has quit [Ping timeout: 255 seconds]
daxroc has quit [Ping timeout: 255 seconds]
vcoinminer has quit [Ping timeout: 255 seconds]
digitalfiz has quit [Ping timeout: 255 seconds]
pfg has quit [Ping timeout: 255 seconds]
GinoManWorks has joined #ruby
blackmesa has joined #ruby
mikecmpbll has joined #ruby
sp4rrow has joined #ruby
amclain has joined #ruby
replay has joined #ruby
Dimik has joined #ruby
rlex has joined #ruby
[k- has joined #ruby
emersonian has joined #ruby
Helheim has joined #ruby
Silthias1 has joined #ruby
M-manveru has joined #ruby
jmignault has joined #ruby
Mia has joined #ruby
elastix has joined #ruby
pabs has joined #ruby
jud has joined #ruby
eljimador has joined #ruby
wlanboy has joined #ruby
justinmcp has joined #ruby
Technodrome has joined #ruby
jpterry has joined #ruby
Liothen has joined #ruby
m4rCsi has joined #ruby
devster31 has joined #ruby
swartzcr has joined #ruby
cevett has joined #ruby
EDT has joined #ruby
Davey has joined #ruby
\13k has joined #ruby
x0f has joined #ruby
Eleeleth has quit [Ping timeout: 250 seconds]
halfdan has quit [Ping timeout: 250 seconds]
despai has quit [Client Quit]
ramortegui has quit [Remote host closed the connection]
fullstack has joined #ruby
zack6849 has joined #ruby
cibs has joined #ruby
pmarreck has quit [Ping timeout: 255 seconds]
ijij has quit [Ping timeout: 255 seconds]
spastorino has quit [Ping timeout: 255 seconds]
ziprar has joined #ruby
firstdayonthejob has joined #ruby
LuckyABA has joined #ruby
lxsameer has joined #ruby
Immune has joined #ruby
Emmanuel_Chanel has joined #ruby
dyjakan has joined #ruby
sdothum has joined #ruby
zeroDi has joined #ruby
kegster has joined #ruby
tmtwd has joined #ruby
millerti has joined #ruby
jwl has joined #ruby
claw has joined #ruby
BTRE has joined #ruby
axisys has joined #ruby
noodle has joined #ruby
madsa has joined #ruby
moneylotion_ has joined #ruby
Morrolan has joined #ruby
elifoster has joined #ruby
cgfbee has joined #ruby
oz has joined #ruby
scorphus has joined #ruby
YaknotiS has joined #ruby
Scient has joined #ruby
aep has joined #ruby
epitron has joined #ruby
_br__ has joined #ruby
bathtub_shark has joined #ruby
AndyWojo has quit [Ping timeout: 250 seconds]
c355e3b has quit [Ping timeout: 265 seconds]
ramblinpeck has quit [Ping timeout: 248 seconds]
kapowaz has quit [Ping timeout: 248 seconds]
yokel has quit [Max SendQ exceeded]
hays has quit [Max SendQ exceeded]
<_sfiguser> how can i find docs about amethod in irb ?
hays has joined #ruby
<_sfiguser> or by cli ?
<_sfiguser> i want to know what does "select" does
<_sfiguser> *dp
<_sfiguser> *do
yokel has joined #ruby
flopsec has joined #ruby
cgfbee has quit [Max SendQ exceeded]
griffindy has joined #ruby
Ariadeno has joined #ruby
gingray has joined #ruby
AlexRussia has joined #ruby
ramfjord has joined #ruby
optiz0r has joined #ruby
ChiefAlexander has joined #ruby
xcesariox has joined #ruby
face has joined #ruby
Asher has joined #ruby
yeticry has joined #ruby
aesthetikx has joined #ruby
eljimmy has joined #ruby
zenguy_pc has joined #ruby
nankyokusei has joined #ruby
icey has joined #ruby
rubirc has joined #ruby
twistedpixels has joined #ruby
hirvi has joined #ruby
pocketprotector has joined #ruby
Guest21095 has joined #ruby
nirix has joined #ruby
dmarr has joined #ruby
Guest68096 has joined #ruby
pavelz has joined #ruby
aibot_ has joined #ruby
raz has joined #ruby
destructure has joined #ruby
fold4 has joined #ruby
mattp_ has joined #ruby
chee has joined #ruby
donnoc has joined #ruby
joconcepts has joined #ruby
Kuukunen has joined #ruby
psmolen has joined #ruby
isomorphismes has joined #ruby
rideh has joined #ruby
funnel has joined #ruby
soud has joined #ruby
ghr has joined #ruby
devyn has joined #ruby
tjvc has joined #ruby
chridal has joined #ruby
valkyr1e has joined #ruby
shaman42 has joined #ruby
Luna_Moonfang has joined #ruby
strongcode has joined #ruby
sunya7a has joined #ruby
ryotarai has joined #ruby
clamstar has joined #ruby
inukshuk has joined #ruby
papercode has joined #ruby
mmasaki has joined #ruby
scottalan has joined #ruby
atom3 has joined #ruby
abort has joined #ruby
jasondotstar has joined #ruby
sirecote has joined #ruby
thejoecarroll has joined #ruby
kenichi has joined #ruby
angseus has joined #ruby
blingrang has joined #ruby
JoshL has joined #ruby
Karunamon has joined #ruby
constantinexvi has joined #ruby
DEac- has joined #ruby
freedrull has joined #ruby
moufl has joined #ruby
brucebag has joined #ruby
ruurd has joined #ruby
hightower3 has joined #ruby
chazu has joined #ruby
Sp4rKy has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
donnoc has quit [Max SendQ exceeded]
Guest68096 has quit [Max SendQ exceeded]
AlexRussia has quit [Max SendQ exceeded]
yeticry has quit [Max SendQ exceeded]
funnel has quit [Max SendQ exceeded]
fold4 has quit [Max SendQ exceeded]
Guest21095 has quit [Max SendQ exceeded]
Omni has joined #ruby
mtkd has joined #ruby
Ariadeno is now known as Guest56437
AlexRussia has joined #ruby
funnel_ has joined #ruby
Omni is now known as Guest85283
JRajamaa has joined #ruby
funnel_ is now known as funnel
nitric has quit [Ping timeout: 276 seconds]
manveru has quit [Ping timeout: 255 seconds]
fold4 has joined #ruby
Ferdroid has joined #ruby
donnoc_ has joined #ruby
tubuliferous_ has quit [Ping timeout: 244 seconds]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ckrailo has quit [Ping timeout: 265 seconds]
deepak_ has quit [Ping timeout: 265 seconds]
voxxit has joined #ruby
Ferdroid has quit [Client Quit]
nitric has joined #ruby
cgfbee has joined #ruby
Expanse has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> _sfiguser: in your shell, use ri. e.g. `ri Enumerable#select`
yeticry has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
skmp has joined #ruby
<baweaver> &ri Enumerable#select
<baweaver> or just go to the docs site
MrBloo has joined #ruby
daxroc has joined #ruby
ggherdov has joined #ruby
moos3 has quit [Ping timeout: 255 seconds]
hahuang61 has joined #ruby
AphelionZ has joined #ruby
jwheare has joined #ruby
shazaum_ has joined #ruby
erlingur has quit [Ping timeout: 265 seconds]
jimcroft has joined #ruby
Lloyd has joined #ruby
spastorino has joined #ruby
AdamMeghji__ has joined #ruby
peteretep has joined #ruby
MissionCritical has joined #ruby
sylario has joined #ruby
olivierjanss has joined #ruby
Majost has joined #ruby
chelly has joined #ruby
avdi has joined #ruby
Tony-St4rk has joined #ruby
kireevco has joined #ruby
erlingur has joined #ruby
danzilio has joined #ruby
zipkid has joined #ruby
nikivi has joined #ruby
c0mrad3 has joined #ruby
nofxx has quit [Remote host closed the connection]
jlyndon has joined #ruby
discopatrick has joined #ruby
machinewar has quit []
Iacobus has joined #ruby
rflot has joined #ruby
alxndr has joined #ruby
halfdan has joined #ruby
zrl has joined #ruby
whathappens has joined #ruby
c355e3b has joined #ruby
jphase_ has joined #ruby
im0b has joined #ruby
malconis has joined #ruby
Travis-42 has joined #ruby
wsmoak has joined #ruby
cstrahan has joined #ruby
duderonomy has joined #ruby
machty has joined #ruby
JRajamaa has quit [Quit: Konversation terminated!]
ckrailo has joined #ruby
cardoni has joined #ruby
ewilliam has joined #ruby
jxf has joined #ruby
colstrom has joined #ruby
JRajamaa has joined #ruby
jottr has joined #ruby
jphase has quit [Ping timeout: 244 seconds]
zero7 has joined #ruby
ramblinpeck has joined #ruby
pmarreck has joined #ruby
lancetw has joined #ruby
Eleeleth has joined #ruby
skweek has joined #ruby
xemehc has quit [Quit: ZZZzzz…]
kmckelvin has joined #ruby
iamdevnul has joined #ruby
tomchapin has joined #ruby
SeepingN has quit [Disconnected by services]
tomchapin has quit [Client Quit]
lightstalker has joined #ruby
SeepingN_ has joined #ruby
banisterfiend has joined #ruby
hahuang62 has joined #ruby
jcp has joined #ruby
jphase_ has quit [Ping timeout: 272 seconds]
erlingur has quit [Ping timeout: 260 seconds]
prawnzy has quit [Remote host closed the connection]
twodayslate has joined #ruby
deimos has joined #ruby
DuoSRX has joined #ruby
imanc has joined #ruby
quoboo has joined #ruby
hahuang61 has quit [Ping timeout: 264 seconds]
gingray has quit [Ping timeout: 240 seconds]
whathappens has quit [Quit: Leaving...]
hobodave has quit [Ping timeout: 244 seconds]
caw has joined #ruby
manveru has joined #ruby
wethu has joined #ruby
dmtd has joined #ruby
mitsuhiko has joined #ruby
nikivi has quit [Quit: irc]
dn5 has quit [Ping timeout: 248 seconds]
[Butch] has quit [Quit: I'm out . . .]
hahuang62 has quit [Read error: Connection reset by peer]
techntoke has joined #ruby
rann has joined #ruby
kapowaz has joined #ruby
hutch34_ has joined #ruby
Lewix has joined #ruby
AndyWojo has joined #ruby
aegis3121 has quit [Ping timeout: 265 seconds]
mroth has joined #ruby
boxrick1 has joined #ruby
ELCALOR has joined #ruby
deepak_ has joined #ruby
tfitts has joined #ruby
dn5 has joined #ruby
c0mrad3 has quit [Quit: Connection closed for inactivity]
jhill has joined #ruby
mjc_ has joined #ruby
daemonwrangler has joined #ruby
bove has joined #ruby
DoubleMalt has quit [Ping timeout: 255 seconds]
ChiefAlexander has quit [Remote host closed the connection]
incomprehensibly has joined #ruby
ec has joined #ruby
jabreity has joined #ruby
yo61 has joined #ruby
redpants has joined #ruby
jmcc____________ has joined #ruby
JRajamaa has quit [Quit: Konversation terminated!]
HashNuke has joined #ruby
Rajamaa has joined #ruby
jimeh has joined #ruby
[diecast] has joined #ruby
davidmichaelkarr has joined #ruby
shelling__ has joined #ruby
Rufus has joined #ruby
Hates_ has joined #ruby
hahuang61 has joined #ruby
ijij has joined #ruby
digitalfiz has joined #ruby
JackMc has joined #ruby
rfv has joined #ruby
bcavileer has joined #ruby
mrsolo has joined #ruby
pizzaops has joined #ruby
pfg has joined #ruby
hlieberman has joined #ruby
RobertBirnie has quit [Ping timeout: 255 seconds]
andersh has joined #ruby
dukedave has joined #ruby
vcoinminer has joined #ruby
LemonJuice has joined #ruby
Rajamaa has quit [Client Quit]
charles81 has joined #ruby
grh has quit [Ping timeout: 244 seconds]
lipoqil has joined #ruby
Rajamaa has joined #ruby
borodin has joined #ruby
elastix has quit [Quit: elastix]
RobertBirnie has joined #ruby
Rajamaa has quit [Client Quit]
Rajamaa has joined #ruby
SeepingN_ has quit [Read error: Connection reset by peer]
SeepingN has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Technodrome has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 244 seconds]
nankyokusei has quit [Remote host closed the connection]
garethrees has joined #ruby
garethrees has quit [Client Quit]
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
shazaum_ has quit [Quit: This computer has gone to sleep]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
aryaching has joined #ruby
fullofcaffeine has joined #ruby
Wizznt has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Technodrome has joined #ruby
[k- has quit [Quit: -a- IRC for Android 2.1.32]
Wazznt has joined #ruby
Devalo has joined #ruby
kitikonti has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
crdpink has quit [Quit: q term]
biberu has quit []
polishdub has quit [Quit: Leaving]
airdisa has quit []
Rajamaa has quit [Quit: Konversation terminated!]
airdisa has joined #ruby
jphase has joined #ruby
Devalo has quit [Ping timeout: 240 seconds]
LemonJuice has quit [Quit: Leaving]
symm- has quit [Ping timeout: 265 seconds]
Wazznt has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
crdpink has joined #ruby
Wizznt has joined #ruby
<_sfiguser> which is the fastest way to sum up all the values in an array ?
symm- has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
symm- has quit [Client Quit]
<baweaver> _sfiguser: You might want to have a read through Eloquent Ruby
hutch34_ has quit [Ping timeout: 272 seconds]
<_sfiguser> baweaver, any idea ?
<baweaver> I know the answer, yes
<baweaver> but
<baweaver> you've been asking quite a few basic questions that are very quickly answered through either a search of google or reading a solid book on Ruby
<baweaver> and I'd be doing you no favors by answering all of them
<_sfiguser> baweaver, i'm actually reading Beginning Ruby, half of the book
<baweaver> What have you tried so far?
miqlas-H has joined #ruby
<_sfiguser> baweaver, i at the end used inject :)
<_sfiguser> baweaver, i started today with ruby ! It is fantastic!!! Icome from perl
<baweaver> I tend to use reduce myself, but that's just an alias.
<baweaver> &ri Enumerable
Azure|dc has joined #ruby
<baweaver> become familiar with that
<baweaver> a lot of what you're going to want to know will be in there.
Tempesta has joined #ruby
Azure has quit [Ping timeout: 265 seconds]
marxarelli is now known as marxarelli|afk
xlegoman has joined #ruby
maddmaxx has quit [Quit: Going offline, see ya! (www.adiirc.com)]
nando293921 has quit [Ping timeout: 265 seconds]
sonikspin has quit [Ping timeout: 244 seconds]
airdisa has quit []
elenatanasoiu has quit [Ping timeout: 244 seconds]
ResidentBiscuit has joined #ruby
firstdayonthejob has quit [Ping timeout: 260 seconds]
ResidentBiscuit has quit [Read error: Connection reset by peer]
jphase has quit []
ta_ has joined #ruby
elenatanasoiu has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
ResidentBiscuit has joined #ruby
marxarelli|afk is now known as marxarelli
pontiki has joined #ruby
elenatanasoiu has quit [Ping timeout: 260 seconds]
<postmodern> just to double check, FileUtils.ln_sf(dest,symlink) is the correct usage?
<postmodern> because i just got a Errno::EEXIST when calling ln_sf on a pre-existing symlink
<postmodern> one would expect ln_sf to replace the existing symlink with the new destination
JeanCarloMachado has joined #ruby
NGCS has joined #ruby
<baweaver> &ri FileUtils#ln_sf
<baweaver> ...
<baweaver> &ri FileUtils.ln_sf
Ishido has quit [Remote host closed the connection]
<baweaver> the documentation for ln_s is more comprehensive right above it.
cdg_ has joined #ruby
<NGCS> Hello ruby enthusiasts. I am trying to do a coding assignment, called test-first-ruby, and am on the calculator one. I am really stuck with the posted rspec test. https://gist.github.com/anonymous/29f5a52fa6c0aa5d7549c7fdae19e560
<baweaver> looks like most *nix docs mention an n flag too
<NGCS> I have included my code, and the test I'm struggling with. If anyone can help me make sesne of it?
<_sfiguser> what's the difference between a constant defined with "$my_const" and a constant defined with "My_Constant" ?
crdpink has quit [Remote host closed the connection]
<_sfiguser> i mean are those two equal ways of defining constants
<baweaver> no
<pontiki> the first is not a constant
<baweaver> one is a global variable
SteenJobs has joined #ruby
<pontiki> ^
<_sfiguser> ahh ok ok
<_sfiguser> mistook sorry7
<baweaver> NGCS: what problem are you having specifically
<baweaver> pontiki: leaving in ~5 minutes so might need you to take over on that one :P
<baweaver> meetings :(
cdg has quit [Ping timeout: 265 seconds]
<pontiki> seeya!
crdpink has joined #ruby
<pontiki> oh, not for fun, then
<NGCS> baweaver: I don't understand how this very last evaluation is supposed to come to the result it gives.
<baweaver> ha, I wish
cdg_ has quit [Ping timeout: 255 seconds]
<baweaver> you're making that pretty complicated
<baweaver> RPN can be solved in one line if you're not looking for errors.
<baweaver> did the teacher state that you need to catch them?
<NGCS> Do you think so? I'm trying to get into a coding bootcamp, and this is one of the required assignments for me..
<NGCS> Everything here has been self taught, so I am probably doing a lot of stuff stupidly.
Ebok has joined #ruby
rcvalle has quit [Quit: rcvalle]
ponga has joined #ruby
<pontiki> is the test passing or failing
<baweaver> if you're still at it whenever I get back, I'll go through it.
<Nilium> Neither. It's just saying it doesn't "feel like it right now, buddy"
<NGCS> It's failing. I'll keep at it..
SteenJobs has quit [Quit: SteenJobs]
Moosashi has joined #ruby
Moosashi has quit [Client Quit]
UserOO7 has joined #ruby
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pontiki> NGCS: what value is it giving?
<NGCS> 21
jphase has joined #ruby
bjh13 has quit [Remote host closed the connection]
miqlas-H has quit [Ping timeout: 240 seconds]
RobertBirnie has joined #ruby
<pontiki> alright, i'm going to suggest you drop byebug in evaluate's while loop and check to see what's actually happinging inside it. this is going to give you greatest insight for debugging
miqlas-H has joined #ruby
xemehc has joined #ruby
pawnbox_ has quit [Remote host closed the connection]
Devalo has joined #ruby
getxsick has joined #ruby
hopsoft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tdy has joined #ruby
<getxsick> i might be blind but...i can't find a ruby doc for Test::Unit for the 2.3.1
<getxsick> where can i find it?
ctp has joined #ruby
solocshaw has joined #ruby
t3rax has joined #ruby
Devalo has quit [Ping timeout: 255 seconds]
Gar-Bob has joined #ruby
Rodya_ has quit [Remote host closed the connection]
jwl has left #ruby ["Textual IRC Client: www.textualapp.com"]
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
Gar-Bob has quit [Quit: Textual IRC Client: www.textualapp.com]
t3rax has quit [Client Quit]
vqrs has quit [Ping timeout: 248 seconds]
jenrzzz has joined #ruby
jwl has joined #ruby
vqrs has joined #ruby
herbmillerjr has quit [Quit: Konversation terminated!]
Madplatypus has joined #ruby
getxsick has quit [Quit: leaving]
skweek has quit [Ping timeout: 248 seconds]
moos3 has joined #ruby
ctp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 244 seconds]
blackmesa has quit [Ping timeout: 264 seconds]
koooge has joined #ruby
marr has quit [Ping timeout: 276 seconds]
SteenJobs has joined #ruby
moos3 has quit [Ping timeout: 248 seconds]
moos3 has joined #ruby
eljimmy has quit [Quit: This computer has gone to sleep]
SteenJobs has quit [Quit: SteenJobs]