bzalasky has quit [Remote host closed the connection]
JoshuaPaling has joined #ruby-lang
Cakey has joined #ruby-lang
zachlatta has joined #ruby-lang
spuk has joined #ruby-lang
mistym has joined #ruby-lang
CaryInVictoria has joined #ruby-lang
sedrickcz has joined #ruby-lang
jsullivandigs has joined #ruby-lang
mbull9 has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
dhruvasagar has joined #ruby-lang
momomomomo has joined #ruby-lang
bungoman has quit [Remote host closed the connection]
momomomomo has quit [Client Quit]
CaryInVictoria has left #ruby-lang [#ruby-lang]
rafeed has joined #ruby-lang
eatyuridols has quit [Quit: leaving]
<rafeed>
hey, so I'm a ruby newb and haven't been using it in a while. I came back to it tonight to run a script that I had written and i keep getting "require: command not found errors" I have rvm 1.22.3 and ruby 2.0.0-p247 installed. Any ideas on fixing this?
apeiros has quit [Remote host closed the connection]
Domon has joined #ruby-lang
apeiros has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
digs has joined #ruby-lang
jsullivandigs has quit [Read error: Connection reset by peer]
digs is now known as Guest31903
vlad_starkov has joined #ruby-lang
Gaelan is now known as GaelanAintAround
vlad_starkov has quit [Ping timeout: 256 seconds]
bzalasky has joined #ruby-lang
<imperator>
was there some change in rb_scan_args in 2.0? I get argument counts seemingly cut in half
wallerdev has quit [Quit: wallerdev]
joshuawscott has quit [Quit: Leaving.]
skade has joined #ruby-lang
io_syl has joined #ruby-lang
<imperator>
that, or there's been a change in rb_str_split
sedrickcz has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
setmeaway2 has joined #ruby-lang
ledestin has quit [Quit: ledestin]
iliketur_ has joined #ruby-lang
iliketur_ has quit [Client Quit]
relix has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
nneko001__ has joined #ruby-lang
richardburton has joined #ruby-lang
dc5ala has joined #ruby-lang
tonni has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
KM has joined #ruby-lang
Guest41569 has quit [Read error: Connection reset by peer]
Guest31903 has quit [Remote host closed the connection]
pipework has quit [Remote host closed the connection]
setmeaway2 has quit [Read error: Connection reset by peer]
rivaler has quit [Quit: rivaler]
richardburton has quit [Quit: Leaving.]
<maloik>
morning
minivan1 has joined #ruby-lang
postmodern has quit [Quit: Leaving]
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-lang
hhatch has joined #ruby-lang
fsvehla has quit [Read error: Connection reset by peer]
diegoviola has quit [Quit: WeeChat 0.4.1]
postmodern has joined #ruby-lang
fsvehla has joined #ruby-lang
Domon has quit [Ping timeout: 256 seconds]
arBmind has quit [Quit: Leaving.]
sedrickcz has quit [Ping timeout: 256 seconds]
tbuehlmann has joined #ruby-lang
sedrickcz has joined #ruby-lang
minivan1 has quit [Quit: minivan1]
<tbuehlmann>
when having a public and private key from OpenSSL::PKey::RSA.generate, what cipher would I use in order to encrypt the private key? something like OpenSSL::Cipher::Cipher.new('DES3') plus a passphrase?
elia has joined #ruby-lang
maxmanders has joined #ruby-lang
marr has joined #ruby-lang
barttenbrinke has joined #ruby-lang
tonni has quit [Remote host closed the connection]
MaddinXx_ has joined #ruby-lang
<maloik>
tbuehlmann: I suppose that's up to you ?
<tbuehlmann>
of course it is, but are there ciphers that are to favor over others? I'm not too much into crypto
Johz has joined #ruby-lang
poga has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
fsvehla has quit [Quit: fsvehla]
barttenbrinke has quit [Remote host closed the connection]
barttenbrinke has joined #ruby-lang
<maloik>
tbuehlmann: oh right, fair enough... me neither but I suppose I'd look into how companies like github and digitalocean do it
<maloik>
their ssh key generation thing is probably using one of the ciphers that are a good choice for something like that
brianpWins has joined #ruby-lang
gja has quit [Quit: This computer has gone to sleep]
arBmind has joined #ruby-lang
<maloik>
Any people here use capistrano for deployment ?
<erikh>
rhizome: check out Enumerable#group_by
<maloik>
A year back we made a project to make capistrano setups a bit easier, http://capo.io/ ... we're going to do some modifications but since it doesn't have much traction I was wondering if something is turning people off
barttenbrinke has quit [Ping timeout: 264 seconds]
<erikh>
capistrano is one of those thigns that gets cargo culted from project to project
<erikh>
largely because the internals are a mess and it's horribly documented
<erikh>
it was made by jamis for jamis and 37signals more or less, and just got used by everyone else
<yorickpeterse>
morning
<maloik>
erikh: what do you mean by cargo culted ?
<erikh>
copypasta, blog pastes, etc
<maloik>
right
<maloik>
well this is a way to solve that, imo
<maloik>
or our attempt at doing so
<maloik>
definately needs improvement, but at least reusing parts becomes a lot easier, as does configuring your scripts
<erikh>
I'd prefer a code cleanup and docs, but we're just in process of gutting the whole thing ourselves
<erikh>
I thing I have done for a few companies now
gregmoreno has joined #ruby-lang
<erikh>
I'm sorry, I'm being impossible
<erikh>
I think it's a cool idea. I just don't have any personal use for it.
tonni has joined #ruby-lang
Kabaka has quit [Remote host closed the connection]
amcoder has quit [Ping timeout: 264 seconds]
Kabaka has joined #ruby-lang
gregmoreno has quit [Ping timeout: 264 seconds]
Pupeno has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mon_Ouie has joined #ruby-lang
<yorickpeterse>
uugghh capistrano
Domon has joined #ruby-lang
<yorickpeterse>
actually, this app X takes like 10-15 minutes to deploy using Capistrano. Around 20 seconds using our new packaging setup
<erikh>
that's because parallel ssh is slow
<erikh>
especially for large numbers of servers
<erikh>
especially with Net::SSH
<erikh>
(although it's gotten a lot better, to its credit)
<yorickpeterse>
Oh it's not just that, it's also that we no longer rely on Git during the actual deployment
<erikh>
what strategy? rsync?
<erikh>
working on this system that ships around tarballs of lxc's around
<erikh>
coordinated with zookeeper
<erikh>
so you do a build, that build is tarred
<yorickpeterse>
No, basically we tarball stuff and slap that on S3
<erikh>
then a flag is set in ZK, which the machines subscribe to
<yorickpeterse>
Then download and extract that
<erikh>
they pull that
<erikh>
do the deploy, notify ZK they've finished
<erikh>
kind of like EC2 AutoScaling deploy strategies if you're familiar
<erikh>
sorry I could talk about this all day
<erikh>
deployment is like, my thing
<yorickpeterse>
this is relevant to my interests anyway
<erikh>
maaaaaan
<yorickpeterse>
we more or less drank the whole AWS koolaid
<yorickpeterse>
which, when combined together, is actually pretty neat
<yorickpeterse>
though expensive
<erikh>
and you have to build for it
<erikh>
otherwise you're gonna get a wakeup call the next time an aws engineer pulls the plug on a filer
<erikh>
aws is a pretty significant engineering effort to do properly
<yorickpeterse>
Yeah
barttenbrinke has joined #ruby-lang
<yorickpeterse>
They build on the fact that somebody might randomly pull a plug for a few minutes
<erikh>
cool. good.
<yorickpeterse>
Sadly we have had some issues with for example their autoscaling setup not working on their end
<erikh>
yeah, aws apis are very finicky
<yorickpeterse>
Which is annoying if you find out a few days later stuff has been running while not needed
<yorickpeterse>
(and not doing anything in the meantime)
soba has joined #ruby-lang
relix has joined #ruby-lang
<yorickpeterse>
in unrelated news, I don't like dates without timezone indicators
<erikh>
you're supposed to be able to presume local time
<erikh>
which you should never use for input but hey
<erikh>
err, database input that is
<yorickpeterse>
well in this case some API spits out a date without a zone
<yorickpeterse>
So I have no idea what zone it's based on
<yorickpeterse>
I can cast it to UTC but that might lead to weird issues
<yorickpeterse>
e.g. going from GMT+2 -> UTC is different than UTC-9 -> UTC
<yorickpeterse>
should probably just ask them if they can add it
benlovell has quit [Ping timeout: 268 seconds]
Forgetful_Lion has joined #ruby-lang
urthbound has quit [Ping timeout: 250 seconds]
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-lang
hashkey_ has joined #ruby-lang
<erikh>
ah yeah
<erikh>
time zones are hell
hashkey has quit [Ping timeout: 240 seconds]
soba has quit [Quit: Leaving...]
shiba has joined #ruby-lang
<yorickpeterse>
It would be cool if Ruby core/stdlib allowed you to specify explicitly what zones to use for Time objects instead of purely relying on TZ
<yorickpeterse>
without having to install extra Gems or ActiveSupport
<yorickpeterse>
errr which is a gem
shiba is now known as Guest17429
<erikh>
patches?
<erikh>
wait
<erikh>
Time.at lets you do this, doesn't it?
Guest17429 has quit [Client Quit]
<erikh>
nope
soba has joined #ruby-lang
<yorickpeterse>
No, you can retrieve zone info but not explicitly set it when for example using Time.parse
<yorickpeterse>
You can "trick" it using Time.strptime and setting it in the input string
Domon has quit [Ping timeout: 264 seconds]
<erikh>
hm
<erikh>
Time.zone_offset looks like it might be relevant to your interests
richardburton has quit [Read error: Connection reset by peer]
richardburton1 has joined #ruby-lang
<_tockitj>
banisterfiend, everytime an object is referenced there is potential for nil reference error
maxmanders has joined #ruby-lang
vlad_sta_ has quit [Ping timeout: 264 seconds]
<_tockitj>
so 'correct' program would have to check for every nested reference
<_tockitj>
could it be better to have it this way - in the language itself ? just a thought
<banisterfiend>
_tockitj there's a few ways around that, like the Maybe monad or so on
<banisterfiend>
_tockitj objc takes that approach
<_tockitj>
heh, not familiar with objc or monad
<_tockitj>
banisterfiend, would it work for ruby ?
<banisterfiend>
_tockitj look into andand
vlad_starkov has quit [Remote host closed the connection]
<banisterfiend>
_tockitj i think you'd get beaten with a stick if you did that in ruby, it's not that it's inherently a bad idea (it seems to work fine in objc) it's just that hungry nil behaviour is not idiomatic at all and you'll surprise a llot of people and possibly break a bunch of libraries
<banisterfiend>
not idiomatic in ruby*
workmad3 has joined #ruby-lang
arBmind has joined #ruby-lang
<kith>
guys i'm using dbi and have a problem with left joins
<kith>
both tables have a column "id" which is primary key
CaryInVictoria has quit [Ping timeout: 245 seconds]
hashkey has quit [Quit: Leaving]
nathanstitt has joined #ruby-lang
<kith>
not the resulting hash gets its pk overwritten by the right table
iliketur_ has joined #ruby-lang
<kith>
now
ssb123 has quit [Remote host closed the connection]
<kith>
how do i keep both pks?
ssb123 has joined #ruby-lang
<_tockitj>
banisterfiend, thanks
ssb123 has quit [Read error: Connection reset by peer]
<banisterfiend>
_tockitj google 'andand'
ssb123_ has joined #ruby-lang
<banisterfiend>
it's a gem that implements something sort of like the maybe monad for ruby (in spirit, anyway)
leekiernan has joined #ruby-lang
io_syl has joined #ruby-lang
<_tockitj>
banisterfiend, do you use andand in production code :D
cored has quit [Ping timeout: 268 seconds]
mbull9 has joined #ruby-lang
VTLob has joined #ruby-lang
cored has joined #ruby-lang
headius has joined #ruby-lang
RickHull1 has quit [Ping timeout: 246 seconds]
maxmanders has quit [Quit: Computer has gone to sleep.]
<headius>
drbrain: around?
<gnufied>
I have used andand in production code
<gnufied>
_tockitj: it is no more unsafe than rails .try()
arBmind1 has joined #ruby-lang
arBmind has quit [Ping timeout: 276 seconds]
nwalls has quit [Quit: nwalls]
joshuairl_ has joined #ruby-lang
joshuairl has quit [Ping timeout: 240 seconds]
joshuairl_ is now known as joshuairl
<headius>
drbrain: I commented with a compromise I think works for everyone... use whatever patch to fix the issue but add a default that can short-circuit the scanning to either new or old format
arBmind has joined #ruby-lang
tonni has joined #ruby-lang
<headius>
e.g. JRuby would just force that default to "new style" and the complexity of the scan wouldn't matter because it wouldn't be used
<headius>
MRI 2.0.x could add the default to specify old style to avoid the scan
<headius>
RG 2.0 supported default gems, but only using a peculiar format MRI generated from a heinous build script
<headius>
I patched it to support a cleaner format based on the actual gemspecs, but in order to support both formats it has to scan files to guess
<headius>
for 2.1
cjs226 has joined #ruby-lang
<darix>
ah
lfox has joined #ruby-lang
sedrickcz has joined #ruby-lang
<darix>
i wonder where on the todo is the vendor_gems/site_gems stuff is.
arBmind has quit [Ping timeout: 260 seconds]
ssb123_ has quit [Remote host closed the connection]
ssb123 has joined #ruby-lang
ruby-lang412 has joined #ruby-lang
ruby-lang412 has quit [Client Quit]
leekiernan has quit [Ping timeout: 260 seconds]
<headius>
mmm don't know about that one
mmorga has joined #ruby-lang
cored has quit [Ping timeout: 268 seconds]
<headius>
I just wanted to start gemifying stuff in JRuby and do it in a standard way
<headius>
I really wasn't feeling rbinstall.rb from MRI...
sedrickcz has quit [Ping timeout: 264 seconds]
cored has joined #ruby-lang
cored has joined #ruby-lang
<yorickpeterse>
is there something ready baked that I can point at my GH user/organization and have it spit out stats about who's the biggest Git nerd and such?
torrieri has quit [Quit: Leaving...]
<yorickpeterse>
e.g. the amount of commits per day per week, etc
ssb123 has quit [Ping timeout: 245 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
marr has quit [Ping timeout: 264 seconds]
<darix>
headius: well for me as packager, the old split of stdlib, vendor (where i would put stuff from rpms) and site was really nice
<headius>
ahh yeah
<darix>
headius: especially i would want to block uninstalling gems from the vendor tree with gem uninstall :)
<darix>
and from the stdlib tree of course.
<headius>
we still had that up until JRuby 1.7, and then switched to having some configurable properties for site and vendor locations
<headius>
at request of linux packagers
<headius>
default gems would work for preventing uninstall
relix has joined #ruby-lang
relix has quit [Client Quit]
arBmind has joined #ruby-lang
arBmind2 has joined #ruby-lang
ssb123 has joined #ruby-lang
torrieri has joined #ruby-lang
gemmy has joined #ruby-lang
Cakey has joined #ruby-lang
arBmind1 has quit [Ping timeout: 260 seconds]
arBmind1 has joined #ruby-lang
arBmind has quit [Ping timeout: 241 seconds]
arBmind2 has quit [Ping timeout: 264 seconds]
brianpWins has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
richardburton1 has quit [Quit: Leaving.]
richardburton has joined #ruby-lang
saarinen has joined #ruby-lang
nathanstitt has quit [Ping timeout: 240 seconds]
w00x has joined #ruby-lang
cmckni3 has joined #ruby-lang
Cakey has quit [Ping timeout: 246 seconds]
nathanstitt has joined #ruby-lang
apeiros has quit [Read error: Connection reset by peer]
apeiros has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
scottschecter has quit [Ping timeout: 276 seconds]
sedrickcz has quit [Remote host closed the connection]
iliketur_ has quit [Quit: zzzzz…..]
marr has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
scampbell has joined #ruby-lang
postmodern has joined #ruby-lang
torrieri has joined #ruby-lang
saarinen has joined #ruby-lang
fenicks has joined #ruby-lang
gja has joined #ruby-lang
Squarepy has joined #ruby-lang
sedrickcz has joined #ruby-lang
gregmoreno has joined #ruby-lang
fsvehla has joined #ruby-lang
jaimef has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
<imperator>
ah, crap, no NUM2SIZET in 1.8
* imperator
digs for the macro
rwk1 has joined #ruby-lang
<drbrain>
imperator: include/ruby/ruby.h
<drbrain>
there's a couple of other useful ones in there, ssize_t, off_t
<imperator>
yeah, found it, thanks
kurko_ has quit [Ping timeout: 264 seconds]
mbull9 has quit [Remote host closed the connection]
rwk1 has quit [Ping timeout: 256 seconds]
umgrossco has joined #ruby-lang
fsvehla has quit [Quit: fsvehla]
verto has quit [Ping timeout: 246 seconds]
torrieri has quit [Quit: Leaving...]
torrieri has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
nathanstitt has quit [Quit: I growing sleepy]
brianpWins has joined #ruby-lang
pothibo has joined #ruby-lang
brianpWins has quit [Client Quit]
brianpWins has joined #ruby-lang
agile has quit [Read error: Connection reset by peer]
shame has joined #ruby-lang
kek has joined #ruby-lang
maxmanders has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
kek has quit [Quit: kek]
pr0ton has joined #ruby-lang
headius has quit [Quit: headius]
kek has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
nathanstitt has joined #ruby-lang
judofyr has joined #ruby-lang
rwk1 has joined #ruby-lang
nathanstitt has quit [Read error: Connection reset by peer]
gregmore_ has joined #ruby-lang
ssb123 has joined #ruby-lang
rwk1 has quit [Ping timeout: 264 seconds]
gregmoreno has quit [Ping timeout: 264 seconds]
brianpWins has quit [Quit: brianpWins]
brianpWins has joined #ruby-lang
arBmind1 has quit [Quit: Leaving.]
pothibo has quit [Quit: pothibo]
kek has quit [Quit: kek]
maxmanders has quit [Quit: Computer has gone to sleep.]
yalue has quit [Read error: Connection reset by peer]
kek has joined #ruby-lang
iliketur_ has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
ssb123 has quit [Remote host closed the connection]
arBmind has joined #ruby-lang
MaddinXx has quit [Remote host closed the connection]
nathanstitt has joined #ruby-lang
rservant_ has joined #ruby-lang
rwk1 has joined #ruby-lang
mbull9 has joined #ruby-lang
rservant has quit [Ping timeout: 240 seconds]
RickHull1 has quit [Ping timeout: 264 seconds]
kek has quit [Quit: kek]
judofyr has quit [Remote host closed the connection]
rservant_ has quit [Ping timeout: 264 seconds]
<drbrain>
what's a generic name for what include and extend do?
<drbrain>
mixin?
rwk1 has quit [Ping timeout: 245 seconds]
<erikh>
as I understand it
<drbrain>
ok
<drbrain>
RDoc::Include and RDoc::Extend share code, but don't inherit from each other
<erikh>
refinement! :P
nathanstitt has quit [Read error: Connection reset by peer]
<drbrain>
I may need to add RDoc::Refinement, so I can't use that name :D
arBmind has quit [Quit: Leaving.]
iliketur_ has quit [Quit: zzzzz…..]
iliketur_ has joined #ruby-lang
ssb123 has joined #ruby-lang
umgrossco has quit [Quit: Nettalk6 - www.ntalk.de]
moca has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
iliketur_ has quit [Quit: zzzzz…..]
CaryInVictoria has joined #ruby-lang
CaryInVictoria has left #ruby-lang [#ruby-lang]
iliketur_ has joined #ruby-lang
CaryInVictoria has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
cjs226 has quit [Quit: cjs226]
scampbell has quit [Remote host closed the connection]
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
kurko_ has joined #ruby-lang
CaryInVictoria has quit [Remote host closed the connection]
iliketur_ has quit [Quit: zzzzz…..]
wmoxam has quit [Ping timeout: 245 seconds]
mmorga has quit [Remote host closed the connection]
Johz has joined #ruby-lang
thebastl has quit [Remote host closed the connection]
Forgetful_Lion has quit [Remote host closed the connection]
pr0ton has quit [Ping timeout: 248 seconds]
<rue>
ReRefinement
nwalls has quit [Quit: nwalls]
apeiros has joined #ruby-lang
bungoman has quit [Remote host closed the connection]
breakingthings has quit [Quit: breakingthings]
gregmore_ has quit [Remote host closed the connection]
gregmoreno has joined #ruby-lang
iliketur_ has joined #ruby-lang
iliketur_ has quit [Client Quit]
headius has joined #ruby-lang
pr0ton has joined #ruby-lang
bungoman has joined #ruby-lang
tomzx_mac has joined #ruby-lang
vlad_starkov has joined #ruby-lang
cored has quit [Quit: leaving]
bungoman has quit [Remote host closed the connection]
iliketur_ has joined #ruby-lang
Johz has quit [Ping timeout: 245 seconds]
bungoman has joined #ruby-lang
kurko_ has quit [Read error: Connection reset by peer]
scottschecter has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 264 seconds]
ledestin has joined #ruby-lang
mbull9 has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
w00x has quit [Ping timeout: 240 seconds]
fcahoon has quit [Quit: Leaving]
joshuawscott1 has quit [Quit: Leaving.]
rails_smith has joined #ruby-lang
gemmy has quit [Quit: leaving]
hhatch has quit [Ping timeout: 245 seconds]
Squarepy has quit [Quit: Leaving]
mbj has quit [Ping timeout: 245 seconds]
workmad3 has quit [Ping timeout: 245 seconds]
rivaler_ has quit [Ping timeout: 264 seconds]
wudofyr has quit [Remote host closed the connection]
wudofyr has joined #ruby-lang
gja has quit [Quit: This computer has gone to sleep]
<imperator>
win32-api 1.5.0 released into the wild
__butch__ has quit [Quit: Leaving.]
rwk1 has joined #ruby-lang
Nisstyre has joined #ruby-lang
kek has joined #ruby-lang
rwk1 has quit [Ping timeout: 264 seconds]
apeiros has quit [Remote host closed the connection]
killtheliterate is now known as killthe|afk
nneko001__ has quit [Quit: Konversation terminated!]
bungoman has quit [Ping timeout: 245 seconds]
iliketur_ has quit [Quit: zzzzz…..]
iliketur_ has joined #ruby-lang
sedrickcz has quit [Remote host closed the connection]
sedrickcz has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kurko_ has joined #ruby-lang
kek has quit [Quit: kek]
sedrickcz has quit [Ping timeout: 245 seconds]
retro|cz has quit [Ping timeout: 260 seconds]
retro|cz has joined #ruby-lang
kek has joined #ruby-lang
kek has quit [Client Quit]
mbull9 has joined #ruby-lang
ikrima has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby-lang
wmoxam has joined #ruby-lang
twinklerock has quit [Quit: Leaving]
rwk1 has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 240 seconds]
rivaler has joined #ruby-lang
rivaler has quit [Client Quit]
rwk1 has quit [Ping timeout: 240 seconds]
mmorga has joined #ruby-lang
joshuairl has quit [Quit: joshuairl]
jordan_ has joined #ruby-lang
hakunin has quit [Read error: Connection reset by peer]
hakunin has joined #ruby-lang
lfox has quit [Quit: ZZZzzz…]
sedrickcz has joined #ruby-lang
marr has quit [Ping timeout: 246 seconds]
rwk1 has joined #ruby-lang
mmorga has quit [Remote host closed the connection]
kek has joined #ruby-lang
rwk1 has quit [Remote host closed the connection]
chinno998 has quit [Quit: Leaving.]
sedrickcz has quit [Ping timeout: 240 seconds]
jstr has joined #ruby-lang
jstr has left #ruby-lang ["Leaving."]
hakunin has quit [Read error: Connection reset by peer]
hakunin has joined #ruby-lang
pskosinski has quit [Quit: Til rivido Idisti!]
benanne has quit [Quit: kbai]
hakunin_ has joined #ruby-lang
hakunin has quit [Read error: Connection reset by peer]
kek has quit [Quit: kek]
hakunin_ has quit [Read error: Connection reset by peer]
hakunin has joined #ruby-lang
wmoxam has quit [Ping timeout: 276 seconds]
mbj has joined #ruby-lang
linuscash has quit [Read error: Operation timed out]
_jpb__ has quit [Ping timeout: 240 seconds]
jonahR has joined #ruby-lang
bungoman has joined #ruby-lang
arooni-mobile has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
<arooni-mobile>
let's say i have a method that is trying to send a HTTP request; i have begin/rescue clause because this site isn't always the most reliable. when i rescue the exception; how can i retry the same request a set number of times? i'm catching the exception within the method. should i throw the exception to the calling method and from there have a counter until i reach the point ill just give up? another approac
<arooni-mobile>
h?
<whitequark>
yes
VTLob has quit [Quit: VTLob]
fenicks has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 240 seconds]
<imperator>
arooni-mobile, gem install attempt :)
momomomomo has joined #ruby-lang
jonahR has quit [Ping timeout: 240 seconds]
jonahR has joined #ruby-lang
joshuawscott has joined #ruby-lang
jonahR has quit [Client Quit]
mbj has quit [Ping timeout: 240 seconds]
ssb123 has quit [Remote host closed the connection]