<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]
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
<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]
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]
<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? :-)
<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
<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.
<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>
^ 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
<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]
<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]
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]
<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]