apeiros changed the topic of #ruby to: Ruby 2.1.0-p0; 2.0.0-p353; 1.9.3-p484: http://ruby-lang.org|| Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
vlad_starkov has quit [Read error: Connection reset by peer]
agjacome has joined #ruby
mansi has joined #ruby
johnmilton has quit [Read error: Connection reset by peer]
lioninawhat has joined #ruby
bradhe has quit [Ping timeout: 260 seconds]
Red_Onyx has joined #ruby
Kricir has quit [Remote host closed the connection]
Kricir has joined #ruby
chomskiii has quit [Read error: Connection reset by peer]
DashieIsTheBest[ is now known as Mapley
mansi has quit [Ping timeout: 272 seconds]
yasushi has joined #ruby
thealch3m1st has joined #ruby
mary5030 has quit [Remote host closed the connection]
Guest68802 has quit [Remote host closed the connection]
chomskiii has joined #ruby
yasushi has quit [Ping timeout: 272 seconds]
ktosiek has quit [Ping timeout: 260 seconds]
davidk has joined #ruby
alexfreidah has quit [Ping timeout: 245 seconds]
davidk is now known as Guest25654
Naoe_Kanno has quit [Quit: ネウロイを負かさなきゃならないね]
kotk1 has quit [Quit: Leaving...]
carif has quit [Ping timeout: 260 seconds]
lioninawhat has quit [Remote host closed the connection]
Lewix has joined #ruby
Guest25654 has quit [Remote host closed the connection]
alexfreidah has joined #ruby
platzhirsch has left #ruby [#ruby]
kitak has joined #ruby
habanany has quit [Read error: Connection reset by peer]
peregrin_ has quit []
venkat has joined #ruby
tannerburson has quit [Quit: tannerburson]
jbomo has quit [Ping timeout: 246 seconds]
mansi has joined #ruby
kenndel has joined #ruby
tannerburson has joined #ruby
Oog has joined #ruby
<Oog> no implicit conversion of Fixnum into String
<Oog> user.num_unread_messages += 1
<Oog> ....?
<Oog> num_unread_messages is 0
<Oog> this works in irb
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
Wolland has joined #ruby
nateberkopec has joined #ruby
un0x has joined #ruby
un0x has left #ruby [#ruby]
<Hanmac> for some reason num_unread_messages is a string
skulker has joined #ruby
<Oog> hmm
<shevy> user.num_unread_messages = user.num_unread_messages + 1
snkcld has joined #ruby
dkamioka has joined #ruby
<shevy> num_unread_messages is a method invocation, you can always define it to return an integer
<snkcld> if i have a begin ... ensure ... end. does the code in the 'ensure' portion execute even if i hit ctrl c?
<shevy> class User; def num_unread_messages; @num_unread_messages.to_i
<shevy> snkcld I would assume yes. lemme test...
<Oog> i'm going to log num_unread_messages.type
<Oog> this doesn't make any sense
<Oog> this is rails and that field is defined as type integer
<Hanmac> "type" oO what outdated fuction do you try to use?
<Oog> what should i use...
<Hanmac> .class ???
chrisseaton has quit []
<Oog> lol thats what i meant thanks
<Hanmac> .type was already outdated tons of years ago
lethjakman has quit [Ping timeout: 252 seconds]
<Oog> i dont see how it could be a strig
deens has joined #ruby
pskosinski has quit [Remote host closed the connection]
bradhe_ has joined #ruby
<shevy> snkcld I just tested. I recieved output after ensure, so I am 99% sure that it is run even when sigint was defined
<shevy> oh... *received
nateberkopec has quit [Ping timeout: 252 seconds]
<shevy> for so many years I wrote recieved :(
<Oog> why will user.num_unread_messages = user.num_unread_messages + 1 work ? how is it different than +=
<shevy> that is a specific assignment you do here
lethjakman has joined #ruby
<shevy> def num_unread_message=(i)
zxd has quit [Ping timeout: 253 seconds]
<Oog> but if user.num_unread_messages is a string its still going to have a problem right?
<shevy> that is a method, it can return anything
<shevy> you'd have to look at the source of that method to know what it really does
<Oog> wait i think i know what happened
<Oog> its a rails thing
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Oog> what happened was i started the web server
<Oog> then did db migrate
<Oog> so the model didnt pick up the type until i restarted the web server
<Oog> because now when i added the logging code it ouputs the class as Fixnum and everything works...
deens has quit [Read error: No route to host]
deens_ has joined #ruby
deens_ has quit [Remote host closed the connection]
<Oog> that was annoying thanks for the help. i knew it made no sense
bradhe_ has quit [Ping timeout: 272 seconds]
deens has joined #ruby
deens has quit [Remote host closed the connection]
lockweel has quit [Ping timeout: 272 seconds]
iliketurtles has joined #ruby
Xeago has joined #ruby
Oog has quit []
lockweel has joined #ruby
predator217 has joined #ruby
chipotle has joined #ruby
phipes has joined #ruby
Neomex has joined #ruby
proxie has quit []
tyl_ has joined #ruby
bradhe has joined #ruby
predator117 has quit [Ping timeout: 272 seconds]
Xeago has quit [Ping timeout: 252 seconds]
Neomex has quit [Quit: Neomex]
<shevy> hmm
zz_karupanerura is now known as karupanerura
<shevy> poor rails guys
aantix has quit [Quit: aantix]
<Jason> shevy: hmm?
<shevy> so much magic that they don't know what is going on
<shevy> Jason, look at what Oog wrote ^^^
<Jason> hahahahaha
<Jason> wow.
<Jason> "it's a rails thing"
<shevy> hehehe
<Jason> shevy: rails is, though, pretty cool
<shevy> "I am writing ruby code every day but it must be a rails thing"
m00nlight has quit [Quit: Konversation terminated!]
<shevy> rails is a great programming language
<Jason> yea
<Jason> its api is way diff
<Jason> it's like java/groovy ;p
Neomex has joined #ruby
Neomex has quit [Client Quit]
<shevy> heeh
<shevy> so verbose?
alexfreidah has quit [Ping timeout: 252 seconds]
rickruby has quit [Remote host closed the connection]
<Jason> shevy: haha
Neomex has joined #ruby
Nerfherder has joined #ruby
banjara has joined #ruby
mojjojo has quit [Quit: mojjojo]
billy_ran_away has quit [Ping timeout: 272 seconds]
proxie has joined #ruby
billy_ran_away has joined #ruby
venkat has quit []
avidcoder010 has quit [Ping timeout: 272 seconds]
<snkcld> shevy: it doesn't seem to be the case for me... i can show you my code if you're itnerested?
mojjojo has joined #ruby
sergicles has joined #ruby
<snkcld> I'm wrapping the foreach inside one transaction, instead of a ton of transactions per iteration, so i want to catch control-c to close the transaction
figgleberry has quit [Ping timeout: 264 seconds]
Neomex has quit [Quit: Neomex]
mojjojo has quit [Client Quit]
bigkevmcd has joined #ruby
Jdubs has joined #ruby
tyl has joined #ruby
<shevy> moment
tyl_ has quit [Ping timeout: 252 seconds]
<snkcld> no problem
billy_ran_away has quit [Ping timeout: 248 seconds]
SCommette has joined #ruby
<shevy> where is the ensure
mojjojo has joined #ruby
<snkcld> oh
vlad_starkov has joined #ruby
<shevy> and the rescue?
<snkcld> ill push it up right now
Kricir has quit [Remote host closed the connection]
<shevy> it's very unusual what you use there
aantix has joined #ruby
<snkcld> really?
<snkcld> that is, the transaction function is unusual?
<shevy> ok but where is the ensure in the second example
<shevy> no, your way of using ensure... I never saw it used without rescue before actually
<shevy> let me give you my example where I tested it...
<snkcld> oh
billy_ran_away has joined #ruby
<centrx> It's like you expect an error, but you don't do anything to deal with it
mojjojo has quit [Client Quit]
<snkcld> oh haha, yea...
<snkcld> good point
<snkcld> it might as well be under success, huh?
lockweel has quit [Ping timeout: 272 seconds]
mojjojo has joined #ruby
<snkcld> i mean, that was just so that, say that someone using the gem opens a transaction, but something is wrong in their code...
vlad_starkov has quit [Read error: Connection reset by peer]
<snkcld> then i would just have the ensure close the transaction
<snkcld> so i don't really expect to rescue it, i just figured id ensure that the transaction got closed
<shevy> hmm
<centrx> It might ensure they don't see the error either, not sure
<shevy> I just noticed a problem in my code
<snkcld> ah
<shevy> no wait
<shevy> it works now, I will upload
<snkcld> yea?
<snkcld> did you have a sample file?
<shevy> ok the thing is
<shevy> run this file
<shevy> it will output something every 1 second
<shevy> then hit ctrl-c at some point
<shevy> you should then see TWO lines
<shevy> (1) first line is from ensure clause
<shevy> (2) second line from Sigint clause
<snkcld> uh hhuh
<shevy> oops
<shevy> in the wrong order :-)
<shevy> but it still works ;)
<shevy> seems as if ensure is even triggered after exit ... hmmm
dangerousdave has joined #ruby
<shevy> but yeah, I claim your question is answered - ensure clause works.
* shevy nods happily.
tkuchiki has joined #ruby
aantix has quit [Ping timeout: 260 seconds]
<lethjakman> anyone know where the rbenv version is decided when I use rbenv local?
robustus has quit [Ping timeout: 252 seconds]
heftig has quit [Quit: Quitting]
<snkcld> but i see you're using Signal.trap('SIGINT') to catch the ctrl c, is it not possible to catch via rescue?
mikepack has joined #ruby
robustus has joined #ruby
MatthewsFace has joined #ruby
mspah_ has joined #ruby
<shevy> snkcld sorry, can you reword your question
<shevy> ah
<snkcld> yea here let me upload a sample
<shevy> you mean, if it can be triggered without specific SIGINT clause
figgleberry has joined #ruby
<shevy> snkcld the way I try to find out is by using rescue
<shevy> rescue Exception => e
<shevy> pp e.class
<snkcld> all i want to do is, inside my transaction block, is catch the sigint
<shevy> then when I know the name, I can capture this error, ok?
<shevy> and you can do this too on your own :D
<shevy> but here lemme try again...
binaryhat has joined #ruby
<shevy> well
<shevy> you say inside your transaction block
<shevy> but how do you know you are actually inside that block?
<shevy> in my script, I know I am in my loop all the time because that is the logic
<snkcld> yea you're right, i understand
<shevy> I am not sure... your code confuses me...
<shevy> but lemme make the example without sigint
<snkcld> ;(
timonv has joined #ruby
<shevy> snkcld, http://pastie.org/8649341 the example without specific sigint also works just fine
dkamioka has quit [Remote host closed the connection]
<shevy> the exception raised is called Interrupt
MatthewsFace has quit [Client Quit]
mspah_ has quit [Client Quit]
<shevy> you can also raise specific exceptions
<shevy> raise DatabaseDiesOMG
<snkcld> ah...
firewater05 has joined #ruby
<snkcld> yea yea i get that
<firewater05> Does benzf still show up here?
Nerfherder has quit [Quit: Konversation terminated!]
<shevy> if all fails, you can always wrap the whole thing into a giant begin/rescue/ensure clause, but that is kinda ugly
<shevy> firewater05 hopefully not ;P
ciwolsey has joined #ruby
<shevy> but he possibly will again
<firewater05> shevy: Is that you I guess?
<shevy> perhaps he is haskelling again
<shevy> me? I am not benzrf, I am the anti benzfr!
<firewater05> shevy: What is wrong with benrzf?
<shevy> he is young, ambitious and wants to know 50 languages
lyanchih has joined #ruby
<firewater05> shevy: How is that a bad thing?
snkcld has quit [Quit: snkcld]
fijimunkii has quit [Ping timeout: 272 seconds]
sassamo has quit [Read error: Connection reset by peer]
sassamo has joined #ruby
<shevy> it's the sign of youngness
<shevy> they have way too much time at hand
timonv has quit [Ping timeout: 272 seconds]
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
styped has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tt1187 has quit [Ping timeout: 260 seconds]
AlSquirrel has quit [Quit: This computer has gone to sleep]
marr has quit [Ping timeout: 260 seconds]
Freeaqingme| has quit [Ping timeout: 252 seconds]
lyanchih has quit [Quit: lyanchih]
nateberkopec has joined #ruby
lyanchih has joined #ruby
mikepack has quit [Remote host closed the connection]
benzrf has joined #ruby
firewater05 has quit [Quit: Page closed]
yasushi has joined #ruby
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
<benzrf> oh shit
<benzrf> missed him by seconds o-o
AlSquirrel has joined #ruby
mojjojo has quit [Quit: mojjojo]
nateberkopec has quit [Ping timeout: 252 seconds]
binaryhat has quit [Quit: Leaving]
tt1187 has joined #ruby
bradhe has quit [Remote host closed the connection]
w4pm has joined #ruby
bradhe has joined #ruby
m00nlight has joined #ruby
rickruby has joined #ruby
AlSquirrel has quit [Client Quit]
mary5030 has joined #ruby
fijimunkii has joined #ruby
Kricir has joined #ruby
skilltodie has joined #ruby
w4pm has quit [Read error: Operation timed out]
bradhe has quit [Ping timeout: 252 seconds]
skilltodie has left #ruby [#ruby]
ldcicconi has joined #ruby
yeshiyoshi has joined #ruby
MatthewsFace has joined #ruby
mspah_ has joined #ruby
MatthewsFace has quit [Client Quit]
mspah_ has quit [Remote host closed the connection]
<shevy> wat
<shevy> was that you?
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
AlSquirrel has joined #ruby
alexy has joined #ruby
alexy has left #ruby ["Leaving"]
deens has joined #ruby
coderhs has quit [Ping timeout: 265 seconds]
<benzrf> ?
zrl has quit [Ping timeout: 276 seconds]
niftylettuce has quit [Ping timeout: 276 seconds]
zrl has joined #ruby
mlpinit has joined #ruby
sassamo has quit [Remote host closed the connection]
Es0teric has quit [Quit: Nigga, im OUTIE 5000]
niftylettuce_ has joined #ruby
sassamo has joined #ruby
deens has quit [Ping timeout: 246 seconds]
<shevy> firewater05
blooberr__ has quit [Ping timeout: 252 seconds]
tcurdt has joined #ruby
ggherdov has quit [Ping timeout: 276 seconds]
ciwolsey has quit [Quit: Leaving]
<benzrf> hm?
<benzrf> what about im
Kricir has quit [Remote host closed the connection]
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
tannerburson has quit [Quit: tannerburson]
platzhirsch has joined #ruby
blooberr__ has joined #ruby
sassamo has quit [Read error: No route to host]
sassamo has joined #ruby
<shevy> that was you right?
phipes has quit [Remote host closed the connection]
<RubyPanther> I know more languages now than I did when I was young
sparrovv has quit [Remote host closed the connection]
<RubyPanther> You know you're old when you refuse to use most of the languages you know
<benzrf> no...
ggherdov has joined #ruby
<benzrf> *@shevy
<benzrf> shevy: he is another dude
<shevy> hmm
<shevy> he leaves, you arrive!
skulker has quit [Remote host closed the connection]
banjara has quit [Quit: Leaving.]
skulker has joined #ruby
<benzrf> oh fuuuck
<benzrf> i havent been running my bot
<benzrf> ;-;
<RubyPanther> he was using webchat, how important could he be?
skulker has quit [Read error: Connection reset by peer]
skulker has joined #ruby
<shevy> RubyPanther hey
<shevy> when xchat does not work, I do use webchat myself!
<benzrf> yep
graspee has joined #ruby
<RubyPanther> when would xchat not work?
skulker has quit [Remote host closed the connection]
<benzrf> well, irssi here
<benzrf> RubyPanther: if i am on another computer w/out root
<RubyPanther> I don't think you're supposed to run xchat as root anyways ; )
Nerfherder has joined #ruby
Deele has quit [Ping timeout: 260 seconds]
<shevy> RubyPanther when I recompile glib/atk/cairo/pango/freetype/fontconfig/gtk stuff
<benzrf> RubyPanther: *to install irssi
<benzrf> dur
<RubyPanther> I just finished recompiling the ruby bindings for all those on linode, took forever
<shevy> irssi is the poor man's way to chat
<bnagy> irssi is awesome
jbomo has joined #ruby
* benzrf hifives bnagy
yeshiyoshi has quit [Remote host closed the connection]
<RubyPanther> I use xchat because I'm not awesome enough for bitchx. Why do you use irssi?
<bnagy> screen
<shevy> they can't handle GUIs
<RubyPanther> xchat works in a terminal
Jdubs has quit [Remote host closed the connection]
<benzrf> I use irssi cuz my terminal looks totally awesome
<benzrf> B)
sassamo has quit [Remote host closed the connection]
Hobogrammer_ has joined #ruby
sassamo has joined #ruby
Lewix has quit [Read error: Connection reset by peer]
firewater05 has joined #ruby
Lewix has joined #ruby
<firewater05> Does anyone know a good way to test if a string matches up with an array list of words?
<firewater05> AKA, lets say a string is the word "airplane"
<firewater05> and then there is array=%w(airplane of the it)
<RubyPanther> my terminals are very boring
<benzrf> firewater05: array.include? string
<YOURBESTFRIEND> ^
<firewater05> include? requires airplane to be an array, no?
<firewater05> Oh, I see, do the flip side.
SCommette has quit [Read error: Connection reset by peer]
Hobogrammer has quit [Ping timeout: 260 seconds]
bradhe has joined #ruby
Neomex has joined #ruby
Neomex has quit [Client Quit]
<firewater05> benzrf: I do that and it doesn't work for some reason with my code :/.
<firewater05> It says it doesn't match, I think I'm doing something wrong.
<firewater05> I can copy/paste the code if you have the time to look, but IDK.
<firewater05> I feel like its right, but I test it in irb and still says wrong.
snkcld has joined #ruby
<benzrf> argh my mother is being a total tyrant GOD
<bnagy> probably ruby is broken
<benzrf> im sorry but i must go
<benzrf> my planet needs me
benzrf has left #ruby [#ruby]
<firewater05> oh well.
<bnagy> >> %w(dog cat frog).include? 'frog'
<eval-in> bnagy => true (https://eval.in/91886)
<firewater05> I did something like this bnagy
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<firewater05> title="War and Peace".scan(/\w+/)
<firewater05> title.each do |word|
<bnagy> don't paste into the channel
<bnagy> use a paste service, gist or whatever
<firewater05> ok, I will do it into pastebin
<firewater05> .
kizzx2 has quit [Quit: Leaving.]
<firewater05> So, this is a method in a class.
figgleberry has quit [Ping timeout: 246 seconds]
<firewater05> The class is trying to basically lower case all words except words in the array_word list.
<firewater05> and then return it at the end.
pmlarocque has joined #ruby
<firewater05> However, it is skipping over the word And in the list and saying its false.
<firewater05> And just going to else part.
<firewater05> Do you know why?
<bnagy> why are you using privatepaste?
<firewater05> its my preference.
<firewater05> Is that a problem?
tannerburson has joined #ruby
<bnagy> is it schoolwork?
<firewater05> no.
iamjarvo has quit [Ping timeout: 248 seconds]
<firewater05> Do you know why?
<bnagy> anyway, what's supposed to happen? This code is .. ew
<firewater05> Anyways, are you going to actually attempt to help or just attack me before asking?
<firewater05> Just so I can save my time?
tannerburson has quit [Client Quit]
<bnagy> I'll help if you explain the logic :)
bradhe has quit [Remote host closed the connection]
<firewater05> Ok, logic is this.
funburn has joined #ruby
<firewater05> array_words sets up the list of words to test against. It only contains one word now, but will contain more later.
bradhe has joined #ruby
Xiti has joined #ruby
<firewater05> title is a string, so turn it into array.
<firewater05> Then, with it being an array, I do each.
<bnagy> I meant what's supposed to happen
<bnagy> what's an example input and output
<firewater05> Actually, I think I just answered my own question. Sorry.
<firewater05> The code isn't doing what I want.
<firewater05> It is suppose to lowercase And.
<firewater05> Of course, I'm not doing anything with it.
<firewater05> If I lowercase it with downcase method.
<firewater05> It solves this, sorry, not thinking I think.
nateberkopec has joined #ruby
<bnagy> so if @title contains And like "War And Peace" you want "War and Peace" ?
<firewater05> yes.
<bnagy> try using scan and map
<bnagy> and @title2 doesn't need to be an ivar
<firewater05> Or sorry, it would show like this.
<firewater05> "war and peace"
<firewater05> turn that into "War and Peace"
<firewater05> So, no downcase wouldn't solve this.
blandflakes has joined #ruby
<bnagy> ok well in that case your test array is wrong, it should be and not And
<firewater05> THta is it, sorry missed this.
<bnagy> @title.scan(/\w+/).map {|word| word.capitalize unless skips.include? word}
<bnagy> play with that
<firewater05> Yep, fixed it.
<firewater05> Thank you for the help.
<firewater05> I can solve it from here. Just involves adding words the the array_words list.
<firewater05> For the other tests.
bradhe has quit [Ping timeout: 272 seconds]
banjara has joined #ruby
mansi has quit [Remote host closed the connection]
blandflakes has quit [Client Quit]
mansi has joined #ruby
blandflakes has joined #ruby
nateberkopec has quit [Ping timeout: 272 seconds]
blandflakes has quit [Client Quit]
tt1187 has quit [Read error: Operation timed out]
bradhe has joined #ruby
blandflakes has joined #ruby
blandflakes has quit [Client Quit]
banjara has quit [Ping timeout: 265 seconds]
snkcld has quit [Quit: snkcld]
blandflakes has joined #ruby
Xeago has joined #ruby
blandflakes has quit [Client Quit]
mansi has quit [Ping timeout: 265 seconds]
AlSquirrel has quit [Quit: This computer has gone to sleep]
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blandflakes has joined #ruby
blandflakes has quit [Client Quit]
figgleberry has joined #ruby
tyl has joined #ruby
dukz has joined #ruby
blandflakes has joined #ruby
binaryhat has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
Xeago has quit [Ping timeout: 246 seconds]
ryantm has joined #ruby
_mtr has joined #ruby
firewater05 has quit [Ping timeout: 272 seconds]
shadoi has joined #ruby
mehlah_ has joined #ruby
figgleberry has quit [Ping timeout: 264 seconds]
iamjarvo has joined #ruby
mehlah has quit [Ping timeout: 260 seconds]
nathancahill has quit [Quit: nathancahill]
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
girija has joined #ruby
araujo has quit [Remote host closed the connection]
binaryhat has quit [Quit: Leaving]
deens has joined #ruby
shadoi has quit [Quit: Leaving.]
phipes has joined #ruby
deens has quit [Ping timeout: 265 seconds]
danshultz has joined #ruby
tcurdt has quit [Quit: bye bye]
Kricir has joined #ruby
otherj has joined #ruby
knigitz has quit []
go|dfish has quit [Ping timeout: 252 seconds]
otherj has joined #ruby
jay_m has joined #ruby
jay_m is now known as Xuisce
girija has quit [Ping timeout: 252 seconds]
mansi has joined #ruby
dukz has quit [Remote host closed the connection]
nari has joined #ruby
mary5030 has quit [Read error: Connection reset by peer]
lachesis has joined #ruby
mary5030 has joined #ruby
platzhirsch has quit [Quit: Leaving.]
kizzx2 has joined #ruby
kizzx2 has quit [Max SendQ exceeded]
kizzx2 has joined #ruby
kizzx2 has quit [Max SendQ exceeded]
iamjarvo has quit [Ping timeout: 272 seconds]
kizzx2 has joined #ruby
kizzx2 has quit [Max SendQ exceeded]
deens has joined #ruby
ewnd9 has joined #ruby
kizzx2 has joined #ruby
kizzx2 has quit [Max SendQ exceeded]
kizzx2 has joined #ruby
kizzx2 has quit [Max SendQ exceeded]
Hanmac1 has joined #ruby
hamakn has joined #ruby
MatthewsFace has joined #ruby
mspah_ has joined #ruby
MatthewsFace has quit [Remote host closed the connection]
mspah_ has quit [Remote host closed the connection]
pmlarocque has quit [Quit: pmlarocque]
lachesis has quit [Read error: Connection reset by peer]
lachesis has joined #ruby
yasushi has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 265 seconds]
timonv has joined #ruby
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
byprdct has joined #ruby
deens has quit [Ping timeout: 265 seconds]
krz has joined #ruby
starkhalo has left #ruby ["WeeChat 0.4.2"]
marcgg has joined #ruby
MatthewsFace has joined #ruby
mspah_ has joined #ruby
timonv has quit [Ping timeout: 252 seconds]
starship has joined #ruby
vikhyat has joined #ruby
starship is now known as Guest26745
marcgg_ has quit [Ping timeout: 245 seconds]
Nerfherder has quit [Quit: Vini, vidi, velcro. I came. I saw. I stuck around.]
allen_on_c has joined #ruby
kristiandelay has joined #ruby
Guest26745 is now known as kkh
kkh has quit [Changing host]
kkh has joined #ruby
kkh has quit [Client Quit]
lioninawhat has joined #ruby
jailbot has joined #ruby
kkh has joined #ruby
kkh has quit [Changing host]
kkh has joined #ruby
figgleberry has joined #ruby
nateberkopec has joined #ruby
kristiandelay has quit [Ping timeout: 272 seconds]
mehlah_ has quit [Quit: Leaving...]
MatthewsFace has quit [Quit: This computer has gone to sleep]
mspah_ has quit [Quit: This computer has gone to sleep]
banjara has joined #ruby
kkh has quit [Client Quit]
kkh has joined #ruby
kkh has quit [Changing host]
kkh has joined #ruby
ldcicconi has quit [Ping timeout: 260 seconds]
nateberkopec has quit [Ping timeout: 260 seconds]
otherj has quit []
gja has joined #ruby
gja has quit [Remote host closed the connection]
banjara has quit [Quit: Leaving.]
bradhe has quit [Remote host closed the connection]
bradhe has joined #ruby
bwarkee has joined #ruby
rickruby has quit []
ewnd9 has quit [Ping timeout: 246 seconds]
bradhe has quit [Ping timeout: 260 seconds]
figgleberry has quit [Ping timeout: 246 seconds]
iamjarvo has joined #ruby
freerobby has quit [Quit: Leaving.]
skulker has joined #ruby
soba has joined #ruby
jbueza has joined #ruby
lachesis has quit [Read error: Connection reset by peer]
ziam has joined #ruby
_mtr has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jfine has joined #ruby
ziam has quit [Remote host closed the connection]
lachesis has joined #ruby
lachesis has quit [Changing host]
lachesis has joined #ruby
nathancahill has joined #ruby
go|dfish has joined #ruby
fire has joined #ruby
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
Kricir has quit [Remote host closed the connection]
<Xuisce> shevy: hi
abstractj has quit [Changing host]
abstractj has joined #ruby
lachesis has quit [Read error: Connection reset by peer]
styped has joined #ruby
skulker has quit [Remote host closed the connection]
OdNairy has joined #ruby
dseitz has joined #ruby
radic has quit [Disconnected by services]
radic_ has joined #ruby
dseitz has quit [Max SendQ exceeded]
bradhe has joined #ruby
sassamo has quit [Remote host closed the connection]
kells has joined #ruby
sassamo has joined #ruby
kells is now known as Guest54835
gigetoo has quit [Remote host closed the connection]
Guest54835 has quit [Client Quit]
bradhe_ has joined #ruby
bradhe has quit [Read error: Connection reset by peer]
gigetoo has joined #ruby
fijimunkii has quit [Quit: leaving]
fijimunkii has joined #ruby
siwica has joined #ruby
lachesis has joined #ruby
sassamo has quit [Ping timeout: 252 seconds]
bradhe_ has quit [Ping timeout: 248 seconds]
deens has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dseitz has joined #ruby
freerobby has joined #ruby
agjacome has quit [Ping timeout: 260 seconds]
sski has joined #ruby
freerobby1 has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
deens has quit [Ping timeout: 248 seconds]
iliketurtles has quit [Quit: zzzzz…..]
dorei has quit []
TigerWolf has quit [Quit: Textual IRC Client: www.textualapp.com]
Xuisce- has joined #ruby
dfcnvt has quit [Ping timeout: 272 seconds]
sassamo has joined #ruby
krigerv has joined #ruby
nateberkopec has joined #ruby
Xuisce has quit [Quit: Leaving...]
Xuisce- is now known as Xuisce
Lewix has quit [Remote host closed the connection]
danshultz has quit [Remote host closed the connection]
freerobby1 has quit [Ping timeout: 260 seconds]
dfcnvt has joined #ruby
Lewix has joined #ruby
danshultz has joined #ruby
centipedefarmer has joined #ruby
braincrash has quit [Quit: bye bye]
chipotle has quit [Quit: cya]
TigerWolf has joined #ruby
kizzx2 has joined #ruby
dcollazo has joined #ruby
kizzx2 has quit [Max SendQ exceeded]
kizzx2 has joined #ruby
braincrash has joined #ruby
chomskiii has quit [Read error: Connection reset by peer]
nateberkopec has quit [Ping timeout: 252 seconds]
chomskiii has joined #ruby
yasushi has joined #ruby
danshultz has quit [Ping timeout: 264 seconds]
lukec has joined #ruby
dukz has joined #ruby
Kricir has joined #ruby
graspee has quit [Quit: Leaving]
Xeago has joined #ruby
<dcollazo> I'm currently writing a very simple API wrapper to serve as an example for creating a gem. How should I store and access the credentials? e.g. API key and Client ID. I'm currently considering storing in/reading from a haml file. I'd prefer to not use an external gem for this
tylersmith has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
yasushi has quit [Ping timeout: 272 seconds]
<jfine> We use dot-env for everything.
krigerv has quit [Remote host closed the connection]
tyl has joined #ruby
siwica has quit [Ping timeout: 272 seconds]
Opettaja has joined #ruby
<godd2> Anyone know who I'd contact to notify that curses is no longer part of the Ruby Standard Library: http://ruby-doc.org/stdlib-2.1.0/libdoc/curses/rdoc/Curses.html
starter2 has quit [Remote host closed the connection]
mansi has quit [Remote host closed the connection]
lukec has quit [Quit: lukec]
<centrx> godd2, Why?
monkegjinni has quit [Remote host closed the connection]
monkegjinni has joined #ruby
freerobby has joined #ruby
gja has joined #ruby
Xeago has quit [Ping timeout: 272 seconds]
<centrx> godd2, curses was moved to a gem in 2.1.0
sassamo has quit [Remote host closed the connection]
freerobby has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
sassamo has joined #ruby
Kricir has quit [Remote host closed the connection]
godd2 has quit [Ping timeout: 260 seconds]
godd2 has joined #ruby
phipes has quit [Remote host closed the connection]
monkegjinni has quit [Ping timeout: 272 seconds]
<godd2> centrx sorry my internet bugged out for a bit. The link I pasted is as if curses is still part of the std-lib
chipotle has joined #ruby
freerobby has quit [Ping timeout: 272 seconds]
<dcollazo> Thanks jfine
<centrx> godd2, I wonder where that is generated from
<jfine> dcollazo: no prob. It might not be ideal for a demo example but that's also the way rails is going with config stuff and dotenv can import / export to heroku vars nice and easy peasy.
iliketurtles has joined #ruby
iliketurtles has quit [Excess Flood]
aantix has joined #ruby
vongrippen has quit [Read error: Operation timed out]
<dseitz> godd2: Probably #ruby-lang, or put an issue up
iliketurtles has joined #ruby
<godd2> "Generated with Ruby-doc Rdoc Generator 0.24.7"
iliketurtles has quit [Max SendQ exceeded]
iliketurtles has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
iliketurtles has quit [Excess Flood]
<centrx> I can't seem to find it in the repository
<godd2> Yea I think I'll file an issue through their bug reporting system
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vongrippen has joined #ruby
phipes has joined #ruby
jonathanwallace has quit [Quit: ZNC - http://znc.in]
<reactormonk> where do I add lib/ to LOAD_PATH?
<reactormonk> for fast debugging etc.
girija has joined #ruby
<dseitz> It may have something to do with the date they generated the docs...
jfine has quit [Ping timeout: 272 seconds]
<godd2> Looks like someone beat me to the punch: https://bugs.ruby-lang.org/issues/9364
styped has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sergicles has quit [Quit: sergicles]
fijimunkii has quit [Ping timeout: 252 seconds]
justsee has quit [Quit: leaving]
krz has quit [Ping timeout: 260 seconds]
Cephalostrum has quit [Quit: Aim higher. Try this: why am I here? Why do I exist, and what is my purpose in this universe? (Answers: 'Cause you are. 'Cause you do. 'Cause I got a shotgun, and you ain't got one.)]
<sickweezle> spiked punch? <.<
iamjarvo has quit [Ping timeout: 272 seconds]
tyl has joined #ruby
Es0teric has joined #ruby
jonathanwallace has joined #ruby
Cephalostrum has joined #ruby
Cephalostrum has quit [Max SendQ exceeded]
mpweb has joined #ruby
Cephalostrum has joined #ruby
joshu has quit [Quit: Bye.]
fijimunkii has joined #ruby
vlad_starkov has joined #ruby
iamjarvo has joined #ruby
mpweb has quit [Quit: Leaving]
robbyoconnor has joined #ruby
echevemaster has quit [Quit: Leaving]
bradhe has joined #ruby
Soda has joined #ruby
timonv has joined #ruby
troyready has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
deens has joined #ruby
krz has joined #ruby
prc has quit [Read error: Connection reset by peer]
sethen has joined #ruby
deens_ has joined #ruby
Deele has joined #ruby
deens has quit [Read error: Connection reset by peer]
joshu has joined #ruby
timonv has quit [Ping timeout: 272 seconds]
joshu has quit [Remote host closed the connection]
joshu has joined #ruby
Cephalostrum has quit [Read error: Connection reset by peer]
iliketurtles has joined #ruby
iliketurtles has quit [Excess Flood]
Cephalostrum has joined #ruby
Soda has quit [Remote host closed the connection]
iamjarvo has quit [Ping timeout: 252 seconds]
deens_ has quit [Ping timeout: 260 seconds]
centipedefarmer has quit [Remote host closed the connection]
JasmeetQA has joined #ruby
IceDragon has quit [Quit: Space~~~]
baroquebobcat has joined #ruby
nateberkopec has joined #ruby
lukec has joined #ruby
godd2 has quit []
Cephalostrum has quit [Quit: Aim higher. Try this: why am I here? Why do I exist, and what is my purpose in this universe? (Answers: 'Cause you are. 'Cause you do. 'Cause I got a shotgun, and you ain't got one.)]
baroquebobcat has quit [Client Quit]
sassamo_ has joined #ruby
Cephalostrum has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
nateberkopec has quit [Ping timeout: 252 seconds]
Cephalostrum has quit [Read error: Connection reset by peer]
Cephalostrum has joined #ruby
Cephalostrum has quit [Max SendQ exceeded]
ahmedelgabri has joined #ruby
sassamo has quit [Ping timeout: 272 seconds]
Cephalostrum has joined #ruby
browndawg has joined #ruby
Cephalostrum has quit [Client Quit]
vlad_starkov has joined #ruby
CaptainJet has quit []
vlad_starkov has quit [Remote host closed the connection]
beardedninja has quit [Ping timeout: 252 seconds]
Cephalostrum has joined #ruby
vikhyat_ has joined #ruby
vlad_starkov has joined #ruby
vikhyat has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Remote host closed the connection]
jailbot has quit [Remote host closed the connection]
vikhyat has joined #ruby
jailbot has joined #ruby
vlad_starkov has joined #ruby
vikhyat_ has quit [Ping timeout: 260 seconds]
kbouwser has joined #ruby
mansi has joined #ruby
vikhyat has quit [Read error: Connection reset by peer]
browndawg has quit [Ping timeout: 248 seconds]
vikhyat has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
jailbot has quit [Ping timeout: 272 seconds]
freerobby has joined #ruby
lukec has quit [Quit: lukec]
mansi has quit [Ping timeout: 246 seconds]
lukec has joined #ruby
Cephalostrum has quit [Quit: Aim higher. Try this: why am I here? Why do I exist, and what is my purpose in this universe? (Answers: 'Cause you are. 'Cause you do. 'Cause I got a shotgun, and you ain't got one.)]
diegoviola has joined #ruby
iamjarvo has joined #ruby
freerobby has quit [Ping timeout: 264 seconds]
lukec has quit [Quit: lukec]
w4pm has joined #ruby
mary5030 has quit [Remote host closed the connection]
ziam has joined #ruby
diegovio1 has joined #ruby
diegovio1 has quit [Changing host]
diegovio1 has joined #ruby
diegoviola is now known as Guest10369
diegovio1 is now known as diegoviola
Guest10369 has quit [Ping timeout: 260 seconds]
gja has joined #ruby
w4pm has quit [Ping timeout: 264 seconds]
larissa has quit [Quit: Leaving]
kbouwser has quit [Quit: Computer has gone to sleep.]
coderhs has joined #ruby
nitish has joined #ruby
nitish has quit [Client Quit]
dodosan has quit [Remote host closed the connection]
bradhe has joined #ruby
OdNairy has joined #ruby
baroquebobcat has joined #ruby
tonni has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 272 seconds]
Cephalostrum has joined #ruby
Cephalostrum has quit [Max SendQ exceeded]
phipes has quit [Remote host closed the connection]
Cephalostrum has joined #ruby
baroquebobcat has quit [Client Quit]
sparrovv has joined #ruby
phipes has joined #ruby
blandflakes has quit [Quit: leaving]
tonni has joined #ruby
sparrovv has quit [Ping timeout: 260 seconds]
nateberkopec has joined #ruby
kirun has quit [Quit: Client exiting]
Hobogrammer_ has quit [Read error: Connection reset by peer]
baroquebobcat has joined #ruby
Hobogrammer_ has joined #ruby
lioninawhat has quit [Remote host closed the connection]
bjhaid has joined #ruby
iamjarvo has quit [Ping timeout: 272 seconds]
girija has quit [Ping timeout: 252 seconds]
tonni has quit [Remote host closed the connection]
Opettaja has quit [Read error: Connection reset by peer]
beardedninja has joined #ruby
nateberkopec has quit [Ping timeout: 260 seconds]
sethen has quit [Ping timeout: 272 seconds]
<chipotle> hello all
sethen has joined #ruby
<chipotle> anyone around to talk ruby with a newbie?
<BraddPitt> what do you need help with chipotle ?
gja has quit [Quit: This computer has gone to sleep]
<chipotle> just wanted to understand what it means that ruby is a high level programming language
<chipotle> compared to , say, C
Xeago has joined #ruby
ahmedelgabri has quit [Ping timeout: 260 seconds]
BrixSat_ has quit [Remote host closed the connection]
jonahR has joined #ruby
BrixSat has joined #ruby
v10energy has quit [Read error: Operation timed out]
iamjarvo has joined #ruby
ahmedelgabri has joined #ruby
Xeago has quit [Ping timeout: 253 seconds]
gja has joined #ruby
bradhe has joined #ruby
phipes has quit [Remote host closed the connection]
Vivekananda has quit [Quit: Ex-Chat]
<TigerWolf> I didnt think we needed dependency injection and IOC container for ruby...
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
girija has joined #ruby
mocfive has quit [Remote host closed the connection]
bradhe has quit [Read error: Connection reset by peer]
bradhe has joined #ruby
robbyoconnor has quit [Ping timeout: 252 seconds]
kate_r has joined #ruby
ahmedelgabri has quit [Ping timeout: 260 seconds]
sassamo_ has quit [Read error: Connection reset by peer]
sassamo has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
baroquebobcat has joined #ruby
robbyoconnor has joined #ruby
ahmedelgabri has joined #ruby
bradhe has quit [Ping timeout: 272 seconds]
iamjarvo has quit [Ping timeout: 248 seconds]
yaymukund has quit [Ping timeout: 272 seconds]
kobain has quit []
agent_white has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 252 seconds]
dcollazo has left #ruby [#ruby]
dodosan has joined #ruby
mansi has joined #ruby
robbyoconnor has quit [Remote host closed the connection]
darthdeus has quit [Quit: Leaving...]
freerobby has joined #ruby
robbyoconnor has joined #ruby
agent_white has joined #ruby
yfeldblum has joined #ruby
mansi has quit [Ping timeout: 272 seconds]
<bnagy> chipotle: did you read http://en.wikipedia.org/wiki/High-level_programming_language for example?
<chipotle> let me take a look now, thanks
<chipotle> do you think ruby is a good first language?
freerobby has quit [Ping timeout: 246 seconds]
<bnagy> better than many
robbyoconnor has quit [Read error: Connection reset by peer]
gja has quit [Quit: This computer has gone to sleep]
<bnagy> fairly well abstracted, OO, limited footguns
micahf has joined #ruby
sethen has quit [Quit: Leaving...]
<bnagy> not squirrely are weird like the lisps
<bnagy> *and
abstractj has quit [Read error: Operation timed out]
error404_ has quit [Read error: Operation timed out]
RTG` has quit [Read error: Connection reset by peer]
KevinSjoberg has quit [Ping timeout: 260 seconds]
timmow has quit [Ping timeout: 260 seconds]
robbyoconnor has joined #ruby
RTG` has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
Guest22852 has quit [Ping timeout: 245 seconds]
kevinfagan has quit [Ping timeout: 272 seconds]
tagrudev has joined #ruby
sassamo has quit [Remote host closed the connection]
sassamo has joined #ruby
error404 has joined #ruby
zxd has joined #ruby
timmow has joined #ruby
kevinfagan has joined #ruby
tonini has quit [Remote host closed the connection]
tonini has joined #ruby
Guest22852 has joined #ruby
abstractj has joined #ruby
amclain has quit [Quit: Leaving]
KevinSjoberg has joined #ruby
sassamo has quit [Ping timeout: 265 seconds]
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
<RubyPanther> C is a high level language, too
gja has quit [Client Quit]
<bnagy> no
<bnagy> it's highER than assembly
phipes has joined #ruby
Cephalostrum has quit []
<BraddPitt> in most conversation, many people will refer to C as "low-level"
robbyoconnor has quit [Read error: Connection reset by peer]
phipes has quit [Read error: Connection reset by peer]
phipes has joined #ruby
musty has joined #ruby
robbyoconnor has joined #ruby
ahmedelgabri has quit [Remote host closed the connection]
girija has quit [Quit: Ex-Chat]
girija_ has joined #ruby
ryantm has quit [Ping timeout: 272 seconds]
Shellcat has joined #ruby
<centrx> or medium-level
bradhe has joined #ruby
phipes has quit [Ping timeout: 252 seconds]
chipotle has quit [Quit: cya]
beneggett has joined #ruby
nateberkopec has joined #ruby
agent_white has quit [Quit: eehhh]
r0bby_ has joined #ruby
agent_white has joined #ruby
gja has joined #ruby
iliketurtles has joined #ruby
vikhyat_ has joined #ruby
iliketurtles has quit [Excess Flood]
r0bby_ has quit [Client Quit]
iliketurtles has joined #ruby
venkat has joined #ruby
vikhyat has quit [Ping timeout: 272 seconds]
<pontiki> or as the language they never understood because of pointers everywhere
<pipecloud> Anything short of butterflies is high level.
banjara has joined #ruby
r0bby_ has joined #ruby
nateberkopec has quit [Ping timeout: 264 seconds]
maroloccio has quit [Ping timeout: 272 seconds]
<pontiki> C-M-x butterflies, man
noop has joined #ruby
ahmedelgabri has joined #ruby
<pontiki> DAMMIT EMACS
fijimunkii has quit [Ping timeout: 246 seconds]
jgrevich has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
apeiros has quit [Remote host closed the connection]
robbyoconnor has quit [Remote host closed the connection]
<agent_white> RubyPanther: I've only broken three of those
<agent_white> woops
apeiros has joined #ruby
<lethjakman> hey, I'm trying to use keyword args like this: https://gist.github.com/lethjakman/8516109 but it seems to be telling me I'm using the wrong number of arguments. any clue why?
apeiros has quit [Ping timeout: 246 seconds]
krz has quit [Ping timeout: 272 seconds]
bradhe has quit [Ping timeout: 272 seconds]
jbomo has quit []
nathancahill has quit [Quit: nathancahill]
krz has joined #ruby
<pontiki> is that the way you do it in 2.1?
Barrin6 has quit [Quit: Leaving]
JasmeetQA1 has joined #ruby
zxd has quit [Ping timeout: 252 seconds]
<lethjakman> pontiki: that's how I read it.
dukz has quit [Remote host closed the connection]
marcgg_ has joined #ruby
<lethjakman> it looks like 2.0 as well
JasmeetQA has quit [Ping timeout: 260 seconds]
<pontiki> oops
<pontiki> "initializer"
<pontiki> there's no initialize method for new
<lethjakman> oh
<lethjakman> gah
<lethjakman> thank you :)
<pontiki> nw
chipotle has joined #ruby
marcgg has quit [Ping timeout: 246 seconds]
dukz has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
iaj has quit [Ping timeout: 248 seconds]
cj3kim has joined #ruby
nfk has quit [Quit: yawn]
zipper has joined #ruby
iaj has joined #ruby
bjhaid has quit [Ping timeout: 246 seconds]
mansi has joined #ruby
freerobby has joined #ruby
dukz_ has joined #ruby
troyready has quit [Ping timeout: 264 seconds]
Spami has quit [Quit: This computer has gone to sleep]
nathancahill has joined #ruby
mansi has quit [Ping timeout: 248 seconds]
dukz has quit [Ping timeout: 260 seconds]
freerobby has quit [Ping timeout: 265 seconds]
dukz_ has quit [Remote host closed the connection]
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby
jhaals has joined #ruby
coder_neo has joined #ruby
camilasan has joined #ruby
skaflem has joined #ruby
bricker`LA has quit [Ping timeout: 252 seconds]
sassamo has joined #ruby
Kneferilis has joined #ruby
ahmedelgabri has quit [Remote host closed the connection]
tylersmith has quit [Ping timeout: 272 seconds]
apeiros has joined #ruby
Shellcat has quit [Quit: Later peeps]
ndrei has quit [Read error: No route to host]
ahmedelgabri has joined #ruby
ndrei has joined #ruby
jgrevich has quit [Quit: jgrevich]
olivier_bK has joined #ruby
kevinykchan has joined #ruby
dagobah has joined #ruby
sassamo has quit [Ping timeout: 248 seconds]
beneggett has quit [Quit: Textual IRC Client: www.textualapp.com]
fire has quit [Quit: WeeChat 0.4.1]
bradhe has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
phipes has joined #ruby
nateberkopec has joined #ruby
olivier_bK has quit [Ping timeout: 252 seconds]
jonahR has quit [Quit: jonahR]
bradhe has quit [Ping timeout: 246 seconds]
cbetta_afk is now known as cbetta
mengu has quit [Remote host closed the connection]
phansch has joined #ruby
phipes has quit [Ping timeout: 272 seconds]
nateberkopec has quit [Ping timeout: 272 seconds]
ndrei has quit [Ping timeout: 252 seconds]
jprovazn has joined #ruby
phipes has joined #ruby
ziam has quit [Remote host closed the connection]
ndrei has joined #ruby
camilasan has quit [Read error: Operation timed out]
agent_white has quit [Quit: goodnight]
coder_neo has quit [Quit: This computer has gone to sleep]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ktosiek has joined #ruby
ktosiek has quit [Remote host closed the connection]
phipes has quit [Ping timeout: 252 seconds]
DouweM has quit [Ping timeout: 272 seconds]
ahmedelgabri has quit [Remote host closed the connection]
browndawg has joined #ruby
h_kon has joined #ruby
funburn has quit [Quit: funburn]
aganov has joined #ruby
lyanchih has quit [Quit: lyanchih]
ndrei has quit [Ping timeout: 246 seconds]
tyl has quit [Ping timeout: 252 seconds]
ndrei has joined #ruby
tyl has joined #ruby
lyanchih has joined #ruby
zigomir has joined #ruby
zipper is now known as urbanslug
cj3kim has quit [Remote host closed the connection]
Xeago has joined #ruby
atraylen has quit [Quit: Nettalk6 - www.ntalk.de]
andikr has joined #ruby
cbetta is now known as cbetta_afk
LekeFly has joined #ruby
aantix has quit [Quit: aantix]
ziam has joined #ruby
wildharvest__ has joined #ruby
musty has quit [Quit: uqit]
DouweM has joined #ruby
ahawkins has joined #ruby
yarou_ has quit [Quit: This computer has gone to sleep]
dukz has joined #ruby
crocket has joined #ruby
<crocket> Is buildr fast on jruby?
freerobby has joined #ruby
Namer has joined #ruby
Namer has left #ruby [#ruby]
dukz_ has joined #ruby
<DouweM> Goodmorning #ruby
diegovio1 has joined #ruby
diegoviola has quit [Ping timeout: 265 seconds]
freerobby has quit [Ping timeout: 252 seconds]
dukz has quit [Ping timeout: 272 seconds]
nism has joined #ruby
diegovio1 has quit [Changing host]
diegovio1 has joined #ruby
diegovio1 is now known as diegoviola
dukz has joined #ruby
einarj has joined #ruby
Red_Onyx has quit [Quit: Leaving]
dodosan has quit [Remote host closed the connection]
pdtpatrick has joined #ruby
eka has joined #ruby
dukz has quit [Remote host closed the connection]
dodosan has joined #ruby
Matriks has joined #ruby
dukz has joined #ruby
blaxter has joined #ruby
dukz_ has quit [Ping timeout: 260 seconds]
diegovio1 has joined #ruby
diegovio1 has quit [Changing host]
diegovio1 has joined #ruby
lethjakman has quit [Ping timeout: 248 seconds]
dukz_ has joined #ruby
dukz has quit [Read error: Connection reset by peer]
diegoviola is now known as Guest60214
diegovio1 is now known as diegoviola
Guest60214 has quit [Ping timeout: 248 seconds]
dodosan has quit [Ping timeout: 260 seconds]
bradhe has joined #ruby
sassamo has joined #ruby
maroloccio has joined #ruby
nateberkopec has joined #ruby
phansch has quit [Quit: Leaving]
fixl has joined #ruby
dukz_ has quit [Remote host closed the connection]
noname001__ has joined #ruby
dukz has joined #ruby
sski has quit [Remote host closed the connection]
timonv has joined #ruby
camilasan has joined #ruby
bradhe has quit [Ping timeout: 246 seconds]
cba has joined #ruby
sassamo has quit [Ping timeout: 272 seconds]
sski has joined #ruby
jhaals has joined #ruby
nateberkopec has quit [Ping timeout: 272 seconds]
dukz has quit [Ping timeout: 246 seconds]
xpirator has joined #ruby
guardianxxx has joined #ruby
sparrovv has joined #ruby
m00nlight has quit [Quit: Konversation terminated!]
phipes has joined #ruby
drumusician has joined #ruby
DrOwl has quit [Ping timeout: 248 seconds]
venkat has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
venkat has joined #ruby
platzhirsch has joined #ruby
nfk has joined #ruby
platzhirsch has left #ruby [#ruby]
coder_neo has joined #ruby
dfranciosi has joined #ruby
whowantstolivefo has joined #ruby
olivier_bK has joined #ruby
Parker0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Es0teric has quit [Quit: Computer has gone to sleep.]
tesuji has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.2]
iamjarvo has joined #ruby
claymore has joined #ruby
diegoviola has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
jhaals has quit [Quit: Textual IRC Client: www.textualapp.com]
jhaals has joined #ruby
hiall has quit [Quit: hiall]
roolo has joined #ruby
hiall has joined #ruby
nhhagen has joined #ruby
dodosan has joined #ruby
dukz has joined #ruby
dodosan has quit [Read error: Connection reset by peer]
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dodosan has joined #ruby
iamjarvo has quit [Ping timeout: 272 seconds]
sergicles has joined #ruby
timonv has quit [Read error: Connection reset by peer]
einarj has quit []
timonv has joined #ruby
dodosan has quit [Ping timeout: 264 seconds]
einarj has joined #ruby
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
francisfish has quit [Remote host closed the connection]
dukz has quit [Remote host closed the connection]
ahmedelgabri has joined #ruby
Riking has quit [Ping timeout: 245 seconds]
zxd has joined #ruby
nomenkun has joined #ruby
phipes has quit [Remote host closed the connection]
SHyx0rmZ has joined #ruby
nhhagen has quit [Remote host closed the connection]
nhhagen has joined #ruby
bradhe has joined #ruby
xpirator has quit [Quit: Linkinus - http://linkinus.com]
dayepa1 has joined #ruby
hiall has quit [Quit: hiall]
vlad_starkov has quit [Remote host closed the connection]
wdiechmann has joined #ruby
troessner has joined #ruby
dukz has joined #ruby
dayepa has quit [Ping timeout: 264 seconds]
Riking has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.2]
Macaveli has joined #ruby
dayepa has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
diegoviola has joined #ruby
vlad_starkov has joined #ruby
diegoviola has quit [Client Quit]
proxie has quit []
dayepa1 has quit [Ping timeout: 264 seconds]
diegoviola has joined #ruby
sparrovv has quit [Remote host closed the connection]
dayepa1 has joined #ruby
relix has joined #ruby
freerobby has joined #ruby
dayepa has quit [Ping timeout: 264 seconds]
centrx has quit [Quit: Leaving]
OdNairy has joined #ruby
tonni has joined #ruby
jonahR has joined #ruby
timonv has quit [Remote host closed the connection]
dayepa has joined #ruby
lyanchih has quit [Quit: lyanchih]
r0bby_ is now known as robbyoconnor
banjara has quit [Quit: Leaving.]
freerobby has quit [Ping timeout: 264 seconds]
micahf has quit [Ping timeout: 272 seconds]
dayepa2 has joined #ruby
dayepa has quit [Read error: Connection reset by peer]
dayepa1 has quit [Ping timeout: 264 seconds]
TMM has joined #ruby
camilasan has quit [Remote host closed the connection]
dayepa has joined #ruby
claymore has quit [Ping timeout: 260 seconds]
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dayepa2 has quit [Remote host closed the connection]
claymore has joined #ruby
nateberkopec has joined #ruby
dayepa1 has joined #ruby
chipotle has quit [Ping timeout: 245 seconds]
w4pm has joined #ruby
Xeago_ has joined #ruby
Jimboluu has joined #ruby
lukec has joined #ruby
<Jimboluu> Hi guys, can I put an '&&' operator in a while loop?
<Jimboluu> until x != line_1[0] && line_1[1] do end
<Jimboluu> * I mean until loop
<hoelzro> Jimboluu: sure, why couldn't you?
Es0teric has joined #ruby
<Jimboluu> It's weird, it just hangs there for me
Es0teric has quit [Client Quit]
<Jimboluu> not syntax errors nothing, like an infinite loop. But it isn't because it's not looping (if I put a variable inside to have a look)
Plummer has joined #ruby
Plummer has quit [Client Quit]
dayepa has quit [Remote host closed the connection]
ephemerian has joined #ruby
karupanerura is now known as zz_karupanerura
dayepa has joined #ruby
himsin has joined #ruby
w4pm has quit [Read error: Operation timed out]
nateberkopec has quit [Ping timeout: 265 seconds]
<Jimboluu> until x != line_1[0] || line_1[1] end
<Jimboluu> an 'OR' works fine
sassamo has joined #ruby
<tobiasvl> "or" and "||" have different precedence
<Jimboluu> oh really?
<tobiasvl> yes
soulcake has quit [Read error: Connection reset by peer]
dayepa2 has joined #ruby
lukec has quit [Ping timeout: 272 seconds]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
<Jimboluu> in what way?
soulcake has joined #ruby
<Jimboluu> Why would ' until x != line_1[0] || line_1[1] end ' work perfectly and ' until x != line_1[0] && line_1[1] end ' not work at all?
<apeiros> Jimboluu: you're aware that `x != line_1[0] || line_1[1]` does NOT check whether x is unequal to either line_1[0] or line_1[1], right?
<apeiros> it's (x != line_1[0]) OR (line_1[1])
<apeiros> I somewhat assume you want `x != line_1[0] || x != x != line_1[1]`
<apeiros> whoops
<apeiros> I somewhat assume you want `x != line_1[0] || x != line_1[1]`
<apeiros> accidental duplication before
<Jimboluu> ah okay
<tobiasvl> good catch apeiros, i need more coffee. thought he was asking just about || and or
dayepa2 has quit [Remote host closed the connection]
lsmola_ has joined #ruby
<Jimboluu> thanks both.. I just thought Ruby was going to help me out there and I wouldn't have to repeat the x
sassamo has quit [Ping timeout: 260 seconds]
dayepa has quit [Ping timeout: 264 seconds]
coderhs has quit [Ping timeout: 246 seconds]
dayepa1 has quit [Ping timeout: 264 seconds]
<tobiasvl> nope, sorry (don't think any languages do that), but on the other hand you'll often feel that it comes in handy that stuff is truthy and falsey in ruby
<apeiros> Jimboluu: ruby isn't a magical pixie, sorry.
<apeiros> it doesn't just randomly assume what you could maybe have meant. it does strictly what you tell it to.
<Jimboluu> no need to be a dick
<apeiros> Jimboluu: no need to be insulting
<apeiros> `x != line_1[0] || line_1[1]` can be interpreted in one of two ways:
<apeiros> a) `(x != line_1[0]) || (line_1[1])`
camilasan has joined #ruby
<apeiros> b) `x != (line_1[0] || line_1[1])`
arturaz has joined #ruby
* Hanmac1 knows not any language where "until x != line_1[0] || line_1[1] end" works as you guess
Hanmac1 is now known as Hanmac
dayepa has joined #ruby
<apeiros> rubys precedence is set to interpret the expression as b)
iamjarvo has joined #ruby
<Hanmac> i think the best way would be like that !line_1[0..1].include?(x)
rootshift has joined #ruby
arturaz has quit [Remote host closed the connection]
top4o has joined #ruby
<apeiros> errr, wrong. it's a). maybe I need more coffee too.
dayepa1 has joined #ruby
<tobiasvl> more coffee is always a good idea
dayepa has quit [Read error: Connection reset by peer]
iamjarvo has quit [Ping timeout: 265 seconds]
<apeiros> Hanmac: that's actually not equivalent
zegerjan has joined #ruby
dayepa has joined #ruby
leonidlm has joined #ruby
achru has joined #ruby
user258467 has joined #ruby
dayepa2 has joined #ruby
phansch has joined #ruby
dayepa has quit [Read error: Connection reset by peer]
hiall_ has joined #ruby
dayepa1 has quit [Ping timeout: 264 seconds]
timonv has joined #ruby
wildroman2 has joined #ruby
klaut has joined #ruby
dodosan has joined #ruby
francisfish has joined #ruby
justsee has joined #ruby
justsee has joined #ruby
_Andres has joined #ruby
nvrch has joined #ruby
DaZ has quit [Read error: Operation timed out]
marr has joined #ruby
Xzanron has joined #ruby
coderhs has joined #ruby
<Hanmac> apeiros: hm maybe not but it should do what he wants
dayepa2 has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Remote host closed the connection]
LekeFly has joined #ruby
jonahR has quit [Quit: jonahR]
jbueza has quit [Quit: Textual IRC Client: www.textualapp.com]
dayepa has joined #ruby
rdark has joined #ruby
phansch has quit [Ping timeout: 246 seconds]
DaZ has joined #ruby
dodosan has quit [Ping timeout: 272 seconds]
St_Marx has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 264 seconds]
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jhaals has joined #ruby
dayepa1 has joined #ruby
bradhe has joined #ruby
vlad_starkov has joined #ruby
bigkevmcd has quit [Quit: Ex-Chat]
urbanslug has quit [Ping timeout: 260 seconds]
ndrei has joined #ruby
urbanslug has joined #ruby
dayepa has quit [Ping timeout: 264 seconds]
bradhe has quit [Ping timeout: 260 seconds]
dayepa has joined #ruby
vlad_starkov has quit [Ping timeout: 248 seconds]
zeeraw has joined #ruby
dayepa1 has quit [Ping timeout: 264 seconds]
<shevy> Xuisce hi
dayepa has quit [Ping timeout: 264 seconds]
shime has joined #ruby
dayepa has joined #ruby
shaunbaker has joined #ruby
nari has quit [Ping timeout: 264 seconds]
pskosinski has joined #ruby
dayepa1 has joined #ruby
freerobby has joined #ruby
mansi has joined #ruby
dayepa has quit [Ping timeout: 264 seconds]
pdtpatrick has quit [Quit: pdtpatrick]
nhhagen has quit [Remote host closed the connection]
venkat has quit [Remote host closed the connection]
venkat has joined #ruby
vikhyat_ has left #ruby [#ruby]
m00nlight has joined #ruby
mengu has quit [Remote host closed the connection]
nateberkopec has joined #ruby
guardianxxx has quit [Remote host closed the connection]
freerobby has quit [Ping timeout: 260 seconds]
mansi has quit [Ping timeout: 272 seconds]
darthdeus has joined #ruby
dayepa1 has quit [Ping timeout: 264 seconds]
zero7_ has joined #ruby
fella5s has joined #ruby
dayepa has joined #ruby
krz has quit [Ping timeout: 248 seconds]
zegerjan has quit [Ping timeout: 260 seconds]
wildroman2 has quit [Remote host closed the connection]
venkat has quit [Ping timeout: 252 seconds]
hardkill has joined #ruby
bsdbandit has quit [Ping timeout: 246 seconds]
ewnd9 has joined #ruby
nateberkopec has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby
bsdbandit has joined #ruby
zegerjan has joined #ruby
dayepa has quit [Read error: Connection reset by peer]
Xeago_ has quit [Remote host closed the connection]
urbanslug has quit [Ping timeout: 264 seconds]
dayepa has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
monkegjinni has joined #ruby
urbanslug has joined #ruby
mojjojo has joined #ruby
hardkill is now known as ajaygupta
atmosx has joined #ruby
<atmosx> How can I calculate 03/02 + 24 weeks ? (of internship) ?
<atmosx> the exact date?
<atmosx> Date.parse(s) + 28.week won't work unfortunately
<atmosx> and I'm too broed to write a method just to do all that..
<atmosx> by myself
zero7_ is now known as mtlatif
vlad_starkov has joined #ruby
<Hanmac> is it me or does it smell like a rails problem?
pallavi_ has joined #ruby
<shevy> hehe
sassamo has joined #ruby
<shevy> atmosx can't you convert into days?
<atmosx> Hanmac: I'm not doing rails, I just need to calculate exactly my intersnhip
JasmeetQA1 has quit [Read error: Connection reset by peer]
mklappstuhl has joined #ruby
<shevy> 24 weeks ... 7 days
<DouweM> Date.parse(s) + 28.weeks should work if s is correctly formatted
<atmosx> I know
<atmosx> but there's a faster way
<atmosx> DouweM: doesn't here
<atmosx> in irb
dayepa has quit [Ping timeout: 264 seconds]
<atmosx> undefined method `weeks' for 28:Fixnum
<DouweM> Date.parse("2014-01-20") + 24.weeks #=> Mon, 07 Jul 2014
<DouweM> then you're not using ActiveSupport
<shevy> I dont have .weeks
<Hanmac> atmosx: thats why i ask weeks is a ActiveShit method
<atmosx> DouweM: can you do 2014-02-03 + 24 weeks instead?
<atmosx> Hanmac: aaaah it's an activerecord method?
<Hanmac> atmosx: there is a gem for that ... chronical or chronic or similar named
<atmosx> that's why google sucked so much
shime has quit [Ping timeout: 272 seconds]
<atmosx> I see
<Anarch> atmosx: puts `date -d'03/02 + 24 weeks'`
<DouweM> Yeah #weeks is ActiveSupport
<DouweM> You don't really need that, but I assumed you had it because you mentioned the method
<atmosx> the fact that everynoe takes for granted that if you do ruby you're doing rails, starts to annoy me immensely
soba has quit [Ping timeout: 252 seconds]
kitak has quit [Remote host closed the connection]
arturaz has joined #ruby
<DouweM> atmosx: people do assume that when you mention AS methods ;)
<atmosx> Anarch: doesn't work either
mojjojo has quit [Quit: mojjojo]
<Hanmac> atmosx: you are looking for http://rubygems.org/gems/chronic
dayepa has joined #ruby
<shevy> Date.parse("2014-01-20") + (28 * 7) # => #<Date: 2014-08-04 ((2456874j,0s,0n),+0s,2299161j)>
<Anarch> atmosx: Huh? Works for me.
<atmosx> DouweM: heh true
mojjojo has joined #ruby
<Hanmac> ok chronic does use activesupport too but it looks better
<shevy> haha :D
<Anarch> atmosx: I'm using Ruby 1.9 ... but, oh, I'm running on GNU/Linux. If you're on Windows, sorry, nm.
<DouweM> chronic is great for natural language date processing
<shevy> Development Dependencies
<shevy> hmm not sure Hanmac
<shevy> it's listed as dev dep
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sassamo has quit [Ping timeout: 264 seconds]
<DouweM> yup, looks like it's not required
<Hanmac> hm ok yeah i am also not so much sure why AS is only dev hm
kizzx2 has quit [Quit: Leaving.]
<Hanmac> but with chronic you can do: Chronic.parse('tomorrow')
<shevy> #weeks should really be available in stdlib ruby
<shevy> I can do the same via Time.now + 1 or ?
<shevy> wait
<shevy> must convert
dayepa1 has joined #ruby
<shevy> Time.now + 60 * 60 * 24
<shevy> see atmosx!
lyanchih has joined #ruby
dayepa has quit [Remote host closed the connection]
Xeago_ has joined #ruby
<DouweM> chronic is great, but I'm not sure it's needed here
<atmosx> shevy: this doesn't count the days 28 feb etc.
<Hanmac> Cronic.parse("2014-01-20 + 24 weeks") that should be possible ... i am testing it
<Hanmac> i mean Chronic
drumusician has quit [Ping timeout: 246 seconds]
eka has joined #ruby
dayepa has joined #ruby
<shevy> Chronic.parse("2014-01-20 + 24 weeks") # => nil
<shevy> failic!
<Hanmac> HMMM "24 weeks from today" does work "24 weeks from 2014-01-20" does not ...
diegoviola has quit [Quit: WeeChat 0.4.2]
<Hanmac> shevy: thats why i said i am testing it (i didnt found the right string yet)
<jimeh> Date.parse("2014-01-20") + (24 * 7)
<jimeh> after first doing: require "date:
fella5s has quit [Remote host closed the connection]
<jimeh> * require "date"
<shevy> \o/
<jimeh> in pure IRB in Ruby 1.9.3
<shevy> Date > Chronic
<shevy> in your face!
<jimeh> [Date instance] + Integer == increases by Integer days
<jimeh> [Time instance] + Integer == increases by Integer seconds
dayepa1 has quit [Ping timeout: 264 seconds]
monkegjinni has quit [Remote host closed the connection]
RTG` has quit []
Al__ has joined #ruby
dayepa1 has joined #ruby
monkegjinni has joined #ruby
<shevy> jimeh is the docu man
<shevy> he is better than eval-in!
agjacome has joined #ruby
<shevy> actually come to think about it, eval-in should also provide in-channel docu
ndrei has quit [Ping timeout: 272 seconds]
<jimeh> lol... I actually just experimented in IRB for a few seconds first, didn't know Date + Integer worked like that :)
maroloccio has quit [Ping timeout: 272 seconds]
ephemerian has quit [Quit: Leaving.]
<jimeh> only reason `require "date"` is needed is for the Date#parse method which isn't loaded by default in vanilla Ruby...
dfranciosi has quit [Remote host closed the connection]
dayepa has quit [Remote host closed the connection]
dayepa has joined #ruby
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Hanmac> jimeh: the gag about that: Date exist also without require"date" but with nearly without methods ;P
monkegjinni has quit [Ping timeout: 252 seconds]
<jimeh> yeah, makes me think of the Wat presentation... he should have included it... lol
nhhagen has joined #ruby
ephemerian has joined #ruby
dayepa has quit [Read error: Connection reset by peer]
ahmedelg_ has joined #ruby
dayepa has joined #ruby
<jimeh> same with Time too, gotta `require "time"` if you wanna use Time.parse
ahmedelg_ has quit [Remote host closed the connection]
venkat has joined #ruby
ahmedelg_ has joined #ruby
dayepa1 has quit [Ping timeout: 264 seconds]
ahmedelgabri has quit [Read error: Connection reset by peer]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
allen_on_c has quit [Quit: Leaving]
polysics has joined #ruby
<polysics> wow, CodeAcademy's Ruby course starts right but veers off really bad around two thirds in
lkba has quit [Ping timeout: 265 seconds]
<polysics> had to get Chris Pine's book instead
diegoviola has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
dukz has quit [Remote host closed the connection]
fella5s has joined #ruby
tulak has quit [Quit: Leaving.]
venkat has joined #ruby
dodosan has joined #ruby
bradhe has joined #ruby
dayepa has quit [Ping timeout: 264 seconds]
maroloccio has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
sski has quit [Remote host closed the connection]
DaZ has quit [Read error: Operation timed out]
zeeraw has joined #ruby
<shevy> polysics I love Chris Pine's old book
sski has joined #ruby
<shevy> but there are parts in where it lacks, and of course some missing updates towards the 2.x era
dukz has joined #ruby
dayepa has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
Advocation has joined #ruby
ndrei has joined #ruby
dodosan has quit [Ping timeout: 265 seconds]
heftig has joined #ruby
SoWN has joined #ruby
bradhe has quit [Ping timeout: 272 seconds]
ajaygupta has quit [Quit: ChatZilla 0.9.90.1 [Firefox 24.0/20130911164256]]
venkat_ has quit [Read error: Connection reset by peer]
<polysics> shevy: it has been updated for Ruby 2
venkat has joined #ruby
<shevy> oh?
dayepa1 has joined #ruby
<polysics> my wife got lost on CodeAcademy when they started showgin refactoring techniques to people who learned the "if" construct three tutorials earlier :D
<shevy> "Change directory to the directory you just created (in this example, cd ruby-1.6.7). "
<shevy> hmmmm
<polysics> got the actual book :)
<shevy> aha
<polysics> I own enough PragProg books I am probably entitled to some stock options.
venkat_ has joined #ruby
<polysics> or at least a name plate in the office
<shevy> "
<shevy> This fourth printing of Learn to Program, 2nd edition has been updated for Ruby 2.0."
venkat has quit [Read error: Connection reset by peer]
<polysics> it's not 2.1 but it is close enoug hfor someone who thinks "unless" is high sorcery.
sski has quit [Ping timeout: 264 seconds]
<polysics> I need my wife up to speed fast and I do not have much time to teach her :D
<polysics> can you actually learn Ruby off the Pickaxe?
venkat has joined #ruby
cbetta_afk is now known as cbetta
<polysics> I do not even remember learning the language :P
venkat_ has quit [Read error: Connection reset by peer]
decoponio has joined #ruby
chrisseaton has joined #ruby
dukz has quit [Remote host closed the connection]
venkat has quit [Read error: Connection reset by peer]
dayepa has quit [Ping timeout: 264 seconds]
dukz has joined #ruby
maroloccio has quit [Ping timeout: 252 seconds]
venkat has joined #ruby
Trynemjoel has quit [Ping timeout: 245 seconds]
dayepa has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
dayepa1 has quit [Ping timeout: 264 seconds]
Speed has joined #ruby
chihhsin has quit [Quit: leaving]
DaZ has joined #ruby
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
mehlah has joined #ruby
chipotle has joined #ruby
dukz has quit [Ping timeout: 264 seconds]
atmosx has quit [Quit: Lost in trance]
venkat_ has joined #ruby
dayepa1 has joined #ruby
h_kon has quit [Remote host closed the connection]
funburn has joined #ruby
<shevy> polysics I think you can learn ruby only when you actively write ruby scripts that work
<shevy> the cycle of write-debug-run can not be learned just reading alone
<shevy> but theoretical knowledge can be read
<polysics> that's true in general, and that's the reason why I like Chris Pine's approach
<shevy> yeah but we need more like that!
<polysics> though I think I will either need to take time off to teach her
<polysics> or enroll her in an actual course
<shevy> teach small snippets
venkat_ has quit [Read error: Connection reset by peer]
venkat__ has joined #ruby
<Hanmac> polysics: i think i learned ruby with reading the scripts of RPGMakerXP , but yeah i dont remember how i learned ruby either ;P
<shevy> FileUtils is worth one snippet :P
<shevy> "how do you create a file in ruby. how do you put content in a file in ruby."
<polysics> Hanmac: I really do not even remember when I started, I have been programming for so long
Trynemjoel has joined #ruby
<polysics> and that is actually a problem when delaing with an absolute beginner
<polysics> I do not know what it means to not be able to program :D
Xeago has quit [Ping timeout: 248 seconds]
<polysics> I started out when I was 7 on my C64 :)
<polysics> (also, thanks Dad, for making sure I did not get a girlfriend ever.)
<Hanmac> "why is File.open().read bad, File.open() {|f|f.read} good and File.read the best"
chihhsin has joined #ruby
nateberkopec has joined #ruby
apeiros has quit [Remote host closed the connection]
venkat has quit [Ping timeout: 264 seconds]
dayepa has quit [Ping timeout: 264 seconds]
venkat has joined #ruby
venkat__ has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
funburn has left #ruby [#ruby]
St_Marx has joined #ruby
colonolGron has joined #ruby
closer has quit [Ping timeout: 252 seconds]
<juo> if you have a human number for the element in an array
<juo> i.e. human = 1 computer = 9
<juo> i.e. human = 1 computer = 0
dukz has joined #ruby
freerobby has joined #ruby
<juo> : i.e. human = 2 computer = 1
closer has joined #ruby
<juo> (the 9 was a typo)
venkat has quit [Read error: Connection reset by peer]
<polysics> I am not a number! I am a human being!
<juo> is there anything better than mha_array[int - 1]
venkat has joined #ruby
<juo> like.... mha_array.human_index(1) or something
mansi has joined #ruby
<juo> i couldn't see anything in the API
<Hanmac> ... i still dont get it what "human_index" should doo ...
<polysics> yup, missing some key part here
<polysics> is your array actually a hash?
<polysics> {1 => :human, 2 => :computer}
venkat has quit [Read error: Connection reset by peer]
dayepa1 has quit [Ping timeout: 264 seconds]
dayepa has joined #ruby
venkat has joined #ruby
<juo> no its an array like [1, 2, 3, 4]
<shevy> polysics well only have the actions that can be done automatically/programmatically translated into the language's specifics
<juo> and the human enters at the prompt which number they want
<juo> but they enter 1
<juo> for the first element
<juo> not 0
<shevy> polysics you can "think" in ruby even without really knowing how to program :D
wdiechmann has quit [Quit: wdiechmann]
<polysics> oh, I see
<polysics> no, there is nothing better than just going -1 :)
nateberkopec has quit [Ping timeout: 272 seconds]
<polysics> there would be no such need
<juo> ok :)
<polysics> you might want to go and implement a method, but I would not do it
<shevy> you can extend everything in ruby at any time
venkat has quit [Read error: Connection reset by peer]
<Hanmac> shevy: happens for me ... i was walking around in the city, and i saw a traffic light, i looked at it and i saw it in ruby Objects ;P
<shevy> but you'd always have to remember these changes
venkat has joined #ruby
shredding has joined #ruby
apeiros has quit [Ping timeout: 272 seconds]
<shevy> Hanmac you are so sick
freerobby has quit [Ping timeout: 265 seconds]
dukz has quit [Remote host closed the connection]
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
arturaz_ has joined #ruby
<shevy> Hanmac but when I see biological cells I have to think they are communicating in a ruby-like language with one another ;)
<Hanmac> shevy: thats not true! i have been tested ;P
wildroman2 has joined #ruby
venkat has quit [Read error: Connection reset by peer]
poulson has joined #ruby
mansi has quit [Ping timeout: 272 seconds]
alexherbo2 has joined #ruby
venkat has joined #ruby
lkba has joined #ruby
punkcat has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
<polysics> my wife is actually a nerd too, only not the right type here - she can fold proteins in her mind :)
<polysics> biology major
phinfonet has joined #ruby
<Hanmac> shevy: cancer cells reminds me of little teenagers ... "the body tells the cell, what the cell should do, but the cell says no ... and then the cell uses all its energy to do things what the cell should not do" ;P
<polysics> but it turns out web development pays better
<polysics> and it is a job you can do from home with the kids around
dukz has joined #ruby
coderhs has quit [Ping timeout: 272 seconds]
ndrei has joined #ruby
dukz has quit [Remote host closed the connection]
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
OdNairy has quit []
<Hanmac> its bad or good that i am not have a biological laboratory where i could do what i want to do ,,P
<polysics> oh, I have been having so much fun since I collaborate a few hours a week with this biomedical company :)
dayepa has quit [Ping timeout: 264 seconds]
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
OdNairy has joined #ruby
OdNairy has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
<Hanmac> polysics: i would try to make "antivirus" similar to the Creeper vs Reaper computer viruses ;P
dayepa has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
* Hanmac is currently holding a book about computer viruses from 1990
venkat has joined #ruby
girija__ has joined #ruby
mengu has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
girija_ has quit [Read error: Connection reset by peer]
lyanchih has quit [Quit: lyanchih]
<Hanmac> polysics: for sample something like a anti-flu that uses similar ways to "infect" others ;P
venkat has joined #ruby
_Andres has quit [Read error: Connection reset by peer]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
sassamo has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
<polysics> there are some interesting applications of that kind of programming
<polysics> ones that do not land you in jail :)
<polysics> take a look at genetic algorithms
<polysics> I have worked on GA applied to pattern matching, you can get interesting results
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
Trynemjoel has quit [Ping timeout: 245 seconds]
Jimboluu has quit [Read error: Operation timed out]
LekeFly has joined #ruby
dayepa has quit [Ping timeout: 264 seconds]
venkat_ has joined #ruby
sski has joined #ruby
dayepa has joined #ruby
sassamo has quit [Ping timeout: 248 seconds]
wdiechmann has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
<Hanmac> polysics: i read an article about that they work on plants/trees that have similar ability than fireflys ;P ... with that they thought about "natural street lights" ;P
venkat has quit [Ping timeout: 260 seconds]
venkat_ has quit [Read error: Connection reset by peer]
wald0 has joined #ruby
EngierkO has joined #ruby
venkat has joined #ruby
Trynemjoel has joined #ruby
lyanchih has joined #ruby
zeeraw has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
coderhs has joined #ruby
<polysics> that would save a lot of lives
<polysics> sadly, one thing programming has over biological "hacking" is that we can more or less build whatever we want
seoNinjaWarrior has quit [Quit: Computer has gone to sleep.]
<polysics> while biology has to contend with the real world :D
<Hanmac> yeah but i lol'd about "artificial blood make in transylvania" ;P
justsee has quit [Ping timeout: 272 seconds]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
seoNinjaWarrior has joined #ruby
multi_io has quit [Ping timeout: 248 seconds]
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
shime has joined #ruby
dayepa has quit [Ping timeout: 264 seconds]
grs has quit [Ping timeout: 248 seconds]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
chrisseaton has quit []
Xeago_ has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
chrisseaton has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
bradhe has joined #ruby
dayepa has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
multi_io has joined #ruby
OdNairy has joined #ruby
mojjojo has quit [Quit: mojjojo]
dayepa1 has joined #ruby
OdNairy has quit [Client Quit]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
minsa has quit [Ping timeout: 272 seconds]
tt1187 has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
dayepa has quit [Ping timeout: 264 seconds]
bradhe has quit [Ping timeout: 264 seconds]
DaniG2k has joined #ruby
dayepa has joined #ruby
dodosan has joined #ruby
colonolGron has quit [Quit: Lost terminal]
venkat_ has joined #ruby
diegovio1 has joined #ruby
chrisseaton has quit []
diegoviola has quit [Ping timeout: 252 seconds]
fire has joined #ruby
mojjojo has joined #ruby
diegovio1 has quit [Client Quit]
coder_neo has quit [Quit: This computer has gone to sleep]
venkat_ has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
dayepa1 has quit [Ping timeout: 264 seconds]
mklappst_ has joined #ruby
chrisseaton has joined #ruby
grs has joined #ruby
dayepa1 has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
dodosan has quit [Ping timeout: 252 seconds]
minsa has joined #ruby
dayepa has quit [Ping timeout: 264 seconds]
diegoviola has joined #ruby
venkat has quit [Read error: Connection reset by peer]
Aryasam has joined #ruby
venkat has joined #ruby
mklappstuhl has quit [Ping timeout: 272 seconds]
Xeago has joined #ruby
Advocation has quit [Quit: Advocation]
venkat has quit [Read error: Connection reset by peer]
dfranciosi has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 252 seconds]
wdiechmann has left #ruby [#ruby]
venkat_ has joined #ruby
dayepa1 has quit [Ping timeout: 264 seconds]
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
fgo has joined #ruby
Aryasam has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
Wolland has quit [Remote host closed the connection]
Aryasam has joined #ruby
dayepa has joined #ruby
DrOwl has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Remote host closed the connection]
nateberkopec has joined #ruby
coder_neo has joined #ruby
shaunbaker has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
dayepa1 has joined #ruby
tt1187 has quit []
dayepa has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
dayepa1 has quit [Read error: Connection reset by peer]
darthdeus has quit [Ping timeout: 252 seconds]
VinceThePrince has joined #ruby
venkat__ has joined #ruby
nateberkopec has quit [Ping timeout: 260 seconds]
venkat_ has quit [Read error: Connection reset by peer]
venkat has quit [Read error: Connection reset by peer]
Advocation has joined #ruby
VinceThePrince has quit [Client Quit]
dayepa has joined #ruby
venkat__ has quit [Read error: Connection reset by peer]
nari has joined #ruby
venkat has joined #ruby
puppeh has joined #ruby
mojjojo has quit [Quit: mojjojo]
Macaveli has quit [Ping timeout: 260 seconds]
freerobby has joined #ruby
mojjojo has joined #ruby
davidk has joined #ruby
davidk is now known as Guest82854
blackmesa has joined #ruby
lyanchih has quit [Quit: lyanchih]
venkat_ has joined #ruby
dayepa1 has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
<shevy> Hanmac that's not possible, a cancer cell still has largely the same original genome, it can not too easily aquire new genes. It may have mutations and chromosomal relocations, but the original information was all part of that cancer cell's genome just about
venkat_ has joined #ruby
asmodlol has joined #ruby
venkat has quit [Read error: Connection reset by peer]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
tyl has joined #ruby
nhhagen has quit [Remote host closed the connection]
dayepa has quit [Read error: Connection reset by peer]
freerobby has quit [Ping timeout: 248 seconds]
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
casheew_ has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
nhhagen has joined #ruby
<TheLarkInn> Gooood morningggg!!!
gja has joined #ruby
<Hanmac> shevy i have read a bit infos about ... like cancer sells can have multiple cores (similar to multi threading ;P ), they ignore SIGKILL commands, (normally the body can tell a cell to die), they hide themself from killer cells (they masquarade themself as healthy so they dont get destroyed by the body) and they infiltrate other body parts and take hostages like terrorists (they take other cells in front of them so that the killer cells cant des
<TheLarkInn> If I could trouble anyone for a refresher, when writing optional params, all params declared "right" of the paramter with the * are considered optional?
venkat_ has quit [Read error: Connection reset by peer]
klaas_ has joined #ruby
casheew has quit [Read error: Connection reset by peer]
<TheLarkInn> like
<TheLarkInn> def foo(bar*, still, optional, params); end
venkat has joined #ruby
dayepa1 has quit [Ping timeout: 264 seconds]
klaas has quit [Read error: Connection reset by peer]
<Hanmac> TheLarkInn: optional parameters does not work that way
top4o_ has joined #ruby
Matriks has quit [Remote host closed the connection]
bkparso_ has joined #ruby
danshultz has joined #ruby
bkparso_ has quit [Client Quit]
venkat has quit [Read error: Connection reset by peer]
top4o_ has quit [Client Quit]
<TheLarkInn> is it every single one needs the *
venkat has joined #ruby
browndawg has quit [Quit: Leaving.]
top4o has quit [Ping timeout: 272 seconds]
<Hanmac> no does also not work like you may want
<TheLarkInn> Oh well no worries
<shevy> TheLarkInn I never saw foo* before in ruby, where did you see this?
<Hanmac> look at ruby2.1 for optional named parameters
<TheLarkInn> alright thanks Hanmac
<TheLarkInn> shevy I'm probably writing the syntax wrong, I havn't used optional params in awhile
ndrei has joined #ruby
abstractj has quit [Changing host]
abstractj has joined #ruby
venkat_ has joined #ruby
hiall_ has quit [Ping timeout: 252 seconds]
venkat has quit [Read error: Connection reset by peer]
hiall_ has joined #ruby
thesheff17 has quit [Ping timeout: 272 seconds]
dayepa has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
judd7_ has joined #ruby
dayepa1 has joined #ruby
DaniG2k has quit [Quit: leaving]
Virtualize has joined #ruby
venkat has joined #ruby
sassamo has joined #ruby
<shevy> perhaps it is possible
<shevy> in 2.1
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
dayepa has quit [Ping timeout: 264 seconds]
wildroman2 has quit [Remote host closed the connection]
dayepa has joined #ruby
venkat has quit [Read error: Connection reset by peer]
dayepa1 has quit [Remote host closed the connection]
venkat has joined #ruby
dayepa1 has joined #ruby
francisfish has quit [Remote host closed the connection]
<Hanmac> >> RUBY_VERSION
<eval-in> Hanmac => "2.1.0" (https://eval.in/92121)
sassamo has quit [Ping timeout: 252 seconds]
dblessing has joined #ruby
yasushi has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
figgleberry has joined #ruby
<Hanmac> TheLarkInn: like that ?
<Hanmac> >> def foo(bar: nil , still: nil, optional: nil, params: nil); [bar,still,optional,params] end; foo(optional: 4, still: 5)
<eval-in> Hanmac => [nil, 5, 4, nil] (https://eval.in/92122)
<TheLarkInn> thats good enough,
<TheLarkInn> that was along the lines of what I was wanting
venkat_ has quit [Read error: Connection reset by peer]
dayepa has quit [Ping timeout: 264 seconds]
venkat has joined #ruby
francisfish has joined #ruby
DaniG2k has joined #ruby
venkat_ has joined #ruby
garybrett has joined #ruby
venkat has quit [Read error: Connection reset by peer]
<puppeh> does that sentence makes sense to you? "Constants in Ruby aren't threadsafe"
<shevy> not really
<shevy> constants in ruby are never safe
<charliesome> what's not threadsafe about a constant
<shevy> X = 5; X = 6 # warning: already initialized constant X
<charliesome> setting one is atomic, getting one is atomic
<puppeh> I dunno I'm also wondering: see comment http://stackoverflow.com/a/21231878/1242778
<shevy> Thread.new { X = 7 }
<shevy> warning: already initialized constant X
venkat_ has quit [Read error: Connection reset by peer]
aryaching has joined #ruby
bradhe has joined #ruby
<charliesome> puppeh: i have no idea what that person means by that
venkat has joined #ruby
<puppeh> yeah me neither..whatever..
<charliesome> but the answer in question is perfectly safe
dayepa1 has quit [Ping timeout: 264 seconds]
<puppeh> instead I could point him that the array he uses is not threadsafe :)
<charliesome> the array's fine
Aryasam has quit [Quit: Bye]
nhhagen has quit [Remote host closed the connection]
francisfish has quit [Ping timeout: 246 seconds]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
dayepa has joined #ruby
danijoo has quit [Read error: Operation timed out]
Guest82854 has quit [Read error: Operation timed out]
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
alexfreidah has joined #ruby
nhhagen has joined #ruby
banisterone has joined #ruby
<puppeh> charliesome: was talking about http://www.jstorimer.com/pages/ruby-core-classes-arent-thread-safe and stuff
bradhe has quit [Ping timeout: 272 seconds]
danijoo has joined #ruby
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
mklappst_ has quit [Remote host closed the connection]
dayepa1 has joined #ruby
h_kon has joined #ruby
tkuchiki has quit [Remote host closed the connection]
dayepa has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
blackmesa has quit [Ping timeout: 240 seconds]
max96at has joined #ruby
<puppeh> btw I have a question regarding GC in 1.9.3 vs 2.1. I've booted up my rails app and done a GC.start and heap_live_slots was ~500k
<puppeh> (that was for 1.9.3). Done the same in 2.1. and heap_live_slots was ~250k. Does that make any sense?
alexfreidah has quit [Ping timeout: 272 seconds]
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
<Hanmac> everyone talks about "thread-safe" ... i am happy enough when my created objects are GC safe ;P
m00nlight has quit [Remote host closed the connection]
<soahccc> Hanmac: What are you talking about?
m00nlight has joined #ruby
<Hanmac> soahccc: i write C++ bindings ... while i need to control when the ruby objects are destroyed and when not ... (means: as long as the c++ object lives, the ruby object are forced to live too)
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
<soahccc> ahh okay, I have no clue about C :D
<soahccc> puppeh: have you forked in some sort?
himsin has quit [Quit: himsin]
dodosan has joined #ruby
<puppeh> soahccc: nope, I'm using WEBrick and I've put a `binding.pry` at the bottom of my config/application.rb file
Kneferilis has quit [Quit: Leaving]
riku has quit [Quit: ZNC - http://znc.sourceforge.net]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
dayepa1 has quit [Ping timeout: 264 seconds]
riku has joined #ruby
pushpak has joined #ruby
maroloccio has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
shredding has quit [Quit: shredding]
po10 has quit [Changing host]
po10 has joined #ruby
cephalopod has joined #ruby
zoscoy has joined #ruby
fede_ has joined #ruby
mojjojo has quit [Quit: mojjojo]
<cephalopod> I really want the codeCademy UI as my ide
venkat has quit [Read error: Connection reset by peer]
<TheLarkInn> too bad it doesn't have breakpoints
venkat has joined #ruby
<TheLarkInn> :-P
dodosan has quit [Ping timeout: 272 seconds]
dayepa has joined #ruby
phinfonet has quit [Ping timeout: 252 seconds]
allaire has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
shime has quit [Ping timeout: 272 seconds]
hamakn has quit [Remote host closed the connection]
zoscoy has quit [Client Quit]
kbouwser has joined #ruby
nateberkopec has joined #ruby
BorjaGVO has joined #ruby
venkat has quit [Read error: Connection reset by peer]
Kneferilis has joined #ruby
davidk has joined #ruby
ewnd9 has quit [Ping timeout: 272 seconds]
enebo has joined #ruby
davidk is now known as Guest6721
venkat has joined #ruby
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
diegoviola has quit [Quit: WeeChat 0.4.2]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
shime has joined #ruby
DaniG2k has quit [Quit: Lost terminal]
mojjojo has joined #ruby
einarj has joined #ruby
dayepa has quit [Ping timeout: 264 seconds]
RaCx has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
po10 has quit [Quit: /]
nateberkopec has quit [Ping timeout: 260 seconds]
po10 has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
<shevy> cephalopod the best UI is the human brain adapting to the environment
zegerjan has quit [Quit: WeeChat 0.4.2]
venkat has joined #ruby
<cephalopod> agreed... it's just that their one looks so awesome.
dayepa has joined #ruby
<shevy> in my imagination I use the perfect UI already
maroloccio has quit [Quit: WeeChat 0.4.2]
<TheLarkInn> it does
judd7_ has quit [Quit: judd7_]
enebo has quit [Quit: enebo]
ndrei has quit [Ping timeout: 252 seconds]
judd7_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
kbouwser has quit [Quit: Computer has gone to sleep.]
venkat_ has joined #ruby
kpshek has joined #ruby
arietis has joined #ruby
<cephalopod> how many lines of scrollback do you have in your imagination? I have maybe 10 on a good day
pskosinski has quit [Quit: http://igg.me/p/597505/x/6111010 Resurrect Revenge Of The Cats: Ethernet As Open-Source Project]
dayepa has quit [Read error: Connection reset by peer]
dayepa has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
clevermatt has joined #ruby
venkat has joined #ruby
Jimboluu has joined #ruby
pskosinski has joined #ruby
cephalopod has left #ruby ["IRC is just multiplayer gedit"]
venkat has quit [Read error: Connection reset by peer]
<puppeh> `Integer(10)` is a special notation, not a method call on Integer class, right?
venkat has joined #ruby
tobago has joined #ruby
hamakn has joined #ruby
dayepa1 has joined #ruby
<hoelzro> puppeh: iirc, it's a method in Kernel
<hoelzro> >> method(:Integer)
<eval-in> hoelzro => #<Method: Object(Kernel)#Integer> (https://eval.in/92153)
tvw has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
alexherbo2 has quit [Ping timeout: 248 seconds]
dangerousdave has joined #ruby
<Hanmac> puppeh: Integer("10") is a nice way because Integer.new("10") does not work so its a nice way like "10".to_i ... the only difference, Integer() does raise exceptions when the data is not valid
<Hanmac> >> Integer("A")
<eval-in> Hanmac => invalid value for Integer(): "A" (ArgumentError) ... (https://eval.in/92155)
<Hanmac> >> Integer("A",16)
<eval-in> Hanmac => 10 (https://eval.in/92156)
dayepa has quit [Read error: Connection reset by peer]
mansi has joined #ruby
venkat has joined #ruby
Advocation has quit [Ping timeout: 264 seconds]
ahmedelg_ has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
dayepa has joined #ruby
<puppeh> I see, thanks :)
venkat_ has joined #ruby
dayepa1 has quit [Ping timeout: 264 seconds]
venkat has quit [Read error: Connection reset by peer]
akemrir has joined #ruby
<shevy> we need ruby faster than C
<shevy> let's aim for the big one
mansi has quit [Read error: Operation timed out]
Advocation has joined #ruby
<TheLarkInn> probably need to figure out something better than garbage collection, like ARC
freerobby has quit [Ping timeout: 260 seconds]
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
ldcicconi has joined #ruby
<shevy> ARC?
ValicekB has quit [Ping timeout: 272 seconds]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
jkamenik has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
dayepa has quit [Ping timeout: 264 seconds]
gja has joined #ruby
ahmedelgabri has joined #ruby
fixl has quit [Remote host closed the connection]
larissa has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
kpshek has quit []
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
shaunbaker has joined #ruby
francisfish has joined #ruby
dayepa has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
gja has quit [Client Quit]
Jimboluu has quit [Remote host closed the connection]
gja has joined #ruby
alexherbo2 has joined #ruby
<arturaz_> shevy, Automatic Reference Counting
<arturaz_> doesn't help with cyclic dependencies though, so you still need a GC
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
diegoviola has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
francisfish has quit [Ping timeout: 265 seconds]
Jimboluu has joined #ruby
gja has quit [Client Quit]
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
sassamo has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
kpshek has joined #ruby
zeeraw has joined #ruby
shredding has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
Guest25259 has quit [Changing host]
Guest25259 has joined #ruby
Guest25259 is now known as digifiv5e
venkat has joined #ruby
dayepa has quit [Ping timeout: 264 seconds]
dayepa has joined #ruby
venkat_ has joined #ruby
bradhe has joined #ruby
sassamo has quit [Ping timeout: 272 seconds]
venkat__ has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
dayepa has quit [Read error: Connection reset by peer]
dayepa1 has joined #ruby
Sawbones has joined #ruby
venkat__ has quit [Read error: Connection reset by peer]
RaCx has quit [Ping timeout: 264 seconds]
DouweM has quit [Ping timeout: 252 seconds]
venkat has quit [Ping timeout: 272 seconds]
dkamioka has joined #ruby
venkat has joined #ruby
jlebrech has joined #ruby
bradhe has quit [Ping timeout: 248 seconds]
dayepa1 has quit [Remote host closed the connection]
RaCx has joined #ruby
AlSquirrel has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
dayepa has joined #ruby
ewnd9 has joined #ruby
krawchyk has joined #ruby
krawchyk has quit [Max SendQ exceeded]
venkat_ has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
venkat has joined #ruby
pu22l3r_ has joined #ruby
drumusician has joined #ruby
dayepa1 has joined #ruby
zxd_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
mojjojo has quit [Quit: mojjojo]
francisfish has joined #ruby
ffranz has joined #ruby
kirun has joined #ruby
dayepa1 has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
zxd has quit [Ping timeout: 260 seconds]
venkat has quit [Read error: Connection reset by peer]
dayepa has quit [Ping timeout: 264 seconds]
Matriks has joined #ruby
coderhs has quit [Ping timeout: 264 seconds]
dEPy has joined #ruby
mklappstuhl has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
dkamioka has quit [Remote host closed the connection]
venkat has joined #ruby
dayepa has joined #ruby
shaunbaker has quit [Remote host closed the connection]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
Lewix has quit [Remote host closed the connection]
dayepa has quit [Read error: Connection reset by peer]
dayepa has joined #ruby
krawchyk has joined #ruby
krawchyk has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
dodosan has joined #ruby
krawchyk has joined #ruby
Xeago has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
Advocation has quit [Quit: Advocation]
Xeago has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
nateberkopec has joined #ruby
kristiandelay has joined #ruby
venkat has quit [Read error: Connection reset by peer]
dayepa1 has joined #ruby
venkat has joined #ruby
asmodlol has quit [Remote host closed the connection]
shaunbaker has joined #ruby
Lewix has joined #ruby
dodosan has quit [Ping timeout: 272 seconds]
wald0 has quit [Quit: Lost terminal]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
dayepa has quit [Remote host closed the connection]
dkamioka has joined #ruby
pskosinski has quit [Quit: http://igg.me/p/597505/x/6111010 Resurrect Revenge Of The Cats: Ethernet As Open-Source Project]
zoscoy has joined #ruby
dayepa has joined #ruby
dayepa1 has quit [Read error: Connection reset by peer]
zoscoy has quit [Client Quit]
Xeago has quit [Ping timeout: 272 seconds]
lyanchih_ has joined #ruby
nisstyre has quit [Quit: Leaving]
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
nateberkopec has quit [Ping timeout: 272 seconds]
nhhagen has quit [Remote host closed the connection]
wildroman2 has quit [Remote host closed the connection]
Neomex has joined #ruby
shime has quit [Ping timeout: 264 seconds]
venkat has quit [Read error: Connection reset by peer]
sergicles has quit [Quit: sergicles]
vpretzel has joined #ruby
venkat has joined #ruby
Neomex has quit [Client Quit]
dayepa1 has joined #ruby
tannerburson has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
ndrei has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
bjhaid has joined #ruby
aryaching has quit [Ping timeout: 260 seconds]
dayepa has quit [Ping timeout: 264 seconds]
nhhagen has joined #ruby
jerius has joined #ruby
RaCx has quit [Ping timeout: 272 seconds]
garybrett is now known as Gazb
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
coderhs has joined #ruby
dayepa has joined #ruby
Squarepy has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
dayepa1 has quit [Ping timeout: 264 seconds]
allaire has quit []
RaCx has joined #ruby
IceyEC has joined #ruby
fede__ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
dkamioka has quit [Remote host closed the connection]
arturaz_ has quit [Remote host closed the connection]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
fede_ has quit [Ping timeout: 264 seconds]
yaymukund has joined #ruby
dEPy has quit [Quit: Lingo - http://www.lingoirc.com]
aryaching has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
dkamioka has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
a-priori has joined #ruby
aryaching_ has joined #ruby
Sawbones has quit []
venkat_ has joined #ruby
sambao21 has joined #ruby
venkat has quit [Read error: Connection reset by peer]
keen__ has joined #ruby
aryaching has quit [Ping timeout: 260 seconds]
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
v0n has joined #ruby
bbloom has quit [Remote host closed the connection]
keen_ has quit [Ping timeout: 260 seconds]
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
shaunbaker has quit [Remote host closed the connection]
dayepa has quit [Ping timeout: 264 seconds]
aryaching_ has quit [Ping timeout: 272 seconds]
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
jrist has quit [Quit: o no u din't]
akemrir has quit [Quit: WeeChat 0.4.2]
ahmedelg_ has joined #ruby
dayepa has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
sailias has joined #ruby
kpshek has quit []
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
ahmedelg_ has quit [Remote host closed the connection]
venkat_ has joined #ruby
tyl has joined #ruby
dayepa has quit [Read error: Connection reset by peer]
dayepa has joined #ruby
shaunbaker has joined #ruby
chrisseaton has quit []
sambao21 has quit [Ping timeout: 272 seconds]
browndawg has joined #ruby
lyanchih_ has quit [Quit: lyanchih_]
venkat_ has quit [Read error: Connection reset by peer]
olivier_bK has quit [Ping timeout: 260 seconds]
bean__ has joined #ruby
venkat_ has joined #ruby
shime has joined #ruby
ahmedelgabri has quit [Ping timeout: 272 seconds]
aryaching has joined #ruby
venkat has quit [Ping timeout: 252 seconds]
angusiguess has joined #ruby
nomenkun has quit [Quit: Leaving...]
bradhe has joined #ruby
tonni has quit [Remote host closed the connection]
venkat has joined #ruby
phinfonet has joined #ruby
sassamo has joined #ruby
bjhaid has quit [Ping timeout: 272 seconds]
dayepa1 has joined #ruby
aryaching_ has joined #ruby
SoWN has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chrisseaton has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
bean__ has quit [Client Quit]
venkat has quit [Read error: Connection reset by peer]
eka has joined #ruby
venkat has joined #ruby
freerobby has joined #ruby
ace_striker has joined #ruby
ace_striker has quit [Changing host]
ace_striker has joined #ruby
ace_striker has quit [Changing host]
ace_striker has joined #ruby
Macaveli has joined #ruby
lyanchih has joined #ruby
banister has joined #ruby
puppeh has left #ruby ["Leaving..."]
mengu has quit [Remote host closed the connection]
radic_ has quit [Ping timeout: 246 seconds]
aryaching has quit [Ping timeout: 272 seconds]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
dayepa has quit [Ping timeout: 264 seconds]
mengu has joined #ruby
bradhe has quit [Ping timeout: 260 seconds]
mlpinit has quit [Quit: Leaving...]
venkat_ has quit [Read error: Connection reset by peer]
centipedefarmer has joined #ruby
venkat has joined #ruby
dayepa1 has quit [Remote host closed the connection]
RaCx has quit [Ping timeout: 272 seconds]
kobain has joined #ruby
mary5030 has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby
lukec has joined #ruby
vlad_starkov has joined #ruby
tesuji has quit [Ping timeout: 265 seconds]
alexfreidah has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
RaCx has joined #ruby
Gazb has quit [Quit: Leaving...]
dayepa has joined #ruby
diegoviola has quit [Ping timeout: 272 seconds]
garybrett has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
garybrett is now known as gaz_b
centipedefarmer has quit [Remote host closed the connection]
olivier_bK has joined #ruby
mansi has joined #ruby
mary5030 has quit [Remote host closed the connection]
venkat has quit [Read error: Connection reset by peer]
jhaals has quit [Read error: Operation timed out]
venkat has joined #ruby
dayepa1 has joined #ruby
shaunbaker has quit [Remote host closed the connection]
sassamo has quit []
venkat has quit [Read error: Connection reset by peer]
tonni has joined #ruby
venkat has joined #ruby
shaunbaker has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
iamjarvo has joined #ruby
dayepa has quit [Ping timeout: 264 seconds]
jhaals has joined #ruby
noop has quit [Ping timeout: 265 seconds]
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
sergicles has joined #ruby
venkat has quit [Read error: Connection reset by peer]
dayepa1 has quit [Ping timeout: 264 seconds]
dayepa has joined #ruby
shaunbaker has quit [Ping timeout: 260 seconds]
venkat has joined #ruby
diegoviola has joined #ruby
dayepa1 has joined #ruby
jedimind has joined #ruby
nifty has joined #ruby
Czupa has joined #ruby
venkat has quit [Read error: Connection reset by peer]
drumusician has quit [Read error: Connection reset by peer]
venkat has joined #ruby
drumusician has joined #ruby
mary5030 has joined #ruby
imaginary has joined #ruby
dodosan has joined #ruby
venkat has quit [Read error: Connection reset by peer]
shredding has quit [Read error: Connection reset by peer]
venkat has joined #ruby
zachrab has joined #ruby
nateberkopec has quit [Ping timeout: 260 seconds]
claymore has quit [Ping timeout: 252 seconds]
<imaginary> i'm being reallly dumb right now. How do I know if a date I retrieved from an database entry is in the future? I'm comparing Date.today with it, but it doesn't seem to work... Can you simply use the > operator?
dayepa has quit [Ping timeout: 264 seconds]
zachrab has quit [Client Quit]
<imaginary> from a database*
venkat has quit [Read error: Connection reset by peer]
girija_ has joined #ruby
venkat has joined #ruby
chrisseaton has quit []
jetblack has joined #ruby
interactionjaxsn has joined #ruby
shredding has joined #ruby
dayepa1 has quit [Remote host closed the connection]
<imaginary> hm, do I need to use Date.parse on the retrieved date?
chrisseaton has joined #ruby
yasushi has quit [Remote host closed the connection]
<imaginary> i'm trying to check it in the query itself, so inside of a where method, but I'm guessing that's the problem
claymore has joined #ruby
venkat has quit [Read error: Connection reset by peer]
girija__ has quit [Ping timeout: 252 seconds]
venkat has joined #ruby
dayepa has joined #ruby
ahmedelgabri has joined #ruby
dodosan has quit [Ping timeout: 272 seconds]
_Andres has joined #ruby
Xeago has joined #ruby
venkat_ has joined #ruby
koalallama has joined #ruby
venkat has quit [Read error: Connection reset by peer]
pu22l3r_ has quit [Remote host closed the connection]
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
cjsarette has quit [Ping timeout: 265 seconds]
alexherbo2 has joined #ruby
kpshek has joined #ruby
kpshek has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
pu22l3r_ has joined #ruby
venkat has joined #ruby
Xeago_ has joined #ruby
gja has joined #ruby
Xeago_ has quit [Remote host closed the connection]
clevermatt has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 260 seconds]
venkat has quit [Read error: Connection reset by peer]
ahmedelgabri has quit [Ping timeout: 260 seconds]
venkat_ has joined #ruby
Kricir has joined #ruby
dayepa1 has joined #ruby
dayepa has quit [Read error: Connection reset by peer]
nhhagen has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
venkat has joined #ruby
tonni has quit [Read error: Connection reset by peer]
danijoo has quit [Read error: Connection reset by peer]
clevermatt has joined #ruby
blandflakes has joined #ruby
danijoo has joined #ruby
iamjarvo has quit [Quit: Lost terminal]
venkat has quit [Read error: Connection reset by peer]
dayepa has joined #ruby
Xeago has quit [Remote host closed the connection]
venkat has joined #ruby
freidahpatch has joined #ruby
RaCx has quit [Ping timeout: 252 seconds]
Xeago has joined #ruby
venkat_ has joined #ruby
g0bl1n has joined #ruby
venkat has quit [Read error: Connection reset by peer]
RaCx has joined #ruby
dayepa has quit [Remote host closed the connection]
pixelgremlins_ba is now known as pixelgremlins
dayepa has joined #ruby
coder_neo has quit [Quit: This computer has gone to sleep]
Macaveli has quit [Ping timeout: 246 seconds]
venkat has joined #ruby
<imaginary> nevermind, i was being very dumb... comparing to a 2012 date ^^
dayepa1 has quit [Ping timeout: 264 seconds]
venkat_ has quit [Read error: Connection reset by peer]
dayepa has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
dayepa has joined #ruby
bean__ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
lukec has quit [Quit: lukec]
tulak has joined #ruby
imaginary has left #ruby [#ruby]
Matriks has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
CptJeanLucPicard is now known as ArchBeOS
ArchBeOS is now known as ArchBeOS-work
dayepa1 has joined #ruby
tylersmith has joined #ruby
dkamioka has quit [Remote host closed the connection]
venkat_ has joined #ruby
diegoviola has joined #ruby
chipotle has quit [Ping timeout: 245 seconds]
venkat_ has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
dayepa has quit [Read error: Connection reset by peer]
dkamioka has joined #ruby
dayepa has joined #ruby
tonni has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
venkat has quit [Ping timeout: 272 seconds]
fgo has quit [Remote host closed the connection]
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
dayepa1 has quit [Ping timeout: 264 seconds]
ace_striker has quit [Ping timeout: 272 seconds]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
ndrei has quit [Read error: No route to host]
Kricir_ has joined #ruby
freezey has joined #ruby
ndrei has joined #ruby
aryaching_ has quit []
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
tagrudev has quit [Remote host closed the connection]
dayepa has quit [Ping timeout: 264 seconds]
bradhe has joined #ruby
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mengu has quit [Remote host closed the connection]
Virtualize has quit [Quit: Leaving...]
aryaching has joined #ruby
h_kon has quit [Remote host closed the connection]
dkamioka has quit [Remote host closed the connection]
coder_neo has joined #ruby
venkat has quit [Read error: Connection reset by peer]
greenhouse has joined #ruby
venkat has joined #ruby
figgleberry has quit [Ping timeout: 260 seconds]
Kricir has quit [Ping timeout: 252 seconds]
dayepa has joined #ruby
venkat has quit [Read error: Connection reset by peer]
alexfreidah has quit [Ping timeout: 264 seconds]
achru has quit [Remote host closed the connection]
Hobogrammer_ has quit [Ping timeout: 252 seconds]
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
venkat has joined #ruby
w4pm has joined #ruby
wildroman2 has joined #ruby
bradhe has quit [Ping timeout: 248 seconds]
girija_ has quit [Ping timeout: 252 seconds]
tonni has quit [Ping timeout: 260 seconds]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
alexfreidah has joined #ruby
coca_rails has joined #ruby
girija_ has joined #ruby
geggam has joined #ruby
sambao21 has joined #ruby
Virtualize has joined #ruby
venkat has joined #ruby
renklaf has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
mansi has quit [Read error: Connection reset by peer]
ndrei has quit [Ping timeout: 252 seconds]
mansi has joined #ruby
nhhagen has joined #ruby
lfox has joined #ruby
ndrei has joined #ruby
nateberkopec has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
w4pm has quit [Ping timeout: 264 seconds]
dayepa has quit [Ping timeout: 264 seconds]
girija_ has quit [Ping timeout: 252 seconds]
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
ldcicconi has quit [Ping timeout: 260 seconds]
krz has joined #ruby
sambao21 has quit [Ping timeout: 272 seconds]
yasushi has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
spyderman4g63 has joined #ruby
tonni has joined #ruby
Matriks has joined #ruby
alexfreidah has quit [Ping timeout: 245 seconds]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
LastWhisper has joined #ruby
dayepa1 has joined #ruby
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
heftig has quit [Ping timeout: 272 seconds]
ndrei has quit [Ping timeout: 264 seconds]
coca_rails has quit [Remote host closed the connection]
judd7_ has quit [Quit: judd7_]
ValicekB has joined #ruby
ndrei has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
IceDragon has joined #ruby
coca_rails has joined #ruby
tonni has quit [Read error: Connection reset by peer]
stringoO has joined #ruby
freezey has quit [Remote host closed the connection]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
freezey has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
dayepa1 has quit [Ping timeout: 264 seconds]
ohwhoa has joined #ruby
rippa has joined #ruby
amundj has quit [Ping timeout: 252 seconds]
dkamioka has joined #ruby
dayepa has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
venkat__ has joined #ruby
greenhouse has quit [Ping timeout: 248 seconds]
cbetta is now known as cbetta_afk
radic has joined #ruby
venkat_ has joined #ruby
venkat__ has quit [Read error: Connection reset by peer]
diegoviola has quit [Ping timeout: 272 seconds]
user258467 has quit [Quit: Quitte]
mansi has quit [Read error: Connection reset by peer]
mansi has joined #ruby
gja has joined #ruby
venkat__ has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
dkamioka has quit [Ping timeout: 272 seconds]
mojjojo has joined #ruby
dayepa1 has joined #ruby
venkat__ has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
sergicles has quit [Quit: sergicles]
dodosan has joined #ruby
dayepa has quit [Ping timeout: 264 seconds]
wildroman2 has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
venkat__ has joined #ruby
alexfreidah has joined #ruby
lfox has quit []
sski has quit [Remote host closed the connection]
sski has joined #ruby
venkat__ has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
nism has quit [Ping timeout: 272 seconds]
DaniG2k has joined #ruby
dkamioka has joined #ruby
tonni has joined #ruby
shaunbaker has joined #ruby
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
figgleberry has joined #ruby
yasushi has quit [Remote host closed the connection]
rm_ has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
lfox has joined #ruby
venkat__ has joined #ruby
dodosan has quit [Ping timeout: 272 seconds]
venkat_ has quit [Read error: Connection reset by peer]
Jimboluu has quit [Quit: Lost terminal]
dkamioka_ has joined #ruby
_maes_ has joined #ruby
webgen has joined #ruby
ckinni has joined #ruby
<webgen> if I save variable without "!" sign, where is the data saved?
Kricir_ has quit [Remote host closed the connection]
venkat__ has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
Kricir has joined #ruby
baroquebobcat has joined #ruby
sski has quit [Ping timeout: 272 seconds]
Guest62441 is now known as Kruppe
canton7-mac has joined #ruby
dkamioka has quit [Ping timeout: 272 seconds]
Kricir has quit [Read error: Connection reset by peer]
venkat__ has joined #ruby
dkamioka has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
<ccooke> webgen: ! is conventionally appended to method names that have side effects. It's not a rule in the language, though, and there's nothing that enforces it
Kricir has joined #ruby
dima_ has joined #ruby
<ccooke> webgen: However, what I *think* you're asking is what the difference between calling a method with a ! and without
failshell has joined #ruby
Targen has quit [Ping timeout: 248 seconds]
Spami has joined #ruby
<ccooke> webgen: and the answer is, unfortunately, "it depends". Generally speaking, methods with a ! will modify the object you're calling the method on or have some other side effect that changes state.
venkat__ has quit [Read error: Connection reset by peer]
nifty has quit [Ping timeout: 246 seconds]
<webgen> ccooke as I know if you call it with !, then it rewrites the data with the new modified data... I dont understand where the modified data goes if I don't put !
Kricir has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
tonni has quit [Remote host closed the connection]
Kricir has joined #ruby
jprovazn has quit [Quit: Leaving]
dkamioka_ has quit [Ping timeout: 272 seconds]
tjbiddle has joined #ruby
venkat__ has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
<ccooke> webgen: if you're only dealing with a simple object like a string or an array, the convention is that methods without a ! will return a copy of the object, modified by the method call, while methods with a ! modify the original object, then return it
venkat__ has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
<txdv> are there byte arrays in ruby?
dkamioka has quit [Ping timeout: 252 seconds]
<webgen> ccooke, I see but if a method call without ! copies the object, where does the original go?
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
thumpba has quit [Remote host closed the connection]
Lewix has quit [Quit: Leaving...]
thumpba has joined #ruby
mojjojo has quit [Quit: mojjojo]
<banister> webgen then the object gets reabsorbed back into the body
alexfreidah has quit [Ping timeout: 264 seconds]
<waxjar> it gets picked up by the garbage collector (if you don't keep it stored somewhere)
venkat_ has quit [Read error: Connection reset by peer]
syamajala has joined #ruby
<webgen> hmm ok thanks guys!
alexfreidah has joined #ruby
venkat_ has joined #ruby
nomenkun has quit [Ping timeout: 252 seconds]
pskosinski has joined #ruby
webgen has left #ruby ["Leaving"]
TMM has quit [Quit: Ex-Chat]
TMM has joined #ruby
TMM has quit [Changing host]
TMM has joined #ruby
agjacome has quit [Quit: leaving]
Czupa has quit [Remote host closed the connection]
Xzanron has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
venkat__ has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
TMM has quit [Client Quit]
cj3kim has joined #ruby
venkat__ has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
lethjakman has joined #ruby
Solnse has left #ruby [#ruby]
ewnd9 has quit [Ping timeout: 272 seconds]
venkat__ has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
monkegjinni has quit [Remote host closed the connection]
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kristiandelay has quit [Read error: No route to host]
kristian_ has joined #ruby
monkegjinni has joined #ruby
venkat_ has joined #ruby
venkat__ has quit [Read error: Connection reset by peer]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
LastWhisper has quit [Quit: Page closed]
venkat_ has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
mojjojo has joined #ruby
dima_ has left #ruby [#ruby]
skaflem has quit [Quit: Leaving]
mojjojo has quit [Client Quit]
syamajala has quit [Ping timeout: 246 seconds]
chrisseaton has quit []
krz has quit [Ping timeout: 272 seconds]
bradhe has joined #ruby
venkat__ has joined #ruby
mary5030 has quit [Remote host closed the connection]
TMM has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
Pixels has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
BorjaGVO has quit [Quit: Page closed]
mary5030 has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
mary5030 has joined #ruby
venkat__ has quit [Read error: Connection reset by peer]
camilasan has quit [Ping timeout: 252 seconds]
venkat___ has joined #ruby
alexfreidah has quit [Ping timeout: 276 seconds]
mary5030_ has joined #ruby
monkegjinni has quit [Remote host closed the connection]
mary5030_ has quit [Remote host closed the connection]
mikepack has joined #ruby
venkat_ has quit [Ping timeout: 248 seconds]
ahawkins has quit [Remote host closed the connection]
venkat___ has quit [Read error: Connection reset by peer]
mary5030_ has joined #ruby
venkat_ has joined #ruby
wildroman2 has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
wildroman2 has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 252 seconds]
dawkirst has joined #ruby
wildroman2 has joined #ruby
Megtastique has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
venkat_ has joined #ruby
mary5030 has quit [Ping timeout: 248 seconds]
Matriks has quit [Read error: Connection reset by peer]
venkat_ has quit [Read error: Connection reset by peer]
Matriks has joined #ruby
venkat_ has joined #ruby
angusiguess has quit [Ping timeout: 245 seconds]
matchaw_ has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
matchaw has quit [Ping timeout: 260 seconds]
venkat_ has joined #ruby
sski has joined #ruby
zxd_ is now known as zxd
angusiguess has joined #ruby
agjacome has joined #ruby
ahmedelgabri has joined #ruby
venkat__ has joined #ruby
DouweM has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
Jetchisel has quit [Ping timeout: 256 seconds]
iamsean has joined #ruby
ephemerian has quit [Quit: Leaving.]
venkat__ has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
LastWhisper has joined #ruby
matchaw has joined #ruby
zeeraw has joined #ruby
sski has quit [Ping timeout: 248 seconds]
matchaw_ has quit [Ping timeout: 252 seconds]
DrShoggoth has joined #ruby
venkat__ has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
polysics has quit [Quit: Leaving.]
noname001__ has quit [Ping timeout: 260 seconds]
DrShoggoth has quit [Remote host closed the connection]
byprdct has joined #ruby
DrShoggoth has joined #ruby
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jetblack has quit [Remote host closed the connection]
TMM has quit [Quit: Ex-Chat]
venkat__ has quit [Read error: Connection reset by peer]
aryaching has quit [Ping timeout: 272 seconds]
freezey has quit [Remote host closed the connection]
venkat_ has joined #ruby
illbyte has joined #ruby
mojjojo has joined #ruby
mdpatrick has quit [Quit: No Ping reply in 180 seconds.]
cj3kim has quit [Remote host closed the connection]
vongrippen has quit [Quit: No Ping reply in 180 seconds.]
gja has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
freezey has joined #ruby
mikepack_ has joined #ruby
venkat_ has joined #ruby
Virtualize has quit [Quit: Leaving...]
SpaghettiCat has joined #ruby
SpaghettiCat has left #ruby ["Leaving"]
lukec has joined #ruby
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
wildroman2 has quit [Remote host closed the connection]
mikepack has quit [Ping timeout: 264 seconds]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
asmodlol has joined #ruby
vongrippen has joined #ruby
mdpatrick has joined #ruby
mikepack_ has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
Virtualize has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
venkat has quit [Read error: Connection reset by peer]
bbloom has joined #ruby
zeeraw has quit [Ping timeout: 260 seconds]
venkat has joined #ruby
Virtualize has quit [Client Quit]
tkuchiki has quit [Remote host closed the connection]
mojjojo has quit [Quit: mojjojo]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
urbanslug is now known as zipper_away
froy has joined #ruby
camilasan has joined #ruby
yoshie902a has joined #ruby
tuupuerau has joined #ruby
tylersmith has quit [Remote host closed the connection]
<yoshie902a> In my ruby project, can I have a module and class with the same name?
venkat_ has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby
venkat has joined #ruby
<havenwood> yoshie902a: Nope
IceDragon has quit [Ping timeout: 252 seconds]
<havenwood> yoshie902a: You could if you put them in a different namespace, but generally no.
<yoshie902a> Thank you
<blackmesa> Hi. I am using the 'mail' gem in a ruby script. I am trying to deliver an ERB file that should be rendered as html in the email. So far its just displaying html code in the email https://gist.github.com/anonymous/8a69fcee8e481ba70248
coderhs has quit [Ping timeout: 252 seconds]
<yoshie902a> and a name space is just another module?
<banister> blackmesa what is black mesa
bhaak has quit [Ping timeout: 245 seconds]
mojjojo has joined #ruby
pel_daniel has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
bbloom has quit [Ping timeout: 252 seconds]
<havenwood> yoshie902a: module or class, usually a module
ndrei has quit [Ping timeout: 260 seconds]
aspires has joined #ruby
<banister> blackmesa nevermind
<yoshie902a> havenwood: thank you
tulak has quit [Quit: Leaving.]
<havenwood> yoshie902a: no prob
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
iceden has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
tylersmith has quit [Ping timeout: 252 seconds]
IceDragon has joined #ruby
pel_daniel1 has joined #ruby
chrisseaton has joined #ruby
zipper_away has quit [Ping timeout: 272 seconds]
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
dodosan has joined #ruby
kewubenduben has joined #ruby
pel_daniel has quit [Ping timeout: 272 seconds]
MrZYX|off is now known as MrZYX
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
tvw has quit []
freezey has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
dodosan_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
bhaak has joined #ruby
bbloom has joined #ruby
17WAAVLZR has joined #ruby
18WAFND02 has joined #ruby
<havenwood> blackmesa: Any luck if you put `body html_file` in an `html_part do` block?: https://github.com/mikel/mail#writing-and-sending-a-multipartalternative-html-and-text-email
leonidlm has quit [Ping timeout: 264 seconds]
dodosan has quit [Ping timeout: 252 seconds]
andikr has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
dagobah has quit [Quit: Leaving...]
nhhagen has quit [Remote host closed the connection]
mspah_ has joined #ruby
coca_rails has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
mspah__ has joined #ruby
<freerobby> Has anybody here by chance used s3cmd to upload files via stdin with success?
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
venkat has joined #ruby
Cephalostrum has joined #ruby
<freerobby> We saw it was added to the 1.5 beta but it doesn't appear to work
dkamioka has joined #ruby
coderhs has joined #ruby
mikepack has joined #ruby
kpshek has joined #ruby
dodosan_ has quit [Ping timeout: 260 seconds]
burlyscudd has joined #ruby
17WAAVLZR has quit [Read error: Operation timed out]
dkamioka_ has joined #ruby
venkat_ has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
18WAFND02 has quit [Ping timeout: 246 seconds]
<havenwood> blackmesa: I dunno if just `content_type = 'text/html'` would work.
iceden has joined #ruby
jlebrech has quit [Quit: Konversation terminated!]
venkat_ has quit [Read error: Connection reset by peer]
pietr0 has joined #ruby
gaz_b has quit [Quit: Leaving...]
venkat_ has joined #ruby
strk has joined #ruby
RaCx has joined #ruby
rm_ has quit [Remote host closed the connection]
strk has left #ruby [#ruby]
tuupuerau has quit [Ping timeout: 252 seconds]
maletor has joined #ruby
venkat has quit [Ping timeout: 264 seconds]
venkat_ has quit [Read error: Connection reset by peer]
mspah__ has quit [Quit: This computer has gone to sleep]
mspah_ has quit [Quit: This computer has gone to sleep]
<blackmesa> havenwood: your html_part suggestions works fine! big thx
dkamioka has quit [Ping timeout: 272 seconds]
<havenwood> blackmesa: ah nice, no prob
venkat has joined #ruby
styped has joined #ruby
styped has quit [Max SendQ exceeded]
<blackmesa> content_type didnt help
dkamioka_ has quit [Ping timeout: 272 seconds]
Nerfherder has joined #ruby
<havenwood> yeah, seemed like it is meant to be set inside an html_part block or html_part=
venkat_ has joined #ruby
Nerfherder has left #ruby [#ruby]
venkat has quit [Read error: Connection reset by peer]
<blackmesa> finally it works....thanks for your help :)
dkamioka has joined #ruby
aryaching has joined #ruby
unixpro1970 has joined #ruby
coderhs has quit [Ping timeout: 272 seconds]
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
sparrovv_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
burlyscudd has quit [Quit: Leaving.]
burlyscudd has joined #ruby
aantix has joined #ruby
jfoy has joined #ruby
lioninawhat has joined #ruby
timonv has quit [Remote host closed the connection]
zeeraw has joined #ruby
venkat has quit [Read error: Connection reset by peer]
bradhe has joined #ruby
venkat has joined #ruby
sparrovv_ has quit [Remote host closed the connection]
freezey has joined #ruby
venkat has quit [Read error: Connection reset by peer]
ghr has quit [Quit: Computer has gone to sleep.]
venkat has joined #ruby
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
iamsean has quit [Quit: iamsean]
styped has joined #ruby
styped has quit [Max SendQ exceeded]
moted has quit [Quit: moted]
maletor has quit [Quit: Computer has gone to sleep.]
venkat_ has joined #ruby
pel_daniel1 has quit [Read error: Connection reset by peer]
venkat has quit [Read error: Connection reset by peer]
moted has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
mccraig has joined #ruby
ndrei has joined #ruby
Hanmac1 has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
yaymukund has quit [Ping timeout: 272 seconds]
speakingcode has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
venkat has quit [Read error: Connection reset by peer]
senj has joined #ruby
burlyscudd has quit [Quit: Leaving.]
venkat has joined #ruby
mary5030_ has quit [Ping timeout: 272 seconds]
Hobogrammer has joined #ruby
mary5030 has joined #ruby
ckinni has joined #ruby
noop has joined #ruby
carraroj has joined #ruby
wildroman2 has quit [Ping timeout: 272 seconds]
ndrei has quit [Ping timeout: 252 seconds]
aganov has quit [Quit: Leaving]
yebyen has left #ruby [#ruby]
DaniG2k has quit [Quit: leaving]
mdpatrick has quit [Quit: No Ping reply in 180 seconds.]
vongrippen has quit [Quit: No Ping reply in 180 seconds.]
shredding has left #ruby [#ruby]
ndrei has joined #ruby
canton7-mac has quit [Quit: Leaving]
mdpatrick has joined #ruby
vongrippen has joined #ruby
iamsean has joined #ruby
mikepack has quit [Remote host closed the connection]
lyanchih has quit [Ping timeout: 272 seconds]
carraroj has quit [Client Quit]
RaCx has quit [Quit: Computer has gone to sleep.]
iamsean has quit [Client Quit]
rubyracer has joined #ruby
pu22l3r_ has quit [Remote host closed the connection]
ldcicconi has joined #ruby
coca_rails has joined #ruby
_mtr has joined #ruby
_mtr has quit [Max SendQ exceeded]
nifty has joined #ruby
timonv has joined #ruby
RaCx has joined #ruby
mikepack has joined #ruby
tjbiddle_ has joined #ruby
bluOxigen has joined #ruby
francisfish has quit [Remote host closed the connection]
tjbiddle has quit [Ping timeout: 252 seconds]
tjbiddle_ is now known as tjbiddle
ckinni has quit [Quit: Textual IRC Client: www.textualapp.com]
mityaz has joined #ruby
radic has quit [Disconnected by services]
radic_ has joined #ruby
v10energy has joined #ruby
unixpro1_ has joined #ruby
yaymukund has joined #ruby
tonni has joined #ruby
centipedefarmer has joined #ruby
coca_rails has quit [Ping timeout: 240 seconds]
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ghosTM55 has joined #ruby
lukec has quit [Quit: lukec]
charliesome has quit [Read error: Connection reset by peer]
mrnugget has joined #ruby
charliesome has joined #ruby
Hanmac1 is now known as Hanmac
v0n has quit [Ping timeout: 265 seconds]
mikepack has quit [Remote host closed the connection]
unixpro1970 has quit [Ping timeout: 272 seconds]
mklappstuhl has quit [Remote host closed the connection]
tjbiddle has quit [Ping timeout: 272 seconds]
alexfreidah has joined #ruby
Neomex has joined #ruby
roolo has quit [Remote host closed the connection]
Matriks has quit [Remote host closed the connection]
mikepack has joined #ruby
shaunbaker has quit [Remote host closed the connection]
ckinni has joined #ruby
ghosTM55 has quit [Quit: leaving]
mrnugget has quit [Client Quit]
sputnik1_ has joined #ruby
sputnik1_ has quit [Max SendQ exceeded]
troessner has quit [Quit: Leaving]
sputnik1_ has joined #ruby
einarj has quit [Remote host closed the connection]
kristian_ has quit [Remote host closed the connection]
tjbiddle has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
iamsean has joined #ruby
ahmedelgabri has quit [Remote host closed the connection]
Spami_ has joined #ruby
xcv has joined #ruby
diegoviola has joined #ruby
Virtualize has joined #ruby
maletor has joined #ruby
nvrch has quit [Quit: nvrch]
mikepack has quit [Remote host closed the connection]
|RicharD| has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
RaCx has joined #ruby
bean__ has joined #ruby
cj3kim has joined #ruby
radic_ has quit [Ping timeout: 252 seconds]
snkcld has joined #ruby
ohwhoa has quit [Quit: woah!]
mikepack has joined #ruby
cj3kim has quit [Ping timeout: 272 seconds]
alexfreidah has quit [Ping timeout: 272 seconds]
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
colonolGron has joined #ruby
RaCx has quit [Read error: Connection reset by peer]
nhhagen has joined #ruby
camilasan has quit []
yarou has joined #ruby
<snkcld> if i have 2 nested begin/rescue blocks, the innermost receives the exception first, right?
radic has joined #ruby
<MrZYX> yes
<MrZYX> that is if you have no code between them / the exception is raised inside the inner one of course
mocfive has joined #ruby
zxd has quit [Ping timeout: 246 seconds]
poulson has quit [Remote host closed the connection]
failshel_ has joined #ruby
dodosan has joined #ruby
<snkcld> yea yea. ok just wanted to make sure. so the exceptions are only seen if it was raised from the level below it
ReachingFarr has joined #ruby
<ReachingFarr> So, as I library writer should I be using refinements? I don't like the thought of people getting warnings every time they include my library.
mikepack has quit [Remote host closed the connection]
failshell has quit [Ping timeout: 260 seconds]
cj3kim has joined #ruby
sepp2k has joined #ruby
klaut has quit [Remote host closed the connection]
iliketurtles has joined #ruby
Soda has joined #ruby
lukec has joined #ruby
ahmedelgabri has joined #ruby
Soda has quit [Remote host closed the connection]
cj3kim has quit [Remote host closed the connection]
<MrZYX> hm, do they still yield warnings in 2.1?
LekeFly has joined #ruby
dodosan has quit [Ping timeout: 252 seconds]
RaCx has joined #ruby
tylersmith has joined #ruby
alexfreidah has joined #ruby
<ReachingFarr> MrZYX: That's a good question. I only have 2.0 on my machine.
Neomex has quit [Quit: Neomex]
Kricir has quit [Remote host closed the connection]
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ReachingFarr> Can anyone with Ruby 2.1 answer this question? Does the use of refinements still generate a warning?
freerobby has quit [Quit: Leaving.]
trickyhero has joined #ruby
punkcat has quit [Quit: Leaving]
DrShoggoth has quit [Quit: Leaving]
freerobby has joined #ruby
bradhe has joined #ruby
freezey has quit [Remote host closed the connection]
mikepack has joined #ruby
<havenwood> Refinements are no longer experimental in 2.1, so no warning.
<havenwood> But different behavior than 2.0.
<MrZYX> is the spec stabilized now?
<havenwood> MrZYX: Yup, though I *hope* they add top level refinements back.
lidenbrock has joined #ruby
<MrZYX> yeah
<MrZYX> ReachingFarr: so I'd say yes, if the lib is >= 2.1 only
lidenbrock has quit [Client Quit]
Fire-Dragon-DoL has joined #ruby
apeiros has joined #ruby
timonv has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 272 seconds]
olivier_bK has quit [Read error: Operation timed out]
zahna has quit [Ping timeout: 252 seconds]
failshel_ has quit []
aryaching has quit [Ping timeout: 265 seconds]
dangerousdave has joined #ruby
freezey has joined #ruby
ziam has quit [Remote host closed the connection]
saarinen has joined #ruby
zahna has joined #ruby
reset has joined #ruby
kristiandelay has joined #ruby
r0nin has joined #ruby
Neomex1 has joined #ruby
Neomex1 has quit [Client Quit]
top4o has joined #ruby
yaymukund has quit [Ping timeout: 248 seconds]
ndrei has quit [Ping timeout: 252 seconds]
phansch has joined #ruby
ndrei has joined #ruby
banisterone has quit [Ping timeout: 252 seconds]
duggiefresh has joined #ruby
yoshie902a has quit [Quit: yoshie902a]
Targen has joined #ruby
Squarepy has quit [Ping timeout: 272 seconds]
freezey has quit [Remote host closed the connection]
mklappstuhl has joined #ruby
coder_neo has quit [Quit: This computer has gone to sleep]
77CAA0A23 is now known as DanKnox
mocfive has quit [Remote host closed the connection]
VTLob has joined #ruby
mocfive has joined #ruby
mocfive has quit [Remote host closed the connection]
ahmedelgabri has quit []
mocfive has joined #ruby
saarinen has quit [Quit: saarinen]
aboudreault has quit [Ping timeout: 272 seconds]
coca_rails has joined #ruby
dfranciosi has quit [Remote host closed the connection]
coder_neo has joined #ruby
hamakn has quit [Remote host closed the connection]
Kricir has joined #ruby
Xeago has quit [Ping timeout: 260 seconds]
sparrovv has joined #ruby
ephemerian has joined #ruby
coca_rails has quit [Ping timeout: 240 seconds]
alexfreidah has quit [Ping timeout: 276 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nateberkopec has joined #ruby
deens has joined #ruby
hamakn has joined #ruby
sassamo has joined #ruby
Kricir has quit [Ping timeout: 265 seconds]
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
zachrab has joined #ruby
Soda has joined #ruby
shime has quit [Ping timeout: 272 seconds]
aboudreault has joined #ruby
<zachrab> has anyone used coveralls?
hamakn_ has quit [Read error: Connection reset by peer]
hamakn__ has joined #ruby
jayne has quit [Remote host closed the connection]
DrShoggoth has joined #ruby
venkat has quit [Remote host closed the connection]
hamakn__ has quit [Read error: Connection reset by peer]
pmlarocque has joined #ruby
hamakn has joined #ruby
micahf has joined #ruby
zachrab has quit [Client Quit]
mehlah has quit [Quit: Leaving...]
freidahpatch has quit [Ping timeout: 272 seconds]
dfranciosi has joined #ruby
mocfive has quit [Remote host closed the connection]
venkat has joined #ruby
yaymukund has joined #ruby
mocfive has joined #ruby
deens has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
spider-mario has joined #ruby
hiall_ has quit [Quit: hiall_]
saarinen has joined #ruby
venkat has quit [Ping timeout: 248 seconds]
judd7_ has joined #ruby
centrx has joined #ruby
sambao21 has joined #ruby
bean__ has joined #ruby
scarolan has joined #ruby
Baluse has joined #ruby
mojjojo has quit [Quit: mojjojo]
pskosinski has quit [Quit: http://igg.me/p/597505/x/6111010 Resurrect Revenge Of The Cats: Ethernet As Open-Source Project]
<Baluse> hello
cx has joined #ruby
<Baluse> has anyone installed ror on raspberry pi ?
pel_daniel has joined #ruby
<MrZYX> kinda, but ror talk goes to #RubyOnRails
<havenwood> Baluse: Sinatra yes, but haven't done Rails on Pi.
cx has quit [Client Quit]
freidahpatch has joined #ruby
<Baluse> heh ok
heftig has joined #ruby
<havenwood> Baluse: Considering a Pi Rails project?
mikepack has quit [Remote host closed the connection]
scarolan has quit [Client Quit]
scarolan has joined #ruby
sambao21 has quit [Ping timeout: 260 seconds]
scarolan has quit [Client Quit]
asmodlol has quit [Remote host closed the connection]
scarolan has joined #ruby
deens has joined #ruby
burlyscudd has joined #ruby
xcv has quit [Remote host closed the connection]
<havenwood> so nice to be able to use Ruby on Pi/Beaglebone/Yun etc! :)
Al__ has quit [Quit: Al__]
dodosan has joined #ruby
mikepack has joined #ruby
banjara has joined #ruby
lioninawhat has quit [Remote host closed the connection]
Wolland has joined #ruby
Kricir has joined #ruby
noop has quit [Read error: Operation timed out]
bradhe has joined #ruby
noop has joined #ruby
sassamo has quit [Remote host closed the connection]
mikepack has quit [Remote host closed the connection]
dodosan has quit [Ping timeout: 260 seconds]
kpshek has quit [Ping timeout: 272 seconds]
roberto_ has joined #ruby
nhhagen has quit [Remote host closed the connection]
RaCx has quit [Quit: Computer has gone to sleep.]
bradhe has quit [Ping timeout: 272 seconds]
Nerfherder has joined #ruby
RaCx has joined #ruby
burlyscudd has quit [Ping timeout: 252 seconds]
sassamo has joined #ruby
banjara has quit [Quit: Leaving.]
yarou has quit [Quit: This computer has gone to sleep]
deens has quit [Remote host closed the connection]
roberto_ has quit [Quit: Saliendo]
roberto_ has joined #ruby
atmosx has joined #ruby
bambuka has joined #ruby
venkat has joined #ruby
pixelgremlins has quit [Ping timeout: 260 seconds]
cbetta_afk is now known as cbetta
yarou has joined #ruby
bambuka has quit [Client Quit]
roberto_ has quit [Client Quit]
fenicks has joined #ruby
bambuka has joined #ruby
asmodlol has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
mr_red has quit [Quit: Bye :)]
venkat has quit [Read error: Connection reset by peer]
Vitor has joined #ruby
venkat has joined #ruby
bambuka has quit [Client Quit]
blaxter has quit [Ping timeout: 272 seconds]
roberto_ has joined #ruby
mesamoo has joined #ruby
mikepack has joined #ruby
trickyhero has quit [Remote host closed the connection]
venkat_ has joined #ruby
mikepack has quit [Remote host closed the connection]
mr_red has joined #ruby
roberto_ has quit [Client Quit]
rdark has quit [Quit: leaving]
roberto_ has joined #ruby
ldcicconi has quit [Ping timeout: 260 seconds]
roberto_ has quit [Client Quit]
mesamoo has quit [Client Quit]
<shevy> hmmm
bambuka has joined #ruby
<shevy> rails rails rails
<shevy> all the day it is about rails
<shevy> people don't talk about what else they use ruby for!
RoryHughes has joined #ruby
coder_neo has quit [Quit: This computer has gone to sleep]
nathancahill has quit [Quit: nathancahill]
venkat_ has quit [Read error: Connection reset by peer]
venkat__ has joined #ruby
<TheLarkInn> lol
mikepack has joined #ruby
<TheLarkInn> I will talk to you
<TheLarkInn> one sec shevy I actually have a dece question
zeade has joined #ruby
RoryHughes has quit [Client Quit]
<TheLarkInn> I want to itorate through an array of hashes and then modify the value of each hash if the value is a string
<TheLarkInn> I have this so far
<centrx> Use Rails
rootshift has joined #ruby
venkat has quit [Ping timeout: 272 seconds]
<TheLarkInn> lol hush
mocfive has quit [Quit: Leaving...]
Andrevan has joined #ruby
<TheLarkInn> I'm using sinatra
venkat has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
venkat__ has quit [Read error: Connection reset by peer]
<shevy> TheLarkInn usually you should simplify your data structures as much as possible
<shevy> you could use #each or #find
<shevy> or #select
<shevy> but the best is: you give a sample input, desired output, then the people here can give you the missing ruby code
<TheLarkInn> haha
RaCx has quit [Quit: Computer has gone to sleep.]
venkat has quit [Read error: Connection reset by peer]
smitjel has joined #ruby
soahccc has quit [Read error: Connection reset by peer]
venkat has joined #ruby
<Hanmac> shevy: or for short: give us input and output and he gets the putput ;P
<atmosx> hello
centipedefarmer has quit [Remote host closed the connection]
RaCx has joined #ruby
RoryHughes has joined #ruby
mikepack has quit [Remote host closed the connection]
<atmosx> TheLarkInn: and were's the problem?
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
coder_neo has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
mocfive has joined #ruby
Vitor has quit [Remote host closed the connection]
klaas_ is now known as klaas
<TheLarkInn> one sec
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
centipedefarmer has joined #ruby
trickyhero has joined #ruby
<centrx> In Rails, this is easy, you just just use the do_what_i_want_it_to method
jerius has quit [Ping timeout: 272 seconds]
sassamo has quit [Read error: Connection reset by peer]
venkat_ has quit [Read error: Connection reset by peer]
RaCx has quit [Ping timeout: 252 seconds]
w4pm has joined #ruby
<apeiros> wow, you guys are being helpful today…
venkat has joined #ruby
sassamo has joined #ruby
mccraig has left #ruby [#ruby]
<Hanmac> are you sure about the "to_utf8" method? that does not look very "rubylike" ... what ruby version is that? 1.6 ? ,P
Jork1 has joined #ruby
<atmosx> I'm talking with my gf, on facetime if she takes notice that I'm talking at the same time to random-guy-on-irc I'll be single before executing a 10-array loop.
jerius has joined #ruby
venkat_ has joined #ruby
<atmosx> llol
venkat has quit [Read error: Connection reset by peer]
<MrZYX> TheLarkInn: your map is a each, and you can do row.each do |key, value| row[key] = value.encode('utf-8') if value.is_a? String; end but looks fine in general
chrisseaton has quit []
chipotle has joined #ruby
chipotle has quit [Max SendQ exceeded]
smitjel has quit [Quit: smitjel]
coca_rails has joined #ruby
chipotle has joined #ruby
<Hanmac> MrZYX: or maybe he needs #force_encoding
<centrx> atmosx, Can you use voice-to-text to output everything she says in here?
<atmosx> centrx: you want dead, don't you?
venkat_ has quit [Read error: Connection reset by peer]
<centrx> atmosx, Rails can do it...
w4pm has quit [Read error: Operation timed out]
venkat has joined #ruby
tobago has quit [Remote host closed the connection]
IcyDragon has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
<Hanmac> atmosx: imo an gf need to accept that sometimes you need to help your friends (there in irc) ;P
nathancahill has joined #ruby
venkat has quit [Read error: Connection reset by peer]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
browndawg has quit [Quit: Leaving.]
IceDragon has quit [Ping timeout: 272 seconds]
venkat has joined #ruby
sassamo has quit [Remote host closed the connection]
IcyDragon is now known as IceDragon
baordog_ has joined #ruby
coca_rails has quit [Ping timeout: 240 seconds]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
<centrx> TheLarkInn, Are you okay?
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
einarj has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
banister has joined #ruby
habanany1 has joined #ruby
zahna has quit [Read error: Operation timed out]
RaCx has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
<TheLarkInn> oops sorry I'm here
<TheLarkInn> let me read upwards
kpshek has joined #ruby
dfranciosi has quit [Remote host closed the connection]
RaCx has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
RaCx has joined #ruby
xcv has joined #ruby
venkat has joined #ruby
zahna has joined #ruby
g0bl1n has quit [Ping timeout: 264 seconds]
OBecki has joined #ruby
rootshift has joined #ruby
banjara has joined #ruby
justsee has joined #ruby
<OBecki> Hi - I built my website with Jekyll and host on GitHub pages. Does anyone have advice on how I might setup a form for a newsletter?
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
v0n has joined #ruby
stringoO has quit [Ping timeout: 265 seconds]
deception has joined #ruby
atraylen has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
einarj has quit [Remote host closed the connection]
venkat has joined #ruby
dangerousdave has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
venkat has quit [Read error: Connection reset by peer]
mocfive has quit [Remote host closed the connection]
nhhagen has joined #ruby
venkat has joined #ruby
asteros has joined #ruby
mojjojo has joined #ruby
zigomir has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
trickyhero has quit [Read error: Connection reset by peer]
noop has quit [Ping timeout: 264 seconds]
chrisseaton has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
mary5030 has joined #ruby
nari has quit [Ping timeout: 246 seconds]
Hobogrammer has quit [Ping timeout: 248 seconds]
<Hanmac> OBecki: is that a #rubyonrails question?
mikepack has joined #ruby
<havenwood> Hanmac: :P
<TheLarkInn> and Hanmac, that method is one I wrote myself, I was more talking about the "converting all values in a hash" part that I was curious about.
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
fijimunkii has joined #ruby
<havenwood> TheLarkInn: Can you give example input and expected output? Like: I have {a: :b} and want {"a", "b"}
ChaoticEntity has joined #ruby
RoryHughes has quit []
venkat has quit [Read error: Connection reset by peer]
<OBecki> @Hanmac - is there a better place for the question? I was advised that #ruby might be able to help
nhhagen has quit [Ping timeout: 252 seconds]
venkat has joined #ruby
<Hanmac> OBecki: thats what i ask ... does it use rails or not?
<havenwood> OBecki: This is the right place, or one of the right places at least!
<havenwood> Hanmac: Jekyll with Rails?
<TheLarkInn> I see what you mean yeah I might have a real world example
<centrx> OBecki, Try this: http://getsimpleform.com/
RoryHughes has joined #ruby
<centrx> OBecki, It is linked from the Jekyll website
<Hanmac> havenwood: i never used jekyll how should i know?
nhhagen has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
RoryHughes has quit [Remote host closed the connection]
scarolan has quit [Quit: leaving]
<havenwood> Hanmac: Ahh, thought you were joking due to all this morning's talk of rails and #rubyonrails, nvm.
<centrx> OBecki, http://rubygems.org/gems/simple_form rather, I guess getsimpleform.com is a site to test it out
venkat has quit [Read error: Connection reset by peer]
RoryHughes has joined #ruby
venkat has joined #ruby
leksfarm has joined #ruby
bradhe has joined #ruby
Davey_ has joined #ruby
freezey has joined #ruby
habanany has joined #ruby
venkat has quit [Read error: Connection reset by peer]
stegniy has joined #ruby
dodosan has joined #ruby
venkat has joined #ruby
fayimora has joined #ruby
ChaoticEntity has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
punkzio has joined #ruby
<fayimora> Hi does anyone know if redcarpet supports something like this(http://kramdown.gettalong.org/syntax.html#block-ials) ??
mrsolo has joined #ruby
freerobby has quit [Quit: Leaving.]
chaos_ has joined #ruby
<havenwood> OBecki: simple_form that centrx mentioned sounds right, it is what Jekyll has on their resources page: http://jekyllrb.com/docs/resources/
venkat has quit [Read error: Connection reset by peer]
tyl has joined #ruby
venkat has joined #ruby
<havenwood> i've never used it with jekyll, sounds like a nice thing
nhhagen has quit [Ping timeout: 252 seconds]
<havenwood> i think sometimes i should be using Jekyll a bit more where i just use Sinatra
chaos_ is now known as soahccc
Andrevan has quit [Quit: WeeChat 0.4.2-rc1]
freezey has quit [Ping timeout: 246 seconds]
bradhe has quit [Ping timeout: 272 seconds]
venkat has quit [Read error: Connection reset by peer]
mocfive has joined #ruby
venkat has joined #ruby
<OBecki> Thanks!
<ReachingFarr> Is there an easy way to see if an object's class has been extended by a specific module?
justsee has quit [Quit: leaving]
mojjojo has quit [Quit: mojjojo]
achru has joined #ruby
<havenwood> OBecki: might get some more detailed info in #jekyll, good luck!
dodosan has quit [Ping timeout: 260 seconds]
xcv has quit [Remote host closed the connection]
<MrZYX> ReachingFarr: hm, maybe ancestors.include? Module
<ReachingFarr> MrZYX: Thanks.
mocfive_ has joined #ruby
rootshift has joined #ruby
<MrZYX> ReachingFarr: but if you want to do that for parameter validation, just assume it is
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
trickyhero has joined #ruby
sparrovv has quit [Remote host closed the connection]
cbetta is now known as cbetta_afk
freezey has joined #ruby
decoponio has quit [Quit: Leaving...]
<Hanmac> ReachingFarr: object.is_a?(Module) works for extended too
<ReachingFarr> Hanmac: Hmm, it didn't work when I just did it in Pry.
venkat has joined #ruby
<ReachingFarr> MrZYX: This is to see if the user of my library has extended an argument with a provided module. If so, I need to handle that argument a bit differently.
claymore has quit [Ping timeout: 265 seconds]
<havenwood> ReachingFarr: shouldn't be in ancestors (if extended, right?) but is_a? should work
venkat_ has quit [Read error: Connection reset by peer]
Hobogrammer has joined #ruby
sassamo has joined #ruby
<MrZYX> ReachingFarr: sounds suspicious tbh
<ReachingFarr> havenwood: obj.class.is_a?(Module) works.
mojjojo has joined #ruby
mocfive has quit [Ping timeout: 260 seconds]
<MrZYX> hmm
<ReachingFarr> MrZYX: How so?
mary5030_ has joined #ruby
<apeiros> obj.class will never be is_a? Module
<apeiros> unless you f'ck up .class manually
<MrZYX> >> module Foo; end; class Bar; include Foo; end; [Bar.new.is_a?(Foo), Bar.ancestors.include?(Foo)]
<eval-in> MrZYX => [true, true] (https://eval.in/92453)
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
<apeiros> well, actually it will always be
mary5030_ has quit [Remote host closed the connection]
<apeiros> since classes are modules
<apeiros> sob, keeping it short, obj.class.is_a?(Module) is a tautology
mary5030_ has joined #ruby
<havenwood> >> module A end; class B; extend A end; B.is_a? A
<eval-in> havenwood => true (https://eval.in/92454)
<MrZYX> ReachingFarr: it sounds like those should be two methods
venkat_ has quit [Read error: Connection reset by peer]
<ReachingFarr> apeiros: Sorry, I didn't mean the actual Module module. That was just a placeholder for my own module.
trickyhero has quit [Remote host closed the connection]
RoryHughes has quit []
<apeiros> ah
venkat has joined #ruby
<ReachingFarr> >> module A end; class B; extend A end; B.new.is_a? A
<eval-in> ReachingFarr => false (https://eval.in/92455)
<havenwood> ReachingFarr: B.new.class.is_a? A
stegniy has quit [Ping timeout: 246 seconds]
mary5030 has quit [Ping timeout: 260 seconds]
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
<ReachingFarr> havenwood: Right, that is what I'll probably end up doing. I'm also checking to see if it is more appropriate to include the module instead of extending it.
<havenwood> ReachingFarr: Do you want a class methods or instance methods?
krawchyk has quit []
<MrZYX> ReachingFarr: maybe explain what all this really is about
<shevy> money
<shevy> it's all about the money
venkat_ has quit [Read error: Connection reset by peer]
<ReachingFarr> havenwood: Sorry, having to review code. Haven't touched this project in a while.
venkat has joined #ruby
<ReachingFarr> It is a class method, so I believe extending is correct.
alvaro_o has joined #ruby
<MrZYX> shevy: sure,step 1) ruby, step 2) ..., step 3) profit. I'm still interested in step 2) though ;)
trickyhero has joined #ruby
asmodlol has quit [Remote host closed the connection]
polysics has joined #ruby
soahccc has quit [Remote host closed the connection]
Wolland has quit [Remote host closed the connection]
mary5030_ has quit [Ping timeout: 252 seconds]
<ReachingFarr> I'd actually love to get some feedback from other Rubyists about this project, so I'll post a link as soon as I've pushed the changes I just made to Github.
dEPy has joined #ruby
siwica has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
lukec has quit [Quit: lukec]
sepp2k has quit [Read error: Connection reset by peer]
banjara has quit [Quit: Leaving.]
<dEPy> eyo
venkat has joined #ruby
ph8 has joined #ruby
<dEPy> I need some help with metaprogramming, I have this: https://gist.github.com/depy/1386b80317f49dd787e3 and on line 8 I want to call original method (variable m) :abc
<ReachingFarr> Here you can see it in action: https://github.com/chriswailes/filigree/blob/master/test/tc_match.rb
trickyhero has quit [Remote host closed the connection]
venkat has quit [Read error: Connection reset by peer]
<MrZYX> dEPy: send(m, *args)
venkat has joined #ruby
claymore has joined #ruby
sparrovv has joined #ruby
trickyhero has joined #ruby
<dEPy> oh, nice.. tnx
venkat_ has quit [Ping timeout: 264 seconds]
centrx has quit [Remote host closed the connection]
kate_r has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
centrx has joined #ruby
venkat has quit [Read error: Connection reset by peer]
sassamo has quit [Read error: Connection reset by peer]
venkat has joined #ruby
sassamo has joined #ruby
RoxasShadowRS has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
Davey has quit [Quit: IRCRelay - http://ircrelay.com]
ndrei has quit [Ping timeout: 272 seconds]
sassamo has quit [Read error: Connection reset by peer]
chaos_ has joined #ruby
sassamo has joined #ruby
lmickh has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
chaos_ is now known as soahccc
Wolland has joined #ruby
robbyoconnor has quit [Ping timeout: 264 seconds]
pmlarocque has quit [Quit: pmlarocque]
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
mengu has joined #ruby
Davey_ has quit [Remote host closed the connection]
sassamo has quit [Read error: Connection reset by peer]
venkat has quit [Read error: Connection reset by peer]
sassamo has joined #ruby
venkat has joined #ruby
Davey has joined #ruby
<dEPy> if there any way to check arity of some instance method on some class?
kbouwser has joined #ruby
venkat has quit [Read error: Connection reset by peer]
shaunbaker has joined #ruby
venkat has joined #ruby
brennanMKE has joined #ruby
Maitiu has joined #ruby
<havenwood> >> def hi you; you end; method(:hi).arity
<eval-in> havenwood => 1 (https://eval.in/92461)
<havenwood> dEPy: ^
achru has quit [Remote host closed the connection]
venkat has quit [Read error: Connection reset by peer]
asteros has quit [Quit: asteros]
<Hanmac> >> def hi you; you end; method(:hi).parameters
<eval-in> Hanmac => [[:req, :you]] (https://eval.in/92462)
theodorDiaconu has joined #ruby
sambao21 has joined #ruby
venkat has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
<havenwood> Hanmac: ahh, interesting ;) that is neat
achru has joined #ruby
pixelgremlins has joined #ruby
<theodorDiaconu> hello all, I'm using ubuntu, and I encounter lots and lots of problems with bundler, gem and capifony. let's start with bundler, I get this upon bundle install: http://pastebin.com/1YiSqdKH
mojjojo has quit [Quit: mojjojo]
<theodorDiaconu> $ ruby -v = ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux]
<havenwood> theodorDiaconu: sudo apt-get install -y ruby1.9.1-full
beneggett has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
<havenwood> theodorDiaconu: You need to be able to build native extensions for gems that have them.
<theodorDiaconu> ok
gja has quit [Quit: This computer has gone to sleep]
<ReachingFarr> MrZYX: Did you take a look at the links posted?
<ReachingFarr> If not, that's fine, but you asked what this was about :-)
<Hanmac> havenwood: #parameters is not C-aware that means for C functions it does not work
zeade has quit [Ping timeout: 272 seconds]
venkat has joined #ruby
zeade has joined #ruby
coca_rails has joined #ruby
<MrZYX> ReachingFarr: quickly. you use tabs for indentation so the code is hard to read (on github) and I've no clue what it is about
<havenwood> Hanmac: aha, crazy. i've never used it!
sambao21 has quit [Ping timeout: 272 seconds]
<ReachingFarr> MrZYX: Haha, yeah. I wish there was a way to adjust Github's tab indent size.
achru has quit [Ping timeout: 248 seconds]
camilasan has joined #ruby
<ReachingFarr> MrZYX: This is an implementation of pattern matching in Ruby. The helper functions in the test file are the best example.
Hanmac1 has joined #ruby
venkat__ has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
maxmanders_ has joined #ruby
danshultz has quit [Read error: Connection reset by peer]
jerius has quit [Ping timeout: 260 seconds]
aantix has quit [Quit: aantix]
freerobby has joined #ruby
<MrZYX> well most ruby people use two spaces
venkat__ has quit [Read error: Connection reset by peer]
danshultz has joined #ruby
mojjojo has joined #ruby
venkat_ has joined #ruby
asteros has joined #ruby
mary5030 has joined #ruby
ndrei has joined #ruby
Hanmac has quit [Ping timeout: 265 seconds]
venkat has quit [Ping timeout: 260 seconds]
ereslibre has quit []
coca_rails has quit [Ping timeout: 240 seconds]
juristic has joined #ruby
maasha has joined #ruby
<ReachingFarr> MrZYX: Yeah, and I do appreciate the community momentum behind that, but I don't think it gives enough visual cue for different levels of blocks.
fantazo has joined #ruby
maxmanders_ has quit [Client Quit]
<ReachingFarr> MrZYX: And people can always set tabs to be two spaces on their own editor.
zigomir has joined #ruby
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
maxmanders_ has joined #ruby
rootshift has joined #ruby
bluOxigen has quit [Ping timeout: 272 seconds]
banjara has joined #ruby
<maasha> Hi
venkat has quit [Read error: Connection reset by peer]
ktosiek has joined #ruby
mikepack has quit [Remote host closed the connection]
venkat has joined #ruby
siwica has quit [Remote host closed the connection]
ereslibre has joined #ruby
ereslibre has joined #ruby
ereslibre has quit [Changing host]
nfk has quit [Quit: yawn]
<havenwood> ReachingFarr: Any editor worth salt has soft tabs. Two-space soft-tabs ftw.
venkat has quit [Read error: Connection reset by peer]
<havenwood> ReachingFarr: It is a pretty strong convention in the Ruby community (heck, even starting to see Bash projects move that way.. :O)
<ReachingFarr> havenwood: Right, but I like tabs to be 5 spaces. Someone else can set tabs to be two spaces on their machine... but I'd rather not re-start one of the great holy wars here.
venkat has joined #ruby
<havenwood> ick
<havenwood> :P
mikepack has joined #ruby
<ReachingFarr> Any comments on the code besides on my indenting style? :-D
leonidlm has joined #ruby
shaunbaker has quit [Remote host closed the connection]
venkat has quit [Read error: Connection reset by peer]
figgleberry has quit [Ping timeout: 265 seconds]
agent_white has joined #ruby
shaunbaker has joined #ruby
venkat has joined #ruby
asteros has quit [Quit: asteros]
Cephalostrum has quit []
nfk has joined #ruby
nfk has quit [Changing host]
nfk has joined #ruby
asteros has joined #ruby
kristiandelay has quit [Remote host closed the connection]
bambuka has quit [Remote host closed the connection]
nhhagen has joined #ruby
<waxjar> ReachingFarr: the match_test_* methods is how it's used?
venkat_ has joined #ruby
<ReachingFarr> waxjar: Yup, the match_tester_* methods.
venkat has quit [Read error: Connection reset by peer]
zeade has quit [Ping timeout: 272 seconds]
<waxjar> (also please start using spaces, it's not just the indentation that's off, but also the alignment ;))
cbetta_afk is now known as cbetta
<ReachingFarr> I am going to start using spaces for alignment.
camilasan has quit [Ping timeout: 246 seconds]
<atmosx> vim uses tabs I think
coffeina has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
<atmosx> by default
venkat has joined #ruby
<lethjakman> does abstract! do anything?
<havenwood> don't most vim users just change that though?
<lethjakman> or is it just notation?
<snkcld> is it possible to trace a block, and to print out each function name which is executed in that block?
<snkcld> i want to see whats going on exactly, inside a specific block
danshultz has quit [Read error: Connection reset by peer]
<lethjakman> havenwood: definitely
shaunbak_ has joined #ruby
danshultz has joined #ruby
cbetta is now known as cbetta_afk
<havenwood> ReachingFarr: Some people would say avoid `and` and `or` but since you're properly using for flow control i see no prob.
<waxjar> ReachingFarr: it looks pretty nice, tho the Foo.(...) stuff is very unclear
venkat has quit [Read error: Connection reset by peer]
mengu has quit []
<atmosx> havenwood: don't know, I'm hardly *most vim users*, I don't see any reason to change the identation, works fine for me as it is.
noyb has joined #ruby
venkat has joined #ruby
<havenwood> ReachingFarr: Seems like maybe worth pulling content of Fixnum/Float/String at the end into a module to include, just to DRY up a bit
bradhe has joined #ruby
Spami_ has quit [Quit: This computer has gone to sleep]
Jetchisel has joined #ruby
lioninawhat has joined #ruby
Loaft has joined #ruby
<havenwood> ReachingFarr: using ternary like `@block ? env.instance_exec(&@block) : nil` is usually preferred to a one-line if/else/end: @block ? env.instance_exec(&@block) : nil
<ReachingFarr> havenwood: I was debating that. I want people to be able to include the specific features they want out o my library, so I put the pattern matching stuff all in a single file. If people were just going to require the entire library I could definitely put those extensions into their own files.
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
<havenwood> ReachingFarr: aha
<havenwood> accidentally pasted code twice above, instead of code and link
colonolGron has quit [Ping timeout: 272 seconds]
<dEPy> line 37 I pass result into block call and nothing is printed but If I put in 123 (hardcoded) it gets printed out, any idea? https://gist.github.com/depy/976c97473472734f496e
habanany1 has quit [Remote host closed the connection]
shaunbaker has quit [Ping timeout: 260 seconds]
venkat_ has quit [Read error: Connection reset by peer]
asteros has quit [Quit: asteros]
smitjel has joined #ruby
<ReachingFarr> havenwood: NP. Thanks for taking a look at this. This is all features I wanted for Ruby, but I didn't know if anyone else would use them.
Virtualize has quit [Quit: Leaving...]
venkat has joined #ruby
spyderman4g63 has quit []
<havenwood> ReachingFarr: an option for lines like 194 is to use #pred instead of #-(1), which i kinda like but usually you see people use `- 1`
jhaals has joined #ruby
<havenwood> pred/succ
<havenwood> instead of -1/+1
dodosan has joined #ruby
leksfarm has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 246 seconds]
<havenwood> ReachingFarr: I don't get what it does, but I don't see anything wrong either! :P
agent_wh1te has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
agent_wh1te has quit [Client Quit]
agent_wh1te has joined #ruby
lethjakm1 has joined #ruby
<ReachingFarr> havenwood: It's a way to quickly match patterns in structures and extract values out of the structures and assign them to variables.
venkat_ has quit [Read error: Connection reset by peer]
lethjakman has quit [Ping timeout: 260 seconds]
venkat has joined #ruby
<havenwood> aha
dblessing_ has joined #ruby
mehlah has joined #ruby
Hobogrammer_ has joined #ruby
OBecki has left #ruby [#ruby]
kristiandelay has joined #ruby
<ReachingFarr> havenwood: Imagine you have a complicated tree data structure and you wanted to handle several different forms this tree could take on. Rather than writing a bunch of if-statements and accessors you can match on the types and assign values to names. You see this feature a lot in functional languages like OCaml
Virtualize has joined #ruby
<havenwood> ReachingFarr: Aha. Kinda sounds like TSort but with twists or something. Neat. TSort btw (kinda obscure): http://ruby-doc.org/stdlib-2.1.0/libdoc/tsort/rdoc/TSort.html
venkat has quit [Read error: Connection reset by peer]
agent_white has quit [Ping timeout: 272 seconds]
venkat has joined #ruby
<ReachingFarr> havenwood: Here is the first explanation I could find online: http://caml.inria.fr/pub/docs/oreilly-book/html/book-ora016.html
dodosan has quit [Ping timeout: 260 seconds]
camilasan has joined #ruby
venkat has quit [Read error: Connection reset by peer]
sambao21 has joined #ruby
venkat has joined #ruby
dblessing_ has quit [Read error: Operation timed out]
asteros has joined #ruby
dblessing has quit [Ping timeout: 252 seconds]
Hobogrammer has quit [Ping timeout: 272 seconds]
klaut has joined #ruby
<dEPy> if I do: send(:abc, *args) and use that result to call a block, this should work?
<dEPy> because it does not here: https://gist.github.com/depy/976c97473472734f496e :S
zz_cephalostrum has joined #ruby
vlad_starkov has joined #ruby
venkat_ has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
vlad_starkov has quit [Remote host closed the connection]
venkat has quit [Read error: Connection reset by peer]
<atmosx> anyone good with HAML?
tyl has quit [Remote host closed the connection]
sassamo has quit [Read error: Connection reset by peer]
<jkamenik> atmosx: as good as any, why?
tyl has joined #ruby
sassamo has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
jerius has joined #ruby
<centrx> dEPy, What is the error?
venkat has joined #ruby
<dEPy> centrx: no error, the result just is not printed, like it's empty
vlad_starkov has joined #ruby
<dEPy> centrx: but if I print it out just after I get the result it's there
cjsarette has joined #ruby
<dEPy> just not printed when I call the block with it
vlad_starkov has quit [Remote host closed the connection]
sambao21 has quit [Ping timeout: 272 seconds]
<atmosx> In this gist: https://gist.github.com/atmosx/8529163 I'm using the variable @user in line 14. Can I somehow use the choice made below? Like if I do something like '@chosen_user = user' can I use '@chosen_user' later on in order to make some selection based on the prior selection?
venkat has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
tyl has quit [Client Quit]
venkat has joined #ruby
klaut has quit [Ping timeout: 272 seconds]
tyl has joined #ruby
zz_cephalostrum is now known as cephalostrum
venkat_ has joined #ruby
kpshek has quit []
venkat has quit [Read error: Connection reset by peer]
<cephalostrum> test
<cephalostrum> what
<jkamenik> atmosx: depend on what you want to do
<jkamenik> atmosx: I will comment on the gist
<atmosx> jkamenik: I need a second %select down which depends on the one above
<atmosx> jkamenik: okay thanks for your time :-)
_Andres has quit [Read error: Connection reset by peer]
<centrx> dEPy, Very strange
zoscoy has joined #ruby
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<dEPy> centrx: why, does it work for you?
scarolan has joined #ruby
venkat has joined #ruby
scarolan has quit [Client Quit]
<centrx> hmm I guess this is complete code?
venkat_ has quit [Read error: Connection reset by peer]
cephalostrum has quit [Quit: ZNC - http://znc.in]
aalmenar has quit [Quit: No Ping reply in 180 seconds.]
<dEPy> centrx: yes it is
cephalostrum has joined #ruby
scarolan has joined #ruby
Vitor has joined #ruby
leonidlm has quit [Ping timeout: 252 seconds]
scarolan has quit [Client Quit]
zeade has joined #ruby
venkat_ has joined #ruby
scarolan has joined #ruby
aalmenar has joined #ruby
aalmenar has joined #ruby
scarolan has quit [Client Quit]
avalarion has quit [Quit: No Ping reply in 180 seconds.]
slash_nick has quit [Changing host]
slash_nick has joined #ruby
<centrx> dEPy, It looks like before_hook has result = 42, while after_hook has result = nil
avalarion has joined #ruby
Spami_ has joined #ruby
<centrx> So the block call is working as expected
scarolan has joined #ruby
<centrx> dEPy, I think it is something with the swapping of the method and temp_method etc
coffeina has quit [Quit: Wychodzi]
<dEPy> centrx: oh, could be yes
venkat_ has quit [Read error: Connection reset by peer]
venkat__ has joined #ruby
centrx is now known as not-a-bot
scarolan has quit [Client Quit]
dscrd has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.2]
scarolan has joined #ruby
agent_wh1te is now known as agent_white
juristic has quit [K-Lined]
venkat has quit [Ping timeout: 272 seconds]
venkat__ has quit [Read error: Connection reset by peer]
<jkamenik> atmosx: I commented, hopefully one of the comments helps
venkat has joined #ruby
zoscoy has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
jkamenik has left #ruby [#ruby]
<atmosx> ops he left
colonolGron has joined #ruby
jkamenik has joined #ruby
not-a-bot is now known as centrx
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
aspires has quit []
dr_bob has joined #ruby
venkat has quit [Read error: Connection reset by peer]
sassamo has quit [Remote host closed the connection]
venkat has joined #ruby
theodorDiaconu has quit [Ping timeout: 260 seconds]
scarolan has quit [Quit: leaving]
venkat has quit [Read error: Connection reset by peer]
dEPy has quit [Quit: Computer has gone to sleep.]
lioninawhat has quit [Remote host closed the connection]
venkat has joined #ruby
echevemaster has joined #ruby
venkat has quit [Read error: Connection reset by peer]
soulcake has quit [Ping timeout: 260 seconds]
venkat has joined #ruby
scarolan has joined #ruby
dscrd has quit [Quit: .]
venkat has quit [Read error: Connection reset by peer]
aantix has joined #ruby
dr_bob has quit [Quit: Leaving.]
figgleberry has joined #ruby
venkat has joined #ruby
dr_bob has joined #ruby
Jetchisel has quit [Ping timeout: 256 seconds]
venkat has quit [Read error: Connection reset by peer]
soahccc has quit [Remote host closed the connection]
venkat has joined #ruby
mansi has quit [Read error: Connection reset by peer]
mansi has joined #ruby
polysics has quit [Ping timeout: 272 seconds]
iliketurtles has joined #ruby
venkat has quit [Read error: Connection reset by peer]
maasha has quit [Quit: Page closed]
iliketurtles has quit [Excess Flood]
venkat has joined #ruby
Yu\2 has joined #ruby
itadder has joined #ruby
echevemaster is now known as echevemaster_afk
<itadder> bah I am confused
claymore has quit [Ping timeout: 248 seconds]
<TheLarkInn> laod noises
<itadder> what is it Print "Your State is" #{state} or Print "Your State is" {state}
kristiandelay has quit [Remote host closed the connection]
Jork1 has quit [Quit: Jork1]
<TheLarkInn> print "Your state is #{state}"
venkat_ has joined #ruby
<havenwood> itadder: That isn't Ruby!
venkat has quit [Read error: Connection reset by peer]
<MrZYX> the second form would pass a block to print that returns the state variable
<TheLarkInn> that is called string interpolation
baroquebobcat has quit [Quit: baroquebobcat]
<TheLarkInn> so think of it like its being put INTO a string
<TheLarkInn> and print should be print not Print
<itadder> oh
<TheLarkInn> I don't know if capital p would work
fede__ has quit [Read error: Operation timed out]
<itadder> no wonder
<TheLarkInn> I expect not
<itadder> no it will not
<MrZYX> (not that print would do anything with that block, it'll just ignore it)
<bnagy> it's a syntax error
<TheLarkInn> lol havenwood, did you think it looked like BASIC
<TheLarkInn> :-P
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
<havenwood> hehe
nathancahill has quit [Quit: nathancahill]
a-priori has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 260 seconds]
nobitanobi has joined #ruby
<bnagy> >> print("foo") {true}
<eval-in> bnagy => foonil (https://eval.in/92475)
<bnagy> that's kind of cool though
mansi has quit [Read error: Connection reset by peer]
dscrd has joined #ruby
venkat_ has joined #ruby
claymore has joined #ruby
mansi has joined #ruby
venkat has quit [Read error: Connection reset by peer]
<TheLarkInn> lol
dr_bob has left #ruby [#ruby]
kpshek has joined #ruby
dscrd_ has joined #ruby
lethjakm1 is now known as lethjakman
<itadder> thanks
coca_rails has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
<itadder> yea I made a syntax error
<TheLarkInn> no prob
<bnagy> guess the parser makes the block available for yield
robbyoconnor has joined #ruby
dr_bob1 has joined #ruby
venkat has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
venkat has joined #ruby
dscrd- has joined #ruby
dscrd has quit [Quit: .]
dscrd- is now known as dscrd
atraylen has quit [Ping timeout: 272 seconds]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
dr_bob1 has quit [Client Quit]
coca_rails has quit [Ping timeout: 240 seconds]
bitri has joined #ruby
SilentHobo has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
venkat_ has quit [Read error: Connection reset by peer]
nathancahill has joined #ruby
venkat has joined #ruby
jayne has joined #ruby
dEPy has joined #ruby
zeade has quit [Ping timeout: 248 seconds]
Nerfherder has quit [Quit: Vini, vidi, velcro. I came. I saw. I stuck around.]
dscrd_ has quit [Ping timeout: 252 seconds]
zeade has joined #ruby
maletor has joined #ruby
dEPy has quit [Client Quit]
venkat has quit [Read error: Connection reset by peer]
r0nin_ has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
soulcake has joined #ruby
venkat has joined #ruby
colonolGron has left #ruby [#ruby]
bitri has quit [Client Quit]
Hobogrammer_ has quit [Read error: Operation timed out]
bitri has joined #ruby
asmodlol has joined #ruby
dscrd has quit [Quit: ZNC - http://znc.in]
zeade has quit [Client Quit]
SHyx0rmZ has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
ndrei has quit [Quit: Lost terminal]
r0nin has quit [Ping timeout: 248 seconds]
ndrei has joined #ruby
monkegjinni has quit [Remote host closed the connection]
soulcake has quit [Client Quit]
dscrd has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
36DAB7TAI has joined #ruby
<RubyPanther> >>> puts( "Do you believe?" ) { raise "in ghost code?" }
<eval-in> RubyPanther => /tmp/execpad-2e54b5ac94b4/source-2e54b5ac94b4:2: syntax error, unexpected '>' ... (https://eval.in/92477)
dscrd has quit [Client Quit]
<RubyPanther> oops
xcv has joined #ruby
venkat_ has joined #ruby
burlyscudd has joined #ruby
venkat has quit [Read error: Connection reset by peer]
DaZ has quit [Quit: ZNC - http://znc.in]
ndrei has quit [Client Quit]
ndrei has joined #ruby
noyb has quit [Quit: leaving]
<itadder> sorry due to my adhd I am on three channels at once
ndrei has quit [Client Quit]
venkat has joined #ruby
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
venkat_ has quit [Read error: Connection reset by peer]
asteros has quit [Quit: asteros]
ndrei has joined #ruby
ndrei has quit [Client Quit]
mojjojo has quit [Quit: mojjojo]
ndrei has joined #ruby
<TheLarkInn> Any Sequel gem pros out there?
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
<TheLarkInn> Had a question about defining Model classes for separate databases in the same app
assurbanipal has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
asteros has joined #ruby
seoNinjaWarrior has quit [Quit: Computer has gone to sleep.]
seoNinjaWarrior has joined #ruby
baroquebobcat has joined #ruby
venkat has quit [Read error: Connection reset by peer]
dodosan has joined #ruby
venkat has joined #ruby
johnmilton has joined #ruby
36DAB7TAI has quit [K-Lined]
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
smitjel has quit [Quit: smitjel]
fijimunkii has quit [Ping timeout: 272 seconds]
IceyEC has quit [Quit: IceyEC]
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
fijimunkii has joined #ruby
Virtualize has quit [Quit: Leaving...]
dodosan has quit [Ping timeout: 248 seconds]
venkat has quit [Read error: Connection reset by peer]
agjacome has quit [Ping timeout: 252 seconds]
romdi has joined #ruby
venkat has joined #ruby
kaldrenon has quit [Remote host closed the connection]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
itadder has quit []
bondar has joined #ruby
bondar has quit [Max SendQ exceeded]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
jedimind has quit [Quit: screw you guys, im going home]
aspires has joined #ruby
robbyoconnor has quit [Ping timeout: 272 seconds]
venkat has quit [Read error: Connection reset by peer]
<wormwood> Anyone prefer Puppet over Chef? If so, any reason in particular?
venkat has joined #ruby
ckinni_ has joined #ruby
ckinni has quit [Ping timeout: 246 seconds]
soulcake has joined #ruby
heftig has quit [Quit: Quitting]
vlad_sta_ has joined #ruby
<romdi> a = Hash.new([]); a['b'] << 'foo'; a
ktosiek has quit [Ping timeout: 260 seconds]
<romdi> can someone tell me why this returns an empty hash?
danshultz has quit [Remote host closed the connection]
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
<romdi> I can still access 'foo' via a['b'], but the hash shows empty when I output it and a.keys gives me an empty array
<apeiros> romdi: because you don't add a key to your hash
<apeiros> what you do is access a non-existing key.
<apeiros> that returns the default value (which is NOT assigned to a key in the hash)
<apeiros> and you push a value to that default value
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> >> a = Hash.new([]); a['b'] << 'foo'; a.default
<eval-in> apeiros => ["foo"] (https://eval.in/92493)
<romdi> apeiros: ah that makes sense
magoo has joined #ruby
<romdi> thanks
jkamenik has quit [Quit: Leaving.]
<apeiros> you want Hash.new { |h,k| h[k] = [] }
heftig has joined #ruby
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
<romdi> interesting
venkat has joined #ruby
Yu\2 has quit [Quit: Leaving]
venkat_ has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Ping timeout: 264 seconds]
phipes has joined #ruby
phipes has quit [Remote host closed the connection]
Speed has left #ruby ["WeeChat 0.4.2"]
zigomir has quit [Remote host closed the connection]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
ndrei has quit [Read error: Operation timed out]
asteros has quit [Quit: asteros]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
venkat has quit [Read error: Connection reset by peer]
m00nlight has quit [Quit: Konversation terminated!]
venkat has joined #ruby
iliketurtles has joined #ruby
iliketurtles has quit [Excess Flood]
banjara has quit [Quit: Leaving.]
madb055 has joined #ruby
mehlah has quit [Ping timeout: 260 seconds]
angusiguess has quit [Ping timeout: 245 seconds]
iliketurtles has joined #ruby
sparrovv has quit [Remote host closed the connection]
RaCx has quit [Quit: Computer has gone to sleep.]
venkat has quit [Read error: Connection reset by peer]
marr has quit [Ping timeout: 246 seconds]
venkat has joined #ruby
mojjojo has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
<lethjakman> is there some sort of light sendmail built into ruby
<lethjakman> ?
ndrei has joined #ruby
havenwood has joined #ruby
max96at has quit [Quit: Textual IRC Client: www.textualapp.com]
phansch has quit [Quit: Leaving]
<apeiros> lethjakman: no. I'd suggest to use the Mail gem
venkat_ has joined #ruby
<atmosx> pony?
<lethjakman> apeiros: is it pretty light? I was looking at pony too. I'm already using actionmailer, but it doesn't support multiple clients and I need a sendmail one as well as my smtp
<apeiros> clients?
<apeiros> are you sure you're talking about sendmail?
<atmosx> sendmail?
<atmosx> lol
<apeiros> atmosx: pony builds up on the mail gem. but yes, an option.
cbetta_afk is now known as cbetta
<apeiros> lethjakman: it's easy to use.
venkat_ has quit [Read error: Connection reset by peer]
<apeiros> I don't know what you consider light. I suggest you check yourself.
<lethjakman> sorry, I mean I need to have some things come out of sendmail and others to go through my smtp server
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
fantazo has quit [Ping timeout: 252 seconds]
banjara has joined #ruby
prc has joined #ruby
venkat has joined #ruby
shaunbak_ has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
shaunbaker has joined #ruby
justsee has joined #ruby
justsee has quit [Client Quit]
burlyscudd has quit [Quit: Leaving.]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
Xiti has quit [Quit: Leaving]
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ndrei has quit [Ping timeout: 260 seconds]
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
venkat has quit [Read error: Connection reset by peer]
ndrei has joined #ruby
venkat has joined #ruby
Pixels has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
deens has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
camilasan has quit [Ping timeout: 260 seconds]
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
banjara has quit [Quit: Leaving.]
burlyscudd has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
shime has joined #ruby
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
asteros has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
shaunbaker has quit [Remote host closed the connection]
sparrovv has joined #ruby
m00nlight has joined #ruby
venkat has quit [Read error: Connection reset by peer]
mrsolo has quit [Quit: This computer has gone to sleep]
robert_ has joined #ruby
venkat has joined #ruby
kbouwser has quit [Quit: Computer has gone to sleep.]
RoryHughes has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
coca_rails has joined #ruby
venkat has quit [Read error: Connection reset by peer]
Deele has quit [Ping timeout: 260 seconds]
venkat has joined #ruby
micahf has quit [Ping timeout: 260 seconds]
mrsolo has joined #ruby
mrsolo has quit [Remote host closed the connection]
Hanmac1 is now known as Hanmac
mansi has quit [Read error: Connection reset by peer]
venkat has quit [Read error: Connection reset by peer]
mansi has joined #ruby
venkat has joined #ruby
beneggett has joined #ruby
ndrei has joined #ruby
bradhe has joined #ruby
nhhagen has quit [Remote host closed the connection]
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
coca_rails has quit [Ping timeout: 240 seconds]
interactionjaxsn has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
tacos1de has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
magoo has quit [Quit: WeeChat 0.4.2]
Hanmac1 has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
<Hanmac1> ping shevy
venkat has joined #ruby
coder_neo has quit [Quit: This computer has gone to sleep]
venkat_ has quit [Read error: Connection reset by peer]
Hanmac has quit [Ping timeout: 252 seconds]
RoryHughes has quit []
tjbiddle has joined #ruby
RoryHughes has joined #ruby
RoryHughes has quit [Max SendQ exceeded]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
Wolland has quit [Remote host closed the connection]
venkat has quit [Read error: Connection reset by peer]
coder_neo has joined #ruby
venkat has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
RoryHughes has joined #ruby
bitri is now known as justinbleeber
waxjar has quit [Ping timeout: 248 seconds]
venkat_ has joined #ruby
jobewan has joined #ruby
<jobewan> if I have a question about an erb file, is this the right spot?
waxjar has joined #ruby
bean__ has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
venkat__ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
clevermatt has quit [Remote host closed the connection]
dodosan has joined #ruby
spider-mario has quit [Remote host closed the connection]
olivier_bK has joined #ruby
BraddPitt has quit [Quit: Leaving]
sailias has quit [Quit: Leaving.]
ndrei has joined #ruby
venkat has joined #ruby
venkat__ has quit [Read error: Connection reset by peer]
mklappstuhl has joined #ruby
kpshek has quit [Ping timeout: 252 seconds]
Red_Onyx has joined #ruby
venkat has quit [Read error: Connection reset by peer]
jfoy has quit [Quit: jfoy]
venkat_ has joined #ruby
jfoy has joined #ruby
jfoy has quit [Client Quit]
baordog_ has quit [Remote host closed the connection]
venkat_ has quit [Read error: Connection reset by peer]
dodosan has quit [Ping timeout: 264 seconds]
venkat has joined #ruby
jfoy has joined #ruby
jfoy has quit [Client Quit]
jfoy has joined #ruby
mklappstuhl has quit [Ping timeout: 260 seconds]
venkat_ has joined #ruby
kirun has quit [Quit: Client exiting]
rubyracer has quit [Quit: Konversation terminated!]
monkegjinni has joined #ruby
DrShoggoth has quit [Quit: Leaving]
EngierkO has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
venkat_ has quit [Read error: Connection reset by peer]
venkat__ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
sambao21 has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
Aryasam has joined #ruby
banjara has joined #ruby
venkat has joined #ruby
venkat__ has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
coca_rails has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
mansi has quit [Remote host closed the connection]
kpshek has joined #ruby
claymore has quit [Quit: Leaving]
mansi has joined #ruby
iliketurtles has joined #ruby
iliketurtles has quit [Excess Flood]
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
artgoeshere_ is now known as artgoeshere
jclarke has joined #ruby
justsee has quit [Quit: leaving]
pu22l3r_ has joined #ruby
vlad_sta_ has quit [Ping timeout: 272 seconds]
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
sambao21 has quit [Ping timeout: 246 seconds]
RoryHughes has quit []
venkat_ has quit [Read error: Connection reset by peer]
aboudreault has quit [Ping timeout: 246 seconds]
venkat has joined #ruby
mansi has quit [Ping timeout: 272 seconds]
BraddPitt has joined #ruby
DaZ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat_ has joined #ruby
Kricir has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Remote host closed the connection]
tulak has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
venkat has joined #ruby
MrZYX is now known as MrZYX|off
deens has quit [Remote host closed the connection]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
danshultz has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
venkat has quit [Read error: Connection reset by peer]
banjara has quit [Quit: Leaving.]
robbyoconnor has joined #ruby
jerius has quit [Ping timeout: 264 seconds]
venkat has joined #ruby
mityaz has quit [Quit: See ya!]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
mary5030 has quit [Remote host closed the connection]
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
danshultz has quit [Ping timeout: 272 seconds]
phinfone_ has joined #ruby
kpshek has quit []
venkat_ has quit [Read error: Connection reset by peer]
venkat has joined #ruby
<atmosx> jobewan: no, #rubyonrails
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
<jobewan> gotcha thanks!
ffranz has quit [Ping timeout: 272 seconds]
phinfonet has quit [Ping timeout: 260 seconds]
nhhagen has joined #ruby
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
skulker has joined #ruby
venkat has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
<maletor> is it possible to do this with to_proc? files.map { |f| f[:a] }
<maletor> files = [{ a: 'a', b: 'b', c: 'c' }, { a: 'a', b: 'b', c: 'c' }] => ["a", "a"]
pu22l3r_ has quit [Remote host closed the connection]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
bradhe has joined #ruby
nhhagen has quit [Ping timeout: 264 seconds]
chaos_ has joined #ruby
venkat_ has joined #ruby
chaos_ is now known as soahccc
ndrei has quit [Ping timeout: 246 seconds]
venkat has quit [Ping timeout: 252 seconds]
venkat_ has quit [Read error: Connection reset by peer]
top4o has quit [Quit: ChatZilla 0.9.90.1 [Firefox 26.0/20131205075310]]
_Andres has joined #ruby
venkat has joined #ruby
bradhe has quit [Ping timeout: 260 seconds]
<krainboltgreene> maletor: Nope.
ReachingFarr has left #ruby [#ruby]
<krainboltgreene> maletor: Well actually
<krainboltgreene> maletor: files.map { |h| OpenStruct.new(h) }.map(&:a)
ndrei has joined #ruby
venkat has quit [Read error: Connection reset by peer]
grzywacz has joined #ruby
venkat has joined #ruby
banjara has joined #ruby
atraylen has joined #ruby
fire has quit [Quit: WeeChat 0.4.1]
<Hanmac1> maletor & krainboltgreene: i had a patch for this so you could do: files.map(&:[].(:a)) but the patch was not pulled into ruby source yet ;P
johnmilton has quit [Remote host closed the connection]
nhhagen has joined #ruby
<maletor> Hanmac1: ya, it's kinda hard to read
Megtastique has quit []
venkat has quit [Read error: Connection reset by peer]
Hanmac1 is now known as Hanmac
assurbanipal has quit [Remote host closed the connection]
<Hanmac> currently { |f| f[:a] } is the best way
<maletor> this isn't haskell ;)
venkat has joined #ruby
marr has joined #ruby
danijoo has quit [Quit: Leaving...]
aboudreault has joined #ruby
centipedefarmer has quit [Remote host closed the connection]
mklappstuhl has joined #ruby
<bnagy> by 'yet' you imply that it ever will be
<bnagy> which it won't because it's awful :)
venkat_ has joined #ruby
venkat has quit [Read error: Connection reset by peer]
<bnagy> not saying I don't want map( meth, *args ), of course, just Not Like That
Hanmac1 has joined #ruby
venkat_ has quit [Read error: Connection reset by peer]
mikepack has quit [Remote host closed the connection]
venkat has joined #ruby
Megtastique has joined #ruby
Hanmac has quit [Ping timeout: 246 seconds]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
IceColdMax has joined #ruby
sassamo has joined #ruby
coca_rails has quit [Remote host closed the connection]
venkat has quit [Read error: Connection reset by peer]
pel_daniel has left #ruby [#ruby]
eka has quit [Ping timeout: 272 seconds]
maletor has quit [Ping timeout: 260 seconds]
aryaching has joined #ruby
cafhacker has joined #ruby
Hanmac1 is now known as Hanmac
venkat has joined #ruby
havenwood has quit []
agent_white has quit [Read error: Connection reset by peer]
maletor has joined #ruby
agent_white has joined #ruby
Jetchisel has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
pushpak has quit [Quit: Linkinus - http://linkinus.com]
Aryasam has quit [Quit: Bye]
recurrence has joined #ruby
venkat has quit [Read error: Connection reset by peer]
recurrence has quit [Changing host]
recurrence has joined #ruby
venkat_ has joined #ruby
sassamo_ has joined #ruby
<recurrence> Hi, I want to pure include a file that contains html, what's the simplest way to do that in my erb file?
mansi has joined #ruby
<recurrence> eg: dump this file contents in my erb at this location
fijimunkii has quit [Read error: Connection reset by peer]
venkat_ has quit [Read error: Connection reset by peer]
lfox has quit [Quit: ZZZzzz…]
blackmesa has quit [Ping timeout: 240 seconds]
venkat has joined #ruby
Ponyo has joined #ruby
banjara has quit [Quit: Leaving.]
jobewan has quit [Quit: Leaving]
venkat has quit [Read error: Connection reset by peer]
venkat has joined #ruby
sassamo has quit [Ping timeout: 252 seconds]
agent_white has joined #ruby
zxd has joined #ruby
dodosan has joined #ruby
<IceDragon> <recurrence> I remember something about raw
<recurrence> found render_to_string
<recurrence> seems to work :)
venkat has quit [Read error: Connection reset by peer]
vlad_sta_ has joined #ruby
venkat has joined #ruby
aspires has quit []
mansi has quit [Remote host closed the connection]
fijimunkii has joined #ruby
venkat has quit [Read error: Connection reset by peer]