apeiros_ changed the topic of #ruby-lang to: Ruby 2.2.0; 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste code on http://gist.github.com
<darix> ddd: maybe check out ruboto
kiyote23 has quit [Ping timeout: 244 seconds]
tmi1 has joined #ruby-lang
tmi1 has quit [Remote host closed the connection]
tmi1 has joined #ruby-lang
<ddd> i did check out their core (the irb) and the like from google play. but, since i'm trying to learn multiple languages this year, and i have a java class, I figured i'd go with android's native language
Sadin has quit [Remote host closed the connection]
<ddd> though i know they are absolutely different languages, i'm picking up javascript as well.
ta_ has quit [Ping timeout: 265 seconds]
emmesswhy has quit [Quit: This computer has gone to sleep]
benlovell has joined #ruby-lang
stardiviner has joined #ruby-lang
emmesswhy has joined #ruby-lang
mustmodify has left #ruby-lang [#ruby-lang]
benlovell has quit [Ping timeout: 250 seconds]
micaeked has joined #ruby-lang
bodgix has quit [Ping timeout: 255 seconds]
AmirolAhmad has joined #ruby-lang
AmirolAhmad has quit [Client Quit]
<godd2> ddd: bookmark this if you're taking an academic approach to software: https://www.youtube.com/watch?v=HtSuA80QTyo&list=PLUl4u3cNGP61Oq3tWYp6V_F-5jb5L2iHb&index=1
Lewix has quit [Remote host closed the connection]
<ddd> godd2, idk if its academic approach. i'm doing all the free udemy, codeschool, codecademy, as well as doin theodinproject
omninonsense has joined #ruby-lang
<ddd> trying to educate myself without having to pay for school perse
[spoiler] has quit [Disconnected by services]
omninonsense is now known as [spoiler]
<godd2> That's my approach to learning as well :)
<nofxx_> ot but in this mobile lang talk... thinking about phonegap...anyone using?
<godd2> don't forget Khan Academy
<nofxx_> or avoid ObjC/Java OT
Sadin has joined #ruby-lang
<ddd> i checked out khan and i think its great for the deeper backend general knowledge. like algos and the more academic CS stuff. I'm just more focused on the languages and the 'how do i construct this idea or that idea i got in my head in it?'
wallerdev has joined #ruby-lang
<ddd> godd2, what i'm hating but its just something that goes with the territory, is the setup time. its lost time wrt actually learning (other than learning how TO set up your env)
<ddd> guess its eager beaver syndrome is all hehe
<godd2> I hear you. The sooner you can accept it as something you have to learn and deal with, the better off you'll be
<ddd> some of these SDKs are *huge*, and there's a slew of little toolsets you need to have in place to actually do anything. takes time
<ddd> yepo
<ddd> s/po/p/
<godd2> and you can either choose to spend time learning it now, or intentionally defer learning about setup
<godd2> I tend to take the latter approach ;P
<ddd> yep. i purposefully chose to learn how to set up on different platforms. i chose linux and windows. so i'm doing it twice. but in the end i'll know how to work just about anywhere
<godd2> With Ruby, thankfully, there's a lot of similarity with just a handful of caveats
<ddd> once i knuckle down and get to the actual learning i figure i'll be in a better place. the choice of OS will largely become irrelevant (sp?)
<ddd> yeah
<godd2> but those differences are more the differences in the platforms themselves, rather than something about ruby
<ddd> though i've found more than a few wrt windows hehe
<ddd> yeah exactly
Sadin has quit [Remote host closed the connection]
<ddd> which i guess is something learned in and of itself. what is platform difference and what is the tool being used
phantommm has joined #ruby-lang
<godd2> ddd you'll like this: http://norvig.com/21-days.html
<ddd> also useful to know
<ddd> sec
loincloth has joined #ruby-lang
RbLeif has quit []
<ddd> what *I* am having troubles with is that i've like 20 different things i want to learn this year, and i have a *slew* of courseware, tutorials, etc for each of them. so i'm hacing 'focus' issues.
<ddd> just need to pick one and work through it, then the next, etc. i'm bad at that
<ddd> i dip the toes in several and pay for it hehe
<godd2> I figure, as long as you expose yourself to each, it doesn't matter as much what order it was in
<godd2> to think that way would be too outcome-oriented
tmi1 has quit [Quit: Leaving.]
<ddd> yeah i can see that. for myself it leads to broadness rather than depth of knowledge. that *can* be good, and even useful. but i decided for this year i wanted more than just a middlin' knowledge on several subjects
<ddd> my goal is to learn several languages, and my proof of goal will be a working application in each one thats not just a kludge. something with meat, in each language learned.
loincloth has quit [Ping timeout: 244 seconds]
<ddd> godd2, yeah like it says on that page "So the book can only be talking about a superficial familiarity, not a deep understanding." I want the deeper, not superficial. that means time investment. 2015 is all about that for me at least
red_menace has left #ruby-lang ["Quit"]
<godd2> :) 1 year is a good minimum
<ddd> agreed
Bwild has joined #ruby-lang
<godd2> don't discount the power of breadth though. If you have a lot of anchors for knowledge, later you can dive into something very very deep without getting lost
<ddd> i mean you can learn a *lot* in a year, even spread across multiple languages. but thats just the start. the next year would have to be *all* about OK, now, with each language, what can I actually do with what I know
<ddd> yeah thats where i'm at with ruby atm. i know the syntax, i can read *most* stuff. I can even accomplish pretty much what I want (not so much with rails but getting there). now i want to deepen that knowledge.
<ddd> basically travel towards becoming a zenspider :)
<godd2> ddd then youll have to move to seattle and become a full hipster
<ddd> godd2, checkout theodinproject.com
<ddd> that's my primary tool the first half of the year (they call out to all the others i mentioned but with hyperfocus and reasoning)
<ddd> lol, i'd make a lousy hipster :)
fclausen has joined #ruby-lang
mistym has joined #ruby-lang
Rodya_ has joined #ruby-lang
seank_ has joined #ruby-lang
emmesswhy has quit [Quit: Leaving]
seank_ has quit [Read error: No route to host]
seank_ has joined #ruby-lang
<ddd> godd2, grouse around in there for awhile. be interested in what you think of it
sondr3 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Bwild has quit [Ping timeout: 256 seconds]
seank_ has quit [Ping timeout: 255 seconds]
charliesome has joined #ruby-lang
shinnya_ has quit [Ping timeout: 245 seconds]
rbowlby has joined #ruby-lang
shinnya_ has joined #ruby-lang
ItSANgo has quit [Quit: Leaving...]
fclausen has quit [Ping timeout: 272 seconds]
stamina has joined #ruby-lang
sondr3 has joined #ruby-lang
ur5us has joined #ruby-lang
ledestin has quit [Quit: ledestin]
charliesome has quit [Quit: zzz]
wallerdev has quit [Quit: wallerdev]
ur5us has quit [Ping timeout: 244 seconds]
stamina has quit [Ping timeout: 244 seconds]
charliesome has joined #ruby-lang
loincloth has joined #ruby-lang
ur5us has joined #ruby-lang
loincloth has quit [Ping timeout: 244 seconds]
ItSANgo has joined #ruby-lang
j2p2 has joined #ruby-lang
marr has quit [Ping timeout: 244 seconds]
[spoiler] has quit [Ping timeout: 255 seconds]
micmus has quit [Ping timeout: 245 seconds]
chouhoulis has joined #ruby-lang
ur5us has quit [Ping timeout: 256 seconds]
mattyohe has quit [Quit: Connection closed for inactivity]
phantommm has quit [Quit: Page closed]
imperator has joined #ruby-lang
seank_ has joined #ruby-lang
benten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sondr3 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sondr3 has joined #ruby-lang
seank_ has quit [Ping timeout: 240 seconds]
mattyohe has joined #ruby-lang
unreal has joined #ruby-lang
Doomsdaypoptart has joined #ruby-lang
Bwild has joined #ruby-lang
[spoiler] has joined #ruby-lang
Doomsdaypoptart is now known as SilentNuke
boulder-ruby has quit [Quit: boulder-ruby]
deryl has joined #ruby-lang
deryl has quit [Remote host closed the connection]
ddd has quit [Read error: Connection reset by peer]
rahul_j has joined #ruby-lang
pwnz0r has joined #ruby-lang
j2p2 has quit [Ping timeout: 240 seconds]
rahul_j has quit [Quit: rahul_j]
havenwood has joined #ruby-lang
SilentNu_ has joined #ruby-lang
boulder-ruby has joined #ruby-lang
rahul_j has joined #ruby-lang
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pwnz0r has quit [Remote host closed the connection]
kapil__ has joined #ruby-lang
boulder-ruby has left #ruby-lang [#ruby-lang]
boulder-ruby has joined #ruby-lang
imperator has quit [Quit: Valete!]
benten has joined #ruby-lang
[spoiler] has quit [Quit: Leaving]
wallerdev has joined #ruby-lang
SilentNu_ is now known as SilentNuke_
kiyote23 has joined #ruby-lang
Rodya_ has quit [Quit: Ex-Chat]
slawrence00 has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
boulder-ruby has quit [Quit: boulder-ruby]
kiyote23 has quit [Ping timeout: 265 seconds]
boulder-ruby has joined #ruby-lang
Sadin has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
AngelofSilence has quit [Ping timeout: 246 seconds]
ta_ has joined #ruby-lang
benten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta_ has quit [Ping timeout: 265 seconds]
banister has joined #ruby-lang
oleo is now known as Guest1719
banister has quit [Max SendQ exceeded]
oleo__ has joined #ruby-lang
rahul_j has quit [Read error: Connection reset by peer]
SilentNuke_ has quit []
Guest1719 has quit [Ping timeout: 264 seconds]
SilentNuke has quit [Quit: Till next time!]
Lewix has joined #ruby-lang
Lewix has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
banister has joined #ruby-lang
loincloth has joined #ruby-lang
rbowlby has quit [Remote host closed the connection]
lsegal has joined #ruby-lang
seank_ has joined #ruby-lang
oleo__ has quit [Quit: Verlassend]
nofxx_ has quit [Ping timeout: 255 seconds]
loincloth has quit [Ping timeout: 244 seconds]
oleo__ has joined #ruby-lang
ddd has joined #ruby-lang
oleo__ is now known as oleo
ddd has quit [Client Quit]
ddd has joined #ruby-lang
seank_ has quit [Ping timeout: 244 seconds]
ddd has quit [Client Quit]
nofxx_ has joined #ruby-lang
nisstyre_ is now known as nisstyre
waxjar has joined #ruby-lang
Menorah has joined #ruby-lang
ddd has joined #ruby-lang
ddd has quit [Client Quit]
ddd has joined #ruby-lang
Sadin has quit [Remote host closed the connection]
mcclurmc_ has joined #ruby-lang
Sadin has joined #ruby-lang
ddd has quit [Client Quit]
ddd has joined #ruby-lang
pepperbreath has joined #ruby-lang
mcclurmc has quit [Ping timeout: 245 seconds]
Musashi007 has joined #ruby-lang
shinnya_ has quit [Ping timeout: 244 seconds]
boulder-ruby has quit [Quit: boulder-ruby]
ddd has quit [Client Quit]
ledestin has joined #ruby-lang
ddd has joined #ruby-lang
Sadin has quit [Remote host closed the connection]
joast has joined #ruby-lang
pepperbreath has quit [Quit: Leaving.]
Musashi007 has quit [Quit: Musashi007]
pepperbreath has joined #ruby-lang
yfeldblum has joined #ruby-lang
stardiviner has quit [Ping timeout: 245 seconds]
Asher has quit [Quit: Leaving.]
yfeldblum has quit [Ping timeout: 244 seconds]
Sadin has joined #ruby-lang
loincloth has joined #ruby-lang
kiyote23 has joined #ruby-lang
DivineEntity has quit [Quit: Lost terminal]
loincloth has quit [Ping timeout: 245 seconds]
kiyote23 has quit [Ping timeout: 244 seconds]
ledestin has quit [Quit: ledestin]
maso has joined #ruby-lang
ritek has joined #ruby-lang
ta_ has joined #ruby-lang
yfeldblum has joined #ruby-lang
seank_ has joined #ruby-lang
mattwildig has joined #ruby-lang
iamninja has joined #ruby-lang
ta_ has quit [Ping timeout: 244 seconds]
pwnz0r has joined #ruby-lang
zz_dlu has quit [Ping timeout: 265 seconds]
GaelanAintAround has quit [Ping timeout: 265 seconds]
GaelanAintAround has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
zz_dlu has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
stardiviner has joined #ruby-lang
Sadin has quit [Read error: Connection reset by peer]
Sadin has joined #ruby-lang
onewheelskyward has joined #ruby-lang
rbowlby has joined #ruby-lang
kirin` has quit [Ping timeout: 240 seconds]
mattwildig has quit []
onewheelskyward has left #ruby-lang ["["Textual IRC Client: www.textualapp.com"]"]
pwnz0r has quit [Remote host closed the connection]
pwnz0r has joined #ruby-lang
ledestin has joined #ruby-lang
kirin` has joined #ruby-lang
revath has joined #ruby-lang
pwnz0r has quit [Ping timeout: 244 seconds]
loincloth has joined #ruby-lang
mcclurmc_ has quit [Remote host closed the connection]
banister has quit [Read error: No route to host]
sondr3 has quit [Quit: Textual IRC Client: www.textualapp.com]
loincloth has quit [Ping timeout: 244 seconds]
guard has joined #ruby-lang
<guard> Hey guys, can someone explain me what `payload.level == 0` and `payload.level > 0` translate to in this case https://github.com/LIFX/lifx-gem/blob/master/lib/lifx/light.rb#L123,L127
xcesariox has joined #ruby-lang
zz_dlu has quit [Read error: Connection reset by peer]
GaelanAintAround has quit [Read error: Connection reset by peer]
<micaeked> guard: See documentation on the #send_message! method (line 377). "@param block: [Proc] the block that is executed when the expected `wait_for` payload comes back. If the return value is false or nil, it will try to send the message again."
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
GaelanAintAround has joined #ruby-lang
zz_dlu has joined #ruby-lang
shubhamgoyal has quit [Remote host closed the connection]
banister has joined #ruby-lang
<guard> My question is really how to translate the specific assignments (as they look like). Does the payload.level reference back to the payload given? And how does this expression work? :-)
<guard> Oh and I forgot; I'm a JavaScript developer, so Ruby is not my strongest language when it comes to different syntax differences :-)
Asher has joined #ruby-lang
ddd has quit [Read error: No route to host]
klmlfl has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
shubhamgoyal has joined #ruby-lang
<micaeked> guard: Hmm... Don't know.
<guard> Thought it was some Ruby thing, but I can't seem to find anything about this special "expression operator assignment" thing
<micaeked> guard: which operator?
<guard> The > and ==
<guard> Which looks like doing an assignment (which makes no sense to me)
<micaeked> guard: Those are compares. Ie "greater than" and "equal to"
<guard> Yes, but in this case they look like assignments
fclausen has joined #ruby-lang
<guard> But like assign this to x if greater than
<SHyx0rmZ> they really are the return values of the block in this case
<guard> It's not valid JavaScript
<guard> So true/false, right?
<SHyx0rmZ> so it's like return payload.level == 0
<SHyx0rmZ> yes
<micaeked> guard: Umm... no? Those are just compares. Not sure why it looks like an assignment to you.
benten has joined #ruby-lang
<guard> Yeah, I came to same conclusion, thanks :-)
<guard> I know they're compares, but in this case it wasn't clear to me wether they were returns
<guard> or some special magic ruby thing
<guard> But I realise they're in a block
TvL2386 has joined #ruby-lang
symm- has quit [Ping timeout: 244 seconds]
Asher has quit [Quit: Leaving.]
<guard> Thanks for the help, guys :-)
centrx has joined #ruby-lang
ruby-lang850 has joined #ruby-lang
loincloth has joined #ruby-lang
fclausen has quit [Ping timeout: 272 seconds]
kapil__ has quit [Quit: Connection closed for inactivity]
ruby-lang850 has quit [Ping timeout: 246 seconds]
loincloth has quit [Ping timeout: 264 seconds]
mistym has quit [Remote host closed the connection]
bousquet has joined #ruby-lang
charliesome has quit [Quit: zzz]
mcclurmc has joined #ruby-lang
guard has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
guard has joined #ruby-lang
koderok has joined #ruby-lang
rbowlby has quit [Remote host closed the connection]
mcclurmc has quit [Ping timeout: 264 seconds]
rahul_j has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
|jemc| has quit [Quit: WeeChat 1.0.1]
koderok has quit [Read error: Connection reset by peer]
koderok has joined #ruby-lang
koderok has quit [Client Quit]
Lewix has quit [Remote host closed the connection]
iamninja has quit [Remote host closed the connection]
maso has quit [Remote host closed the connection]
iamninja has joined #ruby-lang
pwnz0r has joined #ruby-lang
AKASkip has joined #ruby-lang
shubhamgoyal has quit [Remote host closed the connection]
rahul_j has quit [Quit: rahul_j]
yfeldblu_ has joined #ruby-lang
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
shubhamgoyal has joined #ruby-lang
mistym has joined #ruby-lang
yfeldblu_ has quit [Ping timeout: 255 seconds]
kapil__ has joined #ruby-lang
AKASkip has quit [Ping timeout: 245 seconds]
shubhamgoyal has quit [Remote host closed the connection]
shubhamgoyal has joined #ruby-lang
Menorah has quit [Quit: This computer has gone to sleep]
loincloth has joined #ruby-lang
Bwild has quit [Ping timeout: 255 seconds]
guard has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
solars has joined #ruby-lang
shubhamgoyal has quit [Remote host closed the connection]
ddd has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
loincloth has quit [Ping timeout: 240 seconds]
lektrik has joined #ruby-lang
shubhamgoyal has quit [Ping timeout: 245 seconds]
mattyohe has quit [Quit: Connection closed for inactivity]
koderok has joined #ruby-lang
koderok has quit [Client Quit]
rbowlby has joined #ruby-lang
centrx has quit [Quit: Science is organized knowledge, wisdom is organized life.]
fusillicode has joined #ruby-lang
rbowlby has quit [Ping timeout: 265 seconds]
fusillicode has quit [Ping timeout: 245 seconds]
micmus has joined #ruby-lang
amclain has quit [Quit: Leaving]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta_ has joined #ruby-lang
ta_ has quit [Ping timeout: 244 seconds]
oak1 has quit [Remote host closed the connection]
rahul_j has joined #ruby-lang
fusillicode has joined #ruby-lang
Musashi007 has joined #ruby-lang
duderonomy has quit [Ping timeout: 272 seconds]
fusillicode has quit [Ping timeout: 264 seconds]
bousquet has quit []
charliesome has joined #ruby-lang
shinnya_ has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
yfeldblum has joined #ruby-lang
rbrs has joined #ruby-lang
nofxx_ has quit [Ping timeout: 255 seconds]
shubhamgoyal has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 240 seconds]
shubhamgoyal has joined #ruby-lang
fusillicode has joined #ruby-lang
SilentNuke has joined #ruby-lang
SilentNuke has quit [Client Quit]
<pepperbreath> can a hash value refer to another hash value (yaml)
lsegal has quit [Read error: Connection reset by peer]
fusillicode has quit [Ping timeout: 256 seconds]
lsegal has joined #ruby-lang
loincloth has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
loincloth has quit [Ping timeout: 250 seconds]
<maloik> sure, just nest the keys
micmus has quit [Ping timeout: 264 seconds]
rahul_j has quit [Quit: rahul_j]
fusillicode has joined #ruby-lang
fusillicode has quit [Ping timeout: 265 seconds]
<pepperbreath> this would be my example
ta_ has joined #ruby-lang
Musashi007 has joined #ruby-lang
rahul_j has joined #ruby-lang
rbowlby has joined #ruby-lang
ta_ has quit [Ping timeout: 244 seconds]
fusillicode has joined #ruby-lang
benten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fusillicode has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby-lang
<yorickpeterse> morning
benlovell has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
ledestin has quit [Quit: ledestin]
benten has joined #ruby-lang
fusillicode has joined #ruby-lang
pwnz0r has quit [Remote host closed the connection]
pwnz0r has joined #ruby-lang
Sadin has quit [Remote host closed the connection]
pwnz0r has quit [Ping timeout: 256 seconds]
Musashi007 has quit [Quit: Musashi007]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
<maloik> pepperbreath: did you figure it out?
cycorld has joined #ruby-lang
<cycorld> Hi
Musashi007 has joined #ruby-lang
jdecuirm has quit [Ping timeout: 240 seconds]
benlovell has quit [Ping timeout: 245 seconds]
grekko has joined #ruby-lang
donove has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
jdecuirm has joined #ruby-lang
Musashi007 has joined #ruby-lang
<ljarvis> moin
<ljarvis> somebody slept in
<maloik> so lazy
<ljarvis> such tired
ta_ has joined #ruby-lang
iamninja has quit [Remote host closed the connection]
<yorickpeterse> ljarvis: salcker
<yorickpeterse> * slacker
<ljarvis> yarly
<ljarvis> my 2015 has not been productive
iamninja has joined #ruby-lang
<maloik> :D
<maloik> I'm already at the office :(
<ljarvis> I went to my office 3 times in the last 6 months
ta_ has quit [Ping timeout: 244 seconds]
<maloik> one would start to question your love for trains...
<maloik> :P
<ljarvis> I love trains, offices are my problem :P
Musashi007 has quit [Quit: Musashi007]
yfeldblum has joined #ruby-lang
kiyote23 has joined #ruby-lang
iamninja has quit [Quit: ZZZzzz…]
yfeldblum has quit [Ping timeout: 250 seconds]
<maloik> :-)
kiyote23 has quit [Ping timeout: 244 seconds]
AKASkip has joined #ruby-lang
micmus has joined #ruby-lang
marr has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
duderonomy has joined #ruby-lang
banister has quit [Ping timeout: 240 seconds]
Criztian has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
loincloth has joined #ruby-lang
Criztian has joined #ruby-lang
banister has joined #ruby-lang
ta_ has joined #ruby-lang
loincloth has quit [Ping timeout: 265 seconds]
rbrs has quit [Quit: Leaving]
ta_ has quit [Ping timeout: 255 seconds]
dellavg_ has joined #ruby-lang
rbrs has joined #ruby-lang
mistym has quit [Remote host closed the connection]
cornerma1 has joined #ruby-lang
gregf__ has quit [Quit: Lost terminal]
cornerman has quit [Ping timeout: 240 seconds]
cornerma1 is now known as cornerman
stardiviner has quit [Ping timeout: 256 seconds]
benten has quit [Quit: ...]
<pepperbreath> @maloik: nope :/
<pepperbreath> but had lunch in the meantime :D
<tbuehlmann> moin
<matti> :>
<pepperbreath> @maloik: will try it out
<apeiros_> lunch
<apeiros_> what a jolly good idea
<ljarvis> its too early but i am hungreez
<apeiros_> oh hi wizard :)
<ljarvis> do I spend the day moving all my email or actually doing work
<pepperbreath> @malok yaml[:foo][:key][:anotherkey] is been seen as a string.
davs has joined #ruby-lang
<ljarvis> pepperbreath: protip: if you start typing the users name then hit tab, it'll autocomplete. This means you don't have to concern yourself with spelling it correctly, and avoids the possibility that they won't be notified about your message
<ljarvis> if it doesn't work, your irc client needs to go in the trash
yfeldblum has joined #ruby-lang
ddd has quit [Ping timeout: 245 seconds]
gregf_ has joined #ruby-lang
<pepperbreath> hmm.. I think the actual problem is that I didnt mention that the whole thing a puppet thingy is. (yam/hiera)
<maloik> I'm not sure what you mean by "is been seen as a string"
yfeldblum has quit [Ping timeout: 265 seconds]
<maloik> !pm
<maloik> do we have one of those "dont pm people" command thingies in here? :-)
<ljarvis> no we dont have a general bot anymore
rahul_j has quit [Ping timeout: 245 seconds]
<maloik> you added quotes around it
<pepperbreath> no quotes
rahul_j has joined #ruby-lang
<maloik> if the lines with - and + are from your diff, yes, you did
<maloik> also really not sure what's going on in the 3rd line of your pastebin, is that in your yaml file?
<pepperbreath> yaml1 is a node.
<pepperbreath> this node could have a service. but only if the service::dir_pwd has a value
<maloik> I think your understanding of either hashes or yaml is just off, maybe both... read up on them, play around in irb instead of directly in puppet until you understand it
<ljarvis> pepperbreath: ask in #puppet their YAML files are messed up
<ljarvis> maloik: no this is puppet specific
<maloik> oh :op
<maloik> :o
<ljarvis> it's made me pull my hair out numerous times too
<matti> Puppet :(
<maloik> they have a puppet specific yaml format? oO
<ljarvis> no not exactly, but you can point to other config values by using stuff like "%{some::config}"
<maloik> oh I see
<ljarvis> their hiera config is complex and makes me want to pull my face apart
<matti> Haha
<maloik> I think I'm going to spend some time learning about chef in the next few weeks/months
<ljarvis> maloik: are you going to fosdem?
<maloik> long overdue
<pepperbreath> maybe my way of thinking is wrong. need to rethink this
<maloik> possibly, a friend is the ruby room organizer
<ljarvis> pepperbreath: honestly, join #puppet they're helpful
<pepperbreath> thought to ask here first because of yaml/ruby.. but #puppet seems the better idea in then
<ljarvis> this has little to do with Ruby tbh, which is unfortunate but puppet makes it that way
<maloik> but look at line 12 in his pastebin
<maloik> it really looks as if he's just added quotes around it...
stamina has joined #ruby-lang
<matti> ljarvis: I think, they are planning native C++ client.
<ljarvis> matti: puppet?
<matti> Yes.
<ljarvis> That's like covering poop with poop
<matti> I will just keep my eye on CVEs related to buffer overflows and privilage escalations :)
<ljarvis> hah
<maloik> I feel like the chef ecosystem isn't horrible to be a part of then :) quite enjoying what they're up to
<matti> Nothing like text/string handling in C++
<ljarvis> I like chef, but I feel like all of these tools don't really have great learning material. Chef changes a lot between versions
<matti> ljarvis: IIRC, pupptemaster is going to get a facelift with Clojure (or somethimg like that).
<ljarvis> oO
<pepperbreath> heard about that
<pepperbreath> with puppet server 1.0
<matti> ljarvis: Chef is also changing too quick - main reason why documentation is not keeping up (the usual problem).
<maloik> in my case, learning would just be spending time with colleagues building stuff we need
<maloik> so that's not too bad
<matti> maloik: I am happy to help if you have questions :)
<matti> maloik: Since Chef has me on payrol.
<maloik> cool, what do you do?
<matti> Depends on the day.
charliesome has quit [Quit: zzz]
stardiviner has joined #ruby-lang
loincloth has joined #ruby-lang
loincloth has quit [Ping timeout: 244 seconds]
micaeked has quit [Quit: WeeChat 1.0.1]
benlovell has joined #ruby-lang
<ljarvis> lol I signed up to the CPAN pull request challenge and my first project hasn't been updated for 3 years
charliesome has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
yfeldblum has joined #ruby-lang
chinmay_dd has joined #ruby-lang
yfeldblum has quit [Ping timeout: 255 seconds]
charliesome has quit [Quit: zzz]
fclausen has joined #ruby-lang
skade has joined #ruby-lang
rbowlby has quit [Remote host closed the connection]
stamina has quit [Quit: WeeChat 1.0.1]
arBmind has joined #ruby-lang
ta_ has joined #ruby-lang
fclausen has quit [Ping timeout: 272 seconds]
benlovell has quit [Ping timeout: 255 seconds]
yock has joined #ruby-lang
ta_ has quit [Ping timeout: 244 seconds]
yock has quit [Ping timeout: 265 seconds]
grekko has quit [Quit: Textual IRC Client: www.textualapp.com]
chills42 has joined #ruby-lang
loincloth has joined #ruby-lang
postmodern has quit [Quit: Leaving]
loincloth has quit [Ping timeout: 244 seconds]
<maloik> matti: well of course it does, but I mean in general? or do you work on everything opscode does
Criztian has quit []
<yorickpeterse> Isn't Puppet moving to Clojure?
<yorickpeterse> oh, matti mentioned that
yfeldblum has joined #ruby-lang
<matti> ;]
jphenow has quit [Quit: Be back later ...]
<matti> maloik: Depends, from support to working on the client.
<matti> maloik: Chef in the UK is like a tiny startup, so pretty much everything that needs to be done.
<yorickpeterse> http://www.code2014.com/ yay my algol tweet made it into these stats
arBmind has quit [Quit: Leaving.]
yfeldblum has quit [Ping timeout: 264 seconds]
<maloik> matti: opscode doesn't work as a global team?
<matti> maloik: There is no Opscode any more. Just "Chef".
<matti> maloik: And, I am not sure what do you mean?
<maloik> Well you wrote "chef in the uk" so that sounds like you don't have a lop of overlap in terms of responsibilities/stuff being worked on with the US team
<matti> What gives you this impression?
<maloik> Only your distinction "chef in the uk" :-) could be nothing more than an impression, that's why I asked
<matti> I am in the UK, and there is Chef in the UK ;p
<matti> I cannot be employed by Chef in the US being in the UK due to legal reason, etc. ;p
<matti> Other that than, no real distinction.
<maloik> gotcha :-)
<matti> :)
<matti> I think, the spirit of the company is for people to be remote and work from home.
<matti> As long as you have connectivity, you might be in Kuala Lumpur.
<matti> ;]
<maloik> yep
<maloik> I wish everyone thought that way
<matti> For me, this is the first company like this.
rahul_j has joined #ruby-lang
<matti> Very liberating.
stardiviner has quit [Ping timeout: 244 seconds]
benlovell has joined #ruby-lang
jphenow has joined #ruby-lang
<ljarvis> yeah, we're entirely remote (and hiring!)
<ljarvis> well, not entirely.. I have been to the office 3 times in the last 6 months as previously pointed out
<yorickpeterse> what is this recruiting business going on here
<ljarvis> nothing to see here sir
<yorickpeterse> ljarvis: but does your office look as cool and empty as mine did last Wednesday :P
<yorickpeterse> + ?
<ljarvis> yorickpeterse: I wouldn't know
<yorickpeterse> bro do you even check my tweets
<yorickpeterse> "no you complain too much"
<ljarvis> I meant I wouldn't know what our office looks like during that time :D
<ljarvis> I saw your tweet
<ljarvis> our office is rarely empty, hence me disliking it
<yorickpeterse> oh right
<yorickpeterse> heh
<ljarvis> so that picture to me, is a great environment
<yorickpeterse> There's a whopping 4 people in today
<yorickpeterse> and our office is...100m2?
<yorickpeterse> well, probably something like 80x30 or something like that
<ljarvis> slackers
<ljarvis> my office is 10 by 8
konr has joined #ruby-lang
[spoiler] has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
rahul_j has joined #ruby-lang
<yorickpeterse> my home office is 20-30m2
ta_ has joined #ruby-lang
<yorickpeterse> but it has an Aeron chair and a fancy desk
<yorickpeterse> and I have an office cat
* yorickpeterse wants an office cat at the actual office :<
maso has joined #ruby-lang
<yorickpeterse> but sadly one of my bosses is alergic to basically everything
<ljarvis> sounds like you need less boss and more cat
<ljarvis> im not a cat person (*gasp*) btu i would love an office dog
<yorickpeterse> oh yeah, I want a German Shepherd :<
<yorickpeterse> or a fucking wolf
<godd2> ljarvis what if you have both: http://www.businesscat.happyjar.com/
<yorickpeterse> "This is Alfred, he's my pet wolf"
arBmind has joined #ruby-lang
arBmind has quit [Client Quit]
<maloik> I want a proper chair as well :(
<yorickpeterse> maloik: Aeron chairs are only 1500 Euros
<maloik> they have cheaper models at 400-500 as well which is somewhat affordable
<ljarvis> godd2: :D
<maloik> but if I get one at the office I know I'll want one for home as well, and I don't wanna spend that money right now
<maloik> same goes for a proper monitor
<maloik> actually, I think I'd have to really bug my bosses for both first... something I'm not looking forward to
<maloik> it seems they don't care much about our backs or eyes
<matti> ljarvis: Where do you work? ;]
<yorickpeterse> well, I got one at home because my back is worth more than 1500 Euros
<yorickpeterse> At the office my bosses would love to have them but we simply can't afford it
<matti> I think, in past year I've been to the office handful of times too.
<yorickpeterse> and I'm not going to carry my chair to the office every day
ta_ has quit [Ping timeout: 244 seconds]
<yorickpeterse> unrelated, I have a nice "brainteaser":
<yorickpeterse> I have a class in the form "B < A", both A and B define method "foo". I want all method calles from A (and up) to be routed to "A#foo", while method calls to "foo" in "B" to be routed to "B#foo"
<ljarvis> matti: loco2.com
<yorickpeterse> how is this possibru
<yorickpeterse> The code in "B" refers to "foo" simply by its name, it's not prefixed with anything
<yorickpeterse> errr A
<matti> Haha
<matti> ljarvis: I like how a little hamster is an icon for the "Jobs" link ;]
<yorickpeterse> context: ActiveRecord::Base has a "connection" method on instance level, my model has an AR relation called "connection"
<yorickpeterse> this of course fucks up everything
<ljarvis> matti: :)
<yorickpeterse> and I can't upgrade to 4.2
<ljarvis> yorickpeterse: we faced that too, used _connection :(
<yorickpeterse> ljarvis: I'm using "review_connection" now, but I cbf renaming everything
<yorickpeterse> I guess I could overwrite the method and look at the call stack to see where it originates from, but that's the wurst hack
yfeldblum has joined #ruby-lang
<yorickpeterse> Hm, maybe I could return a delegate
loincloth has joined #ruby-lang
<yorickpeterse> Hmpf, I'd have to return a delegator to two objects
<yorickpeterse> haha this might actually work
yfeldblum has quit [Ping timeout: 255 seconds]
arBmind has joined #ruby-lang
loincloth has quit [Ping timeout: 255 seconds]
rahul_j has quit [Quit: rahul_j]
<yorickpeterse> Hmpf, it does but this will probably break in other ways anyway
<yorickpeterse> ugh, time to rename things
charliesome has joined #ruby-lang
<matti> I wonder if having a cat is a thing among Rubyists ;]
<yorickpeterse> https://eval.in/238956 amazing
<ljarvis> >> File.dirname("//foo")
<eval-in__> ljarvis => "/" (https://eval.in/238957)
<ljarvis> >> File.dirname("/////foo/bar/baz")
<eval-in__> ljarvis => "/foo/bar" (https://eval.in/238958)
kiyote23 has joined #ruby-lang
chouhoulis has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
Sgeo has quit [Read error: Connection reset by peer]
chinmay_dd has quit [Read error: Connection reset by peer]
Sgeo has joined #ruby-lang
kiyote23 has quit [Ping timeout: 250 seconds]
rahul_j has joined #ruby-lang
stardiviner has joined #ruby-lang
ta_ has joined #ruby-lang
chinmay_dd has joined #ruby-lang
ta_ has quit [Ping timeout: 265 seconds]
malconis has joined #ruby-lang
revath has quit [Ping timeout: 256 seconds]
banister has quit [Ping timeout: 244 seconds]
<chills42> no idea if I reported it right, but I just ran into a problem on 2.2.0 with Tempfile.new https://bugs.ruby-lang.org/issues/10690
chinmay_dd has quit [Read error: Connection reset by peer]
<ljarvis> chills42: it only takes 2 arguments, it's not a bug
Bwild has joined #ruby-lang
<ljarvis> check out the documentation, it expects 1-2 arguments, and keyword args
<ljarvis> basename, tmpdir=nil, **options
<yorickpeterse> He's correct in that the snippet _does_ work on 2.1 though
<chills42> ahh... crap, when I did a search I ended up on the 2.2.0.preview1 docs, which matched the old
<ljarvis> that doesn't make it a bug
<yorickpeterse> I know, it's a violation of the public API :P
<yorickpeterse> but hey, this is MRI and their crazy ass versioning policy
<ljarvis> yeah, but we could spend all day picking those out
ItSANgo has quit [Read error: Connection reset by peer]
<chills42> Thanks for pointing it out though
ItSANgo has joined #ruby-lang
<ljarvis> chills42: definitely looks like they've messed around with stuff, but not really worth discussing docs for the preview since it's not final
<ljarvis> I commend you on pointing it out and not ignoring it, though :)
<chills42> right, I understand, just noting the confusion
kirin` has quit [Ping timeout: 240 seconds]
<ljarvis> yorickpeterse: it's as if we should have some kind of global spec we should adhear to..
<chills42> ljarvis: lol... yeah
<yorickpeterse> No, just don't fix your release schedule to fucking Christmas
<yorickpeterse> or "special events"
<ljarvis> but it's tradition
kirin` has joined #ruby-lang
Bwild has quit [Ping timeout: 256 seconds]
<yorickpeterse> and don't break shit on minor versions
rbrs has quit [Quit: rbrs]
<yorickpeterse> In unrelated news, I'm updating this almost-5-year-old app so it can run on Pg
<yorickpeterse> the shit you find when doing this
Lewix has joined #ruby-lang
<yorickpeterse> e.g. we have this scoring system, sort of Google page rank, which is normally company wide
<yorickpeterse> Now here I'm looking at some code which is calculating and storing it on a per review basis
<yorickpeterse> We've not been doing this in the past 2,5 years at least, yet there's tests for it
<yorickpeterse> and of course the tests themselves are lacking, so I don't even know if I can just nuke this code
stardiviner has quit [Ping timeout: 244 seconds]
yock has joined #ruby-lang
cmisenas has joined #ruby-lang
yfeldblum has joined #ruby-lang
<yorickpeterse> and then I find shit like this: https://gist.github.com/YorickPeterse/f43b2f2c615e79e8e120
<yorickpeterse> (no, the method doesn't have any other docs)
<yorickpeterse> щ(゚д゚щ)
maso has quit [Remote host closed the connection]
<bradland> psh
<bradland> once upon a time, one of my old clients hired a PHP guy to “add reporting” to a Rails app
yock has quit [Ping timeout: 265 seconds]
<bradland> i *wish* i could gist the code
<bradland> oh god do i wish i could gist it
yfeldblum has quit [Ping timeout: 265 seconds]
<bradland> wc -l app/controllers/admin/reports_controller.rb => 1642 app/controllers/admin/reports_controller.rb
<ljarvis> they won't mind
Hanmac has quit [Ping timeout: 265 seconds]
symm- has joined #ruby-lang
loincloth has joined #ruby-lang
TvL2386 has quit [Quit: Ex-Chat]
<yorickpeterse> Also there's this weird bug in our Emailing setup
<yorickpeterse> It sometimes sends half of my Emails in a random language
<yorickpeterse> So I send 20 reports, 16 are in English, 4 in Dutch
<yorickpeterse> sometimes they're all in English
<yorickpeterse> Sometimes it's evenly divided
<yorickpeterse> something something smells like a race condition
<ljarvis> oO
<yorickpeterse> wait, a race condition isn't even possible
<yorickpeterse> since we run Unicorn in single-threaded mode
<yorickpeterse> (because herp)
<yorickpeterse> bradland: hahaha that first one
<bradland> that’s line 24 of over 1600 lines of code
<yorickpeterse> theNumber
<yorickpeterse> theString
<tbuehlmann> hilarious
<bradland> and it goes down hill from there
<yorickpeterse> I love variables like that
<bradland> lol
<ljarvis> mother of god
<maloik> oh god :D
<bradland> i literally almost cried when I saw the commit
<yorickpeterse> well given this is a PHP person it's not surprising, that's how you typically generate HTML in PHP
<bradland> the repo was still under my account
bg451 has joined #ruby-lang
<bradland> the guy made zero effort to grok rails
<yorickpeterse> bradland: wait, so you're still working on this app?
<bradland> i ended up convincing them to fire the guy
<bradland> and hire a new dev
<ljarvis> "we hired a java guy instead"
<bradland> never got this controller replaed though
<yorickpeterse> heh
<yorickpeterse> String(thisBuildingAverage.round)
<yorickpeterse> hahahaha
<tbuehlmann> well, I mean, could've been worse, right?
loincloth has quit [Ping timeout: 264 seconds]
<tbuehlmann> right?
<bradland> two issues 1) no developer will touch it, and 2) they don’t want to pay/participate in the rebuild
<yorickpeterse> bradland: I can beat this though, give me a second
<ljarvis> stuff like this usually isn't too time consuming to clear up tbh
<ljarvis> lots of repetative code
<bradland> it is utterly opaque
<bradland> i wish i could post it in totality
<bradland> it’s >1600 lines of stream of conciousness PHP-like ruby stuffed in a controller
<bradland> no rubyist even wants to read it lol
<bradland> i think they’re afraid it will damage them somehow
<bradland> what sucks is, this is (otherwise) a very cool app
bg451 has quit [Remote host closed the connection]
<ljarvis> well it's damaged me and that's only a snippet
<bradland> lol
<yorickpeterse> ^ code has since been nuked for reasons you'll probably find
<yorickpeterse> and this was _after_ we reformatted a whole bunch of classes like this
<apeiros_> yorickpeterse: re reports & languages - from within rails?
<bradland> shiiiiiiiit, i win on method line-count alone
mcclurmc has joined #ruby-lang
<yorickpeterse> apeiros_: Yes
<yorickpeterse> bradland: oh yeah, these people never heard of whitespace
<bradland> heh, i win on the fact that I can’t even _identify_ the methods in this code
<yorickpeterse> they applied Gzip style compression to the code :P
<apeiros_> yorickpeterse: we had something like that, where we noticed that I18n.locale didn't go back to default_locale after a request.
<bradland> one-liners for everyone!
<yorickpeterse> bradland: check like 39
<bradland> eval baby!
<apeiros_> not sure in what rails version it was. but try setting the I18n.locale explicitly. it might pick up the locale of whatever the last request was.
<bradland> what could go wrong?
<yorickpeterse> apeiros_: 3.0.something, it's getting out of the door soon anyway
<ljarvis> it's beautiful
<yorickpeterse> bradland: it actually caused syntax errors in production when Google+ changed
<yorickpeterse> so I was like "what the fuck that's not possible, it shouldn't boot up in the first place"
<yorickpeterse> "oh...eval()"
<bradland> you sure the author didn’t have some kind of agreement for providing google a backdoor in to your app? lol
cmisenas has quit [Ping timeout: 244 seconds]
<yorickpeterse> certainly looks like that
<yorickpeterse> we fired them 1,5 years ago anyway
maso has joined #ruby-lang
<yorickpeterse> now here I am grepping for every method in a module to see if it's used anywhere outside of the module itself
<yorickpeterse> ._.
* apeiros_ looks at ur/web
<bradland> wrap it in a system call and stuff it in a test
<bradland> no one will notice roffle
<apeiros_> languages which use `fun` as keyword to define functions are fun.
<ljarvis> im unconvinced
<yorickpeterse> rb_funcall2
mcclurmc has quit [Ping timeout: 244 seconds]
<apeiros_> ljarvis: of ur/web?
<ljarvis> apeiros_: na I haven't really looked at it
<ljarvis> I played with nim a bit yesterday
cmisenas has joined #ruby-lang
Hanmac has joined #ruby-lang
<apeiros_> nim? is that related to nimrod?
<ljarvis> yeah it was renamed
<apeiros_> oh
<apeiros_> marketing!
<apeiros_> well, next language I learn is C++ anyway :-/
<yorickpeterse> apeiros_: shall I note down your last will while we're at it?
red_menace has joined #ruby-lang
<apeiros_> my notary already has that, thank you :)
<ljarvis> apeiros_: why c++?
rahul_j has quit [Quit: rahul_j]
<apeiros_> so far C++ seems not to be all that bad. but then again, I only dabbled in the most primitive stuff to get the tiny arduino samples to run.
<apeiros_> ljarvis: two reasons: arduino and the big G
<ljarvis> I learned c++ before Ruby, it's not *that* bad, but it's not very fun
<yorickpeterse> "author .... Fri Mar 4 16:03:20 2011 +0100"
<yorickpeterse> ._.
<yorickpeterse> There's this "odd" pattern where everybody always committed their shit on Friday
<yorickpeterse> with the message "end of day commit"
<bradland> policy driven development
<apeiros_> yorickpeterse: that's nicer than our "WIP" commits :)
<yorickpeterse> I have plenty of those too
<ljarvis> does anyone here have a HTC one?
<yorickpeterse> Hm, first commit from October 2010
<yorickpeterse> so little over 4 years old
<tbuehlmann> ljarvis, guilty
<yorickpeterse> man, the branching graphs are also amazing
rahul_j has joined #ruby-lang
<yorickpeterse> and this is one of the better ones
tkuchiki has joined #ruby-lang
<tbuehlmann> yorickpeterse, looks like music to me
tkuchiki has quit [Remote host closed the connection]
<yorickpeterse> heh
<yorickpeterse> music of hell
tkuchiki has joined #ruby-lang
ta_ has joined #ruby-lang
tkuchiki has quit [Ping timeout: 240 seconds]
ta_ has quit [Ping timeout: 265 seconds]
j2p2 has joined #ruby-lang
<yorickpeterse> hahahaha
<yorickpeterse> some of this code depends on methods that have not existed in a long time
<yorickpeterse> But for some reason that worked when we were using Mongoid
<yorickpeterse> probably because it delegates it to method_missing
<yorickpeterse> I cry evry tiem
stardiviner has joined #ruby-lang
rbowlby has joined #ruby-lang
stardiviner has quit [Ping timeout: 240 seconds]
loincloth has joined #ruby-lang
rbowlby has quit [Ping timeout: 244 seconds]
cmisenas has quit [Ping timeout: 240 seconds]
mattyohe has joined #ruby-lang
yfeldblum has joined #ruby-lang
<unreal> Would anyone be able to quickly recommend a decent "modern" book?
cmisenas has joined #ruby-lang
Asher has joined #ruby-lang
<yorickpeterse> about what?
slawrence00 has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
yalue has joined #ruby-lang
chouhoulis has joined #ruby-lang
jxie has quit [Ping timeout: 244 seconds]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
diegoviola has joined #ruby-lang
jxie has joined #ruby-lang
tenderlove has joined #ruby-lang
Menorah has joined #ruby-lang
oleo has quit [Ping timeout: 250 seconds]
oleo has joined #ruby-lang
j2p2 has quit [Ping timeout: 240 seconds]
j2p2 has joined #ruby-lang
yock has joined #ruby-lang
cmhobbs has joined #ruby-lang
cmhobbs has quit [Changing host]
cmhobbs has joined #ruby-lang
benlovell has quit [Ping timeout: 244 seconds]
cmisenas has quit [Ping timeout: 240 seconds]
cmisenas has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
rahul_j has joined #ruby-lang
cmisenas has quit [Client Quit]
jxie has quit [Ping timeout: 244 seconds]
jxie has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
ta_ has joined #ruby-lang
<unreal> yorickpeterse: I thought it would have been obvious?
Lewix has joined #ruby-lang
rbrs has joined #ruby-lang
ta_ has quit [Ping timeout: 244 seconds]
nunayerBeezwax has joined #ruby-lang
kapil__ has quit [Quit: Connection closed for inactivity]
mostlybadfly has quit []
mostlybadfly has joined #ruby-lang
<nunayerBeezwax> after adding an api wrapper gem to a non-rails ruby project i receive this error "undefined method `logger' for Rails:Module (NoMethodError)" which is generated by the line from the gem "self.logger ||= configuration.logger || (defined?(Rails) ? Rails.logger : Logger.new(STDOUT))" help?
charliesome has quit [Quit: zzz]
yfeldblum has joined #ruby-lang
prater__ has joined #ruby-lang
mcclurmc has joined #ruby-lang
prater__ has left #ruby-lang [#ruby-lang]
yfeldblum has quit [Ping timeout: 255 seconds]
boulder-ruby has joined #ruby-lang
|jemc| has joined #ruby-lang
maso has quit [Remote host closed the connection]
revath has joined #ruby-lang
ta_ has joined #ruby-lang
Asher has quit [Quit: Leaving.]
revathskumar has joined #ruby-lang
revath has quit [Read error: Connection reset by peer]
ta_ has quit [Ping timeout: 244 seconds]
boulder-ruby has quit [Quit: boulder-ruby]
boulder-ruby has joined #ruby-lang
Sadin has joined #ruby-lang
aef_ has quit [Remote host closed the connection]
aef has joined #ruby-lang
dagda1__ has quit [Ping timeout: 250 seconds]
dagda1_ has joined #ruby-lang
nofxx_ has joined #ruby-lang
nofxx_ has quit [Changing host]
nofxx_ has joined #ruby-lang
revathskumar has quit [Read error: Connection reset by peer]
chills42 has quit [Remote host closed the connection]
Sadin has quit [Remote host closed the connection]
ta_ has joined #ruby-lang
<ljarvis> nunayerBeezwax: does "Rails.logger" work with the same rails version?
chills42 has joined #ruby-lang
hellome has joined #ruby-lang
ta_ has quit [Ping timeout: 244 seconds]
g0bl1n has joined #ruby-lang
g0bl1n has joined #ruby-lang
yfeldblum has joined #ruby-lang
kiddorails has joined #ruby-lang
michaeldeol has joined #ruby-lang
michaeldeol has quit [Client Quit]
wallerdev has joined #ruby-lang
kiddorails has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 255 seconds]
diegoviola has quit [Quit: WeeChat 1.0.1]
kiddorails has joined #ruby-lang
kiddorails has quit [Remote host closed the connection]
kiyote23 has joined #ruby-lang
Mellett68 has quit [Remote host closed the connection]
Mellett68 has joined #ruby-lang
diegoviola has joined #ruby-lang
setanta_ has joined #ruby-lang
headius_ is now known as headius
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michaeldeol has joined #ruby-lang
Sadin has joined #ruby-lang
AKASkip has quit [Ping timeout: 250 seconds]
ta_ has joined #ruby-lang
yock has quit [Ping timeout: 245 seconds]
wallerdev has quit [Quit: wallerdev]
ta_ has quit [Ping timeout: 244 seconds]
arBmind has quit [Quit: Leaving.]
deryl has joined #ruby-lang
BubonicPestilenc has joined #ruby-lang
iamninja has joined #ruby-lang
havenwood has joined #ruby-lang
sondr3 has joined #ruby-lang
wprice has joined #ruby-lang
sondr3 has quit [Client Quit]
deryl is now known as ddd
sondr3 has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
kiyote23 has joined #ruby-lang
g0bl1n has quit [Quit: Leaving]
djbkd has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
sondr3 has quit [Quit: Textual IRC Client: www.textualapp.com]
yfeldblum has joined #ruby-lang
sondr3 has joined #ruby-lang
wallerdev has joined #ruby-lang
micmus has quit [Ping timeout: 240 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kiyote23 has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
arBmind has joined #ruby-lang
ta_ has joined #ruby-lang
ta_ has quit [Ping timeout: 265 seconds]
kiyote23 has quit [Remote host closed the connection]
micmus has joined #ruby-lang
kiyote23 has joined #ruby-lang
ta_ has joined #ruby-lang
sondr3 has quit [Quit: Textual IRC Client: www.textualapp.com]
ta_ has quit [Ping timeout: 264 seconds]
Whgrlgbrl has joined #ruby-lang
sondr3 has joined #ruby-lang
michaeldeol has joined #ruby-lang
symm- has quit [Ping timeout: 240 seconds]
pwnz0r has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
benten has joined #ruby-lang
rbowlby has joined #ruby-lang
micmus has quit [Ping timeout: 244 seconds]
sondr3 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Moondrix has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
<Moondrix> Hm, Hi?
<apeiros_> hi
djbkd has joined #ruby-lang
* apeiros_ steals ljarvis' wizard hat :D
<matti> Wizzard ;]
wallerdev has quit [Quit: wallerdev]
mistym has joined #ruby-lang
<Moondrix> I really want to start with Ruby, but i don't have any idea to where start, can i get some indications? =/
mattwildig has joined #ruby-lang
boulder-ruby has quit [Quit: boulder-ruby]
<havenwood> Moondrix: There're some good resources listed here: https://www.ruby-lang.org/en/documentation/
<Whgrlgbrl> hi, i'm having trouble installing RVM....when i execute the main \curl command to install from the guide, it's looking for the ca-bundle.crt file, and it can't find it. that's because it's in another place on my distro...not sure how to proceed
<matti> Whgrlgbrl: Ask on #rvm ;]
rcvalle has joined #ruby-lang
<Whgrlgbrl> thx
mikecmpbll has joined #ruby-lang
kiyote23 has joined #ruby-lang
yfeldblum has joined #ruby-lang
mikecmpbll has quit [Client Quit]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michaeldeol has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
kiyote23 has quit [Ping timeout: 265 seconds]
wallerdev has joined #ruby-lang
<ddd> hey hey matti
symm- has joined #ruby-lang
<ddd> how you been? how were your holidays?
nofxx__ has joined #ruby-lang
sleepee has joined #ruby-lang
nofxx_ has quit [Ping timeout: 265 seconds]
mattwildig has quit [Remote host closed the connection]
yugui_zzz_ is now known as yugui_zzz
sondr3 has joined #ruby-lang
wallerdev has quit [Ping timeout: 244 seconds]
wallerdev has joined #ruby-lang
GBrawl has joined #ruby-lang
setanta__ has joined #ruby-lang
ironhide_604 has joined #ruby-lang
Whgrlgbrl has left #ruby-lang ["Leaving"]
setanta_ has quit [Ping timeout: 250 seconds]
hrs has joined #ruby-lang
ur5us has joined #ruby-lang
tkuchiki has joined #ruby-lang
yock has joined #ruby-lang
tkuchiki has quit [Ping timeout: 245 seconds]
rahul_j has quit [Quit: rahul_j]
kiyote23 has joined #ruby-lang
tsou has quit [Ping timeout: 256 seconds]
yfeldblum has joined #ruby-lang
rkrdo has joined #ruby-lang
rkrdo has quit [Client Quit]
rkrdo has joined #ruby-lang
bodgix has joined #ruby-lang
mattwildig has joined #ruby-lang
tsou has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
rkrdo has left #ruby-lang [#ruby-lang]
SilentNuke has joined #ruby-lang
rkrdo has joined #ruby-lang
SilentNuke has quit [Client Quit]
lexruee has joined #ruby-lang
rkrdo has quit [Client Quit]
[spoiler] has quit [Quit: Leaving]
[spoiler] has joined #ruby-lang
krankin has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
banister has joined #ruby-lang
pwnz0r has quit [Remote host closed the connection]
godd2 has quit [Remote host closed the connection]
sleepee has quit [Quit: Leaving]
nertzy has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
benten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chouhoulis has quit [Ping timeout: 265 seconds]
chouhoulis has joined #ruby-lang
chouhoul_ has joined #ruby-lang
sondr3 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lexruee has quit [Quit: Verlassend]
chouhoulis has quit [Ping timeout: 244 seconds]
chouhoulis has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
chouhoul_ has quit [Ping timeout: 245 seconds]
kiyote23 has joined #ruby-lang
ruby-lang554 has joined #ruby-lang
<ruby-lang554> !commands
jxie has quit [Ping timeout: 244 seconds]
jxie has joined #ruby-lang
ruby-lang554 has quit [Client Quit]
kiyote23_ has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
kiyote23_ has quit [Remote host closed the connection]
kiyote23 has joined #ruby-lang
kiyote23_ has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
kiyote23_ has quit [Remote host closed the connection]
PinkAstronaut has joined #ruby-lang
LBo has joined #ruby-lang
benten has joined #ruby-lang
claudiuinberlin has joined #ruby-lang
TheMoonMaster_ is now known as TheMoonMaster
nunayerBeezwax has quit [Remote host closed the connection]
PinkAstronaut has left #ruby-lang ["Leaving..."]
rbrs has quit [Quit: rbrs]
nertzy has quit [Quit: This computer has gone to sleep]
yfeldblum has joined #ruby-lang
diegoviola has quit [Remote host closed the connection]
ta_ has joined #ruby-lang
donove has quit [Quit: Leaving]
yfeldblum has quit [Ping timeout: 250 seconds]
rcvalle has quit [Ping timeout: 245 seconds]
djbkd has joined #ruby-lang
araujo has quit [Read error: Connection reset by peer]
rcvalle has joined #ruby-lang
araujo has joined #ruby-lang
AKASkip has joined #ruby-lang
rcvalle_ has joined #ruby-lang
rcvalle has quit [Ping timeout: 244 seconds]
rcvalle_ is now known as rcvalle
djbkd has quit [Ping timeout: 265 seconds]
chills42 has quit [Remote host closed the connection]
ta_ has quit [Ping timeout: 256 seconds]
jphenow has quit [Quit: Lingo: www.lingoirc.com]
tkuchiki has joined #ruby-lang
deryl has joined #ruby-lang
ddd is now known as Guest21792
deryl is now known as ddd
Guest21792 has quit [Ping timeout: 240 seconds]
tkuchiki has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby-lang
[spoiler] has quit [Quit: Leaving]
rcvalle has quit [Ping timeout: 240 seconds]
ta_ has quit [Ping timeout: 265 seconds]
AKASkip has quit [Ping timeout: 255 seconds]
nunayerBeezwax has joined #ruby-lang
yalue has quit [Quit: return 0;]
rcvalle has joined #ruby-lang
Musashi007 has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has joined #ruby-lang
Moondrix has quit [Quit: Page closed]
bodgix has quit [Ping timeout: 240 seconds]
Musashi007 has quit [Quit: Musashi007]
ta_ has joined #ruby-lang
Musashi007 has joined #ruby-lang
Musashi007 has quit [Client Quit]
hrs has quit [Quit: Textual IRC Client: www.textualapp.com]
yfeldblum has joined #ruby-lang
oak1 has joined #ruby-lang
ta_ has quit [Ping timeout: 244 seconds]
Musashi007 has joined #ruby-lang
__butch__ has joined #ruby-lang
dellavg_ has quit [Ping timeout: 250 seconds]
yfeldblum has quit [Ping timeout: 264 seconds]
nunayerBeezwax has quit [Remote host closed the connection]
setanta__ has quit [Quit: Leaving]
rcvalle_ has joined #ruby-lang
rcvalle has quit [Ping timeout: 244 seconds]
rcvalle_ is now known as rcvalle
GBrawl has quit [Quit: (null)]
rcvalle has quit [Ping timeout: 245 seconds]
pwnz0r has joined #ruby-lang
benten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rcvalle has joined #ruby-lang
rcvalle_ has joined #ruby-lang
rcvalle has quit [Ping timeout: 244 seconds]
rcvalle_ is now known as rcvalle
Musashi007 has quit [Quit: Musashi007]
diegoviola has joined #ruby-lang
yfeldblum has joined #ruby-lang
benten has joined #ruby-lang
yock has quit [Ping timeout: 244 seconds]
solars has quit [Ping timeout: 250 seconds]
ur5us has joined #ruby-lang
davs has quit [Quit: Lost terminal]
ur5us has quit [Ping timeout: 245 seconds]
dik_dak has joined #ruby-lang
RbLeif has joined #ruby-lang
<ljarvis> hurrah
djbkd has quit [Remote host closed the connection]
kingofcarrtoflow has joined #ruby-lang
<kingofcarrtoflow> Hey there, I've been looking online for some kind of guide to debugging ruby native extensions with gdb. Is anyone aware of a nice online tutorial that shows how this works? I can compile the file and load it in gdb but everytime I try to add a break I get an error like 'Cannot access memory at address 0x1ae0'
mistym_ has joined #ruby-lang
mistym has quit [Disconnected by services]
mistym_ is now known as mistym
yock has joined #ruby-lang
pwnz0r has quit [Remote host closed the connection]
<zenspider> kingofcarrtoflow: how are you trying to add the break?
bodgix has joined #ruby-lang
yock has quit [Ping timeout: 265 seconds]
<kingofcarrtoflow> zenspider: Like `(gdb) break #{file}:#{line_number}`
djbkd has joined #ruby-lang
<darix> how do you start gdb
<darix> kingofcarrtoflow: ^
slumos has quit [Ping timeout: 245 seconds]
<zenspider> kingofcarrtoflow: I _usually_ do it by function name
<kingofcarrtoflow> `gdb ruby`, then `run -Ilib test.rb` and test.rb contains a 'require thefile.o'
<zenspider> but iirc, you still have to have the extension loaded for it to find the symbol
<zenspider> I don't think I've seen "cannot access memory at X" before
micmus has joined #ruby-lang
<zenspider> and I don't even have gdb installed so I can't try to poke in parallel
<zenspider> I do have lldb tho
charliesome has joined #ruby-lang
fusillicode has quit [Ping timeout: 245 seconds]
tallgirltaadaa_ has joined #ruby-lang
<tallgirltaadaa_> anywhere know a site when I can solve small problem with ruby?
<kingofcarrtoflow> zenspider: Thanks, I am still pretty new to gdb. Is there something in particular I have to do to 'have the extension loaded'? Sorry if that's a dumb question.
<zenspider> kingofcarrtoflow: nope. You can force the loading via `ruby -r<extname>` if that helps
<zenspider> but gdb will be paused before ruby even processes args
<ljarvis> tallgirltaadaa_: you want challenges?
<tallgirltaadaa_> yes
<ljarvis> tallgirltaadaa_: rubyquiz.com perhaps
<zenspider> tallgirltaadaa_: exercism.io is my favorite
<ljarvis> ooo
<tallgirltaadaa_> thanks guys
<tallgirltaadaa_> slow day at work.. trying to keep busy
<zenspider> you have a commandline tool and you download one problem at a time. when you get the tests passing you submit the code and then you get feedback from others on it
<zenspider> then you can refine ... helps you learn from code critique and is really nice
<zenspider> then you can move on to another problem
<zenspider> supports multiple languages too
RbLeif has quit [Remote host closed the connection]
havenwood has quit []
banister has quit [Read error: No route to host]
claudiuinberlin has quit [Quit: Leaving.]
<kingofcarrtoflow> thanks again zenspider: !
<darix> kingofcarrtoflow: gdb --args ruby -rextension script
cmhobbs has quit [Ping timeout: 245 seconds]
<weaksauce> zenspider that is a pretty neat interface.
<weaksauce> any idea how hard the challenges get?
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
kingofcarrtoflow has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
mattwildig has quit []
<zenspider> weaksauce: I've only done about 15 or so
<zenspider> weaksauce: so, no. not really. but they're a lot less about being challenging so much as they are about making you think and getting you feedback
<weaksauce> ah
arBmind1 has joined #ruby-lang
<diegoviola> what are your thoughts about the latest RubySpec drama?
alkoma has joined #ruby-lang
<ljarvis> diegoviola: let's not go there
arBmind has quit [Ping timeout: 244 seconds]
<zenspider> yeah. can we not? :/
<diegoviola> ok
<diegoviola> sorry
<ljarvis> apeiros_: MY HAT OH GOD
cornerma1 has joined #ruby-lang
<nofxx__> can the curious get a glance of the synopsis?
alkoma has quit [Remote host closed the connection]
<apeiros_> why nooooot? *puts back the popcorn*
<ljarvis> nofxx__: this explains most of it: https://twitter.com/the_zenspider/status/547527644535726080
<ljarvis> linking the tweet rather than logs because the replies cover some context
jo__ has joined #ruby-lang
cornerman has quit [Ping timeout: 264 seconds]
cornerma1 is now known as cornerman
Lewix has quit [Remote host closed the connection]
djbkd has quit [Quit: My people need me...]
mistym has quit [Remote host closed the connection]
<diegoviola> it's not clear to me why MRI doesn't want to use RubySpec? is it of no use to them?
<diegoviola> I'm not saying they should
<diegoviola> just trying to understand the whole deal
ta_ has joined #ruby-lang
<weaksauce> some developers use it diegoviola
<red_menace> might have been one of those "we didn't invent it" things, but now it is a moot point
<weaksauce> they just don't publicly commit to it.
<zenspider> *sigh* really?
<zenspider> they did publically commit to it. look at the contributor stats.
<zenspider> a lot.
<zenspider> now they don't. think on that.
kiyote23 has joined #ruby-lang
ta_ has quit [Ping timeout: 265 seconds]