apeiros changed the topic of #ruby to: Ruby 2.0.0-p353: http://ruby-lang.org (Ruby 1.9.3-p484) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
bwwrd has quit [Ping timeout: 245 seconds]
magoo has quit [Quit: WeeChat 0.4.2]
jbzt has joined #ruby
<slash_nick> kiba: are you t he kiba that worked in Birmingham, AL?
Hanmac1 has joined #ruby
kbouwser has joined #ruby
nick_h_ has quit [Ping timeout: 245 seconds]
<jbzt> Does anyone know if there is a way to set a timeout for Net::HTTP.get_response ? I haven't been able to find an example, but I see the continue_timeout attribute, but not sure how to use it
clamstar_ has quit [Quit: Computer has gone to sleep.]
popl has quit [Ping timeout: 272 seconds]
nick_h has joined #ruby
amedeiros has quit [Remote host closed the connection]
jkhwan has quit [Remote host closed the connection]
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AMcP has quit [Remote host closed the connection]
magoo has joined #ruby
jkhwan has joined #ruby
Hanmac has quit [Ping timeout: 272 seconds]
drumusician has quit [Read error: Connection reset by peer]
bricker has quit [Quit: leaving]
drumusician has joined #ruby
workmad3 has joined #ruby
fijimunkii has quit [Ping timeout: 264 seconds]
predator117 has joined #ruby
cow_ has joined #ruby
simoz7 has joined #ruby
<frem> \part
frem has left #ruby [#ruby]
predator217 has quit [Ping timeout: 252 seconds]
AMcP has joined #ruby
jbzt has quit [Quit: jbzt]
cow_ has quit [Ping timeout: 272 seconds]
Geniack has quit [Disconnected by services]
Geniack_ has joined #ruby
jamesaanderson has joined #ruby
petey has quit [Remote host closed the connection]
nanoyak has quit [Quit: Computer has gone to sleep.]
psyl0n has joined #ruby
benlieb has joined #ruby
Megtastique has joined #ruby
robbyoconnor has quit [Ping timeout: 245 seconds]
dnxx has joined #ruby
<benlieb> rspec question: what does this do exactly? validator = double("validator")
okinomo has joined #ruby
nfk has quit [Quit: yawn]
<pragmatism> benlieb: pretty sure it essentially dupes the object.
charliesome has joined #ruby
saarinen has quit [Quit: saarinen]
ludar has quit [Ping timeout: 250 seconds]
<benlieb> pragmatism: what object, though? The string?
psyl0n has quit []
<benlieb> It's from the actual docs
mame0 has joined #ruby
drumusician has quit [Ping timeout: 240 seconds]
kevind_ has quit [Quit: kevind_]
baroquebobcat has quit [Quit: baroquebobcat]
baroquebobcat has joined #ruby
Bira has quit [Remote host closed the connection]
baroquebobcat has quit [Client Quit]
tfitts has joined #ruby
snath has quit [Read error: Connection reset by peer]
<pragmatism> benlieb: in this case, it appears the string is being used to validate a field, so yes, you're duping the string.
<pragmatism> Just as easily:
hamakn has joined #ruby
<pragmatism> object = double(Object.new)
<pragmatism> er
<pragmatism> object = Object.new
<pragmatism> object1 = double object
<pragmatism> object1.field = poops
fomatin has joined #ruby
<pragmatism> object.field.nil? #=> true
kcombs has joined #ruby
Megtastique has quit []
<pragmatism> Sorry if that's a little weird, I have a terrible cold and I'm a little hopped on decongenstants :/
<benlieb> double("validator") => #<RSpec::Mocks::Mock:0x3feabdb27284 @name="validator">
fedesilva has joined #ruby
ludar has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AlSquire has quit [Quit: This computer has gone to sleep]
hamakn has quit [Ping timeout: 272 seconds]
<pragmatism> Meh. not sure then. Haven't used RSpec enough, more of a minitest person.
brunops has joined #ruby
esing has quit [Remote host closed the connection]
mikepack has quit [Remote host closed the connection]
dnxx has quit [Ping timeout: 246 seconds]
otherj has joined #ruby
mrsolo has joined #ruby
snath has joined #ruby
randomnick_ has quit [Quit: Leaving]
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
fijimunkii has joined #ruby
jkhwan has quit [Remote host closed the connection]
ludar has quit [Ping timeout: 245 seconds]
klaut has quit [Remote host closed the connection]
jamesaanderson has joined #ruby
tylersmith has joined #ruby
preller has quit [Ping timeout: 250 seconds]
vlad_starkov has joined #ruby
clamstar_ has joined #ruby
nobitanobi has quit [Read error: No buffer space available]
<workmad3> benlieb: double creates a double/mock object
<workmad3> benlieb: which you can set method expectations on and safely stub methods out on
<benlieb> workmad3: what is the purpose of the string inside in this case?
<benlieb> why not just double()
<workmad3> benlieb: the string is used as a description
<workmad3> benlieb: and, as the inspect showed, the name
<benlieb> workmad3: so when reporting happens during errors or something?
<workmad3> benlieb: pretty much
<workmad3> benlieb: 'double "validator" expected the method foobar to be called once, but it was called a trillion times'
<workmad3> that sort of thing
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Read error: Connection reset by peer]
zumba_addict_ has joined #ruby
<benlieb> workmad3: ok, I get it
charliesome has joined #ruby
zumba_addict has quit [Ping timeout: 250 seconds]
zumba_addict_ is now known as zumba_addict
<workmad3> benlieb: you can also provide a class there, and the name will be taken from that and used to generate a fake name, iirc
punkrawkR has joined #ruby
preller has joined #ruby
<benlieb> tnx. I tried to mess around with this in the console, but it's clear I don't understand how to use these.
<benlieb> Guess I'll find a book. The docs are no good :(
colonolGron has joined #ruby
<benlieb> double(User.new).email
<benlieb> RSpec::Mocks::MockExpectationError: Double #<User id: nil, login: nil, email: nil, crypted_password: nil, salt: nil, created_at: nil, updated_at: nil, remember_token: nil, remember_token_expires_at: nil, admin: false, alerts: nil, activation_code: nil, activated_at: nil, status: "passive", deleted_at: nil, school_id: nil, reset_code: nil, first_name: nil, last_name: nil, person_id: nil> received unexpected message :email with (no args)
jonathanwallace1 has quit [Quit: WeeChat 0.4.1]
<workmad3> benlieb: no stubs are set up on the double by default
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mars__ has joined #ruby
<benlieb> ok
<workmad3> benlieb: and you'd typically do double(User, email: "foobar")
<benlieb> so I would just do User.new.stub(:email)
<workmad3> if you want a test stub that doesn't care what happens to it, you can do double(User).as_null_object
EngierkO has joined #ruby
Mars__ is now known as Mars`
<benlieb> if I want it to work mostly like a User with some exceptions, I would stub an actual User instance?
EngierkO has quit [Max SendQ exceeded]
<workmad3> that's what I tend to do
maletor has quit [Quit: Computer has gone to sleep.]
<workmad3> if I can't get the user to just act like that
havenwood has joined #ruby
<benlieb> i just don't quite see the benefit yet of pure doubles, then.
wallerdev has quit [Quit: wallerdev]
<benlieb> because they don't really do anything but what methods you give them.
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
b00stfr3ak has joined #ruby
<workmad3> benlieb: decoupling... you can spec out something that uses a User without actually using a User class
osziradek has joined #ruby
<workmad3> benlieb: so you can develop stuff that needs a User without developing the User first... and then use the things that need a User to determine the interface for Users
osziradek has quit [Client Quit]
<benlieb> workmad3: what about for associations: ActiveRecord::AssociationTypeMismatch: User(#70293408442600) expected, got RSpec::Mocks::Mock(#70293416556260)
<benlieb> I'm new to rspec, mostly done Test::Unit and minitest.
<workmad3> ah, rails stuff... I used to know some bits for getting mocks to play with rails associations, but nothing recent sorry
<benlieb> workmad3: that's ok. Factories seem better for this anyway.
EngierkO has joined #ruby
maletor has joined #ruby
havenn has joined #ruby
tyl has joined #ruby
Bira has joined #ruby
havenwood has quit [Ping timeout: 252 seconds]
<workmad3> benlieb: you can play around with FactoryGirl's .build_stubbed method for some improvements btw ;)
LostMonk has quit [Read error: Connection reset by peer]
maycon has joined #ruby
maycon has joined #ruby
maycon has quit [Changing host]
bszmyd has joined #ruby
endash has joined #ruby
bogeyd6 has joined #ruby
robustus has quit [Ping timeout: 245 seconds]
echevemaster has joined #ruby
culturel_ has joined #ruby
robustus has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
flubba has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
culturel_ has quit [Client Quit]
rjhunter has joined #ruby
toastynerd has quit [Remote host closed the connection]
ssvo has quit [Ping timeout: 250 seconds]
kevind_ has joined #ruby
toastynerd has joined #ruby
reach has quit [Remote host closed the connection]
mklappstuhl has joined #ruby
kevind_ has quit [Client Quit]
kevind_ has joined #ruby
kevind_ has quit [Client Quit]
rh1n0 has quit [Quit: Linkinus - http://linkinus.com]
blackmesa has quit [Ping timeout: 240 seconds]
VTLob has quit [Quit: VTLob]
bricker`LA has joined #ruby
rjhunter has quit [Ping timeout: 245 seconds]
Angelous has left #ruby [#ruby]
b00stfr3ak has quit [Ping timeout: 264 seconds]
toastynerd has quit [Ping timeout: 252 seconds]
preller has quit [Ping timeout: 240 seconds]
benlieb has quit [Quit: benlieb]
bwwrd has joined #ruby
snath has quit [Remote host closed the connection]
BraddBitt has quit [Read error: Connection reset by peer]
larissa has joined #ruby
benlieb has joined #ruby
BraddBitt has joined #ruby
dima_ has quit [Remote host closed the connection]
cow_ has joined #ruby
kitak has quit [Remote host closed the connection]
simoz7 has quit [Ping timeout: 246 seconds]
havenn has quit []
kitak has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
tomsthumb has quit [Ping timeout: 252 seconds]
atno_ has joined #ruby
kcombs has quit [Ping timeout: 272 seconds]
preller has joined #ruby
axl_ has quit [Quit: axl_]
iliketur_ has joined #ruby
cow_ has quit [Ping timeout: 265 seconds]
Bira has quit []
atno has quit [Ping timeout: 245 seconds]
charliesome has joined #ruby
dapz has quit [Ping timeout: 272 seconds]
nowthatsamatt has joined #ruby
heidi has quit [Quit: Leaving.]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bnjamin has quit [Remote host closed the connection]
AMcP has quit [Remote host closed the connection]
michaeldeol has quit [Remote host closed the connection]
LexicalScope` has quit [Ping timeout: 272 seconds]
LexicalScope has quit [Ping timeout: 272 seconds]
michaeldeol has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
aspires has quit []
Alina-malina has joined #ruby
lyanchih_ has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
fedesilva has quit [Remote host closed the connection]
jamesaanderson has joined #ruby
michaeldeol has quit [Ping timeout: 272 seconds]
Deele has quit [Ping timeout: 260 seconds]
lewix has quit [Remote host closed the connection]
magoo has quit [Quit: WeeChat 0.4.2]
bwwrd has quit [Quit: Textual IRC Client: www.textualapp.com]
shadoi has quit [Read error: Connection reset by peer]
marr has quit [Ping timeout: 245 seconds]
shadoi has joined #ruby
jsaak_ has quit [Read error: Operation timed out]
Gooder has quit [Remote host closed the connection]
micah` has quit [Read error: Operation timed out]
Gooder has joined #ruby
lfox has joined #ruby
lfox has quit [Client Quit]
jsaak has joined #ruby
kcombs has joined #ruby
micah` has joined #ruby
w4pm_ has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
culturel_ has joined #ruby
snath has joined #ruby
w4pm has quit [Ping timeout: 240 seconds]
reach has joined #ruby
LexicalScope has joined #ruby
LexicalScope` has joined #ruby
Rickmasta has quit [Quit: Leaving]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
subbyyy has quit [Ping timeout: 248 seconds]
iliketur_ has quit [Quit: zzzzz…..]
mrsolo has quit [Quit: This computer has gone to sleep]
loving_ruby has joined #ruby
cow_ has joined #ruby
vlad_starkov has joined #ruby
mklappstuhl has joined #ruby
tyl has quit [Changing host]
tyl has joined #ruby
<loving_ruby> Hi guys as a beginner to Ruby from a Java background I can't seem to understand Ruby modules, I've tried reading from many sources though just don't get it.
lewix has joined #ruby
maletor has joined #ruby
<apeiros_unid> loving_ruby: modules are mainly two things: a) namespaces, b) containers for instance methods which can be added elsewhere through include/extend
vlad_starkov has quit [Read error: Connection reset by peer]
<mjc_> loving_ruby: in the case of b as apeiros_unid mentioned; you can think of modules as a way to add functionality to anothe class
<mjc_> *another
<loving_ruby> similar to import in Java I suppose
<apeiros_unid> don't think so, no
<Jamo> not really
<apeiros_unid> similar to abstract classes
<loving_ruby> oh
<apeiros_unid> just that you can include as many modules as you want
workmad3 has quit [Ping timeout: 240 seconds]
<mjc_> abstract classes? not really
<mjc_> they are mixins
<mjc_> essentially
cow_ has quit [Ping timeout: 265 seconds]
<apeiros_unid> mjc_: to an extent, yes, they are similar
flubba has joined #ruby
<apeiros_unid> mjc_: you can't instantiate modules
<apeiros_unid> mjc_: include/extend works through inheritance
<loving_ruby> what are namespaces?
<mjc_> you can't directly inherit a module, can you ?
cow_ has joined #ruby
toastynerd has joined #ruby
<apeiros_unid> loving_ruby: Foo::Bar - the constant Bar is within the Foo namespace
<apeiros_unid> mjc_: include *is* inheriting
<apeiros_unid> an included module ends up directly in the ancestors
<mjc_> apeiros_unid: class Foo < MyModule doesn't work, though, right?
<apeiros_unid> >> module X; end; class A; include X; end; A.ancestors
<eval-in> apeiros_unid => [A, X, Object, Kernel, BasicObject] (https://eval.in/81588)
<loving_ruby> So basically making the class a subclass of the module and it can take from it what it wants
<apeiros_unid> mjc_: correct, you don't use inheritance (i.e. A < SomeMod). you use include.
aryaching has joined #ruby
<mjc_> right
<apeiros_unid> it still is inheritance ;-)
<mjc_> loving_ruby: yeah
charliesome has joined #ruby
<apeiros_unid> loving_ruby: the "take from it what it wants" is not correct, no
<apeiros_unid> loving_ruby: it will always take all
<apeiros_unid> even things defined later
<loving_ruby> ok, so what are namespaces again?
<apeiros_unid> you can't "partially include"
<apeiros_unid> loving_ruby: imagine you have a class Data in your library
<apeiros_unid> you use another lib which also has a class Data
<apeiros_unid> that'd collide
<apeiros_unid> so you use namespaces
<apeiros_unid> YourLib::Data, HisLib::Data
<apeiros_unid> within YourLib you can refer to YourLib::Data by just using Data
<apeiros_unid> and a toplevel Data you'd reach via ::Data
<loving_ruby> interesting, what are mixins?
<loving_ruby> thanks guys
<apeiros_unid> things you mix in. another term for modules' functionality.
<apeiros_unid> (the include/extend part)
<pipecloud> /nick hating_self
<apeiros_unid> see Object#extend and Class#include docs
<loving_ruby> so taking part of functionality not all
sarmiena_ has joined #ruby
<pipecloud> I thought it was Module.include
klaut has joined #ruby
<apeiros_unid> no. include/extend always gets all the stuff in the module. again, no selective include/extend possible (in vanilla ruby)
<pipecloud> With Object#extend
<apeiros_unid> pipecloud: correct, Module#include, yes.
<pipecloud> apeiros_unid: No, I think it's Module.include, the class method
<apeiros_unid> no, it's an instance method
<sarmiena_> i'm having some strange issues when trying to compare strings. i'm importing a CSV file & noticed that a comparison wasn't working when working with the headers of the CSV.
brianpWins has quit [Quit: brianpWins]
<apeiros_unid> since your class is an instance of Class which subclasses Module
<sarmiena_> after some debugging, i found out that "first_name".size was 11
loving_ruby has left #ruby [#ruby]
<sarmiena_> and if i print each char, there's a leading space
<apeiros_unid> Module.include exists, but by the way of Module being an instance of Class
<sarmiena_> but i don't see it … it's just "first_name" … no leading space
<apeiros_unid> (yay for circular definitions)
<pipecloud> You're right.
<pipecloud> It's an instance method.
<apeiros_unid> sarmiena_: what does "first_name".ord return?
<apeiros_unid> also, what does "first_name".encoding return?
<apeiros_unid> (of course - use whatever contains the string instead of the literal)
Rickmasta has joined #ruby
<sarmiena_> apeiros_unid: 65279
<sarmiena_> #<Encoding:UTF-8>
<apeiros_unid> sarmiena_: that's the BOM
<apeiros_unid> unicode byte order mark
michaeldeol has joined #ruby
<apeiros_unid> should not be needed with utf-8, though
<sarmiena_> bom?
<apeiros_unid> iirc that one is even wrong for utf-8
<sarmiena_> 65279?
<apeiros_unid> byte order mark
klaut has quit [Ping timeout: 265 seconds]
<apeiros_unid> >> 65279.to_s(16)
<eval-in> apeiros_unid => "feff" (https://eval.in/81589)
<sarmiena_> interesting
<apeiros_unid> from there: UTF-16 (BE) FE FF
<apeiros_unid> so you have a utf-8 string with a utf-16 BOM (which is just plain wrong)
<sarmiena_> this is such a weak part of my programming knowledge. byte encoding
<sarmiena_> yeah this is odd
<apeiros_unid> it's rather char encoding ;-)
<apeiros_unid> bytes nowadays are pretty much settled for being encoded by 8 bits
cow__ has joined #ruby
amsi has quit [Quit: Leaving]
Mars`_ has joined #ruby
<apeiros_unid> (you may laugh, but that hasn't always been the case)
kung has quit [Ping timeout: 250 seconds]
<sarmiena_> ah so chars that are utf-8 use 8 bits
<apeiros_unid> no
<sarmiena_> but this one is saying "i have utf-8 encoding" but has 16 char?
<apeiros_unid> chars in utf-8 can use 1-3 bytes, iirc. might go up to 5, not sure
<sarmiena_> oh
<sarmiena_> where's the 8 come from?
<apeiros_unid> no, it has a mark, which does not belong there
sayan has joined #ruby
<apeiros_unid> it comes from most chars using a single byte
<sarmiena_> i see. ok
<apeiros_unid> well, most as in most western chars
<sarmiena_> so this is what i did then
<apeiros_unid> ascii is utf-8 compatible, that is the first 128 chars are identically encoded
<sarmiena_> "fn" is my variable name
angusiguess has joined #ruby
<apeiros_unid> "character encoding" is what defines how a character is expressed in bytes
michaeldeol has quit [Ping timeout: 248 seconds]
<sarmiena_> i see
Mars` has quit [Ping timeout: 240 seconds]
<sarmiena_> ok i'll look that stuff up. seems like a lot to take in, but i'm due for it
<sarmiena_> fn. frozen? returns true, so i do the following
cow_ has quit [Ping timeout: 252 seconds]
kitak has quit [Remote host closed the connection]
<sarmiena_> fn.dup.encode!('utf-8').length
<sarmiena_> still returns 11
kitak has joined #ruby
<sarmiena_> how can i remove the byte order mark?
maletor has quit [Quit: Computer has gone to sleep.]
threesome has quit [Read error: Operation timed out]
<apeiros_unid> for example, the character "ä" in 4 different encodings: windows-1252: "\xe4", macroman: "\x8a", utf-8: "\xc3\xa4", utf-16BE: "\x00\xe4"
cow__ has quit [Ping timeout: 264 seconds]
flubba has quit [Read error: Connection reset by peer]
<apeiros_unid> sarmiena_: the data is corrupt before already
<apeiros_unid> so the question is how does fn get filled?
<sarmiena_> ah ok apeiros_unid. i think this is a lot to work off of
<sarmiena_> CSV.foreach(file, headers: true)
soheil has quit [Remote host closed the connection]
<apeiros_unid> hm
flubba has joined #ruby
<sarmiena_> "r:bom|utf-8"
<sarmiena_> when opening file
<sarmiena_> gimme a few. i'll try it out
<apeiros_unid> the point is - you don't have a utf-8 BOM
diegoviola has joined #ruby
rjhunter has joined #ruby
S0da has quit [Read error: Connection reset by peer]
<apeiros_unid> you have a utf-16 BOM - in an apparently utf-8 file. so your source data is probably broken
clamstar_ has quit [Quit: Computer has gone to sleep.]
<sarmiena_> oh i see
<sarmiena_> fak
<apeiros_unid> it's easy to fix
<sarmiena_> yeah someone just emailed me this csv to parse it
<sarmiena_> how can i fix the file?
<apeiros_unid> the question is whether it's a one-off or something which should work often
Voodoofish430 has quit [Quit: Leaving.]
<apeiros_unid> lets see whether the BOM appears only at the start or multiple times…
colonolGron has quit [Quit: leaving]
<apeiros_unid> File.read(path, encoding: 'binary').scan(/\xfe\xff/n).size
LexicalScope` has quit [Ping timeout: 246 seconds]
LexicalScope has quit [Ping timeout: 246 seconds]
cow_ has joined #ruby
<apeiros_unid> `path` is the path to your csv file
fijimunkii has quit [Ping timeout: 265 seconds]
diegoviola has quit [Excess Flood]
<sarmiena_> ok lemme check it out
<apeiros_unid> I would expect it to return 1
diegoviola has joined #ruby
diegoviola has quit [Changing host]
diegoviola has joined #ruby
<sarmiena_> 0
<apeiros_unid> o0
<sarmiena_> hah
<apeiros_unid> what encoding is the csv supposed to be?
rjhunter has quit [Ping timeout: 264 seconds]
tyl has quit [Ping timeout: 240 seconds]
<sarmiena_> i'm assuming utf-8
<sarmiena_> again, i have very little knowledge of character encoding
<sarmiena_> what else can i do?
<sarmiena_> for this particular case?
<apeiros_unid> hm, odd… so it's not in the file, but when you let CSV parse it, you later have it in…
<apeiros_unid> is the file sensitive? or can you publish it?
<sarmiena_> i guess. it's someone's leads
<sarmiena_> i can PM you link to private pastie
<sarmiena_> errr.
whysosad has quit [Read error: Connection reset by peer]
<sarmiena_> dropbox download
punkrawkR has quit [Read error: Connection reset by peer]
preller has quit [Ping timeout: 250 seconds]
whysosad has joined #ruby
tyl has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
glide has joined #ruby
<sarmiena_> apeiros_unid: i uploaded it to my server
Xeago has quit [Remote host closed the connection]
<sarmiena_> wanna check it out?
angusiguess has quit [Ping timeout: 252 seconds]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fedesilva has joined #ruby
iliketur_ has joined #ruby
<apeiros_unid> sure
<sarmiena_> k sec
<apeiros_unid> paste the code you use to get to the `fn` variable too please
kitak has quit [Remote host closed the connection]
preller has joined #ruby
kitak has joined #ruby
iliketur_ has quit [Client Quit]
fedesilva has quit [Remote host closed the connection]
<sarmiena_> apeiros_unid: you got it?
<apeiros_unid> yes
<sarmiena_> cool thanks
shevy has quit [Ping timeout: 265 seconds]
<apeiros_unid> on which row do you get the issue?
<apeiros_unid> and what column?
lethjakman has quit [Ping timeout: 252 seconds]
<apeiros_unid> ah… funky… the column name itself is the problem?
kitak has quit [Ping timeout: 245 seconds]
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
shevy has joined #ruby
habanany has joined #ruby
<apeiros_unid> ok, I was slightly mislead - your file has a utf-8 bom
jamesaanderson has joined #ruby
joast has quit [Quit: Leaving.]
<apeiros_unid> seems the BOM codepoint is identical for all utf encodings. makes sense actually. the byte representation is what changes. same as for other character.
<sarmiena_> ok ok
<apeiros_unid> *characters
<sarmiena_> so that stack overflow thing should work?
<apeiros_unid> so the solution from SO should work
<apeiros_unid> yes
<sarmiena_> wonderful!!! thanks. btw you said many things that i don't really understand. but copying them to clipboard to investigate later. thank you!!!
<apeiros_unid> CSV.foreach(file, headers: true, encoding: 'bom|utf-8')
<apeiros_unid> works for me here
carif has joined #ruby
habanany1 has joined #ruby
angusiguess has joined #ruby
<apeiros_unid> sarmiena_: codepoint is the numerical value assigned to a character. an ID so to speak. how that character is encoded in bytes is determined by the encoding. see example above.
Barrin6 has joined #ruby
<apeiros_unid> (with the 4 encodings)
cow_ has quit [Remote host closed the connection]
<apeiros_unid> .ord gives you the codepoint of the first character.
<apeiros_unid> in ASCII codepoint == binary value of the byte
habanany has quit [Ping timeout: 265 seconds]
<apeiros_unid> (in any single-byte encoding, codepoint == binary value of the byte, I think - at least I'm unaware of one which differs)
gja has joined #ruby
<sarmiena_> ok. more to the clipboard :) how did you learn about all this char encoding stuff anyhow? experience or schooling?
preller has quit [Ping timeout: 246 seconds]
hakunin has quit [Ping timeout: 252 seconds]
mojjojo has joined #ruby
<apeiros_unid> no idea. I usually learn when I need something.
<apeiros_unid> and then I just scour the web ;-)
Hanmac has joined #ruby
sayan has quit [Quit: Leaving]
w4pm_ has quit [Ping timeout: 248 seconds]
preller has joined #ruby
joast has joined #ruby
Hanmac1 has quit [Ping timeout: 250 seconds]
freakazoid0223 has quit [Quit: Leaving]
chihhsin has quit [Ping timeout: 265 seconds]
baroquebobcat has joined #ruby
digital-ghost has quit [Remote host closed the connection]
osvico has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
cow_ has joined #ruby
Advocation has joined #ruby
vlad_starkov has joined #ruby
joaoh82 has quit [Remote host closed the connection]
gja has quit [Quit: This computer has gone to sleep]
vlad_starkov has quit [Read error: Connection reset by peer]
huttan_ has quit [Ping timeout: 246 seconds]
shevy has quit [Ping timeout: 252 seconds]
Advocation has quit [Ping timeout: 250 seconds]
ninegrid has quit [Ping timeout: 260 seconds]
clamstar_ has joined #ruby
mojjojo has quit [Quit: mojjojo]
michael_lee has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
nari has joined #ruby
shevy has joined #ruby
Duckily has quit [Quit: Duckily]
ewnd9 has joined #ruby
michaeldeol has joined #ruby
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
mastr has quit [Ping timeout: 246 seconds]
michaeldeol has quit [Ping timeout: 246 seconds]
saarinen has joined #ruby
saarinen has quit [Client Quit]
sarmiena_ has quit [Quit: sarmiena_]
lyanchih_ has quit [Quit: lyanchih_]
cbetta is now known as cbetta_afk
w4pm has joined #ruby
rjhunter has joined #ruby
<mjc_> yay semver after 2.1
ninegrid has joined #ruby
rjhunter has quit [Ping timeout: 272 seconds]
radic has quit [Disconnected by services]
radic_ has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
nari has quit [Read error: Operation timed out]
angusiguess has quit [Ping timeout: 272 seconds]
prc has quit [Quit: Leaving.]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
joaoh82 has joined #ruby
nobitanobi has joined #ruby
kitak has joined #ruby
Megtastique has joined #ruby
didge has joined #ruby
<nobitanobi> Given a Time object, how can I convert it to CET?
kbouwser has quit [Quit: Computer has gone to sleep.]
simoz7 has joined #ruby
didge has quit [Client Quit]
larissa has quit [Quit: Leaving]
didge has joined #ruby
joaoh82 has quit [Ping timeout: 240 seconds]
Mars`_ has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
alvinsj has joined #ruby
mklappstuhl has joined #ruby
cmedeiros has joined #ruby
snath has quit [Remote host closed the connection]
jamesaanderson has joined #ruby
ss_ has joined #ruby
benlieb has joined #ruby
simoz8 has joined #ruby
maletor has joined #ruby
<hephaestus_rg> check out
<hephaestus_rg> Time.methods
<hephaestus_rg> nobitanobi
simoz7 has quit [Ping timeout: 248 seconds]
<nobitanobi> hephaestus_rg, I've checked them out
baroquebobcat has quit [Quit: baroquebobcat]
buzz_fledderjohn has joined #ruby
intuxicated has joined #ruby
<hephaestus_rg> here's a start:
<hephaestus_rg> t = Time.now
w4pm has quit [Ping timeout: 246 seconds]
<nobitanobi> lol.
<nobitanobi> hephaestus_rg, really?
<hephaestus_rg> t.getlocal(offset)
<hephaestus_rg> *slow
cryptocrying has joined #ruby
buzz_fledderjohn has quit [Client Quit]
<nobitanobi> >> Time.methods.include?(:getlocal)
<eval-in> nobitanobi => false (https://eval.in/81591)
<nobitanobi> ?
<hephaestus_rg> >> Time.now.methods.include?(:getlocal)
<eval-in> hephaestus_rg => true (https://eval.in/81592)
Megtastique has quit []
<nobitanobi> br
toastynerd has quit [Remote host closed the connection]
mikepack has joined #ruby
ae-r has joined #ruby
cryptocrying has left #ruby [#ruby]
<nobitanobi> hephaestus_rg, ok, thanks :P
toastynerd has joined #ruby
<hephaestus_rg> * thanks for pointing that out it's pretty cool feature of this channel
w4pm has joined #ruby
<nobitanobi> hehe, yeah
<nobitanobi> thanks man.
<nobitanobi> However, if I provide the offset...
ae-r has quit [Client Quit]
<nobitanobi> ok, deal
<nobitanobi> thanks!
osvico has quit [Ping timeout: 272 seconds]
mklappstuhl has quit [Remote host closed the connection]
nari has joined #ruby
kofno has quit [Read error: Connection reset by peer]
mikepack has quit [Ping timeout: 245 seconds]
toastynerd has quit [Ping timeout: 252 seconds]
kcombs has quit [Remote host closed the connection]
drider has joined #ruby
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has joined #ruby
yacks has joined #ruby
alvinsj has quit [Read error: Connection reset by peer]
iliketur_ has joined #ruby
agent_white has joined #ruby
alvinsj has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
iliketu__ has joined #ruby
iliketu__ has quit [Client Quit]
iliketur_ has quit [Ping timeout: 264 seconds]
drider has quit [Quit: leaving]
kofno has joined #ruby
cow_ has quit [Remote host closed the connection]
cow_ has joined #ruby
michaeldeol has joined #ruby
w4pm has quit [Ping timeout: 265 seconds]
estebistec has joined #ruby
snath has joined #ruby
alvinsj has quit [Read error: Connection reset by peer]
cow_ has quit [Ping timeout: 245 seconds]
glide has quit [Quit: cya]
brennanMKE has joined #ruby
alvinsj has joined #ruby
joaoh82 has joined #ruby
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
Jetchisel has joined #ruby
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
estebistec has quit [Ping timeout: 245 seconds]
michaeldeol has quit [Ping timeout: 245 seconds]
gquental has quit [Read error: Operation timed out]
primenum has joined #ruby
brennanMKE has quit [Ping timeout: 264 seconds]
Jetchisel has joined #ruby
rjhunter has joined #ruby
joaoh82 has quit [Ping timeout: 248 seconds]
LexicalScope` has joined #ruby
LexicalScope has joined #ruby
LexicalScope has joined #ruby
shedd has joined #ruby
toastynerd has joined #ruby
tannerburson has quit [Quit: tannerburson]
rjhunter has quit [Ping timeout: 240 seconds]
alvinsj has quit [Read error: Connection reset by peer]
alvinsj has joined #ruby
shedd has quit [Ping timeout: 252 seconds]
IceDragon has quit [Quit: Space~~~]
snath has quit [Quit: Leaving]
snath has joined #ruby
toastynerd has quit [Ping timeout: 252 seconds]
Azure has quit [Quit: My MBP went to sleep.]
juarlex has joined #ruby
browndawg has joined #ruby
dseitz has joined #ruby
LexicalScope` has quit [Ping timeout: 265 seconds]
LexicalScope has quit [Ping timeout: 265 seconds]
Azure has joined #ruby
freakazoid0223 has joined #ruby
snath has quit [Client Quit]
gquental has joined #ruby
snath has joined #ruby
snath has quit [Client Quit]
snath has joined #ruby
otherj has quit []
toastynerd has joined #ruby
Mars` has joined #ruby
woodby has joined #ruby
LexicalScope has joined #ruby
LexicalScope has quit [Changing host]
LexicalScope has joined #ruby
LexicalScope` has joined #ruby
juarlex has quit [Read error: Connection reset by peer]
Jetchisel has quit [Ping timeout: 260 seconds]
Kiba has quit [Ping timeout: 250 seconds]
LexicalScope` has quit [Client Quit]
estebanrules has joined #ruby
Jetchisel has joined #ruby
sambao21 has joined #ruby
benlieb has quit [Quit: benlieb]
snath has quit [Quit: Leaving]
snath has joined #ruby
ahawkins has joined #ruby
ylluminate has joined #ruby
rootshift has quit [Quit: rootshift]
estebanrules has quit [Client Quit]
browndawg1 has joined #ruby
Kiba has joined #ruby
snede has joined #ruby
habanany1 has quit [Ping timeout: 248 seconds]
snede has quit [Remote host closed the connection]
agjacome has quit [Ping timeout: 264 seconds]
browndawg has quit [Ping timeout: 252 seconds]
alvinsj has quit [Read error: Connection reset by peer]
snath has quit [Quit: Leaving]
mercwithamouth has joined #ruby
alvinsj has joined #ruby
CaptainJet has quit [Read error: Connection reset by peer]
voland has quit [Remote host closed the connection]
cow_ has joined #ruby
voland has joined #ruby
fijimunkii has joined #ruby
simoz8 has quit [Ping timeout: 260 seconds]
fomatin has quit [Quit: Computer has gone to sleep.]
LostMonk has joined #ruby
vlad_starkov has joined #ruby
sandeepk has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
pel_daniel has left #ruby [#ruby]
Zespre_ is now known as Zespre
mklappstuhl has joined #ruby
alvinsj has quit [Read error: Connection reset by peer]
snath has joined #ruby
alvinsj has joined #ruby
dapz has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
mklappstuhl has quit [Ping timeout: 264 seconds]
maroloccio has joined #ruby
sarmiena_ has joined #ruby
michaeldeol has joined #ruby
alvinsj has quit [Read error: Connection reset by peer]
flubba has quit [Remote host closed the connection]
alvinsj has joined #ruby
juarlex has joined #ruby
charliesome has joined #ruby
subbyyy_ has joined #ruby
joaoh82 has joined #ruby
TTilus has quit [Ping timeout: 248 seconds]
TTilus has joined #ruby
michaeldeol has quit [Ping timeout: 245 seconds]
freakazoid0223 has quit [Ping timeout: 240 seconds]
sambao21 has quit [Quit: Goodbye]
diegoviola has quit [Ping timeout: 246 seconds]
toastyne_ has joined #ruby
toastynerd has quit [Ping timeout: 240 seconds]
diegoviola has joined #ruby
rjhunter has joined #ruby
joaoh82 has quit [Ping timeout: 265 seconds]
snath has left #ruby ["Leaving"]
Mars` has quit [Remote host closed the connection]
diegoviola has quit [Changing host]
diegoviola has joined #ruby
lewix has quit [Remote host closed the connection]
Mars` has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.1]
lewix has joined #ruby
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
araujo has quit [Quit: Leaving]
snath has joined #ruby
brunops has quit [Quit: leaving]
rjhunter has quit [Ping timeout: 264 seconds]
phansch has joined #ruby
alvinsj has quit [Read error: Connection reset by peer]
alvinsj has joined #ruby
brennanMKE has joined #ruby
juarlex has quit [Ping timeout: 260 seconds]
juarlex has joined #ruby
ValicekB has joined #ruby
juarlex has quit [Read error: Connection reset by peer]
juarlex has joined #ruby
funburn has joined #ruby
Kricir has joined #ruby
emocakes has quit [Quit: Leaving...]
primenum has quit [Ping timeout: 264 seconds]
emocakes has joined #ruby
* agent_white pats the crickets
ckinni has joined #ruby
ehc has joined #ruby
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pontiki> allo allo
BraddBitt has quit [Ping timeout: 245 seconds]
BraddPitt has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sarmiena_ has quit [Quit: sarmiena_]
TDJACR has quit [Quit: Quit]
TDJACR has joined #ruby
sheap has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
sandeepk has quit [Quit: Leaving...]
LexicalScope has quit [Ping timeout: 252 seconds]
gja has joined #ruby
sandeepk has joined #ruby
Lewis has joined #ruby
sandeepk has quit [Client Quit]
snath has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
<hephaestus_rg> chirp
snath has joined #ruby
ValicekB has quit [Read error: Operation timed out]
Kiba has quit [Ping timeout: 264 seconds]
<nobitanobi> given an Addressable object, how do I get the full URI out of it?
<nobitanobi> :/
Gooder` has joined #ruby
ahawkins has quit [Ping timeout: 240 seconds]
guardianx has joined #ruby
Gooder has quit [Ping timeout: 272 seconds]
alvinsj has quit [Read error: Connection reset by peer]
mduvall has joined #ruby
alvinsj has joined #ruby
flubba has joined #ruby
funburn has quit [Quit: funburn]
dapz has quit [Ping timeout: 260 seconds]
phansch has quit [Quit: Leaving]
frustrum has quit [Ping timeout: 264 seconds]
juarlex has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 240 seconds]
alvinsj has quit [Read error: Connection reset by peer]
tyl has joined #ruby
alvinsj has joined #ruby
Lewis has quit [Remote host closed the connection]
gja has quit [Quit: This computer has gone to sleep]
OdNairy has joined #ruby
funburn has joined #ruby
ValicekB has joined #ruby
<whysosad> hi, i defined an instance variable @health = 0, when I use with an operator, i get undefined method '>' for nil:NilClass... with the expressiong. @health < warrior.health
<whysosad> i do not understand why @health is considered nil value
<Barrin6> paste the whole code here?
<Barrin6> i made in pastebin
<Barrin6> i mean*
<whysosad> well i'm doing this web app, it's like a game, I'm supposed to program my way to victory, so this might not make sense, but on it
zigidias has joined #ruby
peregrine81 has quit []
<whysosad> Barrin6: here it is http://pastebin.com/m4rJmJLt
<hephaestus_rg> i think i know what you're talking about
<hephaestus_rg> make sure you're actually assigning health
michaeldeol has joined #ruby
<whysosad> hephaestus_rg: what do you mean by that, does that mean assigning a value and declaring it is not enough?
<hephaestus_rg> i see that you do @health = warrior.health at the end of the play_turn function
<Barrin6> I haven't gotten that far with variable scope, but I believe that's what is the problem
lyanchih_ has joined #ruby
<hephaestus_rg> you probably want to move it from line 18 to below line 3
<Barrin6> yea what hephaestus_rg said
BrixSat has quit [Remote host closed the connection]
<Barrin6> right now @health has no value
hamakn has joined #ruby
<Barrin6> right now @health is Nil
<hephaestus_rg> oh wait i see
<whysosad> i can try that, but... i'm trying to get it to capture the value of health after the method runs through
<hephaestus_rg> you're tracking the health at the last turn
<whysosad> yes!
BrixSat has joined #ruby
<hephaestus_rg> to see if you lost health
<hephaestus_rg> you could just add a nil check
jenskarlsen has quit [Quit: jenskarlsen]
<whysosad> a nil_check, i should google that
<hephaestus_rg> if !@health.nil? && @health > warrior.health
joaoh82 has joined #ruby
michaeldeol has quit [Ping timeout: 252 seconds]
<whysosad> should i reassign a value if it turns out false?
saclark has joined #ruby
<hephaestus_rg> if you leave line 18 as it is, it would do what you'd expect
ValicekB has quit [Ping timeout: 252 seconds]
saclark has left #ruby [#ruby]
subbyyy_ has quit [Ping timeout: 265 seconds]
<whysosad> ok it seems to work, now just gotta fix up the code so it makes sense :P thanks hephaestus!
joaoh82 has quit [Ping timeout: 252 seconds]
rjhunter has joined #ruby
lewix has quit [Remote host closed the connection]
lewix has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maletor has joined #ruby
ss_ has quit [Remote host closed the connection]
fomatin has joined #ruby
sheap has quit [Quit: Lost terminal]
rjhunter has quit [Ping timeout: 252 seconds]
<whysosad> @hephaestus_rg strange enough, if i put @var in a definition, it is not nil when i use it in another function, intentional?
ValicekB has joined #ruby
kenrick has joined #ruby
<hephaestus_rg> yeah
<hephaestus_rg> variables starting with @
<hephaestus_rg> are instance variables
postmodern has quit [Quit: Leaving]
lyanchih_ has quit [Quit: lyanchih_]
ndngvr has quit [Ping timeout: 246 seconds]
<whysosad> im slightly not sure. @ was inside a class when defined, which is what it's describbed as. a variable defined in a class, i'll read on it though
dima_ has joined #ruby
mrsolo has joined #ruby
mduvall has quit [Quit: Computer has gone to sleep.]
wallerdev has joined #ruby
lyanchih_ has joined #ruby
ffio has joined #ruby
yacks has quit [Ping timeout: 245 seconds]
pen has quit []
gja has joined #ruby
ehc has quit [Quit: ehc]
ValicekB has quit [Ping timeout: 245 seconds]
ehc has joined #ruby
lewix has quit [Remote host closed the connection]
dima_ has quit [Remote host closed the connection]
whatthewhat has joined #ruby
hamakn has quit [Remote host closed the connection]
mrsolo has quit [Quit: This computer has gone to sleep]
cow_ has quit [Remote host closed the connection]
samsonasu has joined #ruby
ValicekB has joined #ruby
Mars` has quit [Remote host closed the connection]
funburn has quit [Quit: funburn]
alvinsj has quit [Read error: Connection reset by peer]
shreknet has joined #ruby
avalarion has quit [Ping timeout: 240 seconds]
alvinsj has joined #ruby
lewix has joined #ruby
lukec has joined #ruby
cow_ has joined #ruby
kenrick has quit [Ping timeout: 252 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
nobitanobi has quit [Quit: Leaving]
mrsolo has joined #ruby
CaptainJet has joined #ruby
relix has joined #ruby
alvinsj has quit [Remote host closed the connection]
tharindu has joined #ruby
agent_white has quit [Quit: bblolol]
funburn has joined #ruby
michaeldeol has joined #ruby
hephaestus_rg has quit [Quit: hephaestus_rg]
cow_ has quit [Remote host closed the connection]
Asitha has joined #ruby
cow_ has joined #ruby
kitak has quit [Remote host closed the connection]
phansch has joined #ruby
joaoh82 has joined #ruby
michaeldeol has quit [Ping timeout: 264 seconds]
cow_ has quit [Ping timeout: 250 seconds]
Mars` has joined #ruby
rjhunter has joined #ruby
noop has joined #ruby
joaoh82 has quit [Ping timeout: 264 seconds]
shime has joined #ruby
flubba has quit [Remote host closed the connection]
rjhunter has quit [Ping timeout: 252 seconds]
ehc has quit [Quit: ehc]
funburn has quit [Quit: funburn]
phipes has quit []
robbyoconnor has joined #ruby
robbyoconnor has quit [Client Quit]
jamesaanderson has joined #ruby
jamesaanderson has quit [Client Quit]
Zesty has joined #ruby
toastyne_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
coder_neo has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
lukec has quit [Quit: lukec]
wildroman2 has joined #ruby
ehc has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
dima_ has joined #ruby
dima_ has quit [Remote host closed the connection]
dima_ has joined #ruby
shime has quit [Ping timeout: 240 seconds]
hamakn has joined #ruby
phansch has quit [Quit: Leaving]
toastynerd has joined #ruby
dima__ has joined #ruby
Asitha has quit []
hamakn has quit [Ping timeout: 240 seconds]
diegoviola has quit [Ping timeout: 248 seconds]
kil0byte has joined #ruby
dima_ has quit [Ping timeout: 250 seconds]
dima__ has quit [Remote host closed the connection]
io_syl has quit []
whatthewhat has quit [Remote host closed the connection]
dima_ has joined #ruby
lewix_ has joined #ruby
Zesty has quit [Quit: Linkinus - http://linkinus.com]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
kenrick has joined #ruby
coder_neo has quit [Quit: Leaving]
dima_ has quit [Ping timeout: 265 seconds]
jgrevich has joined #ruby
lewix has quit [Remote host closed the connection]
juarlex has joined #ruby
dima_ has joined #ruby
end_guy has quit [Remote host closed the connection]
zipper has joined #ruby
yshh has joined #ruby
nouitfvf has joined #ruby
nouitfvf has quit [Read error: Connection reset by peer]
samsonasu has quit [Quit: samsonasu]
nouitfvf has joined #ruby
dima_ has quit [Remote host closed the connection]
Monie has joined #ruby
nouitfvf_ has quit [Ping timeout: 252 seconds]
tyl has quit [Ping timeout: 264 seconds]
juarlex has quit [Ping timeout: 250 seconds]
AlSquire has joined #ruby
tyl has joined #ruby
Kricir has quit [Remote host closed the connection]
mityaz has joined #ruby
michaeldeol has joined #ruby
Mars` has quit [Remote host closed the connection]
hamakn has joined #ruby
lyanchih_ has quit [Quit: lyanchih_]
Mars` has joined #ruby
joaoh82 has joined #ruby
kil0byte has quit [Remote host closed the connection]
postmodern has joined #ruby
michaeldeol has quit [Ping timeout: 265 seconds]
wildroman2 has quit [Remote host closed the connection]
hamakn has quit [Remote host closed the connection]
joaoh82 has quit [Ping timeout: 265 seconds]
rjhunter has joined #ruby
cow_ has joined #ruby
PebkacJones has joined #ruby
Azure has quit [Quit: My MBP went to sleep.]
toastynerd has quit []
PebkacJones has left #ruby [#ruby]
kitak has joined #ruby
CaptainJet has quit []
rjhunter has quit [Ping timeout: 252 seconds]
kil0byte has joined #ruby
ffio has quit [Quit: WeeChat 0.4.1]
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kitak has quit [Ping timeout: 245 seconds]
cmedeiros has quit [Ping timeout: 246 seconds]
St_Marx has quit [Remote host closed the connection]
cow_ has quit [Remote host closed the connection]
claymore has joined #ruby
cow_ has joined #ruby
fire has joined #ruby
ehc has quit [Quit: ehc]
vikhyat has joined #ruby
kofno has quit [Ping timeout: 248 seconds]
phus1on has joined #ruby
yshh has quit [Remote host closed the connection]
RoterFranz has quit [Quit: Leaving]
cow_ has quit [Ping timeout: 250 seconds]
ckinni has joined #ruby
echevemaster has quit [Quit: Leaving]
MrZYX|off is now known as MrZYX
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
subbyyy_ has joined #ruby
Barrin6 has quit [Quit: Leaving]
yacks has joined #ruby
tyl has joined #ruby
tyl has quit [Read error: Connection reset by peer]
tyl has joined #ruby
kitak has joined #ruby
EngierkO has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
clamstar_ has quit [Quit: Computer has gone to sleep.]
threesome has joined #ruby
OdNairy has quit [Ping timeout: 248 seconds]
dogweather has joined #ruby
coffeina has joined #ruby
cow_ has joined #ruby
nari has quit [Ping timeout: 260 seconds]
aryaching has quit [Ping timeout: 265 seconds]
<dogweather> Is rvm installation broken for anyone else? (tried on multiple Ubuntu 12.04.3 vm's)
OdNairy has joined #ruby
shaunbaker has joined #ruby
Hanmac1 has joined #ruby
drumusician has joined #ruby
SeySayux has quit [Ping timeout: 264 seconds]
Hanmac has quit [Ping timeout: 265 seconds]
Advocation has joined #ruby
<pontiki> dogweather: check in the #rvm channel? see if michal is there
<dogweather> thanks!
<pontiki> mpapas
jkhwan has joined #ruby
postmodern has quit [Quit: Leaving]
Elhu has joined #ruby
SeySayux has joined #ruby
<dogweather> Talked to mpapas: rvm *is* currently broken. Fixes are on head, he's pushing to stable.
guardianx has quit [Ping timeout: 250 seconds]
yshh has joined #ruby
Advocation has quit [Ping timeout: 252 seconds]
ndngvr has joined #ruby
wildroman2 has joined #ruby
fomatin has quit [Quit: Computer has gone to sleep.]
jkhwan has quit [Remote host closed the connection]
wildroman2 has quit [Remote host closed the connection]
ludar has joined #ruby
ludar has quit [Client Quit]
yshh has quit [Ping timeout: 250 seconds]
kil0byte has quit [Remote host closed the connection]
akonny has joined #ruby
akonny has quit [Client Quit]
blackmesa has joined #ruby
akonny has joined #ruby
lewix has joined #ruby
culturel_ has joined #ruby
tvw has joined #ruby
culturel_ has quit [Max SendQ exceeded]
casheew has quit [Read error: Connection reset by peer]
lyanchih_ has joined #ruby
atmosx has joined #ruby
<shevy> hehehe
<shevy> noobs
<shevy> sooooo noobs!
culturel_ has joined #ruby
dogweather has left #ruby [#ruby]
dima_ has joined #ruby
Mars` has quit [Remote host closed the connection]
lewix has quit [Ping timeout: 240 seconds]
kenrick has quit [Ping timeout: 252 seconds]
bricker`LA has quit [Quit: leaving]
joaoh82 has joined #ruby
cibs_ has joined #ruby
carraroj has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
joaoh82_ has joined #ruby
cibs has quit [Ping timeout: 256 seconds]
dima_ has quit [Ping timeout: 260 seconds]
joaoh82 has quit [Ping timeout: 248 seconds]
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shedd has joined #ruby
casheew has joined #ruby
casheew has quit [Read error: Connection reset by peer]
drago777 has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
phus1on has quit [Quit: .]
shime has joined #ruby
shedd has quit [Ping timeout: 252 seconds]
eliasp has joined #ruby
<pontiki> yeah, he's usually right on top of things
culturel_ has joined #ruby
drago777 has joined #ruby
Duckily has joined #ruby
Hanmac1 has quit [Ping timeout: 245 seconds]
akonny has quit [Ping timeout: 250 seconds]
hamakn has joined #ruby
ValicekB has quit [Ping timeout: 260 seconds]
Hanmac has joined #ruby
joaoh82_ has quit []
eliasp has quit [Remote host closed the connection]
dogweather has joined #ruby
eliasp has joined #ruby
joaoh82 has joined #ruby
skaflem has joined #ruby
dima_ has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dima_ has quit [Remote host closed the connection]
hamakn has quit [Ping timeout: 260 seconds]
culturel_ has joined #ruby
casheew has joined #ruby
prc has joined #ruby
araujo has joined #ruby
akonny has joined #ruby
ValicekB has joined #ruby
workmad3 has joined #ruby
St_Marx has joined #ruby
Kilo`byte has quit [Ping timeout: 240 seconds]
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
coffeina has quit [Remote host closed the connection]
vikhyat has quit [Remote host closed the connection]
tvw has quit []
Hanmac1 has joined #ruby
Kilo`byte has joined #ruby
vlad_starkov has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
OdNairy has quit [Ping timeout: 240 seconds]
spider-mario has joined #ruby
OdNairy has joined #ruby
subbyyy_ has quit [Ping timeout: 250 seconds]
shedd has joined #ruby
mrsolo has joined #ruby
sayan has joined #ruby
Hanmac has joined #ruby
vikhyat has joined #ruby
Hanmac1 has quit [Ping timeout: 252 seconds]
shedd has quit [Ping timeout: 240 seconds]
mrsolo has quit [Ping timeout: 240 seconds]
tskogberg has quit [Ping timeout: 240 seconds]
ewnd9 has quit [Remote host closed the connection]
jibi has joined #ruby
joaoh82 has quit [Remote host closed the connection]
ewnd9 has joined #ruby
tskogberg has joined #ruby
Guest86261 has joined #ruby
brianpWins has joined #ruby
bnjamin has joined #ruby
lyanchih_ has quit [Quit: lyanchih_]
Guest86261 has quit [Read error: Connection reset by peer]
juarlex has joined #ruby
lxsameer has joined #ruby
<lxsameer> hi guys, is there any way to encrypt ruby code ? specially a ruby gem ?
<popl> Why do you want to do that?
culturel_ has joined #ruby
<lxsameer> popl: I have to store a peace of code in client which needed to be encrypted
lyanchih_ has joined #ruby
<MrZYX> get concrete, what kind of code? what kind of client? what does it do? is it just data?
Elhu has quit [Quit: Computer has gone to sleep.]
<lxsameer> MrZYX: i looking for a solution to prevent customers to steal our code. first thing comes to mind is to encrypt source code
<workmad3> lxsameer: so the code needs to be run on the machines it's encrypted on?
<popl> Copyright it, then sue them if they steal it.
juarlex has quit [Ping timeout: 252 seconds]
<workmad3> popl: copyright is automatic ;)
shaunbak_ has joined #ruby
rjhunter has joined #ruby
<lxsameer> workmad3: yeah
vlad_starkov has quit [Remote host closed the connection]
shaunbak_ has quit [Remote host closed the connection]
<popl> workmad3: It's easier to get statutory damages if your work is copyrighted.
<lxsameer> popl: we have the copyright, but in our company copyright is nothing
<Hanmac> lxsameer: does not work so good for interpreted code ... (there are some products that say they can do it but i do not trust them)
<workmad3> popl: yes... my point is that your work is *automatically* copyrighted
<Hanmac> but your code in a C extension and only ship the compiled variants ;P
<workmad3> popl: copyright messages don't *grant* copyright, they're merely informational to say who the copyright belongs to
<lxsameer> Hanmac: Agree
shaunbaker has quit [Ping timeout: 265 seconds]
<popl> workmad3: Yeah, obviously.
<workmad3> Hanmac: doesn't work so well for compiled code either... it can still be decompiled, traced, figured out, etc
gauteh has joined #ruby
<workmad3> lxsameer: there's some pretty cutting edge techniques in functional encryption that could help your situation
<workmad3> lxsameer: but they're not in any way usable yet
<lxsameer> workmad3: thanks man i have to read more in this matter
<workmad3> lxsameer: so currently, unless you happen to be brilliant at turning theoretical crypto ideas into working code, the answer is 'nope, can't really do it'
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has quit [Remote host closed the connection]
<workmad3> lxsameer: after all, you want to encrypt it, but you also need to provide the decryption key in order to run the code
jgrevich has quit [Quit: jgrevich]
<workmad3> lxsameer: so the most you're really doing is some form of DRM
akonny has quit [Ping timeout: 260 seconds]
eddyluv1 has joined #ruby
<Hanmac> and as far as i know also DRM is not fail-safe
<workmad3> Hanmac: DRM is completely shit at preventing copying
michaeldeol has joined #ruby
yacks has quit [Quit: Leaving]
marr has joined #ruby
<Hanmac> yeah DRM only anoys the real customers
<workmad3> Hanmac: the only thing DRM is used for is to force limitations on 'legal' players
<workmad3> 'oh, you want to skip adverts? sorry, the DRM says you can't'
mastr has joined #ruby
wallerdev has quit [Quit: wallerdev]
lyanchih_ has quit [Quit: lyanchih_]
fire has quit [Quit: WeeChat 0.4.1]
<workmad3> nothing stops a player from doing it, other than a legal agreement that if they want to licence the codecs to play the content, they also need to licence the DRM and follow its rules
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<MrZYX> lxsameer: why are you coming up with it? did you have case where your code got stolen?
<Hanmac> workmad3: if you use Firefox as browser i have an addon you may like ... named RequestPolicy ... with that you can control if website A is allowed to access content of website B ;P
<workmad3> Hanmac: a client-side CORS thing? :)
<popl> Hanmac: I use it.
<popl> Hanmac: It's annoying sometimes but I would prefer to have it rather than not.
wildroman2 has joined #ruby
<Hanmac> combined with NoScript and AdblockPlus this is my TriForce of Protection ;P
mengu has joined #ruby
mengu has quit [Remote host closed the connection]
<popl> Hanmac: I use Ghostery too.
michaeldeol has quit [Ping timeout: 252 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<popl> I like Ghostery's interface better than ABPs.
<workmad3> Hanmac: ah, seems more similar to X-Content-Security-Policy headers
<popl> *ABP's
<workmad3> Hanmac: but client side
<shevy> I wanna merge all addons into one addon
fire has joined #ruby
<popl> shevy: Are you high?
carraroj has quit [Ping timeout: 240 seconds]
<Hanmac> shevy you mean all this 3(4) or do you mean very all addons? ;P
<popl> I took it to mean the latter.
<shevy> only the useful addons
<popl> That's a subjective determination.
<popl> Useful to whom?
<popl> :)
<shevy> to the user
<popl> Are you including developers in your definition of user?
<shevy> if they use it sure
<shevy> if they don't use it no
<shevy> why would developers not be users popl?
<popl> So that's two separate addons.
<Hanmac> popl: for sample currently its not possible combined RequestPolicy + NoScript do to this: "allow javascript from Domain A but only when used on Domain B" or "allow javascript from Domain A but deny when used on Domain B"
<shevy> huh?
<shevy> I am a user and a developer all the time!
<popl> shevy: If you include, say, Selenium for developers and exclude it for other users, then you would have to have at least two addons.
<popl> Hanmac: Not as far as I know, but that would be awesome.
* Hanmac always knows what is "Awesome!" i watched AdventureTime ;P
wildroman2 has quit [Ping timeout: 264 seconds]
<popl> I've only seen a few minutes of one episode.
<Hanmac> popl & shevy there is AddonFox with that you can easy install addons
charliesome has joined #ruby
akonny has joined #ruby
Elhu has joined #ruby
<popl> I also use pentadactyl. I presume other people do not. So that's four addons.
noop has quit [Ping timeout: 240 seconds]
<popl> shevy, my friend, your idea is quickly sinking
<popl> ;)
<shevy> it's been years since I fiddled with firefox addons
<shevy> I ended up with like 20 different extensions and it was too annoying to reinstall, keep track of them etc...
<shevy> I reinstall often :)
Mars` has joined #ruby
<popl> You can have Firefox automatically update them for you.
noop has joined #ruby
<shevy> but firefox is gone every 2 weeks!
TomRone has quit [Ping timeout: 240 seconds]
<popl> Why every two weeks?
<shevy> every time I install another distribution here :)
<shevy> well it's no longer true
<shevy> it's more like 2 months now
<MrZYX> shevy: you should do a LFS ;P
<shevy> yeah
<shevy> problem is you need to keep track of changes
<popl> I did LFS before. IT was fun.
<popl> Just write a script to keep track.
skaflem has quit [Quit: Leaving]
<popl> *It
<shevy> none of you does that :(
<popl> Does what?
<shevy> popl what operating system do you use right now?
<popl> I am using Slackware 64
* Hanmac used firefox from a nightly repository ;P
<shevy> cool... I am on slackware as well right now
TomRone has joined #ruby
<shevy> Hanmac is on ubuntu
<shevy> MrZYX is on crack
<MrZYX> no I'm not ;)
<shevy> :D
lkba has quit [Ping timeout: 246 seconds]
akonny has quit [Ping timeout: 264 seconds]
joaoh82 has joined #ruby
teenwolf has quit [Quit: Leaving...]
joaoh82 has quit [Read error: Connection reset by peer]
joaoh82 has joined #ruby
tyl has joined #ruby
Mars` has quit [Remote host closed the connection]
Mars` has joined #ruby
joaoh82 has quit [Ping timeout: 260 seconds]
klaut has joined #ruby
intuxicated has quit [Ping timeout: 250 seconds]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kil0byte has joined #ruby
Mars` has quit [Ping timeout: 245 seconds]
ace_striker has joined #ruby
dima_ has joined #ruby
zz_N00D is now known as CripperZ
CripperZ is now known as N00D
robbyoconnor has joined #ruby
kitak has quit [Read error: Connection reset by peer]
kitak has joined #ruby
vikhyat has quit [Remote host closed the connection]
leejongwook has joined #ruby
kil0byte has quit [Ping timeout: 260 seconds]
yshh has joined #ruby
dima_ has quit [Ping timeout: 248 seconds]
kitak has quit [Read error: Connection reset by peer]
intuxicated has joined #ruby
vikhyat has joined #ruby
leejongwook has quit [Read error: Connection reset by peer]
kitak_ has joined #ruby
jibi has quit [Quit: .]
jibi has joined #ruby
Duckily has quit [Quit: Duckily]
reach has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
dhruvasagar has joined #ruby
kitak_ has quit [Remote host closed the connection]
cibs has joined #ruby
Naoe-Kanno has joined #ruby
psyl0n has joined #ruby
kitak has joined #ruby
kofno has joined #ruby
m8 has joined #ruby
SHyx0rmZ has quit [Ping timeout: 250 seconds]
alexherbo2 has joined #ruby
cibs_ has quit [Ping timeout: 256 seconds]
abra has joined #ruby
jibi has quit [Quit: leaving]
plotter has joined #ruby
plotter has joined #ruby
plotter has quit [Changing host]
kofno has quit [Ping timeout: 245 seconds]
cibs has quit [Read error: Connection reset by peer]
Elhu has quit [Quit: Computer has gone to sleep.]
cibs has joined #ruby
blackmesa has joined #ruby
michaeldeol has joined #ruby
michaeldeol has quit [Ping timeout: 248 seconds]
tharindu has quit [Quit: Leaving...]
lkba has joined #ruby
jibi has joined #ruby
cow_ has quit [Remote host closed the connection]
cow_ has joined #ruby
nari has joined #ruby
_HolyCow1 has joined #ruby
cow_ has quit [Ping timeout: 252 seconds]
nowthatsamatt has quit [Quit: nowthatsamatt]
dhruvasagar has quit [Ping timeout: 250 seconds]
threesome has quit [Ping timeout: 252 seconds]
_HolyCow has quit [Ping timeout: 246 seconds]
bogeyd6 has quit [Ping timeout: 272 seconds]
Jelco has quit [Ping timeout: 246 seconds]
whysomad has joined #ruby
phus1on has joined #ruby
bogeyd6 has joined #ruby
Hanmac1 has joined #ruby
mklappstuhl has joined #ruby
whysosad has quit [Ping timeout: 240 seconds]
wald0 has joined #ruby
Hanmac has quit [Ping timeout: 248 seconds]
Jelco has joined #ruby
cow_ has joined #ruby
joaoh82 has joined #ruby
_HolyCow1 has quit [Ping timeout: 265 seconds]
ayonix has joined #ruby
<ayonix> hey, i simply want a http-server that accepts post requests and reads the body of it. With TcpServer I would have to take care of responding correctly myself, which i don't want. is there a good alternative?
<MrZYX> did you look into rack?
_HolyCow has joined #ruby
<ayonix> i tried to
<popl> What prevented you?
TomRone has quit [Ping timeout: 240 seconds]
<ayonix> i couldn't find something that looks like what i want :)
Hanmac has joined #ruby
<popl> So you're being lazy. Boo.
<ayonix> at least i thought so
joaoh82 has quit [Ping timeout: 265 seconds]
<popl> rack is really, really simple.
<popl> What is it you want to do?
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
parduse has quit [Ping timeout: 245 seconds]
TomRone has joined #ruby
Hanmac1 has quit [Ping timeout: 240 seconds]
<ayonix> just have an script listening to http-requests :)
<ayonix> which is not depending on something like rackup
tyl has joined #ruby
tyl has quit [Client Quit]
olivier_bK has joined #ruby
jibi has quit [Quit: .]
<ayonix> i thought about webrick, it seemed a bit oversized though
mklappstuhl has quit [Remote host closed the connection]
<ayonix> thanks for the suggestions, i'll play around a bit
dhruvasagar has joined #ruby
_HolyCow has quit [Ping timeout: 264 seconds]
parduse has joined #ruby
eddyluv1 has left #ruby [#ruby]
_HolyCow has joined #ruby
<popl> Yay, I'm installing ruby2 :P
<MrZYX> you're late :P
S0da has joined #ruby
<popl> That's what she said.
esing has joined #ruby
* popl intentionally confuses MrZYX
<MrZYX> :(
<popl> :D
postmodern has joined #ruby
<popl> MrZYX: It's all fun and games, right?
<MrZYX> sure ;)
<popl> I didn't install it because the pickaxe book doesn't cover 2.0.etc.
jbhewitt_ has joined #ruby
vikhyat has quit [Remote host closed the connection]
<shevy> weakling!
<popl> Hey, watch it.
<popl> Only my mom can call me that.
_HolyCow has quit [Ping timeout: 252 seconds]
wald0 has quit [Ping timeout: 240 seconds]
wald0 has joined #ruby
_HolyCow has joined #ruby
cow_ has quit [Remote host closed the connection]
cow_ has joined #ruby
drumusician has quit [Read error: Operation timed out]
vikhyat has joined #ruby
olivier_bK has quit [Ping timeout: 252 seconds]
<alexherbo2> how override sprintf method but keep ref to the old sprintf method?
juarlex has joined #ruby
cibs has quit [Read error: Connection reset by peer]
<alexherbo2> i would sprintf be able to take list of hash and return string
cow_ has quit [Ping timeout: 245 seconds]
cibs has joined #ruby
<alexherbo2> "%{filename } |%{ line}│%{ column}| %{text}\n" % [{"filename"=>"foo.txt","line"=>19,"column"=>1,"text"=>"foo"},{"filename"=>"foo-bar.txt","line"=>1991,"column"=>1,"text"=>"foo bar"}]
<alexherbo2> returns:
<alexherbo2> foo.txt | 91│1| foo
<alexherbo2> foo-bar.txt |1991│1| foo bar
_HolyCow has quit [Ping timeout: 245 seconds]
N00D is now known as zz_N00D
cycorld has joined #ruby
cibs has quit [Read error: Connection reset by peer]
kbouwser has joined #ruby
rootshift has joined #ruby
<alexherbo2> when we give a list
<alexherbo2> %{ foo} means align right
Mars` has joined #ruby
noop has quit [Ping timeout: 260 seconds]
<alexherbo2> %{foo } align left
<alexherbo2> %{ foo } center
<alexherbo2> %{foo} like sprintf
juarlex has quit [Ping timeout: 240 seconds]
noop has joined #ruby
<alexherbo2> currently i use format_list to handle list of hash; i would sprintf handles this as well
cibs has joined #ruby
_HolyCow has joined #ruby
RoryHughes has joined #ruby
michaeldeol has joined #ruby
guardianx has joined #ruby
zimt09 has joined #ruby
cycorld has quit []
_HolyCow has quit [Ping timeout: 265 seconds]
tkuchiki has joined #ruby
stetho has joined #ruby
michaeldeol has quit [Ping timeout: 240 seconds]
_HolyCow has joined #ruby
jayne has quit [Remote host closed the connection]
MrZYX is now known as MrZYX|off
lewix_ has quit [Remote host closed the connection]
rootshift has quit [Quit: rootshift]
blackmesa has quit [Ping timeout: 240 seconds]
crapple has quit [Ping timeout: 272 seconds]
ItSANgo_ has quit [Quit: Leaving...]
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
crapple has joined #ruby
rootshift has joined #ruby
ItSANgo has joined #ruby
_HolyCow has quit [Ping timeout: 252 seconds]
rootshift has quit [Client Quit]
phansch has joined #ruby
jbhewitt_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ayonix has left #ruby ["cya"]
aryaching has joined #ruby
_HolyCow has joined #ruby
kirun has joined #ruby
Mars` has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
wildroman2 has joined #ruby
PhilK has quit [Ping timeout: 246 seconds]
cjsarette has joined #ruby
wildroman2 has quit [Client Quit]
Speed has joined #ruby
joaoh82 has joined #ruby
Speed has quit [Changing host]
Speed has joined #ruby
tkuchiki_ has joined #ruby
Speed has left #ruby [#ruby]
PhilK has joined #ruby
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yacks has joined #ruby
_HolyCow has quit [Ping timeout: 260 seconds]
tkuchiki has quit [Ping timeout: 240 seconds]
joaoh82 has quit [Ping timeout: 250 seconds]
_HolyCow has joined #ruby
vlad_starkov has joined #ruby
blackmesa has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
Deele has joined #ruby
vlad_sta_ has joined #ruby
cbetta_afk is now known as cbetta
ckinni has joined #ruby
ace_striker has quit [Ping timeout: 272 seconds]
zegerjan has joined #ruby
vlad_starkov has quit [Ping timeout: 264 seconds]
m8 has quit [Quit: Sto andando via]
cjsarette has quit [Ping timeout: 248 seconds]
_HolyCow has quit [Ping timeout: 252 seconds]
randomnick_ has joined #ruby
nfk has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
_HolyCow has joined #ruby
dhruvasagar has quit [Ping timeout: 248 seconds]
vlad_starkov has joined #ruby
m8 has joined #ruby
yshh has quit [Remote host closed the connection]
vlad_sta_ has quit [Ping timeout: 252 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tkuchiki_ has quit [Ping timeout: 248 seconds]
vpretzel_ has joined #ruby
dhruvasagar has joined #ruby
sayan has quit [Ping timeout: 252 seconds]
_HolyCow has quit [Ping timeout: 248 seconds]
atmosx has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
_HolyCow has joined #ruby
vpretzel has quit [Ping timeout: 250 seconds]
vlad_sta_ has joined #ruby
otherj has joined #ruby
Advocation has joined #ruby
vlad_starkov has quit [Ping timeout: 240 seconds]
vpretzel_ has quit [Ping timeout: 265 seconds]
kofno has joined #ruby
rjhunter has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 264 seconds]
_HolyCow has quit [Ping timeout: 252 seconds]
Advocation has quit [Ping timeout: 265 seconds]
Thanatermesis has quit [Remote host closed the connection]
Elhu has joined #ruby
zipper has quit [Ping timeout: 250 seconds]
_HolyCow has joined #ruby
kofno has quit [Ping timeout: 248 seconds]
cow_ has joined #ruby
osvico has joined #ruby
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zipper has joined #ruby
ckinni has joined #ruby
ckinni has quit [Client Quit]
lyanchih_ has joined #ruby
cow_ has quit [Ping timeout: 245 seconds]
habanany has joined #ruby
michaeldeol has joined #ruby
Mars` has joined #ruby
threesome has joined #ruby
* emocakes touches threesome
_HolyCow has quit [Ping timeout: 252 seconds]
MrZYX|off is now known as MrZYX
_HolyCow has joined #ruby
emocakes has quit [Quit: Leaving...]
michaeldeol has quit [Ping timeout: 248 seconds]
woodby has quit [Remote host closed the connection]
descala has quit [Read error: Connection reset by peer]
fedesilva has joined #ruby
Advocation has joined #ruby
strickler has joined #ruby
whysomad has quit [Ping timeout: 260 seconds]
angusiguess has joined #ruby
blackmesa has joined #ruby
descala has joined #ruby
_HolyCow has quit [Ping timeout: 245 seconds]
aryaching_ has joined #ruby
aryaching has quit [Ping timeout: 240 seconds]
_HolyCow has joined #ruby
browndawg has joined #ruby
braincrash has joined #ruby
kofno has joined #ruby
agjacome has joined #ruby
joaoh82 has joined #ruby
browndawg1 has quit [Read error: Operation timed out]
yan_ has quit [Read error: Operation timed out]
Scient has quit [Ping timeout: 250 seconds]
camt has quit [Ping timeout: 245 seconds]
gwb3 has quit [Ping timeout: 245 seconds]
juo has quit [Excess Flood]
cow_ has joined #ruby
slash_nick has quit [Ping timeout: 246 seconds]
brisbin has quit [Ping timeout: 264 seconds]
joaoh82 has quit [Ping timeout: 252 seconds]
kofno has quit [Ping timeout: 260 seconds]
juo has joined #ruby
atno_ has quit [Ping timeout: 240 seconds]
klaut has quit [Read error: Connection reset by peer]
dogweather has quit [Remote host closed the connection]
klaut has joined #ruby
preller has quit [Ping timeout: 265 seconds]
sergicles_ has joined #ruby
lyanchih_ has quit [Quit: lyanchih_]
sergicles has quit [Quit: sergicles]
sergicles_ is now known as sergicles
dr_bob has joined #ruby
freerobby has joined #ruby
sergicles has quit [Changing host]
sergicles has joined #ruby
habanany has quit [Ping timeout: 264 seconds]
angusiguess has quit [Ping timeout: 240 seconds]
lyanchih_ has joined #ruby
drumusician has joined #ruby
preller has joined #ruby
shtirlic has quit [Ping timeout: 245 seconds]
ptierno has quit [Ping timeout: 246 seconds]
Muz has quit [Ping timeout: 246 seconds]
mjc_ has quit [Ping timeout: 245 seconds]
yeltzooo9 has quit [Ping timeout: 246 seconds]
camt has joined #ruby
Scient has joined #ruby
ptierno has joined #ruby
brisbin has joined #ruby
yeltzooo has joined #ruby
Muz has joined #ruby
shtirlic has joined #ruby
mjc_ has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
klaut has quit []
<shevy> alexherbo2 ?
atno has joined #ruby
<shevy> >> %{ foo}
<eval-in> shevy => " foo" (https://eval.in/81686)
<shevy> %{ foo }
<shevy> >> %{ foo }
<eval-in> shevy => " foo " (https://eval.in/81687)
<shevy> alexherbo2 all it does is preserve the spaces used.
voland has quit []
kofno has joined #ruby
slash_nick has joined #ruby
gwb3 has joined #ruby
yan_ has joined #ruby
DrCode has quit [Ping timeout: 240 seconds]
klaut has joined #ruby
zipper is now known as urbanslug
joaoh82 has joined #ruby
S0da has quit [Read error: Connection reset by peer]
cow_ has quit [Remote host closed the connection]
cow_ has joined #ruby
<Mon_Ouie> I think he didn't mean that sprintf behaved that way but that he wanted a method that would behave like that
Elhu has joined #ruby
juarlex has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
cow_ has quit [Ping timeout: 252 seconds]
yshh has joined #ruby
DrCode has joined #ruby
juarlex has quit [Ping timeout: 250 seconds]
gauteh has quit [Ping timeout: 264 seconds]
Hanmac1 has joined #ruby
yshh has quit [Ping timeout: 240 seconds]
Hanmac has quit [Ping timeout: 252 seconds]
VTLob has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
flame_ has joined #ruby
<alexherbo2> Mon_Ouie: i wrote the method myself https://bitbucket.org/alexherbo2/dotfiles/src/master/bin/interface#cl-173
michaeldeol has joined #ruby
<alexherbo2> what i want now i to make sprintf handles the case when we give a list of hash.
leifmadsen has quit [Remote host closed the connection]
<alexherbo2> /s/i/is/
<alexherbo2> currently suppoted arguments are strin, list of string or hash.
shime has quit [Ping timeout: 248 seconds]
<alexherbo2> '%s' % 'foo'
<alexherbo2> '%s %s' % ['foo', 'bar']
<alexherbo2> '%{foo} %{bar}' % {:foo=>:foo,:bar=>:bar}
michaeldeol has quit [Ping timeout: 240 seconds]
<alexherbo2> i want sprintf accepts
<alexherbo2> "%{a } %{ b}\n" % [{:a=>:foo,:b=>:bar},{:a=>:foobar,:b=>:barfoo}]
<Mon_Ouie> And what would that do then?
<alexherbo2> foo bar
<alexherbo2> foobar barfoo
<Mon_Ouie> So it would return an array? Just use map then
<alexherbo2> no
<alexherbo2> it returns string
<Mon_Ouie> Then use #join to combine the results
<Mon_Ouie> args.map { |format_arguments| string % format_arguments }.join("\n")
<alexherbo2> i did tha
Elhu has joined #ruby
<alexherbo2> i don’t know the way to override an existing method and keep the ref of old method so i can use the old method.
<alexherbo2> how redefine sprintf?
drago777 has quit [Ping timeout: 240 seconds]
kbouwser has quit [Quit: Computer has gone to sleep.]
Elhu has quit [Client Quit]
drago777 has joined #ruby
Neomex has joined #ruby
blackmesa has joined #ruby
Pixels has joined #ruby
jchristi has joined #ruby
cow_ has joined #ruby
<shevy> alexherbo2 the typical way is to alias to the old method
<shevy> alias_method :orig_exit, :exit
angusiguess has joined #ruby
<shevy> here you have an old reference to exit
<shevy> now you can redefine exit()
<shevy> def exit
eddie has joined #ruby
eddie is now known as Guest53404
Guest53404 is now known as another_eddie
ylluminate has quit [Ping timeout: 245 seconds]
popl has quit [Ping timeout: 246 seconds]
guardianx has left #ruby [#ruby]
DouweM has joined #ruby
Guest14855 has joined #ruby
<alexherbo2> shevy: how know from which module/class a method comes from?
<alexherbo2> and when it’s a class or instance method.
angusiguess has quit [Ping timeout: 250 seconds]
Megtastique has joined #ruby
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
<Hanmac1> alexherbo2: owner
Hanmac1 is now known as Hanmac
jamesaanderson has joined #ruby
<shevy> alexherbo2 sprintf is a rather important method, I would assume it is part of Kernel
Fire-Dragon-DoL has joined #ruby
<alexherbo2> if i override sprintf, '%' will too?
<MrZYX> look at its source, it just calls String#%
machuga is now known as machugo
prc has quit [Quit: Leaving.]
machugo is now known as machuga
cow_ has quit [Remote host closed the connection]
cow_ has joined #ruby
<shevy> return rb_str_format(argc - 1, argv + 1, GETNTHARG(0));
cow_ has quit [Read error: Connection reset by peer]
cow_ has joined #ruby
<apeiros_unid> >> String.instance_method(:sprintf).owner
<eval-in> apeiros_unid => Kernel (https://eval.in/81690)
<apeiros_unid> meh, that was actually done wrong
carif has quit [Quit: Ex-Chat]
kofno has quit [Ping timeout: 248 seconds]
Al___ has joined #ruby
randomnick_ has quit [Read error: Connection reset by peer]
dagen has joined #ruby
flame_ has quit [Quit: Computer has gone to sleep.]
jibi has joined #ruby
Guest24182 has quit [Quit: What if the hokey pokey really is what it's all about?]
<shevy> but it gave the right answer!
abra has quit [Quit: Textual IRC Client: www.textualapp.com]
Megtastique has quit []
freerobby has quit [Quit: Leaving.]
flame_ has joined #ruby
St_Marx has quit [Ping timeout: 240 seconds]
St_Marx has joined #ruby
zegerjan has quit [Ping timeout: 260 seconds]
peregrine81 has joined #ruby
<shevy> apeiros_unid we must eliminate the _unid from your nick
<apeiros_unid> you can't
<apeiros_unid> it will go away in ~5 days
frustrum has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kofno has joined #ruby
ambushsabre has joined #ruby
<dagen> hi there!
<dagen> there is someone use rails?
<dagen> need help)
<Hanmac> apeiros_unid: like a flu ? ;P
<Hanmac> dagen: #rubyonrails
amundj has joined #ruby
<dagen> i cant join the channel
jamesaanderson has joined #ruby
samsonasu has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
<MrZYX> dagen: /msg NickServ HELP
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
yshh has joined #ruby
jamesaanderson has joined #ruby
<dagen> thanks
randomnick_ has joined #ruby
Neomex has quit [Quit: Neomex]
nowthatsamatt has joined #ruby
Hanmac1 has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
joast has quit [Quit: Leaving.]
joaoh82 has quit [Remote host closed the connection]
habanany has joined #ruby
joast has joined #ruby
yshh has quit [Ping timeout: 260 seconds]
Hanmac has quit [Ping timeout: 240 seconds]
Hanmac has joined #ruby
OdNairy has joined #ruby
Hanmac1 has quit [Ping timeout: 240 seconds]
kofno has quit [Ping timeout: 240 seconds]
zegerjan has joined #ruby
Elhu has joined #ruby
Elhu has quit [Client Quit]
michaeldeol has joined #ruby
kofno has joined #ruby
stetho has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
michaeldeol has quit [Ping timeout: 265 seconds]
Al___ has quit [Read error: Connection reset by peer]
Al___ has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
peregrine81 has quit []
Advocation has quit [Quit: Advocation]
another_eddie has quit [Read error: Connection reset by peer]
sayan has joined #ruby
primenum has joined #ruby
esing has quit [Remote host closed the connection]
nateberkopec has joined #ruby
wudofyr has quit [Remote host closed the connection]
alvinsj has joined #ruby
wudofyr has joined #ruby
another_eddie has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
urbanslug has quit [Ping timeout: 252 seconds]
another_eddie has quit [Read error: Connection reset by peer]
zegerjan has quit [Quit: WeeChat 0.4.2]
another_eddie has joined #ruby
urbanslug has joined #ruby
vlad_starkov has joined #ruby
Al___ has quit [Read error: Connection reset by peer]
samsonasu has quit [Quit: samsonasu]
Al___ has joined #ruby
<shevy> if you can't join the channel, it means they don't love you :(
mrfoto has joined #ruby
jamesaanderson has joined #ruby
Al___ has quit [Read error: Connection timed out]
nateberkopec has quit [Quit: Leaving...]
another_eddie has quit [Read error: Connection reset by peer]
another_eddie has joined #ruby
nateberkopec has joined #ruby
esing has joined #ruby
another_eddie has quit [Read error: Connection reset by peer]
another_eddie has joined #ruby
joaoh82 has joined #ruby
michael_lee has quit [Quit: Ex-Chat]
another_eddie has quit [Read error: Connection reset by peer]
joaoh82 has quit [Read error: Connection reset by peer]
joaoh82_ has joined #ruby
Advocation has joined #ruby
another_eddie has joined #ruby
WebKit_ has joined #ruby
havenwood has joined #ruby
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Megtastique has joined #ruby
cow_ has quit [Remote host closed the connection]
joaoh82_ has quit [Ping timeout: 248 seconds]
lxsameer has quit [Quit: Leaving]
vlad_sta_ has joined #ruby
another_eddie has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Read error: Connection reset by peer]
Azure has joined #ruby
habanany has quit [Ping timeout: 252 seconds]
kofno has quit [Ping timeout: 252 seconds]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sayan has quit [Ping timeout: 260 seconds]
ckinni has joined #ruby
jhaals has joined #ruby
ehc has joined #ruby
workmad3 has quit [Ping timeout: 245 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
royalty has joined #ruby
ewnd9_ has joined #ruby
lukec has joined #ruby
juarlex has joined #ruby
TomRone has quit [Ping timeout: 240 seconds]
tharindu has joined #ruby
mojjojo has joined #ruby
Neomex has joined #ruby
TomRone has joined #ruby
ewnd9 has quit [Ping timeout: 252 seconds]
Advocation has quit [Quit: Advocation]
plotter has quit [Ping timeout: 245 seconds]
Neomex has quit [Client Quit]
octoberry has joined #ruby
yshh has joined #ruby
drumusician has quit [Ping timeout: 252 seconds]
ambushsabre has joined #ruby
juarlex has quit [Ping timeout: 252 seconds]
didge has quit [Ping timeout: 252 seconds]
Xeago has joined #ruby
jhaals has quit [Quit: Textual IRC Client: www.textualapp.com]
Czupa has joined #ruby
yshh has quit [Ping timeout: 240 seconds]
okinomo has quit [Ping timeout: 272 seconds]
kofno has joined #ruby
Xeago has quit [Ping timeout: 264 seconds]
michaeldeol has joined #ruby
chihhsin has joined #ruby
habanany has joined #ruby
michaeldeol has quit [Ping timeout: 260 seconds]
Hanmac has quit [Ping timeout: 252 seconds]
angusiguess has joined #ruby
Hanmac has joined #ruby
zimt09 has quit [Quit: zimt09]
mengu has joined #ruby
hamakn has joined #ruby
octoberry has quit [Ping timeout: 260 seconds]
rootshift has joined #ruby
mojjojo has quit [Quit: mojjojo]
jamesaanderson has joined #ruby
octoberry has joined #ruby
rootshift has quit [Quit: rootshift]
havenwood has quit [Remote host closed the connection]
nowthatsamatt has quit [Quit: nowthatsamatt]
Spami has joined #ruby
nowthatsamatt has joined #ruby
Neomex has joined #ruby
nowthatsamatt has quit [Client Quit]
Neomex has quit [Client Quit]
ss_ has joined #ruby
tyl has joined #ruby
lyanchih_ has quit [Quit: lyanchih_]
havenwood has joined #ruby
rippa has joined #ruby
frustrum has quit [Ping timeout: 240 seconds]
hamakn has quit [Remote host closed the connection]
Megtastique has quit []
vikhyat has quit [Remote host closed the connection]
joaoh82 has joined #ruby
freerobby has quit [Quit: Leaving.]
jim has joined #ruby
angusiguess has quit [Ping timeout: 252 seconds]
jim is now known as Guest50666
Elhu has joined #ruby
jibi has quit [Quit: .]
jibi has joined #ruby
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mrsolo has joined #ruby
rootshift has joined #ruby
amundj has quit [Ping timeout: 240 seconds]
alvinsj has quit [Remote host closed the connection]
amundj has joined #ruby
alvinsj has joined #ruby
joaoh82 has quit [Ping timeout: 240 seconds]
tyl has joined #ruby
mbrumbelow has joined #ruby
Guest50666 has quit [Quit: Page closed]
dr_bob has quit [Quit: Leaving.]
kofno has quit [Ping timeout: 264 seconds]
chihhsin is now known as pichuanq
volty has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alvinsj has quit [Ping timeout: 250 seconds]
threesome has quit [Ping timeout: 252 seconds]
fijimunkii has quit [Ping timeout: 252 seconds]
volty has quit [Client Quit]
mbrumbelow has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
wald0 has quit [Quit: Lost terminal]
cbetta is now known as cbetta_afk
shedd has joined #ruby
cow_ has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
didge has joined #ruby
mbrumbelow has joined #ruby
cbetta_afk is now known as cbetta
rdg has joined #ruby
mrfoto has quit []
g0bl1n has joined #ruby
shedd has quit [Ping timeout: 246 seconds]
cow_ has quit [Ping timeout: 246 seconds]
freerobby has joined #ruby
rootshift has quit [Quit: rootshift]
nateberkopec has quit [Quit: Leaving...]
yshh has joined #ruby
cbetta is now known as cbetta_afk
flame_ has quit [Quit: Computer has gone to sleep.]
flubba has joined #ruby
vikhyat has joined #ruby
tris has quit [Excess Flood]
drago777 has quit [Ping timeout: 240 seconds]
tris has joined #ruby
WebKit_ has quit [Ping timeout: 252 seconds]
mbrumbelow has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
Elhu has joined #ruby
g0bl1n has quit [Quit: Ex-Chat]
drago777 has joined #ruby
alvinsj has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
pichuanq is now known as chihhsin
maletor has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
dhruvasagar has joined #ruby
kofno has joined #ruby
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
michaeldeol has joined #ruby
mercwithamouth has joined #ruby
rdg has quit [Quit: ttfn]
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
jamesaanderson has joined #ruby
alvinsj has quit [Remote host closed the connection]
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alvinsj has joined #ruby
baroquebobcat has joined #ruby
samuel02 has joined #ruby
ckinni has joined #ruby
EngierkO has joined #ruby
dorei has joined #ruby
<shevy> guys
<shevy> share what you learned about ruby today
Hanmac1 has joined #ruby
dhruvasagar has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
michaeldeol has quit [Ping timeout: 252 seconds]
<dorei> let's say i have an array 'arr' of fixnums and want to calculate an array with the partial sums, like: a = 0 ; arr.map{|x| a+=x}
<dorei> is there another way to do it?
<havenwood> dorei: a.inject :+
Hanmac has quit [Ping timeout: 264 seconds]
alvinsj has quit [Ping timeout: 260 seconds]
Faris has joined #ruby
<havenwood> >> [1, 2, 3].reduce(:+)
<eval-in> havenwood => 6 (https://eval.in/81754)
<dorei> havenwood: that will calculate only the total sum, not the partials
<havenwood> partials?
<MrZYX> it's not like your example doesn't calculate the total sum
<MrZYX> reminder to self: less negations
<dorei> i want [1,2,3] to produce [1,3,6]
<MrZYX> ah, now I get what it does
<shevy> I still don't get it
EngierkO has quit [Read error: Operation timed out]
<MrZYX> hmm, what about arr.each_with_object([]) {|x, sums| sums << sums.last+x }
<shevy> isn't there a math name for that
<MrZYX> sums.last.to_i
fire has quit [Quit: WeeChat 0.4.1]
<MrZYX> shevy: partial sum is pretty much the correct name for that from what it looks
nari has quit [Ping timeout: 252 seconds]
<dorei> each_with_object seams interesting :)
angusiguess has joined #ruby
<dorei> thanx MrZYX
kofno has quit [Ping timeout: 240 seconds]
Vivekananda has joined #ruby
vpretzel has joined #ruby
fire has joined #ruby
mpereira has quit [Quit: IRCRelay - http://ircrelay.com]
mpereira has joined #ruby
bbloom has quit [Quit: Textual IRC Client: www.textualapp.com]
alvinsj has joined #ruby
mojjojo has joined #ruby
kenrick has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
colonolGron has joined #ruby
alvinsj has quit [Remote host closed the connection]
rootshift has joined #ruby
kil0byte has joined #ruby
heftig has quit [Quit: Quitting]
petey has joined #ruby
bbloom has joined #ruby
xcfox has joined #ruby
heftig has joined #ruby
<alexherbo2> shevy: when we redefine Kernel#sprintf, String#% is not affected. String#% doesn’t use sprintf actually?
rootshift has quit [Client Quit]
IceDragon has joined #ruby
<shevy> alexherbo2 good question
<MrZYX> alexherbo2: wow, work on your reading comprehension, we answered that question several hours ago
<shevy> how does String#% work
arietis has joined #ruby
<shevy> rb_str_format_m(VALUE str, VALUE arg)
<shevy> alexherbo2, both methods call the C function rb_str_format
freerobby has quit [Quit: Leaving.]
joaoh82 has joined #ruby
<MrZYX> oh, I hoped rb_str_format just calls rb_str_format_m
dhruvasagar has quit [Ping timeout: 272 seconds]
blackmesa has joined #ruby
mastr has quit [Read error: Operation timed out]
<MrZYX> alexherbo2: so you have to override both
<MrZYX> maybe make one just calling the other
Czupa has quit [Read error: Connection reset by peer]
joaoh82 has quit [Ping timeout: 240 seconds]
carraroj has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
subbyyy_ has joined #ruby
threesome has joined #ruby
skinny_much has quit [Read error: Operation timed out]
hamakn has joined #ruby
Elhu has joined #ruby
skinny_much has joined #ruby
Mon_Ouie has quit [Read error: Operation timed out]
fomatin has joined #ruby
sheap has joined #ruby
hamakn has quit [Ping timeout: 272 seconds]
TomRone has quit [Ping timeout: 240 seconds]
urbanslug has quit [Quit: leaving]
fedesilva has quit [Remote host closed the connection]
TomRone has joined #ruby
kofno has joined #ruby
octoberry has quit [Ping timeout: 252 seconds]
Spami has quit [Quit: This computer has gone to sleep]
vikhyat has quit [Remote host closed the connection]
Megtastique has joined #ruby
IceDragon has quit [Ping timeout: 260 seconds]
juarlex has joined #ruby
maycon has quit [Quit: Saindo]
IceDragon has joined #ruby
wallerdev has joined #ruby
Neomex has joined #ruby
Megtastique has quit [Client Quit]
juarlex has quit [Ping timeout: 272 seconds]
Kricir has joined #ruby
freerobby has joined #ruby
ae-r has joined #ruby
vikhyat has joined #ruby
mengu has quit []
nowthatsamatt has joined #ruby
OdNairy has quit [Ping timeout: 250 seconds]
alvinsj has joined #ruby
michaeldeol has joined #ruby
Txandy has joined #ruby
bvsh has quit [Ping timeout: 246 seconds]
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
freerobby has quit [Ping timeout: 248 seconds]
OdNairy has joined #ruby
OdNairy has quit [Client Quit]
fijimunkii has joined #ruby
vlad_starkov has joined #ruby
OdNairy has joined #ruby
michaeldeol has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
vpretzel has quit [Read error: Connection timed out]
vpretzel has joined #ruby
vlad_starkov has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mbrumbelow has joined #ruby
senayar has joined #ruby
mbrumbelow has quit [Remote host closed the connection]
jamesaanderson has joined #ruby
mbrumbelow has joined #ruby
yshh has quit [Remote host closed the connection]
dkamioka has joined #ruby
<senayar> Hi, how can i have access to this hashmap : { "photo_url" => [{"max_size"=>"1280", "__content__" => "url"}] } ?
<Hanmac1> shevy: i think there should be a irc feature what allows you to point users with attributes ... like "i need help with ruby on ubuntu" ans the bot suggest: "Ask Hanmac" ;P
<senayar> i try to get "__content__"
<Hanmac1> senayar hash["photo_url"][0]["__content__"] #=> "url"
skinny_much has quit [Ping timeout: 240 seconds]
<senayar> it's return me nil :(
mojjojo has quit [Quit: mojjojo]
mojjojo has joined #ruby
skinny_much has joined #ruby
<alexherbo2> shevy, MrZYX: you were helpful :)
<alexherbo2> thx ^^
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blandflakes has joined #ruby
<shevy> yeah Hanmac1
<shevy> IF ANYONE OF YOU
<shevy> HAS A PROBLEM WITH UBUNTU
<shevy> ASK Hanmac1
<shevy> or
petey has quit [Remote host closed the connection]
<shevy> man up and use a real OS instead
<shevy> senayar is that a new feature in ruby 2.x ?
<shevy> ohhh
<shevy> it's a key in a hash
petey has joined #ruby
<shevy> which is hidden in an array
Elhu has quit [Quit: Computer has gone to sleep.]
<tyl> shevy just curious what do you consider a real os?
OdNairy has joined #ruby
<shevy> tyl gobolinux!
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
<shevy> AppDirs everywhere!
<shevy> minus the strange capitalization
ambushsabre has quit [Quit: rip]
marr has quit [Ping timeout: 248 seconds]
Elhu has joined #ruby
<shevy> a little bit of nixOS as well
mrsolo has left #ruby ["Leaving"]
petey has quit [Ping timeout: 246 seconds]
alvinsj has quit [Read error: Connection reset by peer]
zipper has joined #ruby
arclitgold has quit [Quit: leaving]
Kricir has quit [Remote host closed the connection]
alvinsj has joined #ruby
kofno has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Remote host closed the connection]
iliketur_ has joined #ruby
<Hanmac1> senayar: because @articles is one not many Articles
lewix has joined #ruby
<senayar> it is i just c/p only one
<Mon_Ouie> Use p, not puts, to see what the object really is
<Hanmac1> shevy: "man up" #=> "No manual entry for up"
Hanmac1 is now known as Hanmac
hl has quit [Ping timeout: 246 seconds]
ehc has quit [Quit: ehc]
<senayar> if i use article["photo_url"] he will print me the array
petey has joined #ruby
dkamioka has quit [Remote host closed the connection]
dkamioka has joined #ruby
serp` has joined #ruby
habanany has quit [Ping timeout: 260 seconds]
browndawg has quit [Quit: Leaving.]
hl has joined #ruby
mojjojo has quit [Quit: mojjojo]
frustrum has joined #ruby
<lewix> senayar: the value of 'photo_url'
<senayar> yes
<shevy> senayar you have an array stored at position article["photo_url"]
arietis has quit [Quit: Computer has gone to sleep.]
<senayar> yes the array from the hash
bnjamin has quit [Remote host closed the connection]
dkamioka has quit [Ping timeout: 250 seconds]
bnjamin has joined #ruby
<shevy> an array with several hashes inside of it
<shevy> article["photo_url"][0]["__content__"] works
<shevy> you can test it in irb
<senayar> mmm
Mars` has quit [Remote host closed the connection]
<shevy> I just did, which is why I know
<shevy> pp hash['photo_url'][0]['__content__']
mbrumbelow has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
arietis has joined #ruby
<Hanmac> senayar: whats your ruby version?
<jxport> How can I best test asynchronous behavior
<senayar> 2.0.0p3xx
<senayar> it's work in controller but now in the view Hanmac
<senayar> thank for the help
* Hanmac is smelling a rails problem
sambao21 has joined #ruby
serp` has quit [Quit: serp`]
<shevy> Hanmac
<shevy> the year 2013 is soon over
<shevy> how's the wxwidget bindings coming along?
Guest14855 has quit [Remote host closed the connection]
<Hanmac> shevy: i added 2 patches today for wx so i got more widgets for rwx, more patches will follow
<jxport> Testing asynchronous behavior by sticking sleeps everywhere and using flags in callbacks.. seems wrong
vlad_starkov has joined #ruby
<shevy> \o/
sambao21 has quit [Ping timeout: 246 seconds]
esing has quit [Remote host closed the connection]
mojjojo has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
sambao21 has joined #ruby
tharindu has quit [Quit: Leaving...]
<AntelopeSalad> is slice the best method to use to get every item in an array minus the last item?
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ae-r has quit [Ping timeout: 272 seconds]
colonolGron has quit [Ping timeout: 250 seconds]
fedesilva has joined #ruby
mojjojo has quit [Quit: mojjojo]
<RubyPanther> AntelopeSalad: or [1,2,3][0..-2] or [0...-1]
ae-r has joined #ruby
<RubyPanther> slice is fine, but it might give people Perl flashbacks
estebistec has joined #ruby
<AntelopeSalad> RubyPanther: ok, 0...-1 seems to work as intended
<AntelopeSalad> thanks
jamesaxl has joined #ruby
fedesilva has quit [Ping timeout: 240 seconds]
<Hanmac> "Perl flashbacks" ;D
dorei has quit [Ping timeout: 240 seconds]
dorei has joined #ruby
Advocation has joined #ruby
snath has quit [Remote host closed the connection]
freerobby has joined #ruby
mercwithamouth has quit [Ping timeout: 248 seconds]
peregrine81 has joined #ruby
maletor has joined #ruby
snath has joined #ruby
krz has joined #ruby
krz has joined #ruby
krz has quit [Changing host]
ambushsabre has joined #ruby
michaeldeol has joined #ruby
freerobby has quit [Ping timeout: 246 seconds]
matchaw has joined #ruby
<Hanmac> RubyPanther: do PHP developer get "Perl flashbacks" too or is it like StockholmSyndrom ? ;P
Advocation has quit [Quit: Advocation]
ae-r has quit [Ping timeout: 252 seconds]
krz has quit [Client Quit]
gigetoo has quit [Remote host closed the connection]
<dorei> I'll never try perl :)
Mars` has joined #ruby
gigetoo has joined #ruby
peregrine81 has quit []
michaeldeol has quit [Ping timeout: 252 seconds]
peregrine81 has joined #ruby
peregrine81 has quit [Max SendQ exceeded]
fedesilva has joined #ruby
RoryHughes has quit []
ewnd9_ has quit [Ping timeout: 260 seconds]
hashpuppy has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> hehe
Mars` has quit [Ping timeout: 240 seconds]
<shevy> when I switched to linux I started with perl
<shevy> then I went into php
arietis has quit [Ping timeout: 240 seconds]
<shevy> which made me sad
<shevy> then I found ruby
krz has joined #ruby
krz has quit [Changing host]
krz has joined #ruby
ss_ has quit [Remote host closed the connection]
Zhwazi has joined #ruby
drumusician has joined #ruby
noop has quit [Ping timeout: 252 seconds]
workmad3 has joined #ruby
mojjojo has joined #ruby
<Hanmac> shevy: and then you found Hanmac ;P
<shevy> hmm
drumusician has quit [Ping timeout: 264 seconds]
nfk has quit [Quit: yawn]
ehc has joined #ruby
mercwithamouth has joined #ruby
mojjojo has quit [Quit: mojjojo]
yshh has joined #ruby
alvinsj has quit [Remote host closed the connection]
angusiguess has quit [Ping timeout: 240 seconds]
lethjakman has joined #ruby
alvinsj has joined #ruby
marr has joined #ruby
nfk has joined #ruby
nfk has joined #ruby
nfk has quit [Changing host]
alvinsj has quit [Read error: Connection reset by peer]
preller has quit [Ping timeout: 264 seconds]
CaptainJet has joined #ruby
joaoh82 has joined #ruby
yshh has quit [Ping timeout: 272 seconds]
RoryHughes has joined #ruby
colonolGron has joined #ruby
kofno has joined #ruby
sputnik1_ has quit [Quit: Textual IRC Client: www.textualapp.com]
Beoran_ has quit [Read error: Operation timed out]
lethjakman has quit [Ping timeout: 272 seconds]
alexherbo2 has quit [Ping timeout: 250 seconds]
Beoran_ has joined #ruby
kil0byte has quit [Ping timeout: 240 seconds]
atmosx has joined #ruby
preller has joined #ruby
ClientAlive has joined #ruby
Megtastique has joined #ruby
mgorbach has quit [Read error: Connection reset by peer]
mgorbach has joined #ruby
kofno has quit [Ping timeout: 250 seconds]
axl__ has joined #ruby
<atmosx> hello anyone running bash & rvm at mavericks?
Mars` has joined #ruby
sputnik13 has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
<ClientAlive> When I run "gem install activerecord-mysql-adapter" as root, I get --> https://gist.github.com/anonymous/8073955
<ClientAlive> Can anyone please help?
sputnik13 has quit [Max SendQ exceeded]
arietis has joined #ruby
<atmosx> ClientAlive: what OS you on?
<atmosx> ClientAlive: you have MySQL installed?
sputnik13 has joined #ruby
<ClientAlive> atmosx: Ubuntu 13.10. Yes, I have mysql client and server installed. Btw, this redmine install is onto a laptop and intended only for local use.
<atmosx> what is redmine?
<Hanmac> ClientAlive: libmysqlclient-dev
<Jamo> you may need mysql-dev or similar lib
<Jamo> :)
<ClientAlive> Content management software ( to put it simply )
kenrick has quit [Ping timeout: 246 seconds]
<atmosx> ClientAlive: you need to install mysql library and if you don't wanna add the path manually to mysql you have to re-compile ruby.
<ClientAlive> Can you supply the commands for recompiling ruby?
<ClientAlive> Would an apt-get purge/install do the trick?
<Jamo> apt-get install libmysqlclient-dev
<Jamo> might be what you need
<Jamo> btw, which ruby version?
Neomex has quit [Quit: Neomex]
<Hanmac> ClientAlive: you not need to reinstall ruby for that
sputnik13 has quit [Quit: Textual IRC Client: www.textualapp.com]
ss_ has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
<Hanmac> PS: there is also a package for "ruby-mysql2" ... but gems are mostly newer
Mars` has quit [Ping timeout: 272 seconds]
alexherbo2 has joined #ruby
<ClientAlive> jamo: Let me see if I can find out ( I've never used ruby before but can look up in the man page how to get version ). Btw, there is an ubuntu package "libmysqlclient-dev." is that the same as mysql-dev?
<atmosx> Hanmac: in my experience using distribution specific gems is a path to destruction
<atmosx> ClientAlive: ruby --version
<Jamo> `ruby -v`
lukec has quit [Quit: lukec]
<ClientAlive> ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
<Jamo> ClientAlive: probably - someting that has mysql and dev
drumusician has joined #ruby
maletor has joined #ruby
<atmosx> ClientAlive: I'd start writing code using ruby-2.0 is I were in you.
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
arietis has quit [Read error: Connection reset by peer]
<atmosx> ClientAlive: and since you're setting up ruby, it's better to use rvm or rbenv for development. You need of course mysql or sqlite3, or whatever libraries you're going to use to be installed anyway.
<ClientAlive> Redmine is notorious for being a beast of an install. My distro's package is behind latest release ( of course ) but I thought things would go smoothly if I went that route. Anyhow, the biggest problem I had to deal with befor this was a mysql 1045 error (access denied). Dealt with that in this install attempt but it seems to me like an act of God so I'm a little afraid to remove the distro's package and go for the maintainers stable release/
<ClientAlive> install thereof
jwang has quit [Read error: Connection reset by peer]
juarlex has joined #ruby
psyl0n has quit [Remote host closed the connection]
<atmosx> ClientAlive: I feel you, I'm relatively expert with unix and ruby setup (in multiple environemnts) and lost a couple of hours today to set properly ruby, bash on Mavericks for no apparent reason. Setting the dev environment for ruby is always a pain :-/
<ClientAlive> Friends, I really wasn't planning to do more than install redmine and learn to use it.
lagweezle has quit [Ping timeout: 250 seconds]
joaoh82 has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 272 seconds]
<ClientAlive> May I share a link I found and ask your guys take on the soln given?
<atmosx> ClientAlive: sure
freerobby has joined #ruby
esing has joined #ruby
esing has joined #ruby
esing has quit [Changing host]
ss_ has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Remote host closed the connection]
juarlex has quit [Ping timeout: 248 seconds]
vlad_starkov has joined #ruby
<ClientAlive> Found it again...
gja has quit [Quit: This computer has gone to sleep]
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
sambao21 has quit [Quit: Goodbye]
<ClientAlive> This is the part I was referring to. Read it first time last night. " finally, this fixed it: sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylib – Tallboy Dec 4 '11 at 10:52 "
<ClientAlive> But he doesn't say what o/s he is running so idk if it would help me on ubuntu
klaut has quit [Remote host closed the connection]
freerobby has joined #ruby
\13k has joined #ruby
amundj has quit [Ping timeout: 265 seconds]
* canton7 wonders when mysql will finally die, and issues like this just disappear
fijimunkii has quit [Ping timeout: 252 seconds]
<ClientAlive> canton7: mariadb
<ClientAlive> :)
<ClientAlive> I'm just not skilled enough to deal with all that ( conversion and whatnot )
<canton7> that's more of a sticking plaster. there's almost no pain in moving mysql -> mariadb, but it's still nowhere near something like postgres
arietis has joined #ruby
culturel_ has joined #ruby
<ClientAlive> postgres is good eh?
culturel_ has quit [Max SendQ exceeded]
<shevy> it can make you babies
<otherj> pgsql will give you a back rub and then pay your bills
michaeldeol has joined #ruby
<canton7> it's widely regarded as the best in its class, which is the same class as mysqld
freerobby has quit [Ping timeout: 248 seconds]
<ClientAlive> ha ha
culturel_ has joined #ruby
<ClientAlive> right on
jchristi has quit [Quit: Leaving.]
jgrevich has joined #ruby
klaut has joined #ruby
<ClientAlive> I have a learning curve ahead of me no matter what db system I go with but I do now have a need for it. One concern I have had is that some applications I use, use a database backend to even run. I've gotten the impression that most of them use mysql and that they may not work with any other db. Will I end up having to use multiple db systems on my computer just bc I want to run a couple applications that use whatever tickled the dev at the moment?
mojjojo has joined #ruby
<ClientAlive> Not sure whether any of that is factual or not though. That's why I put it out there.
<ClientAlive> Regarding redmine, suppose I'm gonna remove it all and be happy with what I've learned for now. I'll try the install again in another week or whatever.
petey_ has joined #ruby
atno_ has joined #ruby
dkamioka has joined #ruby
<shevy> [Array.new(9, '')] * 14
michaeldeol has quit [Ping timeout: 264 seconds]
<shevy> this makes an array in an array
<shevy> are there cleaner ways to do the same though?
arietis has quit [Quit: Computer has gone to sleep.]
<shevy> damn
jbhewitt has joined #ruby
<shevy> that keeps copies :(
<MrZYX> Array.new(14) { Array.new(9) { '' } }
atno has quit [Ping timeout: 264 seconds]
petey has quit [Ping timeout: 264 seconds]
lewix has quit [Remote host closed the connection]
mojjojo has quit [Quit: mojjojo]
michaeldeol has joined #ruby
Thanatermesis has joined #ruby
Megtastique has quit []
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Advocation has joined #ruby
jbhewitt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jbhewitt has joined #ruby
culturel_ has joined #ruby
lewix has joined #ruby
amundj has joined #ruby
Hanmac1 has joined #ruby
joaoh82 has joined #ruby
jbhewitt has quit [Client Quit]
fire has quit [Read error: Connection reset by peer]
Txandy has quit [Quit: Leaving...]
reach has joined #ruby
Hanmac has quit [Ping timeout: 250 seconds]
otherj has quit []
amundj_ has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
amundj has quit [Ping timeout: 272 seconds]
joaoh82 has quit [Ping timeout: 240 seconds]
fire has joined #ruby
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ScottNYC has joined #ruby
relix has joined #ruby
<shevy> cool
cbetta_afk is now known as cbetta
mercwithamouth has joined #ruby
sheap has quit [Quit: Lost terminal]
TomRone has quit [Ping timeout: 240 seconds]
jamesaanderson has quit [Quit: Textual IRC Client: www.textualapp.com]
fijimunkii has joined #ruby
culturel_ has joined #ruby
Deele has quit [Ping timeout: 260 seconds]
psyl0n has joined #ruby
TomRone has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
crapple has quit [Ping timeout: 264 seconds]
ehc has quit [Quit: ehc]
crapple has joined #ruby
drago777 has joined #ruby
crapple has quit [Excess Flood]
Mars` has joined #ruby
Faris has quit [Ping timeout: 272 seconds]
crapple has joined #ruby
fedesilv_ has joined #ruby
crapple has quit [Ping timeout: 246 seconds]
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fijimunkii has quit [Ping timeout: 240 seconds]
ambushsabre has quit [Quit: rip]
fedesilva has quit [Ping timeout: 264 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
prc has joined #ruby
crapple has joined #ruby
Deele has joined #ruby
crapple has quit [Excess Flood]
crapple has joined #ruby
butblack has joined #ruby
crapple has quit [Excess Flood]
crapple has joined #ruby
culturel_ has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
Duckily has joined #ruby
cbetta is now known as cbetta_afk
Deele has quit [Ping timeout: 260 seconds]
mbrumbelow has joined #ruby
Faris has joined #ruby
Advocation has quit [Quit: Advocation]
drago777 has quit [Ping timeout: 240 seconds]
fomatin has quit [Quit: Computer has gone to sleep.]
mbrumbelow has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
freerobby has joined #ruby
drago777 has joined #ruby
blandflakes has quit [Quit: Leaving]
presto53 has joined #ruby
conner has joined #ruby
presto53 has quit [Client Quit]
preller has quit [Ping timeout: 272 seconds]
Advocation has joined #ruby
krz has quit [Quit: WeeChat 0.4.2]
lukec has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
dkamioka has quit [Remote host closed the connection]
fijimunkii has joined #ruby
dkamioka has joined #ruby
kolpaa has joined #ruby
Guest82374 has quit [Ping timeout: 246 seconds]
prc has quit [Read error: Connection reset by peer]
Duckily has quit [Quit: Duckily]
preller has joined #ruby
dkamioka has quit [Ping timeout: 250 seconds]
octoberry has joined #ruby
shedd has joined #ruby
<conner> The 2.0.0 docs for Enumerator don't mention that it responds to .to_a. How does .to_a end up as part of the class? It's not in Kernel is it?
<MrZYX> it's in Enumerable iirc
Jake232_ has joined #ruby
<conner> MrZYX, aw, that's it. I was confusing Enumerator with Enumerable
Elhu has joined #ruby
Advocation has quit [Quit: Advocation]
phansch has quit [Quit: Leaving]
jenskarlsen has joined #ruby
Scientz has joined #ruby
kenrick has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
<shevy> hehe
prc has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
iliketur_ has quit [Quit: zzzzz…..]
subbyyy_ has quit [Ping timeout: 240 seconds]
joaoh82 has joined #ruby
S0da has joined #ruby
crapple has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
drumusician has quit [Ping timeout: 246 seconds]
prc1 has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
joaoh82 has quit [Ping timeout: 272 seconds]
sassamo has joined #ruby
crapple has joined #ruby
prc has quit [Ping timeout: 248 seconds]
crapple has quit [Excess Flood]
crapple has joined #ruby
iliketur_ has joined #ruby
jchristi has joined #ruby
fijimunkii has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Remote host closed the connection]
TomRone has quit [Ping timeout: 240 seconds]
[tDC]Nem has joined #ruby
[tDC]Nem has left #ruby [#ruby]
hephaestus_rg has joined #ruby
TomRone has joined #ruby
presto53 has joined #ruby
octoberry has quit [Ping timeout: 272 seconds]
ambushsabre has joined #ruby
drumusician has joined #ruby
presto53 has quit [Quit: leaving]
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
culturel_ has joined #ruby
RoryHugh_ has joined #ruby
shedd has quit [Remote host closed the connection]
RoryHughes has quit [Ping timeout: 252 seconds]
drago777 has quit [Ping timeout: 240 seconds]
lkba has joined #ruby
zumba_addict has quit [Ping timeout: 250 seconds]
petey_ has quit [Remote host closed the connection]
petey has joined #ruby
reach has quit [Remote host closed the connection]
blackmesa has joined #ruby
drago777 has joined #ruby
mr_snowf1ake has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pxjorge has joined #ruby
ckinni has quit [Quit: Textual IRC Client: www.textualapp.com]
kenrick has quit [Ping timeout: 272 seconds]
petey has quit [Ping timeout: 252 seconds]
juarlex has joined #ruby
Elhu has joined #ruby
kolpaa has left #ruby ["Leaving"]
fomatin has joined #ruby
assurbanipal has joined #ruby
coffeina has joined #ruby
alexherbo2 has joined #ruby
juarlex has quit [Ping timeout: 248 seconds]
coffeina has quit [Client Quit]
decoponio has quit [Read error: Connection reset by peer]
kcombs has joined #ruby
esing has quit [Remote host closed the connection]
dayepa has joined #ruby
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
decoponio has joined #ruby
ckinni has joined #ruby
preller has quit [Ping timeout: 252 seconds]
freerobby has joined #ruby
cbetta_afk is now known as cbetta
esing has joined #ruby
esing has joined #ruby
esing has quit [Changing host]
esing has quit [Max SendQ exceeded]
esing has joined #ruby
sheap has joined #ruby
culturel_ has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
preller has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
EnochWallace has joined #ruby
flubba has quit [Remote host closed the connection]
chomskiii has quit [Read error: Connection reset by peer]
sassamo has quit [Remote host closed the connection]
sheap has left #ruby [#ruby]
sassamo has joined #ruby
EnochWallace has quit [Quit: Saliendo]
chomskiii has joined #ruby
vlad_starkov has joined #ruby
alexherb1 has joined #ruby
atno has joined #ruby
atno_ has quit [Ping timeout: 248 seconds]
Scient has quit [Ping timeout: 252 seconds]
sassamo_ has joined #ruby
agent_white has joined #ruby
agent_white is now known as mitt3ns
mitt3ns has quit [Client Quit]
vlad_starkov has quit [Ping timeout: 240 seconds]
Scientz is now known as Scient
Scient is now known as Scient_
Scient_ is now known as Scient
bobdobbs` has quit [Ping timeout: 240 seconds]
shedd has joined #ruby
sassamo has quit [Ping timeout: 240 seconds]
Megtastique has joined #ruby
subbyyy_ has joined #ruby
michaeldeol has quit [Remote host closed the connection]
ehc has joined #ruby
michaeldeol has joined #ruby
vlad_starkov has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ehc has quit [Client Quit]
shedd has quit [Ping timeout: 272 seconds]
ehc has joined #ruby
kcombs has quit [Ping timeout: 260 seconds]
mengu has joined #ruby
TomRone has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
Mars` has quit [Remote host closed the connection]
michaeldeol has quit [Ping timeout: 248 seconds]
benlieb has joined #ruby
benlieb has left #ruby [#ruby]
vlad_starkov has quit [Remote host closed the connection]
benlieb has joined #ruby
<benlieb> where do I put methods needed in one spec file in rspec?
parduse has quit [Killed (kornbluth.freenode.net (Nickname regained by services))]
parduse has joined #ruby
joaoh82 has joined #ruby
TomRone has joined #ruby
claymore has quit [Quit: Leaving]
alvinsj has joined #ruby
alvinsj has quit [Read error: Connection reset by peer]
joaoh82 has quit [Ping timeout: 248 seconds]
<pontiki> you can put them in the spec file itself
<pontiki> that's what i usually do
<pontiki> if they're helpers for a pile of tests, i tend to put them in spec/support
<pontiki> and require them in spec/spec_helper.rb
<pontiki> some people write stuff directly in spec_helper, too, but i like to keep that as empty as possible
Landshark753 has joined #ruby
lewix has quit [Remote host closed the connection]
dayepa has quit [Ping timeout: 245 seconds]
apeiros_unid has quit [Remote host closed the connection]
apeiros_unid has joined #ruby
benlieb has quit [Ping timeout: 250 seconds]
michaeldeol has joined #ruby
snath has quit [Remote host closed the connection]
benlieb has joined #ruby
khismetix has joined #ruby
kcombs has joined #ruby
snath has joined #ruby
khismetix has quit [Client Quit]
phipes has joined #ruby
MattStratton has joined #ruby
Mars` has joined #ruby
ScottNYC has quit [Quit: Linkinus - http://linkinus.com]
blackmesa has quit [Ping timeout: 240 seconds]
St_Marx has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kofno has joined #ruby
kil0byte has joined #ruby
lewix has joined #ruby
preller has quit [Ping timeout: 272 seconds]
parduse has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby
parduse has joined #ruby
reach has joined #ruby
joaoh82 has joined #ruby
kofno has quit [Ping timeout: 272 seconds]
ClientAlive has quit [Ping timeout: 272 seconds]
zumba_addict has joined #ruby
preller has joined #ruby
Elhu has joined #ruby
axl__ has quit [Ping timeout: 248 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
chomskiii has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
laphlaw has joined #ruby
Thanatermesis has quit [Quit: ɯlɐɔ uı ʞɹoʍ oʇ ƃuıoƃ]
pxjorge has quit [Ping timeout: 260 seconds]
agent_white has joined #ruby
hephaestus_rg has quit [Remote host closed the connection]
Elhu has quit [Quit: Computer has gone to sleep.]
aryaching_ has quit [Ping timeout: 264 seconds]
freerobby has quit [Ping timeout: 260 seconds]
Megtastique has quit []
alexherb2 has joined #ruby
phipes has quit [Remote host closed the connection]
alexherb1 has quit [Ping timeout: 272 seconds]
Megtastique has joined #ruby
michaeldeol has quit [Remote host closed the connection]
michaeldeol has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
Barrin6 has joined #ruby
raar has joined #ruby
raar is now known as Guest42481
carraroj has quit [Quit: Konversation terminated!]
\13k has quit [Read error: Connection reset by peer]
\13k has joined #ruby
\13k has joined #ruby
\13k has quit [Changing host]
shedd has joined #ruby
michaeldeol has quit [Ping timeout: 272 seconds]
laphlaw has quit [Quit: Lingo - http://www.lingoirc.com]
mastr has joined #ruby
zipper has quit [Quit: Lost terminal]
LexicalScope has joined #ruby
ambushsabre has quit [Quit: rip]
Shidash has quit [Remote host closed the connection]
shedd has quit [Ping timeout: 240 seconds]
CaptainJet has quit []
kofno has joined #ruby
Mars` has quit [Remote host closed the connection]
CHimbo has joined #ruby
CHimbo has quit [Client Quit]
CaptainJet has joined #ruby
parduse has quit [Ping timeout: 260 seconds]
kofno has quit [Ping timeout: 264 seconds]
parduse has joined #ruby
kookari has joined #ruby
alexherb2 has quit [Ping timeout: 260 seconds]
fire has quit [Ping timeout: 250 seconds]
preller has quit [Read error: Operation timed out]
preller has joined #ruby
<kookari> hey there
lewix has quit [Remote host closed the connection]
seich- has quit [Ping timeout: 246 seconds]
estebistec has quit [Remote host closed the connection]
DylanJ has quit [Ping timeout: 260 seconds]
phus1on has quit [Quit: .]
sassamo_ has quit [Remote host closed the connection]
<apeiros_unid> hi kookari
kitak has quit [Remote host closed the connection]
soheil has joined #ruby
kitak has joined #ruby
sassamo has joined #ruby
kitak has quit [Remote host closed the connection]
spider-mario has quit [Remote host closed the connection]
soheil has quit [Remote host closed the connection]
maroloccio has joined #ruby
assurbanipal has quit [Remote host closed the connection]
snath has quit [Remote host closed the connection]
aryaching has joined #ruby
seich- has joined #ruby
snath has joined #ruby
michaeldeol has joined #ruby
primenum has quit [Ping timeout: 240 seconds]
michaeldeol has quit [Read error: Connection reset by peer]
michaeldeol has joined #ruby
culturel_ has joined #ruby
<kookari> any good casts on rake?
kirun has quit [Quit: Client exiting]
nateberkopec has joined #ruby
dhruvasagar has joined #ruby
dorei has quit [Ping timeout: 240 seconds]
maletor has joined #ruby
Stevo123 has joined #ruby
rootshift has joined #ruby
tylersmith has quit [Remote host closed the connection]
flubba has joined #ruby
michaeldeol has quit [Ping timeout: 250 seconds]
<havenwood> kookari: Ruby Tapas 129-132 are on rake.
<havenwood> RubyTapas*
<havenwood> not free episodes
nateberkopec has quit [Client Quit]
petey has joined #ruby
rootshift has quit [Client Quit]
nateberkopec has joined #ruby
fomatin has quit [Quit: Computer has gone to sleep.]
dorei has joined #ruby
<havenwood> kookari: looks like there's a free RailsCast on custom Rake tasks: http://railscasts.com/episodes/66-custom-rake-tasks
amundj_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dhruvasagar has quit [Ping timeout: 252 seconds]
ambushsabre has joined #ruby
snath has quit [Remote host closed the connection]
alexherbo2 has quit [Quit: WeeChat 0.4.2]
ClientAlive has joined #ruby
petey has quit [Ping timeout: 260 seconds]
juarlex has joined #ruby
snath has joined #ruby
<Stevo123> Anyone know of some GitHub Repos that have come up with a way to do Time Tracking?
klaut has quit [Remote host closed the connection]
maletor has quit [Quit: Computer has gone to sleep.]
nateberkopec has quit [Quit: Leaving...]
tylersmith has joined #ruby
dik_dak has joined #ruby