apeiros changed the topic of #ruby to: Ruby 2.0.0-p353: http://ruby-lang.org (Ruby 1.9.3-p484) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xcv has quit [Remote host closed the connection]
mojjojo has quit [Quit: mojjojo]
fuhgeddaboudit has quit [Ping timeout: 272 seconds]
xcv has joined #ruby
cpruitt has quit [Quit: cpruitt]
javon has joined #ruby
amacgregor has joined #ruby
lfox has joined #ruby
xcv has quit [Ping timeout: 252 seconds]
timonv has joined #ruby
mojjojo has joined #ruby
Jetchisel has joined #ruby
et__ has quit [Quit: Leaving.]
timonv has quit [Read error: Connection reset by peer]
timonv has joined #ruby
et__ has joined #ruby
yjmsf20 has joined #ruby
mojjojo has quit [Client Quit]
VTLob has quit [Quit: VTLob]
et__ has left #ruby [#ruby]
Briareos1 has joined #ruby
timonv_ has joined #ruby
athst has quit [Quit: athst]
danshultz has quit [Remote host closed the connection]
xcv has joined #ruby
timonv has quit [Ping timeout: 260 seconds]
danshultz has joined #ruby
baroquebobcat has joined #ruby
yjmsf20 has quit [Ping timeout: 260 seconds]
sergicles has quit [Quit: sergicles]
threesome has joined #ruby
timonv_ has quit [Ping timeout: 264 seconds]
saarinen has quit [Quit: saarinen]
aspiers has quit [Read error: No route to host]
danshultz has quit [Ping timeout: 245 seconds]
brunto has quit [Ping timeout: 272 seconds]
baroquebobcat has quit [Client Quit]
emocakes has joined #ruby
jeffdb has joined #ruby
Arzaga has joined #ruby
brunops has quit [Ping timeout: 240 seconds]
asteros has quit [Quit: asteros]
tjbiddle has quit [Quit: tjbiddle]
baroquebobcat has joined #ruby
brunto has joined #ruby
nobitanobi has joined #ruby
<nobitanobi> hihi
<xibalba> byebye
<nobitanobi> :(
aspiers has joined #ruby
cbetta_afk is now known as cbetta
hogeo has joined #ruby
baroquebobcat has quit [Ping timeout: 240 seconds]
brunops has joined #ruby
aryaching has joined #ruby
<DouweM> aw
<DouweM> hi nobitanobi
<nobitanobi> DouweM, hi!
Megtastique has joined #ruby
threesome has quit [Ping timeout: 246 seconds]
_Andres_ has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
echevemaster has quit [Ping timeout: 246 seconds]
nwertman has joined #ruby
petey has joined #ruby
araujo has quit [Ping timeout: 272 seconds]
tharindu_ has joined #ruby
hogeo has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
araujo has joined #ruby
predator117 has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
predator117 has joined #ruby
cbetta is now known as cbetta_afk
yjmsf20 has joined #ruby
hogeo has joined #ruby
jonathanwallace has quit [Ping timeout: 246 seconds]
xcv has quit [Remote host closed the connection]
yjmsf20 has quit [Ping timeout: 246 seconds]
xcv has joined #ruby
brunops has quit [Ping timeout: 246 seconds]
araujo has quit [Ping timeout: 272 seconds]
Atrophius has quit [Ping timeout: 245 seconds]
brunops has joined #ruby
ravster has joined #ruby
bbloom has joined #ruby
<bbloom> a year or two ago, i read an article containing graphs of dynamic/metaprogramming construct usage over time. it showed that over the initial period of time, ruby programs do a lot of metaprogramming, but eventually stablize to something relatively static.
<bbloom> does anybody know where i can find that article?
endash_ has quit [Quit: endash_]
tjbiddle has joined #ruby
kevind has quit [Quit: kevind]
xcv has quit [Ping timeout: 252 seconds]
aspires has quit []
kobain has joined #ruby
cpruitt has joined #ruby
Zesty has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jamesaanderson has joined #ruby
aspires has joined #ruby
kobain_ has quit [Ping timeout: 252 seconds]
shime has quit [Ping timeout: 265 seconds]
Arzaga has quit [Quit: Computer has gone to sleep.]
Krinkle has joined #ruby
Fezzler has joined #ruby
iamjarvo has joined #ruby
robustus has quit [Ping timeout: 245 seconds]
iamjarvo has quit [Client Quit]
Arzaga has joined #ruby
Arzaga has quit [Client Quit]
ehc has quit [Quit: ehc]
robustus has joined #ruby
tylersmith has quit [Remote host closed the connection]
kobain has quit [Remote host closed the connection]
cpruitt has quit [Quit: cpruitt]
kobain has joined #ruby
Zesty has quit [Quit: Linkinus - http://linkinus.com]
hogeo has quit [Remote host closed the connection]
matheuscaceres has joined #ruby
lmickh has quit [Quit: lmickh]
sevenseacat has joined #ruby
typicalbender has quit [Quit: Leaving.]
typicalbender has joined #ruby
typicalbender has quit [Client Quit]
RubyRonin has quit [Ping timeout: 264 seconds]
baroquebobcat has joined #ruby
timonv has joined #ruby
asteros has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mando has quit [Remote host closed the connection]
athst has joined #ruby
mando has joined #ruby
jonathanwallace has joined #ruby
gyre007 has joined #ruby
Monie has joined #ruby
michael_lee has joined #ruby
timonv has quit [Ping timeout: 246 seconds]
hogeo has joined #ruby
jeffdb has quit [Quit: jeffdb]
nwertman has quit [Ping timeout: 264 seconds]
mando has quit [Ping timeout: 240 seconds]
blackmes1 has quit [Ping timeout: 240 seconds]
Krinkle has left #ruby ["Leaving..."]
nanoyak has quit [Quit: Computer has gone to sleep.]
Thanatermesis has joined #ruby
dwgill has joined #ruby
aryaching_ has joined #ruby
aryaching has quit [Ping timeout: 252 seconds]
brunops has quit [Changing host]
brunops has joined #ruby
ssvo has quit [Ping timeout: 252 seconds]
nanoyak has joined #ruby
charliesome has joined #ruby
Fezzler has quit [Quit: Leaving]
brian___ has joined #ruby
dhruvasagar has joined #ruby
Animawish has joined #ruby
bricker is now known as bricker`away
root_empire has joined #ruby
it_tard has quit [Quit: yawn]
michael_lee has quit [Ping timeout: 245 seconds]
asteros has quit [Quit: asteros]
danshultz has joined #ruby
Animawish has quit [Client Quit]
theKayhan has joined #ruby
root_empire has quit [Read error: Connection reset by peer]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
binaryplease has joined #ruby
root_empire has joined #ruby
Atrophius has joined #ruby
Thanatermesis has quit [Ping timeout: 252 seconds]
danshultz has quit [Ping timeout: 245 seconds]
mikepack_ has joined #ruby
root_empire has quit [Read error: Connection reset by peer]
<enape_101> do has_many through associations need indexes of any sort?
<sevenseacat> wrong channel
Thanatermesis has joined #ruby
<enape_101> woops, but do they sevenseacat anyways
aryaching_ has quit [Ping timeout: 246 seconds]
zeade has quit [Quit: Leaving.]
mikepack has quit [Read error: Operation timed out]
xcv has joined #ruby
fomatin has quit [Quit: Textual IRC Client: www.textualapp.com]
mikepack_ has quit [Ping timeout: 240 seconds]
jamesaanderson has joined #ruby
vlad_starkov has joined #ruby
xcv has quit [Remote host closed the connection]
xcv has joined #ruby
<IceDragon> "Ruby: You shoot yourself in the foot and then have to justify it to all your friends who are still naively using Perl."
gyre007 has quit [Remote host closed the connection]
gyre007 has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
cpruitt has joined #ruby
subbyyy has quit [Read error: Operation timed out]
cpruitt has quit [Client Quit]
Liothen has quit [Quit: System of a down……]
_maes_ has joined #ruby
xcv has quit [Ping timeout: 272 seconds]
_maes_ has quit [Client Quit]
gyre007 has quit [Ping timeout: 260 seconds]
pragmatism has quit [Ping timeout: 272 seconds]
YuviPanda has left #ruby ["Leaving..."]
dhruvasagar has quit [Ping timeout: 264 seconds]
jetblack_ has quit [Quit: leaving]
baroquebobcat has quit [Quit: baroquebobcat]
tjbiddle has quit [Quit: tjbiddle]
iliketur_ has quit [Quit: zzzzz…..]
jcromart_ has joined #ruby
petey has quit [Remote host closed the connection]
timonv has joined #ruby
petey has joined #ruby
root_empire has joined #ruby
freerobby has joined #ruby
timonv has quit [Ping timeout: 264 seconds]
root_empire has quit [Read error: Connection reset by peer]
petey has quit [Ping timeout: 265 seconds]
nobitanobi has quit [Ping timeout: 245 seconds]
sergicles has joined #ruby
jamesaanderson has quit [Ping timeout: 260 seconds]
root_empire has joined #ruby
theKayhan has quit [Remote host closed the connection]
sergicles has quit [Client Quit]
end_guy has quit [Ping timeout: 240 seconds]
CaptainJet has quit []
CaptainJet has joined #ruby
falood has joined #ruby
jeffdb has joined #ruby
jamesaanderson has joined #ruby
nullsign_ is now known as nullsign
subbyyy has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
havenwood has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
asteros has joined #ruby
tjbiddle has joined #ruby
s2013 has quit [Ping timeout: 272 seconds]
marr has quit [Ping timeout: 252 seconds]
<tjbiddle> Anyone know how to disable debug ERB logging?
lukec has quit [Quit: lukec]
theKayhan has joined #ruby
aspires has quit []
CaptainJet has quit []
<RubyPanther> bbloom: I don't know the article, but I remember in the past at one of the Ruby conventions, a bunch of smart people sat down and created a resource injection system for Ruby, then they went home and decided Ruby could already meet the use cases with mixins.
<bbloom> RubyPanther: i'm mostly interested from a VM-designers perspective. this idea that most of the time code takes the fast-path after some initial "settling" period is interesting to me. was hoping to find those graphs to illustrate that point
jeffdb has quit [Quit: jeffdb]
dwgill has quit [Quit: Leaving]
CaptainJet has joined #ruby
root_empire has quit [Ping timeout: 265 seconds]
michael_lee has joined #ruby
kaldrenon has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
kaldrenon has quit [Read error: Operation timed out]
eka has joined #ruby
otherj has joined #ruby
michael_lee has quit [Read error: Connection reset by peer]
shadoi has quit [Quit: Leaving.]
michael_lee has joined #ruby
Hanmac has joined #ruby
citrin has joined #ruby
psyl0n has quit [Remote host closed the connection]
subbyyy_ has joined #ruby
pragmatism has joined #ruby
Hanmac1 has quit [Ping timeout: 265 seconds]
jlast has joined #ruby
eka has quit [Ping timeout: 264 seconds]
user4599 has joined #ruby
<user4599> Hey, is anyoen here?
subbyyy has quit [Ping timeout: 264 seconds]
michael_lee has quit [Read error: Connection reset by peer]
<user4599> Hello is anyone out there?
Lewix has quit [Remote host closed the connection]
user4599 has quit [Client Quit]
matheuscaceres has quit [Quit: matheuscaceres]
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michael_lee has joined #ruby
lfox has quit [Quit: ZZZzzz…]
aspires has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
michael_lee has quit [Read error: Connection reset by peer]
Megtastique has quit []
Kricir has joined #ruby
javierbuilder has joined #ruby
javierbuilder has quit [Max SendQ exceeded]
nowthatsamatt has quit [Quit: nowthatsamatt]
hamakn has joined #ruby
jgrevich has quit [Quit: jgrevich]
michael_lee has joined #ruby
endash has quit [Quit: endash]
roadt has joined #ruby
gdakram_ has joined #ruby
<pontiki> shades of The Wall
<pontiki> o/~ All alone, or in twos / The ones who really love you / Walk up and down outside the wall / Some hand in hand / Some gathering together in bands / The bleeding hearts and the artists / Make their stand // And when they've given you their all / Some stagger and fall after all it's not easy / banging your heart against some mad buggers Wall ~/o
gdakram_ has quit [Client Quit]
gdakram_ has joined #ruby
gdakram has quit [Read error: Connection reset by peer]
gdakram_ is now known as gdakram
danshultz has joined #ruby
ylluminate has joined #ruby
digital-ghost has quit [Remote host closed the connection]
habanany has joined #ruby
estebistec has joined #ruby
Mars__ has quit [Remote host closed the connection]
reset has quit [Ping timeout: 248 seconds]
Mars__ has joined #ruby
vlad_starkov has joined #ruby
<RubyPanther> location.find.first.people.find.first.puts "Hello"
Megtastique has joined #ruby
heidi has quit [Quit: Leaving.]
vlad_starkov has quit [Read error: Connection reset by peer]
ae-r has joined #ruby
bean has joined #ruby
amacgregor_ has joined #ruby
Mars__ has quit [Ping timeout: 260 seconds]
michael_lee has quit [Max SendQ exceeded]
danshultz has quit [Read error: Connection reset by peer]
danshultz has joined #ruby
amacgregor has quit [Ping timeout: 246 seconds]
michael_lee has joined #ruby
hashpuppy has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
randomnick_ has quit [Quit: Leaving]
ravster has quit [Quit: Leaving.]
Megtastique has quit []
asteros has quit [Quit: asteros]
gyre007 has joined #ruby
ae-r has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
ewnd9 has joined #ruby
Lewix has joined #ruby
dhruvasagar has joined #ruby
yfeldblum has quit [Remote host closed the connection]
liamkeily has quit [Ping timeout: 246 seconds]
asteros has joined #ruby
Kricir has quit [Remote host closed the connection]
yfeldblum has joined #ruby
gyre007 has quit [Ping timeout: 265 seconds]
b00stfr3ak has quit [Ping timeout: 260 seconds]
Kricir has joined #ruby
jcromart_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jcromart_ has joined #ruby
LexicalScope has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
hashpuppy has quit [Quit: Textual IRC Client: www.textualapp.com]
ewnd9 has quit [Ping timeout: 272 seconds]
julweber has quit [Remote host closed the connection]
heidi has joined #ruby
brian___ has quit [Quit: brian___]
Liothen has joined #ruby
iliketur_ has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
tharindu_ has quit [Quit: Leaving...]
coldie has quit [Read error: Connection reset by peer]
athst has quit [Quit: athst]
GoodTimes has quit [Ping timeout: 252 seconds]
mercwithamouth has quit [Ping timeout: 246 seconds]
jcromart_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iliketur_ has quit [Ping timeout: 264 seconds]
sergicles has joined #ruby
autumn has quit [Ping timeout: 246 seconds]
autumn has joined #ruby
varfoo has joined #ruby
nobitanobi has joined #ruby
darkf has joined #ruby
taternuts has joined #ruby
taternuts has left #ruby [#ruby]
asteros has quit [Quit: asteros]
hackeron_ has quit [Read error: Connection reset by peer]
heidi has quit [Quit: Leaving.]
hackeron has joined #ruby
Kricir has quit [Remote host closed the connection]
Briareos1 has quit [Remote host closed the connection]
heftig_ is now known as heftig
habanany has quit [Ping timeout: 264 seconds]
aryaching has joined #ruby
zeade has joined #ruby
user5555 has joined #ruby
<user5555> Hey, is anyone here?
<sevenseacat> no.
<user5555> Is thsi the freenode for ruby coding?
<user5555> I am trying to decide whether to learn ruby or go with python?
<user5555> Do you know which would be better?
<sevenseacat> thats a loaded question
io_syl has joined #ruby
<user5555> I already paid for a ruby course and am about to finish it.
<jrobeson> neither are better.. they are both good
<pontiki> yes
<jrobeson> in different ways
<sevenseacat> asking which language is better in a channel dedicated to one of the two
<pontiki> it's better to learn ruby or go with python
<jrobeson> hah :)
<havenwood> user5555: learn Ruby
mmcdaris has quit [Quit: mmcdaris]
<havenwood> user5555: forsake the snake
<jrobeson> python is nice.. don't so so mean to it!
<user5555> Well, does anyone know where I could learn to build bots with ruby by chance? I'm eventually wanting to build websites, and I heard RoR was good for the backend, no?
<pontiki> learn as many languages and frameworks as you can
<pontiki> what kind of bots?
<jrobeson> oh pontiki .. hi btw
<user5555> I'm new to programming, I can't afford to go back to college for CS so have to teach myself.
<jrobeson> hah
<pontiki> user5555: here's my advice. stop asking questions and talking about writing software. start writing software.
<havenwood> in Ruby.
<havenwood> :P
<pontiki> personaly, i don't care what language they choose.
<user5555> pontiki: Ok, I will stick with ruby then. Do you know where I could learn to make bots in ruby then?
<pontiki> trying to decide what language to start with is absolutely the wrong question
<havenwood> user5555: irc ruby bot?
<user5555> reddit bot.
<pontiki> other reddit bot makers
<pontiki> i don't know any
<pontiki> i don't even know what a reddit bot would do
<user5555> reddit bot could do two things.
<user5555> One it could search stuff on the site for me, query say a user statistics.
<user5555> Or it could actually post as well.
amacgregor has joined #ruby
<user5555> I asked this on reddit, and they said python was the way to go :/.
havenwood has quit []
<pontiki> jeepers
<jrobeson> user5555, it's possible that there are better libraries for interacting with reddit in python
<pontiki> go ask it in a #java forum and they'll tell you java
<pontiki> ask it in a Go forum and they'll tell you Go
<jrobeson> but we wouldn't know.. none of us have looked
<jrobeson> if some people are actually going to help you with your bot..and they use python, and you want their help
<pontiki> user5555: what would be the downside of just starting
<jrobeson> then python would be better
theKayhan has quit [Ping timeout: 264 seconds]
<jrobeson> but if you plan on figuring stuff out yourself.. just pick one..
<user5555> pontiki: I dont know how to really start I guess.
<user5555> IDK.
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
amacgregor_ has quit [Ping timeout: 246 seconds]
<pontiki> user5555: the key thing you need to learn, then, is how to come up with a problem, and break it down
<pontiki> this has absolutely nothing to do with the language you choose to implement in
<user5555> IC.
<user5555> Ok, I will try to figure it out I guess.
<user5555> I'm going to code.
pragmatism has quit [Quit: Leaving...]
<user5555> I think maybe that is best plan.
<pontiki> i'm going to suggest you pick up "Think Like a Programmer" by Anton Spraul.
Animawish has joined #ruby
Guest53381 has quit [Quit: w0ots...]
<user5555> Animawish, you go to University of Utah?
<Animawish> yessir
<Animawish> are you an IP wizard
<user5555> I graduated from there.
<pontiki> Also, "The Pragmatic Programmer" by Dave Thomas and Andy Hunt
<Animawish> what year?
estebistec has quit [Remote host closed the connection]
<user5555> 2011.
<user5555> pontiki: I'm not ignoreing you btw :P.
<Animawish> sweet
<pontiki> it's ok
mephux has joined #ruby
<Animawish> i'm starting up in the EAE program. not totally sold on it but since I plan to work on games and it's technically a CS major i figure why not :p
<pontiki> Another, if you can find it, is "Programming Pearls" by Jon Bentley
<user5555> pontiki: Can I ask about those two books?
<user5555> Are those two focused on ruby?
<pontiki> ask away
<pontiki> no
subbyyy_ has quit [Ping timeout: 240 seconds]
<pontiki> they are focused on the craft of software engineering
<user5555> Ok, then I guess what would be the benefit (not questioning it, just curious).
<user5555> Animawish: What year are you?
<Animawish> freshman
Monie has joined #ruby
<user5555> IC.
<Animawish> my first semester here
<pontiki> ok, so, user5555, bear in mind this is my opinion
<user5555> pontiki: ok
dhruvasagar has quit [Ping timeout: 272 seconds]
<pontiki> but to me, software engineering, the craft of writing good software applications that do what you want them to, that work for others, has very very little to do with which language you pick, and very much to do with how you understand how to solve problems.
rezzack has quit [Quit: Leaving.]
jbellone has quit [Quit: leaving]
parduse has quit []
<pontiki> learning a syntax of a language is probably the easiest part of it all
parduse has joined #ruby
sergicles has quit [Quit: sergicles]
dhruvasagar has joined #ruby
<sevenseacat> ive heard good things about chris pine's "learn to program"
julweber has joined #ruby
Tarential has quit [Excess Flood]
<user5555> pontiki: So, basically, I should stick with ruby, learn to program and think about programming, and then after doing that, it shoulnd't matter the langauge.
<pontiki> i have as well; i just have not read it
<pontiki> that's a start
<Animawish> did you graduate in CS user5555?
Tarential has joined #ruby
<pontiki> do not ever learn or rely on a single language
<user5555> Animawish: No.
<pontiki> nor a single framework
<pontiki> goodness
Kricir has joined #ruby
<Animawish> ballet then?
<pontiki> i'm sound rather like the diserada now, arent i?
<Animawish> I hear we've got a great ballet program
<user5555> pontiki: Its ok, its undertandable.
<user5555> pontiki: basically learn to program, don't worry about the language.
iliketur_ has joined #ruby
<user5555> pontiki: I guess I will just build shit and move on from there.
parduse has quit [Killed (hobana.freenode.net (Nickname regained by services))]
<user5555> pontiki: I guess asking questions like this is stupid.
<pontiki> user5555: here's what i see. you've made an initial investment in learning ruby. it's worth your time honing your expertise in that language, and understanding how to solve problems in it
<pontiki> and eventually, pick up python.
<pontiki> and perl
<pontiki> and lispo
<pontiki> s/o$//
<user5555> pontiki: One last question, are there any sites that go over things to build. Like goals and you find way to build it with ruby?
<lewellyn> and C and...
<user5555> pontiki: Puzzles I guess.
parduse has joined #ruby
<pontiki> ruby koans still about, folks?
<pontiki> project euler
<ddd> yedp
<ddd> s/d//
<pontiki> pick up an old textbook on data structure and algorithms, and implement them in ruby
<pontiki> lipschutz's book is still around someplaces
<user5555> IC, so go with ruby koans and then go project euler.
<user5555> Then maybe build some stuff too.
<pontiki> don knuth's books are epic
timonv has joined #ruby
<user5555> THen move onto ruby on rails and build stuff.
<pontiki> it's a start, hey
<pontiki> be curious
<pontiki> make something every day
<pontiki> read a lot
vlad_starkov has joined #ruby
hogeo has quit [Remote host closed the connection]
<pontiki> i need to stop now because all i'm doing it pontificating and offering platitudes
<user5555> I wish I could, but I'm limited on time.
<ddd> invest time and effort. get skills in return
<user5555> I work a full time job now. I want to move into programming though.
<user5555> But, I make time after work.
<user5555> I have PTO this week, that is why I can chat.
<pontiki> you'll either do it, or you won't
browndawg has joined #ruby
<pontiki> i'll never be a good painter because i only have time for it 2 hours a week in class
julweber has quit [Ping timeout: 252 seconds]
<user5555> pontiki: I think that if that is all the time that person has, its better than doing nothing.
<pontiki> bingo
<user5555> pontiki: The painter that is.
<pontiki> me,
binaryplease has quit [Ping timeout: 272 seconds]
<pontiki> i'm the painter
<ddd> either its a passion or its not. invest your time in passions. not passing personal fads
vlad_starkov has quit [Read error: Connection reset by peer]
<pontiki> good words
<user5555> pontiki: Fair enough, I'm going to go code now unless you have any last thoughts or advice.
<pontiki> nope
<pontiki> oh maybe
<pontiki> don't trust anything you hear on irc
<pontiki> do your own research
timonv has quit [Ping timeout: 260 seconds]
<pontiki> there i'm done
<ddd> computers for me are a passion. all things computers. its the one thing that I *always* return to of all the different things I try or have tried in my life.
<user5555> pontiki: This is doing research in a way :). Anyhow, see you and thanks for the chat.
<ddd> thats a passion. i invest my time and effort in that. I do diesel mechanic studies because its what's needed where i live. I invest every other waking moment to computers in some form or another
amacgregor has quit [Ping timeout: 246 seconds]
ringaroses has quit [Ping timeout: 252 seconds]
<ddd> thats how you know what your 'calling' is. invest in that
michael_lee has quit [Quit: Ex-Chat]
<user5555> IC.
<user5555> Ok, well, going to do that now.
<user5555> Going to go program.
<user5555> See you all.
<ddd> later
<user5555> Thanks again.
Kricir has quit [Remote host closed the connection]
user5555 has quit [Quit: Page closed]
danshult_ has joined #ruby
LexicalScope has quit [Ping timeout: 265 seconds]
<pontiki> best of
Mars__ has joined #ruby
s2013 has joined #ruby
amacgregor has joined #ruby
danshultz has quit [Ping timeout: 245 seconds]
Astralum has quit [Read error: Connection reset by peer]
Astralum has joined #ruby
echevemaster has joined #ruby
araujo has joined #ruby
danshult_ has quit [Ping timeout: 248 seconds]
Astralum has quit [Read error: Connection reset by peer]
Astralum has joined #ruby
i8igmac has joined #ruby
Mars___ has joined #ruby
Mars__ has quit [Read error: Connection reset by peer]
nixie has joined #ruby
petey has joined #ruby
sheap has joined #ruby
sergicles has joined #ruby
sayan has joined #ruby
brunops has quit [Ping timeout: 240 seconds]
Astralum has quit [Read error: Connection reset by peer]
fedesilv_ has joined #ruby
IceDragon has quit [Quit: Space~~~]
Astralum has joined #ruby
s2013 has quit [Remote host closed the connection]
sayan has quit [Ping timeout: 265 seconds]
mando has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nowthatsamatt has joined #ruby
Barrin6 has joined #ruby
fedesilva has quit [Ping timeout: 264 seconds]
Arzaga has joined #ruby
braincrash has quit [Quit: bye bye]
dhruvasagar has quit [Ping timeout: 264 seconds]
braincrash has joined #ruby
Kabaka has joined #ruby
nari has joined #ruby
eka has joined #ruby
Atrophius has quit [Ping timeout: 260 seconds]
io_syl has quit []
g0bl1n has quit [Ping timeout: 272 seconds]
amoli has quit [Ping timeout: 264 seconds]
sayan has joined #ruby
eka has quit [Ping timeout: 246 seconds]
s2013 has joined #ruby
kenichi has quit [Read error: Connection reset by peer]
andrew______ has joined #ruby
vpretzel has quit [Remote host closed the connection]
andrew______ is now known as andrewt
vpretzel has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
yacks has quit [Ping timeout: 252 seconds]
amacgregor has quit [Ping timeout: 246 seconds]
Monie has joined #ruby
jlast has quit [Remote host closed the connection]
citrin has quit [Remote host closed the connection]
vpretzel has joined #ruby
mephux has quit [Ping timeout: 240 seconds]
yacks has joined #ruby
wmoxam has joined #ruby
pothibo has joined #ruby
mephux has joined #ruby
fleegle has joined #ruby
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
Mars___ has quit [Remote host closed the connection]
tylersmith has joined #ruby
<i8igmac> can some one help me with a little socket error handle
<i8igmac> s=TCPServer.new('localhost',80); rescue, 'port already in use'
sayan has quit [Ping timeout: 252 seconds]
<andrewt>
ahuman has quit [Quit: No Ping reply in 180 seconds.]
ahuman has joined #ruby
brunops has joined #ruby
tharindu_ has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jkhwan has quit [Ping timeout: 272 seconds]
soba has joined #ruby
falood has quit [Remote host closed the connection]
otherj has quit []
<i8igmac> how can i report the error of s=TCPServer.new('localhost',80); rescue
<i8igmac> if its permission denied
mando has quit [Remote host closed the connection]
mando has joined #ruby
Aloysius1 has quit [Remote host closed the connection]
Kricir has joined #ruby
Aloysius1 has joined #ruby
Lewis has joined #ruby
poutine has quit [Ping timeout: 248 seconds]
<bnagy> look at the exception?
Animawish has quit [Quit: Animawish]
<bnagy> or use multiple rescue statements
poutine has joined #ruby
mando has quit [Ping timeout: 246 seconds]
nixie has quit [Ping timeout: 245 seconds]
iliketur_ has quit [Ping timeout: 264 seconds]
nonamehero has quit [Quit: RIP]
vlad_starkov has joined #ruby
jamesaanderson has joined #ruby
LexicalScope has joined #ruby
sayan has joined #ruby
ifmatch has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
pragmatism has joined #ruby
LadyRainicorn has joined #ruby
katterstrophe has joined #ruby
krainboltgreene has joined #ruby
vlad_starkov has joined #ruby
OdNairy has joined #ruby
OdNairy has quit [Client Quit]
rezzack has joined #ruby
katterstrophe has quit [Ping timeout: 240 seconds]
LexicalScope has quit [Read error: Connection reset by peer]
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
monzie has joined #ruby
funburn has joined #ruby
baroquebobcat has joined #ruby
jerius has joined #ruby
liamkeily has joined #ruby
browndawg has quit [Quit: Leaving.]
danshultz has joined #ruby
sayan has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
zz_tsykoduk is now known as tsykoduk
aryaching has quit [Ping timeout: 265 seconds]
danshultz has quit [Ping timeout: 252 seconds]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Lewix has quit [Remote host closed the connection]
Animawish has joined #ruby
jerius has quit []
ifmatch has quit [Ping timeout: 252 seconds]
aspires has quit []
Mars__ has joined #ruby
aspires has joined #ruby
achru has joined #ruby
monzie has quit [Quit: Leaving]
Spami has joined #ruby
iliketur_ has joined #ruby
Guest72999 has joined #ruby
<Guest72999> d
funburn has quit [Read error: Connection reset by peer]
Guest72999 is now known as MrLinuxSwigger
<MrLinuxSwigger> :)
vlad_starkov has quit [Remote host closed the connection]
hogeo has joined #ruby
iliketur_ has quit [Max SendQ exceeded]
phansch has joined #ruby
<MrLinuxSwigger> i guess being a Software Designer is being in the same vein as a engineer
vlad_starkov has joined #ruby
aryaching has joined #ruby
jgrevich has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
theKayhan has joined #ruby
funburn has joined #ruby
aspires has quit []
i8igmac has quit [Quit: Leaving]
larissa has quit [Quit: Leaving]
s2013 has quit [Ping timeout: 245 seconds]
pothibo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby
ewnd9 has joined #ruby
julweber has joined #ruby
vpretzel has quit [Read error: Connection reset by peer]
vpretzel_ has joined #ruby
Mars__ has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
RubyRonin has joined #ruby
Mars__ has joined #ruby
Mars___ has joined #ruby
<pontiki> design == engineering
<pontiki> both are about solving problems
<emocakes> pontiki == emocakes
<emocakes> ;)
synergy_ is now known as sng|Zzz
<emocakes> qt 3.14
<pontiki> well this is awkward
lunarjar has quit [Ping timeout: 240 seconds]
<emocakes> ?
<emocakes> oh come on pontiki, might as well make it IRC official
<pontiki> headmates in different heads?
b00stfr3ak has joined #ruby
kobain has quit []
<emocakes> irc friends with irc benefits
<emocakes> qt 3.14
iliketur_ has joined #ruby
vpretzel_ has quit [Ping timeout: 245 seconds]
<pontiki> i don't know what that means
<emocakes> ugh
<emocakes> q t π
<emocakes> say it
Kricir has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
timonv has joined #ruby
<bnagy> who cites pi to 2 decimal places?
Mars__ has quit [Ping timeout: 240 seconds]
dhruvasagar has quit [Ping timeout: 246 seconds]
julweber has quit [Ping timeout: 272 seconds]
<pontiki> oh
<pontiki> lol
<emocakes> idiots bnagy
yokel has quit [Ping timeout: 265 seconds]
<emocakes> like myself
<pontiki> 2qayl
yfeldblum has joined #ruby
<LadyRainicorn> pi ~ 3
<pontiki> this is not tennesee!
soba has quit [Ping timeout: 245 seconds]
dhruvasagar has joined #ruby
<bnagy> emocakes: λ
<LadyRainicorn> Everywhere is Tennesee.
yokel has joined #ruby
Mars___ has quit [Remote host closed the connection]
<pontiki> THIS IS RUB..ARTA
Mars__ has joined #ruby
vlad_starkov has joined #ruby
sergicles has quit [Ping timeout: 260 seconds]
pragmatism has quit [Remote host closed the connection]
sergicles has joined #ruby
timonv has quit [Ping timeout: 260 seconds]
<nobitanobi> shevy, wake up. thanks
funburn has quit [Read error: Connection reset by peer]
yokel has quit [Ping timeout: 246 seconds]
yokel has joined #ruby
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zz_CripperZ is now known as CripperZ
Mars__ has quit [Ping timeout: 272 seconds]
lunarjar has joined #ruby
vpretzel has joined #ruby
enape_101 has quit [Ping timeout: 272 seconds]
root has joined #ruby
vpretzel has quit [Ping timeout: 265 seconds]
root is now known as Guest4308
sayan has joined #ruby
soba has joined #ruby
Animawish has quit [Quit: Animawish]
mweshi has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
<jrobeson> i leave for a minute look what happened
<jrobeson> now everywhere is tennessee
Fire-Dragon-DoL has left #ruby [#ruby]
browndawg has joined #ruby
funburn has joined #ruby
baroquebobcat has joined #ruby
<bnagy> git stash git stash do not want
Shidash has quit [Quit: Leaving.]
Shidash has joined #ruby
baroquebobcat has quit [Ping timeout: 246 seconds]
lfox has joined #ruby
vpretzel has joined #ruby
funburn has quit [Read error: Connection reset by peer]
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
h0rrorvacui has quit [Quit: Leaving]
ehc has joined #ruby
CripperZ is now known as zz_CripperZ
vlad_starkov has quit [Remote host closed the connection]
vpretzel has quit [Ping timeout: 260 seconds]
sherwyn has joined #ruby
Monie has quit [Ping timeout: 264 seconds]
h0rr0rvacui has quit [Quit: Leaving]
h0rrorvacui has joined #ruby
funburn has joined #ruby
Guest78758 has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
rjhunter has joined #ruby
Lewis has quit [Remote host closed the connection]
Lewix has joined #ruby
ehc has quit [Quit: ehc]
petey has quit [Remote host closed the connection]
ukd1 has quit [Quit: Leaving...]
brianpWins has quit [Quit: brianpWins]
petey has joined #ruby
rjhunter has quit [Ping timeout: 264 seconds]
wesside has quit [Ping timeout: 245 seconds]
rjhunter has joined #ruby
goofyballs789748 has joined #ruby
BizarreCake has joined #ruby
petey has quit [Ping timeout: 245 seconds]
rjhunter has quit [Ping timeout: 265 seconds]
Fezzler has joined #ruby
julweber has joined #ruby
vpretzel has joined #ruby
cina has joined #ruby
bean has joined #ruby
bean has quit [Changing host]
bean has joined #ruby
defendguin has joined #ruby
amacgregor has joined #ruby
julweber has quit [Ping timeout: 246 seconds]
<ayaz> G'morning!
<defendguin> anyone here use ruport?
mweshi has quit [Quit: mweshi]
<pontiki> morning!
jkhwan has joined #ruby
apeiros has quit [Remote host closed the connection]
<pontiki> software is like a haggis: http://youtu.be/kDjuO0_7_88
apeiros has joined #ruby
sergicles has quit [Quit: sergicles]
subbyyy_ has joined #ruby
goofyballs789748 has quit [Ping timeout: 272 seconds]
jkhwan has quit [Ping timeout: 272 seconds]
apeiros has quit [Ping timeout: 253 seconds]
iliketur_ has quit [Ping timeout: 260 seconds]
fomatin has joined #ruby
vpretzel has quit [Ping timeout: 245 seconds]
pipework has joined #ruby
vlad_starkov has joined #ruby
Fezzler has quit [Quit: Leaving]
cina has quit [Ping timeout: 252 seconds]
maroloccio has joined #ruby
iliketur_ has joined #ruby
javon has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
cina has joined #ruby
gianlucadv has joined #ruby
Coolhand has joined #ruby
aagdbl has joined #ruby
niharvey has quit [Ping timeout: 264 seconds]
resno has quit [Ping timeout: 246 seconds]
jeffdb has joined #ruby
resno has joined #ruby
Barrin6 has quit [Quit: Leaving]
jeffdb has quit [Client Quit]
cina_ has joined #ruby
cina has quit [Ping timeout: 252 seconds]
osvico has joined #ruby
burgess|vayo has quit [Quit: ^zzz]
vpretzel has joined #ruby
tharindu_ has quit [Quit: Leaving...]
mengu has joined #ruby
Mon_Ouie has quit [Read error: Operation timed out]
vpretzel has quit [Ping timeout: 240 seconds]
jeffdb has joined #ruby
ahawkins has joined #ruby
zipper has joined #ruby
zipper is now known as Guest37345
mengu has quit [Remote host closed the connection]
Demerzel has joined #ruby
nobitanobi has quit [Quit: Leaving]
<Demerzel> hello folks
vpretzel has joined #ruby
Rix has joined #ruby
vlad_starkov has joined #ruby
lfox has quit [Quit: ZZZzzz…]
amritanshu_RnD has joined #ruby
Guest37345 has quit [Changing host]
Guest37345 has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
Guest37345 is now known as zipper
noop has joined #ruby
tylersmith has quit [Remote host closed the connection]
vpretzel has quit [Ping timeout: 272 seconds]
theKayhan has quit [Remote host closed the connection]
iliketur_ has joined #ruby
bluOxigen has quit [Ping timeout: 272 seconds]
funburn has quit [Quit: funburn]
theRoUS has quit [Ping timeout: 248 seconds]
theRoUS has joined #ruby
Ch4rAss has joined #ruby
<Demerzel> anyone know if there's a way to make private a method declared in an instance_eval?
<Demerzel> trying to get that nickname? method to be private but not having any luck
<LadyRainicorn> class << obj
<LadyRainicorn> private methname
<LadyRainicorn> end
CaptainJet has quit []
Monie has joined #ruby
julweber has joined #ruby
<Demerzel> LadyRainicorn: that worked! What does that do exactly?
<LadyRainicorn> It opens obj's singleton class and declares methname private.
<Demerzel> not sure about the class << object_instance do ... end syntax
<LadyRainicorn> There's no do.
<Demerzel> oh right
<Demerzel> will that affect any future instances created from the class?
<Demerzel> e.g. from my pastebin, if nickname? wasn't private and I used that syntax, would it make all future Person's have a private nickname? or only the instance I just changed?
<Demerzel> time to experiment!
BizarreCake has quit [Read error: Connection reset by peer]
funburn has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<Demerzel> holy crap
vlad_starkov has joined #ruby
<Demerzel> it just affects the instance
<Demerzel> good to know :-)
Xeago has joined #ruby
<LadyRainicorn> Yeah, that's what you want right?
<Demerzel> thanks LadyRainicorn
julweber has quit [Ping timeout: 265 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
<Demerzel> yup
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<LadyRainicorn> ok np
<pontiki> nini
tsykoduk is now known as zz_tsykoduk
rjhunter has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
hogeo has quit [Remote host closed the connection]
marcgg has joined #ruby
rjhunter has quit [Ping timeout: 240 seconds]
Lewis has joined #ruby
Xeago has quit [Remote host closed the connection]
timonv has joined #ruby
<GreatSUN> re
user258467 has joined #ruby
vikhyat_ has joined #ruby
vikhyat has quit [Ping timeout: 245 seconds]
marcgg_ has quit [Ping timeout: 260 seconds]
gdakram has quit [Quit: gdakram]
stkowski has quit [Quit: stkowski]
h_kon has joined #ruby
Mon_Ouie has joined #ruby
gdakram has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
phansch_ has joined #ruby
lsmola has joined #ruby
timonv has quit [Ping timeout: 265 seconds]
Lewis has quit [Ping timeout: 272 seconds]
Speed has joined #ruby
hogeo has joined #ruby
pwestlund_away is now known as pwestlund
braoru has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
ahawkins has quit [Read error: Connection reset by peer]
h0rrorvacui has quit [Quit: Leaving]
phansch has quit [Ping timeout: 240 seconds]
kevinykchan has joined #ruby
cina_ has quit [Remote host closed the connection]
apeiros has joined #ruby
funburn has quit [Quit: funburn]
Elhu has joined #ruby
brunops has quit [Quit: leaving]
gdakram has quit [Quit: gdakram]
Hobogrammer has joined #ruby
jeffdb has quit [Quit: jeffdb]
Bosox20051 has joined #ruby
hogeo has quit [Remote host closed the connection]
Bosox20051 has quit [Remote host closed the connection]
krainboltgreene has quit [Ping timeout: 265 seconds]
cina has joined #ruby
Kricir has joined #ruby
timonv has joined #ruby
Bosox20051 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
threesome has joined #ruby
vpretzel has joined #ruby
jgrevich has quit [Quit: jgrevich]
hogeo has joined #ruby
vpretzel has quit [Ping timeout: 264 seconds]
fixl has joined #ruby
dagobah has joined #ruby
Jetchisel has joined #ruby
kalleth_ has quit [Read error: Connection reset by peer]
xfce-x64 has joined #ruby
sputnik13 has joined #ruby
Kricir has quit [Remote host closed the connection]
zipper has quit [Ping timeout: 240 seconds]
<xfce-x64> Can some1 please make program for me to add two input from user .. I want to try on my own webserver ..
hogeo has quit [Remote host closed the connection]
rdark has joined #ruby
charliesome has joined #ruby
<sevenseacat> make it yourself?
<sevenseacat> a program that adds two inputs is kinda trivial
<LadyRainicorn> ??+p
<LadyRainicorn> @xfce-x64
Salsa has joined #ruby
xk_id has joined #ruby
shime has joined #ruby
jprovazn has joined #ruby
tyfighter has joined #ruby
<xfce-x64> sevenseacat, Please do it
tagrudev has joined #ruby
<xfce-x64> I want to test
<LadyRainicorn> xfce-x64: ??+p
<sevenseacat> lol
<bnagy> guess it's homework season again
<LadyRainicorn> Your question has been answered.
timonv has quit [Remote host closed the connection]
kalleth has joined #ruby
Salsa has quit [Read error: Connection reset by peer]
hogeo has joined #ruby
zipper has joined #ruby
phil_b has joined #ruby
camilasan has joined #ruby
<apeiros> xfce-x64: this channel is to help, not to do your work. if you want work done for you, pay someone.
<bnagy> what's ??+p, anyway?
timonv has joined #ruby
phil_b has quit [Ping timeout: 264 seconds]
jbpros has joined #ruby
zz_tsykoduk is now known as tsykoduk
<LadyRainicorn> It's a dc program that takes two user inputs, adds them, and outputs the result.
nbrosnahan has joined #ruby
<bnagy> ahhh dc. Wow. Haven't used that in.. nevermind
andikr has joined #ruby
<lewellyn> let's not start the bc vs dc holy war ;)
Es0teric has joined #ruby
bigkevmcd has quit [Quit: Ex-Chat]
phansch_ has quit [Remote host closed the connection]
shime has quit [Ping timeout: 272 seconds]
bigkevmcd has joined #ruby
<LadyRainicorn> RPN is the one true notation!
Es0teric has quit [Client Quit]
<LadyRainicorn> I actually still use dc for command line math stuff
jhaals has joined #ruby
<LadyRainicorn> It works fairly well.
tyfighter has quit [Quit: tyfighter]
Elhu has quit [Quit: Computer has gone to sleep.]
intuxicated has joined #ruby
aganov has joined #ruby
Rix has quit [Ping timeout: 264 seconds]
yacks has quit [Quit: Leaving]
tylersmith has joined #ruby
wallerdev has quit [Quit: wallerdev]
Arzaga has quit [Quit: Computer has gone to sleep.]
ahawkins has joined #ruby
browndawg has quit [Quit: Leaving.]
tylersmith has quit [Ping timeout: 260 seconds]
rjhunter has joined #ruby
funburn has joined #ruby
Rix has joined #ruby
nemesit|znc has joined #ruby
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
coderhs has joined #ruby
rjhunter has quit [Ping timeout: 264 seconds]
aagdbl has quit [Quit: Leaving.]
fleegle has quit [Remote host closed the connection]
tsykoduk is now known as zz_tsykoduk
dhruvasagar has quit [Ping timeout: 272 seconds]
d45h has joined #ruby
kizzx2 has joined #ruby
dhruvasagar has joined #ruby
yugui is now known as yugui_zzz
cina has quit [Ping timeout: 272 seconds]
zipper has quit [Ping timeout: 272 seconds]
cina has joined #ruby
zipper has joined #ruby
julweber has joined #ruby
sayan has quit [Ping timeout: 272 seconds]
larssmit has joined #ruby
browndawg has joined #ruby
sayan has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
coderhs has quit [Quit: Leaving]
mrnugget has joined #ruby
michael_lee has joined #ruby
gtsiftsis has joined #ruby
michael_lee has quit [Max SendQ exceeded]
alup has joined #ruby
michael_lee has joined #ruby
ahawkins has quit [Remote host closed the connection]
zz_CripperZ is now known as CripperZ
hogeo has quit [Remote host closed the connection]
CripperZ is now known as N00D
timonv has quit [Remote host closed the connection]
hogeo has joined #ruby
mengu has quit [Remote host closed the connection]
amacgregor_ has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
relix has joined #ruby
vpretzel has joined #ruby
amacgregor_ has quit [Read error: No route to host]
amacgregor_ has joined #ruby
amacgregor has quit [Ping timeout: 245 seconds]
Garo__ has joined #ruby
liamkeily has quit [Ping timeout: 252 seconds]
noyb has joined #ruby
michael_lee has quit [Max SendQ exceeded]
gasbakid has joined #ruby
<Garo__> Hello. I have a library which contains functions inside a module (Opscode::Aws::Ec2). In other block, I can list the functions with Opscode::Aws::Ec2.instance_methods(false) which prints [:ec2] (ec2 is the function). How ever if I try to execute the ec2 function I get this error: "undefined method `ec2' for Opscode::Aws::Ec2:Module". Any ideas what I'm doing wrong?
claymore has joined #ruby
michael_lee has joined #ruby
vpretzel has quit [Ping timeout: 252 seconds]
ahawkins has joined #ruby
blaxter_ has joined #ruby
aagdbl has joined #ruby
hogeo has quit [Remote host closed the connection]
cina has quit [Quit: leaving]
gyre007 has joined #ruby
olivier_bK has joined #ruby
Elhu has joined #ruby
<LadyRainicorn> You can't execute the methods of a module without including it in a class or object.
<LadyRainicorn> Try Object.new.extend(Opscode::Aws::Ec2).ec2
vlad_starkov has joined #ruby
hogeo has joined #ruby
<LadyRainicorn> Alternatively, define the method as a module_function
<shevy> Garo__ you should always include the code in question, it's a lot easier to understand what is going on with code
<shevy> *include / show the code
<LadyRainicorn> Garo__: Put `module_function` right after the `module Ec2` line.
Lewix has quit [Remote host closed the connection]
_Andres has joined #ruby
<Garo__> yeah, I know I should include the code. this is just a bit Chef specific. The module in this case can be found at https://github.com/opscode-cookbooks/aws/blob/master/libraries/ec2.rb and I don't want to make change into that module. Here's the snippet of my code: https://gist.github.com/garo/7766014
sheap has quit [Quit: Lost terminal]
TMM has joined #ruby
TMM has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
<LadyRainicorn> Well you're ignoring failure to load a dependency, which is bad.
<LadyRainicorn> And you should do that at the top.
michael_lee has quit [Max SendQ exceeded]
<LadyRainicorn> And you probably want a class.
<Garo__> LadyRainicorn: care to elaborate?
<LadyRainicorn> It is not good for modules to have state.
<LadyRainicorn> Look at your ec2 function.
<LadyRainicorn> rescue logs an error and continues.
<LadyRainicorn> This is bad.
michael_lee has joined #ruby
zz_tsykoduk is now known as tsykoduk
<Garo__> yeah, I know that it has a state. It's not my module and not my function. The aws cookbook is a commonly used cookbook in the Chef community and in my case I can't do any changes to that, but I just have to use it as-is.
sherwyn has quit [Remote host closed the connection]
<Garo__> well I suppose that I could fork that module into my project and fix these problens if I don't find any other choises
<LadyRainicorn> The specific problem here is that new_resource is not defined.
<LadyRainicorn> I get the feeling you are using this in a way it qasn't intended to be.
<LadyRainicorn> This looks like a module meant for inclusion in a specific class.
cbetta_afk is now known as cbetta
<Garo__> yeah, that might very well be the case and that my poor Chef knowledge is shooting me in my foot :(
<LadyRainicorn> First, the code is shit.
cbetta is now known as cbetta_afk
<LadyRainicorn> Second, you need to instantiate whatever thing this is meant for and use that.
<LadyRainicorn> This module just doesn't contain the required code anywhere.
phansch has joined #ruby
vikhyat_ has quit [Remote host closed the connection]
<Garo__> LadyRainicorn: ok, thanks. Seems that I have to revisit my plan and learn how this module was supposed to be used in the first place and then think if I should reimplement it so that it would be better code in terms of error handling etc
Kricir has joined #ruby
amacgregor_ has quit [Ping timeout: 246 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
subbyyy has joined #ruby
<Garo__> LadyRainicorn: your input was greatly appreciated :)
jhaals has joined #ruby
<LadyRainicorn> np
shime has joined #ruby
subbyyy_ has quit [Ping timeout: 240 seconds]
jhaals_ has joined #ruby
tsykoduk is now known as zz_tsykoduk
troessner has joined #ruby
blackmes1 has joined #ruby
roolo has joined #ruby
aryaching has quit [Ping timeout: 265 seconds]
jhaals has quit [Ping timeout: 264 seconds]
michael_lee has quit [Max SendQ exceeded]
michael_lee has joined #ruby
marr has joined #ruby
xfce-x64 has left #ruby ["Leaving"]
Lewix has joined #ruby
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby
rjhunter has joined #ruby
Lewix has quit [Remote host closed the connection]
charliesome has joined #ruby
obs has joined #ruby
Lewix has joined #ruby
ghr has joined #ruby
rezzack has quit [Quit: Leaving.]
obs has quit [Client Quit]
obs has joined #ruby
drumusician has joined #ruby
rjhunter has quit [Ping timeout: 264 seconds]
vpretzel has joined #ruby
sevenseacat has quit [Remote host closed the connection]
timonv has joined #ruby
michael_lee has quit [Max SendQ exceeded]
matchaw_ has quit [Remote host closed the connection]
Azure has quit [Quit: My MBP went to sleep.]
vifo has joined #ruby
michael_lee has joined #ruby
matchaw has joined #ruby
<vifo> Hey guys. I am quite new to ruby and struggling a bit with "nil"ness and "empty"ness.
yfeldblum has joined #ruby
<tobiasvl> vifo: fire away
<vifo> Say i have a variable a, possibly nil. Is there a better way to check for emptyness that "if (@a.nil? == false and @a)"?
dhruvasagar has quit [Read error: Connection reset by peer]
<shevy> this is awful
<vifo> I mean @a.
<shevy> what is "emptyness" btw?
enape_101 has joined #ruby
vpretzel has quit [Ping timeout: 252 seconds]
<vifo> emptyness here: variable a == "", so a is a string or undef
<vifo> nil i mean.
<shevy> ok, so with emptyness you mean an object taht is either nil, or a string object without size
avril14th has joined #ruby
<vifo> yes, for this particular case
liamkeily has joined #ruby
nvrch has joined #ruby
<shevy> puts 'Exists. ' unless @a.nil? or @a.empty?
<vifo> Okay, but still two comparisons are needed?
yfeldblum has quit [Ping timeout: 240 seconds]
<shevy> well you want to check on two different conditions
<shevy> first you need to check nil vs. non-nil
<shevy> seconds you want to check if the string object has size 0 or not
<vifo> Exactly.
<shevy> I think rails has some addition
<avril14th> you have Rails::blank for strings, but nothing like nil or empty for arrays
<shevy> yeah
<avril14th> blank is nil or ""
<vifo> I understand that nil cannot provide .empty?, thought there would be some magic though
<tobiasvl> vifo: not sure what languages you know, but in ruby empty strings are not falsy, so you do need two checks
<shevy> vifo yeah, rails magic :D
<avril14th> you do do try vifo
<avril14th> if array.try(:empty?)
enape_101 has quit [Ping timeout: 264 seconds]
<avril14th> this is a two in one
<shevy> what is #try ?
<vifo> tobiasvl: Perl, for >10 years now. So ruby seems both familiar and completely different to me :)
<avril14th> Rails method
<shevy> ruby is like perl!
<LadyRainicorn> Ruby is not like Perl!
<shevy> rails is like magic!
dhruvasagar has joined #ruby
* LadyRainicorn is horrified at the accusation.
<jle`> ruby...best of perl, best of lisp, best of smalltalk
<avril14th> try is "return what the method returns if the object is not nil, otherwise return nil"
<shevy> LadyRainicorn likes php!
<jle`> (and best of python, but don't let anybody hear you say that)
<vifo> Hmmmmm, okay, then I have to make two comparisons. Don't like the idea of loading rails helpers just for a 10 liner :)
<avril14th> if you're outside rails it's indeed a good idea
* LadyRainicorn feels like she has been villified beyond comprehension.
<avril14th> or you can code it
<avril14th> I mean copy paste the code from rails
robbyoconnor has joined #ruby
<shevy> jle` minus the documentation. http://docs.python.org/3.4/tutorial/introduction.html ruby does not have a tutorial of similar quality :(
<avril14th> the source is 4 lines
<vifo> Okay, I'll do my very best. Thanks for explanations.
<LadyRainicorn> Yeah Python has great documentation.
<shevy> vifo you can put this part of rails-code into a module and use that module
<LadyRainicorn> But their stdlib does weird shit.
<LadyRainicorn> And they never change anything.
<shevy> I would not know. Every time python interpreter screams at my "IndentError" I quit at once...
<jle`> no intention of starting a language war
<jle`> :)
<shevy> no indention indeed!
noyb has quit [Ping timeout: 264 seconds]
ua_ has quit [Read error: Connection reset by peer]
<LadyRainicorn> If you are actually getting those, you are probably doing it wrong.
<shevy> PHP rules
<LadyRainicorn> ;-;
<vifo> LadyRainicorn: from my point of view ruby is completely different than Perl. The only thing they really share is weird syntax.
<shevy> LadyRainicorn yeah but... I feel as if a language that requires indent has a parser that is silly
<jle`> vifo: the syntax and much of what is borrowed allows for extremely expressive systems scripting/programming
michael_lee has quit [Max SendQ exceeded]
<LadyRainicorn> The syntax is a lot different
<jle`> all of Ruby's systems scripting/prog goodness is a result of its perl background
<jle`> i like making hyperbolies
<LadyRainicorn> Personally I don't see why \t can't be a valid token.
<jle`> hyperboles
subbyyy has quit [Ping timeout: 272 seconds]
<vifo> For now, I really like that everything is an Object and the extremely flexible oop. This is something, Perl5 is missing at all.
<LadyRainicorn> Err, \n\t
<jle`> okay not all, but a good foundation
defendguin has quit [Read error: Connection reset by peer]
michael_lee has joined #ruby
<vifo> Yeah, yeah, I known Moose, Moo et al.
defendguin has joined #ruby
hvbh83tht987 has joined #ruby
fomatin has quit [Quit: Computer has gone to sleep.]
lele has joined #ruby
hvbh83tht987 has left #ruby ["Leaving"]
<RubyRonin> what is the best way to find alternatives to object.all
hogeo has quit [Remote host closed the connection]
<LadyRainicorn> That code looks wrong.
ringaroses has joined #ruby
<RubyRonin> it is
<RubyRonin> it returns this
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<LadyRainicorn> What is it attempting to do?
<shevy> it attempts to take over the world, I think
<RubyRonin> using rails, attempting to pull each payment out of the payment table
popl has joined #ruby
popl has joined #ruby
<shevy> RubyRonin when you have code like this, something seems to not make sense. why would you want to iterate when you then call other methods anyway
<shevy> @customer.payment.each do |payment|
<shevy> @customer.payment.all
<shevy> besides
<shevy> where do you use |payment| ?
<LadyRainicorn> I am pretty sure that's not taking over the world.
<shevy> hehe
<RubyRonin> I don't, I tired and it didn't work
<RubyRonin> tried
Mon_Ouie has quit [Ping timeout: 272 seconds]
<shevy> RubyRonin tried where or how?
zipper has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Remote host closed the connection]
xk_id has quit [Quit:
<shevy> RubyRonin there is no Object#all btw and if it is rails specific it would have to go into #rubyonrails - if I were you, I would write a method that will do the <tr><td> generation inside of it, and you should then only feed it the array you want to display
<shevy> I dont use erb templates though, I find them unreadable
ringaroses has quit [Ping timeout: 252 seconds]
<shevy> and @customer.payment does not yield an array?
<RubyRonin> roger that
<shevy> what does it display @customer.payment.class
mrnugget has quit [Quit: mrnugget]
<RubyRonin> it yields this
michael_lee has quit [Max SendQ exceeded]
<LadyRainicorn> What do you want it to output?
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy> ah so it is a custom class
<RubyRonin> that yields this https://gist.github.com/anonymous/7766664
<shevy> <ActiveRecord::Associations::CollectionProxy::ActiveRecord_Associations_CollectionProxy_Payment:0x2c75658> #<ActiveRecord::Associations::CollectionProxy::ActiveRecord_Associations_CollectionProxy_Payment:0x2c75658> #<ActiveRecord::Associations::CollectionProxy::ActiveRecord_Associations_CollectionProxy_Payment:0x2c75658>
<shevy> ack
<RubyRonin> the contents of each row of the table
<shevy> how many layers are that
<shevy> rails should be banned :)
vlad_starkov has joined #ruby
michael_lee has joined #ruby
<RubyRonin> wow
<RubyRonin> ok
<RubyRonin> i'll ask in the rubyonrails group :-D
atm1 has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
Yan__ has joined #ruby
atm1 is now known as canton7-mac
<shevy> RubyRonin well, if it has proper documentation then it surely has a default way to output these results
dhruvasagar has joined #ruby
liamkeily has quit [Ping timeout: 245 seconds]
<shevy> but it must do something for #each ... I think you get #each if you do include Enumerable? or something like that
LadyRainicorn has quit [Quit: Bye]
LadyRainicorn has joined #ruby
lkba has quit [Ping timeout: 272 seconds]
<RubyRonin> thanks
zipper has joined #ruby
psyl0n has joined #ruby
hogeo has joined #ruby
funburn has quit [Quit: funburn]
<shevy> vifo does that work?
blackmes1 has quit [Ping timeout: 240 seconds]
<vifo> sure, why not?
<shevy> for me it does not work
<shevy> "abc".non_blank?
<shevy> NoMethodError: undefined method `blank?' for "abc":String
<shevy> so I wonder if you tested it ;D
timonv has quit [Remote host closed the connection]
<vifo> moop
<vifo> :)
<canton7-mac> it's an ActiveSupport extension
<shevy> well he forgot to include the code content :P
akemrir has joined #ruby
himsin has joined #ruby
shaunbaker has joined #ruby
shaunbak_ has joined #ruby
Lewix has quit [Remote host closed the connection]
akemrir has quit [Client Quit]
<RubyRonin> figured it out
klaut has joined #ruby
mrnugget has joined #ruby
mrnugget has quit [Client Quit]
<popl> By reading the documentation? :)
shaunbaker has quit [Ping timeout: 246 seconds]
mengu has quit [Remote host closed the connection]
vpretzel has joined #ruby
nhhagen has joined #ruby
michael_lee has quit [Max SendQ exceeded]
michael_lee has joined #ruby
workmad3 has joined #ruby
blackmes1 has joined #ruby
vifo has quit [Quit: Lost terminal]
vpretzel has quit [Ping timeout: 272 seconds]
cina has joined #ruby
N00D is now known as zz_N00D
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xk_id has joined #ruby
<shevy> by stopping to use rails!
popl has quit [Quit: Lost terminal]
<shevy> bundler seems rather slow
zipper has quit [Ping timeout: 252 seconds]
hogeo has quit [Remote host closed the connection]
<shevy> hmm
<shevy> what was the name of the framework that built onto sinatra?
Xaitec has joined #ruby
<avril14th> Paul Anka?
<canton7-mac> shevy, Padrino
<shevy> lol avril14th
mklappstuhl has joined #ruby
<shevy> yeah... padrino... I keep on forgetting that, time to write it down
fedesilv_ has quit [Remote host closed the connection]
patant has joined #ruby
hogeo has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
Alina-malina has quit [Ping timeout: 252 seconds]
vpretzel has joined #ruby
ae-r has joined #ruby
hogeo has quit [Remote host closed the connection]
kevinykchan has quit [Quit: Computer has gone to sleep.]
Alina-malina has joined #ruby
strax has joined #ruby
michael_lee has quit [Max SendQ exceeded]
nhhagen has quit [Remote host closed the connection]
fedesilva has joined #ruby
MissionCritical has quit [Ping timeout: 252 seconds]
tesuji has joined #ruby
zipper has joined #ruby
timonv has joined #ruby
michael_lee has joined #ruby
liamkeily has joined #ruby
tziOm has quit [Read error: No route to host]
vpretzel has quit [Ping timeout: 264 seconds]
patant has quit [Quit: patant]
endash has joined #ruby
ae-r has quit [Ping timeout: 240 seconds]
hogeo has joined #ruby
yfeldblum has joined #ruby
ww26 has quit [Ping timeout: 260 seconds]
nhhagen has joined #ruby
liamkeily has quit [Ping timeout: 260 seconds]
msuszczy_ has quit [Quit: leaving]
Mission-Critical has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
Ch4rAss has quit [Quit: Lost terminal]
cbetta_afk is now known as cbetta
Weazy has joined #ruby
nhhagen has quit [Remote host closed the connection]
michael_lee has quit [Max SendQ exceeded]
michael_lee has joined #ruby
aagdbl has quit [Quit: Leaving.]
guiguidoc has joined #ruby
ae-r has joined #ruby
Yan__ has quit [Ping timeout: 264 seconds]
cbetta is now known as thecbetta
thecbetta is now known as TheBetta
Mission-Critical is now known as MissionCritical
ldnunes has joined #ruby
mojjojo has joined #ruby
charliesome has joined #ruby
falood has joined #ruby
blackmes1 has quit [Remote host closed the connection]
blackmes1 has joined #ruby
zipper has quit [Ping timeout: 252 seconds]
Yan__ has joined #ruby
TheBetta is now known as cbetta
michael_lee has quit [Max SendQ exceeded]
ae-r has quit [Ping timeout: 245 seconds]
michael_lee has joined #ruby
eka has joined #ruby
Yan___ has joined #ruby
julweber has quit [Remote host closed the connection]
atno has quit [Remote host closed the connection]
michael_lee has quit [Read error: Connection reset by peer]
Yan__ has quit [Ping timeout: 251 seconds]
aryaching has joined #ruby
dhruvasagar has quit [Quit: leaving]
dhruvasagar has joined #ruby
skaflem has joined #ruby
h_kon has quit [Remote host closed the connection]
xcv has joined #ruby
h_kon has joined #ruby
shaunbak_ has quit [Remote host closed the connection]
RubyRonin has quit [Quit: ChatZilla 0.9.90.1 [Firefox 25.0.1/20131112160018]]
Hanmac1 has joined #ruby
ww26 has joined #ruby
Hanmac has quit [Ping timeout: 264 seconds]
blackmes1 has quit [Ping timeout: 240 seconds]
nhhagen has joined #ruby
hiall has joined #ruby
psyl0n has quit [Remote host closed the connection]
Yan__ has joined #ruby
Yan___ has quit [Ping timeout: 264 seconds]
xk_id has quit [Quit:
osvico has quit [Ping timeout: 260 seconds]
liamkeily has joined #ruby
amacgregor has joined #ruby
xk_id has joined #ruby
zz_tsykoduk is now known as tsykoduk
Hanmac has joined #ruby
Hanmac1 has quit [Ping timeout: 252 seconds]
LadyRainicorn has quit [Quit: Bye]
atno has joined #ruby
mengu has joined #ruby
Hanmac has quit [Ping timeout: 245 seconds]
Hanmac has joined #ruby
claymore has quit [Quit: Leaving]
tsykoduk is now known as zz_tsykoduk
matheuscaceres has joined #ruby
BizarreCake has joined #ruby
roadt has quit [Read error: Operation timed out]
Yan__ has quit [Ping timeout: 264 seconds]
camilasan has quit [Remote host closed the connection]
rjhunter has joined #ruby
vpretzel has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby
Yan__ has joined #ruby
vpretzel has quit [Ping timeout: 240 seconds]
rjhunter has quit [Ping timeout: 272 seconds]
freerobby has joined #ruby
liamkeily has quit [Ping timeout: 245 seconds]
avril14th has quit [Remote host closed the connection]
preller has joined #ruby
liamkeily has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
timmillwood has joined #ruby
<timmillwood> ^^ might be of interest
Hanmac1 has joined #ruby
Hanmac has quit [Ping timeout: 240 seconds]
mercwithamouth has joined #ruby
liamkeily has quit [Ping timeout: 245 seconds]
emocakes has quit [Quit: Leaving...]
hogeo has quit [Remote host closed the connection]
popl has quit [Ping timeout: 240 seconds]
tziOm has joined #ruby
<lewiz> I'm looking at some Ruby code that is trying to read from a file: cache_path + user_path. e.g. this might be /myapp/cache/usr/scripts/scriptname. On UNIX this works okay but for Windows we fail as: C:\myapp\cache\c:\usr\scripts\scriptname is invalid due to the c: in the second path. Is there a function I can use that will sanely sanitise the name?
hogeo has joined #ruby
gwb3 has quit [Quit: leaving]
liamkeily has joined #ruby
Hanmac1 has quit [Ping timeout: 246 seconds]
gwb3 has joined #ruby
Hanmac has joined #ruby
<oddalot> maybe regex?
Astralum has quit [Ping timeout: 265 seconds]
blaxter_ is now known as blaxter
gwb3 has quit [Client Quit]
hogeo has quit [Remote host closed the connection]
camilasan has joined #ruby
gwb3 has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
liamkeily has quit [Ping timeout: 260 seconds]
<lupine> File.join generally
<lupine> lewiz, although it might not work for this specific case without making user_path relative
Jdubs has joined #ruby
<Jdubs> Hello! o/
preller has quit [Ping timeout: 264 seconds]
<Jdubs> Anyone awake enough to help me out? :)
zipper has joined #ruby
Hanmac1 has joined #ruby
Kricir has quit [Remote host closed the connection]
<canton7-mac> Ask, and there's a chance you'll receive :P
<lewiz> lupine: I see. Do you know of a good way to make user_path relative? I know I can just detect "n:\" and strip it by hand but it seems there might be a "correct" way?
<Jdubs> Sweet!
dhruvasagar has quit [Read error: Connection reset by peer]
Kricir has joined #ruby
<Jdubs> Okay: I'm deleting an object from a group of objects that are used to make a table. I've checked the store to make sure it gets deleted, and it does. However, the list doesn't update :( Any idea?
dhruvasagar has joined #ruby
Hanmac has quit [Ping timeout: 264 seconds]
<canton7-mac> context? database?
<Jdubs> I'm using deleteRecord if that's what you mean?
marr has quit [Ping timeout: 264 seconds]
<canton7-mac> deleteRecord on *what*. What is it that you're calling deleteRecord on?
<Jdubs> an item in a collection of models
hogeo has joined #ruby
rjhunter has joined #ruby
<canton7-mac> who defined the method 'deleteRecord'?
<Jdubs> they are used in an {{#each }} to make a table
<canton7-mac> what library are you using?
<Jdubs> ember data
<Jdubs> aww crap
<Jdubs> LOL
<Jdubs> im in the wrong room
<Jdubs> sigh
<Jdubs> Sorry it's late :(
<canton7-mac> heh, no worries
<Jdubs> wow its 4am
<Jdubs> why am i working :/
<Jdubs> still at the office too lol
gwb3 has quit [Quit: leaving]
gasbakid has quit [Ping timeout: 272 seconds]
xk_id has quit [Quit:
aryaching has quit []
<Jdubs> canton7-mac: so what are you doing up so late :P
gwb3 has joined #ruby
Kricir has quit [Ping timeout: 264 seconds]
julweber has joined #ruby
sergicles has joined #ruby
<Rydekull> late? it has just been lunch
JohnBat26 has joined #ruby
<Jdubs> where are you?
<Jdubs> its 4am here
<Jdubs> lol
gasbakid has joined #ruby
<canton7-mac> Jdubs, lunch is just coming up
<canton7-mac> GMT here
julweber has quit [Read error: Connection reset by peer]
mklappstuhl has quit [Remote host closed the connection]
julweber has joined #ruby
phil_b has joined #ruby
Astralum has joined #ruby
<Jdubs> you in the uk?
<canton7-mac> yeah
<Jdubs> cool
<Jdubs> I'm getting married there this month!
<canton7-mac> ooh very nice! whereabouts?
cina has quit [Ping timeout: 264 seconds]
gasbakid_ has joined #ruby
<Jdubs> Clearwater castle in glouchestershire (however you spell it)
indigo has quit [Quit: Leaving]
mephux has quit [Ping timeout: 246 seconds]
gasbakid has quit [Ping timeout: 265 seconds]
<canton7-mac> cool, looks like a nice place
<workmad3> Jdubs: gloucestershire
<workmad3> Jdubs: pronounced 'glos-ter-shire'
mephux has joined #ruby
<Jdubs> My family lives in swansea area
<workmad3> Jdubs: and not (as I have heard once) 'glue-chester-shire' :)
hogeo has quit [Remote host closed the connection]
* workmad3 grew up in gloucestershire
Yan__ has quit [Ping timeout: 272 seconds]
<Jdubs> workmad3 I haven't seen the castle in person, have you ever seen it?
<workmad3> nope
mengu has quit [Remote host closed the connection]
<Jdubs> I got really bad news about the wedding the other day
<workmad3> I didn't realise there was a castle nearby :)
<Jdubs> apparently i have to give a speech :(
<Jdubs> i don't do speeches...
<workmad3> me neither
nhhagen has quit [Remote host closed the connection]
<workmad3> I managed to avoid speeches at my wedding (apart from a very brief one from my best man)
mengu has joined #ruby
postmodern has quit [Quit: Leaving]
Hanmac1 has quit [Ping timeout: 265 seconds]
gasbakid_ has quit [Read error: Connection reset by peer]
Weazy has quit [Ping timeout: 272 seconds]
Czupa has joined #ruby
browndawg has quit [Quit: Leaving.]
Hanmac has joined #ruby
<Jdubs> man, im just afraid im going to freak out or break down or something
<Jdubs> only speech i ever gave in college was to about 10 people, and i was shaking
<Jdubs> and my voice was quivering
<Jdubs> this is going to be like 50+ people
Yan__ has joined #ruby
<workmad3> just thank everyone for coming, say that you hope they're enjoying themselves and pass on to the best man
Elhu has quit [Quit: Computer has gone to sleep.]
<workmad3> and remember that it's your wedding, not theirs ;)
<Jdubs> That's only slightly true lol
<Jdubs> The wedding is more for everyone else than it is for us
<Jdubs> we already got married, this is for the families
<pontiki> workmad3++
<pontiki> that is cool, Jdubs
<Jdubs> Yeah, it will be nice though
<Jdubs> We are going on honeymoon in the maldives
<Jdubs> Anyone ever been there?
<Jdubs> I hope it's nice
<shevy> no mosquitoes?
Weazy has joined #ruby
<pontiki> omg, it's so lovely
ewnd9 has quit [Ping timeout: 264 seconds]
vpretzel has joined #ruby
Yan__ has quit [Ping timeout: 272 seconds]
<pontiki> i've not been, yet, but it's one of my hoped-for destinations
aryaching has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
vlad_starkov has joined #ruby
falood has quit [Remote host closed the connection]
emocakes has joined #ruby
emocakes has quit [Client Quit]
<pontiki> do you like to dive, Jdubs ?
<Jdubs> used to be a certified scuba diver many years ago
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lunarjar has quit [Ping timeout: 240 seconds]
<pontiki> cool
<pontiki> the water is supposed to super clear, like the carribean
vpretzel has quit [Ping timeout: 245 seconds]
<pontiki> and warm :)))))
liamkeily has joined #ruby
lunarjar has joined #ruby
<Jdubs> sweet!
<Jdubs> i think we are going to go snorkling when we aren't busy ;)
Bira has joined #ruby
flagg0204 has quit [Ping timeout: 240 seconds]
himsin has quit [Quit: himsin]
yfeldblum has joined #ruby
amoli has joined #ruby
dhruvasagar has quit [Ping timeout: 265 seconds]
agent_white has quit [Quit: Lost terminal]
nhhagen has joined #ruby
lunarjar has quit [Ping timeout: 240 seconds]
nhhagen has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Remote host closed the connection]
<pontiki> well, best of, congrats, and all that
<pontiki> and really, workmad3 is so right about the speech
kitak has quit [Remote host closed the connection]
<pontiki> keep it very simple, short, people will love you for it
jbpros has quit [Ping timeout: 252 seconds]
<workmad3> yeah, leave the long speech with inappropriate jokes up to the best man
robbyoconnor has quit [Ping timeout: 264 seconds]
<Jdubs> Thanks guys :)
mklappstuhl has joined #ruby
<Jdubs> i miss working with ruby
<Jdubs> they moved me from backend to frontend :(
<workmad3> Jdubs: boo :(
<workmad3> Jdubs: compile a ruby interpreter with emscriptem and write your code using ruby? :)
<Jdubs> lol
<Jdubs> :P
<workmad3> Jdubs: how about coffeescript? :)
<Jdubs> yeah im using cs
lsmola has quit [Ping timeout: 252 seconds]
flagg0204 has joined #ruby
<Jdubs> Ember is a harsh mistress ill say that
nfk has joined #ruby
nfk has joined #ruby
nfk has quit [Changing host]
mklappstuhl has quit [Ping timeout: 272 seconds]
Xaitec_ has joined #ruby
Beoran__ has quit [Ping timeout: 246 seconds]
jamesaanderson has joined #ruby
jkamenik has joined #ruby
vlad_starkov has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
shime has quit [Ping timeout: 265 seconds]
jbpros has joined #ruby
yokel has quit [Ping timeout: 260 seconds]
sayan has quit [Ping timeout: 264 seconds]
ringaroses has joined #ruby
vlad_starkov has joined #ruby
danshultz has joined #ruby
browndawg has joined #ruby
darkf has quit [Quit: Leaving]
amoli has quit [Ping timeout: 264 seconds]
zmansiv has quit [Ping timeout: 252 seconds]
x0nic has quit [Ping timeout: 252 seconds]
sailias has joined #ruby
GoodTimes has joined #ruby
zmansiv has joined #ruby
x0nic has joined #ruby
Elhu has joined #ruby
Aloysius1 has quit [Quit: No Ping reply in 180 seconds.]
Aloysius1 has joined #ruby
Mon_Ouie has quit [Ping timeout: 246 seconds]
lsmola has joined #ruby
nari has quit [Ping timeout: 246 seconds]
Beoran__ has joined #ruby
yokel has joined #ruby
mboyd has joined #ruby
camilasan has quit [Remote host closed the connection]
jbpros has quit [Read error: Connection reset by peer]
matheuscaceres has quit [Quit: matheuscaceres]
Xaitec_ has quit [Remote host closed the connection]
ringaroses has quit [Read error: Connection timed out]
Yan__ has joined #ruby
zipper has quit [Ping timeout: 272 seconds]
yokel has quit [Ping timeout: 264 seconds]
camilasan has joined #ruby
spychalski has joined #ruby
yokel has joined #ruby
freerobby has quit [Quit: Leaving.]
d45h has quit []
cbetta is now known as cbetta_afk
ewnd9 has joined #ruby
sailias has quit [Ping timeout: 272 seconds]
mrfoto has joined #ruby
xcv has quit [Remote host closed the connection]
xcv has joined #ruby
browndawg has left #ruby [#ruby]
zipper has joined #ruby
yokel has quit [Ping timeout: 264 seconds]
Mapley has quit [K-Lined]
<vlad_starkov> Question: anyone know how to properly set ruby environment variables to run .rb scripts from Automator app in OSX Mavericks?
yokel has joined #ruby
browndawg has joined #ruby
Mapley has joined #ruby
xcv has quit [Ping timeout: 272 seconds]
maycon has joined #ruby
marr has joined #ruby
ckinni has joined #ruby
yokel has quit [Ping timeout: 264 seconds]
yokel has joined #ruby
zipper has quit [Quit: leaving]
Jetchisel has quit [Ping timeout: 260 seconds]
zipper has joined #ruby
pipework has quit [Ping timeout: 265 seconds]
yalue has joined #ruby
mklappstuhl has joined #ruby
browndawg has quit [Read error: Connection reset by peer]
timmillwood has quit [Read error: Operation timed out]
browndawg has joined #ruby
drumusician has quit [Ping timeout: 264 seconds]
patant has joined #ruby
nari has joined #ruby
wmoxam has quit [Ping timeout: 264 seconds]
yokel has quit [Ping timeout: 272 seconds]
rjhunter has quit [Remote host closed the connection]
vpretzel has joined #ruby
matheuscaceres has joined #ruby
kraljev has joined #ruby
<kraljev> hello, File#each_line
defendguin has quit [Quit: Leaving.]
<kraljev> only gives one line per iteration
<kraljev> how can i get, let's say 100?
<kraljev> it has to be lazy, of course.
yokel has joined #ruby
lucazi has joined #ruby
flops has joined #ruby
nhhagen has joined #ruby
vpretzel has quit [Ping timeout: 240 seconds]
<kraljev> anyone?
sayan has joined #ruby
<olivier_bK> give me one minute
lucazi has quit [Ping timeout: 252 seconds]
yokel has quit [Ping timeout: 252 seconds]
cpruitt has joined #ruby
Yan__ has quit [Read error: Operation timed out]
yfeldblum has joined #ruby
browndawg has quit [Read error: Connection reset by peer]
<olivier_bK> try that
cpruitt has quit [Client Quit]
lucazi has joined #ruby
yokel has joined #ruby
ArchBeOS-work has joined #ruby
ShortWave has quit [Quit: Presented in ( ( ( STEREO ) ) ) where availalble.]
browndawg has joined #ruby
Yan__ has joined #ruby
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ArchBeOS-work has quit [Client Quit]
<DouweM> kraljev: file.each_line without a block returns an Enumerator. You could probably do something with that
ArchBeOS-work has joined #ruby
ArchBeOS-work has joined #ruby
ArchBeOS-work has quit [Changing host]
shime has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
spychalski has quit [Read error: Connection reset by peer]
soba has quit [Ping timeout: 272 seconds]
<DouweM> olivier_bK: he wants 100 lines per iteration, your code is irrelevant
<kraljev> this is my original solution
yokel has quit [Ping timeout: 252 seconds]
<olivier_bK> DouweM, :( sniff...
yokel has joined #ruby
bluOxigen has joined #ruby
<DouweM> How about file.each_line.each_slice(100) { |lines| ... }
* DouweM comforts olivier_bK
ffranz has joined #ruby
timmillwood has joined #ruby
Astralum has quit [Ping timeout: 272 seconds]
kraljev has quit [Ping timeout: 252 seconds]
flops has quit [Quit: leaving]
shaunbak_ has joined #ruby
flops has joined #ruby
brian___ has joined #ruby
anderson has joined #ruby
ua has joined #ruby
yokel has quit [Ping timeout: 245 seconds]
yalue has quit [Remote host closed the connection]
cbetta_afk is now known as cbetta
pong42 has joined #ruby
yokel has joined #ruby
<KevinSjoberg> Does ruby have something similar to Pythons bisect function?
spychalski has joined #ruby
spychalski is now known as Guest55274
<pong42> Is there a function that does what Enumerable#detect does, only I want the computed value from the block returned
varfoo has quit [Quit: WeeChat 0.4.0]
matheuscaceres has quit [Quit: matheuscaceres]
stringoO has joined #ruby
Guest55274 has quit [Client Quit]
sepp2k has joined #ruby
freerobby has joined #ruby
freerobby has quit [Client Quit]
_Andres has quit [Read error: Connection reset by peer]
<pong42> What I do now is: v = my_array.detect { |e| computation(e) }; result = computation(e)
mark_locklear has joined #ruby
yokel has quit [Ping timeout: 272 seconds]
yokel has joined #ruby
Arzaga has joined #ruby
<cout> pong42: will inject do what you want?
javon has joined #ruby
nebula_ has joined #ruby
nebula_ is now known as nebula__
<pong42> cout, not quite, because it computes a value that uses all values to compute something like a sum, a product or an average
kaldrenon has joined #ruby
yalue has joined #ruby
ckinni has joined #ruby
osvico has joined #ruby
Arzaga has quit [Client Quit]
mojjojo has quit [Quit: mojjojo]
<cout> pong, but you don't have to use that value
yokel has quit [Ping timeout: 260 seconds]
allsystemsarego has joined #ruby
<cout> it returns the result of the last time the block was evaluated
<cout> and if you want to break early (like with #detect), you can just use break
<waxjar> detect wants a Boolean value, though?
yokel has joined #ruby
<DouweM> detect wants false or non-false
<DouweM> pong42: you could just store the results in a hash outside of the block, and then access results[return_value_of_detect]
<cout> or in a local variable
flops has quit [Read error: Connection reset by peer]
<pong42> DouweM, yes, that is not a problem. I am just looking for a nice functional pipe like solution
<DouweM> cout: sure. for some reason I thought #detect might not be linear, but that shouldn't matter here either
<DouweM> pong42: there's none that I know of
nowthatsamatt has quit [Quit: nowthatsamatt]
relix has joined #ruby
flops has joined #ruby
<pong42> Something like this:
<pong42> module Enumerable
<pong42> def detect_map
<pong42> each do
<pong42> result = yield e
<pong42> |e|
<pong42> return result if result
<pong42> end
<pong42> end
<pong42> end
zipper has quit [Ping timeout: 264 seconds]
<pong42> [1, 2, 3].detect_map { |e| e % 2 != 0 ? nil : "Magic #{e}" }
burlyscudd has joined #ruby
zeeraw has joined #ruby
<cbetta> How do I make a function like belongs_to for my class that gets inherited? Aka I want something like: class B < A; do_something :foo; end
<cbetta> What would A look like?
s_e has quit [Excess Flood]
zipper has joined #ruby
nbrosnahan has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yokel has quit [Ping timeout: 272 seconds]
yokel has joined #ruby
RaCx has joined #ruby
niop has joined #ruby
s_e has joined #ruby
mjs2600 has joined #ruby
<niop> hi folks, the jruby channel is typically rather quiet. I have a simply but frustrating issue if commment might be made on it here. When I run this code:
<niop> require "java"
<niop> java_import "java.io.File"
<niop> puts ::File.expand_path 'myfile.txt'
<niop> an error is produced:
<niop> NoMethodError: undefined method `expand_path' for Java::JavaIo::File:Class
breakingthings has joined #ruby
habanany has joined #ruby
<KevinSjoberg> I would love some help with this. I have this {"E1"=>0.4875, "E2"=>0.4875, "E3"=>0.0075, "E4"=>0.0175} which defines a key with a defined probability of likelihood to be picked. I now want to get a random key according to the rules of probability.
Yan__ has quit [Ping timeout: 272 seconds]
drumusician has joined #ruby
maycon has quit [Quit: Saindo]
vlad_starkov has quit [Remote host closed the connection]
Yan__ has joined #ruby
<cbetta> niop ruby version?
drumusician has quit [Remote host closed the connection]
<KevinSjoberg> Could I maybe the the probabilities and make a new array of cumulative sums and then binary search that array for a random value between 0 and 1? Given that the probabilities sum up to 1?
yokel has quit [Ping timeout: 264 seconds]
<KevinSjoberg> take*
DouweM has quit [Ping timeout: 246 seconds]
xuefl has joined #ruby
nebula__ has quit [Ping timeout: 264 seconds]
yokel has joined #ruby
almarshall has joined #ruby
drumusician has joined #ruby
GreatSUN has quit [Ping timeout: 250 seconds]
michael_lee has joined #ruby
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mengu is now known as rmengu
almarshall has quit [Client Quit]
<niop> cbetta: great, just sitting waiting and thinking about KevinSjoberg's issue. ruby version is the one that comes with jruby, which is 1.9
xuefl has quit [Ping timeout: 245 seconds]
almarshall has joined #ruby
<cbetta> so jruby 1.9?
<niop> jruby 1.7.5, with ruby 1.9.3
phansch has quit [Remote host closed the connection]
<niop> possibly jruby came with that version of ruby, forgotten now.
plotter has joined #ruby
IceDragon has joined #ruby
<niop> but it must have else it would be more recent version of ruby.
ravster has joined #ruby
<cout> KevinSjoberg: total_weight = h.values.reduce(:+); r = rand(total_weight); t = 0; h.each { |value, prob| t += prob; return value if r < t }
yokel has quit [Ping timeout: 272 seconds]
<cout> I needed exactly what you asked for a few months ago :)
Hanmac1 has joined #ruby
yokel has joined #ruby
osvico has quit [Ping timeout: 264 seconds]
sayan has quit [Ping timeout: 260 seconds]
<Hanmac1> KevinSjoberg:
<Hanmac1> >> data={"E1"=>0.4875, "E2"=>0.4875, "E3"=>0.0075, "E4"=>0.0175};i=0;p r= rand(); data.find {|k,v| r > v + i ? (i+=v;false) : true}
<eval-in> Hanmac1 => 0.8534339435355417 ... (https://eval.in/75546)
Hanmac has quit [Ping timeout: 272 seconds]
vpretzel has joined #ruby
krawchyk has joined #ruby
maasha has joined #ruby
krawchyk has quit [Max SendQ exceeded]
<cout> yeah I guess mine expects whole number probabilities
<cout> since that's what I needed when I wrote it
kevind has joined #ruby
<maasha> Hi
Bira has quit [Remote host closed the connection]
sayan has joined #ruby
<KevinSjoberg> Hanmac1, cout: Thanks, I'll look into that.
yokel has quit [Ping timeout: 272 seconds]
jerius has joined #ruby
yokel has joined #ruby
Xaitec has quit [Read error: Connection reset by peer]
sayan has quit [Excess Flood]
pedda has joined #ruby
mmitchell has joined #ruby
Xaitec has joined #ruby
sayan has joined #ruby
<niop> cbetta: solved in jruby. JavaFile = java.io.File to prevent java import clobbering the ruby class of the same name.
mrfoto has quit []
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<niop> *#jruby channel
<cbetta> aha
<cbetta> makes sense
zeeraw has joined #ruby
lkba has joined #ruby
yakko has joined #ruby
tesuji has quit [Read error: Connection reset by peer]
zipper has quit [Ping timeout: 264 seconds]
yokel has quit [Ping timeout: 265 seconds]
kobain has joined #ruby
yokel has joined #ruby
dhruvasagar has joined #ruby
tesuji has joined #ruby
<mboyd> ah nuts, I'm having trouble with proxying a call to instance_eval again. it seems that when instance_eval is called it actually has access to the scope it is being called from - and if you proxy the call to instance_eval it no longer has access to the scope it was originally called from
zipper has joined #ruby
tesuji has quit [Excess Flood]
brian___ has quit [Quit: brian___]
jwest has quit [Quit: WeeChat 0.4.1]
freerobby has joined #ruby
yfeldblum has joined #ruby
tesuji has joined #ruby
blaskovicz has joined #ruby
<banister> mboyd not sure what u mean by that, you probably need to show some code :P
cpruitt has joined #ruby
Demerzel has quit [Remote host closed the connection]
phansch has joined #ruby
freerobby has quit [Client Quit]
fedesilva has quit [Remote host closed the connection]
taion809 is now known as zz_taion809
nbrosnahan has joined #ruby
ckinni has joined #ruby
krawchyk has joined #ruby
yokel has quit [Ping timeout: 240 seconds]
<mboyd> banister: yeah, good point
kcombs has joined #ruby
lucazi has quit [Ping timeout: 272 seconds]
rjhunter has joined #ruby
yokel has joined #ruby
kevind has quit [Quit: kevind]
lucazi has joined #ruby
nowthatsamatt has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
wmoxam has joined #ruby
rjhunter has quit [Ping timeout: 246 seconds]
mojjojo has joined #ruby
xcv has joined #ruby
sailias has joined #ruby
wmoxam has quit [Client Quit]
yokel has quit [Read error: Connection reset by peer]
v0n has joined #ruby
wmoxam has joined #ruby
yokel has joined #ruby
kevind has joined #ruby
h_kon has quit [Remote host closed the connection]
saltnvinegar has joined #ruby
ravster has quit [Quit: Leaving.]
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hersha has joined #ruby
d45h has joined #ruby
<shevy> mboyd is the magic of ruby confusing you? :>
<mboyd> it is!
<mboyd> :)
Macaveli has joined #ruby
* IceDragon sprinkles some magic dust on shevy
<IceDragon> morning
kevinykchan has joined #ruby
<shevy> mboyd it's for me as well, ruby can become very complex
<shevy> method_missing is the devil
ehc has joined #ruby
<IceDragon> shevy: you mean any of the *_missing methods
<shevy> I dont know any other
Kricir has joined #ruby
<IceDragon> const_missing
<shevy> hmm
Plazma has left #ruby [#ruby]
<shevy> aha
<shevy> a hook
ckinni has joined #ruby
<shevy> I even wrote it down
<IceDragon> :P
bean has joined #ruby
<shevy> never saw it in use so far
asobrasil has joined #ruby
<IceDragon> I've used it once
yokel has quit [Ping timeout: 245 seconds]
javon_ has joined #ruby
<IceDragon> to cheat a module with constants: so it called the method with the same name
sayan has quit [Read error: No route to host]
blandflakes has joined #ruby
yokel has joined #ruby
ckinni has quit [Client Quit]
_maes_ has joined #ruby
ckinni has joined #ruby
_maes_ has quit [Client Quit]
sng|Zzz is now known as synergy_
pong42 has quit [Quit: Ex-Chat]
achru has quit [Remote host closed the connection]
iamchrisf has joined #ruby
tommyvyo has joined #ruby
<mboyd> here's my latest issue with the proxy stuff: https://gist.github.com/anonymous/7770260
<mboyd> sorry for using a heavy-weight class in a proof of concept
matheuscaceres has joined #ruby
IceDragon has quit [Read error: No route to host]
<mboyd> also, that error at the bottom is *not* the error I see when I actually try to use the code, though it is just as puzzling
<workmad3> mboyd: 'class BrowserProxy < BasicObject'
<mboyd> shevy: any ideas?
cbetta is now known as cbetta_afk
<mboyd> I tried that ealier, I'll give it another go
<workmad3> mboyd: then you don't need to undef methods ;)
lucazi has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> mboyd I wouldnt really know what this is doing
<shevy> but it uses method_missing
IceDragon has joined #ruby
<workmad3> shevy: it's a proxy wrapper that is passing all method calls along to @target, unless it's defined already
<mboyd> workmad3: I get this error when I switch to < BasicObject: `initialize': uninitialized constant BrowserProxy::Watir (NameError)
<workmad3> mboyd: use ::BrowserProxy::Watir
<mboyd> and comment the undefs
<workmad3> err, ::Watir even
<workmad3> ignore the ::BrowserProxy there (that was me being silly :) )
<mboyd> use that where?
<workmad3> line 12, where you do Watir::Browser.new
nhhagen has quit [Ping timeout: 240 seconds]
jcromart_ has joined #ruby
<workmad3> mboyd: also, I'd generally suggest that with proxies, you pass in the object to be wrapped, rather than creating it explicitly
mary5030 has joined #ruby
<workmad3> mboyd: you can always create a factory method on the class to create a 'default' version if necessary :)
<mboyd> workmad3: I get this error: syntax error, unexpected tIDENTIFIER, expecting tCONSTANT (SyntaxError)
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<workmad3> mboyd: update the gist with current code and complete stack trace, please?
<mboyd> you got it
Xaitec has quit [Read error: Connection reset by peer]
jwest has joined #ruby
mjs2600 has quit [Remote host closed the connection]
guiguidoc has quit [Read error: Connection reset by peer]
ae-r has joined #ruby
Xaitec has joined #ruby
Megtastique has joined #ruby
mark_locklear has quit [Ping timeout: 272 seconds]
elux has joined #ruby
hogeo has joined #ruby
nhhagen has joined #ruby
xk_id has joined #ruby
<mboyd> created a new one that I can edit: https://gist.github.com/dredwolff/7770389
<mboyd> oh crud
momomomomo has joined #ruby
<mboyd> heh, I see an obvious issue, just a sec
<IceDragon> mboyd: ::browserProxyBasicObject # <
jibi has joined #ruby
Yan__ has quit [Ping timeout: 252 seconds]
<maasha> workmad3: hey. I have been busy the last week, but am now staring at your Pipeline code: https://gist.github.com/maasha/9cbd4b4d5659fa8c7724 - what was your idea to execute the actual commands?
Yan__ has joined #ruby
almarshall has quit [Quit: almarshall]
guiguidoc has joined #ruby
rmengu has quit [Remote host closed the connection]
<workmad3> maasha: that you can implement it in the 'call' method
<mboyd> ok, added a comment
fridim__ has quit [Ping timeout: 272 seconds]
browndawg has quit [Read error: Connection reset by peer]
browndawg has joined #ruby
<mboyd> so, maybe a better question to ask is, can I just get a reference to the instance_eval method itself and assign it to the proxy object?
<IceDragon> mobyd: method(:instance_eval) ?
<IceDragon> err mboyd
<mboyd> something like: self.instance_eval = @target.instance_eval ?
flops has quit [Ping timeout: 246 seconds]
<maasha> workmad3: You mean the one in PipelineCmd?
<momomomomo> morning
<workmad3> maasha: yup
<maasha> workmad3: so how am I supposed to pass lines from one command to the next?
flops has joined #ruby
<workmad3> maasha: the call method returns the output, which gets passed to the next pipeline command as the input argument
jlast has joined #ruby
sambao21 has joined #ruby
burlyscudd1 has joined #ruby
<maasha> workmad3: you are clearly seeing things I dont :o) - but it is also your idea
burlyscudd has quit [Read error: Connection reset by peer]
<workmad3> maasha: look at the PipelineChain#call method ;)
tannerburson has joined #ruby
decoponio has joined #ruby
fedesilva has joined #ruby
Azure has joined #ruby
fmcgeough has joined #ruby
<mboyd> IceDragon: not sure what that means
davorb_laptop has joined #ruby
davorb_laptop has quit [Client Quit]
iamchrisf has quit [Quit: iamchrisf]
<IceDragon> mboyd: inst_eval = myobj.method(:instance_eval); "Some time later" ; inst_eval.call("puts \"Hello from \#{self}\"")
<mboyd> awesome! thanks!
<IceDragon> >> inst_eval = Object.new.method(:instance_eval); "Some time later" ; inst_eval.call("puts \"Hello from \#{self}\"")
<eval-in> IceDragon => Hello from #<Object:0x4166119c> ... (https://eval.in/75555)
jedimind has joined #ruby
burlyscudd1 has quit [Quit: Leaving.]
phansch has quit [Remote host closed the connection]
ravster has joined #ruby
zipper has quit [Read error: Operation timed out]
blackmes1 has joined #ruby
baordog_ has joined #ruby
interactionjaxsn has joined #ruby
wallerdev has joined #ruby
liamkeily has quit [Ping timeout: 264 seconds]
phantummm has joined #ruby
phansch has joined #ruby
ambushsabre has joined #ruby
<maasha> workmad3: hrmph. I still don't get it. I better take a break.
<workmad3> maasha: that implementation doesn't actually call commands
<workmad3> maasha: that wasn't something I bothered with
<workmad3> maasha: the idea was that .call would execute a command, returning the result
lukec has joined #ruby
<workmad3> maasha: and the PipelineChain .call method would chain them together
<IceDragon> workmad3: can I adopt your code?
Yan__ has quit [Ping timeout: 246 seconds]
iamchrisf has joined #ruby
<workmad3> IceDragon: sure, go for it :)
<IceDragon> ヽ(^ヮ^)ノ♪
sailias has quit [Ping timeout: 245 seconds]
<maasha> workmad3: Right. However, I guess my problem is that I would like to process each line/record one at a time and thus avoid reading in all data in memory.
LadyRainicorn has joined #ruby
zipper has joined #ruby
sailias has joined #ruby
noop has quit [Ping timeout: 264 seconds]
aspires has joined #ruby
b00stfr3ak has quit [Ping timeout: 252 seconds]
<workmad3> maasha: you'd need to alter that a bit, probably with some block yielding, but it's still doable ;)
synergy_ is now known as sng|afk
<workmad3> maasha: remember, that was just a PoC for the basic pipeline, not a full implementation
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phantasm66 has joined #ruby
<maasha> workmad3: yup, some clever Enumerator - but I have been stuck with this problem for a while now.
<workmad3> shouldn't need clever enumerator stuff
<workmad3> you just need to use the Popen3 stuff to get the streams you need
amritanshu_RnD has quit [Read error: Connection reset by peer]
Thanatermesis has quit [Quit: ɯlɐɔ uı ʞɹoʍ oʇ ƃuıoƃ]
<workmad3> hell, with popen3 stuff, you could probably connect the input/output streams up directly, so you'd yield the output from command1 and pass it into command2 as the input, and so on down the chain until you get to your 'final' block, where you can just pull out the results :)
javon has quit [Ping timeout: 252 seconds]
olleromo has joined #ruby
d45h has quit []
hogeo has quit [Remote host closed the connection]
Bira has joined #ruby
<maasha> workmad3: ah, the commands cat, cut, grep are just place holders for ruby methods I want to use. So no popen3
fedesilva has quit [Read error: Connection reset by peer]
<PPH> hey guys do you think this could be improved to be more object oriented? https://github.com/ab18556/whmlite/blob/master/app/models/report_accounts_matched_with_cheapest_package_mask.rb I don't like the fact this class need to be aware of the class accounts's attributes
braoru has quit [Quit: Leaving]
rmengu has joined #ruby
Yan__ has joined #ruby
fedesilva has joined #ruby
<waxjar> those are long lines :O
vlad_starkov has joined #ruby
almarshall has joined #ruby
danshultz has quit []
<maasha> OK, I gotta run. bbs
sambao21 has quit [Quit: Computer has gone to sleep.]
<waxjar> and long class/method names :O
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
jamesaanderson has joined #ruby
ae-r has quit [Remote host closed the connection]
lmickh has joined #ruby
dhruvasagar has quit [Ping timeout: 272 seconds]
<PPH> warjar I know I'm trying to work this around too
Bira has quit [Ping timeout: 260 seconds]
mark_locklear has joined #ruby
claymore has joined #ruby
maasha has quit [Ping timeout: 250 seconds]
enebo has joined #ruby
gtsiftsis has quit [Ping timeout: 246 seconds]
<PPH> I will try to refactor it in small methods, with short lines, maybe everything will clarify :)
tagrudev has quit [Remote host closed the connection]
<waxjar> PPH, i don't actually know what the class's supposed to do, but usually when you need to know a lot about the the attributes/state of another object, something's wrong.
<waxjar> i think they call it "tell, don't ask"
rmengu has quit [Remote host closed the connection]
idoru has quit [Read error: Connection reset by peer]
johnnyfuchs has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Yan__ has quit [Read error: Operation timed out]
sambao21 has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
danshultz has joined #ruby
<PPH> waxjar, yeah I feel some of these lines aren't in the good class
po10 has joined #ruby
Thanatermesis has joined #ruby
Thanatermesis has quit [Changing host]
Thanatermesis has joined #ruby
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lfox has joined #ruby
johnnyfuchs has left #ruby [#ruby]
niop has quit [Quit: Leaving]
ewnd9 has quit [Ping timeout: 264 seconds]
zipper has quit [Ping timeout: 260 seconds]
jprovazn has quit [Quit: Leaving]
Mon_Ouie has joined #ruby
habanany has quit [Ping timeout: 272 seconds]
tommyvyo has joined #ruby
zipper has joined #ruby
zeade has quit [Quit: Leaving.]
iamjarvo has joined #ruby
Yan__ has joined #ruby
<shevy> PPH you should first analyze what you got here
kevind has quit [Quit: kevind]
<shevy> your constructer accepts one argument
<shevy> so this is the only bottleneck you really depend on
<shevy> the rest of the code in initialize could reside in other methods too
<PPH> shevy, ok
<shevy> I usually bundle it into the run() method
<shevy> or rather, the run() method calls the respective separate methods
<PPH> shevy, I see
<shevy> which are small, and do the work
d45h has joined #ruby
<PPH> ok
jkamenik has quit [Quit: Leaving.]
tesuji has quit [Ping timeout: 240 seconds]
MrZYX|off is now known as MrZYX
Advocation has joined #ruby
Briareos1 has joined #ruby
d45h has quit []
elux has quit [Remote host closed the connection]
elux has joined #ruby
Macaveli has quit [Remote host closed the connection]
<olivier_bK> i get an error with my ruby script for backup mysql
sambao21 has quit [Quit: Computer has gone to sleep.]
troessner has quit [Quit: Leaving]
<olivier_bK> i read the mysql doc i dont know where is my error
habanany has joined #ruby
s2013 has joined #ruby
kpshek has joined #ruby
haukur has joined #ruby
haukur has quit [Remote host closed the connection]
haukur has joined #ruby
<shevy> who knows mysql anyway :P
tylersmith has joined #ruby
<mojjojo> how to switch back to previously opened file in rubymine?
<shevy> btw olivier_bK
<mojjojo> keyboard shortcut?
<shevy> when you do: cmd = "#{@mysl_dump} -u #{@mysql_user} -p'#{@mysql_password}' --databases=#{@uid_instance} > /data/#{@uid_instance}.#{@Dtime}.sql"
<shevy> also do puts cmd
<shevy> show us this command
<shevy> then also run it
<shevy> and tell the EXACT error
<olivier_bK> i didn't think to that !!
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<olivier_bK> shevy, you are to smart :)
lukec has quit [Quit: lukec]
<shevy> what's the error!
nolic has joined #ruby
<shevy> I often define a method called esystem()
<shevy> I build into _ variable
dhruvasagar has joined #ruby
sambao21 has joined #ruby
<shevy> once _ is built, I pass it into esystem(_)
<shevy> which basically outputs _ in colours and then runs system
<shevy> or just: esystem _
yfeldblum has joined #ruby
lukec has joined #ruby
indigo has joined #ruby
Kricir has quit [Remote host closed the connection]
ddd has quit [Quit: for system reboot to new kernel]
banister has quit [Quit: Textual IRC Client: www.textualapp.com]
lukec has quit [Client Quit]
habanany has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
po10 has quit [Excess Flood]
drag00n has joined #ruby
po10 has joined #ruby
pwestlund is now known as pwestlund_away
patant has quit [Quit: patant]
s2013 has quit [Remote host closed the connection]
IceDragon has quit [Ping timeout: 265 seconds]
banister has joined #ruby
adac has joined #ruby
<adac> is it possible to check if a linux process is running from ruby via ruby code?
<hoelzro> adac: sure
<hoelzro> what's the use case?
nhhagen has quit [Remote host closed the connection]
pipework has joined #ruby
jlast has quit [Read error: Connection reset by peer]
alekst has joined #ruby
jlast has joined #ruby
zeeraw has joined #ruby
jlast_ has joined #ruby
peb7268 has joined #ruby
sng|afk is now known as synergy_
<peb7268> Hi, im trying to use capybara for some tests but they only pass when my window is maximized. Has anyone else seen this issue? I googled it but maybe I didnt type the right query bc I didnt see much on it.
ahawkins has quit [Ping timeout: 272 seconds]
jlast has quit [Ping timeout: 245 seconds]
<adac> hoelzro, just wanted to check if a linux process is running or not
<hoelzro> adac: right, but why?
<hoelzro> you can use /proc
<hoelzro> but there might be better tools depending on the situation
<hoelzro> or there might a better way to do what you're trying to do
nwertman has joined #ruby
<adac> hoelzro, I have to go now. Be back online bit later. Thank you and see you then!
vpretzel has quit [Ping timeout: 260 seconds]
sailias has quit [Ping timeout: 245 seconds]
Hanmac has joined #ruby
MrZYX is now known as MrZYX|off
adac has quit [Quit: Leaving]
momomomomo has quit [Quit: momomomomo]
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hanmac1 has quit [Ping timeout: 272 seconds]
mojjojo has quit [Quit: mojjojo]
s2013 has joined #ruby
mikeg has joined #ruby
vpretzel has joined #ruby
LadyRainicorn has quit [Ping timeout: 264 seconds]
<peb7268> Anybody got any guesses?
randomnick_ has joined #ruby
matheuscaceres has quit [Quit: matheuscaceres]
ckinni has joined #ruby
yfeldblum has quit [Remote host closed the connection]
d45h has joined #ruby
pskosinski has joined #ruby
Atrophius has joined #ruby
heidi has joined #ruby
LadyRainicorn has joined #ruby
zipper has quit [Quit: Lost terminal]
dhruvasagar has quit [Ping timeout: 260 seconds]
pipework has quit [Ping timeout: 248 seconds]
tylersmith has quit [Remote host closed the connection]
mojjojo has joined #ruby
DouweM has joined #ruby
niop has joined #ruby
rippa has joined #ruby
cascalheira has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
matheuscaceres has joined #ruby
jetblack has joined #ruby
<niop> hi folks, having issues with require on a subfolder containing rb files. it should just be require "subfolder" to load all the ruby modules, and then module.function()?
mjs2600 has joined #ruby
<niop> when i try that i get: LoadError: no such file to load -- subfolder
TMM has quit [Quit: Ex-Chat]
kevind has joined #ruby
<DouweM> you can't just require a directory, you need to require a file. that file can then require the other files. or you can loop over all files in a directory, and require all of them
sailias has joined #ruby
mojjojo has quit [Ping timeout: 252 seconds]
<niop> ahhh ic. so the practice then would to have a directory initaliser that requires modules in the directory. why didn't i think of that.
<olivier_bK> ity to get the return valu of my command @mysqldump
jkamenik has joined #ruby
pedda has quit [Quit: Textual IRC Client: www.textualapp.com]
<niop> DouweM: thanks, will give that a try.
RaCx has quit [Ping timeout: 272 seconds]
relix has joined #ruby
<olivier_bK> for that i use the methode success?
<Hanmac> niop remember to use require_relative
<niop> *directory import module it would better described as
heidi has quit [Quit: Leaving.]
Xeago has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<olivier_bK> i dont know why i get undefined method `success?' for nil:NilClass (NoMethodError)
<niop> ok.. thanks. it's very late here, and i'm barely awake, so its mention is appreciated.
mojjojo has joined #ruby
enape_101 has joined #ruby
blackmes1 has quit [Ping timeout: 240 seconds]
zz_tsykoduk is now known as tsykoduk
Xaitec has quit [Quit: Konversation terminated!]
<DouweM> olivier_bK: because you're calling #success? on nil. so @dump is nil. so ssh.exec!(...) returns nil
mklappstuhl has joined #ruby
aspires has quit []
<Hanmac> also "#{@host}" is total unnesssaray
AltGrendel has joined #ruby
<DouweM> yeah, not sure about the logic behind that
<waxjar> a weird way of calling #to_s? :p
jcromart_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aspires has joined #ruby
momomomomo has joined #ruby
<olivier_bK> okai i found for get the return value i need to use open 3
enape_101 has quit [Ping timeout: 248 seconds]
ahawkins has joined #ruby
almarshall has quit [Quit: almarshall]
aspires has quit [Client Quit]
SHyx0rmZ has joined #ruby
petey has joined #ruby
AltGrendel has quit [Remote host closed the connection]
Kricir has joined #ruby
gdakram has joined #ruby
<shevy> puts "#{@host}" is the way of the noob
gdakram has quit [Client Quit]
<shevy> but it's ok, noobs can learn
jkamenik has quit [Quit: Leaving.]
gdakram has joined #ruby
ringaroses1 has joined #ruby
g3orge has joined #ruby
achru has joined #ruby
niop has quit [Remote host closed the connection]
aganov has quit [Quit: aganov]
tylersmith has joined #ruby
alup has quit [Quit: Leaving]
larssmit has quit [Quit: Leaving.]
jhaals_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ddd has joined #ruby
vikhyat has joined #ruby
yfeldblum has joined #ruby
jcromart_ has joined #ruby
ae-r has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
m8 has joined #ruby
petey_ has joined #ruby
petey has quit [Read error: Connection reset by peer]
tsykoduk is now known as zz_tsykoduk
kenichi has joined #ruby
zeeraw has joined #ruby
enape_101 has joined #ruby
<shevy> olivier_bK right? can you learn?
<shevy> :D
jibi has quit [Quit: .]
matheuscaceres has quit [Quit: matheuscaceres]
<Dreamer3__> is there some secret to building ruby with readline?
perlsyntax has joined #ruby
s2013 has quit [Ping timeout: 245 seconds]
moted has left #ruby [#ruby]
petey_ has quit [Remote host closed the connection]
matheuscaceres has joined #ruby
petey has joined #ruby
shime has quit [Read error: Operation timed out]
jkamenik has joined #ruby
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elux_ has joined #ruby
moted has joined #ruby
havenwood has joined #ruby
<kenichi> Dreamer3__: as long as readline is shared and available it should be ok
mrsolo has joined #ruby
phansch has quit [Quit: Leaving]
<Dreamer3__> readline is what gives the magic control-r stuff right and history?
bubbajones has quit [Ping timeout: 264 seconds]
ckinni has joined #ruby
<kenichi> Dreamer3__: yeah, but you may also want some stuff in your ~/.irbrc (if you're talking about irb...)
bubbajones has joined #ruby
<olivier_bK> shevy, if i see you in europe in usa in china in korea in kaboul in afganistan i might to kill you :p
Hack3r has joined #ruby
<olivier_bK> lol...
<Dreamer3__> kenichi: is there a good way to test if it's there or not? because it sure doesn't act like it
pothibo has joined #ruby
petey_ has joined #ruby
petey has quit [Read error: Connection reset by peer]
Hack3r is now known as Sync
Sync is now known as Albania
m8 has quit [Quit: Sto andando via]
crodas has quit [Quit: Disconnecting from stoned server.]
<shevy> olivier_bK I only exist on IRC :D
crodas has joined #ruby
<shevy> Dreamer3__ you can always go into ext/readline/ directory
ssvo has joined #ruby
<shevy> and compile there and look for the error
<olivier_bK> mdr ...
<Albania> shevy qihesh ti motra ?
<shevy> speak english man
elux has quit [Ping timeout: 252 seconds]
Shqiperia has joined #ruby
<Albania> o shevy emi tqi iher ronshem fare ?
<Albania> Xp
<shevy> Dreamer3__ readline is awesome, in ruby code you can use module Readline
* Albania No
<shevy> Albania oder deutsch
<Albania> speak Albanian :D
SHyx0rmZ has quit [Ping timeout: 248 seconds]
<shevy> nobody uses criminal languages ;P
<Shqiperia> Shevy Te Qi I Her Robt?
ae-r has quit [Remote host closed the connection]
<Albania> o shevy tqi iher mooj
<shevy> god you little kids
<Albania> bashke me ket Shqiperia
<Albania> hahahahahahaha
<Shqiperia> Albania Lol
ckrailo has quit [Ping timeout: 252 seconds]
* Albania Qesh me lot :D
iamjarvo has quit [Remote host closed the connection]
<Albania> ca gallate o ktu
<Shqiperia> Albania
<Shqiperia> Kur Nuk Din
<Dreamer3__> brew --prefix deadline works as expected
<Shqiperia> Te Tjeret
<Shqiperia> Shqip
<Shqiperia> Po
* Shqiperia LoL
<shevy> Dreamer3__ I am on linux
iamjarvo has joined #ruby
<shevy> I used the source ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p484.tar.bz2, compiled it, readline works fine
Leighton has joined #ruby
Yan__ has quit [Ping timeout: 245 seconds]
divi_ has joined #ruby
perlsyntax has quit [Quit: Leaving]
ckrailo has joined #ruby
<kenichi> Dreamer3__: find /path/to/lib/ruby -name '*readline*'
banister has quit [Quit: Textual IRC Client: www.textualapp.com]
ambushsabre has joined #ruby
<kenichi> Dreamer3__: you should see a .dylib
cndiv has joined #ruby
browndawg has quit [Quit: Leaving.]
cndiv has quit [Changing host]
cndiv has joined #ruby
frode15243 has quit [Ping timeout: 252 seconds]
nobitanobi has joined #ruby
h0rrorvacui has joined #ruby
SHyx0rmZ has joined #ruby
johnnyfuchs has joined #ruby
IceDragon has joined #ruby
<kenichi> er.. i mean .bundle
* Shqiperia :P
johnnyfuchs has left #ruby [#ruby]
Albania has left #ruby [#ruby]
mrsolo has left #ruby ["Leaving"]
<Dreamer3__> find looks into binaries?
<Dreamer3__> never seen that
Weazy has quit [Ping timeout: 245 seconds]
<Dreamer3__> doing another build with -v to see if that shows anything useful
iamjarvo has quit [Ping timeout: 245 seconds]
<Shqiperia> Dreamer3__
<Shqiperia> Kur Erdhe
<Shqiperia> Mer
<Shqiperia> Te Qifsha Fiset
frode15243 has joined #ruby
iamjarvo has joined #ruby
<Dreamer3__> configure: WARNING: unrecognized options: --with-openssl-dir, --with-readline-dir, --with-openssl-dir, --with-readline-dir, --with-openssl-dir, --with-readline-dir, --with-openssl-dir, --with-readline-dir
<Dreamer3__> ha, think that's it?
jkhwan has joined #ruby
pipework has joined #ruby
<Dreamer3__> what a crappy build recipe
obiwahn has joined #ruby
<obiwahn> hi
<obiwahn> i am playing with the korans
* Shqiperia LoL
dagobah has quit [Remote host closed the connection]
aspires has joined #ruby
jkhwan has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
jkhwan has joined #ruby
b00stfr3ak has joined #ruby
mojjojo has quit [Quit: mojjojo]
<obiwahn> i am stuck here about_nil.rb:16
<momomomomo> obiwahn: Paste your code to http://gist.github.com
<LadyRainicorn> obiwahn: Just add 26 instead of 4.
camilasan has quit []
<LadyRainicorn> The solution should then be obvious.
mklappstuhl has quit [Remote host closed the connection]
<Dreamer3__> ok anyone know why configure wouldn't like those options?
<kenichi> Dreamer3__: use ruby-install instead of brew?
<Dreamer3__> they look right to me
<obiwahn> i do not know the exceptions name maybe it is something like and attribute error
<Dreamer3__> kenichi: i'm using ruby-install
<kenichi> strange
<Dreamer3__> i switched into the build dir and the configure still errors
<obiwahn> should i be able to deduce it from the file and info only or am i supposed to use other sources as well?
jcromart_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tylersmith has quit [Remote host closed the connection]
Shqiperia is now known as FeRRaRi
<kenichi> Dreamer3__: i don't use ruby-install or brew, but i give configure '--with-opt-dir'
<FeRRaRi> Dreamer3__ O Dek Qir
<Dreamer3__> hmm
<FeRRaRi> Ca Bone
<FeRRaRi> Ta Qi Motren
<FeRRaRi> 1 Her
<Dreamer3__> wait is that literal?
<obiwahn> LadyRainicorn: what do you mean?
<h0rrorvacui> Dreamer3__ why are you giving it config options, ruby-install fail and then you proceded to do this or what?
<h0rrorvacui> I just joined so you may have said.
banister has joined #ruby
<LadyRainicorn> There is no way we can conceivably deduce your problem from a reference to a source file we don't have.
Speed has left #ruby ["WeeChat 0.4.2"]
IceDragon has quit [Ping timeout: 246 seconds]
Kricir has quit [Ping timeout: 245 seconds]
IceDragon has joined #ruby
Lewix has joined #ruby
gr33n7007h has quit [Ping timeout: 272 seconds]
<momomomomo> obiwahn: So, what exception is thrown by nil.somemethod
Astralum has joined #ruby
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
olleromo has left #ruby ["Textual IRC Client: www.textualapp.com"]
<obiwahn> my question is how i should know about it:) can i see it from the snippet?
<momomomomo> obiwahn: in a terminal, type irb
jcromart_ has joined #ruby
<momomomomo> enter the ruby repl
<momomomomo> try it
nhhagen has joined #ruby
<LadyRainicorn> What is foo?
<shevy> foo is the missing half to bar, LadyRainicorn
kevind_ has joined #ruby
<LadyRainicorn> I see.
RaCx has joined #ruby
zener79 has joined #ruby
s2013 has joined #ruby
<obiwahn> :) the irb is nice
<LadyRainicorn> It looks undefined.
<h0rrorvacui> Ruby koans are ment to be solved alone.
dhruvasagar has joined #ruby
nvrch has quit [Quit: nvrch]
<FeRRaRi> H0rrorvacui Te Qi
<FeRRaRi> Fiset Yes Or No
timmillwood has quit [Quit: Leaving.]
banister has quit [Quit: Textual IRC Client: www.textualapp.com]
newbiehacker has joined #ruby
<shevy> Dreamer3__ let me try
<FeRRaRi> Shevy Tqifsha Rr@c3n
<shevy> Dreamer3__ configure: WARNING: unrecognized options: --with-readline-dir
<shevy> Dreamer3__ the configure options are not valid
kevind has quit [Ping timeout: 272 seconds]
<Dreamer3__> yeah i'm finding that out
nhhagen has quit [Ping timeout: 246 seconds]
kevind_ is now known as kevind
<DouweM> can someone kick FeRRaRi?
kaldrenon has quit [Remote host closed the connection]
FeRRaRi is now known as JuQifshaRobtOSht
xibalba has quit [Quit: ZNC - http://znc.in]
<h0rrorvacui> What is he doing?
jkamenik has quit [Quit: Leaving.]
<DouweM> talking nonsense
<shevy> h0rrorvacui some spammers from albania
<mboyd> IceDragon: just got back to my desk, this did not seem to work: instance_eval = @target.method(:instance_eval)
xibalba has joined #ruby
<h0rrorvacui> Well he is now JuQifshaRobtOSht.
<shevy> yeah
zeade has joined #ruby
<shevy> he should be banned
gr33n7007h has joined #ruby
JuQifshaRobtOSht has left #ruby [#ruby]
<mboyd> that line is in the initialize method, I'm trying to assign the @target's instance _eval method to the same method name on the current class
<h0rrorvacui> Looks like his name is something about robot shit now.
<h0rrorvacui> lol
<shevy> lol
<DouweM> lol
<IceDragon> mboyd: I don't think you can simply re-assign a method in a Object, you can redefine it though
saltnvinegar has quit [Quit: saltnvinegar]
julweber has quit [Remote host closed the connection]
JohnBat26 has quit [Ping timeout: 272 seconds]
<kenichi> mboyd: are you trying to bind an unbound (from @target) method to self?
<LadyRainicorn> That is evil, don't do it.
pothibo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<IceDragon> *innocent face*
<kenichi> LadyRainicorn: it's not *that* bad
pushpak has joined #ruby
<shevy> LadyRainicorn knows what's evil - she was forced to code in PHP!
<LadyRainicorn> Redefining instance_eval is *evil**.
TigerWolf has quit [Ping timeout: 260 seconds]
<mboyd> I'm trying to do it to work around an issue with proxying instance_eval
<kenichi> haha, yes ok instance_eval is
mojjojo has joined #ruby
<DouweM> wut. who wants to redefine instance_eval
<DouweM> that's black magic
<LadyRainicorn> There is no legitimate reason to do that ever.
petey_ has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
<lupine> that's a dangerous statement
<mboyd> heh
<DouweM> right. who's looking to do that? mboyd?
<LadyRainicorn> Yep.
<DouweM> WHY I ask of you
<mboyd> yeah, me
mjs2600 has quit [Remote host closed the connection]
<shevy> WHY
<IceDragon> mboyd: are you sure there is no other way to solve the problem?
apeiros has joined #ruby
<shevy> LET'S BURN HIM
<LadyRainicorn> Agreed.
<IceDragon> shevy: can frost burns work?
mikepack has joined #ruby
jhaals has joined #ruby
<shevy> IceDragon nah we need a certain temperature
<IceDragon> ahhh
<DouweM> let's ddos his computer and hope it explodes
* IceDragon droops
<mboyd> IceDragon: everything else I've tried has not worked - and I think the issue is that in the case I'm running into, instance_eval actually needs to be executed in the specific scope that has access to the variables being referenced to work, passing instance_eval through the method_missing method loses that scope
<IceDragon> !
<IceDragon> O:
<DouweM> what's the problem you're trying to solve?
<IceDragon> I just remembered something
<shevy> he wants to write the ultimate AI in ruby
mojjojo has quit [Client Quit]
<mboyd> hah
<IceDragon> mboyd: eval has a second argument, binding
gr33n7007h has quit [Ping timeout: 248 seconds]
<mboyd> yeah, I've looked at that
blaxter has quit [Quit: foo]
sambao21 has quit [Quit: Computer has gone to sleep.]
<IceDragon> however the binding for an Object is private..
<h0rrorvacui> He wants to write ruby code that writes ruby code?
blaskovicz has quit [Max SendQ exceeded]
mojjojo has joined #ruby
blaskovicz has joined #ruby
jhaals has quit [Client Quit]
banister has joined #ruby
apeiros has quit [Ping timeout: 248 seconds]
<shevy> yeah
<_br_> ... meta programming
<shevy> that is the meta of all the metas
sambao21 has joined #ruby
timonv has joined #ruby
sambao21 has quit [Client Quit]
<LadyRainicorn> There is no highest order of meta.
ghr has quit [Quit: Computer has gone to sleep.]
<_br_> meta's all the way
<DouweM> mboyd's meta programming is getting dangerously close to instanity
burlyscudd has joined #ruby
sambao21 has joined #ruby
<yfeldblum> mboyd: instance_eval is a simple way of getting a binding and evalling in the context of that binding
* Hanmac 's mind is gone thanks meta programming ... that coward runs away ;P
<LadyRainicorn> mboyd's issue is that instance_eval is defined.
* IceDragon hangs unto Hanmac's foot
<LadyRainicorn> He would need to undefine it in the proxy class.
<IceDragon> come back!
ambushsabre has joined #ruby
gigetoo has quit [Remote host closed the connection]
s2013 has quit [Ping timeout: 245 seconds]
<zener79> \whois
olivier_bK has quit [Ping timeout: 264 seconds]
ffranz has quit [Quit: Leaving]
<LadyRainicorn> (I am not sure if remove_method or undef is the right way to do that, and I haven't a console handy.)
<LadyRainicorn> But this is evil as fuck still.
petey has joined #ruby
<mboyd> ok, here's a quick summary: https://gist.github.com/dredwolff/7773597
<h0rrorvacui> He could instance_eval instance_eval :P
<mboyd> I did undef in the proxy class
<h0rrorvacui> that wouldn't get him anywhere, but it would be kinda funny
<LadyRainicorn> Inherit from BasicObject.
<shevy> you just like to watch misery and pity, admit it h0rrorvacui
atrli has joined #ruby
<atrli> hi
<mboyd> every time I try that I get worse failures :/
gigetoo has joined #ruby
<shevy> GOOD
<shevy> you are on the right way
Kricir has joined #ruby
<shevy> 3 hours down the road you will have realized how evil it all was
mojjojo has quit [Quit: mojjojo]
ffranz has joined #ruby
<mboyd> hah
heidi has joined #ruby
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<atrli> I dunno why when I do a "bundle install" I get an error like this: "Can't find the postgreSQL client library (libpq) I have installed libpq-dev but I get the same, any ideas?
tvw has joined #ruby
<mboyd> ok, so can someone tell me how to take a method from one object and assign it to another, so that a.methodname actually points to b.methodname?
<mboyd> I'm pretty sure that would solve the issue, is it possible to do in ruby?
jbpros has joined #ruby
<h0rrorvacui> call the other method in another method?
<mboyd> I think I've done it in python :/
peb7268 has quit []
<workmad3> atrli: do you get anything if you do 'which pg_config' ?
<LadyRainicorn> Are the objects of the same class?
diegoviola has joined #ruby
<mboyd> h0rrorvacui: if I do that I lose the scope with the variable being used in the instance_eval
<LadyRainicorn> If not, this is very very very dark magic.
<LadyRainicorn> If so, it is dark magic.
<workmad3> mboyd: that isn't your problem there, tbh
jbpros has quit [Client Quit]
<mboyd> they are not, and yes, it probably is dark magic
sandeepk has joined #ruby
<workmad3> mboyd: your problem is that you're using the string version of instance_eval rather than the block form
<LadyRainicorn> Are you really, really sure you want to do that?
<atrli> workmad3: /usr/bin/pg_config
<mboyd> workmad3: yes, but that's not a problem I can solve
<mboyd> because it's in a 3rd party lib
<LadyRainicorn> Because there is very likely not a good reason to do it.
<workmad3> mboyd: and further, that you're not using __send__ instead...
vikhyat has quit [Remote host closed the connection]
<h0rrorvacui> I don't get why you don't just wrap everything.
Elhu has quit [Quit: Computer has gone to sleep.]
timonv has quit [Read error: Connection reset by peer]
<LadyRainicorn> mboyd: do you know about extend?
timonv_ has joined #ruby
<mboyd> IceDragon: thanks! I'll give that a try!
<mboyd> LadyRainicorn: no, got a link or a quick description?
Kricir has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Remote host closed the connection]
<atrli> workmad3: I just get/usr/bin/pg_config
<LadyRainicorn> randomobject.extend(RandomModule)
<shevy> mboyd use extend to include a module at runtime
<shevy> or with your evil eval ways
VTLob has joined #ruby
<workmad3> atrli: that looks fine... how about 'gem install pg', does that work?
noop has joined #ruby
davy_ has joined #ruby
ckinni has joined #ruby
<atrli> workmad3: let me see
ckinni has quit [Client Quit]
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
<atrli> workmad3: I get the same error: Can't find the PostgreSQL client library (libpq)
<atrli> :(
<workmad3> atrli: can you gist the entire output, please?
iliketur_ has joined #ruby
lukec has joined #ruby
enebo has quit [Quit: enebo]
<atrli> workmad3: yes, wait
<IceDragon> atrli: is libpq installed on the host system?
vikhyat_ has joined #ruby
andikr has quit [Remote host closed the connection]
ckinni has joined #ruby
jonathanwallace has quit [Ping timeout: 252 seconds]
iamchrisf has quit [Quit: iamchrisf]
ckinni has quit [Client Quit]
<LadyRainicorn> mboyd: extend is basically include for objects.
parduse has quit [Ping timeout: 252 seconds]
skaflem has quit [Quit: Leaving]
jbpros has joined #ruby
<atrli> IceDragon: yes
ignoch has joined #ruby
<workmad3> atrli: ok, so it's found the libpg headers, but it can't find required functions when testing for which library to link...
<workmad3> atrli: that could mean that either you've got too old (or to new) a version of postgres installed, or that your build toolchain is borked
ahawkins has quit [Ping timeout: 260 seconds]
echevemaster has quit [Read error: Connection reset by peer]
<workmad3> *too new
<IceDragon> or he could be runnning a multilib sys
<workmad3> that too
<IceDragon> pg installed flawlessly for me :D
Xeago has quit [Remote host closed the connection]
<IceDragon> Arch for the win
s2013 has joined #ruby
burlyscudd has quit [Quit: Leaving.]
<atrli> workmad3: umm any recommendation
<workmad3> atrli: investigate what versions you have of postgres installed, and what version of the pg gem you're trying to install
parduse has joined #ruby
<xibalba> do you need to know networking well to program ruby well?
<momomomomo> ?? no
<workmad3> xibalba: not unless you plan on doing network programming...
Hanmac1 has joined #ruby
canton7-mac has quit [Ping timeout: 245 seconds]
Lewix has quit [Remote host closed the connection]
_HolyCow1 is now known as _HolyCow
Spami has quit [Quit: This computer has gone to sleep]
michaeldeol has joined #ruby
zener79 has quit [Remote host closed the connection]
<atrli> workmad3: thank you so much
petey has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 245 seconds]
petey has joined #ruby
arietis has joined #ruby
Monie has joined #ruby
jbpros has quit [Quit: jbpros]
mikepack has quit []
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
mikepack has joined #ruby
<workmad3> atrli: discovered anything?
<mboyd> IceDragon: got an error, details and code posted as a comment: https://gist.github.com/IceDragon200/7773675
digital-ghost has joined #ruby
nobitanobi has quit [Ping timeout: 252 seconds]
yacks has joined #ruby
nobitanobi has joined #ruby
heidi has quit [Quit: Leaving.]
phansch has joined #ruby
mojjojo has joined #ruby
<IceDragon> mboyd: ah, you removed the original instance_eval
petey has quit [Ping timeout: 260 seconds]
Fire-Dragon-DoL has joined #ruby
<IceDragon> mboyd: I updated it, use the second one instead
spider-mario has joined #ruby
obs has quit [Quit: Saliendo]
subbyyy has joined #ruby
three18ti has joined #ruby
<atrli> workmad3: I'm on it yet :)
iliketur_ has quit [Quit: zzzzz…..]
bgy has left #ruby ["Leaving"]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<DouweM> havenwood: nice. I'mma check that out
cndiv has quit [Quit: WeeChat 0.3.8]
<havenwood> DouweM: Worth watching! :)
ahawkins has joined #ruby
banister has quit [Quit: Textual IRC Client: www.textualapp.com]
krainbol_ has joined #ruby
nateberkopec has joined #ruby
alekst has quit [Quit: Computer has gone to sleep.]
<mboyd> IceDragon: new error, new comment - I'm not seeing how the instance_eval method is being replaced with the @target.instance_eval method though
roolo has quit [Remote host closed the connection]
RaCx has quit [Quit: Computer has gone to sleep.]
soulcake has joined #ruby
withnale has joined #ruby
AlSquire has joined #ruby
klaut has quit []
subbyyy_ has joined #ruby
subbyyy has quit [Read error: Operation timed out]
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
typicalbender has joined #ruby
typicalbender has quit [Client Quit]
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kricir has joined #ruby
jonathanwallace has joined #ruby
CaptainJet has joined #ruby
jcromart_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 246 seconds]
three18ti has quit [Quit: goodbye]
<IceDragon> mboyd: I tested it this time
momomomomo has quit [Quit: momomomomo]
<IceDragon> :)
Lewix has joined #ruby
<IceDragon> the method will do "nothing" if the instance_eval isn't set
Advocation has quit [Quit: Advocation]
apeiros has joined #ruby
hiall has quit [Ping timeout: 264 seconds]
parduse has quit [Ping timeout: 260 seconds]
preller has joined #ruby
preller has quit [Changing host]
preller has joined #ruby
arietis has joined #ruby
hiyosi has quit [Ping timeout: 246 seconds]
parduse has joined #ruby
phansch_ has joined #ruby
phansch has quit [Ping timeout: 246 seconds]
banister has joined #ruby
newbiehacker has quit [Quit: Leaving]
petey has joined #ruby
platzhirsch has joined #ruby
<platzhirsch> So guys, what language to exercise interview questions?
Spami has joined #ruby
<_br_> assembly
<hoelzro> English?
saarinen has joined #ruby
three18ti has joined #ruby
<rdark> yiddish
<popl> Deutsche
<IceDragon> Haskell ?
<popl> !
<_br_> Svenska!
timonv_ has quit [Remote host closed the connection]
<platzhirsch> okay, very good suggestions so far
<platzhirsch> IceDragon: and you are out
nanoyak has joined #ruby
<IceDragon> :O But the functional goodness man
<Hanmac1> platzhirsch: depends how nerdy the job is ... it could be Klingon ;P
phansch has joined #ruby
phansch_ has quit [Ping timeout: 246 seconds]
<platzhirsch> C and Java seem reasonable. I started with Python, but some implementations for instance linked lists seem kind of awkward and out of place
<platzhirsch> maybe this is better in Ruby
<_br_> alternative Dothranki
zeeraw has joined #ruby
BizarreCake has quit [Read error: Connection reset by peer]
kaldrenon has joined #ruby
<platzhirsch> oh is it spelled with an n?
<platzhirsch> I always heared Dothraki
iamchrisf has joined #ruby
heidi has joined #ruby
iliketur_ has joined #ruby
<_br_> No, you are right, my fingers are just to big ^^
<platzhirsch> xDD
s2013 has quit [Ping timeout: 252 seconds]
<mboyd> IceDragon: new code, new error!
<mboyd> by the way, i appreciate your help looking at this :)
<IceDragon> o_o but but but
<IceDragon> my code is bullet proof!
<IceDragon> well
endash_ has joined #ruby
<IceDragon> I forgot to give it a kelvar helmet
<IceDragon> BUT STILL
endash_ has quit [Client Quit]
jlebrech has quit [Ping timeout: 272 seconds]
enebo has joined #ruby
<IceDragon> mboyd: can you give me the test code as well?
<IceDragon> Whatever tid bits you where using to test it
<mboyd> let me see if I can get it down to the bare minimum
michael_lee has quit [Remote host closed the connection]
lxsameer has joined #ruby
<lxsameer> does gemcutter is the old name of rubygems.org
ExCa|iBuR has joined #ruby
<mboyd> IceDragon: bre minimum is posted
mojjojo has quit [Quit: mojjojo]
<mboyd> *bare
almarshall has joined #ruby
<IceDragon> O: AHA!
Lewix has quit [Remote host closed the connection]
<IceDragon> Meta Programming strikes again!
iamjarvo_ has joined #ruby
krainbol_ has quit [Ping timeout: 246 seconds]
soheil has joined #ruby
psyprus has quit [Ping timeout: 240 seconds]
Elhu has joined #ruby
tedstriker has quit [Quit: Anti-Fraping status set.]
petey has quit [Remote host closed the connection]
pranny has joined #ruby
psyprus has joined #ruby
x0nic has quit [Ping timeout: 260 seconds]
petey has joined #ruby
b00stfr3ak has quit [Read error: Connection reset by peer]
divi_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
platzhirsch has left #ruby [#ruby]
ahawkins has quit [Ping timeout: 252 seconds]
iamjarvo has quit [Ping timeout: 246 seconds]
x0nic has joined #ruby
Lewix has joined #ruby
phantummm has quit [Quit: phantummm]
pranny has quit [Client Quit]
tylersmith has joined #ruby
MrZYX|off is now known as MrZYX
jbpros has joined #ruby
pranny has joined #ruby
iamjarvo_ has quit [Ping timeout: 248 seconds]
nobitanobi has quit [Read error: Connection reset by peer]
ahawkins has joined #ruby
petey has quit [Ping timeout: 248 seconds]
Mon_Ouie has quit [Ping timeout: 245 seconds]
nobitanobi has joined #ruby
tylersmith has quit [Remote host closed the connection]
typicalbender has joined #ruby
phantummm has joined #ruby
vlad_starkov has joined #ruby
iamjarvo has joined #ruby
jrobeson has quit [Read error: Connection reset by peer]
jonnyro has joined #ruby
julweber has joined #ruby
pipework has quit [Ping timeout: 245 seconds]
preller has quit [Read error: Operation timed out]
<IceDragon> mboyd: Okay this is the last push :D
<IceDragon> try it now
cbetta_afk is now known as cbetta
tylersmith has joined #ruby
ArchBeOS-work has quit [Read error: Connection reset by peer]
javon_ has quit [Ping timeout: 265 seconds]
sandeepk has quit [Quit: Leaving...]
typicalbender has quit [Ping timeout: 240 seconds]
typicalbender has joined #ruby
polaco has joined #ruby
iamjarvo has quit [Ping timeout: 245 seconds]
michaeldeol has quit [Remote host closed the connection]
jlast_ has quit [Remote host closed the connection]
julweber has quit [Ping timeout: 246 seconds]
xcv has quit [Remote host closed the connection]
jlast has joined #ruby
nobitanobi has quit [Read error: Connection reset by peer]
xcv has joined #ruby
typicalbender1 has joined #ruby
ExCa|iBuR has quit [Ping timeout: 245 seconds]
nobitanobi has joined #ruby
typicalbender has quit [Read error: Connection reset by peer]
haukur has quit []
<mboyd> IceDragon: not going to work, you changed the test!
<IceDragon> wouldn't work
iamchrisf has quit [Quit: iamchrisf]
<mboyd> but it does for the first one: real.instance_eval "puts test"
<mboyd> try it
ArchBeOS-work has joined #ruby
ArchBeOS-work has quit [Changing host]
ArchBeOS-work has joined #ruby
<mboyd> that's my whole problem
davy_ has quit [Remote host closed the connection]
preller has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
davy_ has joined #ruby
xcv has quit [Ping timeout: 240 seconds]
typicalbender1 has quit [Ping timeout: 245 seconds]
<mboyd> IceDragon: do you see what I mean?
ludar has joined #ruby
enebo has quit [Quit: enebo]
nisstyre has quit [Quit: Leaving]
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
b00stfr3ak has joined #ruby
rdark has quit [Quit: leaving]
preller has quit [Ping timeout: 252 seconds]
cascalheira has quit [Quit: Linkinus - http://linkinus.com]
mikepack_ has joined #ruby
RaCx has joined #ruby
javon has joined #ruby
entropy1995 has joined #ruby
alekst has joined #ruby
iamchrisf has joined #ruby
dangerousdave has joined #ruby
m8 has joined #ruby
burlyscudd has joined #ruby
bricker`away is now known as bricker
timonv has joined #ruby
mikepack has quit [Ping timeout: 260 seconds]
mikepack_ has quit [Ping timeout: 252 seconds]
petey has joined #ruby
freerobby has joined #ruby
freerobby has quit [Client Quit]
divi has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
Xeago has joined #ruby
AndChat| has joined #ruby
ahawkins has quit [Read error: Connection reset by peer]
nhhagen has joined #ruby
jgrevich has joined #ruby
asteros has joined #ruby
<miah> sup
hersha has quit [Quit: hersha]
jonahR has joined #ruby
nhhagen has quit [Client Quit]
Briareos1 has quit [Remote host closed the connection]
carraroj has joined #ruby
Xeago has quit [Ping timeout: 252 seconds]
Briareos1 has joined #ruby
athst has joined #ruby
g3orge has quit [Quit: WeeChat 0.4.2]
<entropy1995> has anybody ever done first test Ruby?
<miah> hrm?
<miah> do you mean, test first? aka, TDD
iliketur_ has joined #ruby
<IceDragon> mboyd: Ah, sorry my head crashed D:
chrisja has joined #ruby
<entropy1995> yeah lol thats what I mean
<miah> I think lots of us do, or try to. its definitely important to test while developing. otherwise you end up wasting time
<miah> nice, i hadnt seen that one
RaCx has quit [Ping timeout: 248 seconds]
preller has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
typicalbender has joined #ruby
Elhu has joined #ruby
<entropy1995> i was going through one of the questions and i am having trouble with this line "ftoc(32).should == 0"
ExCa|iBuR has joined #ruby
<miah> ok
<miah> what problem are you having?
<entropy1995> what exactly can I do here?
<miah> so, thats an assertion. its checking that whatever ftoc is, when passed 32 returns 0
Deele has joined #ruby
<entropy1995> So how would I make this portion of the test pass?
jbpros has quit [Quit: jbpros]
_5kg has quit [Ping timeout: 246 seconds]
hersha has joined #ruby
<miah> make ftoc return 0 i guess. i dont know the question directly or the course your following.
tvw has quit []
<miah> an assertion says "this is what the code should do"
preller has quit [Ping timeout: 240 seconds]
<miah> and in this case, you're checking equality (==) between ftoc(32) and 0
vlad_starkov has quit [Remote host closed the connection]
jragon has joined #ruby
nbrosnahan has quit [Ping timeout: 272 seconds]
typicalbender has quit [Ping timeout: 248 seconds]
RaCx has joined #ruby
phus1on has joined #ruby
<entropy1995> Yeah, I got that We're converting so we're converting 32 Fahrenheit to Celsius.
Spami has quit [Quit: This computer has gone to sleep]
MrLinuxSwigger has quit [Quit: Lost terminal]
nbrosnahan has joined #ruby
ahawkins has joined #ruby
<IceDragon> shevy: hold me please, I just discovered how dark and scary ruby is ;_;
ericksonsce has joined #ruby
jbpros has joined #ruby
RaCx has quit [Client Quit]
ericksonsce has quit [Max SendQ exceeded]
<IceDragon> mboyd: Alright I think I did it this time
_5kg has joined #ruby
_Andres has joined #ruby
ahawkins has quit [Read error: Connection reset by peer]
|PiP|` has quit [Ping timeout: 246 seconds]
<shevy> IceDragon I'll hold you if you'll become a girl
stringoO has quit [Quit: stringoO]
magz has joined #ruby
<magz> join #python
<IceDragon> shevy: no can do bro, I'll settle with a pat on the shoulder
GoodTimes has quit [Ping timeout: 260 seconds]
<IceDragon> !
<magz> oops something went wrong
<IceDragon> /!\PYTHONIAN DETECTED/!\
Es0teric has joined #ruby
<entropy1995> In Rspec what does the .should method mean?
<magz> No!!
postmodern has joined #ruby
* IceDragon panics
* IceDragon falls over and hurts face
Briareos1_ has joined #ruby
* magz laughs
anderson has left #ruby ["Leaving"]
* shevy pats IceDragon on the shoulder.
Briareos1 has quit [Ping timeout: 246 seconds]
Tarential has quit [Excess Flood]
diegoviola has quit [Quit: WeeChat 0.4.2]
* magz is not a PYTHONIAN
coderhs has joined #ruby
coderhs has quit [Read error: Connection reset by peer]
<shevy> join #snakemagz
Tarential has joined #ruby
<shevy> magzzzzz
<shevy> what did you want in #python :>
<shevy> they banned the nick "python" there btw :(
d45h has quit []
<miah> i personally use minitest so i dont know rspec very well
<magz> shevy, nothing i was showing my friend how to use irc and by mistake i hit the wrong key
Spami has joined #ruby
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
tannerburson has quit [Read error: Connection reset by peer]
<IceDragon> shevy: I've done it ;_; and I feel bad for doing it
ahawkins has joined #ruby
<IceDragon> shevy: singleton_class.send :define_method, :instance_eval, &new_meth
<shevy> waaaah
<shevy> don't scare me with code like that man!
<IceDragon> ;___;
<IceDragon> ITS EVIL
<IceDragon> SO EVIL
Alina-malina has quit [Ping timeout: 264 seconds]
<yxhuvud> :D
JohnBat26 has joined #ruby
relix has joined #ruby
<shevy> IceDragon I think yxhuvud has an evil smile
tannerburson has joined #ruby
lxsameer has quit [Quit: Leaving]
iliketur_ has quit [Quit: zzzzz…..]
* IceDragon cries like a little girl
chomskiii has quit [Ping timeout: 272 seconds]
Leighton has quit [Quit: leaving]
pipework has joined #ruby
iliketur_ has joined #ruby
jragon has quit [Changing host]
jragon has joined #ruby
coderhs has joined #ruby
burlyscudd has quit [Quit: Leaving.]
johnnyfuchs has joined #ruby
perlsyntax has joined #ruby
johnnyfuchs has left #ruby [#ruby]
decoponio has quit [Quit: Leaving...]
pipework has quit [Ping timeout: 252 seconds]
jbpros has quit [Quit: jbpros]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
ericksonsce has joined #ruby
ericksonsce has quit [Max SendQ exceeded]
pwestlund_away is now known as pwestlund
<perlsyntax> hi all
<IceDragon> greetings
pwestlund is now known as pwestlund_away
<shevy> die
<shevy> sorry
<shevy> wrong channel
<shevy> hi perlsyntax!
<Jdubs> shevy LOL
<shevy> how are you!
<Jdubs> you too cray
<Jdubs> :P
<shevy> I am trying to find a compliment to perlsyntax
<shevy> but I find perl's syntax rather ugly :(
<Jdubs> yeah perl should die you were right the first time
<Jdubs> :P
<shevy> lol
<perlsyntax> ok
<shevy> it feeds ruby new converts
<shevy> perlsyntax come to ruby!
<shevy> perlsyntax leave your evil past behind you
Alina-malina has joined #ruby
<perlsyntax> i start to like ruby better..
<LadyRainicorn> Perl doesn't allow ' ' in identifiers.
<shevy> of course
<shevy> it's like perl, without the noise
<perlsyntax> lol
<LadyRainicorn> ^ the best thing about Perl
<perlsyntax> i start to like the ruby 2.0
<shevy> I am still on 1.9.3 :(
<Jdubs> shevy, my company moved me to front end :(
<shevy> my invalid yaml files prevent me from switching
<Jdubs> no more ruby for me... :'(
<shevy> Jdubs ah hmm
olleromo has joined #ruby
<magz> ruby 2.0 is really good
<shevy> Jdubs what languages are you still allowed to use?
<LadyRainicorn> Yess.
<Jdubs> uhhh
<Jdubs> javascript and various javascript frameworks
<Jdubs> :'(
<magz> i'm using ruby 2.0 with rails 4 and the applications are damn fast
<shevy> awwww
<perlsyntax> i like the gem remote tool
typicalbender has joined #ruby
shaunbak_ has quit [Remote host closed the connection]
mjs2600 has joined #ruby
<magz> shevy, you should move to 2.0 soon
mikepack has joined #ruby
kirun has joined #ruby
typicalbender has quit [Read error: Connection reset by peer]
<shevy> I cant
ringaroses1 has quit [Ping timeout: 246 seconds]
interactionjaxsn has quit [Remote host closed the connection]
<shevy> all my configuration files are in invalid yaml
typicalbender has joined #ruby
<entropy1995> miah thanks
<perlsyntax> i use rvm with ruby 2.0
<Jdubs> anyone here hate ember as much as i do?
<Jdubs> man i hate it so much
<Jdubs> lksdjflsdkjfdlsjkfd
interactionjaxsn has joined #ruby
<perlsyntax> it won't mess up my other rubys
<Jdubs> Been struggling trying to get this stupid binding to work for DAYS
Elhu has quit [Quit: Computer has gone to sleep.]
<magz> yeah rvm is the best way to install and use ruby
<perlsyntax> i just found that out:D
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
<magz> that also lets you switch between different ruby versions which is cool
<shevy> what is even cooler is (or rather was) gobolinux
jkamenik has joined #ruby
phil_b has quit [Ping timeout: 252 seconds]
<shevy> when you can switch any version of any program you don't need special tools like RVM
<havenwood> magz: I think ruby-install is the best way to install Ruby and chruby the best way to select your current Ruby. But to each their own! :)
typicalbender has quit [Ping timeout: 252 seconds]
<magz> havenwood, yeah
interactionjaxsn has quit [Ping timeout: 252 seconds]
<shevy> nobody mentions gentoo's eselect :(
sepp2k has quit [Quit: Konversation terminated!]
<havenwood> magz: rvm2 will be modular like ruby-install, chruby, chgems but in Ruby not Shell - that should be interesting
lkba has quit [Read error: Connection reset by peer]
<havenwood> install your Ruby with... Ruby!
pskosinski has quit [Quit: Til rivido Idisti!]
<magz> never knew about rvm2
cina has joined #ruby
petey has quit [Remote host closed the connection]
sailias1 has joined #ruby
coderhs has quit [Ping timeout: 260 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
petey has joined #ruby
<havenwood> magz: rvm actually even supports chruby, with rvm you get mrvm (mini-rvm) that uses chruby to select your Ruby and just installs Rubies with rvm.
sailias has quit [Ping timeout: 248 seconds]
Banistergalaxy has joined #ruby
<magz> seems interesting, havenwood
<havenwood> But I think most chruby users use ruby-install or build Ruby themselves.
kraljev has joined #ruby
<kraljev> Hey, how can I make ruby desktop app
<kraljev> in HTML5, using probably webkit
phus1on has quit [Quit: .]
rmengu has joined #ruby
<shevy> in html you use javascript
Tarential has quit [Excess Flood]
<kraljev> I'd like to call ruby functions in javascript
<kraljev> exactly
lukec has quit [Quit: lukec]
<shevy> we all would love to but a browser like firefox knows only javascript
Tarential has joined #ruby
<havenwood> kraljev: platform agnostic or particular to one?
cpruitt has quit [Quit: cpruitt]
AndChat| has quit [Ping timeout: 240 seconds]
alekst has quit [Quit: Leaving...]
<kraljev> preferably agnosic
ExCa|iBuR has quit [Ping timeout: 245 seconds]
narcan has joined #ruby
<kraljev> i have been doing similar things with C++ and qt-webkit
petey has quit [Ping timeout: 245 seconds]
<kraljev> javascript could call C++ functions
nbrosnahan has quit [Ping timeout: 252 seconds]
<havenwood> kraljev: about a year ago i was playing around with manually creating an OS X app with Sinatra and Webkit, kinda insane but work: https://github.com/havenwood/sinatra-dot-app
enape_101 has quit [Ping timeout: 240 seconds]
nomenkun has joined #ruby
petey has joined #ruby
pagios has quit [Ping timeout: 246 seconds]
<havenwood> kraljev: uses apache-callback-mac
spider-mario has quit [Ping timeout: 260 seconds]
sailias1 has quit [Ping timeout: 246 seconds]
<havenwood> kraljev: yeah, i dunno
jonathanwallace has quit [Ping timeout: 248 seconds]
magz has quit [Quit: Ex-Chat]
nanoyak has quit [Quit: Computer has gone to sleep.]
shoMo has quit [Ping timeout: 245 seconds]
Mars__ has joined #ruby
mzdravkov has joined #ruby
cbetta is now known as cbetta_afk
<havenwood> kraljev: maybe check out decaf, ship that with your app so you can use Ruby entirely and just not javascript at all: http://trydecaf.org/
<havenwood> :P
rubyracer has joined #ruby
davy_ has quit [Remote host closed the connection]
nbrosnahan has joined #ruby
<kraljev> is it in a gem form?
RaCx has joined #ruby
<shevy> cool
<havenwood> kraljev: oh dang, it is OS X only as well >.>
<h0rrorvacui> havenwood awesome I didn't even know decaf existed
Jdubs has quit [Remote host closed the connection]
<havenwood> kraljev: but no, it isn't a gem, only ships as an .app
<Hanmac1> kraljev: i like to use C macros to bind C++ functions to ruby methods ;P
Hanmac1 is now known as Hanmac
enape_101 has joined #ruby
<kraljev> Apparently TideSDK is the only option, then
heidi has quit [Quit: Leaving.]
diegoviola has joined #ruby
shadoi has joined #ruby
bline79 has quit [Remote host closed the connection]
pagioss has joined #ruby
fomatin has joined #ruby
shoMo has joined #ruby
bline79 has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
ahawkins has quit [Read error: Connection reset by peer]
petey has quit [Remote host closed the connection]
coderhs has joined #ruby
petey has joined #ruby
heidi has joined #ruby
petey has quit [Read error: Connection reset by peer]
wpgreenway has quit [Quit: Connection closed for inactivity]
petey has joined #ruby
jonathanwallace has joined #ruby
spider-mario has joined #ruby
typicalbender has joined #ruby
mjs2600 has quit [Remote host closed the connection]
jbpros has joined #ruby
petey has quit [Remote host closed the connection]
RaCx has quit [Quit: Computer has gone to sleep.]
petey has joined #ruby
xk_id has quit [Quit:
Asher has quit [Quit: Leaving.]
sailias has joined #ruby
typicalbender1 has joined #ruby
typicalbender has quit [Read error: Connection reset by peer]
iamjarvo has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
jerius has quit [Ping timeout: 246 seconds]
capicue has joined #ruby
ringaroses has joined #ruby
RaCx has joined #ruby
sambao21 has joined #ruby
petey has quit [Ping timeout: 240 seconds]
interactionjaxsn has joined #ruby
Briareos1 has joined #ruby
sepp2k has joined #ruby
Briareos1_ has quit [Ping timeout: 245 seconds]
hiyosi has joined #ruby
typicalbender1 has quit [Quit: Leaving.]
almarshall has quit [Quit: almarshall]
hiyosi has quit [Ping timeout: 245 seconds]
nomenkun has quit [Ping timeout: 246 seconds]
heidi has quit [Quit: Leaving.]
hiyosi has joined #ruby
atrli has quit [Quit: leaving]
paul_k has quit [Quit: ZNC - http://znc.in]
paul_k has joined #ruby
nomenkun has joined #ruby
cpruitt has joined #ruby
maasha has joined #ruby
jerius has joined #ruby
jkhwan has quit [Remote host closed the connection]
RaCx has quit [Quit: Computer has gone to sleep.]
elux_ has quit [Remote host closed the connection]
elux has joined #ruby
jkhwan has joined #ruby
jrobeson has joined #ruby
shime has joined #ruby
dorei has joined #ruby
jerius_ has joined #ruby
hiyosi has quit [Ping timeout: 260 seconds]
noop has quit [Ping timeout: 252 seconds]
petey has joined #ruby
mojjojo has joined #ruby
jerius has quit [Ping timeout: 260 seconds]
momomomomo has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
<maasha> evening
<dorei> hello
matheuscaceres has quit [Quit: matheuscaceres]
ckinni has joined #ruby
<nobitanobi> hihi
mjs2600 has joined #ruby
olleromo has left #ruby ["Textual IRC Client: www.textualapp.com"]
platzhirsch has joined #ruby
<maasha> workmad3 around?
ringaroses has quit [Quit: Leaving]
Hanmac1 has joined #ruby
achru has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
achru has joined #ruby
Tuxist has joined #ruby
moneydouble has joined #ruby
jkhwan has joined #ruby
Hanmac has quit [Ping timeout: 246 seconds]
dmoe has joined #ruby
allsystemsarego has quit [Quit: Leaving]
ahawkins has joined #ruby
xk_id has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
heidi has joined #ruby
cina has quit [Ping timeout: 246 seconds]
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_maes_ has joined #ruby
heidi has quit [Read error: Connection reset by peer]
achru has quit [Ping timeout: 245 seconds]
rmengu is now known as mengu
mengu has quit [Changing host]
mengu has joined #ruby
ldnunes has quit [Quit: Leaving]
<h0rrorvacui> So someone could use decaf to make a ruby scripted browser sorta like luakit but with ruby?
heidi has joined #ruby
aryaching has quit [Ping timeout: 264 seconds]
alvaro_o has joined #ruby
athst has quit [Quit: athst]
pranny has quit [Ping timeout: 246 seconds]
Atrophius has quit [Ping timeout: 260 seconds]
<lewiz> Hey guys... if I have a path on Windows: "c:\windows" and "c:/windows" how can I safely compare them?
Atrophius has joined #ruby
petey has quit [Remote host closed the connection]
iamchrisf has quit [Quit: iamchrisf]
petey has joined #ruby
charliesome has joined #ruby
funburn has joined #ruby
lukec has joined #ruby
iamjarvo has quit [Remote host closed the connection]
athst has joined #ruby
jibi has joined #ruby
iamjarvo has joined #ruby
<tobiasvl> lewiz: what do you mean? you have two strings and want to see if they're identical except for slashes?
atraa has joined #ruby
breakingthings has quit []
<atraa> hi
snath has quit [Ping timeout: 252 seconds]
<h0rrorvacui> lewiz doesn't ruby convert pathnames?
<h0rrorvacui> I mean why are you doing that?
Jdubs has joined #ruby
<lewiz> h0rrorvacui: I have some existing code that generates pathnames with / and I'm compare those strings with the output of a stat which uses \ names.
<atraa> is there a way to read the whole content of a file? I'm using a iterator with the file.each_line to read all the content
<atraa> can I do it in one step ?
<MrZYX> atraa: File.read
<cout> lewis: will File.absolute_path or File.expand_path give you a canonical pathname?
ehc has quit [Quit: ehc]
<bnagy> no
Mars__ has quit [Remote host closed the connection]
<atraa> oh nice thanks you MrZYX
<cout> rubyhacker1 is the one you want to ask
Briareos1 has quit [Remote host closed the connection]
petey_ has joined #ruby
petey has quit [Read error: Connection reset by peer]
Mars__ has joined #ruby
<bnagy> anyway as far as ruby is concerned / is canonical
<lewiz> cout: I'll check now, thanks
* Hanmac1 point and laugh about windows path names
Hanmac1 is now known as Hanmac
pranny has joined #ruby
pranny has quit [Client Quit]
athst has quit [Ping timeout: 245 seconds]
<lewiz> cout: Yes, I think that does what I need. Thank you
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
burlyscudd has joined #ruby
iamjarvo_ has joined #ruby
<bnagy> wtf
Hanmac1 has joined #ruby
<Hanmac1> bnagy there is File::Separator, but i didnt see a ruby where its different than "/"
iamjarvo has quit [Remote host closed the connection]
iamjarvo_ has quit [Read error: Connection reset by peer]
<bnagy> it never is
iamjarvo has joined #ruby
<cout> Hanmac1: have you tried running ruby on System 6? I think there it would be |
petey_ has quit [Remote host closed the connection]
Mars__ has quit [Ping timeout: 246 seconds]
<cout> (if one were to be silly enough to write a port)
RaCx has joined #ruby
* Hanmac1 never heard of System6 ;P
Hanmac has quit [Ping timeout: 245 seconds]
<Hanmac1> ther is also File::SEPARATOR #=> "/" and File::ALT_SEPARATOR #=> nil
Hanmac1 is now known as Hanmac
shaunbaker has joined #ruby
<h0rrorvacui> File::ALT_SEPARATOR is for platform specific seperators
achru has joined #ruby
<h0rrorvacui> Ruby just converts for the platform and uses "/" internally?
<cout> I see, it's hard-coded to / in file.c
nanoyak has joined #ruby
Mars__ has joined #ruby
<cout> but that's because nobody has done a port to a platform that doesn't support / in the C library
<Hanmac> its funny that you can create directories with windows that you cant delete anymore because of broken path ;D
soulcake has quit [Read error: Connection reset by peer]
kraljev2 has joined #ruby
jkhwan has quit [Remote host closed the connection]
<h0rrorvacui> For the windows retarded, how do you do that?
almarshall has joined #ruby
athst has joined #ruby
jkhwan has joined #ruby
soulcake has joined #ruby
<cout> Hanmac: Alt-255?
Jetchisel has joined #ruby
iamjarvo has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Hanmac> hm i need to look for that video again ... but i was some kind of shell command that you can add something in the path that you can not delete the path again anymore in windows (you need a linux to delete that specific path)
iamjarvo has joined #ruby
drumusician has quit [Read error: Operation timed out]
jonathanwallace has quit [Ping timeout: 246 seconds]
kraljev has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
<maasha> suggestions for a way to concatenate lazy enumerators (Ruby2 here with lazy)
<maasha> ?
lulz has joined #ruby
<MrZYX> maasha: example?
iamjarvo has quit [Read error: Connection reset by peer]
enape_101 has quit [Ping timeout: 246 seconds]
phansch has quit [Quit: Leaving]
mboyd has quit [Quit: This computer has gone to sleep]
<maasha> MrZYX: File.open(file1).each_line.lazy + File.open(file2).each_line.lazy
iamjarvo has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
<MrZYX> what would you want to combine there?
tvw has joined #ruby
tvw has quit [Client Quit]
<lupine> well, you'd want it to be the same as `cat file1 file2`.each_line, presumably
lulz has quit [Remote host closed the connection]
<maasha> MrZYX: maybe not the best example. There is this I found: http://bugs.ruby-lang.org/issues/709 perhaps that will do
popl has quit [Quit: And then there are people who prefer to look their fate in the eye.]
Hanmac1 has joined #ruby
<apeiros> maasha: bad style. leaving dangling file descriptors.
<apeiros> (yes, ruby finalizers will eventually close them - but they have no guarantees as to when they'll run)
dhruvasagar has quit [Ping timeout: 245 seconds]
<MrZYX> lupine: could've been interleaving as well, or next value of each at the same time as two block params etc.
larissa has joined #ruby
Hanmac has quit [Ping timeout: 246 seconds]
<lupine> that'd be a very strange version of +
<lupine> but I'm not a fan of operator overloading at the best of times
<MrZYX> he didn't mention Enumerator#+, he just said "combine"
vlad_starkov has joined #ruby
<lupine> the example used +
<maasha> apeiros: hm we cant have bad style. I am fiddling with workmad3's suggestion to my pipe problem: https://gist.github.com/maasha/7a92a31403b8235356e4
autumn has quit [Ping timeout: 240 seconds]
<maasha> apeiros: The cat methods needs to join the input Enumerator with the one from File.open.each_line.lazy
lulz has joined #ruby
lulz has left #ruby [#ruby]
sambao21 has quit [Quit: Computer has gone to sleep.]
autumn has joined #ruby
shadoi has quit [Quit: Leaving.]
iamchrisf has joined #ruby
jgrevich has quit [Ping timeout: 245 seconds]
Hanmac1 has quit [Ping timeout: 252 seconds]
Hanmac has joined #ruby
yalue has quit [Quit: Leaving]
tyfighter has joined #ruby
rubyracer has quit [Quit: Konversation terminated!]
davy_ has joined #ruby
<maasha> hah, it works
snath has joined #ruby
mjs2600 has quit [Remote host closed the connection]
nwertman has quit [Read error: Connection reset by peer]
jkline has joined #ruby
iliketur_ has joined #ruby
hiyosi has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
ringaroses has joined #ruby
iliketur_ has quit [Client Quit]
yakko has quit [Read error: Connection timed out]
flops has quit [Read error: Connection reset by peer]
carraroj has joined #ruby
relix has joined #ruby
tyfighter has quit [Ping timeout: 252 seconds]
sambao21 has joined #ruby
krawchyk has quit []
iliketur_ has joined #ruby
Hanmac1 has joined #ruby
nwertman has joined #ruby
marx2 has joined #ruby
marx2 has quit [Client Quit]
<jkline> I have my own SSL Certificate Authority (CA) and a server with an SSL cert signed by that CA. How do I get Ruby to trust that CA?
pipework has joined #ruby
<MrZYX> Ruby should trust your system bundle
<jkline> that is what I thought. And I have added by CA to the system bundle
Hanmac has quit [Ping timeout: 248 seconds]
pipework has quit [Client Quit]
<jkline> the server is a Gem repository, I am trying to install one of my gems using gem
<jkline> gem doesn't trust my cert even though curl does
achru has quit []
Elhu has joined #ruby
<jkline> SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://artifacts.myco.example.com/articatory/api/gems/ruby-virtual-master/prerelease_specs.4.8.gz)
breakingthings has joined #ruby
Czupa has quit [Ping timeout: 260 seconds]
apeiros has quit [Remote host closed the connection]
<MrZYX> hm, I remember something about rubygems shipping their own needed certs
shaunbak_ has joined #ruby
apeiros has joined #ruby
mityaz has joined #ruby
<jkline> MrZYX: interesting… do you have an article or document? I will research as well
<jkline> I think I may be accidently using an ancient version… let me debug some more
nomenkun has quit [Ping timeout: 246 seconds]
<jkline> I appreciate the help!
cina has joined #ruby
capicue has quit [Ping timeout: 245 seconds]
mityaz has quit [Client Quit]
<jkline> no, that was not the provlem. I am using gem 1.8.23
<jkline> 1.8.11 shows the same behavior
nomenkun has joined #ruby
pskosinski has joined #ruby
<MrZYX> most recent version is 2.17
<MrZYX> *2.1.7
petey has joined #ruby
Jdubs has quit [Remote host closed the connection]
<MrZYX> nah, gem cert is for gem signing
shaunbaker has quit [Ping timeout: 245 seconds]
elux has quit [Quit: Leaving...]
Atrophius has quit [Ping timeout: 245 seconds]
Mars__ has quit [Remote host closed the connection]
elux has joined #ruby
funburn has quit [Quit: funburn]
Mars__ has joined #ruby
Mars__ has quit [Read error: Connection reset by peer]
nwertman has quit [Ping timeout: 260 seconds]
bjeanes has quit [Quit: Connection closed for inactivity]
Mars__ has joined #ruby
iamjarvo has quit [Remote host closed the connection]
enape_101 has joined #ruby
iamjarvo has joined #ruby
nwertman has joined #ruby
typicalbender has joined #ruby
jonathanwallace has joined #ruby
lfox has quit [Quit: ZZZzzz…]
jamblack has joined #ruby
perlsyntax has quit [Quit: Leaving]
bluOxigen has quit [Ping timeout: 252 seconds]
Hanmac1 has quit [Ping timeout: 260 seconds]
jonnyro has quit [Quit: leaving]
alvaro_o has quit [Quit: Ex-Chat]
ehc has joined #ruby
mikepack has quit [Remote host closed the connection]
spider-mario has quit [Read error: Connection reset by peer]
funburn has joined #ruby
Jdubs has joined #ruby
Jdubs has quit [Remote host closed the connection]
gr33n7007h has joined #ruby
iamjarvo has quit [Ping timeout: 246 seconds]
funburn has quit [Client Quit]
amoli has joined #ruby
elux has quit [Quit: Leaving...]
Jdubs has joined #ruby
terrellt has quit [Ping timeout: 246 seconds]
mjs2600 has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
davy_ has quit [Remote host closed the connection]
ArchBeOS-work has quit [Quit: Leaving]
mjs2600 has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
Tuxist has quit [Read error: Connection reset by peer]
sepp2k1 has joined #ruby
mansi has joined #ruby
iamjarvo has joined #ruby
davy_ has joined #ruby
coderhs has quit [Ping timeout: 245 seconds]
typicalbender has quit [Quit: Leaving.]
sepp2k has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Remote host closed the connection]
Elhu has quit [Quit: Computer has gone to sleep.]
mzdravkov has left #ruby [#ruby]
Hanmac has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.2]
Jdubs has quit [Remote host closed the connection]
kraljev2 has left #ruby [#ruby]
typicalbender has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
canton7-mac has joined #ruby
orionstein_away is now known as orionstein
jamesaanderson has joined #ruby
vlad_starkov has joined #ruby
Atrophius has joined #ruby
pyx has joined #ruby
pyx has quit [Client Quit]
interact_ has joined #ruby
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
canton7-mac has quit [Ping timeout: 246 seconds]
RaCx_ has joined #ruby
typicalbender has quit [Quit: Leaving.]
heidi has quit [Quit: Leaving.]
kpshek has quit []
orionstein has quit [Quit: ZNC - http://znc.in]
jamesaanderson has quit [Client Quit]
jamesaanderson has joined #ruby
orionstein has joined #ruby
nixie has joined #ruby
RaCx has quit [Ping timeout: 245 seconds]
RaCx_ is now known as RaCx
Kricir has quit [Remote host closed the connection]
Zesty has joined #ruby
cina has quit [Ping timeout: 245 seconds]
asteros has quit [Quit: asteros]
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
interact_ has quit [Remote host closed the connection]
asteros has joined #ruby
kpshek has joined #ruby
jamblack has quit [Quit: jamblack]
coderhs has joined #ruby
ddd has quit [Ping timeout: 245 seconds]
mklappstuhl has joined #ruby
pskosinski has quit [Quit: Til rivido Idisti!]
hadees has joined #ruby
ddd has joined #ruby
petey_ has joined #ruby
petey has quit [Ping timeout: 240 seconds]
rezzack has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
petey_ has quit [Remote host closed the connection]
heidi has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
petey has joined #ruby
mercwithamouth has quit [Ping timeout: 245 seconds]
iliketur_ has joined #ruby
mikepack has joined #ruby
sergicles has quit [Quit: sergicles]
mikepack has quit [Remote host closed the connection]
jamesaanderson has joined #ruby
workmad3 has joined #ruby
typicalbender has joined #ruby
Jdubs has joined #ruby
Jdubs has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
angelixd has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
jkhwan has joined #ruby
Jdubs has joined #ruby
drumusician has joined #ruby
pagioss has quit [Ping timeout: 260 seconds]
gianlucadv has quit [Ping timeout: 260 seconds]
mikepack has joined #ruby
angelixd_ has quit [Ping timeout: 260 seconds]
nuck has quit [Ping timeout: 260 seconds]
flori has quit [Ping timeout: 260 seconds]
flori_ has joined #ruby
petey has quit [Ping timeout: 245 seconds]
sheap has joined #ruby
lfox has joined #ruby
Moca_lambda has joined #ruby
orionstein has quit [Ping timeout: 260 seconds]
orionstein_ has joined #ruby
<Moca_lambda> Hello everyone.
petey has joined #ruby
vlad_starkov has joined #ruby
orionstein_ is now known as orionstein
<Moca_lambda> Why is the rails channel blocked? do you need to register somewhere?
PLejeck has joined #ruby
<MrZYX> Moca_lambda: /msg NickServ HELP
nomenkun has quit [Remote host closed the connection]
_maes_ has quit [Ping timeout: 244 seconds]
nomenkun has joined #ruby
interact_ has joined #ruby
jkamenik has quit [Quit: Leaving.]
lkba has joined #ruby
Solnse has joined #ruby
yfeldblum has joined #ruby
elux has joined #ruby
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
interact_ has quit [Remote host closed the connection]
<Moca_lambda> Does anybody use gitlab here?
danshultz has quit [Remote host closed the connection]
ph8 has quit [Ping timeout: 272 seconds]
coderhs has quit [Read error: Connection timed out]
danshultz has joined #ruby
burlyscudd has quit [Quit: Leaving.]
nomenkun has quit [Ping timeout: 246 seconds]
orionstein has quit [Quit: ZNC - http://znc.in]
coderhs has joined #ruby
bret has left #ruby [#ruby]
xeno has joined #ruby
mark_locklear has quit [Quit: Leaving]
charliesome has joined #ruby
<xeno> So, there appears to be nothing on the internet about --user-install except a passing reference to it without explanation on how to use it. How do you use it?
Lewix has quit [Remote host closed the connection]
threesome has quit [Ping timeout: 272 seconds]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
<Moca_lambda> xeno it is likely used in the commandline
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<xeno> For instance, this fails for me: $ gem --user-install crack ERROR: Invalid option: --user-install. See 'gem --help'.
orionstein has joined #ruby
jlebrech has joined #ruby
jamesaanderson has joined #ruby
vx9r has joined #ruby
kpshek has quit []
<waxjar> xeno: gem help install
danshultz has quit [Ping timeout: 248 seconds]
<xeno> Yes, I don't see it there either. Perhaps it's gone in 2.0.0.
ph8 has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jragon has quit [Ping timeout: 252 seconds]
blandflakes has quit [Quit: Page closed]
<waxjar> it's not :)
pagioss has joined #ruby
lfox has quit [Quit: ZZZzzz…]
jbpros has quit [Quit: jbpros]
claymore has quit [Quit: Leaving]
sailias has quit [Quit: Leaving.]
<Moca_lambda> waxjar wil you be able to take a look at my error log?
<waxjar> note that gem works with "commands" like git does, so it'd be gem install crack --user-install.
<gr33n7007h> What the difference between system(), ``, %x()?
asteros has quit [Quit: asteros]
<waxjar> Moca_lambda: just ask the question if you have one :)
interact_ has joined #ruby
colonolGron has joined #ruby
dangerousdave has joined #ruby
burlyscudd has joined #ruby
<Moca_lambda> my build of gitlab is failing because a library of some sort is not installing. I can't figure out why it isn't installing though'
cina has joined #ruby
Zesty has quit [Quit: Linkinus - http://linkinus.com]
petey has quit [Remote host closed the connection]
interact_ has quit [Remote host closed the connection]
petey has joined #ruby
tylersmi_ has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
<xeno> Well, I installed a gem in a local area ~/a/mygems, and put $HOME/a/mygems in my $PATH, but my script doesn't see it. There must be another configuration requirement.
dangerousdave has quit [Ping timeout: 248 seconds]
Hanmac1 has joined #ruby
charliesome has quit [Ping timeout: 252 seconds]
LF4 has quit [Quit: leaving]
<waxjar> ruby searches $LOAD_PATH for dependencies, iirc.
charliesome has joined #ruby
<waxjar> that's a global variable, btw, not an environment variable
m8 has quit [Quit: Sto andando via]
<entropy1995> Has anybody done Test First Ruby?
Hanmac has quit [Ping timeout: 260 seconds]
petey has quit [Ping timeout: 246 seconds]
charliesome has quit [Client Quit]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phantasm66 has quit [Quit: *sleeeep….]
coderhs has quit [Read error: Connection timed out]
breakingthings has quit []
sheap has quit [Quit: Lost terminal]
charliesome has joined #ruby
<Hanmac1> $LOAD_PATH is also an magic variable because its read-only ;P
Hanmac1 is now known as Hanmac
Jdubs has quit [Remote host closed the connection]
Lewix has joined #ruby
blaskovicz has quit [Quit: Leaving.]
zoo-zed has joined #ruby
kcombs has quit [Remote host closed the connection]
jkline has quit [Quit: jkline]
Hanmac has quit [Quit: Leaving.]
Briareos1 has joined #ruby
typicalbender has quit [Quit: Leaving.]
ffranz has quit [Quit: Leaving]
zoo-zed has quit [Client Quit]
ravster has quit [Quit: Leaving.]
lsmola has quit [Ping timeout: 240 seconds]
soheil has quit [Read error: Connection reset by peer]
vx9r has quit [Ping timeout: 252 seconds]
zoo-zed has joined #ruby
Hanmac has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
alvaro_o has joined #ruby
lsmola has joined #ruby
Hanmac1 has joined #ruby
<xeno> Nope, it still doesn't see ~/a/mygems after I set export LOAD_PATH=$LOAD_PATH:$HOME/a/mygems.
typicalbender has joined #ruby
coderhs has joined #ruby
<waxjar> <waxjar> that's a global variable, btw, not an environment variable
Hanmac has quit [Ping timeout: 240 seconds]
<waxjar> i forgot the one-liner to add something to it, but It's easy to find on google.
tannerburson has quit [Quit: tannerburson]
vx9r has joined #ruby
matheuscaceres has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
nanoyak has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
Astral_ has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
<xeno> Ok. Sorry. I got several distractions here. My apologies.
kirun has quit [Quit: Client exiting]
Astralum has quit [Ping timeout: 245 seconds]
tylersmi_ is now known as tylersmith
mjs2600 has joined #ruby
mengu has quit []
petey has joined #ruby
maasha has quit [Ping timeout: 250 seconds]
platzhirsch has left #ruby [#ruby]
shadoi has joined #ruby
Hanmac has joined #ruby
jerius_ has quit [Ping timeout: 260 seconds]
freerobby has joined #ruby
<entropy1995> Anyone wanna help with Rspec?
Hanmac1 has quit [Ping timeout: 246 seconds]
ixti has joined #ruby
mary5030 has quit [Ping timeout: 246 seconds]
<MrZYX> entropy1995: ask your real question and you might find out
sepp2k1 has quit [Quit: Leaving.]
<entropy1995> it "converts freezing temperature" do
<entropy1995> ftoc(32).should == 0
<entropy1995> end
<entropy1995> I'm a bit confused with how I can make this portion of the spec pass?
coderhs has quit [Read error: Connection timed out]
<MrZYX> what version of RSpec are you using?
<Hanmac> ask wikipedia about the curect formula, and turn it into ruby code
jerius has joined #ruby
terrellt has joined #ruby
<entropy1995> 2.14.1
<momomomomo> entropy1995: ftoc(32).should eq(0)
tylersmi_ has joined #ruby
coderhs has joined #ruby
<momomomomo> floc is pretty vague, though, I'd rename it :p
<momomomomo> ftoc*
<momomomomo> float to char~?
tylersmith has quit [Read error: Connection reset by peer]
zz_taion809 is now known as taion809
<entropy1995> ftoc is fahrenheit to celsius
<momomomomo> temp_ftoc would be obvious
<momomomomo> entropy1995: der, from your current example
iliketur_ has quit [Quit: zzzzz…..]
<momomomomo> temp_convert_f_to_c
<momomomomo> bleu I'm nitpicking and it's not even my code :o
<MrZYX> entropy1995: since you're using 2.14 and are learning rspec I'd recommend to start with the new expect syntax: expect(ftoc(32).to eq(0)
drag00n has quit [Ping timeout: 260 seconds]
g3orge has joined #ruby
iliketur_ has joined #ruby
<MrZYX> but it should work already, what's your issue with that test?
<entropy1995> I keep getting syntax errors and was confused with .should
jlast_ has joined #ruby
<MrZYX> make a gist of all your code and errors
narcan has joined #ruby
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pwestlund_away has quit [Ping timeout: 260 seconds]
mklappstuhl has quit [Remote host closed the connection]
pwestlund_away has joined #ruby
pwestlund_away is now known as pwestlund
asteros has joined #ruby
gdakram has quit [Ping timeout: 246 seconds]
nixie has quit [Ping timeout: 246 seconds]
jlast has quit [Ping timeout: 245 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
zoo-zed has quit [Quit: Leaving.]
jlast_ has quit [Ping timeout: 245 seconds]
<entropy1995> as you can tell im new to ruby and rspec lol
lsmola has quit [Ping timeout: 246 seconds]
cina has quit [Ping timeout: 246 seconds]
phantummm has quit [Quit: phantummm]
baordog_ has quit [Remote host closed the connection]
emocakes has joined #ruby
sambao21 has joined #ruby
<MrZYX> hm, okay
<MrZYX> first of all you don't use "it" to define methods, you use the def keyword
<MrZYX> so class Temperature [newline] def ftoc(fahrenheit)[newline]your code[newline]end[newline]end
<MrZYX> then if you want them to be contained in a class you have two options: to define instance methods or to define class methods
shaunbak_ has quit [Remote host closed the connection]
relix has joined #ruby
<Moca_lambda> Does anybody use Ruby with OpenShift here?
<MrZYX> MrZYX: You'd call instance methods on new instances of the class, like temperature = Temperature.new; temperature.ftoc(32)
<Hanmac> Moca_lambda: what is openshift and why should we care?
<MrZYX> Moca_lambda: I played a bit with it but I think it lacks sane configuration management
<MrZYX> Hanmac: Red Hats PaaS
<Moca_lambda> Hanmac OpenShift is a PaaS service from RedHat
<MrZYX> hm, what's a service service? :P
<Moca_lambda> MrZYX I can't seem to get 1 ruby gem to install on it
g3orge has quit [Quit: WeeChat 0.4.2]
jonathanwallace has quit [Ping timeout: 240 seconds]
<MrZYX> that just worked for me with the template ruby thingy, using bundler
brianpWins has joined #ruby
pushpak has quit [Quit: Linkinus - http://linkinus.com]
<MrZYX> entropy1995: that line where I managed to mention myself was for you of course m(
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Moca_lambda> MrZYX I'm getting: remote: Installing charlock_holmes (0.6.9.4) with native extensions .........
<Moca_lambda> remote: remote: Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
saltnvinegar has joined #ruby
<MrZYX> entropy1995: so the second "type" of methods, class methods, can be called directly on the class, like Temperature.ftoc(32)
* Hanmac still knows the greeting sentence of the Tavern in old Tristram ;P
<MrZYX> Moca_lambda: well, it might not have all required headers available, don't fear to open a ticket in their bug tracker
<entropy1995> ok, but would I be using "expect(ftoc(32).to eq(0)" this ?
<Moca_lambda> MrXYZ that is what I think is the issue. Something that needs root installation is missing
tkuchiki has joined #ruby
<MrZYX> entropy1995: not exactly, if the method should be contained in a class you have to call it in one of the ways I've shown, that's not different in a test
colonolGron has quit [Quit: leaving]
workmad3 has quit [Quit: Lost terminal]
coderhs has quit [Read error: Connection timed out]
<MrZYX> Moca_lambda: since you have shell access you could probably hack it in with something like the toast package manager, but yeah, try to get support from the team directly
saltnvinegar has quit [Client Quit]
<h0rrorvacui> it would be expect(ftoc(32)).to eq(0)
coderhs has joined #ruby
<Moca_lambda> MrXYZ I don't get why they don't allow root access. This is a fun way to learn Ruby :P trying to hack something to work
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
kitak has joined #ruby
<MrZYX> Moca_lambda: it's container stuff as far as I understood it, so with root access you'd be able to tamper with other users gears
derebos has joined #ruby
jkline has joined #ruby
<MrZYX> since you could write all sorts of stuff to the shared kernel and what not
<entropy1995> I've got this so far "class Temperature
<entropy1995> def ftoc (fahrenheit)
<entropy1995> expect(ftoc(32)).to eq(0)
<entropy1995> end
<entropy1995> end "
<h0rrorvacui> entropy1995 check out the usage section here https://github.com/rspec/rspec-expectations
mikepack_ has joined #ruby
<MrZYX> entropy1995: start by learning ruby, you seem a hell lot confused by rspec in the process of that
drumusician has quit [Ping timeout: 245 seconds]
ace_striker has joined #ruby
blaskovicz has joined #ruby
<Moca_lambda> Mr XYZ so basically they're running one giant application spread across either 1 linux or many linux instances, where the OpenShift application with root access grants you universal rights to everyones stuff
<MrZYX> entropy1995: you don't use rspec to _define_ methods, you use it to _test_ methods
Hanmac has quit [Ping timeout: 245 seconds]
<h0rrorvacui> It looks like you are wanting to define your specs inside of the class definition
Hanmac has joined #ruby
<Moca_lambda> *correction: unix not linux
<MrZYX> entropy1995: I'd suggest you to just forget all the rspec stuff for now
zeade has quit [Quit: Leaving.]
<MrZYX> and get some basic ruby tutorials going
CaptainJet has quit []
<entropy1995> what are the best ones you think?
Bira has joined #ruby
zeade has joined #ruby
<h0rrorvacui> entropy1995 to many to list
<ace_striker> http://rubymonk.com
<MrZYX> entropy1995: codeschool.com if you got money to throw at it
phantummm has joined #ruby
<entropy1995> I got accepted to App Academy in San FRAN and this is my prepwork lol
<Moca_lambda> paying for coding lessons isn't worth it unless they simplify advanced knowledge
<h0rrorvacui> I like this http://ruby.bastardsbook.com/
<entropy1995> *Fran
mikepack has quit [Ping timeout: 260 seconds]
<Moca_lambda> What's App Academy?
<ace_striker> knowledge has always been free..
javon has quit [Ping timeout: 240 seconds]
jkhwan has quit [Ping timeout: 272 seconds]
zz_tsykoduk is now known as tsykoduk
shaunbaker has joined #ruby
matheuscaceres has quit [Quit: matheuscaceres]
<ace_striker> learning "tricks" and getting "tips" then you need to throw your mone
<ace_striker> *money
<Moca_lambda> h0rrorvacui : 12/03/2011: This book is in the very preliminary stages. None of the content is guaranteed to be thorough or accurate. See the About Page.
mikepack_ has quit [Ping timeout: 252 seconds]
<h0rrorvacui> So, its still great
aspires has quit []
<ace_striker> app academy was recently featured on Tech-crunch
julweber has joined #ruby
<Moca_lambda> entropy1995 are you 18?
<entropy1995> yeah
<Moca_lambda> are you planning on building stuff in Ruby on Rails?
fedesilva has quit [Remote host closed the connection]
<entropy1995> that's the goal but it's difficult learning on my own
mansi has quit [Remote host closed the connection]
<momomomomo> entropy1995: http://ruby.railstutorial.org/
<Moca_lambda> Do you understand programming basics?
aspires has joined #ruby
petey has quit [Remote host closed the connection]
tonni_ has joined #ruby
<entropy1995> I understand the very basics, yes
<h0rrorvacui> No offense but he was mixing his test inside is production code. I think he'd best be served with a ruby lesson before stepping into Ruby on Rails.
jedimind has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
shaunbaker has quit [Remote host closed the connection]
shadoi has quit [Quit: Leaving.]
<h0rrorvacui> Just learn ruby.
petey has joined #ruby
<h0rrorvacui> so you don't mix rails and ruby
<Moca_lambda> If you understand the basics of coding, I would just work through rails tutorials that teach you the stuff beyond conditional statements, etc.
<h0rrorvacui> I'd not do that :P
tonni has quit [Ping timeout: 246 seconds]
<entropy1995> why not ?
vlad_starkov has quit [Remote host closed the connection]
<Moca_lambda> but h0rrorvacui makes a good point. learn ruby itself first
<ace_striker> yes..i agree too
<momomomomo> hm, h0rrorvacui then 'd recommend Moca_lambda http://tryruby.org/levels/1/challenges/0
<h0rrorvacui> Rails does a lot of things that are not standard ruby, yet could appear to you as being ruby.
<momomomomo> to start
olleromo has joined #ruby
<momomomomo> then, Moca_lambda read http://www.manning.com/black2/
snath has quit [Ping timeout: 260 seconds]
gr33n7007h has quit [Ping timeout: 245 seconds]
javon has joined #ruby
Bira_ has joined #ruby
<entropy1995> How long should I focus on Ruby before Rails ?
<h0rrorvacui> If you do know the basics of programming then ruby will be a quick learn.
wald0 has joined #ruby
<wald0> checking for ruby/thread.h... no
<wald0> i have this error trying to gem install mysql2 in debian wheezy
<ace_striker> wald0: install sql-dev first
mjs2600 has quit [Remote host closed the connection]
<Hanmac> wald0 have you the ruby-full package installed?
<ace_striker> most gems need them
<Moca_lambda> entropy1995 if you are comfortable learning at a fast pace, try to learn Ruby in a week, but that means like 12 hour sessions each day. Optimally you'd want at least a couple hundred hours mastering a language, but with time, I'd say 60 hours would be a decent amount
MrZYX is now known as MrZYX|off
* wald0 installing ruby-full
petey has quit [Ping timeout: 246 seconds]
<wald0> i can rm -rf /var/lib/gems to cleanup everything ? i mean, its safe ?
<ace_striker> wald0: it will sudo apt-get will take care ..
<entropy1995> what do you guys think of coding bootcamps?
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
coderhs has quit [Read error: Connection timed out]
Asher has joined #ruby
Bira has quit [Ping timeout: 246 seconds]
VTLob has quit [Quit: VTLob]
<ace_striker> bootcamps are good for generating ideas and getting exposure to good coding habits
<h0rrorvacui> entropy1995 http://youtu.be/Xt6c6r4fbBs
<h0rrorvacui> watch that for a good prepping before learning ruby
<Moca_lambda> http://www.appacademy.io/#p-curriculum they teach a reasonable stack. Very cool program
Megtastique has quit []
<entropy1995> thanks a lot, and yeah I'm going in Feb
coderhs has joined #ruby
<Moca_lambda> I live in a place where coding bootcamps is foreign
<wald0> i wonder if i can install everything that i need as user, to keep my system untouched as possible
* wald0 trying to install redmine
orionstein is now known as orionstein_away
<h0rrorvacui> I live in Alabama, we can't have good things.
Hanmac1 has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
<Moca_lambda> MrZYX|off: https://www.openshift.com/forums/openshift/help-with-ruby-gear Turns out it is a fault on their side
<h0rrorvacui> So bootcamps are foreign to me too.
jetblack has quit [Ping timeout: 252 seconds]
jkhwan has joined #ruby
<Moca_lambda> <h0rrorvacui>: Do you code for a living?
<h0rrorvacui> Yes
<ace_striker> h0rrorvacui: what's wrong in alabama ?
iamchrisf has quit [Quit: iamchrisf]
<momomomomo> ace_striker: s/he's forgotten about the good food apparently
Hanmac has quit [Ping timeout: 248 seconds]
<h0rrorvacui> I live in an extremely rural area. The stacks here are .net. I have no where I can code ruby. :(
fridim__ has joined #ruby
asobrasil has left #ruby [#ruby]
snath has joined #ruby
<h0rrorvacui> But yeah we do have good food.
<ace_striker> momomomomo: you name reminds me of food though ..
<Moca_lambda> At least your stack isn't JavaScript everywhere
<h0rrorvacui> It makes you fat though.
<Moca_lambda> fried chicken?
<momomomomo> my name is just my name * 5
<ace_striker> yes..no issues with that..
mercwithamouth has quit [Ping timeout: 248 seconds]
<momomomomo> :o
timonv has joined #ruby
<ace_striker> h0rrorvacui: one don't need a place..one just a irc,pc,and internet to get going.
jerius has quit [Ping timeout: 240 seconds]
enape_101 has quit [Ping timeout: 246 seconds]
<ace_striker> one can do freelancing from anywhere these days.
jetblack has joined #ruby
<h0rrorvacui> Yeah, but I've found already that my degree and location turn clients off.
DrShoggoth has joined #ruby
<h0rrorvacui> ace_striker you from Alabama?
<Moca_lambda> ace_striker I disagree somewhat. Coding on your own is possible, but networking is great too. People can teach you things tutorials can't
sergicles has joined #ruby
burlyscudd has quit [Quit: Leaving.]
<ace_striker> yes...then probably if you got good skills ..you should get yourself hired by some company ..there are lot of need for RoR and ruby developers in san fran.
<ace_striker> h0rrorvacui: ^^
ununPentium has joined #ruby
<h0rrorvacui> Yeah, I've always coded solo except a few projects in college.
<momomomomo> Aye, it's easier to get interviews there if you live there for a while anyhow
almarshall has quit [Quit: almarshall]
<Moca_lambda> Or you can just start building some food/animal/chat related app, let some old guy give you $100,000 and code Ruby/Rails for 3 months
<ace_striker> Moca_lambda: it agree with you..isolation is not a solution ..but to learn something one needs space and isolation....
gyre007 has quit [Remote host closed the connection]
saltnvinegar has joined #ruby
<h0rrorvacui> I don't think I've met another programmer in person in months.
<Moca_lambda> ace_striker true. a mix of both is best then.
timonv has quit [Ping timeout: 260 seconds]
<ace_striker> railsyard is giving 500 hours of free hosting
<ace_striker> launch an app there..apply for googleadsense and get paid..
<Moca_lambda> ace_striker do you know any other free hosting services? OpenShift has failed me with a lack of libraries
<momomomomo> h0rrorvacui: http://www.meetup.com/bhamboss/
<ace_striker> heroku is there.
<h0rrorvacui> If only it was that simple ace_striker
saltnvinegar has quit [Client Quit]
<Moca_lambda> You can't host production apps on heroku sadly
<h0rrorvacui> I don't live near bham
<momomomomo> and h0rrorvacui http://tinyurl.com/llv4v44
<Moca_lambda> <h0rrorvacui> I am working on something where people can collab remotely.
<momomomomo> well, h0rrorvacui do some googling, and make a trek if need be; but don't lament that there's nothing around there
typicalbender1 has joined #ruby
<ace_striker> h0rrorvacui: one has to reach the threshold ..to make things easier...(It's like raise your standard or find something easy like wood cuting ) no offense though
typicalbender has quit [Read error: Connection reset by peer]
iamchrisf has joined #ruby
<h0rrorvacui> Absolutely nothing but some kayaking club.
<h0rrorvacui> lol
<h0rrorvacui> Closet things are in Atlanta.
thecreators has joined #ruby
<bnagy> #firstworldproblems
<Moca_lambda> I've never been to a meetup before either.
mikeg has quit [Remote host closed the connection]
<Moca_lambda> I mean a meetup.com meetup
<ace_striker> remember : one thing :: always be with open source ..
bean has joined #ruby
<momomomomo> didn't I just link to a JS, OSS, startup, and mobile app meet ups in/near birmingham h0rrorvacui ? http://tinyurl.com/llv4v44
canton7-mac has joined #ruby
iamchrisf has quit [Client Quit]
<h0rrorvacui> I don't live near birmingham thats hundreds of miles away and my primary vehicle is a motorcycle.
entropy1995 has quit [Quit: ChatZilla 0.9.90.1 [Firefox 25.0.1/20131112160018]]
<h0rrorvacui> I'm fine a lone atm. I'm arranging to move to the Tampa, FL area if things work out.
<ace_striker> h0rrorvacui: believe me..keep building stuff and within 6 months ..you will be in san fran
<h0rrorvacui> I don't want to live in san fran
<ace_striker> who wouldn't...kill me.
<h0rrorvacui> I'm apparently 1/million
<Moca_lambda> motorcycle? In summer, you must have a lot of joy riding all around
<ace_striker> it's serious business..common.
Guest17057 has joined #ruby
<Moca_lambda> I wouldn't wanna live there either. It rains practically year round
elux has quit [Quit: Bye!]
<ace_striker> we got 2/million
<h0rrorvacui> I don't joy ride. My dad's friend was just killed by a car.
<h0rrorvacui> I drive a motorcycle because its cheap.
<Moca_lambda> you're better off in silicon valley if you want to travel all the way to CA
<jblack> ace_striker: There's a lot more than just san fran. the seattle area comes to mind quickly
<h0rrorvacui> I'd only visit Cali. I like the east coast.
<ace_striker> jblack: then there is NY too.
<Moca_lambda> NYC has a startup scene.
<h0rrorvacui> Maybe Arizona. I visited Scottsdale and liked it.
<Moca_lambda> Wait, you live near Atlanta? Doesn't Atlanta have a tech scene too?
<h0rrorvacui> Yeah a nice one too.
Hanmac1 has quit [Ping timeout: 252 seconds]
<jblack> There's also research triangle in north carolina
Hanmac has joined #ruby
havenwood has joined #ruby
canton7-mac has quit [Ping timeout: 260 seconds]
<h0rrorvacui> I like Cary, North Carolina
<ace_striker> problem is not..what you like..
<h0rrorvacui> I know.
aspires has quit []
<ace_striker> problem..is your are in remote location..and we are looking for round-about to fill that gap.
<ace_striker> probably ..you should attend hackathons..they are generally free..and lot of prizes to win.
<Moca_lambda> lol ace_striker I don't think horror is in a 'problem' situation just yet. Seems like he has .NET work streaming in.
<h0rrorvacui> I don't code in .net.
<h0rrorvacui> I don't use .net.
<ace_striker> .net sucks
<h0rrorvacui> I make my money doing frontend work.
<Moca_lambda> oh my bad, somebody else said they use .net just now
<ace_striker> UI/UX right.
<h0rrorvacui> Or CMS for the local mom and pop
<h0rrorvacui> I spend more time doing JS or PHP
<h0rrorvacui> PHP!!
<h0rrorvacui> I hate php
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ace_striker> h0rrorvacui: http://www.mhacks.org/ ..this hackathon will help you in networking..and filling the gap..
hadees has quit [Quit: hadees]
<ace_striker> probably.
<jalcine> Php isn't that bad
<Moca_lambda> ace_striker seems really bent on helping you, not many people like that in the world today
vlad_starkov has joined #ruby
<Moca_lambda> jalcine until you have to manage 100,000 lines of PHP code
<ace_striker> Moca_lambda: what exactly you mean ?
<Moca_lambda> ace_striker I mean that you are going out of your way to assist someone else. People don't do that often
athst has quit [Quit: athst]
iamjarvo_ has joined #ruby
<emocakes> php is amazing
<ddd> far more often on the ruby chans than you might think
charliesome has joined #ruby
<ace_striker> Let's starts that from now..
<momomomomo> #rubyonrails is the one where I get most of my headaches
<momomomomo> by helping others :)
shime has quit [Ping timeout: 252 seconds]