tacoboy has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 246 seconds]
<Radar>
What would be that same result?
<Radar>
nofxxx: expected input + output would be nice.
<Radar>
I must go. My people need me. (this is my stop)
<arahael>
Incidentially, in C++, that type is unsigned, whereas in Ruby, it's signed.
marr has quit [Ping timeout: 240 seconds]
https_GK1wmSU has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
tacoboy has joined #ruby
slackR has quit [Quit: Leaving]
https_GK1wmSU has left #ruby [#ruby]
chrisgop_ has quit [Remote host closed the connection]
TomyLobo3 has quit [Ping timeout: 240 seconds]
<nofxxx>
arahael, that was it, negate it unsigned... working now, thank you
ar1a has joined #ruby
<ar1a>
does ruby have unsigned types? lol
<Radar>
LOL
<arahael>
nofxxx: Btw, c++ has for loops.
<arahael>
nofxxx: While loops are relatively unusual to see, but as you know, they do still work. Regarldes, I'd normally have done that usin ga for loop.
grant has joined #ruby
m27frogy has quit [Ping timeout: 260 seconds]
m27frogy has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
hutch34 has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ropeney has joined #ruby
ascarter has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
nOwz has quit [Quit: WeeChat 1.7]
hanmac has quit [Ping timeout: 240 seconds]
bmurt has joined #ruby
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 240 seconds]
Rodya_ has quit [Remote host closed the connection]
jameser has joined #ruby
bmurt has joined #ruby
https_GK1wmSU has joined #ruby
hanmac has joined #ruby
https_GK1wmSU has left #ruby [#ruby]
bmurt has quit [Client Quit]
_sfiguser has quit [Remote host closed the connection]
<arahael>
ar1a: You were clearly joking, so I'll also respond in turn: "Lol".
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rodya_ has quit [Remote host closed the connection]
bronson has joined #ruby
poloych has joined #ruby
__Yiota has joined #ruby
grant has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ecksit has quit [Ping timeout: 240 seconds]
Rodya_ has joined #ruby
bmurt has joined #ruby
runescape07rsps has quit [Quit: Leaving]
mtkd has quit [Ping timeout: 240 seconds]
lamduh has joined #ruby
gusrub has joined #ruby
<lamduh>
dumb question, but is Ruby Koans a good first step into ruby? and where do you actually pull the repo? I dont see anywhere that says the clone command
bronson has quit [Remote host closed the connection]
mtkd has joined #ruby
<Nilium>
I personally don't like them, but my learning method has always been beating my head against a wall. If you're not sure, give it a try, see if you feel like you actually understand anything in the process.
mach_kernel has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Remote host closed the connection]
PresidentBiscuit has joined #ruby
GodFather has quit [Ping timeout: 260 seconds]
<lamduh>
So if I am already a programmer can I just jump into rails? ha
charliesome has joined #ruby
<PorcoRex>
lamduh, what do you program in?
<lamduh>
Uhh..primarily C#, C++, and python
kaizoku has left #ruby [#ruby]
cam27 has joined #ruby
<PorcoRex>
lamduh, and how much experience would you say you have with the one you feel most confortable?
<lamduh>
5 years of 10+ hours a day
<lamduh>
of C++
<PorcoRex>
You can do Rails just fine then, but might miss on some of the subtelties of Ruby.
<lamduh>
What would you recommend for quickly getting up to speed to rails idioms then?
<lamduh>
*ruby
barx has joined #ruby
<Nilium>
I've never used Rails, so I don't know / can't say anything there.
barx has left #ruby [#ruby]
<Nilium>
I just don't use Ruby for web dev at all.
<PorcoRex>
Well, how confortable are you with the following sentence: "Constants are not contant in Ruby." or "Classes are objects that have a class."?
<PorcoRex>
sentences*
<lamduh>
It doesn't sound like a constant and classes to me are patterns for objects. So I guess neither of them make sense.
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<PorcoRex>
lamduh, right. So you probably want to start with something intermediate.
<PorcoRex>
Just to get the "feel" for it.
<Nilium>
And maybe shoot yourself in the foot a few times to get used to that happening
<PorcoRex>
And then move to more advances stuff.
<Nilium>
I mean metaphorically. Leave your real foot intact.
<PorcoRex>
*advanced
ElFerna has joined #ruby
<sneep>
Yeah, Ruby's flavor of OO takes some getting used to
<lamduh>
yeah I thought ruby would be fun to learn because it seems pretty different
<lamduh>
even though it doesnt seem to be all that popular nowadays
<lamduh>
so what is a good intermediate resource then?
hutch34 has joined #ruby
bmurt has joined #ruby
<PorcoRex>
lamduh, I would recommend the well grounded ruby book. I've read it a while back (meaning I'm not sure if there are newer versions) but it is a good one imho.
<PorcoRex>
*The Well Grounded Rubyist
<lamduh>
cool I will look through it an try to write some basics apps before trying rails
<lamduh>
thanks
<PorcoRex>
lamduh, good luck.
<sneep>
I went straight into Rails BTW
<lamduh>
lol...chiming in right at the end :D
<sneep>
I inherited something at work
<sneep>
Written by someone who didn't have much of an understanding of Ruby either
chouhoulis has joined #ruby
<PorcoRex>
It's not necessarily bad to do Rails first and Ruby later, but I think as a seasoned programmer you'll gain more by feeling the language before the framework.
grant has joined #ruby
<lamduh>
Doesnt sound very fun sneep...but I imagine that is similar to how many of the startups that ask me if I know ruby's codebases work
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch34 has quit [Ping timeout: 258 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
mach_kernel has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
__Yiota has joined #ruby
hutch34 has joined #ruby
hutch34 has quit [Ping timeout: 246 seconds]
duderono_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gusrub has quit []
charliesome has joined #ruby
jrafanie has joined #ruby
HoierM has quit [Ping timeout: 248 seconds]
phinxy has quit [Read error: Connection reset by peer]
chouhoulis has quit [Remote host closed the connection]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
PresidentBiscuit has quit []
ElFerna has quit [Quit: WeeChat 1.9]
gix has quit [Ping timeout: 240 seconds]
hutch34 has joined #ruby
gix has joined #ruby
hutch34 has quit [Ping timeout: 276 seconds]
duderonomy has joined #ruby
ElFerna has joined #ruby
tacoboy has quit [Remote host closed the connection]
ar1a has quit [Quit: Idle timeout reached: 10800s]
hutch34 has quit [Ping timeout: 240 seconds]
ElFerna has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ar1a has joined #ruby
<ar1a>
hey, im sort of looking for something like js callbacks or whatever, maybe promises? i checked out concurrent-ruby promises but they were quite confusing, and i couldnt find many articles about them. I'm porting some js libraries over :)
<PorcoRex>
ar1a, it seems like a heavy job. Could you splice it in smaller questions_
<PorcoRex>
The main problem seems to be, how can we be concurrent in Ruby, and efficient, and not stepping on our toes?
<bougyman>
use jruby or rubinius
<PorcoRex>
And JS, God bless its heart.
<ar1a>
?
<PorcoRex>
bougyman, we can use, but we must understand how it works.
<bougyman>
certainly
mustaffa has quit [Ping timeout: 260 seconds]
mustaffa has joined #ruby
govg has quit [Ping timeout: 240 seconds]
hutch34 has joined #ruby
rabajaj has joined #ruby
statelesscode has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
PorcoRex has quit [Remote host closed the connection]
patrontechnosoft has joined #ruby
patrontechnosoft has quit [Remote host closed the connection]
<arahael>
bougyman: Concurrency doesn't mean multithreaded.
<arahael>
bougyman: And indeed, node's concurrency is *not* multithreaded.
howdoi has quit [Quit: Connection closed for inactivity]
agrecascino has quit [Ping timeout: 268 seconds]
ascarter has joined #ruby
bruno- has quit [Ping timeout: 260 seconds]
NightMonkey has quit [Ping timeout: 260 seconds]
hutch34 has joined #ruby
ArtCorvelay has joined #ruby
hutch34 has quit [Ping timeout: 246 seconds]
hndk has quit [Ping timeout: 260 seconds]
someone_ has joined #ruby
Xiti` has quit [Quit: Xiti`]
ineb1 has quit [Quit: WeeChat 1.8]
ascarter has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
bronson has joined #ruby
rahult has joined #ruby
Immune has quit [Read error: Connection reset by peer]
Xiti has joined #ruby
NightMonkey has joined #ruby
nofxxxx has joined #ruby
bronson has quit [Ping timeout: 268 seconds]
Bock has joined #ruby
nofxxx has quit [Ping timeout: 240 seconds]
kculpis has joined #ruby
enterprisey has quit [Ping timeout: 240 seconds]
hutch34 has joined #ruby
ArtCorvelay has quit [Quit: WeeChat 1.9]
enterprisey has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
hutch34 has quit [Ping timeout: 276 seconds]
carnegie has joined #ruby
xuanrui has quit [Ping timeout: 276 seconds]
wilbert has joined #ruby
rahult has quit [Ping timeout: 260 seconds]
rahult has joined #ruby
hutch34 has joined #ruby
Bock has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 255 seconds]
Bock has joined #ruby
pabs has quit [Ping timeout: 260 seconds]
xuanrui has joined #ruby
anisha has joined #ruby
jameser has quit [Remote host closed the connection]
jameser has joined #ruby
wilbert has quit [Ping timeout: 240 seconds]
nickjj has quit [Ping timeout: 268 seconds]
alex`` has joined #ruby
enterprisey has quit [Ping timeout: 240 seconds]
someone_ has quit [Quit: Konversation terminated!]
hutch34 has joined #ruby
enterprisey has joined #ruby
nickjj has joined #ruby
hutch34 has quit [Ping timeout: 255 seconds]
sleepee has quit [Ping timeout: 260 seconds]
b3ck has quit [Quit: WeeChat 1.4]
Rodya_ has quit [Quit: Leaving...]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ltem has joined #ruby
SeepingN has joined #ruby
imperator has quit [Ping timeout: 255 seconds]
imperator has joined #ruby
agrecascino has joined #ruby
ana_ has joined #ruby
TomyLobo3 has joined #ruby
oleo has quit [Quit: irc client terminated!]
ur5us has quit [Remote host closed the connection]
__Yiota has joined #ruby
pabs has joined #ruby
hutch34 has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
TomyLobo3 has quit [Ping timeout: 246 seconds]
govg has joined #ruby
ta_ has quit [Remote host closed the connection]
nahra has joined #ruby
hutch34 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jphase has quit [Ping timeout: 246 seconds]
DTZUZO has quit [Ping timeout: 246 seconds]
conta has joined #ruby
hutch34 has quit [Ping timeout: 246 seconds]
minimalism has quit [Quit: minimalism]
quuxman has quit [Ping timeout: 255 seconds]
quuxman has joined #ruby
maxtweddell has joined #ruby
<maxtweddell>
henlo
code_zombie has quit [Quit: Leaving]
hays_ has joined #ruby
hays_ has joined #ruby
hays_ has quit [Changing host]
KeyJoo has joined #ruby
dionysus69 has joined #ruby
andikr has joined #ruby
hays has quit [Ping timeout: 260 seconds]
maxtweddell has quit [Ping timeout: 240 seconds]
quix has joined #ruby
MyMind has joined #ruby
hutch34 has joined #ruby
hutch34 has quit [Ping timeout: 258 seconds]
swills has quit [Ping timeout: 260 seconds]
FiendKing04 has joined #ruby
bronson has joined #ruby
<AnoHito_>
hey, so if you are calling a method, for example a.b(), and there is a possibility "a" could be nil, is there a fancy way to organize the statement so the whole thing will equate to nil when "a" is nil instead of raising an exception?
<Yxhuvud>
a&.b
<AnoHito_>
aha, cool, thanks! knew there had to be something like that
bronson has quit [Ping timeout: 255 seconds]
https_GK1wmSU has joined #ruby
swills has joined #ruby
https_GK1wmSU has left #ruby [#ruby]
Awsy has joined #ruby
hutch34 has joined #ruby
Silthias has joined #ruby
Silthias2 has joined #ruby
lxsameer has joined #ruby
Silthias1 has quit [Ping timeout: 240 seconds]
hutch34 has quit [Ping timeout: 255 seconds]
howdoi has joined #ruby
enterprisey has quit [Remote host closed the connection]
Silthias has quit [Ping timeout: 240 seconds]
https_GK1wmSU has joined #ruby
https_GK1wmSU has quit [Excess Flood]
ta_ has joined #ruby
ar1a has quit [Quit: Idle timeout reached: 10800s]
tvl has joined #ruby
tvl is now known as tobiasvl
djbkd has quit []
mark_66 has joined #ruby
<dminuoso>
AnoHito_: Maybe!
<dminuoso>
AnoHito_: For compact statements you could also write a && a.b which I'm beginning to prefer since it's a little more expressive.
hutch34 has joined #ruby
<quix>
you could do if a a.b
<quix>
but don't
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lxsameer has quit [Ping timeout: 248 seconds]
hutch34 has quit [Ping timeout: 246 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<catphish_>
dminuoso: do i need to log in to access that bug?
<catphish_>
dminuoso: i get a 403 on that page :(
GodFather has joined #ruby
<dminuoso>
catphish_: Are you using Process.daemon?
<dminuoso>
Though that bug is old..
<dminuoso>
catphish_: Anyway. Did you join or detach all threads you created?
<catphish_>
dminuoso: i use both threads and forking
<catphish_>
dminuoso: one possibility i read is that threads are not duplicated when forking and this can cause it when it tried to rejoin on exit
<dminuoso>
catphish_: Also, can you share any useful debugging output/stacktraces and code?
<catphish_>
dminuoso: unfortunately i have not been able to distil this to a test case, it occurs in a fairly complicated application with lots of libraries, and forking, and threading
<dminuoso>
catphish_ | in one of my applications, when a process exits, it often gets stuck in an infinite loop of sched_yield() calls
<dminuoso>
How did you make that determination?
<dminuoso>
Did you strace the application?
carnegie has joined #ruby
<catphish_>
dminuoso: yes, i have lots of ruby processes sitting on my server, all using 100% cpu, in every case, strace shows endless sched_yield() calls
hutch34 has joined #ruby
<dminuoso>
catphish_: Where in the program flow does that happen?
thiru has joined #ruby
<dminuoso>
catphish_: Actually attach gdb, break it and provide a clean C stack trace please.
<catphish_>
dminuoso: i believe it only happens when the program exits naturally
<dminuoso>
(Or if you dont want the hoops, just SIGBUS it)
<dminuoso>
The segfault/sigbus handler will give you the C stacktrace too.
domgetter has quit [Ping timeout: 260 seconds]
<catphish_>
dminuoso: i'm afraid i'm not very familiar with that level of debugging, any chance of a simple set of instructions?
ryzokuken has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 260 seconds]
ryzokuken has joined #ruby
<guardian>
thank you
vuoto has joined #ruby
ryzokuken has quit [Max SendQ exceeded]
ryzokuken has joined #ruby
conta has joined #ruby
gusrub has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gusrub has quit [Client Quit]
sneakerhax has quit [Ping timeout: 240 seconds]
Beams has quit [Quit: .]
mikecmpb_ has quit [Quit: inabit. zz.]
gusrub has joined #ruby
hutch34 has joined #ruby
ryzokuken has quit [Quit: Leaving]
ShekharReddy has quit [Quit: Connection closed for inactivity]
CosmicPenguin2 has quit [Ping timeout: 258 seconds]
anisha has quit [Quit: This computer has gone to sleep]
hutch34 has quit [Ping timeout: 255 seconds]
mim1k has quit [Ping timeout: 276 seconds]
gnufied has joined #ruby
algun has joined #ruby
troys has joined #ruby
hutch34 has joined #ruby
milardovich has joined #ruby
dionysus69 has joined #ruby
hutch34 has quit [Ping timeout: 255 seconds]
dviola has joined #ruby
Dimik has joined #ruby
dviola has quit [Changing host]
dviola has joined #ruby
ptx0 has quit [Ping timeout: 248 seconds]
cam27 has joined #ruby
MarkBilk has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has joined #ruby
chouhoulis has joined #ruby
bruno-_ has quit [Ping timeout: 260 seconds]
milardovich has quit [Ping timeout: 240 seconds]
t-recx has quit [Quit: t-recx]
eckhardt has joined #ruby
bruno- has joined #ruby
A124 has quit [Quit: '']
bronson has joined #ruby
machinewar has joined #ruby
eelster has joined #ruby
A124 has joined #ruby
bronson has quit [Ping timeout: 258 seconds]
conta has quit [Ping timeout: 240 seconds]
xuanrui has quit [Ping timeout: 260 seconds]
synthroid has joined #ruby
chrisgopher has joined #ruby
wald0 has quit [Quit: Lost terminal]
synthroi_ has quit [Ping timeout: 240 seconds]
gloscombe has quit [Quit: WeeChat 1.9]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
romankapitonov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has joined #ruby
antgel has quit [Ping timeout: 258 seconds]
milardovich has joined #ruby
yabbes_ has quit [Remote host closed the connection]
milardovich has quit [Remote host closed the connection]
ptx0 has joined #ruby
sgen has quit [Ping timeout: 246 seconds]
code_zombie has joined #ruby
aupadhye has quit [Ping timeout: 260 seconds]
sneakerhax has joined #ruby
gnufied has quit [Ping timeout: 276 seconds]
sgen has joined #ruby
yabbes_ has joined #ruby
jrafanie has joined #ruby
minimalism has joined #ruby
hutch34 has joined #ruby
troys is now known as troys_
ryzokuken has joined #ruby
postmodern has joined #ruby
tvw has quit []
tvw has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
leandrobighetti has joined #ruby
joenas[m] has joined #ruby
duderonomy has joined #ruby
<rapha>
hi lovely rubyists
weaksauce has quit [Read error: Connection reset by peer]
rabajaj has joined #ruby
<rapha>
i want to use dstat to record some stats on our network router and make nice little graphs out of that. dstat just runs as a process and keeps writing into a .csv file. my question is: would you start dstat through the ruby script or would you just assume that it'll be started some other way and keep polling the .csv file?
haylon has joined #ruby
<rapha>
(regrettably it can't be made to output the csv data to "-")
<adam12>
You probably would want it supervised somewhere else
<adam12>
through runit or systemd.
<adam12>
that way you can restart your ruby script as you please, with no loss of data.
<rapha>
okay
<adam12>
Tho if it's simpler and you dont' care about that, you could just start it in your ruby script.
<adam12>
It really comes down to resiliency. Do you need it available to collect data if your ruby script should be offline for whatever reason (ie. during an update)
<rapha>
well there's one consideration, either way: it just keeps writing and writing into that file, so i'd like to empty it out in regular intervals. but then how is my ruby script going to cope with that?
selim has quit [Ping timeout: 248 seconds]
marxarelli|afk is now known as marxarelli
<rapha>
file update notification of any sort doesn't necessarily make sense because the intervals in which dstat writes to the file are fixed anyways
<Papierkorb>
If there's a timestamp or sequential id in the data, you can sync to that
ur5us has joined #ruby
leandrobighetti has quit [Remote host closed the connection]
tvw has quit [Remote host closed the connection]
ta_ has joined #ruby
leandrobighetti has joined #ruby
<rapha>
Papierkorb: 02-08 19:32:26,0.202,0.226,99.563,0.004,0.000,0.005,0.0,0.0,0.0,180334592.0,199540736.0,742088704.0,2949984256.0,0.0,0.0 ... i guess the timestamp could be used as an ID.
ozcanesen has joined #ruby
ResidentBiscuit has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 255 seconds]
leandrobighetti has quit [Ping timeout: 255 seconds]
gnufied has joined #ruby
leah2 has quit [Ping timeout: 246 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ozcanesen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoul_ has quit [Ping timeout: 240 seconds]
romankapitonov has quit [Read error: Connection reset by peer]
jrafanie has quit [Ping timeout: 260 seconds]
msaw has quit [Quit: Page closed]
FrankD__ has joined #ruby
FrankD has quit [Ping timeout: 255 seconds]
ozcanesen has joined #ruby
romankapitonov has joined #ruby
ozcanesen has quit [Client Quit]
<imperator>
huh, ruby 2.4 introduces a "main_stack" environment variable into its own process now
selim has joined #ruby
keyjoo_ has quit [Ping timeout: 240 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has joined #ruby
ramfjord has joined #ruby
Moosashi has joined #ruby
romankapitonov has quit [Read error: Connection reset by peer]
t-recx has quit [Quit: t-recx]
milardovich has quit [Ping timeout: 240 seconds]
MrBismuth has joined #ruby
Moosashi has quit [Client Quit]
Moosashi has joined #ruby
haylon has quit [Remote host closed the connection]
MrBusiness has quit [Ping timeout: 255 seconds]
mim1k has joined #ruby
romankapitonov has joined #ruby
gnufied has quit [Ping timeout: 240 seconds]
romankapitonov has quit [Read error: Connection reset by peer]
imperator has quit [Quit: Leaving]
romankapitonov has joined #ruby
hahuang65 has quit [Quit: WeeChat 1.9]
Moosashi has quit [Quit: Moosashi]
mim1k has quit [Ping timeout: 268 seconds]
ozcanesen has joined #ruby
ozcanesen has quit [Client Quit]
TomyLobo3 has quit [Ping timeout: 240 seconds]
gusrub_ has joined #ruby
gusrub has quit [Ping timeout: 240 seconds]
MrBismuth has quit [Ping timeout: 240 seconds]
ozcanesen has joined #ruby
SuperLag has joined #ruby
mtkd has quit [Ping timeout: 276 seconds]
mtkd has joined #ruby
chouhou__ has quit [Remote host closed the connection]
bronson has joined #ruby
chouhoulis has joined #ruby
profsimm has joined #ruby
<profsimm>
I need a tactic for making a set of strategies (the pattern) discoverable when people call a given method that accepts a strategy of that type. Any tips?
Moosashi has joined #ruby
algun_ has joined #ruby
tvw has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
MrBusiness has joined #ruby
slackR has joined #ruby
algun has quit [Ping timeout: 255 seconds]
algun_ is now known as algun
ta_ has joined #ruby
hutch34 has quit [Ping timeout: 246 seconds]
slackR has quit [Client Quit]
slackR has joined #ruby
ozcanesen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has joined #ruby
_aeris_ has quit [Excess Flood]
_aeris_ has joined #ruby
phate408 has quit [Ping timeout: 246 seconds]
_aeris_ has quit [Excess Flood]
_aeris_ has joined #ruby
phate408 has joined #ruby
mim1k has quit [Ping timeout: 255 seconds]
keyjoo_ has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
__Yiota has joined #ruby
keyjoo_ has quit [Client Quit]
ArtCorvelay has quit [Quit: WeeChat 1.9]
nishiki has quit [Remote host closed the connection]
MrBusiness has quit [Ping timeout: 246 seconds]
astronavt has joined #ruby
astronavt has left #ruby [#ruby]
lxsameer has joined #ruby
flak has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
ozcanesen has joined #ruby
MrBusiness has joined #ruby
Moosashi_ has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
guacamole has joined #ruby
Moosashi has quit [Ping timeout: 246 seconds]
Moosashi_ is now known as Moosashi
milardovich has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spheric has joined #ruby
agrecascino has quit [Ping timeout: 276 seconds]
sspreitz has quit [Ping timeout: 258 seconds]
chouhoulis has joined #ruby
opekktar has quit []
eelster has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
chrisgopher has quit [Remote host closed the connection]
agrecascino has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
slackR has quit [Ping timeout: 255 seconds]
kies has quit [Ping timeout: 240 seconds]
jackjackdripper has joined #ruby
mindcrimes has joined #ruby
FahmeF has joined #ruby
ryzokuken has quit [Quit: Leaving]
hinbody has quit [Quit: leaving]
__Yiota has joined #ruby
am55 has quit [Ping timeout: 240 seconds]
am55 has joined #ruby
am55 has joined #ruby
eelster has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
Moosashi has quit [Quit: Moosashi]
Moosashi has joined #ruby
jrafanie_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yabbes_ is now known as yabbes
jrafanie has joined #ruby
milardovich has joined #ruby
astronavt has joined #ruby
hutch34 has joined #ruby
chouhoulis has quit [Remote host closed the connection]
astronavt has left #ruby [#ruby]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alex`` has quit [Quit: WeeChat 1.9]
https_GK1wmSU has joined #ruby
alex`` has joined #ruby
vuoto has quit [Quit: Lost terminal]
https_GK1wmSU has left #ruby [#ruby]
t-recx has joined #ruby
Moosashi_ has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrafanie has joined #ruby
jrafanie has quit [Client Quit]
Moosashi has quit [Ping timeout: 260 seconds]
Moosashi_ is now known as Moosashi
banisterfiend has quit [Remote host closed the connection]
FahmeF has quit [Remote host closed the connection]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ozcanesen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
milardovich has quit [Read error: Connection reset by peer]
troys_ is now known as troys
milardovich has joined #ruby
shoutsid has quit [Quit: Ex-Chat]
ur5us has joined #ruby
romankapitonov has quit [Read error: Connection reset by peer]
synthroid has quit []
romankapitonov has joined #ruby
benlieb has joined #ruby
mikecmpbll has joined #ruby
<benlieb>
is there a shorter way to write this: return @activation_based_info if @activation_based_info
<adaedra>
besides renaming @activation_based_info, not really I think
<benlieb>
yeah, didn't think so. something about the ||= lead me to think maybe
cahoots_ has joined #ruby
eckhardt has joined #ruby
<cahoots_>
hi, i want everyone who has a copy of our project to use the same version for each gem, so i've created a Gemfile. however, if they have another, newer version of a gem in the Gemfile, and in our project we just say require '<gem name>', then wouldn't it use a different version of the gem than the one inside the Gemfile
<cahoots_>
?
jenrzzz_ has joined #ruby
<adaedra>
That's why you have the Gemfile.lock
<havenwood>
cahoots_: When you prefix you command with `bundle exec` it uses the exact gems and versions from the Gemfile.lock, which you commit and share.
<havenwood>
your command*
<cahoots_>
havenwood, so instead of running "ruby ...", you'd run "bundle exec ruby ..."?
ozcanesen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 276 seconds]
cahoots_ has quit [Ping timeout: 260 seconds]
ltem has quit [Quit: Leaving]
konsolebox_ has joined #ruby
poloych has quit [Remote host closed the connection]
konsolebox has quit [Ping timeout: 255 seconds]
yeticry has joined #ruby
P_R_Deltoid has joined #ruby
konsolebox_ is now known as konsolebox
yeticry_ has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
rabajaj has quit [Quit: Leaving]
runescape07rsps has joined #ruby
mindcrimes has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
ForeignBiscuit has joined #ruby
ForeignBiscuit has quit [Max SendQ exceeded]
cahoots_ has joined #ruby
ForeignBiscuit has joined #ruby
ForeignBiscuit has quit [Max SendQ exceeded]
mostlybadfly has joined #ruby
ResidentBiscuit has quit [Ping timeout: 246 seconds]
noe_ has quit [Quit: noe_]
mim1k has joined #ruby
ams__ has quit [Quit: Connection closed for inactivity]
<cahoots_>
havenwood, thanks, i'll check it out. also, does can gems be different based on which version of ruby they're being installed for? seems interesting that my gem home is "~/.gem/ruby/2.0.0"
Qommand0r has quit [Quit: WeeChat 1.9]
troys is now known as troys_
mim1k has quit [Ping timeout: 240 seconds]
cam27 has quit [Read error: Connection reset by peer]
<cahoots_>
also, is it safe to just download the gem to a local dir and do require_relative 'path/to/gem/lib/gem.rb'? or do i need to change the $LOAD_PATH as well?
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
sepp2k has quit [Ping timeout: 240 seconds]
banisterfiend has joined #ruby
banisterfiend has quit [Client Quit]
Moosashi has joined #ruby
Isa_ has joined #ruby
hutch34 has joined #ruby
mjolnird has quit [Ping timeout: 255 seconds]
romankapitonov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dviola has quit [Ping timeout: 240 seconds]
dviola has joined #ruby
cam27 has joined #ruby
https_GK1wmSU has joined #ruby
dviola has quit [Changing host]
dviola has joined #ruby
<adaedra>
cahoots_ gems are installed in different folders depending on the ABI version
<adaedra>
Why do you want to run a gem from a local path like that?
<adaedra>
If you want to link to a local copy of a gem, you can indicate it in your Gemfile with `gem 'xxx', path: '/path/to/xxx'`
Moosashi has quit [Quit: Moosashi]
https_GK1wmSU has left #ruby [#ruby]
marxarelli is now known as marxarelli|afk
chrisgop_ has quit [Remote host closed the connection]
jenrzzz has joined #ruby
ozcanesen has joined #ruby
hutch34 has quit [Ping timeout: 276 seconds]
jackjackdripper has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
alex`` has quit [Quit: WeeChat 1.9]
chouhoulis has joined #ruby
wilbert has quit [Ping timeout: 255 seconds]
machinewar has quit []
airdisa has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
bane_ has quit [Quit: Konversation terminated!]
airdisa has joined #ruby
polishdub has quit [Remote host closed the connection]
ozcanesen has quit [Ping timeout: 240 seconds]
carnegie has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
Moosashi has joined #ruby
hutch34 has joined #ruby
t-recx has quit [Quit: t-recx]
Moosashi_ has joined #ruby
Moosashi has quit [Ping timeout: 240 seconds]
Moosashi_ is now known as Moosashi
meinside has quit [Quit: Connection closed for inactivity]
ozcanesen has joined #ruby
alan_w has quit [Quit: WeeChat 1.7]
cam27 has quit [Read error: Connection reset by peer]
Koshian has joined #ruby
hutch34 has quit [Ping timeout: 246 seconds]
cam27 has joined #ruby
mim1k has joined #ruby
QualityAddict has joined #ruby
tvw has quit [Remote host closed the connection]
poloych has joined #ruby
mim1k has quit [Ping timeout: 248 seconds]
leandrobighetti has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
benlieb has quit [Quit: benlieb]
leandrobighetti has quit [Ping timeout: 246 seconds]
AbaddonOrmuz has joined #ruby
AbaddonOrmuz has left #ruby [#ruby]
moeabdol has quit [Ping timeout: 260 seconds]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yabbes has quit [Ping timeout: 260 seconds]
marxarelli|afk is now known as marxarelli
marxarelli is now known as marxarelli|afk
Moosashi has quit [Quit: Moosashi]
lxsameer has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
mindcrimes has left #ruby [#ruby]
mim1k has joined #ruby
bronson has quit [Ping timeout: 260 seconds]
http_GK1wmSU has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
http_GK1wmSU has left #ruby [#ruby]
rahult has joined #ruby
davidmichaelkarr has joined #ruby
dcunit3d has joined #ruby
Moosashi has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
guacamole has joined #ruby
brent__ has quit [Remote host closed the connection]
brent__ has joined #ruby
alveric1 has joined #ruby
_aeris_ has quit [Ping timeout: 248 seconds]
alveric4 has quit [Ping timeout: 260 seconds]
brent___ has joined #ruby
brent__ has quit [Ping timeout: 240 seconds]
spheric has quit [Ping timeout: 240 seconds]
_aeris_ has joined #ruby
grant has joined #ruby
sneakerhax has quit [Ping timeout: 268 seconds]
brent___ has quit [Ping timeout: 240 seconds]
troys_ is now known as troys
MichaelBurge has joined #ruby
Neo__ has quit [Ping timeout: 240 seconds]
raspado has joined #ruby
bruno- has quit [Ping timeout: 258 seconds]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]