jhass changed the topic of #ruby to: Welcome new users migrating from #ruby-lang! || Rules & more: http://ruby-community.com || Ruby 2.2.2; 2.1.6; 2.0.0-p645: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
xxneolithicxx has quit [Ping timeout: 255 seconds]
bruno- has joined #ruby
mary5030 has quit [Ping timeout: 265 seconds]
dfockler has quit [Remote host closed the connection]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kinduff> baweaver: thanks for pointing that out. Been with Rails for 3 years now, I'm looking to get the right path of starting this service thing. Thanks.
<colin_> I guess I expect everything in the python standard library to be in the ruby standard library, but that's wishful thinking.
frank_o has quit [Ping timeout: 250 seconds]
michas has joined #ruby
axl_ has joined #ruby
dnlbyl has joined #ruby
bruno- has quit [Ping timeout: 272 seconds]
axl_ has quit [Client Quit]
ledestin has quit [Remote host closed the connection]
dnlbyl has quit [Client Quit]
ebbflowgo has quit [Read error: Connection reset by peer]
ebbflowgo has joined #ruby
mdz_ has joined #ruby
pontiki has joined #ruby
<pontiki> hello/
g0rx_ has quit [Ping timeout: 246 seconds]
mdz_ has quit [Ping timeout: 256 seconds]
g0rx_ has joined #ruby
Musashi007 has quit [Quit: Musashi007]
fella5s has quit [Read error: Connection reset by peer]
caseypat_ has joined #ruby
workmad3 has joined #ruby
iamjarvo has quit [Quit: Textual IRC Client: www.textualapp.com]
wldcordeiro has quit [Ping timeout: 252 seconds]
ghr has joined #ruby
nickfausnight has quit [Quit: Connection closed for inactivity]
DLSteve has quit [Quit: Leaving]
ledestin has joined #ruby
sarlalian has quit [Quit: WeeChat 0.4.2]
rubie has quit [Read error: Connection reset by peer]
nedp has joined #ruby
mcclurmc_ has joined #ruby
sarlalian has joined #ruby
Limix has quit [Quit: Limix]
caseypatrickdris has quit [Ping timeout: 265 seconds]
rubie has joined #ruby
mcclurmc has quit [Ping timeout: 246 seconds]
workmad3 has quit [Ping timeout: 244 seconds]
caseypat_ has quit [Ping timeout: 276 seconds]
kies has joined #ruby
bkxd has joined #ruby
al2o3-cr has joined #ruby
blackmesa has quit [Quit: WeeChat 1.2]
ghr has quit [Ping timeout: 246 seconds]
cryptarium has quit [Read error: Connection reset by peer]
gsd has joined #ruby
cryptarium has joined #ruby
rcvalle has quit [Quit: rcvalle]
jenrzzz has joined #ruby
rfi_ is now known as rfi
Torrieri has joined #ruby
TommyTheKid has quit [Ping timeout: 276 seconds]
Fooster has quit [Ping timeout: 244 seconds]
Y4Rv1K has quit [Remote host closed the connection]
djbkd has joined #ruby
serivich has joined #ruby
gsd has quit [Ping timeout: 250 seconds]
bkxd has quit [Ping timeout: 244 seconds]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
towski_ has quit [Remote host closed the connection]
CloCkWeRX has quit [Quit: Leaving.]
towski_ has joined #ruby
ahuman_ is now known as ahuman
phoo1234567 has quit [Quit: Leaving]
Alayde has quit [Quit: WeeChat 1.1.1]
GnuYawk has quit [Ping timeout: 245 seconds]
towski_ has quit [Remote host closed the connection]
lxsameer has quit [Quit: Leaving]
mark06 has joined #ruby
fujimura has joined #ruby
CloCkWeRX has joined #ruby
GnuYawk has joined #ruby
max--1 has quit [Remote host closed the connection]
bantic has quit [Quit: bantic]
hahuang65 has quit [Ping timeout: 252 seconds]
jackjackdripper has joined #ruby
pengin has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
fedexo has joined #ruby
fujimura has quit [Ping timeout: 265 seconds]
mark06 has left #ruby ["http://pidgin.renatosilva.me - Pidgin++"]
jackjackdripper has quit [Client Quit]
robustus has quit [Ping timeout: 255 seconds]
jason_rad has joined #ruby
jackjackdripper has joined #ruby
endash has quit [Quit: endash]
dnlbyl has joined #ruby
dnlbyl has quit [Client Quit]
C1V0 has quit []
<jason_rad> Hi guys, learning ruby here ( first language ) and I'm a little confused as to which way things go. For example http://pastie.org/10226029 Do I break down what I want to do in multiple lines, or just create one liners with methods upon methods tied together?
RegulationD has quit [Remote host closed the connection]
harly has joined #ruby
<jason_rad> I find myself doing a mixture of this especially since I don't realize all the methods to certain objects
jackjackdripper1 has joined #ruby
robustus has joined #ruby
<havenwood> jason_rad: puts File.read ARGV.first
msnyon has quit [Quit: Textual IRC Client: www.textualapp.com]
jackjackdripper has quit [Ping timeout: 265 seconds]
<havenwood> jason_rad: Both of the ways you showed leave the file open unless you explicitly: File.close file
<jason_rad> havenwood: I thought ruby does memory management by itself and I don't ahve to explicitly destroy object
<Ox0dea> jason_rad: Closing and destroying aren't synonymous.
<jason_rad> noted
deric_skibotn has quit [Ping timeout: 256 seconds]
<havenwood> jason_rad: File::open with a block will close the file when the block closes. Without a block it leaves the file open.
<havenwood> jason_rad: For a simple read, do like my example.
<havenwood> jason_rad: IO::read
<pontiki> the file will close when the enclosing scope ends, but it's bad form, especially if all of them are opened in the root scope
<havenwood> jason_rad: If you can't read the whole file into memory at once, or need other fine grained access, use File::open with a block. For simple stuff IO::read.
<noethics> i think somehow i went from writing a queue server to a database
<noethics> i suck
<jason_rad> havenwood: Thanks for this info. I'm reading learn ruby the hardway. I can grasp the syntax etc, but find myself struggling with I guess the theory on how to tie it together correctly
<harly> i thought it closed on GC, not scope end? when GC calls finalize.
<Ox0dea> harly: Why?
<harly> becuase that's what I thought?
mrsolo has quit [Quit: This computer has gone to sleep]
kinduff has quit [Quit: l8r]
<Ox0dea> harly: Yes, but there's no precedent for arriving at such a conclusion.
<Ox0dea> It doesn't make any sense to garbage-collect an open file.
c355E3B has joined #ruby
tibig has quit [Ping timeout: 264 seconds]
<harly> GC doesn't care if a file is open or not. it cleans up things which are no longer referenced. it calls finalize to give that object an option to do anything it needs to do. which in the case of an open file, is to close it.
mr_goodcat has quit [Ping timeout: 245 seconds]
<harly> but pontiki said it closes when it falls out of scope. That, I don't know how it would do.
<Ox0dea> harly: Blocks make object management very easy.
sankaber has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xxneolithicxx has joined #ruby
pulgolino has quit [Remote host closed the connection]
jackjackdripper has joined #ruby
porkqpain is now known as yoongkang
yoongkang has quit []
porkqpain has joined #ruby
porkqpain has left #ruby [#ruby]
bmurt has joined #ruby
jackjackdripper1 has quit [Ping timeout: 255 seconds]
blue_deref has joined #ruby
yoongkang has joined #ruby
snophey has quit [Quit: Leaving]
fabrice31 has joined #ruby
gambl0re has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
Agoldfish has quit [Quit: G'Bye]
jason_rad has quit [Quit: leaving]
Limix has joined #ruby
rkazak has joined #ruby
fabrice31 has quit [Ping timeout: 255 seconds]
mh888 has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bertocode has joined #ruby
nizmow has quit [Ping timeout: 256 seconds]
amclain has joined #ruby
icbm has joined #ruby
mc_fail_ has joined #ruby
swgillespie has joined #ruby
ghr has joined #ruby
Brozo has quit [Remote host closed the connection]
scripore has quit [Quit: This computer has gone to sleep]
mc_fail has quit [Ping timeout: 264 seconds]
j4cknewt has joined #ruby
gusrub has quit [Quit: Leaving]
rodfersou has joined #ruby
shadoi has quit [Quit: Leaving.]
adefa has quit [Ping timeout: 255 seconds]
a346 has quit [Quit: a346]
ghr has quit [Ping timeout: 265 seconds]
Brozo has joined #ruby
wjimenez5271 has quit [Ping timeout: 245 seconds]
Brozo has quit [Remote host closed the connection]
Brozo has joined #ruby
rodfersou has quit [Quit: leaving]
mh888 has quit [Quit: Leaving.]
LITesterB has joined #ruby
LITesterB has quit [Client Quit]
freerobby has joined #ruby
freerobby has quit [Client Quit]
michas has quit [Ping timeout: 272 seconds]
freerobby has joined #ruby
wjimenez5271 has joined #ruby
mh888 has joined #ruby
zendrix has quit [Ping timeout: 265 seconds]
Y4Rv1K has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
CloCkWeRX has quit [Quit: Leaving.]
Ox0dea has left #ruby ["WeeChat 1.3-dev"]
nizmow has joined #ruby
mh888 has left #ruby [#ruby]
mrmargolis has joined #ruby
queequeg1 has quit [Ping timeout: 265 seconds]
Brozo has quit [Remote host closed the connection]
seanstickle has joined #ruby
bmurt has quit []
<seanstickle> Ahoy hoy
snsei has quit [Remote host closed the connection]
michas has joined #ruby
kenndel has quit [Ping timeout: 255 seconds]
senayar has joined #ruby
snsei has joined #ruby
n3vtelen has quit [Ping timeout: 265 seconds]
thelastinuit has quit [Quit: Textual IRC Client: www.textualapp.com]
snsei has quit [Remote host closed the connection]
bronson has joined #ruby
<bnagy> it'll never catch on as a phrase
Brozo_ has joined #ruby
RegulationD has joined #ruby
Brozo_ has quit [Remote host closed the connection]
mdz_ has joined #ruby
snsei has joined #ruby
<seanstickle> bnagy: I’m holding out hope
elton has joined #ruby
abuzze_ has joined #ruby
bogdanteleaga has quit [Ping timeout: 265 seconds]
senayar has quit [Ping timeout: 256 seconds]
Kricir has joined #ruby
bogdanteleaga has joined #ruby
Respek has quit [Quit: gone to sleep. ZZZzzz…]
leat1 has joined #ruby
dfockler has joined #ruby
abuzze has quit [Ping timeout: 264 seconds]
RegulationD has quit [Ping timeout: 256 seconds]
mdz_ has quit [Ping timeout: 264 seconds]
Y4Rv1K has quit [Remote host closed the connection]
GnuYawk has quit [Ping timeout: 276 seconds]
fujimura_ has joined #ruby
icbm has quit [Quit: Computer sleeping]
Y4Rv1K has joined #ruby
Papierkorb has quit [Quit: ArchLinux completes an endless loop faster than any other distro!]
dfockler has quit [Ping timeout: 258 seconds]
_seanc_ has joined #ruby
leat1 has quit [Ping timeout: 245 seconds]
axsuul has quit [Ping timeout: 252 seconds]
fujimura_ has quit [Ping timeout: 258 seconds]
symm- has quit [Ping timeout: 255 seconds]
Y4Rv1K has quit [Remote host closed the connection]
fluter has joined #ruby
victorkohl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
scripore has joined #ruby
Y4Rv1K has joined #ruby
Y4Rv1K has quit [Remote host closed the connection]
Y4Rv1K has joined #ruby
bronson has quit [Remote host closed the connection]
yoongkang has quit [Remote host closed the connection]
bronson has joined #ruby
caseypatrickdris has joined #ruby
Sirrr has quit [Quit: Leaving]
Y4Rv1K has quit [Remote host closed the connection]
FernandoBasso has quit [Quit: leaving]
Y4Rv1K has joined #ruby
yoongkang has joined #ruby
sepp2k has quit [Quit: Leaving.]
Y4Rv1K has quit [Remote host closed the connection]
Y4Rv1K has joined #ruby
Y4Rv1K has quit [Remote host closed the connection]
Y4Rv1K has joined #ruby
Y4Rv1K_ has joined #ruby
n008f4g_ has quit [Ping timeout: 258 seconds]
Brozo has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
bkxd has joined #ruby
Y4Rv1K has quit [Ping timeout: 272 seconds]
zz_twistedpixels is now known as twistedpixels
Y4Rv1K_ has quit [Read error: Connection reset by peer]
Y4Rv1K has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
mary5030 has joined #ruby
Y4Rv1K has quit [Remote host closed the connection]
Y4Rv1K has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
diegoviola has joined #ruby
balazs has joined #ruby
bkxd has quit [Ping timeout: 264 seconds]
<shevy> hmm
<shevy> several from #ruby are not here jhass
<shevy> no I am so dumb
<shevy> I meant to type #ruby-lang
nahtnam has joined #ruby
<mozzarella> I thought that channel was about to get deleted
<mozzarella> or something like that
<Brozo> isnt it the other way around?
noethics has quit [Remote host closed the connection]
bootstrappm has joined #ruby
<shevy> well the channel is: * Cannot join #ruby-lang (Channel is invite only).
<shevy> but I wonder
<shevy> who is there?
swgillespie has joined #ruby
<jhass> nobody
<drbrain> just me
<drbrain> all alone
CustosLimen has quit [Max SendQ exceeded]
swgillespie has quit [Max SendQ exceeded]
<xxneolithicxx> i thought we were supposed to exceed 1k :-/
CustosLimen has joined #ruby
<jhass> we actually do most of the day
noethics has joined #ruby
<jhass> weekends always are a bit lower too
swgillespie has joined #ruby
<xxneolithicxx> must not be paying attention during work hrs
frem has quit [Quit: Connection closed for inactivity]
Musashi007 has joined #ruby
<jhass> shevy: so who do you miss?
swgillespie has quit [Client Quit]
Channel6 has quit [Quit: Leaving]
scripore has quit [Quit: This computer has gone to sleep]
rodfersou has joined #ruby
Jandre has joined #ruby
newbrubyist has joined #ruby
Jandre is now known as Guest17424
newbrubyist has quit [Client Quit]
senayar has joined #ruby
<shevy> jhass everyone!
<shevy> oh
bigmac_ has quit [Ping timeout: 265 seconds]
<shevy> it seems as if there are some more nicks here now... let's see
Y4Rv1K has quit [Ping timeout: 256 seconds]
gsd has joined #ruby
scripore has joined #ruby
_blizzy_ has quit [Ping timeout: 265 seconds]
senayar has quit [Ping timeout: 264 seconds]
balazs has quit [Remote host closed the connection]
seanstickle has quit [Quit: seanstickle]
<diegoviola> christ, php still doesn't support UTF8?
<diegoviola> what the f*ck
mrmargolis has quit [Remote host closed the connection]
<bootstrappm> morning all
serivichi has joined #ruby
Ox0dea has joined #ruby
<bootstrappm> just got out of like 6.5 hours of meetings
<Ox0dea> Seems like a suitable alternative.
<bootstrappm> i hurt
fujimura_ has joined #ruby
<diegoviola> lol
<bootstrappm> hey zenspider's on that gem
duncannz has joined #ruby
serivich has quit [Ping timeout: 272 seconds]
cryptarium_ has joined #ruby
<shevy> bootstrappm that's a long meeting
<shevy> was much wisdom shared in it?
<pontiki> that's way too long for meetings. i'd be hurting too.
darkf has joined #ruby
Y4Rv1K has joined #ruby
cryptarium has quit [Ping timeout: 256 seconds]
fujimura_ has quit [Ping timeout: 265 seconds]
mfranzwa has left #ruby [#ruby]
<bootstrappm> it was sprint review + retrospective then eveybody went home and product backlog refinement with my cofounder
Guest17424 has quit [Ping timeout: 272 seconds]
<bootstrappm> first part was like 3 hours, the product backlog was another 3 - 4
bruno- has joined #ruby
<bootstrappm> just too much thinking and talking
<bootstrappm> playign Battle for Wesnoth for a couple minutes to reset
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mdz_ has joined #ruby
riotjones has joined #ruby
Y4Rv1K has quit [Remote host closed the connection]
Brozo has quit [Remote host closed the connection]
lkba_ has joined #ruby
bruno- has quit [Ping timeout: 245 seconds]
Y4Rv1K has joined #ruby
<shevy> \o/
<shevy> take elves, they are best
braincrash has quit [Quit: bye bye]
<bootstrappm> will do!
mdz_ has quit [Ping timeout: 265 seconds]
Brozo has joined #ruby
adefa has joined #ruby
riotjones has quit [Ping timeout: 272 seconds]
lkba has quit [Ping timeout: 256 seconds]
sigden has quit [Ping timeout: 255 seconds]
fabrice31 has joined #ruby
caseypatrickdris has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
adefa has quit [Ping timeout: 245 seconds]
braincras has joined #ruby
gsd has joined #ruby
serivich has joined #ruby
fabrice31 has quit [Ping timeout: 272 seconds]
slawrence00 has joined #ruby
serivichi has quit [Ping timeout: 272 seconds]
slawrence00 is now known as webdev99
mc_fail_ has quit [Ping timeout: 255 seconds]
bootstrappm has left #ruby [#ruby]
Channel6 has joined #ruby
CustosLimen has quit [Ping timeout: 245 seconds]
yoongkang has quit [Remote host closed the connection]
A205B064 has quit [Ping timeout: 272 seconds]
broman has quit [Ping timeout: 244 seconds]
mc_fail has joined #ruby
CustosLimen has joined #ruby
Limix has quit [Quit: Limix]
nini1294 has joined #ruby
balazs has joined #ruby
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
c355E3B has quit [Quit: Connection closed for inactivity]
diegoviola has quit [Quit: WeeChat 1.2]
rodfersou has quit [Remote host closed the connection]
chipotle has joined #ruby
michas has quit [Read error: Connection reset by peer]
jerematic has quit [Remote host closed the connection]
nini1294 has quit [Ping timeout: 255 seconds]
rubie has quit [Remote host closed the connection]
_seanc_ has quit [Ping timeout: 256 seconds]
rubie has joined #ruby
jenrzzz has joined #ruby
yfeldblum has joined #ruby
David_H__ has quit [Ping timeout: 240 seconds]
senayar has joined #ruby
Encapsulation has joined #ruby
deavidsedice has quit [Ping timeout: 265 seconds]
OtterCoder has joined #ruby
jack_rabbit has joined #ruby
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
senayar has quit [Ping timeout: 246 seconds]
Y4Rv1K has quit [Remote host closed the connection]
Limix has joined #ruby
<shevy> is there a way to grab the content of a block given to a method, in form of a String? I need to parse a block for certain keywords, before I evalute it via instance_eval
<Ox0dea> shevy: Alas, no. :(
<shevy> hmm
<Ox0dea> >> RubyVM::InstructionSequence.of(-> { |a, b| a + b }).to_a
<ruboto> Ox0dea # => /tmp/execpad-5bedd0f41fbe/source-5bedd0f41fbe:2: syntax error, unexpected '|' ...check link for more (https://eval.in/376380)
<Ox0dea> What?
<shevy> I sort of need some kind of finalizer-hook
<shevy> but I haven't thought about it completely yet
<Ox0dea> shevy: at_exit or END?
<shevy> I hate at_exit...
<shevy> I remember when several different .rb files have at_exit, it becomes confusing for me what is going on
<Ox0dea> Wow, I derped on the lambda syntax back there.
<Ox0dea> >> RubyVM::InstructionSequence.of(-> a, b { a + b }).to_a
<ruboto> Ox0dea # => ["YARVInstructionSequence/SimpleDataFormat", 2, 2, 1, {:arg_size=>2, :local_size=>3, :stack_max=>2}, ...check link for more (https://eval.in/376381)
<Ox0dea> shevy: You could try your hand at parsing the block's iseq?
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
jerematic has joined #ruby
<shevy> Ox0dea iseq?
workmad3 has joined #ruby
<Ox0dea> shevy: Instruction sequence.
rushed has joined #ruby
swgillespie has joined #ruby
gix has quit [Ping timeout: 255 seconds]
swgillespie has quit [Client Quit]
scripore has quit [Quit: This computer has gone to sleep]
workmad3 has quit [Ping timeout: 246 seconds]
deavid has joined #ruby
gix has joined #ruby
dopie has joined #ruby
Rickmasta has joined #ruby
bkxd has joined #ruby
webdev99 has quit [Quit: Textual IRC Client: www.textualapp.com]
ramfjord has quit [Ping timeout: 258 seconds]
car has quit [Ping timeout: 256 seconds]
AlxAltea has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Remote host closed the connection]
fujimura has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
aoyr115 has joined #ruby
axsuul has joined #ruby
kies has quit [Remote host closed the connection]
baweaver has joined #ruby
fujimura has quit [Ping timeout: 244 seconds]
leat1 has joined #ruby
<Ox0dea> Being able to go from RubyVM::InstructionSequence to string of code would be really nice.
bantic has joined #ruby
<Ox0dea> Why not just enable it anyway? It's not like you could accidentally use it.
charliesome has joined #ruby
jacaho0 has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 264 seconds]
jacor has joined #ruby
yoongkang has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
balazs has quit [Remote host closed the connection]
kith_ has joined #ruby
sigden has joined #ruby
stonith has joined #ruby
stonith has joined #ruby
kith has quit [Ping timeout: 264 seconds]
j4cknewt has quit [Remote host closed the connection]
nonparfumee has joined #ruby
quesker has left #ruby [#ruby]
willharrison has joined #ruby
n1x has joined #ruby
axsuul_ has joined #ruby
sigden has quit [Ping timeout: 264 seconds]
shadeslayer is now known as shaderslayer
axsuul has quit [Ping timeout: 256 seconds]
bronson has quit [Remote host closed the connection]
rushed has quit [Quit: rushed]
fredsir has quit [Quit: ZNC - http://znc.in]
jenrzzz has joined #ruby
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
<aoyr115> Hello, I’m stuck on a problem building a factorygirl object with rspec and ruby and would really appreciate any new ideas. When I run the spec to create a valid factory, I get an argument error of missing keywords, even if I pass in the required keywords to initialize the object in the build(:object)…I’ve tried googling for a while and removing the keyword argument params, with no luck
ponga has joined #ruby
n1x has quit [Max SendQ exceeded]
stardiviner has joined #ruby
arescorpio has quit [Quit: Leaving.]
n1x has joined #ruby
yfeldblum has joined #ruby
bantic has quit [Quit: bantic]
mc_fail_ has joined #ruby
bigmac_ has joined #ruby
nickmm has joined #ruby
keen___________6 has joined #ruby
keen___________5 has quit [Ping timeout: 246 seconds]
sevenseacat has joined #ruby
jerematic has quit [Remote host closed the connection]
mc_fail has quit [Ping timeout: 245 seconds]
fluter has quit [Ping timeout: 272 seconds]
mc_fail has joined #ruby
pengin has joined #ruby
nonparfumee has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkxd has quit [Ping timeout: 252 seconds]
mc_fail_ has quit [Ping timeout: 265 seconds]
crazymykl has quit [Ping timeout: 265 seconds]
senayar has joined #ruby
RegulationD has joined #ruby
Y4Rv1K has joined #ruby
leat1 has quit [Ping timeout: 264 seconds]
HotCoder has joined #ruby
rushed has joined #ruby
Y4Rv1K has quit [Read error: Connection reset by peer]
deavid has quit [Ping timeout: 272 seconds]
senayar has quit [Ping timeout: 245 seconds]
sigden has joined #ruby
RegulationD has quit [Ping timeout: 256 seconds]
Miphix has joined #ruby
thomas is now known as evilthomas
nonparfumee has joined #ruby
bantic has joined #ruby
pengin has quit [Remote host closed the connection]
Brozo has left #ruby ["Leaving..."]
deavid has joined #ruby
sigden has quit [Ping timeout: 265 seconds]
aoyr115 has quit [Quit: aoyr115]
bkxd has joined #ruby
sigden has joined #ruby
fedexo has quit [Ping timeout: 256 seconds]
jbomo has left #ruby [#ruby]
GnuYawk has joined #ruby
riotjones has joined #ruby
bkxd has quit [Ping timeout: 244 seconds]
mc_fail has quit [Ping timeout: 244 seconds]
pontiki has quit [Quit: Textual IRC Client: www.textualapp.com]
mc_fail has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
riotjones has quit [Ping timeout: 264 seconds]
A205B064 has joined #ruby
fabrice31 has joined #ruby
mrsolo has joined #ruby
ruby-lang101 has joined #ruby
fabrice31 has quit [Ping timeout: 272 seconds]
leat1 has joined #ruby
vdamewood has quit [Quit: Life beckons.]
<ruby-lang101> anyone here?
<mozzarella> yes
jackjackdripper has joined #ruby
jackjackdripper has quit [Client Quit]
havenwood has quit [Ping timeout: 258 seconds]
ruby-lang101 has quit [Ping timeout: 246 seconds]
chinmay_dd has joined #ruby
datanoise has quit [Ping timeout: 246 seconds]
dopie has quit [Read error: Connection reset by peer]
lxsameer has joined #ruby
dopie has joined #ruby
bronson has joined #ruby
nini1294 has joined #ruby
Guest51_ has joined #ruby
OtterCoder has quit [Ping timeout: 255 seconds]
revath has joined #ruby
bantic has quit [Quit: bantic]
bronson has quit [Ping timeout: 272 seconds]
Limix has quit [Quit: Limix]
dopie has quit [Quit: Leaving]
leat1 has quit [Ping timeout: 244 seconds]
agilenav has joined #ruby
_blizzy_ has joined #ruby
workmad3 has joined #ruby
lavros has joined #ruby
Guest51_ has left #ruby ["Textual IRC Client: www.textualapp.com"]
agilenav has quit [Quit: Textual IRC Client: www.textualapp.com]
agilenav has joined #ruby
axsuul_ has quit [Read error: Connection reset by peer]
senayar has joined #ruby
axsuul has joined #ruby
agilenav has quit [Client Quit]
lxsameer has quit [Remote host closed the connection]
thelastinuit has joined #ruby
chinmay_dd has quit []
agilenav has joined #ruby
workmad3 has quit [Ping timeout: 250 seconds]
agilenav has quit [Client Quit]
agilenav has joined #ruby
_blizzy_ has quit [Ping timeout: 265 seconds]
fusillicode has left #ruby [#ruby]
senayar has quit [Ping timeout: 264 seconds]
mcclurmc has joined #ruby
lxsameer has joined #ruby
thelastinuit has quit [Quit: Textual IRC Client: www.textualapp.com]
leat1 has joined #ruby
ponga has quit [Ping timeout: 246 seconds]
Channel6 has quit [Quit: Leaving]
mcclurmc_ has quit [Ping timeout: 276 seconds]
datanoise has joined #ruby
speakingcode has joined #ruby
amclain has quit [Quit: Leaving]
adefa has joined #ruby
jmhmccr has quit [Quit: Connection closed for inactivity]
speaking1ode has quit [Ping timeout: 258 seconds]
yeticry has quit [Ping timeout: 240 seconds]
leat1 has quit [Remote host closed the connection]
fujimura has joined #ruby
leat1 has joined #ruby
Blaguvest has quit []
balazs_ has quit [Ping timeout: 265 seconds]
Soda has joined #ruby
Spami has joined #ruby
Kricir has quit [Remote host closed the connection]
yeticry has joined #ruby
vikaton has quit [Quit: Connection closed for inactivity]
agilenav has quit [Quit: Textual IRC Client: www.textualapp.com]
ponga has joined #ruby
adefa has quit [Ping timeout: 255 seconds]
multi_io has quit [Ping timeout: 245 seconds]
fujimura has quit [Ping timeout: 250 seconds]
mark[oz] has joined #ruby
lkba_ has quit [Read error: Connection reset by peer]
mark[oz] has quit [Remote host closed the connection]
agent_white has joined #ruby
j4cknewt has joined #ruby
multi_io has joined #ruby
armyriad has quit [Ping timeout: 272 seconds]
mcclurmc has quit [Remote host closed the connection]
bkxd has joined #ruby
j4cknewt has quit [Ping timeout: 256 seconds]
mcclurmc has joined #ruby
lkba has joined #ruby
bruno- has joined #ruby
mdw has joined #ruby
EllisTAA has joined #ruby
EllisTAA has quit [Client Quit]
KnownSyntax has joined #ruby
mdw has quit [Read error: Connection reset by peer]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
charliesome has quit [Quit: zzz]
lkba has quit [Read error: Connection reset by peer]
nonparfumee has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkxd has quit [Ping timeout: 255 seconds]
lkba has joined #ruby
<agent_white> Evenin' folks
Igorshp has quit [Ping timeout: 250 seconds]
Igorshp has joined #ruby
EllisTAA has joined #ruby
stardiviner has quit [Ping timeout: 246 seconds]
bruno- has quit [Ping timeout: 272 seconds]
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has joined #ruby
kies has joined #ruby
jmhmccr has joined #ruby
sandelius has joined #ruby
justintv90 has joined #ruby
<sandelius> anyone know it there's a good json serializer gem that does not depend on activesupper/activemodel
ghr has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby
<Ox0dea> sandelius: Are you using 1.8?
Jandre has joined #ruby
<sandelius> Ox0dea 2.2
Jandre is now known as Guest18546
<Ox0dea> sandelius: Does the standard JSON library not do what you need?
<sandelius> Ox0dea I need a seriale-mapper to structure my objects. jsonify looks interesing https://github.com/bsiggelkow/jsonify
justintv90 has quit [Ping timeout: 252 seconds]
<Ox0dea> sandelius: And you're certain you want to serialize complex objects to JSON?
<sandelius> Ox0dea it's for a REST api.
allomov has joined #ruby
<Ox0dea> sandelius: With what sort of data does your API respond?
mandarinkin has quit [Ping timeout: 276 seconds]
RegulationD has joined #ruby
<Ox0dea> Arrays, numbers, strings, and hashes, presumably?
<sandelius> Ox0dea Perhaps I should've said that I'm serializing model attributes. It's a SaaS application so it all kind of stuff including relations.
CloCkWeRX has joined #ruby
frank_o has joined #ruby
RegulationD has quit [Ping timeout: 256 seconds]
atm0sphere has joined #ruby
Miphix has quit [Quit: Leaving]
<atm0sphere> what is the difference between end and $end?
<sevenseacat> ones a keyword, one's a global variable
<atm0sphere> when i run a program it gives an error of $end missing but when i give it shows some another error
<sandelius> atm0sphere can you gist it?
datanoise has quit [Ping timeout: 250 seconds]
<sevenseacat> an error like that means you have an extra `end` - its expeting the end of file and not getting it
aapole has joined #ruby
<atm0sphere> gist?
<sevenseacat> ?gist
<ruboto> https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
tuelz2 has quit [Ping timeout: 256 seconds]
EllisTAA has quit [Quit: EllisTAA]
<shevy> sevenseacat is a teaching cat
senayar has joined #ruby
mandarinkin has joined #ruby
duderonomy has joined #ruby
senayar has quit [Ping timeout: 265 seconds]
micmus has quit [Quit: Leaving]
<Ox0dea> atm0sphere: How did you get yourself into such a mess?
hubcaps has joined #ruby
<atm0sphere> means?
<atm0sphere> beginner can get in such type error..
evilthomas is now known as thomas
bkxd has joined #ruby
Soda has quit [Remote host closed the connection]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stardiviner has joined #ruby
roolo has joined #ruby
<atm0sphere> exit
<bnagy> atm0sphere: $end is not a thing you should use
<atm0sphere> bnagy : it means there is some error in program
CloCkWeRX1 has joined #ruby
<bnagy> yes, there is
<bnagy> it looks like you want to delete line 6 and change line 10 to end (not $end)
<bnagy> you might also need a newline on line 4 after module AddressBook
<bnagy> even if you don't you should add one
internetfriend has joined #ruby
internetfriend has quit [Remote host closed the connection]
_ht has joined #ruby
<atm0sphere> i can say that in line 6 i have put an extra end which was unnecessary.. thanks
tvw has joined #ruby
<bnagy> oh, this is partial code
<atm0sphere> yes
<bnagy> sigh
<bnagy> carry on then :)
<atm0sphere> there you will get reuire error..
aapole has quit [Ping timeout: 265 seconds]
CloCkWeRX has quit [Ping timeout: 245 seconds]
<atm0sphere> there is no need of newline in line 4 means?
<bnagy> usually 'module Blah' is on a line by itself
<atm0sphere> always?
<Ox0dea> Always.
<bnagy> well I think it will parse
<bnagy> but you should put one there :)
<atm0sphere> ok
abuzze_ has quit [Remote host closed the connection]
sandelius has joined #ruby
bkxd has quit [Ping timeout: 264 seconds]
fabrice31 has joined #ruby
GnuYawk has quit [Ping timeout: 265 seconds]
<shevy> how do you guys handle/deal with html via ruby? do you use erb? do you generate html?
davedev24_ has quit [Ping timeout: 246 seconds]
<atm0sphere> copy and paste the code oftemplate
<baweaver> shevy: regex
dyce has quit [Read error: Connection reset by peer]
<bnagy> :<
<atm0sphere> also regx
blue_deref has quit [Quit: bbn]
mcclurmc has quit [Remote host closed the connection]
fujimura has joined #ruby
<baweaver> Normally HAML honestly though
<baweaver> erb is a bit clunky to me
davedev24_ has joined #ruby
<sandelius> baweave I like slim
sigden has quit [Quit: Lost terminal]
<baweaver> Ah, also, Lemur holding a Ruby in an old school newspaper style because I can: http://i61.tinypic.com/2rer0oo.jpg
dfockler has joined #ruby
hanmac has quit [Ping timeout: 265 seconds]
fabrice31 has quit [Ping timeout: 272 seconds]
<Ox0dea> > tinypic
<shevy> I can't tell what you are
<shevy> are you a beaver
<shevy> are you a lemur
MasterPiece has joined #ruby
<shevy> are you a shapechanger
<baweaver> I am all things to all people
<Ox0dea> >> 'baweaver'['beaver']
<ruboto> Ox0dea # => nil (https://eval.in/376405)
<baweaver> Redesigning the blog again
<baweaver> and the name is technically 'The Lapidary Lemur'
johnny_dz has quit []
<baweaver> Lapidary being one who works with gems
<sevenseacat> :D
<sevenseacat> nice.
<baweaver> So screwing about with stock photos and anthropomorphisms.
fujimura has quit [Ping timeout: 255 seconds]
<baweaver> (there is no way I spelled that right)
<Ox0dea> And yet you did.
<sevenseacat> its right afaik
marr has joined #ruby
<baweaver> huh, well go figure.
<baweaver> related to ruby in that I write ruby things on said blog
<Ox0dea> Why not "lapidicolous"?
<baweaver> because I already bought http://www.lapidarylemur.com
<sevenseacat> good reason.
* sevenseacat bought http://sevensea.cat the other day
<baweaver> wow, that does not like loading images properly. Hm.
dfockler has quit [Ping timeout: 246 seconds]
<baweaver> side note, chrome hates fixed images
<sandelius> I've open sourced a rack based framework I've used for a while. Anyone want to take a peek at it, it's here: http://ramverk.org/ A sandbox app can be cloned from here: https://github.com/ramverk/sandbox
ur5us has joined #ruby
<sandelius> I would really appreciate your thoughts
<sandelius> The website needs a lot of love though :)
atm0sphere has quit [Ping timeout: 246 seconds]
govg has quit [Read error: Connection reset by peer]
ghr has joined #ruby
<baweaver> sandelius: Website is actually not bad. Maybe a little less top margins there on the header but not bad by any stretch.
OrbitalKitten has joined #ruby
OrbitalKitten has quit [Client Quit]
serivichi has joined #ruby
<sandelius> baweaver ohh thanks. Writing docs is not easy. Especially when english isn't your native language
<sandelius> baweaver the code is prettier though :)
senayar has joined #ruby
serivich has quit [Ping timeout: 255 seconds]
ghr has quit [Ping timeout: 265 seconds]
<baweaver> http://www.fontsquirrel.com/fonts/nexa-rust - also got a font picked out for the redesign on headers. Going for oldschool design
hanmac has joined #ruby
<baweaver> (that site is handy for finding good free fonts by the way)
oo_ has joined #ruby
<sevenseacat> oh wow, oxygen has a mono font, that might work for my blog (of which the main font is oxygen)
<baweaver> Also, always pingable on design stuff
HotCoder has quit [K-Lined]
bronson has joined #ruby
charliesome has quit [Quit: zzz]
rubie has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 265 seconds]
gagrio has quit [Remote host closed the connection]
<sandelius> sevenseacat just read your post about database cleaner strategy. What about the transaction strategy?
<sevenseacat> sandelius: you cant use transaction strategy when dealing with integration tests, driven by an external browser
<sandelius> sevenseacat ahh yeah that's true. didn't think of that
jenrzzz has quit [Ping timeout: 264 seconds]
<sandelius> I'm trying out yaks (json mapper) https://github.com/plexus/yaks it's really nice
mrsolo has quit [Quit: This computer has gone to sleep]
bruno- has joined #ruby
rushed has quit [Quit: rushed]
xxneolithicxx has quit [Ping timeout: 255 seconds]
Ox0dea has left #ruby ["WeeChat 1.3-dev"]
arup_r has joined #ruby
arup_r has quit [Remote host closed the connection]
adefa has joined #ruby
bkxd has joined #ruby
TheHodge has joined #ruby
tsujp has joined #ruby
bruno- has quit [Ping timeout: 255 seconds]
ahmetkapikiran has joined #ruby
tsujp has quit [Client Quit]
gagrio has joined #ruby
yeticry has quit [Ping timeout: 256 seconds]
yeticry has joined #ruby
charliesome has joined #ruby
mister_solo has joined #ruby
adefa has quit [Ping timeout: 276 seconds]
ahmetkapikiran has quit [Client Quit]
allomov has quit [Remote host closed the connection]
allomov has joined #ruby
nish1294 has joined #ruby
doctorly has joined #ruby
ponga has quit [Read error: No route to host]
frank_o has quit [Ping timeout: 258 seconds]
nini1294 has quit [Ping timeout: 272 seconds]
allomov has quit [Ping timeout: 252 seconds]
bkxd has quit [Ping timeout: 246 seconds]
yfeldblum has quit [Ping timeout: 256 seconds]
Guest18546 has quit [Ping timeout: 272 seconds]
Langlands has joined #ruby
frank_o has joined #ruby
relix has joined #ruby
starfox_sf has quit [Ping timeout: 250 seconds]
senayar_ has joined #ruby
starfox_sf has joined #ruby
Rixius has quit [Ping timeout: 246 seconds]
nini1294 has joined #ruby
mrsolo has joined #ruby
IanVorn has joined #ruby
nish1294 has quit [Ping timeout: 244 seconds]
car has joined #ruby
car has quit [Read error: Connection reset by peer]
affenhoden has quit [Quit: leaving]
senayar has quit [Ping timeout: 276 seconds]
duncannz has quit [Ping timeout: 272 seconds]
Rixius has joined #ruby
jgt1 has joined #ruby
yeticry has quit [Remote host closed the connection]
mdz_ has joined #ruby
yeticry has joined #ruby
n008f4g_ has joined #ruby
DeBot has quit [Remote host closed the connection]
sandstrom has joined #ruby
jhass has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
tkuchiki has joined #ruby
frank_o has quit [Ping timeout: 272 seconds]
jgt1 has quit [Client Quit]
mdz_ has quit [Ping timeout: 256 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
doctorly has quit [Ping timeout: 265 seconds]
thelastinuit has joined #ruby
codecop has joined #ruby
duncannz has joined #ruby
IanVorn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
codecop has quit [Remote host closed the connection]
yfeldblum has joined #ruby
Jackneill has joined #ruby
gamer5 has joined #ruby
jgt has joined #ruby
cryptarium_ has quit [Ping timeout: 265 seconds]
RegulationD has joined #ruby
<gamer5> Free hosting by 4DY.co MySQL and PHP5 Enabled. Find out more at http://hosting.4dy.co
gamer5 has quit [Client Quit]
ghr has joined #ruby
<sevenseacat> lol
timonv has joined #ruby
mikecmpbll has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
<pipework> lul
gauke has joined #ruby
langland_ has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
Langlands has quit [Ping timeout: 256 seconds]
k3asd` has joined #ruby
huaming has joined #ruby
lkba has quit [Read error: Connection reset by peer]
jack_rabbit has quit [Ping timeout: 258 seconds]
mujou has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rubie has joined #ruby
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
kies has quit [Ping timeout: 265 seconds]
huaming has quit [Quit: huaming]
ur5us has quit [Remote host closed the connection]
rubie has quit [Ping timeout: 265 seconds]
krz has joined #ruby
IanVorn has joined #ruby
mister_solo has quit [Ping timeout: 250 seconds]
_blizzy_ has joined #ruby
<baweaver> sevenseacat: http://i57.tinypic.com/2d1wxll.png - rough idea of it, though I really like that font.
<sevenseacat> haha thats awesom
<sevenseacat> e
timonv has quit [Ping timeout: 252 seconds]
<baweaver> It'll take some work to get those vertical bars right though.
<baweaver> Heh, someone just asked if it was a flyer for my magic show
<baweaver> I mean I like to think of half the stuff I do at work as magic but that's pushing it a bit, no?
<sevenseacat> :P
<sevenseacat> most of the stuff I do at work is... unglamorous
<baweaver> though magic is often a euphemism for please dear god don't poke it too hard or prod will die
shock_one has joined #ruby
_blizzy_ has quit [Ping timeout: 255 seconds]
jds has joined #ruby
chussenot has joined #ruby
bkxd_ has joined #ruby
rbowlby has quit [Remote host closed the connection]
chussenot has quit [Client Quit]
bkxd has quit [Ping timeout: 244 seconds]
A205B064 has quit [Ping timeout: 276 seconds]
chussenot has joined #ruby
gauke has quit [Quit: gauke]
fujimura has joined #ruby
senayar has joined #ruby
senayar has joined #ruby
huaming has joined #ruby
<adaedra> Hi!
michas has joined #ruby
justintv90 has joined #ruby
DoubleMalt has joined #ruby
senayar_ has quit [Ping timeout: 250 seconds]
fujimura has quit [Ping timeout: 265 seconds]
baweaver has quit [Remote host closed the connection]
CloCkWeRX1 has quit [Ping timeout: 255 seconds]
aapole has joined #ruby
justintv90 has quit [Ping timeout: 256 seconds]
yoongkang has quit [Remote host closed the connection]
yoongkang has joined #ruby
fabrice31 has joined #ruby
bruno- has joined #ruby
IanVorn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
phutchins has quit [Ping timeout: 250 seconds]
fusillicode1 has joined #ruby
fusillicode1 has left #ruby [#ruby]
fabrice31 has quit [Ping timeout: 272 seconds]
mike___1234 has quit [Ping timeout: 250 seconds]
n1x has quit [Ping timeout: 256 seconds]
n1x has joined #ruby
Langlands has joined #ruby
aapole has quit [Ping timeout: 265 seconds]
joneshf-laptop has quit [Remote host closed the connection]
fusillicode has joined #ruby
symm- has joined #ruby
fusillicode has left #ruby [#ruby]
CloCkWeRX has joined #ruby
joneshf-laptop has joined #ruby
langland_ has quit [Ping timeout: 256 seconds]
bkxd_ has quit [Ping timeout: 250 seconds]
ghr has joined #ruby
huaming has quit []
workmad3 has joined #ruby
axsuul has quit [Quit: Textual IRC Client: www.textualapp.com]
msgodf has joined #ruby
ghr has quit [Ping timeout: 265 seconds]
toretore has joined #ruby
shock_one has quit []
Igorshp has quit [Remote host closed the connection]
adefa has joined #ruby
DEA7TH has joined #ruby
datanoise has joined #ruby
veleno has joined #ruby
j4cknewt has joined #ruby
armyriad has joined #ruby
langland_ has joined #ruby
adefa has quit [Ping timeout: 244 seconds]
sandelius has joined #ruby
datanoise has quit [Ping timeout: 264 seconds]
Langlands has quit [Ping timeout: 264 seconds]
veleno has quit [Quit: veleno]
veleno has joined #ruby
<zotherstupidguy> baweaver i like your impersonal interview post
mandarinkin has quit [Ping timeout: 272 seconds]
<zotherstupidguy> baweaver this is what a team should look like https://www.youtube.com/watch?v=ydRAb9cwHnA
blt has joined #ruby
chipotle has quit [Quit: cheerio]
tibig has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
olistik has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
Spami has quit [Quit: This computer has gone to sleep]
Spami has joined #ruby
Spami has quit [Remote host closed the connection]
OrbitalKitten has joined #ruby
symm- has quit [Ping timeout: 265 seconds]
mh888 has joined #ruby
mh888 has quit [Client Quit]
OrbitalKitten has quit [Client Quit]
workmad3 has quit [Ping timeout: 250 seconds]
mandarinkin has joined #ruby
rubie has joined #ruby
veleno has quit [Quit: veleno]
<jgt> good morning
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
<jgt> if I check what a string contains with "string".chars.map(&:ord), how can I check what character each number represents?
g0rx_ is now known as g0rx
Rollabunna has joined #ruby
caseypatrickdris has joined #ruby
razorgfx has joined #ruby
rubie has quit [Ping timeout: 265 seconds]
olistik has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tkuchiki has quit [Ping timeout: 250 seconds]
lessless has joined #ruby
sdothum has joined #ruby
<jgt> got it
<jgt> >> 92.chr
<ruboto> jgt # => "\\" (https://eval.in/376451)
AlexAltea has joined #ruby
<jgt> but wtf is a "\\"? :D
caseypatrickdris has quit [Remote host closed the connection]
<toretore> >> puts "\\"
<ruboto> toretore # => \ ...check link for more (https://eval.in/376453)
<jgt> toretore: I *think* it’s tab character
<jgt> or… non-breaking space?
Langlands has joined #ruby
RegulationD has joined #ruby
micmus has joined #ruby
rushed has joined #ruby
langland_ has quit [Ping timeout: 250 seconds]
<toretore> it's a \
<jgt> ah…
<jgt> the string that I have begins with [92, 116…
<jgt> and together, that makes "\t"
<toretore> what is it exactly you're trying to do?
RegulationD has quit [Ping timeout: 258 seconds]
aryaching has joined #ruby
senayar has quit [Remote host closed the connection]
<jgt> validate an email address from a database import
<jgt> when I look at the old data, I see one email address has a leading tab character
jesterfraud has joined #ruby
<jgt> and .strip doesn’t remove it
<jgt> the regex I’m validating email addresses against doesn’t allow tab chars
sepp2k has joined #ruby
<sevenseacat> regex and email. oh boy.
<jesterfraud> sevenseacat, my thoughts exactly
<sevenseacat> oh hello again jesterfraud
<jgt> sevenseacat: oh here we go…
<jesterfraud> sevenseacat, I figured I'd come visit the original channel
Ox0dea has joined #ruby
<sevenseacat> :D
<jesterfraud> just wish IRC was a little more... modern. :'(
<jgt> in my case, regex is *good enough*
<jesterfraud> jgt, does it support + characters?
<jgt> I *know* I don’t want tab characters in email addresses
<harly> if by good enough you mean it doesn't allow all email addresses, then no, that's not good enough :)
<Ox0dea> jgt: Observe...
<Ox0dea> >> '\t' == "\t"
jenrzzz has joined #ruby
<ruboto> Ox0dea # => false (https://eval.in/376455)
<jesterfraud> oh wow, that bot
<jgt> jesterfraud: none of the data I’m operating on contains + characters
<Ox0dea> >> ['\t'.length, "\t".length]
<ruboto> Ox0dea # => [2, 1] (https://eval.in/376456)
<jgt> so it doesn’t *need* to support + characters
<jesterfraud> jgt, I use + signs in my email address to make 'subaddresses' if I don't trust a website
<jgt> jesterfraud: I don’t care about you, I care about the data I’m operating on
mc_fail has quit [Ping timeout: 272 seconds]
<jesterfraud> they're not that uncommon
<jesterfraud> fair enough
<jgt> they’re non-existent in my data
<sevenseacat> lol
sigurding has joined #ruby
mc_fail has joined #ruby
ghr has joined #ruby
langland_ has joined #ruby
dzejrou has joined #ruby
ruurd has joined #ruby
<jesterfraud> Ox0dea, do you know what the story is behind those strings being different, or am I derping and that's just special... yeah, that's special characters.
<jesterfraud> I'll just be here in the corner
_blizzy_ has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
idafyaid has joined #ruby
<Ox0dea> jesterfraud: Single quotes make escape sequences effectively meaningless.
<Ox0dea> They're "raw" strings, more or less.
<jesterfraud> yeah, so it's literally '\t'
Langlands has quit [Ping timeout: 256 seconds]
harly has quit [Quit: Leaving]
<jesterfraud> is there a meaningful difference in runtime if you use "" over '' in code when you don't use special characters? My IDE complains about it
iamninja has quit [Read error: Connection reset by peer]
<sevenseacat> no disadvantage.
<ruurd> Ox0dea yep that is why a rubyist should prefer them as long as 'magic' is not necessary...
iamninja has joined #ruby
HoloIRCUser1 has joined #ruby
<Ox0dea> ruurd: If by "magic" you mean interpolation, then sure.
sandelius has joined #ruby
ghr has quit [Ping timeout: 246 seconds]
<ruurd> Well if you use "" then you invoke interpolation. Which does not find anything. But still unnecessary.
Langlands has joined #ruby
<Ox0dea> I'm not sure that's the case, but parse.y is scary.
<ruurd> interpolation yes, interpretation of special chars yes...
<Ox0dea> I'm sure there are checks in place to refrain from invoking unnecessarily costly behavior in the parser.
HoloIRCUser1 has quit [Remote host closed the connection]
<ruurd> it is probably a pretty performant piece of code yes but that does not excuse me to use the proper quotes to begin with...
<ruurd> From that point: rubocop your code.
<sevenseacat> I use double quotes always. keep it consistent.
<jesterfraud> I feel like I've started a "tabs vs spaces" argument
langland_ has quit [Ping timeout: 264 seconds]
<jesterfraud> or should that a 'tabs vs spaces' argument?
<sevenseacat> #dangerzone
<sevenseacat> i see what you did there
<jesterfraud> Topic for #dangerzone is: That's how you get ANTS!
olistik has quit [Remote host closed the connection]
<yoongkang> someone actually benchmarked it
<yoongkang> let me find the article
MasterPiece has quit [Quit: Leaving]
<yoongkang> the comments are good reading too
<Mon_Ouie> >> puts RubyVM::InstructionSequence.disassemble(lambda { "x" })
<ruboto> Mon_Ouie # => == disasm: <RubyVM::InstructionSequence:block in <main>@/tmp/execpad-3660d3aa4cd7/source-3660d3aa4cd ...check link for more (https://eval.in/376457)
<Mon_Ouie> >> puts RubyVM::InstructionSequence.disassemble(lambda { 'x' })
<ruboto> Mon_Ouie # => == disasm: <RubyVM::InstructionSequence:block in <main>@/tmp/execpad-9b6d91682850/source-9b6d9168285 ...check link for more (https://eval.in/376458)
<Mon_Ouie> (They compile to the same code if you don't use string interpolation)
<sevenseacat> some of the comments are like 'i use single quotes to show there is nothing interesting happening in this string' do people use an editor that doesnt highlight things like interpolation in strings?
__Bn has joined #ruby
<__Bn> hey
<Ox0dea> Mon_Ouie just made the benchmarker look quite a fool.
<__Bn> what are the best screencasts to learn ruby for a beginner?
<sevenseacat> Mon_Ouie: nice.
<sevenseacat> i wouldnt say a fool, but thats a good point.
<__Bn> lol Ox0dea but seriously? I prefer screencasts lol
<Ox0dea> __Bn: Then you're doomed. Screencasts should be supplementary.
<jesterfraud> I guess I'll tell my IDE to stop complaining then
yeticry has quit [Read error: Connection reset by peer]
__Bn has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
yeticry has joined #ruby
postmodern has quit [Quit: Leaving]
olistik has joined #ruby
jud^ has quit [Quit: Leaving]
michas has quit [Read error: Connection reset by peer]
caseypatrickdris has joined #ruby
fujimura has joined #ruby
caseypatrickdris has quit [Read error: Connection reset by peer]
caseypatrickdris has joined #ruby
mc_fail has quit [Ping timeout: 265 seconds]
sarkyniin has joined #ruby
mc_fail has joined #ruby
livathinos has joined #ruby
fujimura has quit [Ping timeout: 258 seconds]
spider-mario has joined #ruby
<alexherbo2> Hi
caseypatrickdris has quit [Remote host closed the connection]
<alexherbo2> How to make Sinatra work over HTTPS/SSL?
nfk has joined #ruby
<Ox0dea> >> [->{'x'},->{"x"},->{%q x },->{%Q x }].map { |q| RubyVM::InstructionSequence.of(q).to_a.hash }.uniq
<ruboto> Ox0dea # => [245533864] (https://eval.in/376468)
<Ox0dea> MRI is pretty clever.
ferr has joined #ruby
langland_ has joined #ruby
gamer5 has joined #ruby
ht__ has joined #ruby
troulouliou_dev has quit [Remote host closed the connection]
<ag4ve> Ox0dea: can you explain that output?
<Ox0dea> Four different lambdas are constructed, each of which returns the letter 'x' using various of Ruby's quoting mechanisms.
Langlands has quit [Ping timeout: 265 seconds]
<sevenseacat> ah, and they all compile to the same thing
j4cknewt has quit [Remote host closed the connection]
krz has quit [Ping timeout: 250 seconds]
<ag4ve> mmm, ok i think i kinda get that.... cool
phale has joined #ruby
atn has joined #ruby
<phale> Hello, fellow Rubians
neanderslob has quit [Read error: Connection reset by peer]
<atn> tell why m getting an error on writting 1:var="sgfvrs" 2:puts var 3: end
yfeldblum has quit [Ping timeout: 265 seconds]
<phale> well for one you can't numerate lines
<phale> >> var = "sgfvrs"; puts var;
<ruboto> phale # => sgfvrs ...check link for more (https://eval.in/376469)
<atn> iit is telling unexpected end
<phale> is it in a method?
chipotle has joined #ruby
<phale> if it's not in a method, safely remove the end
<atn> its a simple prog for beginner
<phale> remove end ..
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<phale> Goodbye, fellow Rubians
<atn> then it tells undefined local / variable method "sgfvrs"
<phale> can you please put your code on pastebin or something?
fabrice31 has joined #ruby
<phale> simply putting it here while numerating it isn't really helpful
<atn> on gist
<phale> sure
mdw has joined #ruby
<phale> I'm pretty sure an array of characters is to be put in a string
<phale> remove the end, and replace var = sdsddsf
<phale> with var = "sdsddsf"
chussenot has quit [Quit: chussenot]
<atn> thanks it work great
<phale> no problem, you should read a book on ruby though
chussenot has joined #ruby
<phale> or a tutorial online
<atn> i read it but forget it too
Ox0dea has left #ruby ["WeeChat 1.3-dev"]
<phale> try, "The Ruby Programming Language"
<phale> i think they use 1.8.0 or something there which is obsolete
<phale> but everything there should apply to 2.2.0+
rubie has joined #ruby
fabrice31 has quit [Ping timeout: 272 seconds]
senayar has joined #ruby
<zotherstupidguy> i want someone to help me understand Rack::Utils::OkJson sourcecode
<phale> zotherstupidguy: I think it's a JSON parser.
<zotherstupidguy> yes it is
<phale> so what do you not understand?
rubie has quit [Ping timeout: 265 seconds]
<zotherstupidguy> why not just "hi".to_json
aryaching has quit []
<phale> well how does the libary want you to do it
<phale> library*
<zotherstupidguy> huh?
Musashi007 has quit [Quit: Musashi007]
<phale> nevermind
<phale> I?m not specialized to help you with this
adefa has joined #ruby
<zotherstupidguy> i would take any leads :)
<zotherstupidguy> i just read a lot of cryptic code in it! i dont get it
houhoulis has quit [Remote host closed the connection]
<atn> can i ask ffi question of ruby here?
<wasamasa> you are not allowed to ask meta questions
ghr has joined #ruby
<zotherstupidguy> atn what is ffi?
<wasamasa> ...
<wasamasa> zotherstupidguy: you really do live up to your name, don't you
<atn> foreign function interface
<jesterfraud> OUCH
<zotherstupidguy> first time to hear it
<atn> huh...
<jesterfraud> same
<atn> you aere working on json ?
<zotherstupidguy> yeah
<zotherstupidguy> is it related?
<phale> wasamasa: it would help if you would respect other users on here
<atn> you have used ffi somewhere
<zotherstupidguy> phale no harm, its ok =)
adefa has quit [Ping timeout: 256 seconds]
<zotherstupidguy> thanks :)
tsou has quit [Ping timeout: 245 seconds]
duncannz has quit [Ping timeout: 244 seconds]
mc_fail has quit [Ping timeout: 265 seconds]
<zotherstupidguy> atn so using somthing like `echo hi` in ruby is considered ffi?
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghr has quit [Ping timeout: 252 seconds]
<alexherbo2> jesterfraud: yes :(
<jesterfraud> zotherstupidguy, it's more that JSON handling is passed off to another library
<jesterfraud> as a general rule
<atn> no it is used for inherting the quality of another program to exiting program
<wasamasa> zotherstupidguy: ever used a C library?
<wasamasa> zotherstupidguy: FFI is what allows you to do that from ruby code
<jesterfraud> alexherbo2, what didn't work?
<alexherbo2> hold on
mc_fail has joined #ruby
<zotherstupidguy> wasamasa oh, so its related to ruby's c extensions right?
<wasamasa> zotherstupidguy: yup
<phale> wasamasa: FFI doesn't have to originate from C
<atn> right
<zotherstupidguy> wasamasa thanks =)
agent_white has quit [Quit: goodnight]
<alexherbo2> jesterfraud: https://bpaste.net/show/5c4787007c43
<wasamasa> phale: no, of course not, but that's the most common case
<phale> yeah
<wasamasa> phale: and the simplest one, too
<alexherbo2> server.rb localhost:1234
<phale> alexherbo2: your tabbing triggers me
ruurd has quit [Quit: Zzzzz z zz ...]
<alexherbo2> to generate cert
jhass has joined #ruby
jgt has quit [Ping timeout: 244 seconds]
<alexherbo2> then I tried curl https://localhost:1234 --data "echo Hello.world"
tsou has joined #ruby
sarkyniin has quit [Ping timeout: 250 seconds]
<jesterfraud> alexherbo2, and what happened?
<alexherbo2> jesterfraud: i want to do a chrome extension and use bin/serve to execute shell
<alexherbo2> humm
<alexherbo2> wait ^^
iamninja has quit [Read error: Connection reset by peer]
<jesterfraud> alexherbo2, I'm not really all that fantastic on Sinatra, but I guess I'm trying to get to the root of the issue so that, at worst, some genius here could answer
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jesterfraud> alexherbo2, that's actually working
<jesterfraud> the issue is that by default, curl (and pretty much everything else) won't accept a self-signed SSL certificate
iamninja has joined #ruby
<jesterfraud> because literally anyone can generate one
<zotherstupidguy> jesterfraud is that the same-origin dance?
<jesterfraud> zotherstupidguy, nope
<jesterfraud> self signed certificates are untrusted
<jesterfraud> so pretty much every utility will not accept them by default
<alexherbo2> jesterfraud: i want it works in chrome
<alexherbo2> :(
<jesterfraud> regardless of origin
<jesterfraud> alexherbo2, you might need to buy an SSL cert then
<alexherbo2> my extension does not work on https page :/
<alexherbo2> erf
<jesterfraud> otherwise it's self-signed
<jesterfraud> and untrusted
<zotherstupidguy> jesterfraud it doesnt work means you get a warning page and then pass it?
<jesterfraud> not in alex's case
chussenot has quit [Quit: chussenot]
<jesterfraud> because he's trying to load content from an unsecure source on a secure page
<jesterfraud> which, come to think of it, could be a same-origin dance
<jesterfraud> in his specific scenario (not for the cURL call)
<zotherstupidguy> i dont remmber much really, but self-singed ssl wasn't a big deal, it is just not practical becauase it scars users.
FernandoBasso has joined #ruby
<jesterfraud> zotherstupidguy, the problem is more that most utilties won't have anything to do with a self-signed certificate, Chrome and cURL being two of them
<jesterfraud> which means unless alexherbo2 adds his SSL cert to his trusted certificates, Chrome won't load the page without prompting him
<jesterfraud> and because he's not visiting the page, but rather loading content from that server, it won't prompt him
workmad3 has joined #ruby
<phale> oh god
<phale> bye
phale has left #ruby ["Leaving"]
sigurding has quit [Quit: sigurding]
<jesterfraud> what was that about? O.o
sarkyniin has joined #ruby
<zotherstupidguy> not really sure..
<jesterfraud> alexherbo2, your issues here do not lie with Ruby, so this may not be the right channel to pursue this further.
<jesterfraud> the Ruby side of the equation is working as intended
ruby-lang475 has joined #ruby
<alexherbo2> jesterfraud: :'(
<alexherbo2> my plugin is useless then :/
Evangelia has joined #ruby
millerti has joined #ruby
<Evangelia> Check this out, http://crystal-lang.org/
workmad3 has quit [Ping timeout: 256 seconds]
<zotherstupidguy> alexherbo2 you can buy a cheap cert btw
chipotle has quit [Quit: cheerio]
<alexherbo2> zotherstupidguy: but all user of my plugin will have to buy cert :/
<jesterfraud> alexherbo2, are you going to require them to run the server on their own computer?
<alexherbo2> yes
<jesterfraud> if so, they will have to, unless you just want to blindly distribute your certificate over the internet (NOT RECOMMENDED)
<zotherstupidguy> this is werid
<alexherbo2> the server is used to execute shell command
lxsameer has quit [Quit: Leaving]
<alexherbo2> there is no way otherwise to have shell access with chrome
varunwachaspati has joined #ruby
<jesterfraud> alexherbo2, that's a _feature_
slopjong has joined #ruby
atn has quit [Ping timeout: 246 seconds]
<jesterfraud> it's a security issue
<alexherbo2> i know
<zotherstupidguy> botnet heaven
mdw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<slopjong> what does ruby do with $@ in a string? the command system("SKIP_VAGRANT_INSTALL_PLUGINS=true vagrant $@") doesn't behave as expected
<alexherbo2> arrf
Rickmasta has joined #ruby
symm- has joined #ruby
<slopjong> the arguments are going to be lost
nofxx has quit [Ping timeout: 246 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jesterfraud> alexherbo2, if this doesn't cover what you need, you are out of luck: https://developers.google.com/native-client/
dorei has joined #ruby
<zotherstupidguy> slopjong where you got that?
apt-get_ has joined #ruby
* alexherbo2 make a facepalm
<alexherbo2> :(
<alexherbo2> jesterfraud: i will have a look thanks
<slopjong> zotherstupidguy, from a custom ruby script, tbh i'm not a ruby expert
<zotherstupidguy> alexherbo2 i would look at html5 way for a compromise
Fooster has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<zotherstupidguy> slopjong gist?
ruby-lang475 has quit [Ping timeout: 246 seconds]
scripore has joined #ruby
nish1294 has joined #ruby
RegulationD has joined #ruby
t_ has quit [Remote host closed the connection]
sarkyniin has quit [Ping timeout: 276 seconds]
chussenot has joined #ruby
<jesterfraud> I'm going to that part of the world where I don't have to deal with people - bed. Night all!
<zotherstupidguy> jesterfraud goodnight :)
<sevenseacat> lol see ya jesterfraud
nini1294 has quit [Ping timeout: 272 seconds]
nish1294 has quit [Ping timeout: 244 seconds]
RegulationD has quit [Ping timeout: 265 seconds]
Igorshp has joined #ruby
cosmicexplorer has joined #ruby
<slopjong> zotherstupidguy, http://pastie.org/10226592
<slopjong> zotherstupidguy, is it correct as i pass "#{ARGV}" to the system command?
icbm has joined #ruby
icbm has quit [Client Quit]
datanoise has joined #ruby
SalexW has joined #ruby
DeBot_ has joined #ruby
MrBeardy has joined #ruby
DeBot_ has quit [Client Quit]
DeBot_ has joined #ruby
<zotherstupidguy> slopjong ARGV is a hash, right?
<slopjong> i guess
DeBot_ has quit [Client Quit]
<ytti> ARGV is an array
<ytti> maybe you're confusing to ENV
<slopjong> zotherstupidguy, i want to install some plugins when running specific vagrant commands (up, reload, provision) and the system call should pass the current script's argument to the nested vagrant call
chridal has joined #ruby
<chridal> HellO!
<slopjong> this seems necessary since i'm getting vagrant section errors because vagrant seems not to load the plugins during its execution
Fooster has quit [Ping timeout: 255 seconds]
Fooster_ has joined #ruby
<slopjong> at least not right before Vagrant.configure but before i install the new plugins
DeBot_ has joined #ruby
<slopjong> ytti, the script's arguments are not related to the environment variable
DeBot_ has joined #ruby
jhass is now known as DeBot
<slopjong> ytti, the env var is just a flag to skip the installation of the plugins during the nested execution
DeBot is now known as jhass
DeBot_ has quit [Client Quit]
<chridal> Could someone please tell why this code is so INSANELY slow? https://gist.github.com/christiandalsvaag/ae4e560fc88e75234cc0#file-generate_notification_job-rb-L17-L27
DeBot has joined #ruby
<chridal> The files take 9 seconds to load in RSpec...
ferr has quit [Ping timeout: 244 seconds]
<chridal> Seems that this might be a problem with my system..
GriffinHeart has joined #ruby
Fooster_ has quit [Ping timeout: 264 seconds]
ghr has joined #ruby
<zotherstupidguy> slopjong check https://gist.github.com/zotherstupidguy/bebd38577d2887dd9388 also #vagrant
GriffinHeart has quit [Remote host closed the connection]
chussenot has quit [Quit: chussenot]
<zotherstupidguy> chridal could you explain what youa re trying to do in plain english?
revath has left #ruby [#ruby]
<zotherstupidguy> chridal better add it as a comment
k3asd` has quit [Ping timeout: 264 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mc_fail_ has joined #ruby
<chridal> zotherstupidguy: It was only slow because of my system. Have no idea why
olistik has quit [Remote host closed the connection]
victorkohl has joined #ruby
<chridal> Appreciate your time though
<chridal> I **
ghr has quit [Ping timeout: 276 seconds]
Langlands has joined #ruby
<slopjong> zotherstupidguy, the array's elements need to be joined and the following works perfectly: exec "SKIP_VAGRANT_INSTALL_PLUGINS=true vagrant #{ARGV.join(' ')}"
<zotherstupidguy> slopjong thanks for the feedback :)
GriffinHeart has joined #ruby
mc_fail has quit [Ping timeout: 264 seconds]
langland_ has quit [Ping timeout: 250 seconds]
GriffinHeart has quit [Remote host closed the connection]
DoubleMalt has quit [Ping timeout: 255 seconds]
fujimura has joined #ruby
elev has joined #ruby
elev is now known as Master44
<Master44> +i
dzejrou has quit [Ping timeout: 264 seconds]
yoongkang has quit [Remote host closed the connection]
<Master44> what does eql means?
tvw has quit [Remote host closed the connection]
yoongkang has joined #ruby
fujimura has quit [Ping timeout: 244 seconds]
<qsuscs> is there any difference between "foo" and 'foo' in ruby?
<sevenseacat> with that content? no.
<zotherstupidguy> good answer!
<Mon_Ouie> The #eql? method is used for hash equality, i.e. it's how two objects are compared when they're used as keys in a hash
<zotherstupidguy> also content vs manipulation matters i guess
<qsuscs> sevenseacat: so does this mean there can be a difference if i put more than a simple string in the quotes?
jgt has joined #ruby
michas has joined #ruby
<sevenseacat> yes, if you had something like '#{foo}' that means something different when used in double quotes - look up string interpolation
<Mon_Ouie> >> '\n'.length
<ruboto> Mon_Ouie # => 2 (https://eval.in/376489)
<Mon_Ouie> >> "\n".length
<ruboto> Mon_Ouie # => 1 (https://eval.in/376490)
<qsuscs> >> foo = 42; puts '#{foo}' + "#{foo}"
<ruboto> qsuscs # => #{foo}42 ...check link for more (https://eval.in/376491)
msnyon has joined #ruby
<Master44> sevensecat?
ebbflowgo has quit [Quit: ebbflowgo]
jgt has quit [Ping timeout: 255 seconds]
<shevy> no not sevensecat
<shevy> sevenseacat
<sevenseacat> sup.
<Master44> why
<sevenseacat> becuase thats how you spell it?
<Master44> well k :P
<Master44> can "#{x}" be different from '#{x}'
<Master44> like another value
<MrBeardy> wasn't that question just answered
<Master44> the quote yes, not the value
<sevenseacat> it was.
<Master44> so the value can be different?
<Mon_Ouie> Twice, actually
<Master44> lol xD
<Master44> I am using terminal cant scroll up
<Mon_Ouie> See the example code above
<Master44> I cant
<Mon_Ouie> Switch to a better one then
<Master44> like a browser?
DoubleMalt has joined #ruby
GriffinHeart has joined #ruby
psy_ has quit [Read error: No route to host]
<Mon_Ouie> Most terminal-based IRC clients allow you to scroll
<jhass> fun fact: they've been told how in their case already
<Master44> well how can I scroll?
<Master44> I use terminal on mac osx yosemite
<adaedra> Try Page Up
<Master44> page up
a346 has joined #ruby
a346 has quit [Client Quit]
<adaedra> (Fn + Up if you don't have Page Up key)
<Master44> Fn + up
<Master44> (fn + up)
<Master44> lol xD
<adaedra> The key on your keyboard :)
<Master44> ohh
<Master44> yes it worked xD
<Master44> thanks :)
<adaedra> (btw, iTerm 2 > Terminal.app ;) )
<Master44> ok :P
apt-get_ has quit [Quit: Quit]
RegulationD has joined #ruby
ziprar has joined #ruby
datanoise has quit [Ping timeout: 276 seconds]
gambl0re has quit [Ping timeout: 265 seconds]
Sirrr has joined #ruby
zipace has quit [Disconnected by services]
zipace has joined #ruby
intinig has joined #ruby
DEA7TH has quit [Remote host closed the connection]
parduse is now known as Guest85206
Guest85206 has quit [Ping timeout: 272 seconds]
<Master44> whats the code if I want to print out a..z in one line of code?
<sevenseacat> ...
yardenbar has joined #ruby
RegulationD has quit [Ping timeout: 245 seconds]
pardusf has joined #ruby
<Master44> sevenseacat what?
tkuchiki has joined #ruby
<sevenseacat> 'plz give me teh codes'
atomical has joined #ruby
<Master44> like I want to print out a,b,c,d,e,f,g
<Master44> on the screen
<Master44> how can I do that without print "a,b,c,d,e,f,g
ndrei has quit [Ping timeout: 245 seconds]
<shevy> Master44 you have a range
<shevy> right?
<Master44> range means?
roolo has quit [Remote host closed the connection]
<shevy> it starts somewhere
<shevy> it ends somewhere
<Master44> yes
<shevy> ok
<shevy> so first, get your range
<shevy> second, turn into array
<shevy> third, display each element of the array
ndrei has joined #ruby
<shevy> if you have never used a Range before, look http://ruby-doc.org/core-2.2.0/Range.html
<shevy> it even gives you examples
<Master44> so i cant just do something easier?
<Master44> like "a".."z"
<MrBeardy> Master44: You can, by reading.
<Master44> ok thanks :)
hollywood has quit [Ping timeout: 252 seconds]
alem0lars has quit [Ping timeout: 252 seconds]
silverdust has quit [Ping timeout: 252 seconds]
mc_fail_ has quit [Read error: Connection reset by peer]
mc_fail has joined #ruby
bronson has joined #ruby
The_Phoenix has joined #ruby
jerematic has joined #ruby
thisirs has joined #ruby
<shevy> Master44 have you not looked at the examples
<shevy> how is this possible
fabrice31 has joined #ruby
<shevy> do you not have a browser
<shevy> ('a'..'e').to_a #=> ["a", "b", "c", "d", "e"]
<shevy> this was the third example
<Master44> I got it now
<shevy> so replace 'e' with 'z'; is this possible?
<shevy> ;)
<Master44> its ("a".."z").to_a
<shevy> \o/
<Master44> xD
<MrBeardy> also join, to_a gives you an array
<Master44> I am very bad englich so I dont understand all shit
<Master44> lol
__chris has joined #ruby
<Master44> but thanks thought
<Master44> got it now :)
<__chris> Good morning.
<Master44> good morning sir
hollywood has joined #ruby
<__chris> How is it possible to call methods within a class outside of definition? For example, in a Rails model its possible to call `has_many :foo`
<__chris> How would I add such a method to a concern?
bronson has quit [Ping timeout: 256 seconds]
yeticry has quit [Ping timeout: 276 seconds]
alem0lars has joined #ruby
silverdust has joined #ruby
silverdust is now known as Guest94150
tekk has quit [Ping timeout: 252 seconds]
yeticry has joined #ruby
tekk has joined #ruby
fabrice31 has quit [Ping timeout: 256 seconds]
DoubleMalt has quit [Ping timeout: 256 seconds]
twistedpixels is now known as zz_twistedpixels
atm0sphere has joined #ruby
<__chris> I think I've figured it out. Thanks
freerobby has joined #ruby
<Master44> your welcome :)
zz_Outlastsheep is now known as Outlastsheep
micmus has quit [Ping timeout: 246 seconds]
intinig has quit [Remote host closed the connection]
sarkyniin has joined #ruby
<atm0sphere> has anyone experience in cbinding with ruby ff
<atm0sphere> ffi
kriskropd has quit [Read error: Connection reset by peer]
ghr has joined #ruby
<atm0sphere> anybody experience in c binding and ruby ffi?
Igorshp has quit [Remote host closed the connection]
GnuYawk has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
jerematic has quit [Remote host closed the connection]
<shevy> none
symm- has quit [Ping timeout: 258 seconds]
micmus has joined #ruby
<atm0sphere> headius have i think , i h ave googled and foun him. is he present?
<Mon_Ouie> ?anyone
<ruboto> Just ask your question, if anyone has or can, they will respond.
<shevy> he is in the channel
<Master44> whats the difference from 1..10 and 1...10?
<shevy> inclusive or exclusive on last element
<Master44> that means?
<shevy> (1..10).to_a # => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
<sevenseacat> open up irb and check them out
zz_twistedpixels is now known as twistedpixels
<shevy> (1...10).to_a # => [1, 2, 3, 4, 5, 6, 7, 8, 9]
<atm0sphere> first will include last element while last will not
slopjong has quit [Ping timeout: 250 seconds]
<atm0sphere> sorry reeverse it
<Mon_Ouie> No, don't reverse it
<sevenseacat> you were right the first time
<shevy> hehe
<Mon_Ouie> >> (1...10).include? 10
<ruboto> Mon_Ouie # => false (https://eval.in/376502)
__chris has quit [Quit: This computer has gone to sleep]
<atm0sphere> according to my answer ,
<Master44> ah
<Master44> ok so ... just delete last item?
<atm0sphere> which item?
<Master44> yes
<shevy> what do you mean with delete
fujimura has joined #ruby
jerematic has joined #ruby
<Master44> it doesnt include it
<shevy> oh so you mean "does not include" when you say "delete" :)
<shevy> most of the time I use ..
<Master44> well i wasnt sure :D
<Master44> yes ok :) thanks
<Master44> why would you not include the last item btw?
<sevenseacat> when you dont want the last item
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Master44> you can just do 1..9 instead of 1...10
<Master44> well yes xD
Sirrr has quit [Quit: Leaving]
<shevy> lol
<shevy> best conversation ever:
<shevy> <Master44> why would you not include the last item btw?
<shevy> <sevenseacat> when you dont want the last item
<atm0sphere> ffi problem abhove link
<sevenseacat> silly questions get silly answers.
jimmythehat has joined #ruby
<Master44> I dont know just wanted to know the different
<shevy> there will be a small subset of people who know ffi
<shevy> Master44 ... is less often used than ..
<atm0sphere> shevy: what does namerror means?
<Master44> yes
<shevy> atm0sphere when something is unkown to ruby
fujimura has quit [Ping timeout: 244 seconds]
<shevy> >> Foo
<ruboto> shevy # => uninitialized constant Foo (NameError) ...check link for more (https://eval.in/376510)
<Mon_Ouie> Paste the exact error message with backtrace
Outlastsheep is now known as zz_Outlastsheep
<shevy> so the solution is to make it known to ruby atm0sphere
<jimmythehat> hey all, does anyone know anything about domain extensions? I want to register a .solutions domain for a client but I am unaware of SEO (and other) implications? .today is another domain I want to register a company under but I'm unsure if should go for top level? Apologies if this is the wrong channel...direct me to where I can get answers concerning domain names?
jerematic has quit [Ping timeout: 256 seconds]
<sevenseacat> seems completely unrelated to ruby
zz_Outlastsheep is now known as Outlastsheep
<Master44> doesnt have so much to do with ruby lol xd
<Master44> go to ubuntu or something
<MrBeardy> jimmythehat: #SEO seems fairly popular
<sevenseacat> nothing to do with ubuntu either
<Master44> idc
<Master44> :D
<MrBeardy> then don't try to help
<sevenseacat> it is better to keep your mouth closed and let people *think* you know nothing....
<Master44> ye
<Master44> xD
<sevenseacat> ...than to open your mouth and confirm it.
<Master44> I just got burned lol
senayar has quit [Remote host closed the connection]
<jimmythehat> thanks all. sevenseacat, bit mean
<Master44> no comebacks for that one, you win gg
<sevenseacat> jimmythehat: it wasnt directed at you. if it seemed that way, i apologize.
<sweeper> the correct ending to that is "open your mouth and remove all doubt" iirc
Ariadeno has joined #ruby
<Master44> well same thing
<sevenseacat> sweeper: the original quote makes references to being an idiot too, but I wasnt going to say that :P
<sweeper> :D
<Master44> :D
<Master44> how old are you guys?
<sweeper> Master44: get off my lawn
<Outlastsheep> 14 'ver 'ere.
<sweeper> 19/f/cali here
<Master44> how old are the people in this channel? btw
<sevenseacat> lol
<MrBeardy> 12/f/jp
<Outlastsheep> 14/m/The Netherlands.
<Outlastsheep> MrBeardy: consider 13.
kirun has joined #ruby
<Master44> mrbeardy you are 13 y old?
<MrBeardy> No, I'm 12, can't you read
<Outlastsheep> Master44: 'twas a joke.
<Master44> lol
<adaedra> 0/?/womb
<Master44> xD
<Master44> I am like 14
<atm0sphere> i have posted my error too just see the link... https://gist.github.com/aj07/fb05ceb34494e9c8aec9
aryaching has joined #ruby
ebbflowgo has joined #ruby
<adaedra> add a .rb extension to gist files, so they have syntax colors.
<MrBeardy> atm0sphere: we're not a search engine, changing the message won't make us suddenly be able to solve your problem
kriskropd has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
<Mon_Ouie> uninitialized constant MyLibrary::FFI
<Mon_Ouie> You haven't loaded the FFI library
<atm0sphere> adaedra: please eleborate it
mc_fail has quit [Read error: Connection reset by peer]
<atm0sphere> i have mentioned it in my code/
ndrei has joined #ruby
<atm0sphere> require ffi
hellosir has joined #ruby
jimmythehat has left #ruby [#ruby]
soulcake has quit [Quit: Quack.]
sandelius has joined #ruby
soulcake has joined #ruby
<atm0sphere> mon_0uie: how to load ffi ? only by writting require 'ffi' isn't?
datanoise has joined #ruby
SalexW has quit []
<Mon_Ouie> Yes
<atm0sphere> still it shows some error..
ebbflowgo has quit [Read error: Connection reset by peer]
<Mon_Ouie> You may have a file called ffi.rb in your load path, shadowing the gem
mc_fail has joined #ruby
<atm0sphere> cant load such file- --ffil(loaderror)
jenrzzz has joined #ruby
<Mon_Ouie> That's not the same error…
<atm0sphere> m pasting it on gist
<Mon_Ouie> And it's also not the message that Ruby gives you, don't re-type error messages, paste them
freerobby has quit [Quit: Leaving.]
<atm0sphere> see only error message
<Mon_Ouie> Well then it looks like you haven't installed FFI
hellosir has left #ruby [#ruby]
<Mon_Ouie> Run 'gem install ffi'
timmow_ has joined #ruby
Master44 has left #ruby [#ruby]
<atm0sphere> how to check whether particular gem is installed or not?
NosuchThing has joined #ruby
<Mon_Ouie> 'gem list' lists all installed gems
timmow has quit [Ping timeout: 252 seconds]
Guest94150 has quit [Ping timeout: 252 seconds]
Someguy123 has quit [Ping timeout: 252 seconds]
alem0lars has quit [Ping timeout: 252 seconds]
silverdu1t has joined #ruby
alem0lars has joined #ruby
alem0lars has quit [Changing host]
alem0lars has joined #ruby
NosuchThing is now known as master44
gamer5 has quit [Excess Flood]
Someguy123 has joined #ruby
gamer5 has joined #ruby
<master44> l
master44 is now known as master
ndrei has quit [Ping timeout: 252 seconds]
mary5030 has quit [Remote host closed the connection]
<atm0sphere> it shows only local gem
master is now known as Guest83713
<Mon_Ouie> I mean… what else is it going to show? All the gems that exist?
jenrzzz has quit [Ping timeout: 256 seconds]
<Guest83713> whats the different between a symbol and a string?
<atm0sphere> mon_0uie just see the link..
<Mon_Ouie> A string is a sequence of characters. A symbol is a unique object that's convenient to use to identify things.
<atm0sphere> second comment
jpstokes has quit [Read error: Connection reset by peer]
<Mon_Ouie> (Every time you evaluate :foo, you get the same object back)
jgt has joined #ruby
<Mon_Ouie> You can use '--user-install' to install gems without having write access to system directories
<Guest83713> ok
<shevy> Guest83713 a symbol always has the same object_id; a (same-named) string has a different object_id; :foo versus "foo"
n1x has quit [Quit: Ex-Chat]
<atm0sphere> --user-install ffi right
<Mon_Ouie> Yes
olistik has joined #ruby
<Mon_Ouie> I mean, 'gem install --user-install ffi' would be the full command
alexherbo2 has quit [Quit: WeeChat 1.2]
<atm0sphere> installed now new problem came
ebbflowgo has joined #ruby
mc_fail has quit [Read error: Connection reset by peer]
<shevy> good
ndrei has joined #ruby
<atm0sphere> mon_0uie: just take a lok at same link
jgt has quit [Ping timeout: 256 seconds]
<shevy> yeah mon_0uie
bkxd has joined #ruby
Outlastsheep is now known as zz_Outlastsheep
Papierkorb has joined #ruby
senayar has joined #ruby
mc_fail has joined #ruby
elia has joined #ruby
caseypatrickdris has joined #ruby
<atm0sphere> Mon_Ouie: ???
caseypat_ has joined #ruby
NeverDie has joined #ruby
Fooster has joined #ruby
varunwachaspati has quit [Ping timeout: 264 seconds]
caseypatrickdris has quit [Ping timeout: 258 seconds]
Sirrr has joined #ruby
diegoviola has joined #ruby
aryaching has quit []
dseitz has joined #ruby
joaomdmoura has joined #ruby
ghr has joined #ruby
freerobby has joined #ruby
datanoise has quit [Ping timeout: 256 seconds]
razorgfx has quit [Ping timeout: 250 seconds]
justintv90 has joined #ruby
<atm0sphere> Mon_Ouie are you there?
Guest83713 has quit [Quit: Lost terminal]
atm0sphere has quit [Quit: Page closed]
<jhass> sigh
<jhass> why do people focus so much on other people
zotherstupidguy has quit [Ping timeout: 244 seconds]
<adaedra> because they think our job is to help them like support hot-lines
<sevenseacat> yeeeeeep
ghr has quit [Ping timeout: 265 seconds]
willharrison has joined #ruby
TheHodge has quit [Quit: Connection closed for inactivity]
Spami has joined #ruby
Guest24 is now known as lele
caseypat_ has quit [Remote host closed the connection]
kobain has joined #ruby
livathinos has quit []
dseitz has quit [Read error: Connection reset by peer]
rushed has quit [Quit: rushed]
caseypatrickdris has joined #ruby
caseypatrickdris has quit [Remote host closed the connection]
aryaching has joined #ruby
caseypatrickdris has joined #ruby
rushed has joined #ruby
RegulationD has joined #ruby
rubie has joined #ruby
michas has quit [Read error: Connection reset by peer]
maxshelley has joined #ruby
crazymykl has joined #ruby
greenbagels has joined #ruby
freerobby has quit [Quit: Leaving.]
frank_o has joined #ruby
Agoldfish has joined #ruby
gambl0re has joined #ruby
vikaton has joined #ruby
serivichi has quit [Ping timeout: 258 seconds]
nedp has quit [Ping timeout: 245 seconds]
goodcodeguy has joined #ruby
Rahul_Roy has joined #ruby
rubie has quit [Ping timeout: 265 seconds]
RegulationD has quit [Ping timeout: 265 seconds]
jds has quit [Quit: Connection closed for inactivity]
justintv90 has quit [Remote host closed the connection]
adefa has joined #ruby
bantic has joined #ruby
ndrei has quit [Ping timeout: 256 seconds]
_blizzy_ has quit [Ping timeout: 256 seconds]
allomov has joined #ruby
CustosLimen has quit [Ping timeout: 276 seconds]
havenwood has joined #ruby
<havenwood> g'mornin
CustosLimen has joined #ruby
ferr has joined #ruby
ndrei has joined #ruby
rushed has quit [Quit: rushed]
Feverio has joined #ruby
adefa has quit [Ping timeout: 265 seconds]
<frank_o> howdy havenwood !
DEA7TH_ has joined #ruby
langland_ has joined #ruby
<Evangelia> There is a change in irb?
GriffinHeart has quit [Remote host closed the connection]
<Evangelia> 2.2.1 :001 >
CloCkWeRX has left #ruby [#ruby]
michas has joined #ruby
Langlands has quit [Read error: Connection reset by peer]
Langlands has joined #ruby
<havenwood> Evangelia: Your prompt changed?
<al2o3-cr> Evangelia: it's rvm irb
charliesome has joined #ruby
<sevenseacat> what does rvm have to do with irb?
langland_ has quit [Ping timeout: 256 seconds]
darkf has quit [Quit: Leaving]
<al2o3-cr> sevenseacat: disregard that
<sevenseacat> k :)
someword has joined #ruby
<al2o3-cr> long day ;p
swills has joined #ruby
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Evangelia> al2o3-cr, It actually is.
<Evangelia> Because it changed after I installed RVM.
ebbflowgo has quit [Quit: ebbflowgo]
<ag4ve> i think something's wrong with the cert (or my ca list): https://pastebin.mozilla.org/8835959
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> OS, rubygems version?
<sevenseacat> ag4ve: update your rubygems. `gem update --system`
fabrice31 has joined #ruby
mary5030 has joined #ruby
<ag4ve> i don't really want to update/care about what ruby/gem my system is running - i'd prefer to stay local
someword has quit [Read error: Connection reset by peer]
<havenwood> ag4ve: rvm rubygems latest
Tobarja has joined #ruby
Sirrr has quit [Quit: Leaving]
someword has joined #ruby
<sevenseacat> well sorry, but you need to update it.
<ag4ve> that seems to be working
fabrice31 has quit [Ping timeout: 272 seconds]
gauke has joined #ruby
goodcodeguy has joined #ruby
<ag4ve> havenwood: thanks (i think - still building)
sleungcy has joined #ruby
mary5030 has quit [Ping timeout: 272 seconds]
gauke has quit [Client Quit]
yeticry has quit [Ping timeout: 258 seconds]
someword has quit [Client Quit]
ndrei has quit [Ping timeout: 250 seconds]
yeticry has joined #ruby
zotherstupidguy has joined #ruby
<frank_o> Hi! I got this Paperclip model which checks an upload (its temp file) whether it's an animated GIF. If so it sets `attachment_is_animated` in the db to true. But, because this job needs to go into the background, the temp file is probably gone by the time it's needed, so I end up with this InfiniteInterpolationError.
joaomdmoura has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<frank_o> https://gist.github.com/dt1973/920263906eb7ace5bd74 -- anybody ever been down this rabbit hole before?
ndrei has joined #ruby
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: zzz]
goodcodeguy has joined #ruby
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has joined #ruby
joaomdmoura has joined #ruby
fujimura has joined #ruby
Fooster has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby
govg has joined #ruby
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
allomov has quit [Remote host closed the connection]
govg has quit [Client Quit]
Fooster has joined #ruby
willharrison has joined #ruby
allomov has joined #ruby
allomov has quit [Read error: Connection reset by peer]
govg has joined #ruby
fujimura has quit [Ping timeout: 244 seconds]
langland_ has joined #ruby
govg is now known as Guest70174
goodcodeguy has joined #ruby
ghr has quit [Ping timeout: 264 seconds]
jerematic has joined #ruby
blue_deref has joined #ruby
senayar has quit [Remote host closed the connection]
_djbkd has joined #ruby
Langlands has quit [Ping timeout: 264 seconds]
unshadow has quit [Ping timeout: 272 seconds]
tkuchiki has quit [Ping timeout: 264 seconds]
FernandoBasso has quit [Quit: WeeChat 1.2]
bantic has quit [Quit: bantic]
hubcaps has quit [Ping timeout: 265 seconds]
zipace has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
joaomdmoura has quit [Ping timeout: 252 seconds]
yeticry has quit [Quit: leaving]
ht__ has quit [Quit: Konversation terminated!]
jenrzzz has joined #ruby
FernandoBasso has joined #ruby
jerematic has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 255 seconds]
michas has quit [Read error: Connection reset by peer]
sevenseacat has quit [Quit: Me dun like you no more.]
jgt has joined #ruby
bruno- has quit [Ping timeout: 252 seconds]
zubov has joined #ruby
thatkid has joined #ruby
jgt has quit [Ping timeout: 276 seconds]
g0rx has quit [Remote host closed the connection]
kerunaru has joined #ruby
g0rx_ has joined #ruby
mister_solo has joined #ruby
caseypatrickdris has quit [Remote host closed the connection]
millerti has joined #ruby
dseitz has joined #ruby
<frank_o> yay fixed it..
g0rx_ is now known as g0r__
<frank_o> *that moment of calm when you realize you've fixed all your bugs*
scripore has quit [Quit: This computer has gone to sleep]
Sirrr has joined #ruby
Fooster has quit [Ping timeout: 265 seconds]
scripore has joined #ruby
IanVorn has joined #ruby
<frank_o> *of your project which has consumed your days and nights for the past 5 years*
<frank_o> wow
scripore has quit [Client Quit]
rubie has joined #ruby
IanVorn has quit [Client Quit]
The_Phoenix has quit [Quit: Leaving.]
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_djbkd has quit [Remote host closed the connection]
sandelius has joined #ruby
_djbkd has joined #ruby
<Coraline> Awesome frank_o!
<Coraline> What's the project?
mc_fail has quit [Ping timeout: 276 seconds]
<frank_o> thanks a lot Coraline
mc_fail has joined #ruby
<frank_o> Coraline: its basically a heavily customized https://github.com/radar/forem app to help poor ppl in my local community
<Coraline> Whoa, nice
Fooster has joined #ruby
<frank_o> yup
mister_solo has quit [Ping timeout: 265 seconds]
c355E3B has joined #ruby
olistik has quit [Remote host closed the connection]
scripore has joined #ruby
<frank_o> much love to Radar for making it happen.. as well as prolly half of the people in here =)
<frank_o> that MINASWAN thing is truly engrained in the DNA of this community and i cant wait to start giving some of it back
openmind has joined #ruby
<frank_o> take care guys frank out
frank_o has quit [Quit: leaving]
mrsolo has joined #ruby
olistik has joined #ruby
Sirrr has quit [Quit: Leaving]
olistik has quit [Remote host closed the connection]
amclain has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jgt has joined #ruby
gamer5 has quit []
ghr has joined #ruby
__chris has joined #ruby
gsd has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
Spami has quit [Quit: This computer has gone to sleep]
yeticry has joined #ruby
senayar has joined #ruby
caseypatrickdris has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gauke has joined #ruby
mc_fail has quit [Ping timeout: 276 seconds]
apt-get_ has joined #ruby
jeffc has joined #ruby
someword has joined #ruby
charliesome has quit [Quit: zzz]
adac has joined #ruby
RegulationD has joined #ruby
<atmosx> hello
yoongkang has quit [Remote host closed the connection]
mc_fail has joined #ruby
mdz_ has joined #ruby
<jhass> hi
slackbotgz has joined #ruby
sarkyniin has quit [Ping timeout: 265 seconds]
Guest70174 has quit [Quit: leaving]
senayar has quit [Ping timeout: 264 seconds]
govg has joined #ruby
gauke has quit [Quit: gauke]
RegulationD has quit [Ping timeout: 250 seconds]
__chris has quit [Quit: This computer has gone to sleep]
__chris has joined #ruby
maxshelley has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tenseiten has quit [Ping timeout: 256 seconds]
__chris has quit [Client Quit]
mdz_ has quit [Ping timeout: 265 seconds]
_djbkd has quit [Remote host closed the connection]
athos_diddy has joined #ruby
<athos_diddy> hey everyone
<athos_diddy> happy saturday!
<athos_diddy> so am i drunk? i must be... https://gist.github.com/genericlady/f1ea408dccaf0397bcea how come the regexp isn't working?
djbkd has quit [Quit: Leaving...]
<athos_diddy> it passes on rubular
djbkd has joined #ruby
jeffc has quit [Quit: Quitting...]
jeffc has joined #ruby
djbkd has quit [Remote host closed the connection]
jeffc has quit [Max SendQ exceeded]
djbkd has joined #ruby
<atmosx> athos_diddy: it works fine
huaming has joined #ruby
<atmosx> athos_diddy: 0 is the position... of the element found.
David_H_Smith has joined #ruby
<athos_diddy> oh
<athos_diddy> lol
maxshelley has joined #ruby
<atmosx> arrays in ruby start by '0'
freerobby has joined #ruby
<athos_diddy> right
<athos_diddy> i was thinking it was returning a count but of course it wouldn't
<athos_diddy> thanks
jeffc has joined #ruby
jenrzzz has joined #ruby
mc_fail has quit [Ping timeout: 250 seconds]
<atmosx> I can't believe people are using homeopathic medicine when their kid has 39+ fever...
mc_fail has joined #ruby
al2o3-cr has quit [Read error: Connection reset by peer]
gr33n7007h has joined #ruby
gr33n7007h is now known as al2o3-cr
<atmosx> jfc
freerobby has quit [Quit: Leaving.]
jenrzzz has quit [Ping timeout: 264 seconds]
lkba has joined #ruby
timonv has joined #ruby
zubov has quit [Remote host closed the connection]
<havenwood> "Two @@s are ugly, but remember that class variables are basically global variables with limited scope—so it encourages you not to use it." ~Matz 2006
Jarboe has joined #ruby
Scroff has joined #ruby
crdpink2 has joined #ruby
AmirolAhmad has joined #ruby
<shevy> lol
<shevy> matz is funny
crdpink has quit [Ping timeout: 265 seconds]
<shevy> there is a lot of partial duplication in ruby though
<shevy> local vars, instance vars (instance level versus class level instance vars), global vars, @@class_vars
rodfersou has joined #ruby
<shevy> class versus module
<shevy> aka subclass versis include/extend
<ag4ve> is there a way to require a newly installed module w/o exiting out of irb?
<havenwood> ag4ve: Like rerequire an already required file?
<havenwood> ag4ve: If so, see #load: http://ruby-doc.org/core/Kernel.html#method-i-load
<ag4ve> like i try to require a module, isn't installed, gem install in another window, it still can't find it until i reload irb
mase-chatter has joined #ruby
<ag4ve> the module was installed through that whole paste
balazs has joined #ruby
thisirs has quit [Quit: ERC (IRC client for Emacs 25.0.50.3)]
huaming has left #ruby [#ruby]
<ag4ve> ... but wasn't installed when i started that first session
thisirs has joined #ruby
djbkd has quit [Remote host closed the connection]
<havenwood> ag4ve: Gem.clear_paths
Channel6 has joined #ruby
tuelz2 has joined #ruby
<pipework> havenwood: o/
<havenwood> pipework: \o
datanoise has joined #ruby
<jhass> ?pry ag4ve
<ruboto> ag4ve, Pry, the better IRB. Includes easy object inspection via `ls`, `history`, docs view with `?`, source view with `$` and syntax highlighting, among other features (see `help` for more). It can also be used for easy debugging by putting ’binding.pry’ directy in your source code. Visit https://pryrepl.org/ or get it now with gem install pry pry-doc
<jhass> in particular for your usecase: gem-install foo
<havenwood> ag4ve: Or yeah, from Pry you can: gem-install gem-name-here
MouseTheLuckyDog has joined #ruby
workmad3 has joined #ruby
<havenwood> ag4ve: `Gem.clear_paths` works in Pry too, if you're installing from outside Pry.
<havenwood> gem-install does the require too, or at least it tries to based on gem naming conventions
silverdu1t has quit [Remote host closed the connection]
silverdust has joined #ruby
<MouseTheLuckyDog> What happened to #ruby-lang I ws in it a few days ago?
vivekananda has quit [Quit: Leaving]
<havenwood> MouseTheLuckyDog: The channels have merged.
fabrice31 has joined #ruby
zipace has joined #ruby
<havenwood> Welcome to those migrating from #ruby-lang!!
datanoise has quit [Ping timeout: 272 seconds]
timonv has quit [Ping timeout: 246 seconds]
workmad3 has quit [Ping timeout: 244 seconds]
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bootstrappm has joined #ruby
<shevy> yay!
<MouseTheLuckyDog> I'm calling IO.popen. How can I tell if there is any output that is not white space?
hewenhong has joined #ruby
<shevy> jhass is the migration boss
<bootstrappm> morning all
<ag4ve> ah, thanks y'all
<shevy> bootstrappm hello DID YOU JUST COME FROM ANOTHER MEETING
<bootstrappm> hah no, its saturday :D
lolmaus has joined #ruby
<shevy> what an excuse!
mrmargolis has joined #ruby
fujimura has joined #ruby
<shevy> MouseTheLuckyDog don't you get a string back? then you could use a regex
<hewenhong> 2015, 6, 7, 1, 18, 14, 257070
slawrence00 has joined #ruby
ndrei has quit [Ping timeout: 265 seconds]
<hewenhong> good night
<ag4ve> nice, i enjoy the colors of pry too :)
slawrence00 is now known as securedocs
goodcodeguy has joined #ruby
alem0lars has quit [Ping timeout: 252 seconds]
silverdust has quit [Ping timeout: 252 seconds]
fabrice31 has quit [Ping timeout: 272 seconds]
ndrei has joined #ruby
silverdu1t has joined #ruby
nolic has joined #ruby
<havenwood> MouseTheLuckyDog: IO.popen('pwd').any? { |line| line[/\s/] }
<havenwood> #=> true # the newline
<havenwood> And don't really need to iterate lines.
fujimura has quit [Ping timeout: 276 seconds]
mrmargolis has quit [Remote host closed the connection]
mrmargolis has joined #ruby
mase-chatter has quit [Remote host closed the connection]
goodcodeguy has quit [Client Quit]
olistik has joined #ruby
<havenwood> IO.popen('pwd').each_char.any? { |char| char =~ /\s/ }
<havenwood> Or just read the whole thing.
mrmargolis has quit [Ping timeout: 244 seconds]
k3asd` has joined #ruby
k3asd` has quit [Remote host closed the connection]
scripore has quit [Quit: This computer has gone to sleep]
ghr has joined #ruby
Fooster has quit [Ping timeout: 246 seconds]
mc_fail_ has joined #ruby
olistik has quit [Ping timeout: 265 seconds]
zz_Outlastsheep is now known as Outlastsheep
Blaguvest has joined #ruby
codecop has joined #ruby
codecop_ has joined #ruby
codecop has quit [Remote host closed the connection]
atomical has joined #ruby
sleungcy has quit [Quit: Connection closed for inactivity]
silverdu1t has quit [*.net *.split]
rgb-one has joined #ruby
mc_fail has quit [Ping timeout: 276 seconds]
<rgb-one> What is the name of the Rails channel if there is one on freenode?
<adaedra> ?rails
<ruboto> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<rgb-one> Gracias
senayar has joined #ruby
sandelius has joined #ruby
Scroff has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 252 seconds]
mc_fail has joined #ruby
<havenwood> MouseTheLuckyDog: Is #popen needed? If not, consider something simpler. Or for proper reading advice (and proper closing) say more about what you're doing.
mc_fail_ has quit [Ping timeout: 255 seconds]
f3lp has joined #ruby
<havenwood> MouseTheLuckyDog: `pwd` =~ /\s/
mary5030 has joined #ruby
<sandelius> has anyone tried refile? (file upload gem)
rgb-one has quit [Ping timeout: 256 seconds]
Rickmasta has joined #ruby
scripore has joined #ruby
yoongkang has joined #ruby
dcarmich has joined #ruby
RegulationD has joined #ruby
tkuchiki has joined #ruby
jottr has joined #ruby
lkba has quit [Ping timeout: 252 seconds]
CustosLimen has quit [Ping timeout: 244 seconds]
lolmaus has quit [Ping timeout: 256 seconds]
gauke has joined #ruby
<MouseTheLuckyDog> havenwood, I'm running a program in dry-run mode, I take it's output and grep for an error message. SO the output should either be all whitespace or the error message.
<havenwood> MouseTheLuckyDog: How long might the output be? Just a few lines?
<havenwood> MouseTheLuckyDog: Will the error message ever start with whitespace?
<MouseTheLuckyDog> havenwood, you mean before the grep?
AmirolAhmad has quit [Ping timeout: 256 seconds]
RegulationD has quit [Ping timeout: 244 seconds]
AmirolAh_ has joined #ruby
<havenwood> MouseTheLuckyDog: Is the return status from grep 0 for one case and an error for the other?
<rkazak> MouseTheLuckyDog: \s+ ?
balazs has quit [Remote host closed the connection]
<havenwood> MouseTheLuckyDog: Maybe just check the return status instead of the stdout/stderr.
psy_ has joined #ruby
tkuchiki has quit [Ping timeout: 264 seconds]
balazs has joined #ruby
psy_ has quit [Max SendQ exceeded]
affenhoden has joined #ruby
msgodf has quit [Remote host closed the connection]
<havenwood> MouseTheLuckyDog: `grep ...` =~ /\s/; $?.success?
_blizzy_ has joined #ruby
<havenwood> MouseTheLuckyDog: err, i didn't mean to copy the regexp again >.>
<havenwood> MouseTheLuckyDog: `grep ...`; $?.success?
Aww is now known as Doge-Aww
gauke has quit [Quit: gauke]
Scroff has joined #ruby
Doge-Aww is now known as Aw
Aw is now known as Aww
<havenwood> MouseTheLuckyDog: or: $?.exitstatus
CustosLimen has joined #ruby
silverdust has joined #ruby
alem0lars has joined #ruby
alem0lars has quit [Changing host]
alem0lars has joined #ruby
silverdust has quit [Max SendQ exceeded]
nahtnam has quit [Quit: Connection closed for inactivity]
<havenwood> MouseTheLuckyDog: If if you don't mind printing to stdout, "system returns true if the command gives zero exit status, false for non zero exit status"
<havenwood> though the docs lie :O
gsd has quit [Quit: Textual IRC Client: www.textualapp.com]
maxshelley has quit [Read error: Connection reset by peer]
<havenwood> it returns `nil` for a nonzero exit status
<havenwood> falsey but not false
openmind has quit [Remote host closed the connection]
dangerousdave has joined #ruby
silverdust has joined #ruby
silverdust is now known as Guest31590
<dangerousdave> hi, I would like to call SetFile system command from ruby
<dangerousdave> please can someone help?
Leef_ has joined #ruby
Leef_ has quit [Remote host closed the connection]
lkba has joined #ruby
<havenwood> dangerousdave: Do you want to get at the same functionality with Ruby or shell out to `setfile`?
<havenwood> dangerousdave: If the former, what are you trying to do?
<dangerousdave> if I understand you correctly, just shell out
_seanc_ has joined #ruby
<dangerousdave> I am extracting a date from a files name, and then setting the files created_at date to it
chris-sonar has quit [Remote host closed the connection]
jxf has quit [Remote host closed the connection]
whoojemaflip has quit [Remote host closed the connection]
jpinnix______ has quit [Remote host closed the connection]
glowcoil has quit [Remote host closed the connection]
skandi has quit [Remote host closed the connection]
Kharma has quit [Remote host closed the connection]
autrilla has quit [Remote host closed the connection]
c355E3B has quit [Remote host closed the connection]
dmoe has quit [Remote host closed the connection]
knowtheory has quit [Remote host closed the connection]
<havenwood> dangerousdave: For example: system 'setfile', '-t', '...'
jmcc has quit [Remote host closed the connection]
cbetta has quit [Remote host closed the connection]
daxroc has quit [Remote host closed the connection]
ggherdov has quit [Remote host closed the connection]
jlyndon has quit [Remote host closed the connection]
thesheff17 has quit [Remote host closed the connection]
pskosinski has quit [Remote host closed the connection]
alekst_ has quit [Remote host closed the connection]
frankS2 has quit [Remote host closed the connection]
bestie has quit [Remote host closed the connection]
zipkid has quit [Remote host closed the connection]
_chs_ has quit [Remote host closed the connection]
bttf has quit [Remote host closed the connection]
vikram_ has quit [Remote host closed the connection]
HashNuke has quit [Remote host closed the connection]
holsee_ has quit [Remote host closed the connection]
mjc_ has quit [Remote host closed the connection]
strmpnk has quit [Remote host closed the connection]
<havenwood> dangerousdave: Why not just do that in Ruby?
kerunaru has quit [Quit: Textual IRC Client: www.textualapp.com]
Cyberheb has joined #ruby
openmind has joined #ruby
<dangerousdave> i did try %x(Setfile -d '#{day}/#{month}/#{year}') file_1/1/2015.jpg)
<dangerousdave> not luck though
thiagovsk has joined #ruby
<dangerousdave> havenwood, can I do that in ruby?
<havenwood> dangerousdave: You can't interpolate with single quotes, change to double.
<dangerousdave> ah
<dangerousdave> also put superflous bracket in above example
<dangerousdave> doh
<dangerousdave> tried with double quotes, runs, no change though
nini1294 has joined #ruby
roshanavand has joined #ruby
roshanavand has quit [Max SendQ exceeded]
roshanavand has joined #ruby
GriffinHeart has joined #ruby
<Mon_Ouie> havenwood: I think you're missing the %x(…)
<dangerousdave> Mon_Ouie, did you mean me?
<Mon_Ouie> You can interpolate in %x(…), it doesn't matter if you have single, double or no quotes inside that
<havenwood> Mon_Ouie: Yup
<havenwood> dangerousdave: No, i just totally disregarded that you were running the command with %x
<havenwood> dangerousdave: my mistake :)
<havenwood> Mon_Ouie: Oops! :)
zotherstupidguy has quit [Quit: WeeChat 1.2]
mrsolo has quit [Quit: This computer has gone to sleep]
<dangerousdave> :-)
<dangerousdave> either way doesn't work
Scroff has quit [Remote host closed the connection]
segfalt has joined #ruby
djbkd has joined #ruby
<dangerousdave> havenwood, so it can all be done in ruby?
natevick has joined #ruby
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
sinkensabe has joined #ruby
<havenwood> dangerousdave: Hrm, well it's really easy to bump the ctime and mtime with FileUtils.touch, but it's the birthtime you want to change, right?
GriffinHeart has quit [Ping timeout: 256 seconds]
dangerousdave has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zotherstupidguy has joined #ruby
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djbkd has quit [Ping timeout: 244 seconds]
dseitz has joined #ruby
jpinnix______ has joined #ruby
dangerousdave has joined #ruby
IanVorn has joined #ruby
<dangerousdave> havenwood, yes, so the photos are ordered in the photomanager correctly
houhoulis has joined #ruby
strmpnk has joined #ruby
roshanavand has quit [Ping timeout: 244 seconds]
thatkid has quit [Quit: Page closed]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dangerousdave has quit [Client Quit]
glowcoil has joined #ruby
dangerousdave has joined #ruby
knowtheory has joined #ruby
<havenwood> dangerousdave: yeah, so I guess shell out, hem
natevick has quit [Remote host closed the connection]
seph429 has quit [Ping timeout: 248 seconds]
<havenwood> dangerousdave: system 'Setfile', '-d', "#{day}/#{month}/#{year}", 'file_1/1/2015.jpg'
<havenwood> dangerousdave: Then check the new birthtime: File.birthtime 'file_1/1/2015.jpg'
cbetta has joined #ruby
<dangerousdave> trying
Scroff has joined #ruby
<havenwood> Or if you're not on Ruby 2.2, check the birthtime elsewise.
seph429 has joined #ruby
openmind has quit [Ping timeout: 265 seconds]
<dangerousdave> Jurassic Park!
<dangerousdave> havenwood, it worked, many thanks!
<havenwood> dangerousdave: you're welcome
millerti has joined #ruby
swgillespie has joined #ruby
jeffc has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
millerti has quit [Client Quit]
seph429 has quit [Ping timeout: 248 seconds]
blt has quit [Quit: WeeChat 1.2]
blt has joined #ruby
sinkensabe has quit [Remote host closed the connection]
<miah> This is UNIX I know this.
jlyndon has joined #ruby
elia has quit [Quit: Computer has gone to sleep.]
_seanc_ has quit [Quit: _seanc_]
seph429 has joined #ruby
jeffc has joined #ruby
mc_fail has quit [Ping timeout: 264 seconds]
HashNuke has joined #ruby
Spami has joined #ruby
sinkensabe has joined #ruby
lavros has quit [Quit: leaving]
mc_fail has joined #ruby
whoojemaflip has joined #ruby
NeverDie has joined #ruby
ghr has joined #ruby
greenbagels has quit [Quit: Leaving]
dangerousdave has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Feverio> Hmm, a self method in Ruby is like a static method in C++/Java/C#?
lkba_ has joined #ruby
<Feverio> Like this, http://codepad.org/47tOsE5r
yqt has joined #ruby
<Feverio> Does it mean that there will only be one instance of that method? A class instance?
ggherdov has joined #ruby
nini1294 has quit [Ping timeout: 272 seconds]
lkba has quit [Ping timeout: 255 seconds]
adefa has joined #ruby
<havenwood> Feverio: Yeah, that's a class instance method. We use `self.boo` instead of `Foo.boo` so you can change class names easier. You can swap `self` for `Foo` and it still works but is less idiomatic.
dmoe has joined #ruby
<Feverio> havenwood, Yea, great thanks :)
ghr has quit [Ping timeout: 256 seconds]
<Feverio> havenwood, And when I do, class << self, that means that the following methods under that are going to be class instances?
<havenwood> Feverio: Yup, put your class instance methods in the `class << self` block and your instance methods outside of it.
<Feverio> havenwood, Ok great, thank you :) Btw, how is it going with Elixir?
elton has quit [Read error: Connection reset by peer]
symm- has joined #ruby
aryaching has quit []
elton has joined #ruby
elton has quit [Client Quit]
nini1294 has joined #ruby
<Feverio> Also, suppose I did, class Foo; class << boo; ...., now all the methods under class << boo; are singleton methods to the object boo?
mc_fail has quit [Ping timeout: 256 seconds]
mjc_ has joined #ruby
frankS2 has joined #ruby
<havenwood> Feverio: Having fun playing with its OTP abstractions and really grok the language in general.
<havenwood> Tasks, GenEvents, GenServers and Agents, oh my!
adefa has quit [Ping timeout: 276 seconds]
jenrzzz has joined #ruby
holsee_ has joined #ruby
mc_fail has joined #ruby
IanVorn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<havenwood> Feverio: Yup, sounds right to me.
pontiki has joined #ruby
<havenwood> Feverio: Though that last example isn't something you see done.
Nahra has joined #ruby
roolo has joined #ruby
lessless has joined #ruby
thesheff17 has joined #ruby
nini1294 has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
dangerousdave has joined #ruby
<havenwood> Feverio: Lots and lots of `class << self` but almost no `class << anything_else`.
dionysus69 has joined #ruby
dionysus69 has quit [Client Quit]
dionysus69 has joined #ruby
sinkensabe has quit [Remote host closed the connection]
jmcc has joined #ruby
dionysus69 has quit [Client Quit]
daxroc has joined #ruby
mary5030 has quit [Remote host closed the connection]
weemsledeux has joined #ruby
xxneolithicxx has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
hewenhong has quit [Remote host closed the connection]
<Feverio> havenwood, Yea I see :) Could you do something like this? http://codepad.org/yhxTnTMr
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Feverio> havenwood, Ops, no need for attr_reader
lessless has quit [Ping timeout: 264 seconds]
RegulationD has joined #ruby
Langlands has joined #ruby
David_H__ has joined #ruby
dangerousdave has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Outlastsheep is now known as zz_Outlastsheep
iBloodLust_ has joined #ruby
<iBloodLust_> hello there
langland_ has quit [Ping timeout: 264 seconds]
<iBloodLust_> i want to get into emulating on ruby. anyone know where to start? i know ruby is high-level and all
Azure has quit [Quit: Oops.]
RegulationD has quit [Ping timeout: 264 seconds]
David_H_Smith has quit [Ping timeout: 272 seconds]
<havenwood> Feverio: Try this in irb/pry for example: https://gist.github.com/havenwood/59a8920f6091a244c936
Azure has joined #ruby
twistedpixels has quit [Quit: ZNC - http://znc.in]
Channel6 has quit [Quit: Leaving]
<havenwood> Feverio: Alternatively you could define `def version= v` and `def version` inside and outside the `class << self` block.
Kharma has joined #ruby
AndyBotwin has joined #ruby
<havenwood> Feverio: Or the `def self.version` variant if you prefer.
twistedpixels has joined #ruby
<Feverio> havenwood, Yea understood it. So I was trying to give the user the current version of my application. In that case, it should be a class instance right?
abuzze has joined #ruby
twistedpixels has quit [Changing host]
twistedpixels has joined #ruby
<havenwood> Feverio: Use a constant.
abuzze has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 265 seconds]
j75 has joined #ruby
<havenwood> Feverio: Commented on the gist above.
<Feverio> havenwood, Yea but a class constant?
_chs_ has joined #ruby
<Feverio> Es
<Feverio> Else there will be a new variable for each class instance.
_chs_ is now known as Guest5307
Mia has joined #ruby
Mia has joined #ruby
fujimura has joined #ruby
<havenwood> Feverio: In real ruby gems the version is a constant `VERSION` that is defined in the `lib/gem-name/version.rb` file.
<havenwood> `class X; VERSION = '...' end` or `module X; VERSION = '...' end`
OrbitalKitten has joined #ruby
hewenhong has joined #ruby
<Feverio> havenwood, Why isn't it a class variable?
psy_ has joined #ruby
<havenwood> Feverio: Often a frozen String literal. The idea is that a version should be immutable per release.
zipkid has joined #ruby
Axy has quit [Ping timeout: 258 seconds]
<havenwood> Feverio: Class variables are intentionally ugly to discourage use. Like global variables.
iBloodLust_ has quit [Quit: Page closed]
pskosinski has joined #ruby
<Feverio> havenwood, You end up with multiple version instances then.
swgillespie has quit [Max SendQ exceeded]
someword has quit [Quit: Leaving.]
fujimura has quit [Ping timeout: 244 seconds]
swgillespie has joined #ruby
<havenwood> Feverio: Do you want multiple instances with different versions?
<Feverio> havenwood, No?
<havenwood> Feverio: So the constant will give a warning if redefined and the frozen string prevents modification.
<Feverio> havenwood, Still, if it's class specific it shouldn't be an object instance.
<havenwood> Feverio: I'm not sure I follow there.
<havenwood> Feverio: Say more?
<Feverio> havenwood, class X; VERSION = '...'; end
<Feverio> There will be a new variable instance of VERSION for each object.
TheSavior2 has joined #ruby
<havenwood> Feverio: No, just one.
<havenwood> Feverio: Unless I'm misunderstanding what you mean.
bestie has joined #ruby
fabrice31 has joined #ruby
<Feverio> havenwood, There will be something like this? https://gist.github.com/anonymous/bca0532854c9428711db
sandelius has joined #ruby
<Feverio> This is int tho, but just think of the scope.
<Feverio> VERSION here is a class instance. Even if you have 1000 objects, there is only one VARIABLE instance for all those objects.
<TheSavior2> Download the Website Worth Calculator Nulled attathment on the website followd by images: http://www.websiteadverts.org/forum/showthread.php?tid=16 you might think it's fake, well it's not, after all it's only one click isn't it?
<Feverio> It's static.
<TheSavior2> Download the Website Worth Calculator Nulled attathment on the website followd by images: http://www.websiteadverts.org/forum/showthread.php?tid=16 you might think it's fake, well it's not, after all it's only one click isn't it?
TheSavior2 has quit [Client Quit]
IanVorn has joined #ruby
ogpastaling has joined #ruby
postmodern has joined #ruby
dangerousdave has joined #ruby
_seanc_ has joined #ruby
fabrice31 has quit [Ping timeout: 272 seconds]
ebbflowgo has joined #ruby
tuelz2 has quit [Quit: WeeChat 1.1.1]
dzejrou has joined #ruby
timonv has joined #ruby
jxf has joined #ruby
<havenwood> Feverio: So references to the same constant from multiple instances?
alekst_ has joined #ruby
gregf has quit [Quit: WeeChat 1.1.1]
<Feverio> havenwood, Yes. Memory is allocated for only one constant variable, here VERSION. Non-static variables are object-bounded, memory is allocated with each object.
vikram___ has joined #ruby
ebbflowgo has quit [Read error: Connection reset by peer]
kies has joined #ruby
symm- has quit [Ping timeout: 252 seconds]
ebbflowgo has joined #ruby
timonv has quit [Ping timeout: 245 seconds]
ebbflowgo has quit [Client Quit]
djbkd has joined #ruby
apofis has joined #ruby
gregf has joined #ruby
mh888 has joined #ruby
ebbflowgo has joined #ruby
dangerousdave has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apofis has quit [Read error: Connection reset by peer]
mh888 has left #ruby [#ruby]
apofis has joined #ruby
bttf has joined #ruby
ebbflowgo has quit [Read error: Connection reset by peer]
mandarinkin has quit [Ping timeout: 252 seconds]
ebbflowgo has joined #ruby
hewenhong has quit [Remote host closed the connection]
dmmoody has joined #ruby
hewenhong has joined #ruby
<havenwood> Feverio: I don't see any issue with how Ruby constants work and using them for a module or class version. Are you running into an issue or just imagining there might be one? If the latter, can you demonstrate it in irc or pry?
<havenwood> s/irc/irb
thisirs has quit [Ping timeout: 250 seconds]
c355E3B has joined #ruby
mandarinkin has joined #ruby
mrsolo has joined #ruby
mrsolo has quit [Remote host closed the connection]
autrilla has joined #ruby
mrsolo has joined #ruby
AmirolAh_ has quit []
mengu has joined #ruby
balazs has quit [Ping timeout: 244 seconds]
baweaver has joined #ruby
ur5us has joined #ruby
mc_fail has quit [Ping timeout: 272 seconds]
securedocs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
symm- has joined #ruby
mc_fail has joined #ruby
sandstrom has joined #ruby
chris-sonar has joined #ruby
skandi has joined #ruby
balazs has joined #ruby
jenrzzz has joined #ruby
<hectortrope> Hi I have this error while installing ruby http://ix.io/iXF
edwinvdgraaf has joined #ruby
Ox0dea has joined #ruby
<Ox0dea> hectortrope: Are you using a rather old machine?
senayar has quit [Remote host closed the connection]
mc_fail_ has joined #ruby
<hectortrope> Ox0dea: uuntu 15 in vagrant
<hectortrope> I have ruby 2.1
<havenwood> hectortrope: RUBY_CONFIGURE_OPTS=--disable-install-doc rbenv install 2.2.2
<hectortrope> havenwood: ??
<hectortrope> run that?
<havenwood> hectortrope: If you don't install rdoc it can't error.
<Ox0dea> hectortrope: That information has nothing to do with the machine you're using.
apofis has quit [Quit: This computer has gone to sleep]
snsei has quit [Remote host closed the connection]
mc_fail has quit [Ping timeout: 250 seconds]
<hectortrope> havenwood: I installed ryuby many times before and I follow simple this https://gorails.com/setup/ubuntu/15.04
mordof has joined #ruby
<hectortrope> I get no erroe and why this is?
jenrzzz has quit [Ping timeout: 255 seconds]
<havenwood> hectortrope: You could start an issue with ruby-build, since that's what rbenv uses to install Ruby. Or if you don't need rdoc just skip it.
<hectortrope> havenwood: ok Thanks
mrmargolis has joined #ruby
<Ox0dea> The process got killed for using too many resources.
jefus has quit [Ping timeout: 252 seconds]
diegoviola has quit [Remote host closed the connection]
<Ox0dea> I don't think building Ruby will cause that on any modern machine.
hewenhong has quit [Remote host closed the connection]
hewenhong has joined #ruby
<bootstrappm> hectortrope are you on an AWS micro instance?
<existensil> he said vagrant
<bootstrappm> woops
<existensil> might be configured with too little memory
zotherstupidguy has quit [Ping timeout: 272 seconds]
<bootstrappm> ^ thats what i was gonna say
<bootstrappm> I have one that is one micro instance seeing poorer performance than usual, getting some processes killed for lack of memory
hewenhong has quit [Remote host closed the connection]
edwinvdgraaf has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
<hectortrope> bootstrappm: no vagrant
<hectortrope> local machine
<bootstrappm> ok
mc_fail_ has quit [Read error: Connection reset by peer]
<bootstrappm> amount of memory you set on the vagrant?
<hectortrope> 512mb ram
mdz_ has joined #ruby
jackjackdripper has joined #ruby
<hectortrope> not enough?
<Ox0dea> Apparently not.
<existensil> probably not. I'd at least double it. Or, just skip the rdoc install as suggested previously.
<pontiki> i've compiled 2.2.0 in 512 on an RPi
<hectortrope> I run everything from ssh
IanVorn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zotherstupidguy has joined #ruby
<pontiki> as it should be one
<pontiki> done
lalops has joined #ruby
<existensil> yeah, come to think of it I didn't have any problem doing rvm installs from source on a 512MB rpi
<existensil> maybe a bug with ruby-build or rdoc
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pontiki> idk, i use ruby-install
<pontiki> which does not install the docs
f3lp has quit [Quit: Leaving]
nahtnam has joined #ruby
jottr has joined #ruby
<lalops> Direct download links/forum attatchments SEO ANALYZER SCRIPT: /AMSG FREE SEO ANALYZER SCRIPT DOWNLOAD ATTATCHMENT FOUND: http://www.websiteadverts.org/forum/showthread.php?tid=17 WEBSITE WORTH CALCULATOR SCRIPT: http://www.websiteadverts.org/forum/showthread.php?tid=16
<havenwood> !mute lalops
lalops has quit []
Langlands has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mc_fail has joined #ruby
mdz_ has quit [Ping timeout: 258 seconds]
kies has quit [Remote host closed the connection]
hewenhong has joined #ruby
elton has joined #ruby
<jhass> meh
mary5030 has joined #ruby
<jhass> looks like they're changing host now
hewenhong has quit [Remote host closed the connection]
mrmargolis` has joined #ruby
bruno- has joined #ruby
jottr has quit [Ping timeout: 276 seconds]
mrmargolis` has quit [Remote host closed the connection]
dzejrou has quit [Read error: Connection reset by peer]
apofis has joined #ruby
mary5030 has quit [Ping timeout: 265 seconds]
zotherstupidguy has quit [Ping timeout: 264 seconds]
kadoppe has quit [Ping timeout: 258 seconds]
endash has joined #ruby
kadoppe has joined #ruby
jottr has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jeff_c has joined #ruby
jeff_c has quit [Client Quit]
apofis has quit [Read error: Connection reset by peer]
apofis has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
bootstrappm has quit [Ping timeout: 250 seconds]
bootstrappm has joined #ruby
kies has joined #ruby
Fooster has joined #ruby
ruv has joined #ruby
apofis has quit [Quit: This computer has gone to sleep]
kstuart_ has joined #ruby
Fooster has quit [Ping timeout: 250 seconds]
jeffc has left #ruby ["Quitting..."]
_seanc_ has quit [Quit: _seanc_]
kstuart has quit [Ping timeout: 250 seconds]
jcoe has joined #ruby
sinkensabe has joined #ruby
mikecmpbll has quit [Quit: ciao.]
AlHafoudh has quit [Ping timeout: 264 seconds]
ringarin has joined #ruby
adefa has joined #ruby
adac has quit [Ping timeout: 250 seconds]
maciejczyzewski has joined #ruby
maciejczyzewski has left #ruby [#ruby]
AlHafoudh has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
sarkis has joined #ruby
<sarkis> hey all - is there a way to set -o StrictHostKeyChecking=no on net-ssh? I can't figure this out
AlHafoudh has quit [Read error: Connection reset by peer]
allcentury has joined #ruby
<ytti> sarkis, maybe :paranoid => false
<ytti> it is pretty badly named option
ringarin has quit [Ping timeout: 246 seconds]
<ytti> i'd call it it :secure => false
<sarkis> hah
<sarkis> ytti thanks
adefa has quit [Ping timeout: 244 seconds]
Eiam` has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ogpastaling has quit [Remote host closed the connection]
Fooster has joined #ruby
veleno has joined #ruby
ghr has joined #ruby
Scroff has quit [Remote host closed the connection]
vikaton has quit []
djbkd has quit [Remote host closed the connection]
mc_fail has quit [Ping timeout: 265 seconds]
Scroff has joined #ruby
djbkd has joined #ruby
Scroff has quit [Remote host closed the connection]
Scroff has joined #ruby
mc_fail has joined #ruby
_seanc_ has joined #ruby
ghr has quit [Ping timeout: 265 seconds]
djbkd has quit [Ping timeout: 252 seconds]
e1nh4nd3r has joined #ruby
veleno has quit [Quit: veleno]
jcoe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
jcoe has joined #ruby
sandelius has joined #ruby
Narzew has joined #ruby
kies has quit [Ping timeout: 264 seconds]
snsei has joined #ruby
RegulationD has quit [Ping timeout: 265 seconds]
affenhoden has quit [Ping timeout: 276 seconds]
malconis has joined #ruby
bootstrappm has quit [Ping timeout: 258 seconds]
affenhoden has joined #ruby
snsei has quit [Remote host closed the connection]
chipotle has joined #ruby
seanot has joined #ruby
veleno has joined #ruby
seanot has quit [Client Quit]
seanot has joined #ruby
LJT has joined #ruby
snsei has joined #ruby
fujimura has joined #ruby
eggoez has quit [Ping timeout: 256 seconds]
djbkd has joined #ruby
<Feverio> havenwood, Sorry, I fell asleep. The question is, how many instances of a constant variable in a class are produced for x objects?
<Feverio> If I have 100 objects, are there 100 different VERSION instances for each object?
<Feverio> Like, 100 VERSION copies.
eggoez has joined #ruby
datanoise has joined #ruby
mrsolo has joined #ruby
<sarkis> ytti: i set ssh_options { paranoid: false } didn't seem to do it :(
fujimura has quit [Ping timeout: 244 seconds]
roolo has quit [Remote host closed the connection]
<existensil> depends on what you meant by constant. class User; VERSION="1.0"; end would result in only one VERSION object no matter how many times you call User.new
snsei has quit [Quit: Leaving...I hear my mom calling...]
vin` has joined #ruby
<Ox0dea> >> class Foo; BAR = at_exit { p 1 }; end; 10.times { Foo.new }
<ruboto> Ox0dea # => 10 ...check link for more (https://eval.in/376626)
<Ox0dea> Dammit.
<Ox0dea> Feverio: existensil is correct.
Musashi007 has joined #ruby
<Feverio> So, a class constant is class bounded and not object bounded.
<Ox0dea> Right.
<Feverio> It's static.
<Feverio> Ok, great.
allomov has joined #ruby
<Ox0dea> No, not static, per se; you can change everything in Ruby.
djbkd has quit [Ping timeout: 272 seconds]
<existensil> as static as it gets in ruby
<Ox0dea> >> class Foo; BAR = 1; end; Foo.constants
<ruboto> Ox0dea # => [:BAR] (https://eval.in/376627)
<Feverio> That's what I was looking for, thought it was object bounded like in C++.
<existensil> it will cry if you reassign it
<Feverio> Ox0dea, Static is scope.
<existensil> but silently let you mutate it
veleno has quit [Quit: veleno]
<Feverio> existensil, Yea.
kies has joined #ruby
allcentury has quit [Quit: WeeChat 1.1.1]
<Feverio> That's for all constants or only constants inside classes?
caseypatrickdris has quit [Remote host closed the connection]
doctorly has joined #ruby
bootstrappm has joined #ruby
Jackneill has quit [Remote host closed the connection]
<Ox0dea> Feverio: Constants get set on self unless you're at the top level.
Cyberheb has quit [Quit: Computer has gone to sleep.]
<existensil> all constants are the same
<existensil> regardless of whether they are inside another class/constant
<Ox0dea> existensil: What do you mean?
<Feverio> Ox0dea, That's not what I asked. We are talking about memory allocation.
<Feverio> existensil, Oh okey I see.
<existensil> a constant is just a static container for an object in ruby. They can exist within Object (global constants) or within other classes/modules
jefus has joined #ruby
seanot has quit []
<existensil> classes themselves are a static container for an instance of Class
<existensil> just another constant that points to a Class instance
caseypatrickdris has joined #ruby
<existensil> the convention of CONSTANTS being all caps and ClassNames being camel case is just a convention. Anything that starts with an upper case letter in Ruby is a constant
micmus has quit [Quit: Leaving]
jefus has quit [Client Quit]
codecop_ has quit [Remote host closed the connection]
<existensil> well, methods can also be capitalized, hence Kernel.URI and others
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
j75 has quit [Ping timeout: 245 seconds]
Aww is now known as PrincessAww
syath has joined #ruby
<Ox0dea> existensil: Classes don't need to be constants.
jottr has joined #ruby
Rickmasta has joined #ruby
<Feverio> Ox0dea, They are, it clearly says that in the Pickaxe book.
<Ox0dea> >> x = Class.new
<ruboto> Ox0dea # => #<Class:0x40504340> (https://eval.in/376629)
michael_mbp has quit [Excess Flood]
<Ox0dea> Ta-da!
michael_mbp has joined #ruby
thisirs has joined #ruby
Rickmasta has quit [Client Quit]
<existensil> you can make an instance of Class without assigning it to a constant
Musashi007 has quit [Quit: Musashi007]
balazs_ has joined #ruby
<Feverio> Ox0dea, "A constant name starts with an uppercase letter followed by name characters. Class names and module names are constants and follow the constant naming convention."
<existensil> was just pointing out that traditional classes are just taking an instance of class and assigning it to a constant
greenbagels has joined #ruby
ruv has quit [Ping timeout: 252 seconds]
<Feverio> It's like saying then, private methods are not private at all :)
<existensil> difference between constants and methods:
<existensil> >> class Foo; Bar = "yin"; def self.Bar(*a); "yang"; end; end; [Foo::Bar, Foo.Bar, Foo.const_get(:Bar), Foo::Bar(:a)]
<ruboto> existensil # => ["yin", "yang", "yin", "yang"] (https://eval.in/376630)
jottr has quit [Ping timeout: 272 seconds]
<existensil> when using ::, ruby will look for a constant first if there are no params present
fabrice31 has joined #ruby
ruby-lang421 has joined #ruby
Langlands has joined #ruby
gmci has left #ruby ["Textual IRC Client: www.textualapp.com"]
allomov has quit [Remote host closed the connection]
ruby-lang421 has quit [Client Quit]
sinkensabe has quit [Remote host closed the connection]
yardenbar has quit [Quit: Leaving]
vikaton has joined #ruby
<Feverio> existensil, Do you know if there is anything in the pickaxe book telling what we just talked about the constant variables scope?
syath has quit [Remote host closed the connection]
nofxx has joined #ruby
DLSteve has joined #ruby
fabrice31 has quit [Ping timeout: 272 seconds]
zotherstupidguy has joined #ruby
PrincessAww has left #ruby ["Leaving"]
swgillespie has joined #ruby
apofis has joined #ruby
apofis has quit [Client Quit]
adefa has joined #ruby
Rickmasta has joined #ruby
vikaton has quit []
vikaton has joined #ruby
DEA7TH_ has quit [Ping timeout: 246 seconds]
DLSteve has quit [Ping timeout: 272 seconds]
weemsledeux has joined #ruby
adefa has quit [Ping timeout: 264 seconds]
Langlands has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
apt-get_ has quit [Quit: Quit]
gianlucadv has quit [Ping timeout: 264 seconds]
datanoise has quit [Ping timeout: 265 seconds]
ghr has joined #ruby
endash has quit [Quit: endash]
scripore has quit [Quit: This computer has gone to sleep]
dmmoody has quit [Quit: Connection closed for inactivity]
Rahul_Roy has quit [Quit: Connection closed for inactivity]
c355E3B has quit [Quit: Connection closed for inactivity]
David_H__ has quit [Remote host closed the connection]
thisirs has quit [Quit: ERC (IRC client for Emacs 25.0.50.3)]
lolmaus has joined #ruby
j75 has joined #ruby
thisirs has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
CustosLimen has quit [Ping timeout: 250 seconds]
Musashi007 has joined #ruby
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
Ox0dea has left #ruby ["WeeChat 1.3-dev"]
Ariadeno has quit [Quit: HydraIRC -> http://www.hydrairc.com <- s0 d4Mn l33t |t'z 5c4rY!]
j75 has quit []
DLSteve has joined #ruby
CustosLimen has joined #ruby
bootstrappm has quit [Ping timeout: 276 seconds]
bootstrappm has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
yfeldblum has quit [Ping timeout: 265 seconds]
hewenhong has joined #ruby
millerti has joined #ruby
balazs has quit [Ping timeout: 264 seconds]
millerti has quit [Client Quit]
apofis has joined #ruby
mrsolo has joined #ruby
David_H_Smith has joined #ruby
hewenhong has quit [Ping timeout: 255 seconds]
rushed has joined #ruby
Fooster has quit [Ping timeout: 258 seconds]
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
ruv has joined #ruby
decoponio has quit [Read error: Connection reset by peer]
lele is now known as Guest24
decoponio has joined #ruby
scripore has joined #ruby
doctorly has quit [Ping timeout: 252 seconds]
caseypatrickdris has quit [Remote host closed the connection]
AndyBotwin has quit [Quit: Leaving]
Narzew has quit [Ping timeout: 265 seconds]
duncannz has joined #ruby
balazs has joined #ruby
lolmaus has quit [Read error: Connection reset by peer]
endash has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
c355E3B has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Renich has joined #ruby
scripore has quit [Ping timeout: 276 seconds]
vin` has quit [Ping timeout: 256 seconds]
thisirs has quit [Ping timeout: 252 seconds]
jottr has joined #ruby
attlasbot has joined #ruby
malconis has joined #ruby
jaxxstorm has quit [Ping timeout: 265 seconds]
rbowlby has joined #ruby
YamakasY has joined #ruby
jaxxstorm has joined #ruby
<YamakasY> hi guys... as there is no scl repo for centos 7, is there a rubygems repo for centos 7 somewhere ?
caseypatrickdris has joined #ruby
ur5us has quit [Remote host closed the connection]
Narzew has joined #ruby
caseypatrickdris has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 265 seconds]
michas has joined #ruby
<bootstrappm> YamakasY: you trying to install a more recent version of ruby on centos_
<bootstrappm> ?
DLSteve has quit [Quit: Leaving]
mrsolo has joined #ruby
<YamakasY> bootstrappm: yep can do, but if there is some ruby repo, I would be fine
<bootstrappm> no, i'm confused what you're asking YamakasY ... what do you mean some ruby repo? A repo that has a more recent version of repo? a repo with ruby gems?
<YamakasY> bootstrappm: yeah that ruby is just upgraded to the latest version
chipotle has quit [Quit: cheerio]
rodfersou has quit [Remote host closed the connection]
jcoe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<bootstrappm> YamakasY: so ruby in the package managers (apt-get / yum) usually lags behind current ruby. Recommended way to install ruby is ruby-install, rbenv + ruby-build, etc.
<bootstrappm> I personally use rvm
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
<YamakasY> bootstrappm: yes I saw... I need to install foreman-proxy on centos 7
<YamakasY> Error: Package: 1:rubygem-sinatra-1.3.5-1.el7.noarch (foreman) Requires: rubygem(rack) >= 1.4.0
<bootstrappm> you get that error from what YamakasY?
<YamakasY> yum install foreman-proxy
snophey has joined #ruby
<bootstrappm> some googling led me to this: http://projects.theforeman.org/projects/foreman/wiki/How_to_Install_a_Smart-Proxy_Plugin - is that what told you to try to install that via yum?
<bootstrappm> don't install any ruby gems through package managers
apofis has quit [Quit: This computer has gone to sleep]
apofis has joined #ruby
<bootstrappm> just learn to use `gem install` or bundler
ndrei has quit [Ping timeout: 264 seconds]
Scroff has quit [Remote host closed the connection]
<jhass> I do actually install all gems I install system wide through my package manager ;P
Scroff has joined #ruby
<bootstrappm> really?! YamakasY looks like jhass is your man for this problem hahah
bertocode has quit [Quit: Nettalk6 - www.ntalk.de]
<postmodern> YamakasY, depends on what OS/distro your using, Arch and Fedora's packaged ruby are quite nice
<YamakasY> bootstrappm: yes yes
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<YamakasY> postmodern: centos 7
Scroff has quit [Remote host closed the connection]
<YamakasY> on c6 you have scl
apofis has quit [Client Quit]
jottr has joined #ruby
apofis has joined #ruby
<YamakasY> bootstrappm: I don't need plugins, only the proxy
chipotle has joined #ruby
datanoise has joined #ruby
Scroff has joined #ruby
<jhass> postmodern: btw any news on the unification of chruby $GEM_HOME with --user-install $GEM_HOME front?
rgb-one has joined #ruby
ndrei has joined #ruby
<rgb-one> Anyone familiar with using markdown within inline html elements in a markdown file?
<sweeper> hmm, should I call a collection of songs and readings "services" or "missals" or "liturgies"
jcoe has joined #ruby
<rgb-one> I would like to embed markdown within the <aside> element.
<postmodern> jhass, i think your referring to the fact rubygems hardcodes their #!/path/to/ruby?
veleno has joined #ruby
<rgb-one> I have tried <aside class="name" markdown="1">**Hello**</aside> but to no avail.
<waxjar> sweeper: songs_and_readings?
<jhass> postmodern: no the RUBY_VERSION vs ruby abi in the path thingy
RegulationD has joined #ruby
<sweeper> waxjar: it's not just that, it'll need some style settings associated with it :P
rushed has quit [Quit: rushed]
<postmodern> jhass, that would be a breaking change, so no idea. also i don't have much free time
ghr has joined #ruby
<postmodern> jhass, but the new shared rubygems extension code is beginning to roll out
Musashi007 has quit [Quit: Musashi007]
mh888 has joined #ruby
mh888 has quit [Max SendQ exceeded]
Scroff has quit [Ping timeout: 272 seconds]
mh888 has joined #ruby
Contigi has quit [Quit: Leaving]
mh888 has quit [Client Quit]
<jhass> I guess I wouldn't mind it as a configuration issue, CHRUBY_GEM_HOME_SCHEME=rubygems-user-install or whatever
<jhass> s/issue/option/
<postmodern> jhass, probably when the last -pXXX ruby gets EOLed we can switch to X.Y
duderonomy has quit [Ping timeout: 258 seconds]
<havenwood> which will be in Feb :)
OrbitalKitten has joined #ruby
<atmosx> night all
<atmosx> :-)
<havenwood> atmosx: g'night
<postmodern> jhass, but that'd also require rubygems stop hardcoding the #!/path/to/ruby, so you can share gem binaries between patch-level versions
<postmodern> jhass, still waiting on https://github.com/rubygems/rubygems/issues/1049
<jhass> eh, if I have to configure I have no issue to add --env-shebang to my gemrc
<YamakasY> so anyone a clue ?
RegulationD has quit [Ping timeout: 272 seconds]
<postmodern> jhass, yeah i put --env-shebang --user-install in .gemrc on random ubuntu systems
pontiki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> granted I have a bit uncommon setup where I have the system ruby available as an alias of its version
<jhass> so I can chruby 2.2 and get the system ruby
<jhass> but currently my issue is that with --user-install --env-shebang gem install installs to different locations under chruby system and chruby 2.2
Musashi007 has joined #ruby
ghr has quit [Ping timeout: 258 seconds]
OrbitalKitten has quit [Client Quit]
idafyaid has quit [Ping timeout: 250 seconds]
bantic has joined #ruby
eggoez has quit [Ping timeout: 252 seconds]
OrbitalKitten has joined #ruby
mdz_ has joined #ruby
<YamakasY> this sucks
<postmodern> i wonder if we should even bother separate gems by ruby version now that rubygems can compile extensions on-the-fly
<jhass> as said IMO it should just choose the same gem home --user-install chooses
fujimura has joined #ruby
<jhass> ideally whatever that is for the actually selected ruby version
mrsolo has quit [Quit: This computer has gone to sleep]
eggoez has joined #ruby
mdz_ has quit [Ping timeout: 252 seconds]
OrbitalKitten has quit [Client Quit]
segfalt has quit [Ping timeout: 276 seconds]
michas has quit [Read error: Connection reset by peer]
fujimura has quit [Ping timeout: 244 seconds]
segfalt_ has joined #ruby
A124 has joined #ruby
workmad3 has joined #ruby
OrbitalKitten has joined #ruby
thiagovsk has quit [Quit: Connection closed for inactivity]
bosma_ has joined #ruby
nahtnam has quit [Quit: Connection closed for inactivity]
NeverDie has joined #ruby
A205B064 has joined #ruby
bosma has quit [Ping timeout: 272 seconds]
workmad3 has quit [Ping timeout: 246 seconds]
datanoise has quit [Ping timeout: 258 seconds]
mc_fail has quit [Ping timeout: 246 seconds]
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
mc_fail has joined #ruby
veleno has quit [Quit: veleno]
bosma_ is now known as bosma
jottr_ has joined #ruby
pygospa has quit [Quit: leaving]
jottr has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
mengu has quit [Remote host closed the connection]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
e1nh4nd3r has quit [Quit: Leaving.]
mc_fail has quit [Ping timeout: 264 seconds]
ohaibbq has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
mc_fail has joined #ruby
MrBeardy has quit [Ping timeout: 276 seconds]
senayar has joined #ruby
pygospa has joined #ruby
nolic has quit [Ping timeout: 272 seconds]
adefa has joined #ruby
fabrice31 has joined #ruby
David_H_Smith has quit [Ping timeout: 252 seconds]
doctorly has joined #ruby
adefa has quit [Ping timeout: 272 seconds]
David_H_Smith has joined #ruby
fabrice31 has quit [Ping timeout: 272 seconds]
mrsolo has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Narzew has quit [Remote host closed the connection]
LJT has quit [Quit: Sleeping...]
CloCkWeRX has joined #ruby
Guest64536 has joined #ruby
mc_fail has quit [Read error: Connection reset by peer]
mc_fail has joined #ruby
David_H__ has joined #ruby
Guest64536 has quit [Client Quit]
David_H_Smith has quit [Ping timeout: 264 seconds]
Limix has joined #ruby
yfeldblum has joined #ruby
j4cknewt has joined #ruby
malconis has joined #ruby
ghr has joined #ruby
arescorpio has joined #ruby
RoryHughes has quit [Ping timeout: 265 seconds]
ruv has quit [Ping timeout: 246 seconds]
RoryHughes has joined #ruby
jottr_ has quit [Ping timeout: 250 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ndrei has quit [Ping timeout: 252 seconds]
atomical has joined #ruby
ghr has quit [Ping timeout: 276 seconds]
scripore has joined #ruby
FernandoBasso has quit [Quit: WeeChat 1.2]
hewenhong has joined #ruby
nolic has joined #ruby
scripore has quit [Read error: Connection reset by peer]
apofis has quit [Quit: This computer has gone to sleep]
That1Guy has joined #ruby
j4cknewt has quit [Remote host closed the connection]
Rickmasta has joined #ruby
hewenhong has quit [Ping timeout: 252 seconds]
<That1Guy> Is there a way in ruby using gets.chomp to say if I haven't had a response in x seconds to run this other code?
growlove has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
bantic has quit [Quit: bantic]
<shevy> I think so; you may possibly have to use Thread.new {}.join and determine what happens through a counter
<That1Guy> I was thinking I was going to need to use either the wait or sleep method somehow
Fooster has joined #ruby
sarkis has quit [Ping timeout: 256 seconds]
<That1Guy> I wanted to put if sleep 5
<That1Guy> then my code, but that just runs sleep 5
<shevy> well did you use a thread yet
bkxd has quit [Ping timeout: 256 seconds]
<That1Guy> I'm too new to know what that is.
davedev24_ has quit []
<That1Guy> Just learned initialize and class
davedev24_ has joined #ruby
datanoise has joined #ruby
Limix has quit [Quit: Limix]
freerobby has quit [Quit: Leaving.]
Fooster has quit [Ping timeout: 250 seconds]
freerobby has joined #ruby
freerobby has quit [Client Quit]
rbowlby has quit [Remote host closed the connection]
datanoise has quit [Ping timeout: 258 seconds]
Fooster has joined #ruby
Synthbread has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
teotwaki has quit [Ping timeout: 265 seconds]