havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.0; 2.2.4; 2.1.8; 2.0.0-p648: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
edwinvdgraaf has joined #ruby
finisherr has joined #ruby
diegoviola has joined #ruby
nodejunkie has quit [Ping timeout: 252 seconds]
edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
hinbody has joined #ruby
einarj has joined #ruby
yokel has quit [Remote host closed the connection]
intrigueD has quit [Remote host closed the connection]
x77686d has quit [Quit: x77686d]
finisherr has quit [Client Quit]
ferr has quit [Ping timeout: 272 seconds]
sneakerhax has joined #ruby
einarj has quit [Ping timeout: 252 seconds]
felipe has joined #ruby
<wolffles> please explain why my code doesnt work :[ https://eval.in/518367
<jhass> >> ary = []; ary[134]
<ruby[bot]> jhass: # => nil (https://eval.in/518368)
<jhass> that's why
bronson has joined #ruby
firstdayonthejob has quit [Ping timeout: 260 seconds]
karapetyan has joined #ruby
<jhass> no idea why you do that ary stuff at all
<wolffles> well its the only way i can think of
<felipe> Hi folks, I'm a begginer in ruby programming, have some experience with java. Any material recommendations? (books or something else)
_ht has quit [Ping timeout: 240 seconds]
user083 has quit [Ping timeout: 276 seconds]
<wolffles> ruby monk
<felipe> Oh thxs wolffles
<adaedra> ?links felipe
saneax is now known as saneax_AFK
_ht has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
<jhass> wolffles: https://eval.in/518370
<adaedra> apeiros: the footer of this page could be updated to something like "do a PR here" or something?
zast has joined #ruby
<Ox0dea> wolffles: The Y in "system" is a vowel.
<Ox0dea> Just sayin'.
ElFerna_ has quit [Ping timeout: 264 seconds]
<apeiros> adaedra: "fork me on github" not good enough?
<wolffles> its an exception on the ‘guidelines’
<adaedra> apeiros: I'm talking about the existing message
<adaedra> I forgot the corner thing is here, I tend to ignore them as I found them stupid, but that's my opinion
<apeiros> oh, right. there's one. though iirc I wanted to add a way to submit suggestions directly.
<Ox0dea> Who's jheg?
karapetyan has quit [Ping timeout: 250 seconds]
bronson has quit [Ping timeout: 256 seconds]
<adaedra> Because the message looks _a bit_ outdated.
nettoweb has quit [Ping timeout: 240 seconds]
nettoweb has joined #ruby
akem has left #ruby ["Leaving"]
cajone has quit [Remote host closed the connection]
user083 has joined #ruby
benlieb has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DylanJ has joined #ruby
quakephil has quit [Read error: Connection reset by peer]
binaryplease has quit [Ping timeout: 256 seconds]
yatish27 has quit [Ping timeout: 240 seconds]
ereslibre has joined #ruby
ereslibre has joined #ruby
blt has joined #ruby
benlieb has quit [Quit: benlieb]
felipe has quit [Quit: Leaving]
cajone has joined #ruby
DylanJ has quit [Ping timeout: 250 seconds]
duncannz has joined #ruby
DylanJ has joined #ruby
reactor16 has quit [Quit: Leaving]
yatish27 has joined #ruby
marr has quit [Ping timeout: 256 seconds]
sauvin has quit [Remote host closed the connection]
sauvin has joined #ruby
sauvin has quit [Changing host]
sauvin has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sauvin has quit [Read error: Connection reset by peer]
sauvin has joined #ruby
s2013 has joined #ruby
s2013 has quit [Max SendQ exceeded]
zacstewart has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
dlitvak has joined #ruby
pandaant has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 1.4]
B1n4r10 has quit [Ping timeout: 256 seconds]
dlitvak has quit [Ping timeout: 272 seconds]
r4z3r has joined #ruby
askhat has quit [Read error: Connection reset by peer]
askhat has joined #ruby
yokel has joined #ruby
diegoviola has joined #ruby
graphettion has quit [Ping timeout: 248 seconds]
fer_ has joined #ruby
<fer_> hi all
edwinvdgraaf has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 264 seconds]
SCHAAP137 has quit [Remote host closed the connection]
<fer_> I am looking for some help with gem development, I am having troubles with matching runtime dependencies when setting source to gemfury repo
saneax_AFK is now known as saneax
eljimmy has quit [Quit: This computer has gone to sleep]
<fer_> works fine when switching the source to the github repo though... so I am a bit lost
<fer_> any ideas?
t4nk718 has joined #ruby
<t4nk718> hi all
<r4z3r> how's it going t4nk718
t4nk718 has quit [Ping timeout: 252 seconds]
DylanJ has quit [Quit: ggwp]
idefine has quit [Remote host closed the connection]
El3ktra has quit [Remote host closed the connection]
DylanJ has joined #ruby
decoponio has quit [Quit: Leaving...]
jottr has joined #ruby
saneax is now known as saneax_AFK
diegoviola has quit [Quit: WeeChat 1.4]
jottr has quit [Client Quit]
<shevy> you killed the tank!
Domaldel has joined #ruby
<fer_> the tank was me trying to access via webclient instead of xchat :)
<fer_> sorry
ellistaa has quit [Quit: ellistaa]
Domaldel has quit [Client Quit]
user083 has quit [Quit: Lost terminal]
fer_ has left #ruby ["Saliendo"]
fer_ has joined #ruby
fer_ has quit [Quit: Saliendo]
pihpah has quit [Ping timeout: 256 seconds]
nanoz has joined #ruby
weemsledeux has joined #ruby
<shevy> they prefer webchat over xchat :(((
<shevy> what has the world become of...
_ht has quit [Ping timeout: 240 seconds]
gizmore has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
Spami has joined #ruby
<gizmore> Is there active model like ActiveRecord::Result.new(User.new, User.new).where(:id => 2).to_json?
duckpuppy has joined #ruby
_ht has joined #ruby
nodejunkie has joined #ruby
eljimmy has joined #ruby
duckpuppy has quit [Ping timeout: 240 seconds]
r4z3r has quit [Quit: Windows can't be a virus, viruses do something.]
richardnixon has joined #ruby
askhat has quit [Read error: Connection reset by peer]
askhat has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
trinaldi has quit [Quit: WeeChat 1.5-dev]
becker_12 has joined #ruby
JoshGlzBrk has joined #ruby
pawnbox has joined #ruby
diegoviola has joined #ruby
r4z3r has joined #ruby
johnmilton has joined #ruby
SenpaiSilver has quit [Read error: Connection reset by peer]
SenpaiSilver has joined #ruby
SenpaiSilver has quit [Max SendQ exceeded]
pawnbox has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
z3uS has quit [Quit: /dev/null]
benlieb has joined #ruby
askhat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 264 seconds]
babblebre has joined #ruby
bronson has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
postmodern has quit [Quit: Leaving]
pawnbox has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
youch has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
lessless has joined #ruby
pawnbox has quit [Ping timeout: 264 seconds]
youch has quit [Quit: Konversation terminated!]
richardnixon has quit [Ping timeout: 260 seconds]
richardnixon has joined #ruby
kies^ has quit [Ping timeout: 250 seconds]
Hackbinary has quit [Remote host closed the connection]
duckpuppy has joined #ruby
ramortegui has joined #ruby
B1n4r10 has joined #ruby
flughafen_ has quit [Ping timeout: 260 seconds]
dexter-tzu has quit [Read error: Connection reset by peer]
Aviio has quit [Read error: Connection reset by peer]
Sucks has quit [Ping timeout: 276 seconds]
duckpuppy has quit [Ping timeout: 240 seconds]
Sucks_ has joined #ruby
z3uS has joined #ruby
Rasi has quit [Quit: WeeChat 1.3]
Coldblackice has quit [Ping timeout: 256 seconds]
tokik_ has quit [Ping timeout: 276 seconds]
BTRRY has joined #ruby
barajasfab has quit [Quit: Leaving]
Teru has joined #ruby
dexter-tzu has joined #ruby
kies^ has joined #ruby
Rasi has joined #ruby
pawnbox has joined #ruby
flughafen_ has joined #ruby
BTRRY has quit [Quit: Leaving]
Teru has quit [Quit: Leaving]
_ht has quit [Read error: Connection reset by peer]
_ht has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
elifoster has joined #ruby
eljimmy has quit [Quit: This computer has gone to sleep]
diegoviola has quit [Quit: WeeChat 1.4]
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
LoneHerm_ has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
Guest98055 is now known as Cyrus
Cyrus has quit [Changing host]
Cyrus has joined #ruby
KensoDev has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
solocshaw has quit [Ping timeout: 256 seconds]
themsay has quit [Ping timeout: 256 seconds]
graphettion has joined #ruby
benlieb has joined #ruby
becker_12 has quit [Ping timeout: 256 seconds]
finisherr has joined #ruby
LoneHerm_ has joined #ruby
symm- has quit [Ping timeout: 264 seconds]
ledestin has joined #ruby
<finisherr> I'm having issues accessing an intance variable after instantiation. Is there anything I have to do outside of specifying the attribute in an attr_accessor method as a symbol?
baweaver has quit [Remote host closed the connection]
<finisherr> and set in the initialize method
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
becker_12 has joined #ruby
jgt has joined #ruby
vikaton has quit [Quit: Connection closed for inactivity]
<Ox0dea> finisherr: https://eval.in/518399
<finisherr> Yeah, that's what isn't working. What I have is a class with an instance variable that is actually an instance of another class (delegation)
<Ox0dea> Post code?
pawnbox has joined #ruby
<finisherr> I'll try,
benlieb has quit [Quit: benlieb]
bronson has joined #ruby
<finisherr> many files
Sucks_ has quit [Ping timeout: 240 seconds]
<Ox0dea> Well, that won't do.
Jardayn has quit [Ping timeout: 256 seconds]
<finisherr> Oh whoops
<finisherr> I think I found my issue possibly
<Ox0dea> Forget to `super`?
<finisherr> Fixed
<finisherr> I just had my attr_accessor under module scope and not class scope
nofxx has joined #ruby
azure32 has joined #ruby
<Ox0dea> Hm... what does that even do?
pawnbox has quit [Ping timeout: 240 seconds]
<finisherr> I just put it in the wrong spot accidently
<Ox0dea> Right, but now I'm wondering how you'd actually get hold of an attribute defined that way.
<Ox0dea> Modules aren't instantiable.
<finisherr> The class sits under a module
<finisherr> that's all
duckpuppy has joined #ruby
karapetyan has joined #ruby
zacstewart has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
LuckyABA has joined #ruby
yqt has quit [Ping timeout: 276 seconds]
duckpuppy has quit [Ping timeout: 250 seconds]
karapetyan has quit [Ping timeout: 264 seconds]
azure32 has quit [Ping timeout: 272 seconds]
sankaber has joined #ruby
becker_12 has quit [Ping timeout: 240 seconds]
nanoz has quit [Read error: Connection reset by peer]
bronson has quit [Remote host closed the connection]
DmitryBochkarev has joined #ruby
einarj has joined #ruby
braincrash has quit [Quit: bye bye]
blackgoat has joined #ruby
einarj has quit [Ping timeout: 240 seconds]
yatish27 has quit [Remote host closed the connection]
arescorpio has quit [Quit: Leaving.]
rakm has joined #ruby
treaki has quit [Ping timeout: 256 seconds]
treaki has joined #ruby
graphettion_ has joined #ruby
graphettion_ has quit [Remote host closed the connection]
zast has quit [Quit: Leaving.]
graphettion has quit [Ping timeout: 240 seconds]
braincrash has joined #ruby
zacstewart has quit [Ping timeout: 240 seconds]
dlitvak has joined #ruby
DEA7TH has quit [Quit: DEA7TH]
Ebok has joined #ruby
Azure has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
s2013 has joined #ruby
dlitvak has quit [Ping timeout: 264 seconds]
atomical_ has joined #ruby
atomical has quit [Ping timeout: 272 seconds]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Dimik has joined #ruby
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gix has quit [Ping timeout: 240 seconds]
AlphaAtom has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
gix has joined #ruby
babblebre has quit [Quit: Connection closed for inactivity]
scottj has joined #ruby
benlieb has joined #ruby
ensyde_ has joined #ruby
The_Phoenix has joined #ruby
<scottj> is there a way to use destructuring to rewrite "outline['foo'] + outline['bar']" to something like "{foo, bar} = outline; foo + bar"?
baweaver has joined #ruby
pawnbox has joined #ruby
benlieb has quit [Client Quit]
<havenwood> scottj: outline.values_at('foo', 'bar').reduce(:+)
idefine has joined #ruby
idefine has quit [Remote host closed the connection]
<havenwood> scottj: yeah, your can do stuff like: foo, bar = outline.values_at 'foo', 'bar'
<havenwood> you*
idefine has joined #ruby
<scottj> havenwood: thanks
<havenwood> scottj: no prob
baweaver has quit [Ping timeout: 250 seconds]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
braincra- has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has quit [Ping timeout: 276 seconds]
braincrash has quit [Ping timeout: 264 seconds]
duckpuppy has joined #ruby
fedexo has quit [Ping timeout: 250 seconds]
B1n4r10 has quit [Ping timeout: 256 seconds]
lessless has joined #ruby
Sucks has joined #ruby
BecomingCoder has joined #ruby
BecomingCoder has quit [Client Quit]
atomical has joined #ruby
atomical_ has quit [Ping timeout: 256 seconds]
duckpuppy has quit [Ping timeout: 240 seconds]
lessless has quit [Ping timeout: 240 seconds]
floror has joined #ruby
adgtl has joined #ruby
adgtl has quit [Read error: Connection reset by peer]
adgtl has joined #ruby
adgtl has quit [Changing host]
adgtl has joined #ruby
ilhami has joined #ruby
perrier_ has quit [Remote host closed the connection]
perrier_ has joined #ruby
<ilhami> shevy,
<ilhami> :D
houhoulis has joined #ruby
c0ncealed has quit [Remote host closed the connection]
c0ncealed has joined #ruby
benlieb has joined #ruby
johnmilton has quit [Quit: Namaste]
<Youngmathimus0> Anyone know how i could count the amount of hits here? https://repl.it/BlUR/64
konsolebox has joined #ruby
<nofxx> Youngmathimus0, first, understand why lines 5,6,7 doesn't do anything
<Youngmathimus0> i know
<Youngmathimus0> just thought it was easier to understand
<nofxx> ah ok...
<nofxx> use a counter, a variable declared outside
<ilhami> I have a problem.
<ilhami> undefined method `include?'
<nofxx> ilhami, paste the full line.... include?' in.... what? NilClass?
<ilhami> it's on codeacademy
<ilhami> lol
<ilhami> undefined method `include?' for nil:NilClass
<ilhami> if user_input.include? "s"
<ilhami> print "sup"
<ilhami> end
<nofxx> user_input is nil ... just it, got it?
DEA7TH has joined #ruby
<ilhami> how can it be nul?
<ilhami> nil
<ilhami> print "Do you like cats?"
<ilhami> user_input = gets.chomp.downcase!
<ilhami> I also have this
<ilhami> above
<nofxx> that's returning nil... did you get a pop up text input?
<ilhami> yes
<ilhami> I am prompted
<nofxx> bad codeacademy
<ilhami> :/
<nofxx> in real life, when things that can happen you can check both conditions:
<nofxx> if user_input && user_input.include? "s"
sergey_makagon has joined #ruby
<ilhami> codeacademy is bad right?
<nofxx> in the case, #respond_to? is beautiful
<ilhami> these are the instructions
<ilhami> Write an if statement in the editor. It should check to see if user_input includes "s".
<ilhami> IRB?
<nofxx> use IRB dude
<nofxx> makes sense, sometimes (windows crap) may scare ppl from nice languages
<nofxx> or ultra rubiesque: if user_input.respond_to?(:include?)
<ilhami> For now, print a string of your choice to the console if it finds "s".
<ilhami> wolffles, whose fault is it? :D
<nofxx> hmm... yeah often those courses send you to actually install ruby later
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ilhami> it's not my fault.
<nofxx> yup
<wolffles> ;D you know
<ilhami> windows crap?
ensyde_ has quit [Quit: Leaving]
<ilhami> talking about the OS? :D
<nofxx> a nice language is, by sine qua non condition, only nice if it's unix only ;)
<Ox0dea> >> nil&.foo # nofxx
<ruby[bot]> Ox0dea: # => nil (https://eval.in/518403)
Morrolan_ has quit [Ping timeout: 240 seconds]
<Ox0dea> Welcome to 2.3! :)
<Ox0dea> wolffles: Codecademy is pretty not great.
<nofxx> Ox0dea, woa! it'll only check or actually call if it's present too?
<Ox0dea> nofxx: Aye, it does "safe navigation".
<ilhami> but dude I started on the course lol
<ilhami> http://ruby-community.com/pages/links btw it's listed here
<ilhami> :D
Ebok has quit [Quit: This computer has gone to sleep]
<Ox0dea> It shouldn't be.
sergey_makagon has quit [Ping timeout: 276 seconds]
Takumo has joined #ruby
Takumo has joined #ruby
Morrolan has joined #ruby
<ilhami> which version of Ruby should I use?
UtkarshRay has quit [Remote host closed the connection]
pickandmix has joined #ruby
<ilhami> Ubuntu 14.04 has 1.9.3p484
LoneHerm_ has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pickandmix has quit [Client Quit]
<ilhami> That doesn't tell me what version to use though. :P 2.3.0 ?
davedev24 has quit []
LuckyABA has joined #ruby
LoneHerm_ has quit [Ping timeout: 256 seconds]
johny5t4G has joined #ruby
johny5t4G has left #ruby [#ruby]
<ilhami> gem1.9.3 install bundler what am I installing here?
<ilhami> can anyone tell me?
pickandmix has joined #ruby
<ilhami> all the libs or what?
karapetyan has joined #ruby
yqfvwal has quit [Remote host closed the connection]
karapetyan has quit [Ping timeout: 276 seconds]
Nilium has joined #ruby
becker_12 has joined #ruby
n00bdev has joined #ruby
coyo has joined #ruby
coyo has joined #ruby
adgtl has quit []
s2013 has joined #ruby
UtkarshRay has joined #ruby
duckpuppy has joined #ruby
s2013 has quit [Client Quit]
Sucks has quit [Remote host closed the connection]
duckpuppy has quit [Ping timeout: 260 seconds]
arthropododo has quit [Quit: Leaving]
Kryptonical has joined #ruby
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
pickandmix has quit [Quit: WeeChat 1.4]
blackgoat has quit [Ping timeout: 252 seconds]
LoneHerm_ has joined #ruby
y2mq37 has joined #ruby
pickandmix has joined #ruby
bronson has joined #ruby
baweaver has joined #ruby
intrigueD has joined #ruby
pickandmix has quit [Client Quit]
pickandmix has joined #ruby
einarj has joined #ruby
rsc___ has joined #ruby
Nilium has quit [Ping timeout: 252 seconds]
bronson has quit [Ping timeout: 256 seconds]
bluOxigen has joined #ruby
speakingcode has quit [Ping timeout: 250 seconds]
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
einarj has quit [Ping timeout: 260 seconds]
speakingcode has joined #ruby
Nilium has joined #ruby
x64- has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
dexter-tzu has quit [Ping timeout: 252 seconds]
moeabdol2 has joined #ruby
bkxd has joined #ruby
tokik has joined #ruby
moeabdol2 has quit [Client Quit]
mg^2 has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
intrigueD has quit [Remote host closed the connection]
moeabdol has joined #ruby
lxsameer has joined #ruby
awe has joined #ruby
<mg^2> Time.now.methods.sort
<mg^2> Bah, wrong window
awe has quit [Quit: Leaving]
RegulationD has joined #ruby
DEA7TH has quit [Quit: DEA7TH]
febuiles has joined #ruby
pickandmix has quit [Ping timeout: 272 seconds]
mg^2 has quit [Quit: Leaving]
RegulationD has quit [Ping timeout: 264 seconds]
rippa has joined #ruby
pickandmix has joined #ruby
hakunin_ has joined #ruby
hakunin has quit [Read error: Connection reset by peer]
Marsupermammal has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
duncannz has quit [Read error: Connection reset by peer]
duncan_ has joined #ruby
rsc___ has quit [Quit: rsc___]
arlek has joined #ruby
ledestin has joined #ruby
gizmore_ has joined #ruby
gizmore has quit [Ping timeout: 252 seconds]
moeabdol1 has joined #ruby
moeabdol has quit [Read error: Connection reset by peer]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jackjackdripper has joined #ruby
mybatman123 has joined #ruby
mybatman123 has left #ruby [#ruby]
karapetyan has joined #ruby
Chau has joined #ruby
yatish27 has joined #ruby
yatish27 has quit [Remote host closed the connection]
karapetyan has quit [Ping timeout: 260 seconds]
jackjackdripper has quit [Quit: Leaving.]
tvw has joined #ruby
becker_12 has quit [Ping timeout: 276 seconds]
jackjackdripper has joined #ruby
gizmore has joined #ruby
gizmore_ has quit [Ping timeout: 240 seconds]
Averna has quit [Ping timeout: 256 seconds]
gizmore has quit [Ping timeout: 240 seconds]
the_drow has joined #ruby
einarj has joined #ruby
gizmore has joined #ruby
p1k has joined #ruby
patchedmonkey has joined #ruby
einarj has quit [Ping timeout: 252 seconds]
stardiviner has joined #ruby
pawnbox has quit [Ping timeout: 264 seconds]
Gnut has joined #ruby
p1k has quit [Quit: WeeChat 1.4]
becker_12 has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
<ilhami> hello
ruby-lang287 has joined #ruby
<ilhami> hello
<ilhami> hello
Averna has joined #ruby
<ilhami> sorry
<ilhami> was testing something :D
patchedmonkey has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kaynw80 has joined #ruby
Nilium has quit [Ping timeout: 250 seconds]
<kaynw80> hy! I'm new to ruby. I come from PHP. My very basic Question: If I want to use a library like Nokogiri, do I have to include the source to my project or do I have to install Nokogiri on my system and tell everyone who uses my program that they have to install Nokogiri as well?
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
spider-mario has joined #ruby
Nilium has joined #ruby
ruby-lang287 has quit [Ping timeout: 252 seconds]
wolffles has quit [Quit: wolffles]
LoneHerm_ has joined #ruby
<Ox0dea> kaynw80: Easiest is to package your thing as a gem and specify Nokogiri as a dependency.
<Ox0dea> Then, when your users go to install your thing, Nokogiri will be installed alongside it if they didn't already have it.
<kaynw80> 0x0dea: that's cool! thank you!
LoneHerm_ has quit [Ping timeout: 272 seconds]
<ilhami> I need to setup a development environment like you do with Vagrant but isn't there a Ruby specific alternative?
Gnut has quit [Ping timeout: 248 seconds]
Napear has joined #ruby
<kaynw80> here's another one - I installed a gem but when I run the program, it says that it cannot load such file
joonty has joined #ruby
sergey_makagon has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
febuiles has quit [Quit: febuiles]
nofxx has quit [Ping timeout: 240 seconds]
RegulationD has quit [Ping timeout: 252 seconds]
Jackneill has joined #ruby
Marsupermammal has quit [Quit: Textual IRC Client: www.textualapp.com]
idefine has quit [Remote host closed the connection]
floror has quit [Quit: floror]
arlek_ has joined #ruby
bluOxigen has quit [Ping timeout: 250 seconds]
duncan_ has quit [Remote host closed the connection]
arlek has quit [Ping timeout: 252 seconds]
wwwbukolaycom has quit [Read error: Connection reset by peer]
sergey_makagon has quit []
askhat has joined #ruby
ht_ has joined #ruby
_ht has quit [Ping timeout: 264 seconds]
firstdayonthejob has joined #ruby
dexter-tzu has joined #ruby
mdw has joined #ruby
duckpuppy has joined #ruby
codecop has joined #ruby
blur3d has joined #ruby
duckpuppy has quit [Ping timeout: 240 seconds]
_ht has joined #ruby
_ht has quit [Client Quit]
_ht has joined #ruby
joonty has quit [Ping timeout: 256 seconds]
ht_ has quit [Ping timeout: 276 seconds]
kaynw80 has left #ruby [#ruby]
pawnbox has joined #ruby
kaynw80 has joined #ruby
william3 has joined #ruby
ht_ has joined #ruby
_ht has quit [Ping timeout: 240 seconds]
<kaynw80> hy! I can't load an installed ruby gem. getting a load error. gem list shows it's installed however. stackoverflow isn't really helping.
Dimik has quit [Ping timeout: 272 seconds]
r4z3r is now known as zz_r4z3r
ponga has quit []
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
benlieb has quit [Ping timeout: 240 seconds]
_ht has joined #ruby
benlieb has joined #ruby
ht_ has quit [Ping timeout: 276 seconds]
houhoulis has quit [Remote host closed the connection]
<apeiros> kaynw80: more details needed. which gem? how do you try to load it? what's the *precise* error you get (copy & paste to gist)
<apeiros> kaynw80: generic answer: in case you've multiple rubies, make sure you're using the same ruby to run the code as you used to install the gem. make sure you actually require the right file (gem-name and file to require don't have to match).
mlehrer has joined #ruby
konsolebox has quit [Quit: Leaving]
<kaynw80> apeiros: I think I fixed it. The Tutorial I used told me to require 'HTTParty'. However the gem is called 'httparty' (all lower case). I assume that makes no difference on a regular mac but does make a difference in linux. tl;dr it now works because I use require 'httparty'.
sugardrunk has quit [Remote host closed the connection]
stardiviner has quit [Ping timeout: 260 seconds]
mlehrer has quit [Ping timeout: 240 seconds]
<apeiros> kaynw80: it makes a difference on any system with case sensitive filesystem. require works with files, i.e. it takes a path (or part of a path)
<apeiros> and yeah that tutorial is certainly wrong to spell it as `require 'httparty'`, and getting something such basic wrong would make me wary of that tutorial.
<apeiros> whoops
<apeiros> *is certainly wrong to spell it as `require 'HTTParty'`
wwwbukolaycom has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kaynw80> apeiros: yap, but regular macs come with a case insensitive fs :) - I still have to get used to a case sensitive fs
jmdade has joined #ruby
<apeiros> not quite correct. regular macs have configured case-preserving fs by default. you can have case-sensitive out of the box there too.
<kaynw80> oh didn't know that
<apeiros> but yeah, unless you do something, require 'HTTParty' would work on mac
benlieb has quit [Quit: benlieb]
KINGSABRI has quit [Ping timeout: 256 seconds]
blackgoat has joined #ruby
zapata has quit [Quit: WeeChat 1.4]
sheerfish999 has joined #ruby
<sheerfish999> test
<sheerfish999> gem install rqrcode
<sheerfish999> ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
<sheerfish999> bad response Not Found 404
einarj has joined #ruby
<apeiros> sheerfish999: works for me. updated rubygems? proxy settings correct? modified gem config?
<sheerfish999> <Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><RequestId>56C047AEFFFC811E30AD83F0</RequestId><HostId>rubygems-china.oss-cn-hangzhou.aliyuncs.com</HostId><Key>quick/Marshal.4.8/rqrcode-0.10.1.gemspec.rz</Key></Error>
<sheerfish999> is that right ?
<sheerfish999> "rqrcode-0.10.1.gemspec.rz"
mlehrer has joined #ruby
karapetyan has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
stardiviner has joined #ruby
zapata has joined #ruby
darkf has quit [Quit: Leaving]
pickandmix has quit [Quit: WeeChat 1.4]
dima_ has joined #ruby
DmitryBochkarev has quit [Ping timeout: 264 seconds]
pickandmix has joined #ruby
kmckelvin has joined #ruby
dima_ has quit [Client Quit]
DmitryBochkarev has joined #ruby
stardiviner has quit [Quit: Code, Sex, Just fucking world.]
Mon_Ouie has joined #ruby
william3 has quit [Remote host closed the connection]
blackmesa has joined #ruby
askhat has quit [Read error: Connection reset by peer]
askhat has joined #ruby
graffix222 has quit [Ping timeout: 250 seconds]
Youngmathimus0 has quit [Ping timeout: 276 seconds]
einarj has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 264 seconds]
zeroDivisible has joined #ruby
duckpuppy has joined #ruby
william3 has joined #ruby
blackmesa has joined #ruby
karapetyan has quit [Remote host closed the connection]
william3 has quit [Ping timeout: 240 seconds]
duckpuppy has quit [Ping timeout: 240 seconds]
baweaver has quit [Remote host closed the connection]
n00bdev has quit []
atmosx has joined #ruby
askhat has quit [Read error: Connection reset by peer]
atmosx has quit [Client Quit]
BLuEGoD has quit [Quit: changing servers]
BLuEGoD has joined #ruby
BLuEGoD is now known as Guest88392
atmosx has joined #ruby
sandstrom has joined #ruby
zenlot1 is now known as zenlot
LoneHermit has joined #ruby
kaynw80 has quit [Quit: leaving]
bronson has joined #ruby
LoneHermit has quit [Ping timeout: 240 seconds]
askhat has joined #ruby
nanoz has joined #ruby
karapetyan has joined #ruby
akem has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
karapetyan has quit [Remote host closed the connection]
jdeen has joined #ruby
blackmesa has quit [Ping timeout: 248 seconds]
jgt has quit [Ping timeout: 240 seconds]
n00bdev has joined #ruby
<jdeen> Hi there. I am wondering if it is wise to overide equal comparator of a class so that some thing like 'Array#include?' will teturn true if an object with similar attribute values is included. If so what method should I override?
<canton7> why not use 'any' and pass a block?
askhat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jdeen> checking...
antgel has joined #ruby
<apeiros> jdeen: == should be consistent with <=>
<jdeen> canton7: thanks, i didn't see any in the documentation, but it seems to work, great
becker_12 has quit [Ping timeout: 260 seconds]
<jdeen> apeiros: thanks, so in methods like #include? #find, i think it is using the == operator is it? so probably i will have to also override <=>
<jdeen> canton7: thanks (y)
<apeiros> jdeen: yes, Array#/Enumerable#include? use ==. Hash#include? otoh uses eql?.
firstdayonthejob has quit [Ping timeout: 240 seconds]
<jdeen> apeiros: great, thanks for the information guys, happy hacking and an enjoyable sunday!
codecop has quit [Remote host closed the connection]
ph0 has joined #ruby
karapetyan has joined #ruby
blackmesa has joined #ruby
ph0 has quit [Remote host closed the connection]
tvw has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
einarj has joined #ruby
sheerfish999 has left #ruby ["Leaving"]
askhat has joined #ruby
atmosx has quit [Quit: This is aparting message!]
pickandmix has quit [Ping timeout: 256 seconds]
Xeago has quit [Ping timeout: 276 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
ekem is now known as NoTea
elifoster has quit [Ping timeout: 248 seconds]
voidDotClass has joined #ruby
<voidDotClass> I have a rails class 'Foo', I have a static method: Foo.allowed_types , which returns an array. I'm trying to set a validation rule to only allow types which are included in the array returned by Foo.allowed_types
mdw has quit [Quit: Sleeping Zzzzz]
<voidDotClass> I'm trying validates :type, presence: true, inclusion: {in: Foo.allowed_types} , but it gives a syntax error
Guest88392 is now known as BLuEGoD
<voidDotClass> just doing self.allowed_types or just allowed_types doesnt work either
NoTea is now known as ekem
BLuEGoD is now known as Guest80382
intrigueD has joined #ruby
duckpuppy has joined #ruby
william3 has joined #ruby
n00bdev has quit [Remote host closed the connection]
duckpuppy has quit [Ping timeout: 260 seconds]
scottj has left #ruby [#ruby]
william3 has quit [Ping timeout: 250 seconds]
<apeiros> voidDotClass: you should always gist your full exception if you get one. the code you pasted here is syntactically valid
<apeiros> also note that there's no such thing as a "rails class".
<voidDotClass> apeiros, It works only if I move that line below the method definition
<apeiros> uh, yes, you can't call a method before you defined it
<apeiros> but calling an undefined method does not raise a syntax error.
<voidDotClass> apeiros it seems that if the static method is referred in the class def before its declared, then it doesnt work, gives an unknown constant error
<voidDotClass> but if you just move the reference below the method declaration, like in archaic php, then it works
<apeiros> I think you're mixing things up rather wildly
<voidDotClass> let me give you the exact exception then
<apeiros> best along with the code
<apeiros> and yes, you absolutely have to define stuff before using it. can't possibly work any other way.
<voidDotClass> apeiros, /home/ali/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activerecord-4.2.5/lib/active_record/dynamic_matchers.rb:26:in `method_missing': undefined local variable or method `allowed_types' for Foo (call 'Foo.connection' to establish a connection):Class (NameError)
<apeiros> also note that your validation will validate against the values the method returns at the time of calling `validates`. i.e. it won't be dynamic.
<voidDotClass> that's with validates :type, presence: true, inclusion: {in: allowed_types} , def self.allowed_types
<apeiros> voidDotClass: yeah. that's *not* a syntax error.
<voidDotClass> regardless, it only works if i move that line below the declaration
<apeiros> of course. because it can't call the method if it doesn't exist.
askhat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> right there where you call `validates`, it'll call allowed_types. and again: the validation will use the array it returns at that time.
<apeiros> so if allowed_types changes over time, it won't affect the validation. given that you use a method, that may not be what you want.
Outlastsheep has joined #ruby
platzhirsch has joined #ruby
veleno has joined #ruby
tatsuo has joined #ruby
<apeiros> and if it doesn't change, you probably should use a constant instead of a method.
SShrike has joined #ruby
<voidDotClass> it doesn't change over time, its static
mickey_mouse has joined #ruby
<apeiros> then use a constant
donald_duck has joined #ruby
mickey_mouse has quit [Read error: Connection reset by peer]
mickey_mouse_2 has quit [Ping timeout: 240 seconds]
donald_duck has quit [Client Quit]
<voidDotClass> how do you declare a constant? self.CONSTANT_NAME = ... ?
dolan has joined #ruby
<apeiros> ConstantName = value
<apeiros> with a ., it's always a method call
<voidDotClass> So if I do TYPES = [], inside class Foo, then i'd be able to call Foo.TYPES ?
SShrike has quit [Quit: SShrike]
<apeiros> no. as said, . is always a method call.
<apeiros> it's Foo::TYPES
SShrike has joined #ruby
<voidDotClass> gotcha, thanks.
pickandmix has joined #ruby
<apeiros> within the class body of Foo, a plain `TYPES` is sufficient
konsolebox has joined #ruby
becker_12 has joined #ruby
FooMunki has joined #ruby
CloCkWeRX has joined #ruby
<voidDotClass> apeiros, is there an easier way to do lambdas, something like foo -> {code}?
<voidDotClass> Foo.TYPES.each type -> code ?
bogs has joined #ruby
pihpah has joined #ruby
kam270 has joined #ruby
<apeiros> you mean blocks? (lambdas and blocks are different things in ruby)
<apeiros> if so, then no. it's either `.each do |…args…|` or `.each { |…args…|`
william3 has joined #ruby
andrewvos has joined #ruby
<voidDotClass> apeiros, yeah, but i'm sure i'
<voidDotClass> i've seen a shorter syntax somewhere
<apeiros> that wasn't blocks. there's syntax for lambdas: x = ->(…args…) { …code… }
trinaldi has joined #ruby
ni291187 has joined #ruby
FernandoBasso has joined #ruby
william3 has quit [Ping timeout: 256 seconds]
glazoff has joined #ruby
bogs has quit [Ping timeout: 252 seconds]
dolan has quit [Ping timeout: 256 seconds]
veleno has quit [Quit: veleno]
rik_ has joined #ruby
sandstrom has joined #ruby
ni291187 has quit [Ping timeout: 248 seconds]
glazoff has quit [Ping timeout: 240 seconds]
binaryplease has joined #ruby
patrick_star_10 has joined #ruby
SCHAAP137 has joined #ruby
patrick_star_11 has joined #ruby
patrick_star_12 has joined #ruby
Ishido has joined #ruby
veleno has joined #ruby
RegulationD has joined #ruby
tubbo has quit [Ping timeout: 276 seconds]
nwhirschfeld has quit [Ping timeout: 240 seconds]
patrick_star_10 has quit [Ping timeout: 272 seconds]
Macaveli has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
tubbo has joined #ruby
RegulationD has quit [Ping timeout: 276 seconds]
patrick_star_11 has quit [Ping timeout: 252 seconds]
nwhirschfeld has joined #ruby
william3 has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
patrick_star_12 has quit [Ping timeout: 272 seconds]
mdw has joined #ruby
bogs has joined #ruby
dolan has joined #ruby
bogs has quit [Client Quit]
dolan has quit [Read error: Connection reset by peer]
blackgoat has quit [Quit: WeeChat 1.3]
blt has quit [Quit: WeeChat 1.3]
themsay has joined #ruby
william3 has quit [Ping timeout: 272 seconds]
blackmesa has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Napear has quit [Quit: leaving]
edwinvdgraaf has joined #ruby
andrewvos has quit [Ping timeout: 260 seconds]
intrigueD has quit [Remote host closed the connection]
edwinvdgraaf has quit [Read error: Connection reset by peer]
askhat has joined #ruby
Guest80382 is now known as BLuEGoD
edwinvdgraaf has joined #ruby
BLuEGoD is now known as Guest59886
andrewvos has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
the_drow has quit [Quit: This computer has gone to sleep]
duckpuppy has joined #ruby
the_drow has joined #ruby
zz_r4z3r is now known as r4z3r
baweaver has joined #ruby
r4z3r has quit [Max SendQ exceeded]
duckpuppy has quit [Ping timeout: 250 seconds]
n00bdev has joined #ruby
r4z3r has joined #ruby
platzhirsch has quit [Ping timeout: 276 seconds]
<rikai> Ox0dea: somewhat better but probably also slightly worse in some spots, i'm sure.
n00bdev has quit [Ping timeout: 250 seconds]
baweaver has quit [Ping timeout: 250 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
karapetyan has quit [Remote host closed the connection]
ziyadb has quit [Quit: Connection closed for inactivity]
symm- has joined #ruby
andrewvos has quit [Ping timeout: 240 seconds]
ElFerna_ has joined #ruby
zeroDivisible has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 264 seconds]
dionysus69 has joined #ruby
KINGSABRI_ has joined #ruby
KINGSABRI_ has quit [Remote host closed the connection]
KINGSABRI has joined #ruby
themsay has quit [Quit: AtomicIRC: The nuclear option.]
themsay has joined #ruby
FernandoBasso has quit [Ping timeout: 276 seconds]
mdw has quit [Quit: Sleeping Zzzzz]
einarj has quit [Remote host closed the connection]
binaryplease has quit [Ping timeout: 240 seconds]
moeabdol1 has quit [Quit: WeeChat 1.4]
pandaant has joined #ruby
sdothum has joined #ruby
moeabdol has joined #ruby
mdw has joined #ruby
Ebok has joined #ruby
binaryplease has joined #ruby
nanoz has quit [Read error: Connection reset by peer]
veleno has quit [Quit: veleno]
edwinvdgraaf has joined #ruby
binaryplease has quit [Ping timeout: 240 seconds]
edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
The_Phoenix has quit [Quit: Leaving.]
edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
edwinvdg_ has joined #ruby
edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdg_ has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
<KINGSABRI> Hi! can I use a hash key's value as a value for another key within the same hash? (https://gist.github.com/KINGSABRI/3ea6e4c665e6261a0956)
veleno has joined #ruby
veleno has quit [Client Quit]
william3 has joined #ruby
edwinvdgraaf has quit [Read error: Connection reset by peer]
askhat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dionysus69 has quit [Quit: dionysus69]
edwinvdgraaf has joined #ruby
edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
<pushcx> No, because Ruby wouldn't know if you wanted to set the value to ':one' or the value of the ':one' key.
<j2k> KINGSABRI : hash = {one: 1, two: 1 + hash[:one]}
<KINGSABRI> j2k I got NoMethodError: undefined method `[]' for nil:NilClass
edwinvdgraaf has quit [Read error: Connection reset by peer]
william3 has quit [Ping timeout: 260 seconds]
<j2k> Your right, I did: hash = {one: 1}; hash = {one: 1, two: 1 + hash[:one]}
<j2k> Yeah I wouldn't try this
Timberwo|f has joined #ruby
<j2k> irb(main):001:0> hash = {one: 1}; hash = {one: 2, two: 1 + hash[:one]} => {:one=>2, :two=>2}
<KINGSABRI> yes, it will work of course , but the hash has been defined already
<KINGSABRI> even i tried something like hash = {one: 1, two: 1 + self[:one]}
<KINGSABRI> but it didn't work
<KINGSABRI> my thought was to do all in the same hash
<Mon_Ouie> That's just not possible, the hash doesn't exist until the entire literal has been evaluated
The_Phoenix has joined #ruby
<KINGSABRI> That's really make sense
<KINGSABRI> thanks guys
p1k has joined #ruby
r4z3r has quit [Max SendQ exceeded]
Guest59886 is now known as BLuEGoD
r4z3r has joined #ruby
LoneHermit has joined #ruby
r4z3r has quit [Max SendQ exceeded]
BLuEGoD is now known as Guest18303
r4z3r has joined #ruby
intrigueD has joined #ruby
gustavohmsilva has joined #ruby
<gustavohmsilva> I would love any considerations or even roasts on my code: https://github.com/gustavohmsilva
duckpuppy has joined #ruby
<lxsameer> how can i check if a class name stored in a variable is defined or not ?
<r4z3r> lxsameer I think Object.const_defined?(var)
becker_12 has quit [Ping timeout: 252 seconds]
<lxsameer> r4z3r, thanks
<r4z3r> yep
blur3d has quit [Quit: blur3d]
LoneHermit has quit [Ping timeout: 276 seconds]
duckpuppy has quit [Ping timeout: 252 seconds]
n00bdev has joined #ruby
aryaching has joined #ruby
timonv has quit [Ping timeout: 272 seconds]
timonv has joined #ruby
n00bdev has quit [Ping timeout: 252 seconds]
pawnbox has quit [Remote host closed the connection]
blackmesa has joined #ruby
flughafen_ has quit [Ping timeout: 264 seconds]
pawnbox has joined #ruby
akem has quit [Remote host closed the connection]
ElFerna_ has quit [Ping timeout: 240 seconds]
becker_12 has joined #ruby
Hackbinary has joined #ruby
blackmesa has quit [Ping timeout: 256 seconds]
roshanavand has joined #ruby
iooner has quit [Quit: http://www.iooner.me]
akem has joined #ruby
iooner has joined #ruby
kam270 has quit [Ping timeout: 276 seconds]
johnmilton has joined #ruby
firstdayonthejob has joined #ruby
spider-mario has quit [Remote host closed the connection]
aryaching_ has joined #ruby
aryaching has quit [Ping timeout: 276 seconds]
the_drow has joined #ruby
dlitvak has joined #ruby
zast has joined #ruby
william3 has joined #ruby
pawnbox has quit [Remote host closed the connection]
codecop has joined #ruby
SShrike has quit [Quit: SShrike]
william3 has quit [Ping timeout: 240 seconds]
d0lph1n98 has joined #ruby
pawnbox has joined #ruby
konsolebox has quit [Quit: Leaving]
d0lph1n98 has quit [Client Quit]
mdw has quit [Ping timeout: 252 seconds]
DEA7TH has joined #ruby
karapetyan has joined #ruby
pandaant has quit [Remote host closed the connection]
Guest18303 is now known as BLuEGoD
BLuEGoD is now known as Guest74305
duckpuppy has joined #ruby
ferr has joined #ruby
becker_12 has quit [Ping timeout: 260 seconds]
solocshaw has joined #ruby
atomical has joined #ruby
ljames has joined #ruby
duckpuppy has quit [Ping timeout: 252 seconds]
antgel has quit [Remote host closed the connection]
baweaver has joined #ruby
n00bdev has joined #ruby
s2013 has joined #ruby
atomical has quit [Ping timeout: 260 seconds]
aryaching_ has quit [Ping timeout: 272 seconds]
aryaching has joined #ruby
s2013 has quit [Max SendQ exceeded]
baweaver has quit [Ping timeout: 250 seconds]
jmdade has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
n00bdev has quit [Ping timeout: 250 seconds]
ferr has quit [Ping timeout: 240 seconds]
hightower2 has joined #ruby
Xeago has joined #ruby
hightower2 has left #ruby [#ruby]
hightower3 has joined #ruby
blackmesa has joined #ruby
bronson has joined #ruby
nfk has joined #ruby
kmckelvin has quit [Read error: Connection reset by peer]
Xeago has quit [Ping timeout: 240 seconds]
FooMunki has quit [Quit: FooMunki]
karapetyan has quit [Remote host closed the connection]
Chau has quit [Quit: Leaving]
bronson has quit [Ping timeout: 256 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
kp666 has quit [Ping timeout: 250 seconds]
felixfortis has joined #ruby
FooMunki has joined #ruby
nodejunkie has quit [Ping timeout: 252 seconds]
rik_ has quit [Quit: rik_]
dlitvak has quit [Ping timeout: 276 seconds]
dlitvak has joined #ruby
whiteline has quit [Read error: Connection reset by peer]
Ebok has quit [Quit: This computer has gone to sleep]
whiteline has joined #ruby
themsay has quit [Remote host closed the connection]
mondok has joined #ruby
felixfortis has quit [Quit: Konversation terminated!]
weemsledeux has joined #ruby
gheegh has joined #ruby
themsay has joined #ruby
sankaber has joined #ruby
antgel has joined #ruby
ferr has joined #ruby
<shevy> gustavohmsilva a lot of the syntax is not necessary; puts() the () are not needed; the indent is not consistent and you should consider using a class instead for easier re-use of code in general
<gustavohmsilva> Hum, thanks shevy... I'll read about classes and remove the () from the code
<gustavohmsilva> thanks!
william3 has joined #ruby
william3 has quit [Ping timeout: 252 seconds]
pawnbox has quit [Remote host closed the connection]
stardiviner has joined #ruby
symm- has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
gizmore has quit [Quit: Lost terminal]
Guest74305 is now known as BLuEGoD
BLuEGoD is now known as Guest29207
patchedmonkey has joined #ruby
Timberwo|f has quit [Quit: Sleep.]
duckpuppy has joined #ruby
Ishido has quit [Remote host closed the connection]
konsolebox has joined #ruby
dlitvak has quit [Ping timeout: 248 seconds]
duckpuppy has quit [Ping timeout: 250 seconds]
mdw has joined #ruby
n00bdev has joined #ruby
Ishido has joined #ruby
Ishido has quit [Remote host closed the connection]
Ishido has joined #ruby
dlitvak has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
RLa has joined #ruby
<RLa> i'm debugging this error: LoadError (cannot load such file -- zip/zip), it seems like some gem is missing
<RLa> how do i turn zip/zip into a gem name?
n00bdev has quit [Ping timeout: 250 seconds]
roshanavand has quit [Read error: Connection reset by peer]
<havenwood> RLa: Looks like rubyzip gem prior to version 1.0 was `require 'zip/zip'` and post 1.0 it's `require 'zip'`.
symm- has joined #ruby
<RLa> it's 2013-era codebase, thanks for info, i try deduce which version i need
<havenwood> RLa: If you don't have `require 'zip/zip'` in your code or `gem 'rubyzip'` in your Gemfile, you'll need to hunt down the gems depending on rubyzip and fix them or add the '< 1.0' to your Gemfile manually.
<RLa> will do
<havenwood> If they'd have followed convention it'd be: require 'rubyzip'
<havenwood> :O
blackmesa has joined #ruby
<havenwood> But I guess the name "zip" was taken. It happens!
cmoneylulz has joined #ruby
<havenwood> Now as long as nobody wants to use the real zip gem with rubyzip...
<RLa> it should be redmine dependency but is somehow missing, one of the plugins requires it
roshanavand has joined #ruby
<pushcx> Watch out for 'zipruby' from that era, it has a case sensitivity bug that can destroy data.
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
DmitryBochkarev has joined #ruby
RegulationD has joined #ruby
al2o3-cr has quit [Ping timeout: 248 seconds]
cmoneylulz has quit [Remote host closed the connection]
patchedmonkey has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has quit [Ping timeout: 264 seconds]
x77686d has joined #ruby
rsc___ has joined #ruby
Azure has joined #ruby
gregf has joined #ruby
dasher00 has quit [Remote host closed the connection]
dlitvak has quit [Ping timeout: 248 seconds]
magic_1 has joined #ruby
patchedmonkey has joined #ruby
patchedmonkey has quit [Client Quit]
kknight has joined #ruby
dlitvak has joined #ruby
millerti has joined #ruby
al2o3-cr has joined #ruby
binaryplease has joined #ruby
jottr has joined #ruby
aryaching has quit [Read error: No route to host]
askhat has joined #ruby
ferr has quit [Ping timeout: 276 seconds]
aryaching has joined #ruby
pdoherty has joined #ruby
y2mq37 has quit [Ping timeout: 264 seconds]
zacstewart has joined #ruby
rodfersou has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
william3 has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
Hackbinary has quit [Remote host closed the connection]
cmoneylulz has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
blackmesa has quit [Ping timeout: 240 seconds]
cmoneylulz has quit [Client Quit]
william3 has quit [Ping timeout: 276 seconds]
Xeago has joined #ruby
mondok has quit [Ping timeout: 252 seconds]
ready has quit [Ping timeout: 245 seconds]
Timberwo|f has joined #ruby
patchedmonkey has joined #ruby
ziyadb has joined #ruby
rgtk has joined #ruby
Guest29207 is now known as BLuEGoD
BLuEGoD is now known as Guest1756
blackmesa has joined #ruby
dlitvak_ has joined #ruby
duckpuppy has joined #ruby
jmdade has joined #ruby
p1k has quit [Ping timeout: 250 seconds]
intrigueD has quit [Remote host closed the connection]
dlitvak has quit [Ping timeout: 256 seconds]
blackmesa has quit [Ping timeout: 252 seconds]
baweaver has joined #ruby
duckpuppy has quit [Ping timeout: 260 seconds]
n00bdev has joined #ruby
mondok has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
railsForDaiz has joined #ruby
Ebok has joined #ruby
ready has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
n00bdev has quit [Ping timeout: 252 seconds]
flughafen_ has joined #ruby
Xeago has quit [Remote host closed the connection]
rsc___ has quit [Quit: rsc___]
chouhoulis has joined #ruby
Mon_Ouie has quit [Ping timeout: 240 seconds]
zeroDivisible has joined #ruby
gregf has quit [Quit: WeeChat 1.4]
intrigueD has joined #ruby
lxsameer has quit [Quit: Leaving]
sankaber has quit [Remote host closed the connection]
mondok has quit [Ping timeout: 272 seconds]
pdoherty has quit [Ping timeout: 248 seconds]
sankaber has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pdoherty has joined #ruby
x64- has quit [Read error: Connection reset by peer]
Dimik has joined #ruby
LoneHerm_ has joined #ruby
InSync has joined #ruby
millerti has joined #ruby
dasher00 has joined #ruby
dlitvak_ has quit [Ping timeout: 276 seconds]
the_drow has joined #ruby
futilegames has joined #ruby
railsForDaiz has quit [Ping timeout: 240 seconds]
codecop has quit [Remote host closed the connection]
Danishman has joined #ruby
LoneHerm_ has quit [Ping timeout: 240 seconds]
IfSync has joined #ruby
Dimik has quit [Ping timeout: 276 seconds]
railsForDaiz has joined #ruby
InSync has quit [Remote host closed the connection]
IfSync has quit [Remote host closed the connection]
askhat has quit [Read error: Connection reset by peer]
askhat has joined #ruby
kknight has quit [Read error: Connection reset by peer]
dlitvak has joined #ruby
aryaching_ has joined #ruby
aryaching has quit [Ping timeout: 240 seconds]
mdw has joined #ruby
stardiviner has quit [Ping timeout: 250 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dlitvak_ has joined #ruby
mondok has joined #ruby
millerti has joined #ruby
dlitvak has quit [Ping timeout: 240 seconds]
becker_12 has joined #ruby
millerti has quit [Client Quit]
davedev24 has joined #ruby
william3 has joined #ruby
mlehrer has quit [Remote host closed the connection]
millerti has joined #ruby
SCHAAP137 has joined #ruby
rgtk has quit [Remote host closed the connection]
william3 has quit [Ping timeout: 240 seconds]
roshanavand has quit [Read error: Connection reset by peer]
millerti has quit [Client Quit]
platzhirsch has joined #ruby
roshanavand has joined #ruby
zacstewart has quit [Ping timeout: 240 seconds]
millerti has joined #ruby
railsForDaiz has quit [Ping timeout: 240 seconds]
decoponio has joined #ruby
millerti has quit [Client Quit]
Guest1756 is now known as BLuEGoD
BLuEGoD is now known as Guest76621
duckpuppy has joined #ruby
nofxx has joined #ruby
millerti has joined #ruby
magic_1 has quit [Ping timeout: 240 seconds]
futilegames has quit [Quit: futilegames]
duckpuppy has quit [Ping timeout: 276 seconds]
n00bdev has joined #ruby
patchedmonkey has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
millerti has quit [Client Quit]
n00bdev has quit [Ping timeout: 260 seconds]
idefine has joined #ruby
pawnbox_ has joined #ruby
fedexo has joined #ruby
millerti has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
KINGSABRI has quit [Remote host closed the connection]
centrx has joined #ruby
tatsuo has quit [Remote host closed the connection]
benlieb has joined #ruby
tatsuo has joined #ruby
wolffles has joined #ruby
whiteline has quit [Ping timeout: 256 seconds]
mondok has quit [Ping timeout: 276 seconds]
RegulationD has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
LoneHerm_ has joined #ruby
volty has joined #ruby
gustavohmsilva has quit [Ping timeout: 276 seconds]
RegulationD has quit [Ping timeout: 240 seconds]
arthropododo has joined #ruby
edwinvdgraaf has joined #ruby
n00bdev has joined #ruby
ferr has joined #ruby
railsForDaiz has joined #ruby
dlitvak_ has quit [Ping timeout: 240 seconds]
agentmeerkat has joined #ruby
askhat has quit [Read error: Connection reset by peer]
askhat has joined #ruby
sandstrom has joined #ruby
dlitvak has joined #ruby
Burgestrand has joined #ruby
Spami has joined #ruby
rkazak has joined #ruby
vikaton has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
mondok has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
millerti has joined #ruby
askhat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
eljimmy has joined #ruby
tatsuo has quit [Remote host closed the connection]
william3 has joined #ruby
millerti has quit [Client Quit]
ferr has quit [Ping timeout: 272 seconds]
william3 has quit [Ping timeout: 240 seconds]
Anderson69s has joined #ruby
baweaver has joined #ruby
rodfersou has quit [Remote host closed the connection]
agentmeerkat has quit [Ping timeout: 272 seconds]
bronson has joined #ruby
Guest76621 is now known as BLuEGoD
BLuEGoD is now known as Guest33672
solocshaw has quit [Ping timeout: 240 seconds]
duckpuppy has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
solars has joined #ruby
zacstewart has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
richardnixon has quit [Remote host closed the connection]
rbennacer has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
duckpuppy has quit [Ping timeout: 264 seconds]
pawnbox_ has quit [Ping timeout: 240 seconds]
nik0 has joined #ruby
niko is now known as Guest87562
nik0 is now known as niko
FooMunki has quit [Quit: FooMunki]
FooMunki has joined #ruby
Guest87562 has quit [Ping timeout: 600 seconds]
Burgestrand has quit [Read error: Connection reset by peer]
speakingcode has quit [Ping timeout: 252 seconds]
william3 has joined #ruby
_ht has quit [Remote host closed the connection]
<shevy> code code code
speakingcode has joined #ruby
* kaleido codes
j0n3 has joined #ruby
codecop has joined #ruby
<shevy> :)
william3 has quit [Ping timeout: 264 seconds]
rgtk has joined #ruby
yfeldblum has joined #ruby
blackmesa has joined #ruby
<platzhirsch> code code code!
yfeldblum has quit [Remote host closed the connection]
gheegh has quit [Quit: Textual IRC Client: www.textualapp.com]
LoneHerm_ has joined #ruby
ElFerna_ has joined #ruby
rbennacer has quit [Remote host closed the connection]
william3 has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
william3 has quit [Ping timeout: 248 seconds]
wolffles has quit [Quit: wolffles]
rikai has joined #ruby
Burgestrand has joined #ruby
johnmilton has quit [Ping timeout: 260 seconds]
darkf has joined #ruby
JoshGlzBrk has joined #ruby
becker_12 has quit [Ping timeout: 252 seconds]
JoshGlzBrk has quit [Client Quit]
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
<hanmac> shevy: did you see this new apple "feature"? https://pbs.twimg.com/media/Ca92n6PXIAACzZp.jpg
railsForDaiz has quit [Ping timeout: 260 seconds]
<shevy> yeah
Ebok has quit [Quit: This computer has gone to sleep]
Ebok has joined #ruby
RLa has left #ruby ["Leaving"]
cpup has joined #ruby
CoderPuppy has quit [Read error: Connection reset by peer]
ElFerna_ has quit [Ping timeout: 240 seconds]
zacstewart has quit [Ping timeout: 240 seconds]
rkazak has quit [Quit: Sleep.....ing....]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
livecodingtv has joined #ruby
becker_12 has joined #ruby
zapata has quit [Quit: WeeChat 1.4]
dlitvak has quit [Ping timeout: 264 seconds]
zapata has joined #ruby
askhat has joined #ruby
dlitvak has joined #ruby
askhat has quit [Max SendQ exceeded]
askhat has joined #ruby
SenpaiSilver has joined #ruby
<hanmac> i wonder if they will fix that until the new iphone gets out ... or it should say: "now with 20% more brick"
railsForDaiz has joined #ruby
<shevy> they should replace swift with mruby
jdeen has quit [Quit: leaving]
william3 has joined #ruby
Xeago has joined #ruby
Guest33672 is now known as BLuEGoD
BLuEGoD is now known as Guest97733
jottr has quit [Ping timeout: 240 seconds]
duckpuppy has joined #ruby
livecodingtv has quit []
baweaver has joined #ruby
william3 has quit [Ping timeout: 248 seconds]
baweaver has quit [Remote host closed the connection]
duckpuppy has quit [Ping timeout: 240 seconds]
baweaver has joined #ruby
JoshGlzBrk has joined #ruby
johnmilton has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
intrigueD has quit [Remote host closed the connection]
B1n4r10 has joined #ruby
karapetyan has joined #ruby
Yeomra has joined #ruby
railsForDaiz has quit [Ping timeout: 250 seconds]
Mon_Ouie has joined #ruby
william3 has joined #ruby
B1n4r10 has quit [Ping timeout: 264 seconds]
dlitvak has quit [Ping timeout: 276 seconds]
al2o3-cr has quit [Ping timeout: 256 seconds]
johnmilton has quit [Ping timeout: 240 seconds]
william3 has quit [Ping timeout: 248 seconds]
weemsledeux has joined #ruby
dlitvak has joined #ruby
dextertzu has quit [Read error: Connection reset by peer]
Sembei has quit [Ping timeout: 252 seconds]
dextertzu has joined #ruby
angryz has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
yfeldblum has quit [Ping timeout: 240 seconds]
al2o3-cr has joined #ruby
eikood has joined #ruby
eikood has quit [Remote host closed the connection]
eikood has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eikood has quit [Remote host closed the connection]
eikood has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
<ilhami> shevy,
<ilhami> I learned a lot
graphettion has joined #ruby
Spami has joined #ruby
JoshGlzBrk has joined #ruby
JoshGlzBrk has quit [Client Quit]
eikood has quit [Client Quit]
<shevy> ilhami come on
<ilhami> what shevy ? I am learning Rails now. :) I already made a blog
<ilhami> lol
rkazak has joined #ruby
<shevy> you must go to #rubyonrails
eikood has joined #ruby
<ilhami> I am there already. :D
<shevy> I am not :D
<ilhami> come there now ! :)
<shevy> no... I have to write pure ruby commandline apps
<ilhami> shevy, are you on livecoding.tv?
Gnut has joined #ruby
<shevy> I am listening to boring university streams about non-computer related things!
<ilhami> heh what is it about? :D
rgtk has quit [Remote host closed the connection]
<shevy> no... it is too boring to say. we need to focus on ruby here
chipotle has quit [Quit: cheerio]
johnmilton has joined #ruby
<ilhami> heh
flughafen_ has quit [Ping timeout: 240 seconds]
roshanavand has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
patchedmonkey has joined #ruby
fedexo has quit [Ping timeout: 240 seconds]
rgtk has joined #ruby
Burgestrand has quit [Ping timeout: 240 seconds]
william3 has joined #ruby
Anderson69s has quit [Quit: Time to EAT, SLEEP OR WHATEVER BYE!!!!!]
finisherr has left #ruby [#ruby]
askhat has quit [Read error: Connection reset by peer]
askhat has joined #ruby
dlitvak_ has joined #ruby
ramortegui has quit [Remote host closed the connection]
william3 has quit [Ping timeout: 248 seconds]
dlitvak has quit [Ping timeout: 240 seconds]
Burgestrand has joined #ruby
Ebok has joined #ruby
codecop has quit [Remote host closed the connection]
chipotle has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
rgtk has quit [Remote host closed the connection]
davedev24 has quit [Ping timeout: 250 seconds]
rgtk has joined #ruby
millerti has joined #ruby
crdpink has joined #ruby
patchedmonkey has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
crdpink2 has quit [Ping timeout: 240 seconds]
davedev24 has joined #ruby
johnmilton has quit [Ping timeout: 264 seconds]
mdw has joined #ruby
rgtk has quit [Remote host closed the connection]
Jardayn has joined #ruby
houhoulis has joined #ruby
ur5us has joined #ruby
Guest97733 is now known as BLuEGoD
h99h9h88 has joined #ruby
Satin_ has joined #ruby
BLuEGoD is now known as Guest21879
<Satin_> .
duckpuppy has joined #ruby
kirillzh has joined #ruby
kirillzh has quit [Max SendQ exceeded]
kirillzh has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
pdoherty has quit [Ping timeout: 276 seconds]
kirillzh has quit [Max SendQ exceeded]
sandstrom has joined #ruby
jottr has joined #ruby
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Me1612 has joined #ruby
duckpuppy has quit [Ping timeout: 248 seconds]
magic_1 has joined #ruby
<Me1612> someone may tell me what's the name of a gem than is... is to write easy html views?
Satin_ has left #ruby [#ruby]
Me1612 has quit [Client Quit]
<havenwood> me16, too late!
jottr has quit [Ping timeout: 264 seconds]
<havenwood> I guess they left already.
<apeiros> Errno::ENOPATIENCE
kirillzh has joined #ruby
becker_12 has quit [Quit: WeeChat 1.4]
Azure has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elifoster has joined #ruby
<havenwood> So do we say rack-server-pages, sinatra, hanami/view, roda, jekyll, middleman or other?
Burgestrand has joined #ruby
Burgestrand has quit [Client Quit]
doublemalt__ has joined #ruby
<shevy> so much
dlitvak has joined #ruby
<havenwood> shevy: pakyow or volt or just cgi?
<shevy> cgi! cgi!
<shevy> USA! USA!
magic_1 has quit [Quit: Leaving]
SCHAAP137 has joined #ruby
<x77686d> Long, sad story but could somebody who's used rvm to install 2.2.4 on Ubuntu tell me what they see with 'ruby --version' after 'rvm 2.2.4'?
doublemalt_ has quit [Ping timeout: 276 seconds]
techietrash has quit [Max SendQ exceeded]
<havenwood> shevy: ruby -rcgi -e "CGI.new.out('status' => 'OK', 'type' => 'text/plain', 'connection' => 'close') { 'OMGWTFBBQCGI'}"
techietrash has joined #ruby
dlitvak_ has quit [Ping timeout: 260 seconds]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
eljimmy has quit [Ping timeout: 252 seconds]
davedev2_ has joined #ruby
dlitvak_ has joined #ruby
konsolebox has quit [Quit: Leaving]
al2o3-cr has quit [Ping timeout: 256 seconds]
Youngmathimus0 has joined #ruby
karapetyan has quit [Ping timeout: 240 seconds]
PaulCapestany has quit [Quit: .]
davedev24 has quit [Ping timeout: 252 seconds]
dlitvak has quit [Ping timeout: 250 seconds]
rkazak has quit [Ping timeout: 250 seconds]
mdw has quit [Quit: Sleeping Zzzzz]
spider-mario has joined #ruby
solars has quit [Ping timeout: 250 seconds]
eljimmy has joined #ruby
<havenwood> x77686d: A just-compiled Ruby 2.2.4 on Ubuntu: ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-linux]
h99h9h88 has quit [Remote host closed the connection]
<x77686d> thanks!
h99h9h88 has joined #ruby
idefine has quit [Remote host closed the connection]
<havenwood> x77686d: (Not RVM but should be the same.)
<x77686d> understood
baweaver has quit [Remote host closed the connection]
<havenwood> unless 32-bit of course
PaulCapestany has joined #ruby
<havenwood> 2.2.4 is always patch level 230
<havenwood> x77686d: If we can help brighten even just the end of the story let us know!
william3 has joined #ruby
<havenwood> If it's not already beyond that point.
h99h9h88 has quit [Ping timeout: 276 seconds]
rgtk has joined #ruby
jottr has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
askhat has quit [Read error: Connection reset by peer]
askhat has joined #ruby
einarj has joined #ruby
preyalone has joined #ruby
andrewvos has joined #ruby
Cohedrin has joined #ruby
railsForDaiz has joined #ruby
moeabdol1 has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
moeabdol has quit [Ping timeout: 256 seconds]
Ebok has joined #ruby
intrigueD has joined #ruby
rbennacer has joined #ruby
al2o3-cr has joined #ruby
sharkman has joined #ruby
the_drow has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
<sharkman> a = { car: "red", band: "blue", fan: "purple"}, c, b = a[:car], a[:band]
<sharkman> is there a shorter way to do the second part, like a[:car, :band]
<sharkman> a(*car, band)
<sharkman> something like that?
blackmesa has joined #ruby
idefine has joined #ruby
<sharkman> actually this is the real code i am working with, it may be clearer actually, pts, fga, fta = box_score[:pts], box_score[:fga], box_score[:fta]
<shevy> a.values_at(:car, :band) # => ["red", "blue"]
<sharkman> ah great thanks
<sharkman> i thought ruby would have something for this
yqt has joined #ruby
<shevy> ruby has a lot of stuff hidden, the difficulty is finding it!
<shevy> I still don't even know everything from Enumerable
RegulationD has joined #ruby
<sharkman> !
rbennacer has quit [Ping timeout: 264 seconds]
mdw has joined #ruby
centrx has quit [Quit: If you meet the Buddha on the road, kill him.]
einarj has quit [Ping timeout: 256 seconds]
einarj has joined #ruby
jimbeaudoin has joined #ruby
ziyadb has quit [Quit: Connection closed for inactivity]
themsay2 has joined #ruby
idefine has quit [Ping timeout: 250 seconds]
symm- has quit [Ping timeout: 260 seconds]
RegulationD has quit [Ping timeout: 250 seconds]
mdw has quit [Quit: Sleeping Zzzzz]
bronson has joined #ruby
einarj_ has joined #ruby
einarj has quit [Read error: Connection reset by peer]
themsay has quit [Ping timeout: 240 seconds]
<havenwood> shevy: 48 methods, get to it! Which don't you know?
Gnut has quit [Ping timeout: 256 seconds]
mhoungbo has joined #ruby
mdw has joined #ruby
mdw has quit [Client Quit]
wwwbukolaycom has quit [Ping timeout: 240 seconds]
Guest21879 is now known as BLuEGoD
<shevy> let's see
BLuEGoD is now known as Guest36209
<shevy> drop_while cycle collect_concat chunk_chunk_while
duckpuppy has joined #ruby
<havenwood> shevy: collect_concat is just flat_map
<shevy> find_all grep_v lazy member? hmmm... way too many
<shevy> but I don't use collect :(
<shevy> long live map!
<havenwood> shevy: grep_v is like grep -v (the inverse of grep)
<shevy> slice_after slice_before slice_when
<shevy> haha
<platzhirsch> /j #java
<platzhirsch> oops
yqfvwal has joined #ruby
<havenwood> shevy: so mostly just fairly recently added ones (except aliases and cycle)
bronson has quit [Ping timeout: 256 seconds]
Jackneill has quit [Ping timeout: 240 seconds]
dlitvak_ has quit [Ping timeout: 276 seconds]
<havenwood> >> [:x, :o].cycle(4).to_a
<ruby[bot]> havenwood: # => [:x, :o, :x, :o, :x, :o, :x, :o] (https://eval.in/518554)
<havenwood> >> [:ok].cycle.size
<ruby[bot]> havenwood: # => Infinity (https://eval.in/518555)
patchedmonkey has joined #ruby
duckpuppy has quit [Ping timeout: 240 seconds]
PaulCapestany has quit [Quit: .]
<havenwood> shevy: You can give #cycle a number of times to cycle, or if you don't, it'll do it forever.
railsForDaiz has quit [Ping timeout: 240 seconds]
PaulCapestany has joined #ruby
PaulCapestany has quit [Client Quit]
railsForDaiz has joined #ruby
themsay2 has quit [Read error: Connection reset by peer]
SCHAAP137 has quit [Read error: Connection reset by peer]
idefine has joined #ruby
themsay has joined #ruby
Zackio has quit [Quit: Bæ provides this ZNC for me <3]
PaulCapestany has joined #ruby
dlitvak has joined #ruby
Zackio has joined #ruby
Zackio is now known as Guest92286
LoneHerm_ has joined #ruby
yqfvwal has quit [Ping timeout: 240 seconds]
<shevy> hmm
idefine has quit [Ping timeout: 252 seconds]
<havenwood> >> [1, 2, 3].zip [:ok].cycle
<ruby[bot]> havenwood: # => [[1, :ok], [2, :ok], [3, :ok]] (https://eval.in/518560)
makenoise has joined #ruby
<havenwood> shevy: %w[tick tock].cycle(4) { |noise| puts noise; sleep 1 }
<shevy> lol
<shevy> what is this actually used for?
<havenwood> shevy: cycling
<havenwood> >> [:by].cycle.feed(:road)
<ruby[bot]> havenwood: # => nil (https://eval.in/518562)
mdw has joined #ruby
<havenwood> oops, I mean: [:bi].cycle
graphettion has quit [Ping timeout: 248 seconds]
jottr has quit [Ping timeout: 248 seconds]
ixti has joined #ruby
<Ox0dea> >> class String; def * n; chars.cycle.take(size * n).join end end; 'foobar' * 2.5
<ruby[bot]> Ox0dea: # => "foobarfoobarfoo" (https://eval.in/518564)
e has quit [Changing host]
e has joined #ruby
thomas has quit [Changing host]
thomas has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
vikaton has quit [Quit: Connection closed for inactivity]
moeabdol1 has quit [Ping timeout: 256 seconds]
Ebok has joined #ruby
einarj has joined #ruby
einarj_ has quit [Read error: Connection reset by peer]
roshanav_ has joined #ruby
Gnut has joined #ruby
sandstro_ has joined #ruby
Nilium_ has joined #ruby
askhat_ has joined #ruby
r4z3r has quit [Remote host closed the connection]
okdas has joined #ruby
okdas has joined #ruby
nwhirschfeld_ has joined #ruby
Guest92286 has quit [Quit: RIP]
einarj has quit [Read error: Connection reset by peer]
Zacketh has joined #ruby
<DEA7TH> Is there a way to DRY multiple method calls on the same object like this: https://gist.github.com/VelizarHristov/127defdc4265bda20240
einarj has joined #ruby
Zacketh has quit [Remote host closed the connection]
Zacketh has joined #ruby
Nilium has quit [Ping timeout: 240 seconds]
beawesomeinstead has quit [Ping timeout: 240 seconds]
aspiers has quit [Ping timeout: 240 seconds]
Nilium_ is now known as Nilium
coyo has quit [Ping timeout: 240 seconds]
okdas_ has quit [Ping timeout: 240 seconds]
crayfishx has quit [Ping timeout: 240 seconds]
jimbeaudoin has quit [Ping timeout: 240 seconds]
roshanavand has quit [Ping timeout: 240 seconds]
eikood has quit [Ping timeout: 240 seconds]
nwhirschfeld has quit [Ping timeout: 240 seconds]
trinaldi has quit [Ping timeout: 240 seconds]
shevy has quit [Ping timeout: 240 seconds]
mhoungbo has quit [Ping timeout: 240 seconds]
camilasan has quit [Ping timeout: 240 seconds]
askhat has quit [Ping timeout: 240 seconds]
bodgix has quit [Ping timeout: 240 seconds]
gix has quit [Ping timeout: 240 seconds]
sandstrom has quit [Ping timeout: 240 seconds]
beawesomeinstead has joined #ruby
LoneHerm_ has quit [Ping timeout: 240 seconds]
zeroDivisible has quit [Ping timeout: 240 seconds]
infernix has quit [Ping timeout: 240 seconds]
larsk has quit [Ping timeout: 240 seconds]
Xeago has quit [Remote host closed the connection]
camilasan has joined #ruby
eljimmy has quit [Quit: This computer has gone to sleep]
LoneHermit has joined #ruby
r4z3r has joined #ruby
angryz has quit [Ping timeout: 240 seconds]
jmdade has quit [Ping timeout: 240 seconds]
AlphaAtom has joined #ruby
<makenoise> Why not just have @user_type = current_staff.type? and leave that logic inside of current_staff
larsk has joined #ruby
crayfishx has joined #ruby
mfb2 has joined #ruby
bodgix has joined #ruby
Xeago has joined #ruby
mhoungbo has joined #ruby
angryz has joined #ruby
jimbeaudoin has joined #ruby
coyo has joined #ruby
coyo has quit [Changing host]
coyo has joined #ruby
zeroDivisible has joined #ruby
<DEA7TH> makenoise: Yeah I'll do that, but that leaves the same problem for inside current_staff
wolffles has joined #ruby
thomas has quit [Quit: leaving]
shevy has joined #ruby
<DEA7TH> oh, then I can omit [self.] and rewrite it. nice
gix has joined #ruby
william3 has quit [Remote host closed the connection]
thomas has joined #ruby
thomas has quit [Max SendQ exceeded]
dlitvak has quit [Ping timeout: 240 seconds]
aspiers has joined #ruby
thomas has joined #ruby
thomas has quit [Max SendQ exceeded]
coyo has quit [Client Quit]
coyo has joined #ruby
coyo has quit [Changing host]
coyo has joined #ruby
mfb2 has quit [Remote host closed the connection]
<wolffles> would this solve any case? https://eval.in/518585
aryaching_ has quit []
infernix has joined #ruby
ilhami has quit [Quit: Leaving]
patchedmonkey has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
angryz has quit [Quit: Connection closed for inactivity]
dlitvak has joined #ruby
thomas1 has joined #ruby
<DEA7TH> wolffles: it's unclear what you mean by big/small and left/right coords
thomas1 has quit [Max SendQ exceeded]
<DEA7TH> small as in minimum numbers for x/y coordinates?
<DEA7TH> x or y*
<wolffles> the greater of the two pars of x,y or lesser of the 2 pairs of x,y
llua has joined #ruby
trinaldi has joined #ruby
<Mon_Ouie> Before thinking about rectangles, try thinking about how you'd solve the 1D version of the problem (finding the intersection of two ranges of numbers)
<wolffles> in the set of cords your given the first array is the bottom left corner, and the second array is the top right corner
askhat_ has quit [Read error: Connection reset by peer]
sandstro_ has quit [Quit: My computer has gone to sleep.]
<wolffles> oh i see what you mean of left and right
askhat has joined #ruby
<DEA7TH> but it's not necessarily the case that any of the rectangles will occupy a corner
<DEA7TH> if the first rectangle is said to take the top left corner, the other rectangle might be farther to the right, but above it; or farther to the left, but below it
<DEA7TH> unless you're flexible on which corner you're looking at - then you get a guarantee yeah
<wolffles> edited https://eval.in/518587
<wolffles> #DEA7TH: could you give me an example of the cords so i can see it visually
patchedmonkey has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<wolffles> lol position[1] not 2
<wolffles> derp
blackmesa has quit [Ping timeout: 240 seconds]
<DEA7TH> 11111 - those are the two rectangles
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<wolffles> yes it wouldnt return anything
<wolffles> ohh i see what your saying
<wolffles> okay ya cuz itll still return values
<DEA7TH> then you'd only have right and bottom left corners
KensoDev has joined #ruby
<DEA7TH> if you flip that with 90 degrees, you'd instead only have top left and bottom right
mgorbach has joined #ruby
<DEA7TH> but the intention was nice
idefine has joined #ruby
millerti has joined #ruby
e has quit [Quit: gone]
blackmesa has joined #ruby
<DEA7TH> I'm referring to the corners of the grid btw
futilegames has joined #ruby
millerti has quit [Client Quit]
futilegames has quit [Client Quit]
mfb2 has joined #ruby
idefine has quit [Ping timeout: 250 seconds]
millerti has joined #ruby
<wolffles> the problem just got much harder
<wolffles> find a way to check to see if they overlap
<wolffles> dont tell me tho
<wolffles> :D
inkky has left #ruby ["Parted"]
the_drow has quit [Quit: This computer has gone to sleep]
sakix has joined #ruby
<DEA7TH> starting out with overlapping lines is solid advice
Guest36209 is now known as BLuEGoD
<DEA7TH> try with an n-dimensional figure if you're feeling up for it :P
<DEA7TH> figures*
BLuEGoD is now known as Guest34319
duckpuppy has joined #ruby
JohnBat26 has joined #ruby
Azure has joined #ruby
gregf has joined #ruby
benlieb has quit [Quit: benlieb]
Gnut has quit [Ping timeout: 240 seconds]
dlitvak has quit [Ping timeout: 248 seconds]
decoponio has quit [Quit: Leaving...]
duckpuppy has quit [Ping timeout: 260 seconds]
dlitvak has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mfb2 has quit [Remote host closed the connection]
h99h9h88 has joined #ruby
<wolffles> o.O
<hays> im on a mac and want to make quick and dirty gui applicatoins. should i use tcl/tk or something else
<wolffles> no thank you on the n-dimensional figure #DEA7TH
<DEA7TH> it's easier than you think
becker_11 has joined #ruby
stevemackinnon has joined #ruby
<DEA7TH> n-dimensional rectangle anyway
<wolffles> i dont think ive gotten that far mathmatically highest math ive done is calc or pre calc and that was years ago lol
<DEA7TH> no math prerequisites, if it works for n = 1-3 it should work for n > 3
<havenwood> hays: In the past the best bet would have been MacRuby, which shipped with OS X. Its successor, RubyMotion, has a $199 per year license to create OS X apps (unless you're a student or otherwise eligible for free).
<hays> hmm.. used 'shoes' ?
<havenwood> hays: Shoes4 on JRuby is another option: https://github.com/shoes/shoes4#readme
stannard has joined #ruby
Xeago has quit [Remote host closed the connection]
last_staff has joined #ruby
g3funk is now known as braidn
yqfvwal has joined #ruby
<hays> havenwood: per year wow
KnownSyntax has joined #ruby
h99h9h88 has quit [Quit: Leaving...]
KnownSyntax has quit [Changing host]
KnownSyntax has joined #ruby
makenoise has quit [Remote host closed the connection]
sharkman has quit [Quit: Leaving]
makenoise has joined #ruby
Xeago has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
marr has joined #ruby
dlitvak has quit [Ping timeout: 240 seconds]
terminalrecluse has joined #ruby
Ishido has quit [Remote host closed the connection]
benlieb has joined #ruby
dlitvak has joined #ruby
einarj has quit [Read error: Connection reset by peer]
einarj has joined #ruby
askhat has quit [Read error: Connection reset by peer]
akem has quit [Quit: Bye]
terminalrecluse has quit [Ping timeout: 250 seconds]
idefine has joined #ruby
baweaver has joined #ruby
Danishman has quit [Quit: KVIrc 4.9.1 Aria http://www.kvirc.net/]
Xeago has quit [Remote host closed the connection]
einarj has quit [Read error: Connection reset by peer]
einarj_ has joined #ruby
askhat has joined #ruby
nodejunkie has joined #ruby
railsForDaiz has quit [Ping timeout: 240 seconds]
idefine has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
JoshGlzBrk has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
baweaver has quit [Ping timeout: 240 seconds]
rgtk has quit [Remote host closed the connection]
railsForDaiz has joined #ruby
becker_11 has left #ruby ["WeeChat 1.4"]
dextertzu has quit [Ping timeout: 240 seconds]
benlieb has quit [Quit: benlieb]
JoshGlzBrk has quit [Client Quit]
Ishido has joined #ruby
platzhirsch has quit [Quit: Leaving.]
benlieb has joined #ruby
andrewvos has quit [Ping timeout: 264 seconds]
dextertzu has joined #ruby
edwardly has quit [Quit: ??????????]
blackmesa has quit [Ping timeout: 240 seconds]
einarj_ has quit [Ping timeout: 240 seconds]
einarj has joined #ruby
zenlot1 has joined #ruby
<shevy> know what would be cool? if rubygems could also show the source code and files like github does
zenlot has quit [Ping timeout: 272 seconds]
makenoise has quit [Remote host closed the connection]
dlitvak has quit [Ping timeout: 240 seconds]
graphettion has joined #ruby
edwardly has joined #ruby
blur3d has joined #ruby
<hays> havenwood: what about something more like ncurses
edwardly has quit [Changing host]
edwardly has joined #ruby
tomaz_b has joined #ruby
einarj has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
einarj has joined #ruby
dlitvak has joined #ruby
millerti has joined #ruby
millerti has quit [Client Quit]
<shevy> omg
<shevy> the pain
<shevy> the suffering
<shevy> the children!!!
einarj has quit [Read error: Connection reset by peer]
einarj has joined #ruby
CloCkWeRX has joined #ruby
ElFerna_ has joined #ruby
platzhirsch has joined #ruby
askhat has quit [Ping timeout: 256 seconds]
Mon_Ouie has quit [Quit: WeeChat 1.3]
millerti has joined #ruby
patchedmonkey has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest34319 is now known as BLuEGoD
hakunin_ is now known as hakunin
BLuEGoD is now known as Guest24401
duckpuppy has joined #ruby
Yeomra has quit [Ping timeout: 276 seconds]
jam_ has joined #ruby
<shevy> hays do not lose your sanity, stop before it is too late
LuckyABA has joined #ruby
<hays> what?
preyalone has quit [Quit: Connection closed for inactivity]
einarj_ has joined #ruby
LuckyABA has quit [Client Quit]
einarj has quit [Ping timeout: 276 seconds]
troulouliou_dev has joined #ruby
LuckyABA has joined #ruby
ElFerna_ has quit [Ping timeout: 272 seconds]
rsc___ has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
duckpuppy has quit [Ping timeout: 240 seconds]
Ebok has quit [Quit: This computer has gone to sleep]
stannard has quit [Read error: Connection reset by peer]
ltp_ is now known as ltp
askhat has joined #ruby
einarj_ has quit [Read error: Connection reset by peer]
einarj has joined #ruby
tomaz_b has quit [Ping timeout: 240 seconds]
pihpah has quit [Ping timeout: 276 seconds]
intrigueD has quit [Remote host closed the connection]
stannard has joined #ruby
stannard has quit [Remote host closed the connection]
p0p0pr37 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
ss_much has joined #ruby
p0p0pr37 has joined #ruby
einarj has quit [Read error: Connection reset by peer]
einarj has joined #ruby
einarj has quit [Remote host closed the connection]
sankaber has joined #ruby
shellie_ has joined #ruby
Kryptonic has joined #ruby
blur3d has quit [Quit: blur3d]
Ebok has joined #ruby
hays has quit [Ping timeout: 264 seconds]
pibby has joined #ruby
baweaver has joined #ruby
spider-mario has quit [Remote host closed the connection]
hjoest has joined #ruby
last_staff has quit [Quit: last_staff]
Kryptonical has quit [Ping timeout: 260 seconds]
unreal has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JoshGlzBrk has joined #ruby
unreal_ has quit [Ping timeout: 252 seconds]
<Ox0dea> shevy: gem unpack
ziyadb has joined #ruby
drale2k has joined #ruby
<shevy> Ox0dea I am living in the browser matrix
patrick_star_11 has joined #ruby
pibby has quit [Quit: leaving]
patrick_star_11 has quit [Client Quit]
mickey_mouse has joined #ruby
tilllt has joined #ruby
yfeldblum has joined #ruby
stannard has joined #ruby
ropeney has joined #ruby
millerti has joined #ruby
roshanav_ has quit [Read error: Connection reset by peer]
troulouliou_dev has quit [Quit: Leaving]
roshanavand has joined #ruby
askhat_ has joined #ruby
pibby has joined #ruby
askhat has quit [Ping timeout: 248 seconds]
saneax_AFK is now known as saneax
stannard has quit [Read error: Connection reset by peer]
LoneHermit has quit [Remote host closed the connection]
mhoungbo has quit [Ping timeout: 240 seconds]
KnownSyntax has quit [Ping timeout: 276 seconds]
KnownSyntax has joined #ruby
KnownSyntax has quit [Changing host]
KnownSyntax has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
Azure has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hakunin has quit [Read error: Connection reset by peer]
hakunin has joined #ruby
super5h33p has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
super5h33p has left #ruby [#ruby]
dlitvak has quit [Ping timeout: 240 seconds]
LoneHerm_ has joined #ruby
nodejunkie has quit [Quit: Leaving]
davedev2_ has quit []
dlitvak has joined #ruby
<drale2k> Hey guys, i am playing with a GPS tracker from Teltonika (FM1100). I need to parse AVL Data which is sent in hex format
dmolina has joined #ruby
voidDotClass has quit [Ping timeout: 260 seconds]
<drale2k> i have googled a ton but i can't find a ruby lib that parses Teltonika FM1100. Here is an example of data received https://gist.github.com/drale2k/497e49334e4cd80a3da9
mhoungbo has joined #ruby
voidDotClass has joined #ruby
askhat_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Gnut has joined #ruby
firstdayonthejob has quit [Ping timeout: 248 seconds]
finisherr has joined #ruby
ElFerna_ has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]