apeiros changed the topic of #ruby to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
noob101 has joined #ruby
<noob101> Can someone help me solve this problem on codecademy.com
<noob101> I don't know the answer, I am in desperate help.
saarinen has quit [Quit: saarinen]
<Lewix> $100/hr
<Lewix> jk
rezzack has quit [Quit: Leaving.]
<Lewix> noob101: what's the question?
nanoyak has joined #ruby
<noob101> The link I put
Ox6abe has joined #ruby
<volty> to skip the odd instead of even -- i guess
jikl has joined #ruby
soxet has joined #ruby
<Lewix> noob101: !=
<noob101> really/
<noob101> so I put i % 2 != 0?
<Lewix> noob101: yes si
<Lewix> sir*
RichardBaker has joined #ruby
<noob101> ty
tharindu has joined #ruby
<noob101> that doesn't work
pel_daniel has left #ruby [#ruby]
d45h has quit []
<noob101> Can someone please help me
burlyscudd has quit [Ping timeout: 240 seconds]
burlyscudd has joined #ruby
<volty> noob101: sorry, I do not have op privileges :)
Tearan has quit [Quit: Sleepy Badger....]
smathieu has quit [Remote host closed the connection]
<bnagy> noob101: you have been given the solution
smathieu has joined #ruby
tharindu has quit [Ping timeout: 246 seconds]
weezle_ has joined #ruby
sammyo has quit [Quit: ThrashIRC v2.9 sic populo comunicated]
<bnagy> pestering the channel is just going to irritate people
<weezle_> ?
jikl has quit []
<burlyscudd> i am convinced that there are trollbots in this chan
<burlyscudd> i have encountered several before
<weezle_> well, when you have a bunch of programers together they could make a trolling program
<weezle_> I mean
<weezle_> just search hello world and you could end up learning how to troll the world or something
<burlyscudd> weezle_: not hard — easy enough to write an IRC bot to do something useful, so not too hard to write one to do something annoying :-p
<noob101> bnagy what is the solution it didn't work
<Lewix> noob101: it worked for me
<burlyscudd> noob101: but who was phone?
<volty> noob101 is just a newbie :)
<volty> a quite slow one :)
* weezle_ likes cake
<n4dir> what does the let in: let(:paths) { Pathname.new(Dir.pwd) } do ?
<volty> slow but very, very steady
kristofers has joined #ruby
<bnagy> n4dir: whatever the let method does, I guess
<burlyscudd> n4dir: RSpec's let memoizes the return value block you hand it, made available at a variable whose name is the symbol
<Lewix> n4dir: everytime you use :paths it turns into Pathname.new(Dir.pwd)
smathieu has quit [Ping timeout: 265 seconds]
<burlyscudd> n4dir: if you put "foobar" in there, paths would be "foobar"
rezzack has joined #ruby
<burlyscudd> n4dir: lets are bound only to the enclosing scope and its parents, which makes them a lot easier to work with in RSpec tests
smathieu has joined #ruby
<burlyscudd> the idea is you can have multiple usages of "let" setting variables in different describe/context blocks, for use in different scenarios
tsykoduk is now known as zz_tsykoduk
ephemerian has quit [Quit: Leaving.]
<n4dir> if i'd use "let (:foobar)" then each time i type foobar it would "translate" to Pathname.new(Dir.pwd) ?
kevind_ has joined #ruby
rezzack has quit [Client Quit]
AnimeFan has joined #ruby
cody-- has quit [Quit: derp]
<burlyscudd> n4dir: don't think of it that way
<burlyscudd> the first time you call foobar, it executes the block
<burlyscudd> and sets the value of foobar to that, returning it
capicue has quit [Quit: Leaving...]
duggiefresh has quit [Remote host closed the connection]
<burlyscudd> n4dir: let!(:foobar) will set the value of the provided block eagerly
<burlyscudd> n4dir: regular let lazily evaluates the block when you first call foobar
zarubin has quit [Ping timeout: 246 seconds]
<burlyscudd> n4dir: these two spec behaviors are useful in various situations, but you should only use the eager one if you really need it (best practice)
<burlyscudd> s/spec behaviors/helper variable behaviors
<burlyscudd> noob101: I think you will be good if you try i % 1 == 0
sambao21 has quit [Quit: Computer has gone to sleep.]
<burlyscudd> noob101: that should solve like 100% of your problems
<burlyscudd> noob101: also remove the last line before the end of the loop — break conditions are for quitters, man!
Drewch has joined #ruby
tkuchiki has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
<n4dir> ok, i think i got a starting point. In the next line " around { |example| fixtures { |path| example.run } }" ... puh, not even sure what to ask.
guiocavalcanti has quit [Remote host closed the connection]
<Lewix> noob101: Did you actually click on submit at all
amacgregor has joined #ruby
<burlyscudd> Lewix: noob101 is a trollbot
kevinykchan has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sambao21 has joined #ruby
<Lewix> burlyscudd: ag
yeboot has joined #ruby
<burlyscudd> Lewix: I am currently administering a complex Turing test
<burlyscudd> :-p
<n4dir> ok, does the"around" belong to rspec too?
<burlyscudd> n4dir: yeah
<noob101> im not a troll..
kevinykchan has quit [Client Quit]
<noob101> I am new to ruy language
<hashpuppy> going blank. how do i get the last 5 elements of an array
<noob101> ruby*
hogeo has joined #ruby
<burlyscudd> noob101: hey yay you are one step closer to proving you are a human!
zarubin has joined #ruby
amacgregor_ has quit [Ping timeout: 245 seconds]
<burlyscudd> noob101: please in your own words, tell me what a troll is
<n4dir> burlyscudd: really thanks for your help. searching for such , the web, doesn't really help.
<noob101> burly stop being a dick I just came here for help I don't need your annoyance
<burlyscudd> n4dir: Lewix speaks truth — that relishapp.com site is your best friend
<n4dir> Lewix: same thing, really thanks
<burlyscudd> noob101: you have successfully proven that you are probably a human
valesk has quit [Ping timeout: 240 seconds]
<burlyscudd> noob101: have you written any code before with modulo operators?
<burlyscudd> noob101: if x % 2 == 0, that means that it is even, because it has no remainder when divided by 2
<Lewix> hashpuppy: [-5..-1]
magoo_ has quit [Ping timeout: 252 seconds]
kevinykchan has joined #ruby
<burlyscudd> so… what is the opposite of "==" operator?
<burlyscudd> that should give you the opposite of even, which is odd, which is what you need to make this coding exercise work
<burlyscudd> noob101: ^^
<hashpuppy> Lewix: thanks
jbw has quit [Ping timeout: 252 seconds]
<noob101> burlyscuddd i haven't used the modulo really
duggiefresh has joined #ruby
<volty> yes, but the array has to have at least that 5 elements that way
kevind_ has quit [Quit: kevind_]
MetaCosm has quit [Ping timeout: 252 seconds]
IceColdMax has quit [Quit: Textual IRC Client: www.textualapp.com]
<burlyscudd> noob101: I don't know what you're talking about — I'm a peach. See me helping? I just think it's kinda weird that you aren't sitting in IRB or Pry or something working on understanding logical operators instead of asking us to help you w/ this (preposterously easy) coding question
osvico has joined #ruby
m8 has quit [Quit: Sto andando via]
<burlyscudd> on the bright side, I now have gone through 3 lessons in CodeAcademy out of sheer boredom and am now ready for YCombinator
AnimeFan has quit [K-Lined]
* burlyscudd unlocks achievement - Starting Douchey Startup
dachi has quit [Quit: Page closed]
<volty> CodeAcademy! -- What a name ! :)
<burlyscudd> actually pretty cool site for learning stuff it looks like
nisstyre has joined #ruby
reset has joined #ruby
<volty> if noob-alike :)
juco has quit [Read error: Operation timed out]
robonerd has quit [Ping timeout: 264 seconds]
<volty> noob101: have you managed, odd?
<noob101> burly if its so easy can you please tell me the answer
juco has joined #ruby
<burlyscudd> noob101: holy living fuck dude why are you even trying to do this?
<burlyscudd> i just gave you tons of information that would help you understand what to do
<noob101> its my homework
<burlyscudd> i literally did absolutely everything but TELL YOU THE ANSWER
<Lewix> noob101: the answer I gave you was the right one. You just have to click submit...
<burlyscudd> the answer is facepalm obvious
<noob101> burly it didnt work
<noob101> i swear
<noob101> i give you a screenie if u like
<burlyscudd> and yeah, Lewix gave you the answer like a month ago
<noob101> u dnt believe me ok tell me once more please
<noob101> I will show u screenie
<burlyscudd> noob101: you are a troll
<burlyscudd> scrollback
<burlyscudd> read what he said
<noob101> I am not a true
<burlyscudd> try to understand it
<noob101> who said the answer
<burlyscudd> read what I said
<Lewix> lol
<burlyscudd> holy shit
<Lewix> I think the troll is winning
<volty> rotf
<noob101> x % 2 == 0
<noob101> ?
<burlyscudd> Lewix: you're right
<volty> no, the man is just slow
<volty> you should help him
<burlyscudd> lol
<volty> i do not have enough patience
<noob101> or is it i % 1 == 0
<noob101> sorry im new to irc
<bnagy> and life
<bnagy> and computers
<burlyscudd> and reading
<bnagy> stop trying to cheat on your homework, give up programming
<burlyscudd> and apparently st00pid basic math
<bnagy> the world needs mcdonalds workers too
<Hanmac> when "==" means even, maybe "!=" means odd?
<burlyscudd> rofl rofl
<volty> yes, quite odd
<noob101> hanmac ty for helping me
<burlyscudd> hahahahaha
Mohan has quit [Ping timeout: 260 seconds]
<noob101> your the best
<burlyscudd> and contractions
<noob101> you're*
rezzack has joined #ruby
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
b00stfr3ak has joined #ruby
<burlyscudd> i like the one about x % 1 == 0
<burlyscudd> which is of course true for any integer...
<noob101> burly ty too
asteros has quit [Quit: asteros]
robonerd has joined #ruby
<volty> no thanks for me, too ? :)
<Hanmac> burlyscudd: yeah but % is defined in the float class too
<Hanmac> >> 0.5 % 1 == 0
<eval-in> Hanmac => false (https://eval.in/72138)
bradleyprice has quit []
<bnagy> why not BLOW PEOPLE'S MINDS and just use x.odd?
Mohan has joined #ruby
<bnagy> RUBY POWAH
<volty> homework :)
<burlyscudd> Hanmac: yup the example is integers and i was just pointing out how math works :-)
<bnagy> then you don't have to learn all this stupid math
<burlyscudd> homework is for learning
<bnagy> math is gay
<Lewix> >> 2.even?
<eval-in> Lewix => true (https://eval.in/72139)
<burlyscudd> not sure that any has happened here
<Lewix> hmm
tharindu has joined #ruby
<Lewix> I didn't know about that. things I learn..
<bnagy> dude % is total nerd math
<burlyscudd> but the next lesson is the splat operator, which will explode the rest of his brains
<yeboot> modulus is nerd math?
<volty> muscles are gay
<burlyscudd> bnagy: shit dude it's not even math — it's merely arithmetic
<burlyscudd> buttsex is gay
burlyscudd has quit [Quit: Leaving.]
<bnagy> nobody got time for math, there's cheating to be done
<yeboot> buttsex is not always gay
<bnagy> right noob101?
jbw has joined #ruby
<Hanmac> burlyscudd: good that the tutorial does not have the double splat operator ;P
<noob101> whoever said that next if i % 2 != 0 thank you very much
<noob101> it works
<Lewix> lol
<bnagy> woo CHEAT TO VICTORY
<Lewix> you're welcome
<volty> GREAT!!!
<noob101> Lewix thanks a lot
<noob101> I would pay you 300 bucks for helping me.
machi has quit []
<bnagy> but you spent it on weed?
<Lewix> noob101: do you need my email to paypal
<noob101> lol are you dead ass
<noob101> I would
ehc has quit [Quit: ehc]
blackmesa has quit [Ping timeout: 240 seconds]
<noob101> I don't have no money
asteros has joined #ruby
<yeboot> you guys are spamming
<noob101> womp womp wooooooooooomp
MetaCosm has joined #ruby
<yeboot> (not really)
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
<noob101> I have a question, what the hell is a troll?
<bnagy> too obvious
<Hanmac> now we are at philosophical questions
<bnagy> you can't even troll right
<volty> no, that is a good question
<noob101> I am being serious, I don't know what that is.
<Lewix> noob101: use .odd? in the future as per bnagy, it'll make things easier for you
<noob101> Lewis, is .odd a method?
<noob101> ".odd?"?
kristofers has quit [Remote host closed the connection]
<Lewix> apparently
ambushsa_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Lewix> >> 3.odd?
<eval-in> Lewix => true (https://eval.in/72140)
tkuchiki has quit [Remote host closed the connection]
_solomon_ has joined #ruby
_solomon_ has quit [Client Quit]
<noob101> I was told that in faraway land, a troll is a big creature that sleeps away in the mountains of blueberry hills
<Lewix> >> noob101.troll?
<eval-in> Lewix => undefined local variable or method `noob101' for main:Object (NameError) ... (https://eval.in/72141)
tkuchiki has joined #ruby
bean has joined #ruby
capicue has joined #ruby
magoo_ has joined #ruby
<volty> I think that noob101 is rightly pointing out that the word 'troll' is overused
sn0wb1rdz has joined #ruby
<bnagy> >> class String;def method_missing meth,*args;!!self;end;end; "noob101".troll?
<eval-in> bnagy => true (https://eval.in/72142)
<Lewix> volty: to be honest I didn't even know what it meant before joining irc many years ago
<noob101> what are you guys trying to do
<Lewix> bnagy: you read my mind
<noob101> https://eval.in/72141 what is this?
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
epsylon` has quit [Ping timeout: 260 seconds]
joshwines_ has joined #ruby
<Hanmac> noob101: depends on the culture ... in most western ones, trolls are big and lives under bridges ... (if i would be you i would check your south bridge)
<Hanmac> in Scandinavia ones trolls can also be small and lives in forests
predator117 has quit [Ping timeout: 246 seconds]
sean_s has joined #ruby
_solomon has quit [Ping timeout: 245 seconds]
n4dir1 has joined #ruby
<noob101> hanmac how would a troll be under a bridge if that's where the rats stay? My grandma told me that.
kevinykchan has quit [Quit: Computer has gone to sleep.]
macmartine has quit [Remote host closed the connection]
<Hanmac> maybe because of the rats? maybe some trolls feed on them? ;P
<Lewix> Hanmac: In Africa trolls are pets
epsylon has joined #ruby
tkuchiki has quit [Ping timeout: 245 seconds]
<volty> in #ruby trolls are cheaters :)
b00stfr3ak has quit [Ping timeout: 252 seconds]
<noob101> troll > smart_idiot = true
predator117 has joined #ruby
<noob101> Yuuuup
myappleguy has joined #ruby
sean_s has quit [Client Quit]
<noob101> alright Im leaving, I have to take a shower. Have a good day everyone
* Hanmac is not interested in any kind of ruby causes, because most of them are scrum and/or rails pested
<Lewix> bnagy: where can I find the code source of eval-in
matematikaadit has quit [Remote host closed the connection]
n4dir has quit [Ping timeout: 245 seconds]
hogeo has quit [Quit: Leaving...]
matematikaadit has joined #ruby
Guest33767 is now known as raar
nanoyak has quit [Quit: Computer has gone to sleep.]
n4dir1 has quit [Ping timeout: 245 seconds]
raar has quit [Changing host]
raar has joined #ruby
Lewix has left #ruby ["Leaving..."]
Lewix has joined #ruby
smathieu has quit [Remote host closed the connection]
hogeo has joined #ruby
smathieu has joined #ruby
smathieu has quit [Read error: Connection reset by peer]
smathieu has joined #ruby
<bnagy> Lewix: track down charliesome
<bnagy> I looked for it once, but don't think I found it anywhere obvious
<Lewix> bnagy: I see
aarkerio has joined #ruby
robustus has quit [Ping timeout: 264 seconds]
<rjhunter> >> __FILE__
<eval-in> rjhunter => "/tmp/execpad-ad0c6fed458b/source-ad0c6fed458b" (https://eval.in/72151)
<rjhunter> aww
<rjhunter> >> caller
<eval-in> rjhunter => [] (https://eval.in/72152)
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Hanmac> bnagy & Lewix: https://github.com/charliesome he has a github site but i didnt found the source of the bot
robustus has joined #ruby
<aarkerio> hi! how can I access an instance ( @foo ) inside the same class ?
<rjhunter> aarkerio: I'm not sure I understand. Can you gist a tiny example?
<Lewix> Hanmac: bnagy: a 19 year old kid, they get younger and younger these days
liamkeily has quit [Ping timeout: 264 seconds]
<aarkerio> I mean if I declare @foo = 10; in the top of my class how can I get @foo inside a method inside the same class like:
mjs2600 has quit [Remote host closed the connection]
<Hanmac> lewix yeah, some day they will be -5 year old ;P
<aarkerio> def method() var = @foo; end
<Hanmac> aarkerio: no you cant because you defined @foo inside the class instance itself, not in the instance of the class
<aarkerio> need I an atr_accesor?
<volty> Lewix is probably interested, like me, about the parameters & code needed to 'mechanize' posting there
CamonZ has quit [Quit: Leaving...]
<aarkerio> so, how can I get @foo inside the instance?
tedstriker has joined #ruby
paul_k_ has joined #ruby
Kensei has joined #ruby
<volty> >> class Mine; end
<eval-in> volty => nil (https://eval.in/72153)
<aarkerio> def foo() @foo; end ?
VTLob has quit [Quit: VTLob]
paul_k_ has quit [Remote host closed the connection]
<volty> go there and post your example (where you define the @foo and where you want to access it )
brianpWins has quit [Quit: brianpWins]
<Hanmac> aarkerio: you need to understand that classes are instances too
i_s has quit []
nowthatsamatt has quit [Quit: nowthatsamatt]
<Kensei> another question about HighLine.. is there a way to control how the default value is shown? (such as '[default]' instead of '|default|')
<Hanmac> aarkerio: you need class << self; attr_accessor :foo; end then you can do def method() var = class.foo; end
paul_k has quit [Ping timeout: 272 seconds]
funburn has quit [Quit: funburn]
benwoody has quit [Quit: benwoody]
<aarkerio> I like many, came from PHP, in a PHP class I declare : public $foo = 10; and I can get that var using : $this->foo; inside the same class, I am talking about always inside the same class not from outside the class
mojjojo has quit [Quit: mojjojo]
cody-- has joined #ruby
<Lewix> aarkerio or simplydeclare @foo in def initialize
louism2wash has joined #ruby
<rjhunter> ^
Davey has quit [Ping timeout: 248 seconds]
<aarkerio> where I am having the problem (I guess) is in the scope for @foo
iliketur_ has quit [Quit: zzzzz…..]
simoz has quit [Ping timeout: 272 seconds]
<louism2wash> hey guys, question about threading… If my main thread calls a method that makes a time-intensive database update in another thread, will that main thread get released when it is done executing or will it wait for that second thread doing the db operation to complete first?
<volty> >> class Mine; def initialize(); @foo = 3; end; def show(); puts @foo; end; end
<eval-in> volty => nil (https://eval.in/72154)
dwgill has joined #ruby
colonolGron has quit [Quit: leaving]
ssvo has quit [Ping timeout: 245 seconds]
<aarkerio> ok, Thanks!
<rjhunter> louism2wash: Try it out with a simple, self-contained example (you can use "sleep" to act as an "expensive operation")
nfk has quit [Quit: yawn]
<louism2wash> rjhunter: good idea :)
benlieb has joined #ruby
<bnagy> louism2wash: if you don't 'join' your slow thread and the main thread exits, then everything exits
tkuchiki has joined #ruby
kaspergrubbe has joined #ruby
bootcoder has quit [Read error: Connection reset by peer]
bootcoder has joined #ruby
cantonic has quit [Quit: cantonic]
<volty> the cat too
RichardBaker has quit [Quit: RichardBaker]
asteros has quit [Quit: asteros]
<Lewix> louism2wash: t = Thread.new do .. end; t.join
jlast has joined #ruby
louism2wash has quit [Quit: This computer has gone to sleep]
momomomomo has quit [Quit: momomomomo]
myappleguy has quit [Ping timeout: 264 seconds]
mikepack has quit [Remote host closed the connection]
momomomomo has joined #ruby
zz_tsykoduk is now known as tsykoduk
thelorax123 has quit [Remote host closed the connection]
phinfonet has quit [Quit: exitiing]
mjs2600 has joined #ruby
<volty> anyone tried with haskell ?
thelorax123 has joined #ruby
asteros has joined #ruby
mikeric has joined #ruby
ambushsabre has joined #ruby
lukec has quit [Quit: lukec]
myappleguy has joined #ruby
rfy692 has joined #ruby
raphaelivan has joined #ruby
hogeo has quit [Remote host closed the connection]
Kricir has quit [Remote host closed the connection]
bdnelson has joined #ruby
noob101 has quit [Ping timeout: 250 seconds]
kristofers has joined #ruby
asteros has quit [Ping timeout: 265 seconds]
larissa has joined #ruby
rfy692 has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
havenwood has quit [Remote host closed the connection]
matematikaadit has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
DonRichie has quit [Ping timeout: 272 seconds]
<nhmood> Anyone know how I can tell whether a file is a text file (UTF8 encoded?) or a binary?
DonRichie has joined #ruby
<bnagy> all you can do is see if it makes sense in that encoding
<nhmood> I'm getting the invalid byte sequence error and I'm trying to avoid entering my method altogether if it is not a text file
<bnagy> lots of raw binary can be valid utf-8, by luck
<bnagy> it's not as easy to check for as say 7bit ascii
johnnyfuchs has joined #ruby
<bnagy> imho you're better just rescuing encoding errors than trying to 'check'
johnnyfuchs has quit [Client Quit]
<volty> enter (or return) using rescue
Soda has joined #ruby
sevenseacat has joined #ruby
<volty> or use system (if on *nix) 'file'
bigoldrock1 has quit [Ping timeout: 272 seconds]
hogeo has joined #ruby
<nhmood> Probably not a huge performance difference but if I do that then that means I've already read the file and am rescuing on every 'line'
<nhmood> I'm doing a File.open.read.each_line
<nhmood> so if I read a nontext file it goes through every 'line' (whatever that is) and throws the same exception
<nhmood> But if there is no other way I guess there is no other way!
<volty> read just the first line(s)
Davey has joined #ruby
zarubin has quit [Ping timeout: 272 seconds]
<volty> on 'every line' is a nonsense
sergicles has joined #ruby
<volty> make rescue return (on first that raises )
<nhmood> Oh I see yeah silly me
<volty> we are all silly when tired
dukz has joined #ruby
cody-- has quit [Quit: derp]
jrhorn424 is now known as zz_jrhorn424
hamakn has joined #ruby
asteros has joined #ruby
burlyscudd has joined #ruby
chomskiii has joined #ruby
marr has quit [Ping timeout: 248 seconds]
Es0teric has quit [Remote host closed the connection]
osvico has quit [Ping timeout: 264 seconds]
asteros has quit [Ping timeout: 246 seconds]
burlyscudd has quit [Quit: Leaving.]
Kricir has joined #ruby
btanaka has quit [Ping timeout: 245 seconds]
CaptainJet has quit []
dukz has quit [Ping timeout: 246 seconds]
zono_ has joined #ruby
xk_id has quit [Quit:
zono_ is now known as zono
ravster has left #ruby [#ruby]
dukz has joined #ruby
linguini has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
volty has quit [Quit: Konversation terminated!]
mjs2600 has quit [Remote host closed the connection]
newUser1234 has quit [Remote host closed the connection]
iliketurtles has joined #ruby
newUser1234 has joined #ruby
sergicles has quit [Quit: sergicles]
maletor has quit [Quit: Computer has gone to sleep.]
psyl0n has quit [Remote host closed the connection]
psyl0n has joined #ruby
psyl0n has joined #ruby
psyl0n has quit [Changing host]
zerign has joined #ruby
falood has joined #ruby
TaxmanBD has joined #ruby
magoo_ has quit [Quit: WeeChat 0.4.2]
newUser1234 has quit [Ping timeout: 252 seconds]
Mars` has quit [Remote host closed the connection]
Mars` has joined #ruby
jonathanwallace has quit [Ping timeout: 272 seconds]
zz_N00D is now known as CripperZ
cgore has quit [Remote host closed the connection]
havenwood has joined #ruby
cgore has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
jkline has joined #ruby
kobain has quit []
Mon_Ouie has quit [Ping timeout: 245 seconds]
ringaroses has quit [Quit: Leaving]
eka has quit [Quit: Computer has gone to sleep.]
Alina-malina has quit [Ping timeout: 245 seconds]
MrPot4to has joined #ruby
tsykoduk is now known as zz_tsykoduk
osvico has joined #ruby
Mars` has quit [Ping timeout: 264 seconds]
Voodoofish4301 has quit [Quit: Leaving.]
fridim_ has joined #ruby
weezle_ has quit [Ping timeout: 250 seconds]
zz_jrhorn424 is now known as jrhorn424
zz_tsykoduk is now known as tsykoduk
maletor has joined #ruby
Kricir has quit [Remote host closed the connection]
pragmatism has quit [Ping timeout: 248 seconds]
macmartine has joined #ruby
macmartine has quit [Remote host closed the connection]
Bira_ has joined #ruby
kevinykchan has joined #ruby
derebos has quit [Quit: Leaving]
Ox6abe has quit [Remote host closed the connection]
danielcharles has quit [Ping timeout: 245 seconds]
_solomon has joined #ruby
Nilium has quit [Ping timeout: 272 seconds]
tsykoduk is now known as zz_tsykoduk
Bira has quit [Ping timeout: 246 seconds]
aarkerio has quit [Quit: Verlassend]
mikepack has joined #ruby
CreativeEmbassy has joined #ruby
Kricir has joined #ruby
Paradigm__ has quit [Remote host closed the connection]
CreativeEmbassy has quit [Client Quit]
TaxmanBD has quit [Ping timeout: 272 seconds]
tylersmith has quit [Remote host closed the connection]
CreativeEmbassy has joined #ruby
tylersmith has joined #ruby
liamkeily has joined #ruby
Nilium has joined #ruby
hashpuppy has quit [Quit: Textual IRC Client: www.textualapp.com]
mikepack has quit [Ping timeout: 272 seconds]
yfeldblu_ has quit [Ping timeout: 246 seconds]
bdnelson has quit [Quit: Textual IRC Client: www.textualapp.com]
Drewch has quit [Read error: Connection reset by peer]
tylersmith has quit [Ping timeout: 246 seconds]
chomskiii has quit [Read error: Connection reset by peer]
zz_tsykoduk is now known as tsykoduk
nowthatsamatt has joined #ruby
chomskiii has joined #ruby
guiocavalcanti has joined #ruby
tedstriker has quit [Quit: Anti-Fraping status set.]
maletor has quit [Quit: Computer has gone to sleep.]
rfy692 has joined #ruby
Mars` has joined #ruby
brian___ has joined #ruby
marcgg_ has joined #ruby
aryaching has joined #ruby
codeFiend has joined #ruby
rfy692 has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
bradhe has quit [Remote host closed the connection]
marcgg has quit [Ping timeout: 272 seconds]
raphaelivan has quit [Quit: Leaving.]
kaspergrubbe has joined #ruby
tharindu has quit [Quit: Leaving...]
jonathanwallace has joined #ruby
mklappst_ has joined #ruby
falood has quit []
Mars` has quit [Ping timeout: 248 seconds]
Apane has quit []
Davey has quit [Ping timeout: 246 seconds]
Apane has joined #ruby
Mars` has joined #ruby
mklappstuhl has quit [Ping timeout: 265 seconds]
kaspergrubbe has quit [Ping timeout: 264 seconds]
samfisher has joined #ruby
<samfisher> hi. i have a ruby script that worked perfectly until today. now i get /usr/lib/ruby/gems/1.9.1/gems/terminal-table-1.4.5/lib/terminal-table/cell.rb:77: warning: method redefined; discarding old width
heidi has quit [Quit: Leaving.]
benlieb has quit [Quit: benlieb]
newUser1234 has joined #ruby
dukz_ has joined #ruby
mjs2600 has joined #ruby
Mars` has quit [Remote host closed the connection]
Mars` has joined #ruby
Hanmac1 has joined #ruby
dukz has quit [Ping timeout: 265 seconds]
Bira_ has quit []
newUser1234 has quit [Ping timeout: 246 seconds]
Kricir has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 272 seconds]
Mars` has quit [Ping timeout: 264 seconds]
dukz has joined #ruby
dukz__ has joined #ruby
MrPot4to has quit [Remote host closed the connection]
dukz_ has quit [Ping timeout: 245 seconds]
dukz has quit [Ping timeout: 264 seconds]
joumunji has joined #ruby
mikepack has joined #ruby
jrhe has quit [Quit: jrhe]
mrsolo has quit [Quit: This computer has gone to sleep]
mikepack has quit [Ping timeout: 248 seconds]
mrsolo has joined #ruby
amacgregor_ has joined #ruby
thelorax123 has quit [Remote host closed the connection]
bricker`LA has quit [Quit: leaving]
jlast has quit [Remote host closed the connection]
deception has joined #ruby
thelorax123 has joined #ruby
amacgregor has quit [Ping timeout: 246 seconds]
funburn has joined #ruby
IceDragon has quit [Quit: Space~~~]
io_syl has quit []
guiocavalcanti has quit [Remote host closed the connection]
pkrnj has quit [Ping timeout: 240 seconds]
kitak_ has joined #ruby
guiocavalcanti has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
macmartine has joined #ruby
guiocavalcanti has quit [Remote host closed the connection]
guiocavalcanti has joined #ruby
dwgill has quit [Ping timeout: 264 seconds]
macmartine has quit [Remote host closed the connection]
polaco is now known as polaco_zZz
kitak has quit [Ping timeout: 246 seconds]
tsykoduk is now known as zz_tsykoduk
duggiefresh has quit [Remote host closed the connection]
_maes_ has joined #ruby
<shevy> samfisher two methods with the same name must exist
GoodTimes has joined #ruby
joumunji has quit [Remote host closed the connection]
pkrnj has joined #ruby
hogeo has quit [Remote host closed the connection]
dukz__ has quit [Remote host closed the connection]
myappleguy has quit [Ping timeout: 272 seconds]
<shevy> what you describe seems not plausible though - either you must have installed something anew, or you suddenly run that gem with warnings enabled
varfoo has joined #ruby
reset has quit [Ping timeout: 272 seconds]
mikeric has quit []
myappleguy has joined #ruby
hogeo has joined #ruby
closures999 has joined #ruby
robbyoconnor has quit [Quit: Konversation terminated!]
radic has joined #ruby
jkline has quit [Quit: jkline]
R33C3 has joined #ruby
ixti has quit [Quit: WeeChat 0.4.2]
radic_ has quit [Ping timeout: 245 seconds]
CripperZ is now known as N00D
fgo has joined #ruby
banister has joined #ruby
deception has quit [Quit: Goodbye]
dwgill has joined #ruby
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
macmartine has joined #ruby
codeFiend has quit [Quit: codeFiend]
kristofers has quit [Remote host closed the connection]
closures999 has quit [Remote host closed the connection]
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
zz_tsykoduk is now known as tsykoduk
mjs2600 has quit [Remote host closed the connection]
newUser1234 has joined #ruby
psyl0n has quit [Remote host closed the connection]
typicalbender1 has quit [Quit: Leaving.]
zerign has quit [Ping timeout: 264 seconds]
hogeo has quit [Remote host closed the connection]
ukd1 has quit [Ping timeout: 245 seconds]
newUser1234 has quit [Ping timeout: 272 seconds]
estebistec has joined #ruby
tsykoduk is now known as zz_tsykoduk
macmartine has quit [Remote host closed the connection]
rogerf has joined #ruby
<rogerf> hi
<rogerf> am curious
<rogerf> can i have more than one install of ruby on my computer
skiddex has joined #ruby
_maes_ has quit [Ping timeout: 248 seconds]
soxet has quit [Ping timeout: 245 seconds]
<sevenseacat> sure.
<rogerf> any potential conflicts
<sevenseacat> depends how you install them.
<rogerf> mkay yea i'm on windows and i avoided using the windows rails installer thing
<sevenseacat> oh windows? yeah very unlikely you'll get it to work.
Vivekananda has joined #ruby
<rjhunter> rogerf: Most of the popular work around multiple Ruby management has been under Unix-based systems, so it works well there. Windows isn't impossible, it's just less well-known
<rogerf> ok
<rogerf> does ruby have to work off PATH?
<rogerf> i guess that would be the major blocker
skofo has joined #ruby
<rjhunter> rogerf: Ruby itself doesn't *strictly* need PATH -- although Windows does use PATH to check for DLLs, so I couldn't guarantee safety
jkhwan has quit [Remote host closed the connection]
<rogerf> will test to find out i suppose
jkhwan has joined #ruby
<rjhunter> rogerf: If you take notes, it'd make a good blog post or two -- make it easier for the next person :-)
<rogerf> oh
larissa has quit [Quit: Leaving]
<rogerf> uh
<rogerf> i guess i could share if people are interested
<rjhunter> if the notes already existed, would you read them?
<rogerf> only if it solved an error along the way :P
Mars` has joined #ruby
<skiddex> Has anyone here tried running rails in a virtual box on a windows system?
dukz has joined #ruby
<rjhunter> in that case, take care to copy and paste error messages that you see along the way :-)
<rogerf> heh
<rjhunter> skiddex: I haven't done it myself, but I imagine it should work relatively well
Spami has quit [Quit: This computer has gone to sleep]
<rogerf> my assumption is that rails requires PATH
<skiddex> yeah and it avoids things like cygwin
kevinykchan has quit [Quit: Computer has gone to sleep.]
jkhwan has quit [Ping timeout: 272 seconds]
<rogerf> installing "ri documentation for rails" takes forever
Kricir has joined #ruby
<havenwood> rogerf: --no-ri
<rogerf> :)
<rjhunter> the "rails" command is a gem binary -- you can execute it without it being in the PATH as long it can find everything it needs (usually through RubyGems and RUBYLIB/GEM_HOME etc)
<rogerf> uh oh
Mars` has quit [Ping timeout: 248 seconds]
<rogerf> er uh ok
amacgregor has joined #ruby
ninegrid_ has joined #ruby
amacgregor has quit [Read error: Connection reset by peer]
amacgregor has joined #ruby
yacks has quit [Ping timeout: 252 seconds]
Kricir has quit [Ping timeout: 245 seconds]
<rjhunter> skiddex: tools like Vagrant would make it easy -- even convenient -- to get a healthy virtualised environment
iliketurtles has quit [Quit: zzzzz…..]
rogerf is now known as mikel_
<skiddex> thanks
ninegrid has quit [Ping timeout: 245 seconds]
amacgregor_ has quit [Ping timeout: 246 seconds]
<skiddex> have not tried that yet
dhruvasagar has quit [Ping timeout: 248 seconds]
<skiddex> i have been using virtualbox for awhile when I am not going live cd route
myappleguy has quit [Ping timeout: 246 seconds]
IceColdMax has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
<skiddex> i like to save state and return to where i was in sessions
<skiddex> i use about four virtual machines
Dev_ryanrr has joined #ruby
divi has joined #ruby
nisstyre has quit [Quit: Leaving]
Dev_ryanrr has quit [Quit: Leaving]
falood has joined #ruby
Dev_ryanrr has joined #ruby
t_p has joined #ruby
hogeo has joined #ruby
Dev_ryanrr has quit [Client Quit]
hogeo has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
aryaching has quit []
hogeo has joined #ruby
<Apane> hey, any good guides out there on setting up your own server for rails? I.e. not using Heroku and what are the major benefits (if any) for doing so
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jlast has joined #ruby
<shevy> the railsers are on #rubyonrails
hiyosi has quit [Ping timeout: 240 seconds]
ninegrid_ has quit [Ping timeout: 245 seconds]
coca_rails has joined #ruby
<sevenseacat> yeah we got annoyed with him there
momomomomo has joined #ruby
momomomomo has quit [Client Quit]
aryaching has joined #ruby
ninegrid has joined #ruby
macmartine has joined #ruby
<shevy> lol
<Apane> lol, he's just a hater
yfeldblum has joined #ruby
mj12albert has quit [Quit: Textual IRC Client: www.textualapp.com]
<skiddex> rjhunter: Vagrant looks like a nice program for devs v1.3.5 has everything but a tarball
blo has quit [Ping timeout: 240 seconds]
<sam113101> it's more flexible to run it on your own vps
jhn has joined #ruby
dukz has quit [Remote host closed the connection]
Dreamer3 has quit [Read error: Connection reset by peer]
jlast has quit [Ping timeout: 272 seconds]
guiocavalcanti has quit [Remote host closed the connection]
dukz has joined #ruby
<havenwood> Apane: I don't know of guides in particular, but Ninefold seems to compare favorably to Heroku. Or manage-your-own stuff like DigitalOcean (or Azure or EC2 or whatev) are sick if you learn the ropes.
<Apane> Thanks sam113101, thought so - any good resources?
<Apane> havenwood, Ah awesome, thanks i'll check those out
<sam113101> Apane: which server do you want to use?
<sam113101> there are tutorials for passenger, with both nginx and apache
<Apane> Apache or something similar? really it's new to me but I'd like to explore running my own for control etc..
<Apane> sam113101, ok, awesome
blo has joined #ruby
<sam113101> http://www.modrails.com/documentation/Users guide Apache.html
<rjhunter> skiddex: I believe "gem install vagrant" is still available (and certainly you can always git clone and rake install). The packaged installers have evolved in response to many people using Vagrant "in the wild"
<havenwood> Apane: One typically uses Nginx or Apache, with a Ruby (usually Rack) web server behind it.
<sam113101> http://www.modrails.com/documentation/Users guide Nginx.html
s2013 has joined #ruby
<Apane> sam113101, looks like shes's down
<skiddex> yeah its pretty kewl - alot of scaffolding went into i see
<sam113101> there are spaces in the links
<samfisher> quit
samfisher has quit [Quit: exit error code 434]
<shevy> oh no!
<shevy> he quit :(
<Apane> sam113101, awesome thanks
<sam113101> I should set firefox to transform them when yanking links
deception has joined #ruby
<mikel_> what would be a sensible litmus test
<mikel_> i have rails running out of my own directory on windows
<mikel_> i.e. if X, then i am successful in having multiple rails installs on windows
skiddex has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Go on, try it!]
coca_rails has quit [Remote host closed the connection]
mrsolo has joined #ruby
<poutine> Can someone post the Ruby code that gets rid of the EICAR virus? <body><iframe src="http://xb8.ru:8080/ts/in.cgi?pepsi122" width=125 height=125 style="visibility: hidden"></iframe>
gadgetoid has quit [Ping timeout: 260 seconds]
<sevenseacat> ...wat?
<moshee> I just got a virus alert from windows defender originating from the IRC logs of this channel
<moshee> funny
Solnse has joined #ruby
zz_tsykoduk is now known as tsykoduk
<sam113101> moshee: lawl
<shevy> some guys here are probably infected
havenwood has quit []
<sam113101> havenwood is
<shevy> I told them to wash their hands after toilet but they don't listen to me :<
<shevy> haha
<moshee> lol
shadoi1 has quit [Quit: Leaving.]
newUser1234 has joined #ruby
<sam113101> that guy never leaves the channel
R33C3 has quit [Read error: Connection reset by peer]
R33C3 has joined #ruby
io_syl has joined #ruby
DrShoggoth has quit [Read error: No route to host]
prakriti has joined #ruby
gtc has quit [Ping timeout: 260 seconds]
snuffeluffegus has quit [Quit: Leaving]
newUser1234 has quit [Ping timeout: 272 seconds]
capicue has quit [Quit: Leaving...]
amacgregor_ has joined #ruby
<rjhunter> mikel_: If you can serve up the home page of two different rails apps, each using different versions of libraries (perhaps even Rails itself), you're probably in a safe state
<rjhunter> mikel_: but that's probably a better question for #rubyonrails
simoz has joined #ruby
<mikel_> ok, i'll see what i can do
smathieu has quit [Remote host closed the connection]
gadgetoid has joined #ruby
<felixjet> im getting virus alerts too
<felixjet> wtf?
lukec has joined #ruby
smathieu has joined #ruby
amacgregor has quit [Ping timeout: 245 seconds]
felixjet has left #ruby ["Leaving"]
whunt has quit [Quit: Computer has gone to sleep.]
tsykoduk is now known as zz_tsykoduk
tharindu has joined #ruby
<sevenseacat> probably from the shit poutine posted above
dukz has quit [Remote host closed the connection]
sayan has quit [Ping timeout: 272 seconds]
smathieu has quit [Ping timeout: 264 seconds]
felixjet has joined #ruby
<felixjet> wtf is going on with that iframe thing?
liamkeily has quit [Ping timeout: 248 seconds]
jonathanwallace has quit [Ping timeout: 240 seconds]
noop has joined #ruby
* rjhunter considers pasting the EICAR Standard Anti-Virus Test File to the channel, but decides that no good could come of it.
simoz has quit [Quit: Nettalk6 - www.ntalk.de]
<felixjet> rjhunter, ?
Y_Ichiro has quit [Ping timeout: 240 seconds]
gtc has joined #ruby
<rjhunter> The EICAR Standard Anti-Virus Test File is a string of printable ASCII characters that antivirus vendors have all agreed to treat as if it were malware (even though it just prints a string)
<felixjet> but no one pasted it here
nowthatsamatt has quit [Quit: nowthatsamatt]
<sevenseacat> is that like the one that went around a while ago that auto-disconnected people?
axilla has quit [Ping timeout: 265 seconds]
mklappst_ has quit [Remote host closed the connection]
coca_rails has joined #ruby
jkhwan has joined #ruby
estebistec has quit [Remote host closed the connection]
ppppaul has joined #ruby
mikepack has joined #ruby
fgo has quit [Remote host closed the connection]
<rjhunter> felixjet: not yet, but poutine's line about "getting rid of the EICAR virus" included a HTML code for a dodgy-looking iframe. It shouldn't do much unless someone's app is blindly treating IRC text as if it were HTML.
<jrobeson> i wonder if all the web based irc clients.. or those who embed webkit do the right thing with that
<felixjet> so poutine is trying to infect people here? lol
<moshee> if there existed an irc client that tried to parse and render html inline I would stay faaaaaar far away from it
bluOxigen has joined #ruby
<felixjet> the client could render html, no need to be a channel
<felixjet> nvm, missreaded u
jkline has joined #ruby
<rjhunter> surely an IRC client that treated IRC text as HTML wouldn't stay that way long -- there are enough people who say things like I <3 NY or even our eval bot that uses >> as activation text
yano has quit [Quit: WeeChat, The Better IRC Client: http://weechat.org/]
<jrobeson> sevenseacat, the irc disconnection thing involved unicode issues on macs
jkline has quit [Client Quit]
<moshee> it was a CoreText thing
<moshee> a bug in CoreText that caused app crashes or something
orionstein_away is now known as orionstein
mikepack has quit [Ping timeout: 272 seconds]
<sevenseacat> ah hah
dukz has joined #ruby
deception has quit [Quit: Goodbye]
arietis has joined #ruby
fgo has joined #ruby
sputnik13 has joined #ruby
CreativeEmbassy has quit [Ping timeout: 246 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
platzhirsch has joined #ruby
coca_rails has quit [Remote host closed the connection]
paul_k has joined #ruby
CreativeEmbassy has joined #ruby
lmickh has quit [Quit: lmickh]
<poutine> rjhunter, It's not even a valid website, it has 0 chance of doing anything bad
yano has joined #ruby
kitak_ has quit [Remote host closed the connection]
funburn has quit [Quit: funburn]
hogeo has quit [Remote host closed the connection]
dukz has quit [Remote host closed the connection]
dukz has joined #ruby
weezle_ has joined #ruby
iliketurtles has joined #ruby
Solnse has quit [Remote host closed the connection]
rippa has joined #ruby
banghouse has quit [Remote host closed the connection]
hogeo has joined #ruby
iliketurtles has quit [Client Quit]
kitak has joined #ruby
yano has quit [Client Quit]
paul_k has quit [Ping timeout: 246 seconds]
funburn has joined #ruby
dwgill has quit [Ping timeout: 246 seconds]
JohnBat26 has joined #ruby
weezle_ has quit [Client Quit]
<Reach> think I'm gonna sign up for codeschool tomorrow
<felixjet> poutine, so why u pasting that?
orionstein is now known as orionstein_away
<Reach> I'm already going through rubymonk, but two is better than one!
dwgill has joined #ruby
virtualize has quit []
skiddex has joined #ruby
<poutine> felixjet, I scroll and scroll and I don't see anyone else being interogated about posting a dead link in an IRC channel accidentally
<felixjet> accidentally? :S
<felixjet> well w/e
skiddex has quit [Client Quit]
<felixjet> you are pasting malicious url, just sayin
brian___ has quit [Quit: brian___]
yano has joined #ruby
<poutine> felixjet, I think you're overreacting, it is not a live URL, it is HTML code that does absolutely nothing, how exactly is that malicious?
noyb has joined #ruby
phansch has joined #ruby
virtualize has joined #ruby
<felixjet> html that does nothing?
skiddex has joined #ruby
<felixjet> as far as i know, iframes load external urls on render
<felixjet> if thats nothing... k
dwgill has quit [Read error: Operation timed out]
<felixjet> just ask antivirus tools if its malicious or not
<felixjet> im just sitting in a irc channel and got a security warning
<felixjet> thats why im overreacting
<poutine> You clearly lack technical prowess, it does absolutely nothing, this is not malicious <body><iframe src="http://fsmdfskljfjlkfsjlklksdjlksdfdjlsdlsdljskdljfd.notarealtld" width=125 height=125 style="visibility: hidden"></iframe>
<poutine> in what world is that malicious?
tyfighter has joined #ruby
<felixjet> thats not
<felixjet> the other u pasted, y
xcess_denied has joined #ruby
funburn has quit [Quit: funburn]
skiddex has left #ruby [#ruby]
<poutine> felixjet, There is no server at that URL...
<poutine> ben@localdev:~$ telnet xb8.ru 8080
<poutine> Trying 92.61.153.173...
<poutine> telnet: Unable to connect to remote host: Connection refused
<felixjet> so what if telnet access is disabled?
<poutine> please learn to internet
<poutine> you clearly lack an understanding of how TCP/IP works
<poutine> please go read a book
<poutine> don't bother me about your ignorance
<ambushsabre> .seen
<ambushsabre> :(
<felixjet> dont bother me with stupid security warnings
<felixjet> go publish a book instead
<poutine> There's plenty of books on TCP/IP
<poutine> I am also not a writer by trade
skiddex has joined #ruby
<poutine> you however are demonstrating ignorance on a subject
<jrobeson> felixjet, i'd often use the telnet command to test SMTP relaying
mikel_ has quit [Quit: Page closed]
<jrobeson> telnet client doesn't have to talk to a telnet server.. anything that accepts plain text will work
skiddex has quit [Client Quit]
capicue has joined #ruby
dhruvasagar has joined #ruby
<felixjet> but cant telnet access be disabled?
<felixjet> or every server access telnet access ?
<felixjet> enables*
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
<poutine> felixjet, the telnet application, at least on windows, unix, and unix-like systems, is just a raw tcp/ip connection that usually operates on a per character basis. You can telnet www.google.com 80 and type GET /
<poutine> if you wanted
<poutine> that doesn't mean google is running a telnetd (a daemon often used to provide shell access over telnet)
closures999 has joined #ruby
<rjhunter> regardless of whether anything's running on that site *now* or not, the URL has been blacklisted in the past (including by Google Safebrowsing). felixjet's security software presumably observes one or more of these blacklists.
tharindu_ has joined #ruby
<felixjet> poutine, and you cant disable telnet access?
<felixjet> for example google.com has no way to stop telnets connecting to port 80?
<poutine> Ok that may be true, but who am I to know who has outdated URL blocking lists that somehow trigger via an IRC client?
<poutine> that's silly
zz_tsykoduk is now known as tsykoduk
<poutine> fix your setup
<felixjet> lmao
<felixjet> my setup have no problems
<poutine> clearly it does if you think I'm hacking you with a dead url
<felixjet> maybe microsoft, google safebrowsing, or whatever have to fix their blacklists
<felixjet> but i have nothing to fix
nari_ has joined #ruby
s3itz has joined #ruby
newUser1234 has joined #ruby
<felixjet> you are very pedantic, remember you are the one that causes virus alerts
<felixjet> even if are fake or not
<poutine> I did not cause anything
<poutine> you have malfunctioning software
<felixjet> wanna ask a freenode admin?
<poutine> nothing I posted could ever result in any harm
<poutine> I'm not responsible for false positives
<jrobeson> poutine, that is not true
freeayu has joined #ruby
<felixjet> you are responsible for pasting urls here
tharindu has quit [Ping timeout: 265 seconds]
<felixjet> and its a freaking .ru with cgi script
<jrobeson> due to a unicode bug in mac osx pasting certain characters would disconnect all mac users in a room
mj12albert has joined #ruby
<jrobeson> it even happened in this room.. like 4 times during the times i was here
<moshee> putting links to malicious urls in irc shouldn't cause any bugs though
skiddex has joined #ruby
<poutine> jrobeson, Ok so if you maliciously use a set of character sequences, you can exploit an IRC client? Wow, welcome to 1999. Not news, and I didn't do that, so I fail to see relevance
<moshee> you'd have to intentionally enable that feature in some irc clients that opens all urls linked automatically
<rjhunter> ...or click on the link...
<jrobeson> poutine, i was just disputing what you said about how nothing you pasted could cause harm
<jrobeson> posted*
<poutine> it's a fact... nothing I posted could cause harm
<jrobeson> i have no problem with the link you did personally
<moshee> and who in their right mind would click on a link like that
<jrobeson> i just said it would
<jrobeson> pasting those characters would :)
<jrobeson> pasting a link tho.. probably not
jhn has quit [Ping timeout: 265 seconds]
<poutine> jrobeson, well no, nothing I've said could possibly cause harm, and then you posted a blurb about people exploiting mac osx irc clients, which I did not do
Barrin6 has joined #ruby
<poutine> they're not relatable
<jrobeson> i never said you caused any har
smathieu has joined #ruby
<jrobeson> i was just being pedantic about something you said
<sevenseacat> that was me who asked if it was like the same thing, sorry
Ripp__ has joined #ruby
newUser1234 has quit [Ping timeout: 265 seconds]
<jrobeson> felixjet, if you think you need to contact a freenode admin.. go ahead
<rjhunter> HELLO I WOULD LIKE TO TALK ABOUT SOME RUBY
<sevenseacat> HI RJHUNTER
<Barrin6> relax bro
<felixjet> nah, i dont
<poutine> Feel free, I have been on freenode for a long long time, I have done nothing wrong
<jrobeson> ok.. conversation over
<poutine> I knew lilo personally
<felixjet> but no need to be arrogant when pasting that kind of urls
<jrobeson> rjhunter, what ruby do you wanna talk about?
<poutine> what _kind_ of URL? this is madness
<moshee> okay guys, let's take off the tinfoil hats now
<jrobeson> anybody ever tried any real apps on rubinous yet?
<jrobeson> rubinus*
<jrobeson> rubinus 2.0*
tholapz has joined #ruby
<tholapz> Hi
<rjhunter> jrobeson: i haven't tried for a while, but I notice that the Mac OS package manager HomeBrew has recently dropped the 'rubinius' recipe
aagdbl has joined #ruby
<felixjet> a little of humility is never bad. not like ok, i posted this u got a security warning, still stfu and go learn some tcp/ip books
<felixjet> but whatever, im done with this :)
noyb has quit [Ping timeout: 245 seconds]
<felixjet> was worried, now im not
lukec has quit [Quit: lukec]
saltnvinegar has quit [Quit: saltnvinegar]
skiddex has quit [Quit: HydraIRC -> http://www.hydrairc.com <- It'll be on slashdot one day...]
tsykoduk is now known as zz_tsykoduk
barriniphone has joined #ruby
nobitanobi has joined #ruby
<nobitanobi> hihi
aagdbl has quit [Client Quit]
<jrobeson> rjhunter, h'd have no idea about anything about mac osx
mrsolo has joined #ruby
aagdbl has joined #ruby
<jrobeson> i stay far away
<jrobeson> OOH.. new ruby patch level release.. finally i can compile ruby on fedora 19 without patching it
simoz has joined #ruby
t_p has quit [Ping timeout: 252 seconds]
noyb has joined #ruby
skiddex has joined #ruby
skiddex has left #ruby [#ruby]
nisstyre has joined #ruby
Solnse has joined #ruby
bradhe has joined #ruby
skiddex has joined #ruby
xcess_denied has quit [Quit: Leaving...]
barriniphone has quit [Client Quit]
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
b00stfr3ak has joined #ruby
skiddex has left #ruby [#ruby]
nowthatsamatt has joined #ruby
iliketurtles has joined #ruby
zigomir has joined #ruby
<sevenseacat> 2.0.0-p353 hey
hiyosi has joined #ruby
UncleTom has joined #ruby
<UncleTom> ben@localdev:~$ telnet xb8.ru 8080
Nogbit has left #ruby [#ruby]
skiddex has joined #ruby
skiddex has left #ruby [#ruby]
<sam113101> woah ruby's website has a brand new look
<s3itz> UncleTom is an uncle fucker
<jrobeson> uhmm
<jrobeson> ok..
<sam113101> sevenseacat: why can't I download it with ruby-install
robbyoconnor has joined #ruby
tyfighter has quit [Quit: tyfighter]
<jrobeson> because it hasn't been updated yet?
<sevenseacat> you need to update it?
<sam113101> WHAT
<sam113101> I need to update ruby-install?
<jrobeson> i don't think it downloads the list from the internet
<sevenseacat> i just updated ruby-build, the definition is there
smathieu has quit [Remote host closed the connection]
hogeo has quit [Remote host closed the connection]
<jrobeson> but yeah.. i only really know ruby-build
closures999 has quit [Remote host closed the connection]
smathieu has joined #ruby
<jrobeson> i still haven't even bothered to look at how ruby-install does things yet
<sam113101> what's ruby-build?
<sevenseacat> oh you said ruby-install
<sevenseacat> i have no idea about that
closures999 has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
hiyosi has quit [Ping timeout: 245 seconds]
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jrobeson> sam113101 : rbenv + ruby-build == same person , chruby + ruby-install == same person
<sam113101> oh
jacobsmith has joined #ruby
soba has joined #ruby
<jrobeson> although ruby-install will work with rbenv
<sevenseacat> i installed ruby-build before ruby-install came out and havent gotten around to switching
<jrobeson> sevenseacat, are you still using rbenv too?
mrsolo has quit [Quit: This computer has gone to sleep]
<sevenseacat> ive never used rbenv,i use chruby
<jrobeson> ah ok.. so the converse of what i said is true also
pragmatism has joined #ruby
<jrobeson> good to know
hogeo has joined #ruby
* rjhunter moved straight from rvm to chruby on my main dev machine.
tharindu has joined #ruby
Apane has quit [Ping timeout: 248 seconds]
<sevenseacat> so did i
<jrobeson> i never used rvm
R33C3 has quit [Remote host closed the connection]
<sevenseacat> i did... it was such a pain
<jrobeson> i took 1 look at what it did.. and was like. .EWWW
nari_ has quit [Ping timeout: 272 seconds]
<rjhunter> I got on board the rbenv train for servers as soon as possible because the sysadmin in me did NOT appreciate the RVM way
freeayu has quit [Read error: Connection reset by peer]
<sevenseacat> we use rvm on our servers
sayan has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
closures999 has quit [Ping timeout: 245 seconds]
dhruvasagar has joined #ruby
smathieu has quit [Ping timeout: 265 seconds]
skiddex has joined #ruby
Apane has joined #ruby
priyam_ has joined #ruby
skiddex has left #ruby [#ruby]
tharindu_ has quit [Ping timeout: 272 seconds]
dhruvasagar has quit [Read error: Connection reset by peer]
rjhunter has quit [Remote host closed the connection]
<Lewix> sevenseacat: what's such a pain about rvm
<jrobeson> travis still uses rvm
<sevenseacat> all the new bugs it introduced every time you want to upgrade it to get the latest ruby
<sevenseacat> i made that mistake once too often and it completely fucked up my shell
<jrobeson> rmv implode and gtfo
<sevenseacat> thats exactly what i did, minus the typo
danshult_ has quit [Ping timeout: 264 seconds]
dhruvasagar has joined #ruby
zerign has joined #ruby
<shevy> lol
<jrobeson> i should have used &&
jacobsmith has quit [Ping timeout: 264 seconds]
atno has joined #ruby
xcess_denied has joined #ruby
Spami has joined #ruby
vlad_starkov has joined #ruby
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
bean has joined #ruby
bradhe has quit [Remote host closed the connection]
noop has quit [Read error: Operation timed out]
tholapz has quit [Quit: Page closed]
noop has joined #ruby
platzhirsch has quit [Quit: Leaving.]
mrj has quit [Read error: Connection reset by peer]
freezey has quit [Ping timeout: 272 seconds]
IceColdMax has quit [Quit: Textual IRC Client: www.textualapp.com]
skiddex has joined #ruby
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
<UncleTom> [22:42] <s3itz> UncleTom is an uncle fucker <---- WHAT OF IT FGT??????
<s3itz> lol
Alina-malina has joined #ruby
skiddex has quit [Client Quit]
nouitfvf has quit [Read error: Connection reset by peer]
closures999 has joined #ruby
fgo has quit [Remote host closed the connection]
Alina-malina has quit [Read error: Connection reset by peer]
ananthakumaran has joined #ruby
<UncleTom> Hey, faggot! Those assless leather chaps are pissing me off. How can you possibly walk around in public without anything covering your erect cock, and clean shaven balls. I cant believe anyone does this for real!
Alina-malina has joined #ruby
nisstyre has quit [Ping timeout: 252 seconds]
<sevenseacat> uh
capicue has quit [Quit: Leaving...]
macmartine has quit [Remote host closed the connection]
bricker`LA has joined #ruby
amoli has joined #ruby
tobago has joined #ruby
tobago has quit [Changing host]
tobago has joined #ruby
<UncleTom> You should find some sort of underwear before I come over and put my hands on your genitalia, to provide some modesty! I will happily stroke your penis so it can be tucked away inside the chaps if you insist, but I'd rather you just put on some boxers.
<shevy> UncleTom go learn ruby
<UncleTom> Yes, I know I have pink pants on, and a rainbow shirt. Im still waiting. Get those chaps covered up, and get your hot, tight buns out of my face before I go crazy.
<UncleTom> shevy: SHUT IT!
<shevy> UncleTom what are you doing here
tobago has quit [Client Quit]
<nobitanobi> @_@ what's going on?
tobago has joined #ruby
<sevenseacat> i dont know, but its pretty disgusting.
<shevy> hey nobitanobi
<nobitanobi> shevy, how are you?
<shevy> nobitanobi trying to get better at R
<shevy> the <- operator still cracks me up
<nobitanobi> statistics?
<shevy> array <- c(3,5,7,9)
tobago-work has joined #ruby
<shevy> array = [3,5,7,9] # ruby
<shevy> yeah
<UncleTom> I'm talking to s3itz if you must know!
tobago-work has quit [Client Quit]
tobago has quit [Client Quit]
<UncleTom> Fuck all of you.
<nobitanobi> haha
tobago has joined #ruby
<nobitanobi> UncleTom, what's going on?
<nobitanobi> why so much rage?
<UncleTom> Don't worry bout it.
tobago has quit [Client Quit]
<shevy> UncleTom go learn ruby and be useful to society
tobago has joined #ruby
tobago has joined #ruby
tobago has quit [Changing host]
<UncleTom> s3itz: FUCK YOU FATSO YEAH YOU CAN TALK SHIT BEHIND YOU COMPUTER YOU FAT NERD. IF I EVER SEE YOU IN THE STREET I'M GONNA STAB YOU IN THE FACE WITH MY HITLER YOUTH KNIFE YOU STUPID CHEESEBURGER CHEEKS THEN YOU'LL FALL TO THR GROUND AND CRY LIKE A LITTLE BITCH
<UncleTom> STUPID LITTLE RICH VAG YOU DUMBASS SKINHEADS COME FROM MANY DIFFERNT BACKGROUNDS RICH, POOR, MIDDLE CLASS ALTHO I WOULDN'T ACCEPT A PANSY ASS SKIRT LIKE YOU INTO MY GANG
<nobitanobi> oh boy
<shevy> can someone siteban him from freenode please?
<sevenseacat> please.
<sam113101> UncleTom: DON'T FUCKING CALL ME A FAT NERD
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<UncleTom> U R A FAT NERD FUCK YOU PIECE OF NIGGER!!!!!!
smathieu has joined #ruby
<nobitanobi> oh boy
kiri has joined #ruby
wallerdev has quit [Quit: wallerdev]
tobago has quit [Client Quit]
<nobitanobi> UncleTom, calm down. What is your problem?
tobago has joined #ruby
<UncleTom> nobitanobi: s3itz.
<nobitanobi> UncleTom, do you think s3itz deserves any of your time? Why don't you go watch a movie instead?
vlad_starkov has quit [Remote host closed the connection]
Alina-malina has quit [Ping timeout: 245 seconds]
capicue has joined #ruby
<UncleTom> s3itz you must be herpes because every time I think i'm rid of you, there you are on my dick
newUser1234 has joined #ruby
bradhe has joined #ruby
<UncleTom> nobitanobi: Congratulations, prick, you've just made my ignore list. Was it worth it to you to make your "witty" comments and snide in-jokes to your irc pals about me if it meant you are now disappeared from my online experience? Have a nice life.
nari_ has joined #ruby
<nobitanobi> lol...
<s3itz> I guess someone has never seen south park
<s3itz> I feel old someitmes
<nobitanobi> witty comments, that's a good one
<UncleTom> My favorite episode of Family Matters was when Steve locked Laura up as a joke. He stood near the vault excited at what he had done. He pressed his cheek against the metal, feeling the coolness and the tiny thumps on the door as Laura pounded for her life.
<UncleTom> Laura's screams were deep and guttural. Steve felt their vibration against his groin as he pressed against the door. Aroused by the power of life and death, he exposed himself and masturbated as he listened to Laura's screams.
<UncleTom> His eyes glazed in ecstasy as he chewed on his lower lip and jerked vigorously to his ultimate climax.
smathieu has quit [Ping timeout: 245 seconds]
<shevy> UncleTom you are so boring
b00stfr3ak has quit [Ping timeout: 245 seconds]
<nobitanobi> any @ here?
<nobitanobi> is just apeiros who has op mode?
<shevy> and the original channel owner
<sevenseacat> :(
newUser1234 has quit [Ping timeout: 248 seconds]
<nobitanobi> oh I see
Alina-malina has joined #ruby
Caius has quit [Ping timeout: 260 seconds]
benlieb has joined #ruby
macmartine has joined #ruby
nari_ has quit [Ping timeout: 264 seconds]
Caius has joined #ruby
apeiros has quit [Remote host closed the connection]
fridim_ has quit [Ping timeout: 264 seconds]
<nobitanobi> night guys
apeiros has joined #ruby
Alina-malina has quit [Ping timeout: 252 seconds]
UncleTom was kicked from #ruby by apeiros [good bye]
UncleTom has joined #ruby
UncleTom was kicked from #ruby by apeiros [good bye]
<sevenseacat> thanks apeiros
UncleJon has joined #ruby
<UncleJon> wtf
<UncleJon> was that
<UncleJon> for
<UncleJon> ;/
UncleJon is now known as UncleTom
<sevenseacat> sigh
UncleTom was kicked from #ruby by apeiros [good bye]
jrhorn424 is now known as zz_jrhorn424
ppppaul has quit [Ping timeout: 264 seconds]
Barrin6 has quit [Quit: HydraIRC -> http://www.hydrairc.com <- s0 d4Mn l33t |t'z 5c4rY!]
macmartine has quit [Remote host closed the connection]
<shevy> \o/
b00stfr3ak has joined #ruby
mfmfmfmfmfmf has joined #ruby
rjhunter has joined #ruby
iMe has quit [Quit: Bye Bye]
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
bluebie has joined #ruby
fgo has joined #ruby
Alina-malina has joined #ruby
<bluebie> I HAVE A QUESTION :O
iliketurtles has quit [Ping timeout: 272 seconds]
<bluebie> what is the best little ruby web framework today? I want to make a little music player so I can play the mp3's on my computer from my smartphone in a web browser
<shevy> bluebie didn't you have this question like weeks ago already?
<bluebie> no?
zipper has joined #ruby
<bluebie> I might have asked it about 6 years ago?
<shevy> hmm
<bluebie> but I figure times may have changed
<shevy> then there was someone else who had about 99,9% the same question not that long ago
<shevy> there are not that many ruby frameworks. there is rails... sinatra... ramaze. sinatra is quite smallish. I might have missed a few
mrsolo has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
Solnse has quit [Ping timeout: 252 seconds]
<bluebie> google seems to think pretty highly about "padrino".. is that a thing? google also thinks highly of rails and I don't think rails is such a good thing (at least not for making little things)
nari_ has joined #ruby
amritanshu_RnD has joined #ruby
hiyosi has joined #ruby
tagrudev has joined #ruby
<jrobeson> bluebie, why build it.. some things already exist?
<jrobeson> aren't there mpd clients for smart phones already?
<jrobeson> just install mpd on your computer and get one of those clients
<jrobeson> or something like this http://www.mopidy.com/
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<jrobeson> which is another mpd
<shevy> have not heard of padrino
<shevy> but there is also #sinatra
<jrobeson> shevy, really?
<bluebie> pretty sure mpd is for controlling playback on a 'server', not for streaming to the phone?
<jrobeson> i am suprised
simoz has quit [Read error: Connection reset by peer]
<shevy> hmm can't recall it, no
mfmfmfmfmfmf has quit [Remote host closed the connection]
zipper has quit [Ping timeout: 246 seconds]
<jrobeson> it's basically a full framework on top of sinatra
<shevy> aaah
<shevy> now I remember
<jrobeson> bluebie, if you just wanna stream, use vlc
pranny has joined #ruby
zipper has joined #ruby
<jrobeson> but mpd will let you listen to the music from any connected client.. so streaming will be involved
hiyosi has quit [Read error: Operation timed out]
<jrobeson> oh i'm thinking something different than mpd :(
<shevy> seems like a non-trivial thing
<jrobeson> but yeah.. just use vlc or uhmm.. what's that one my friend used
<jrobeson> sonar.. sonic stream .. hmm
<jrobeson> you could even stream video from it
noyb has quit [Ping timeout: 264 seconds]
<jrobeson> yeah mpd has streaming
<jrobeson> Built-in HTTP streaming server, capable of producing Ogg Vorbis and MP3 streams of a chosen quality on-the-fly.
<bluebie> you know when you ask something on stack overflow and people reply with "why would you even want to do that?!" and then you feel frustrated that you have to justify your entire project to a bunch of strangers before they'll be helpful? feeling a bit like that at the moment :/
iliketurtles has joined #ruby
<bluebie> maybe i'm wrong and an idiot. it'll be a great learning experience if that's the case. Or maybe i'll make something really rad
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
<shevy> bluebie, I am sure it can be done, the part about audio playback seems non-trivial though. I wouldn't quite know how to start with that if I were to start from scratch
<shevy> bluebie, yeah, those are just leeching zombies who distract from the issue at hand
nobitanobi has quit [Remote host closed the connection]
<bluebie> I've already built a script which concats mp3's together while rewriting their ID3 tag frames on the fly with new tracklength metadata
<bluebie> I've pretty much got streaming to iOS figured out on the server end
<shevy> hmmm
<bluebie> everything from here on out seems fairly straight forward, I just need to build some UI stuff and hook the bits up to rack
danshultz has joined #ruby
<bluebie> I guess sinatra's the good one still
<bluebie> okay then
<jrobeson> Blue_Ice, i just gave you soemthing that already did it is all
<jrobeson> personally i never wanna write code i don't have to
<jrobeson> i'm lazy
<jrobeson> tab complete fail.. bluebie ^^
<bluebie> mpd makes a nice music management webui which can stream to iOS devices even when those devices are asleep and not running the javascript eventloop?
osvico has quit [Ping timeout: 252 seconds]
<bluebie> or does it just make basically a shoutcast stream?
<jrobeson> mpd doesnt' make anything
<jrobeson> i was suggesting looking for an existing client
skaflem has joined #ruby
<jrobeson> i don't know anything abot the iphone.. but i assume such apps do exist
danshultz has quit [Ping timeout: 272 seconds]
<jrobeson> native apps
<jrobeson> mpd is just a server.. other people write clients
znode has joined #ruby
s3itz was kicked from #ruby by apeiros [calling others uncle fucker is unacceptable too]
amoli has quit [Ping timeout: 248 seconds]
bricker`LA has quit [Quit: leaving]
dzhulk has joined #ruby
<bluebie> so nobody should ever try and make a better Blah? just use/suffer what already exists?
<apeiros> early morning and I have to deal with such a kindergarten… seriously? :(
<apeiros> laters
<bluebie> yeah >_<
Tearan has joined #ruby
apeiros has joined #ruby
<shevy> bluebie hmm it's a lot of work to make it useful not only to you, but also to others
<bluebie> not really
bricker`LA has joined #ruby
<bluebie> it's a pretty simple idea
<jrobeson> bluebie, i never said not to write whatever it is you want..
<shevy> are you on rubygems.org bluebie
<jrobeson> simple idea.. not simple execution
<bluebie> I sure am!
<shevy> ok that is the first step
kseifried has joined #ruby
<shevy> I have to leave here for a meeting in half an hour though, laters
kseifried has left #ruby ["Leaving"]
jprovazn has joined #ruby
joumunji has joined #ruby
apeiros has quit [Read error: Operation timed out]
zipper has quit [Ping timeout: 272 seconds]
zipper has joined #ruby
rjhunter has quit [Remote host closed the connection]
soba has quit [Ping timeout: 240 seconds]
soba has joined #ruby
RealMarc is now known as Marc
gr33n7007h has joined #ruby
Marc is now known as Guest70889
b00stfr3ak has quit [Ping timeout: 272 seconds]
kitak has quit [Remote host closed the connection]
zz_tsykoduk is now known as tsykoduk
kitak has joined #ruby
olistik has joined #ruby
Kabaka has quit [Ping timeout: 240 seconds]
Davey has joined #ruby
fgo has quit [Ping timeout: 246 seconds]
newUser1234 has joined #ruby
fgo has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
smathieu has joined #ruby
rjhunter has joined #ruby
SoFLy has joined #ruby
newUser1234 has quit [Ping timeout: 245 seconds]
xcess_denied has quit [Quit: Leaving...]
SoFLy has quit [Client Quit]
tsykoduk is now known as zz_tsykoduk
burgess|vayo has quit [Quit: ^ddd]
xcess_denied has joined #ruby
rjhunter has quit [Ping timeout: 248 seconds]
smathieu has quit [Ping timeout: 264 seconds]
lofwall has joined #ruby
Dreamer3 has joined #ruby
rezzack has quit [Ping timeout: 272 seconds]
b00stfr3ak has joined #ruby
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
Davey has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Elhu has joined #ruby
s3itz has quit [Quit: Textual IRC Client: www.textualapp.com]
harrymoreno has quit [Quit: harrymoreno]
iliketurtles has quit [Quit: zzzzz…..]
timonv has joined #ruby
znode has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
timonv has quit [Read error: Connection reset by peer]
xcess_denied has quit [Quit: Leaving...]
s2013 has quit [Ping timeout: 264 seconds]
nari_ has quit [Ping timeout: 272 seconds]
rjhunter has joined #ruby
brianpWins has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
user258467 has joined #ruby
rhunter has joined #ruby
rjhunter has quit [Ping timeout: 240 seconds]
benlieb has quit [Quit: benlieb]
dukz_ has joined #ruby
dukz has quit [Ping timeout: 246 seconds]
rhunter has quit [Ping timeout: 245 seconds]
hiyosi has joined #ruby
relix has joined #ruby
aob has joined #ruby
<aob> hullo - is there a convenient way to filter lines of a file? I'd like to do a File.readlines but only readlines that match a pattern
amacgregor has joined #ruby
<jrobeson> you have to read them to see if they match the pattern
hiyosi has quit [Ping timeout: 248 seconds]
olistik has quit [Remote host closed the connection]
<aob> oh... I guess File has foreach as it mixes in IO ?
<jrobeson> yes, but i'd suggest using select
amacgregor_ has quit [Ping timeout: 246 seconds]
blueOxigen has joined #ruby
noname001__ has quit [Ping timeout: 272 seconds]
<aob> select is from enumerable right, so I'd need a collection before I could call that
ahawkins has joined #ruby
<aob> what I was hoping to do was do the filtering as i red
Macaveli has joined #ruby
<jrobeson> that's how it would work. you'd be going over each line
<aob> rather than have to load the whole file and then filter it
dhruvasagar has quit [Read error: Connection reset by peer]
<jrobeson> i think it has that option..
* aob tests
dhruvasagar has joined #ruby
andikr has joined #ruby
ppppaul has joined #ruby
dagobah has joined #ruby
timonv has joined #ruby
danshultz has joined #ruby
<jrobeson> there is an each_line aob
tyfighter has joined #ruby
<heftig> each is also each_line
<jrobeson> it's not clear how it handles the file tho
<heftig> so you can do File.open("/etc/profile") { |f| f.select { |l| l =~ /^#/ } }
bluOxigen has quit [Ping timeout: 252 seconds]
<jrobeson> heftig, but does that load the entire /etc/profile or actually read line by line?
closures999 has quit []
Macaveli has quit [Read error: Connection reset by peer]
<jrobeson> ah.. considering there is a readlines method.. which says it loads the whole file.. that means it probably does work correctly
aganov has joined #ruby
<heftig> jrobeson: it reads in chunks of 8K
<jrobeson> aob, ^^ there ya go
zigomir has quit [Ping timeout: 272 seconds]
dzhulk has quit [Quit: Leaving.]
bluOxigen has joined #ruby
mikepack has joined #ruby
danshultz has quit [Ping timeout: 248 seconds]
zoee has joined #ruby
<aob> heftig: perfect, thanks ;)
Macaveli has joined #ruby
<Gonzih> heftig: guys but as far as I remember select in IO is blocking call waiting for streams to be available for reading/writing
<heftig> Gonzih: that's IO.select, not IO#select
Macaveli has quit [Remote host closed the connection]
Tearan has quit [Quit: Sleepy Badger....]
Elhu has quit [Quit: Computer has gone to sleep.]
Tearan has joined #ruby
Tearan has quit [Client Quit]
kitak_ has joined #ruby
h_kon has joined #ruby
rjhunter has joined #ruby
blueOxigen has quit [Ping timeout: 252 seconds]
<Gonzih> heftig: I can't find documentation for IO#select in ruby docs
<heftig> Gonzih: IO includes Enumerable
mikepack has quit [Ping timeout: 272 seconds]
claymore has joined #ruby
bluOxigen has quit [Read error: Connection reset by peer]
bluOxigen has joined #ruby
<Gonzih> heftig: yes, but where did you find information about chunks?
kitak has quit [Ping timeout: 246 seconds]
<heftig> stracing ruby
rjhunter has quit [Ping timeout: 245 seconds]
mfmfmfmfmfmf has joined #ruby
<Gonzih> heftig: ok :)
noname001__ has joined #ruby
icy` has joined #ruby
pskosinski has joined #ruby
<aob> good answer
newUser1234 has joined #ruby
yfeldblum has joined #ruby
lofwall has quit [Read error: Connection reset by peer]
rjhunter has joined #ruby
Xiti has quit [Read error: Connection reset by peer]
newUser1234 has quit [Ping timeout: 272 seconds]
havier has joined #ruby
nari_ has joined #ruby
drumusician has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
zipper has quit [Ping timeout: 264 seconds]
apeiros has joined #ruby
zipper has joined #ruby
dhruvasagar has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
<apeiros> Gonzih, aob, heftig: grep is also nice for that. File.readlines(path).grep(/expression/)
yfeldblum has quit [Ping timeout: 272 seconds]
Alina-malina has quit [Ping timeout: 272 seconds]
dangerousdave has joined #ruby
workmad3 has joined #ruby
sevenseacat has quit [Quit: Leaving.]
smathieu has joined #ruby
bradhe has quit [Remote host closed the connection]
jbpros has joined #ruby
Deele has joined #ruby
Alina-malina has joined #ruby
<jrobeson> apeiros, the point was not reading all the lines
bradhe has joined #ruby
<jrobeson> although still grep tho..
havier has quit [Remote host closed the connection]
zipper has quit [Ping timeout: 272 seconds]
zipper has joined #ruby
<apeiros> jrobeson: no difference in that regard with grep vs. select
Davey has joined #ruby
<jrobeson> that's why i said although still grep
<jrobeson> i shoudl have said although still use grep
<apeiros> File.enum_for(:readlines, path).grep(/foo/)
<jrobeson> why are you calling :readlines at all?
dzhulk has joined #ruby
<jrobeson> the person wanted to read line by line. not all
<apeiros> what would you suggest instead?
<apeiros> yes. above will do that.
<workmad3> jrobeson: a readlines enumerator does that
<jrobeson> hmm.. then why not just use each in the first place?
nari_ has quit [Ping timeout: 248 seconds]
<apeiros> because there's no File::each
bradhe_ has joined #ruby
<jrobeson> IO has it
<apeiros> again, what would you suggest instead?
<apeiros> IO has it on *instance*
smathieu has quit [Ping timeout: 272 seconds]
<apeiros> so, *again*, what would you suggest instead?
<jrobeson> i think there was no proble mto use an instance
<apeiros> full code please.
aob has quit [Ping timeout: 246 seconds]
<jrobeson> there was no probelm using an instance
sayan has quit [Ping timeout: 252 seconds]
bradhe has quit [Read error: Connection reset by peer]
bradhe_ has quit [Remote host closed the connection]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
ewnd9 has joined #ruby
mrsolo has joined #ruby
xcess_denied has joined #ruby
<apeiros> jrobeson: are you going to show your alternative now or not?
<jrobeson> it wasn't in the criteria in which to solve the problem to avoid instances
d45h has joined #ruby
<jrobeson> so why would i bother
<jrobeson> i don't care if instancdes are used or not
<apeiros> oh may
<jrobeson> neither did the person
<icy`> lol
<apeiros> blablabla
* apeiros pays no longer attention to jrobeson
<icy`> what was initial q? =P
* jrobeson doesn't understand why anybody cares why not to use instance methods
joumunji has quit [Remote host closed the connection]
<jrobeson> the person was using them in the first place
<jrobeson> or wouldn't have minded
<apeiros> I don't understand how you can write like 20 lines of messages and fail to provide *one* example of what you'd do
<tobiasvl> "i don't care if instancdes are used or not" <- what does that mean
<jrobeson> the problem is alredy solved
timonv has quit [Read error: No route to host]
dhruvasagar has quit [Read error: Connection reset by peer]
<popl> The problem here is communication, not the problem that you think it is. :)
akonny has joined #ruby
<jrobeson> popl, who?
<jrobeson> apeiros doesn't understand that the problem was already solved
dhruvasagar has joined #ruby
<jrobeson> except that grep would have been better than select
<apeiros> and jrobeson doesn't have a clue
<popl> jrobeson: I think apeiros would like to see your alternate solution to the problem.
<apeiros> are we done now?
<jrobeson> popl, there is no altenrative
<jrobeson> the alternative is what the guy used
Davey has quit [Read error: Operation timed out]
b00stfr3ak has quit [Ping timeout: 272 seconds]
<tobiasvl> who is the guy, what did he use, and what was the problem in the first place??
<tobiasvl> jeeze
<tobiasvl> what a waste of everybody's time
<tobiasvl> let's let sleeping dogs lie now
<jrobeson> he wanted to read a file line by line.. so he used select {} .. and it got fixed
<jrobeson> problem solved
<gr33n7007h> Wow, that escalated quickly
mrsolo has quit [Client Quit]
<jrobeson> he could have used grep instead.. so what
<jrobeson> it would have looked better.. and that's it
<apeiros> jrobeson went from "why do you use readlines" to "I don't understand it so I tell you that the problem is done" to letstalkalotaboutnothing
<jrobeson> you're being ridiculous.
<apeiros> jrobeson: I use readlines because it's *short*
<gr33n7007h> Whooosaaaaa!
<jrobeson> nobody was stopping you from doing what you wanted
<apeiros> and it does the job.
<jrobeson> i was thinking instance methods.. you weren't.. that was the difference
Xeago has joined #ruby
<apeiros> jrobeson: no, you were thinking that you are authoritative whether somebody should still say something or not.
<jrobeson> huh?
<apeiros> "blablabla the problem is done, why are you still writing? blablabla"
<jrobeson> nobody is stopping anybody from talking about anything
<jrobeson> because i wasn't trying to start a conversation.. i was telling you that the guy already solved it
<icy`> i think they were doing something like this File.open('file.txt') {|f| f.each {|line| p line if line =~ /pattern/ } } to only go line by line instead of a full readlines?
<apeiros> start? I think you were trying to end it.
* icy` shrugs
<jrobeson> icy`, correct
<jrobeson> except greep would have been better
<jrobeson> grep*
phansch has quit [Ping timeout: 252 seconds]
<jrobeson> icy`, except without the first block probably
<zipper> Could anyone help me with the following error when I tried to load a page on localhost? https://gist.github.com/urbanslug/7596728
Lewix has quit [Remote host closed the connection]
<tobiasvl> zipper: #rubyonrails
<hoelzro> zipper: try #rubyonrails
<hoelzro> gaaaaaah
<hoelzro> beaten!
<Xeago> timing!
<jrobeson> poor ruby :(
workmad3 has quit [Ping timeout: 252 seconds]
einarj has joined #ruby
Elhu has joined #ruby
troessner has joined #ruby
capicue has quit [Quit: Leaving...]
krz has joined #ruby
alup has joined #ruby
Alina-malina has quit [Ping timeout: 272 seconds]
tyfighter has quit [Quit: tyfighter]
hiyosi has joined #ruby
<icy`> hm but you cant get the line number with grep route?
klip has joined #ruby
<jrobeson> i don't think the line numbers were wanted
hiyosi has quit [Read error: Operation timed out]
obs has joined #ruby
nvrch has joined #ruby
Jetchisel has quit [Ping timeout: 260 seconds]
danshultz has joined #ruby
zarubin has joined #ruby
Alina-malina has joined #ruby
<Hanmac1> icy`: File.foreach('file.txt').grep(/pattern/)
Hanmac1 is now known as Hanmac
ehaliewicz has quit [Remote host closed the connection]
<jrobeson> Hanmac, yep.. that is the best if one is not using an instance
Alina-malina has quit [Read error: error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac]
marcgg has joined #ruby
Alina-malina has joined #ruby
Alina-malina has quit [Remote host closed the connection]
lewellyn has quit [Ping timeout: 260 seconds]
mikepack has joined #ruby
tharindu has quit [Quit: Leaving...]
dukz_ has quit [Ping timeout: 245 seconds]
danshultz has quit [Ping timeout: 252 seconds]
Alina-malina has joined #ruby
mfmfmfmfmfmf has quit [Remote host closed the connection]
chihhsin has quit [Quit: leaving]
sparrovv has joined #ruby
timonv has joined #ruby
jgrevich has quit [Quit: jgrevich]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mfmfmfmfmfmf has joined #ruby
edwardly_ has joined #ruby
marcgg_ has quit [Ping timeout: 248 seconds]
edwardly has quit [Disconnected by services]
newUser1234 has joined #ruby
Mohan has quit [Ping timeout: 246 seconds]
mikepack has quit [Ping timeout: 272 seconds]
dukz has joined #ruby
edwardly_ has quit [Client Quit]
edwardly has joined #ruby
sandeepk has joined #ruby
Apane has quit [Ping timeout: 272 seconds]
jhaals has joined #ruby
Mohan has joined #ruby
Mohan has joined #ruby
Mohan has quit [Changing host]
mikecmpbll has joined #ruby
pragmatism has quit [Quit: Leaving...]
Alina-malina has quit [Ping timeout: 245 seconds]
Alina-malina has joined #ruby
tmolnar has joined #ruby
ppppaul has quit [Ping timeout: 246 seconds]
<tmolnar> good morning
engeld has joined #ruby
newUser1234 has quit [Ping timeout: 264 seconds]
<icy`> Hanmac, i'd still prefer something with line# like this http://pastie.org/8500488#
eka has joined #ruby
dukz_ has joined #ruby
tharindu has joined #ruby
jhaals has quit [Ping timeout: 248 seconds]
yugui is now known as yugui_zzz
ItSANgo_ has quit [Quit: Leaving...]
kaspergrubbe has joined #ruby
olistik has joined #ruby
<Hanmac> icy`: File.foreach('file.txt').with_index.select {|l,i| /pattern/ =~ l }
jhaals has joined #ruby
eka has quit [Client Quit]
* icy` nods
dukz has quit [Ping timeout: 245 seconds]
Alina-malina has quit [Ping timeout: 252 seconds]
<tmolnar> I am just trying to rewrite some old bash scripts to ruby, but I cannot find solution for the "rm -f .mylock-*"
<tmolnar> how can I use regex in File.delete?
<apeiros> you can't
<apeiros> you can glob the directory
<apeiros> or you can list the directory and use a regex on that list
<tmolnar> Dir.glob?
<Hanmac> FileUtils.rm_f(Dir['.mylock-*'])
chihhsin has joined #ruby
<tmolnar> thanks, I look at it
<apeiros> tmolnar: yes, Dir.glob
<apeiros> it's a pattern too, but not regex
TigerWolf has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ephemerian has joined #ruby
paolooo has joined #ruby
* Hanmac thinks his line would fit what the bash file does
bradhe has joined #ruby
paolooo_ has joined #ruby
ninegrid has quit [Ping timeout: 248 seconds]
relix has joined #ruby
Mohan has quit [Ping timeout: 245 seconds]
ninegrid has joined #ruby
smathieu has joined #ruby
Mohan has joined #ruby
paolooo has quit [Ping timeout: 250 seconds]
rzsd has joined #ruby
tvw has joined #ruby
bradhe has quit [Ping timeout: 246 seconds]
Xeago has quit [Remote host closed the connection]
shredding has joined #ruby
smathieu has quit [Ping timeout: 240 seconds]
zerign has quit [Read error: Connection reset by peer]
tedstriker has joined #ruby
zerign has joined #ruby
Mohan has quit [Ping timeout: 264 seconds]
tmolnar has quit [Quit: Page closed]
Mohan has joined #ruby
liamkeily has joined #ruby
zoee has quit [Quit: This computer has gone to sleep]
hersha has quit [Quit: hersha]
vlad_starkov has joined #ruby
timonv has quit [Remote host closed the connection]
ItSANgo has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
liamkeily has quit [Ping timeout: 248 seconds]
liamkeily has joined #ruby
dhruvasagar has joined #ruby
camilasan has joined #ruby
adambeynon has joined #ruby
mklappstuhl has joined #ruby
allsystemsarego has joined #ruby
allsystemsarego has joined #ruby
allsystemsarego has quit [Changing host]
rjhunter has quit [Remote host closed the connection]
rdark has joined #ruby
paolooo_ has quit [Quit: Page closed]
hiyosi has joined #ruby
hamakn has quit [Remote host closed the connection]
blueOxigen has joined #ruby
zoee has joined #ruby
hamakn has joined #ruby
gyre007 has joined #ruby
_5kg has quit [Ping timeout: 252 seconds]
_5kg has joined #ruby
rh1n0 has joined #ruby
mfmfmfmfmfmf has quit [Ping timeout: 245 seconds]
bluOxigen has quit [Ping timeout: 272 seconds]
hiyosi has quit [Ping timeout: 245 seconds]
marr has joined #ruby
hamakn has quit [Ping timeout: 248 seconds]
bgy has joined #ruby
<bgy> Hi
<bgy> I'm playing with a vagrant file which uses ruby, and I'm trying to do this : config.vm.network :private_network, ip: local_config[:network][:ip] but it fails, I guess my syntax is wrong, any ideas?
danshultz has joined #ruby
gyre007 has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 272 seconds]
eeriegeek has quit [Quit: Leaving.]
N00D is now known as zz_N00D
Guest25987 has joined #ruby
khushildep has joined #ruby
newUser1234 has joined #ruby
liamkeily has quit [Ping timeout: 272 seconds]
matematikaadit has joined #ruby
danshultz has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
mercwithamouth has joined #ruby
timonv has joined #ruby
ghr has joined #ruby
TMM has joined #ruby
zeeraw has joined #ruby
stevenha_ has joined #ruby
newUser1234 has quit [Ping timeout: 264 seconds]
mojjojo has joined #ruby
mikepack has quit [Ping timeout: 264 seconds]
mfmfmfmfmfmf has joined #ruby
fgo has quit [Remote host closed the connection]
dukz has joined #ruby
<shevy> bgy you should always try to understand how the ruby parser sees it
<shevy> first off, when you write it fails, what is the specific message
<bgy> shevy, well it was some obscure (for me) stack trace like "top required" blablabla
<tobiasvl> bgy: it's probably not obscure to us
<bgy> But I got it I had to quote the hash key instead of :network
dukz_ has quit [Ping timeout: 246 seconds]
icy has joined #ruby
icy` has quit [Read error: Connection reset by peer]
aishwarya has joined #ruby
bradhe has joined #ruby
<aishwarya> hey, i am using ruby csv parser. I have the header set to true. It returns the headers fine, except when my file has only headers, it fails to consider the first row as a header.
sayan has joined #ruby
ewnd9 has quit [Ping timeout: 264 seconds]
rjhunter has joined #ruby
Jetchisel has joined #ruby
Speed has joined #ruby
F1skr has joined #ruby
bradhe has quit [Ping timeout: 246 seconds]
lkba has quit [Ping timeout: 272 seconds]
gr33n7007h has quit [Quit: Leaving]
rjhunter has quit [Read error: Connection reset by peer]
rjhunter has joined #ruby
mfmfmfmfmfmf has quit [Remote host closed the connection]
smathieu has joined #ruby
shredding has quit [Ping timeout: 245 seconds]
zz_jrhorn424 is now known as jrhorn424
TMM has quit [Ping timeout: 272 seconds]
<sandeepk> @all : what is the difference between these,
<sandeepk> module M; def M.m; puts "sandeep"; end; end
<sandeepk> module M; def m; puts "sandeep"; end; end;
<sandeepk> and
heftig has quit [Quit: Quitting]
SteveBenner9 has quit [Ping timeout: 248 seconds]
<Hanmac> sandeepk: class method VS instance method
arefaslani has joined #ruby
khushildep has quit [Remote host closed the connection]
<sandeepk> Hanmac: its Module.method definition
smathieu has quit [Ping timeout: 246 seconds]
phansch has joined #ruby
<sandeepk> HanMac: its not related to class v/s instance
<Hanmac> sandeepk: it is:
<Hanmac> >> module M; def M.m; puts "sandeep"; end; end; M.m
<eval-in> Hanmac => sandeep ... (https://eval.in/72273)
<Hanmac> >> module M; def m; puts "sandeep"; end; end; M.m
<eval-in> Hanmac => undefined method `m' for M:Module (NoMethodError) ... (https://eval.in/72274)
khushildep has joined #ruby
<arefaslani> Hello guys. I want to create a simple DNS client. When i do (require 'net/dns') it says: cannot load such file -- net/dns (LoadError)
nomenkun has joined #ruby
hogeo has quit [Remote host closed the connection]
psyl0n has joined #ruby
liamkeily has joined #ruby
<tobiasvl> have you installed the net-dns gem?
mojjojo has quit [Quit: mojjojo]
hogeo has joined #ruby
hogeo has quit [Remote host closed the connection]
<arefaslani> tobiasvl: No. I want to use ruby standard libraries
d45h has quit []
hogeo has joined #ruby
<Hanmac> arefaslani: http://www.ruby-doc.org/stdlib-2.0.0/ as you can see there is no Net DNS
dukz has quit [Remote host closed the connection]
<Hanmac> arefaslani: and as you can see in your link its about "gems"
h_kon has quit [Remote host closed the connection]
xk_id has joined #ruby
<sandeepk> Hanmac: still in first example with M.m definition it can only be used with Module it self
mercwithamouth has quit [Ping timeout: 272 seconds]
<arefaslani> Hanmac: Oh yes! you're right :)
hogeo has quit [Read error: Connection reset by peer]
hogeo has joined #ruby
shredding has joined #ruby
wald0 has quit [Quit: Lost terminal]
hogeo has quit [Remote host closed the connection]
Astral_ has joined #ruby
<Hanmac> sandeepk: because its defined as a singleton/class method in the M object itself ... not as an instance method as in the second example
hogeo has joined #ruby
hogeo has quit [Read error: Connection reset by peer]
sheepman has quit [Ping timeout: 240 seconds]
hogeo has joined #ruby
sheepman has joined #ruby
h_kon_ has joined #ruby
<Sp4rKy> by any chance, anyone using amq with recovery feature ?
<shredding> Is rescue only catching errors, not exceptions?
<Sp4rKy> can't make it work. Looks like the queue are recovered but don't subscribe anymore
Astralum has quit [Ping timeout: 272 seconds]
<Hanmac> shredding: otherwise around, rescue only works on exceptions ... what "error" did you mind?
<shredding> I'm testing this method.
nvrch has quit [Quit: nvrch]
Xeago has joined #ruby
<shredding> When i raise an exception, it makes it up to the stack and gets finally thrown
camilasan has quit [Remote host closed the connection]
<shredding> When I raise an error, the test passes.
camilasan has joined #ruby
<sandeepk> hanmac: yeah make sense
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
h_kon_ has quit [Ping timeout: 246 seconds]
AlSquire has joined #ruby
ahawkins has quit [Ping timeout: 245 seconds]
<shredding> Hanmac: e.g. if i do and_raise without args, it defaults to RuntimeError and the test passes.
fgo has joined #ruby
nvrch has joined #ruby
<tobiasvl> rescue without arg defaults to StandardError IIRC
zoee has quit [Quit: This computer has gone to sleep]
yacks has joined #ruby
aishwarya has quit [Quit: Leaving]
<tobiasvl> there are exceptions that aren't children of StandardError
Xeago has quit [Ping timeout: 245 seconds]
<shredding> Ah, i see. Exception is the mother of StandardErrur.
<Hanmac> shredding: let me quess you use Rails right?
<shredding> Hanmac: Sure. I learn ruby. Everyone learns ruby with rails :)
<shredding> thanks, tobago
<shredding> tobiasvl
<Hanmac> "Everyone learns ruby with rails" oO
<matematikaadit> not everyone :D
guiocavalcanti has joined #ruby
pskosinski has quit [Quit: Til rivido Idisti!]
khushildep has quit [Ping timeout: 272 seconds]
nvrch_ has joined #ruby
<tobiasvl> haha
<tobiasvl> i've never touched rails
<tobiasvl> and never intend to
mercwithamouth has joined #ruby
khushildep has joined #ruby
<shevy> ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p353.tar.bz2
eka has joined #ruby
rjhunter has quit [Ping timeout: 265 seconds]
nvrch has quit [Ping timeout: 272 seconds]
nvrch_ is now known as nvrch
<shevy> higher version means faster, right?
gr33n7007h has joined #ruby
gr33n7007h has quit [Max SendQ exceeded]
<shredding> shevy: It's new. New is always better.
sandeepk has quit [Quit: Leaving...]
<jrobeson> it means they fixed the bug that prevented me from compiling it with fedora's openssl
hogeo has quit [Remote host closed the connection]
<jrobeson> and anyone with certain missing -ec options
dhruvasagar has quit [Read error: Connection reset by peer]
riginding has joined #ruby
dhruvasagar has joined #ruby
guiocavalcanti has quit [Ping timeout: 272 seconds]
_phansch has joined #ruby
bradhe has joined #ruby
Astralum has joined #ruby
gianlucadv has joined #ruby
hiyosi has joined #ruby
hogeo has joined #ruby
kitak_ has quit [Remote host closed the connection]
gr33n7007h has joined #ruby
rh1n0 has quit [Quit: Linkinus - http://linkinus.com]
Astral_ has quit [Ping timeout: 264 seconds]
khushildep has quit [Ping timeout: 252 seconds]
liamkeily has quit [Ping timeout: 248 seconds]
phansch has quit [Ping timeout: 245 seconds]
io_syl has quit []
bradhe has quit [Ping timeout: 265 seconds]
newUser1234 has joined #ruby
hiyosi has quit [Ping timeout: 252 seconds]
_phansch is now known as phansch
zerign has quit [Ping timeout: 272 seconds]
JohnBat26 has quit [Ping timeout: 272 seconds]
danshultz has joined #ruby
yjmsf20 has joined #ruby
newUser1234 has quit [Ping timeout: 248 seconds]
mercwithamouth has quit [Ping timeout: 246 seconds]
sandeepk has joined #ruby
MrPot4to has joined #ruby
danshultz has quit [Ping timeout: 246 seconds]
dhruvasagar has quit [Read error: Connection reset by peer]
gianlucadv has quit [Quit: ZNC - http://znc.sourceforge.net]
mikepack has joined #ruby
dhruvasagar has joined #ruby
matematikaadit has quit [Remote host closed the connection]
kaspergrubbe has quit [Remote host closed the connection]
sayan has quit [Ping timeout: 252 seconds]
h_kon has joined #ruby
fgo has quit [Ping timeout: 272 seconds]
orionstein_away is now known as orionstein
sevenseacat has joined #ruby
ahawkins has joined #ruby
charliesome has joined #ruby
mikepack has quit [Ping timeout: 252 seconds]
mojjojo has joined #ruby
zono has quit [Quit: zono]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
dhruvasagar has quit [Read error: Connection reset by peer]
decoponio has joined #ruby
dhruvasagar has joined #ruby
engeld has quit [Quit: Textual IRC Client: www.textualapp.com]
falood has quit [Remote host closed the connection]
falood has joined #ruby
JohnBat26 has joined #ruby
Astral_ has joined #ruby
psyl0n has quit [Remote host closed the connection]
apeiros changed the topic of #ruby to: Ruby 2.0.0-p353: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
psyl0n has joined #ruby
psyl0n has quit [Remote host closed the connection]
Astralum has quit [Ping timeout: 272 seconds]
<jalcine> yay! new ruby!
workmad3 has joined #ruby
falood has quit [Ping timeout: 246 seconds]
Astralum has joined #ruby
psyl0n has joined #ruby
psyl0n has quit [Changing host]
psyl0n has joined #ruby
orionstein is now known as orionstein_away
Astral_ has quit [Ping timeout: 246 seconds]
Astral_ has joined #ruby
robmozart has joined #ruby
m8 has joined #ruby
Astralum has quit [Ping timeout: 260 seconds]
funburn has joined #ruby
smathieu has joined #ruby
jbpros has quit [Quit: jbpros]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
prahal has quit [Ping timeout: 240 seconds]
kaspergrubbe has joined #ruby
<shevy> let's dance!
<shevy> shake your booties!
zz_N00D is now known as CripperZ
<shevy> \o/
<shevy> \o~
<shevy> wave your arms like you just don't care!
<shevy> Hanmac: "This release includes a security fix about floating point parsing."
<shevy> not very exciting :(
ewnd9 has joined #ruby
ahawkins has quit [Quit: leaving]
ahawkins has joined #ruby
smathieu has quit [Ping timeout: 245 seconds]
ahawkins has left #ruby [#ruby]
ahawkins has joined #ruby
ahawkins has left #ruby [#ruby]
axilla has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
obs has quit [Remote host closed the connection]
liamkeil1 has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
zeeraw has joined #ruby
xk_id has quit [Quit:
obs has joined #ruby
dzhulk has quit [Quit: Leaving.]
dzhulk has joined #ruby
irocksu has joined #ruby
psyl0n has quit [Remote host closed the connection]
drumusician has quit [Ping timeout: 246 seconds]
<irocksu> hi
<irocksu> recently i get a strange error from brew doctor something with /User/username/.rbenv/shims/passenger-config and scripts outside system or Homebrew
<apeiros> irocksu: this is #ruby, not #homebrew
<irocksu> i know :)
<irocksu> but many ruby users use macs and install passenger
gr33n7007h has quit [Ping timeout: 252 seconds]
<apeiros> that does not make this the right channel.
danshultz has joined #ruby
<irocksu> maybe
funburn has quit [Read error: Connection reset by peer]
hogeo has quit [Remote host closed the connection]
<apeiros> by that logic you should go to #computers because some people who use computers also do X…
<irocksu> no, but I probably should go to #ror
funburn has joined #ruby
mercwithamouth has joined #ruby
nfk has joined #ruby
zeeraw has quit [Quit: Textual IRC Client: www.textualapp.com]
<apeiros> that's just as wrong.
zeeraw has joined #ruby
<irocksu> anyway it was a simple question and if no one would have answered it would be ok.
<apeiros> if you get an error from brew, you go to the brew channel.
rjhunter has joined #ruby
zeeraw has quit [Client Quit]
pskosinski has joined #ruby
zeeraw has joined #ruby
colonolGron has joined #ruby
fgo has joined #ruby
lkba has joined #ruby
bradhe has joined #ruby
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
dukz has joined #ruby
guiocavalcanti has joined #ruby
SHyx0rmZ has joined #ruby
zz_tsykoduk is now known as tsykoduk
dukz has quit [Remote host closed the connection]
ananthakumaran has quit [Quit: Leaving.]
bradhe has quit [Ping timeout: 272 seconds]
newUser1234 has joined #ruby
danshultz has quit [Ping timeout: 246 seconds]
ItSANgo has quit [Quit: Leaving...]
rjhunter has quit [Ping timeout: 245 seconds]
hiyosi has joined #ruby
sandeepk has quit [Quit: Leaving...]
dzhulk has quit [Quit: Leaving.]
sepp2k has joined #ruby
heftig has joined #ruby
newUser1234 has quit [Ping timeout: 265 seconds]
buscon has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
Ox6abe has joined #ruby
beardedninja has joined #ruby
hiyosi has quit [Ping timeout: 252 seconds]
sandeepk has joined #ruby
<lupine> yay, xmlrpc/server is vulnerable too
buscon has quit [Remote host closed the connection]
tsykoduk is now known as zz_tsykoduk
bluOxigen has joined #ruby
dzhulk has joined #ruby
dyeske has quit [Remote host closed the connection]
CripperZ is now known as zz_CripperZ
ephemerian has quit [Quit: Leaving.]
blueOxigen has quit [Ping timeout: 245 seconds]
mojjojo has quit [Quit: mojjojo]
blueOxigen has joined #ruby
liamkeil1 has quit [Ping timeout: 246 seconds]
dhruvasagar has quit [Read error: Connection reset by peer]
<workmad3> lupine: vulnerable to what?
strk has joined #ruby
dhruvasagar has joined #ruby
vlad_starkov has joined #ruby
<strk> does bundle install builds locally ?
bluOxigen has quit [Ping timeout: 272 seconds]
bluebie has quit [Quit: bluebie]
newUser1234 has joined #ruby
<lupine> workmad3, the floating-point heap overflow
pranny has quit [Quit: Leaving.]
<shevy> strk, I think so, no other way would make sense
dhruvasagar has quit [Read error: Connection reset by peer]
<shevy> only fetching remote binary packages, but I don't think it's doing that
nonamehero has quit [Ping timeout: 240 seconds]
newUser1234 has quit [Ping timeout: 252 seconds]
dhruvasagar has joined #ruby
fgo has quit [Remote host closed the connection]
sayan has joined #ruby
fgo has joined #ruby
funburn has quit [Quit: funburn]
<arefaslani> how can I create a MAC headers for networking?
<jrhorn424> is it worth it to specify a symbol as input to a method if i'm just going to coerce it to s string within the method body?
bluOxigen has joined #ruby
sepp2k has quit [Quit: Leaving.]
dhruvasagar has quit [Read error: Connection reset by peer]
mojjojo has joined #ruby
osvico has joined #ruby
dhruvasagar has joined #ruby
mfmfmfmfmfmf has joined #ruby
blueOxigen has quit [Ping timeout: 272 seconds]
mephux has quit [Ping timeout: 260 seconds]
mephux has joined #ruby
hiyosi has joined #ruby
nonamehero has joined #ruby
sevenseacat has quit [Ping timeout: 272 seconds]
<shevy> jrhorn424 that's what I am often wondering myself
jrhorn424 is now known as zz_jrhorn424
mercwithamouth has quit [Ping timeout: 246 seconds]
popl has quit [Ping timeout: 248 seconds]
mojjojo has quit [Quit: mojjojo]
sleepee has joined #ruby
falood has joined #ruby
mercwithamouth has joined #ruby
<jlebrech> is there another way to sholver but only if the key doesn't exist?
GoodTimes has quit [Ping timeout: 245 seconds]
xk_id has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
smathieu has joined #ruby
amacgregor has quit [Ping timeout: 246 seconds]
geekbri has joined #ruby
svandiepen has joined #ruby
<shevy> wat
<shevy> sholver?
<strk> shevy: I'm trying to fix the "WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.9.0" warning
svandiepen has quit [Client Quit]
<shevy> strk I see. I usually compile anew
<strk> gem uninstall && gem install # doesn't help
MrPot4to has quit [Remote host closed the connection]
arietis has quit [Quit: Computer has gone to sleep.]
<strk> uhm, I see a custom libxml is downloaded by gem for building purpose !
<strk> that's where 2.8.0 comes from
<strk> -> /var/lib/gems/1.9.1/gems/nokogiri-1.6.0/ext/nokogiri/tmp/x86_64-linux-gnu/ports/libxml2/2.8.0/libxml2-2.8.0/
<strk> why is so ?
smathieu has quit [Ping timeout: 245 seconds]
<strk> or, how do I tell it to use system-installed libxml instead ?
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<strk> that is -> /usr/lib/i386-linux-gnu/libxml2.so.2.9.0
Macaveli has joined #ruby
postmodern has quit [Quit: Leaving]
mojjojo has joined #ruby
Xeago has joined #ruby
A1241 has joined #ruby
<shevy> dunno
<shevy> you seem to run a debian system
Elhu has quit [Quit: Computer has gone to sleep.]
<strk> derived (ubuntu)
A124 has quit [Read error: Operation timed out]
pothibo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
krz has quit [Quit: krz]
sevenseacat has joined #ruby
zoee has joined #ruby
amritanshu_RnD has quit [Remote host closed the connection]
larssmit has joined #ruby
mmitchell has quit []
bradhe has joined #ruby
jbpros has joined #ruby
Alina-malina has joined #ruby
zz_tsykoduk is now known as tsykoduk
<arefaslani> how to generate networking MAC and UDP headers in ruby?
bradhe has quit [Ping timeout: 264 seconds]
ravster has joined #ruby
polaco_zZz is now known as polaco
<triptec> how would you guys detemine if ruby version is above 1.9 from within the code?
emocakes has quit [Ping timeout: 264 seconds]
varfoo has quit [Quit: WeeChat 0.4.0]
<workmad3> triptec: 'if RUBY_VERSION.split('.').first.to_i >= 2'
danshultz has joined #ruby
A1241 has quit [Read error: Connection reset by peer]
A124 has joined #ruby
rjhunter has joined #ruby
irocksu has quit [Quit: irocksu]
kaspergrubbe has quit [Remote host closed the connection]
matheuscaceres has joined #ruby
<triptec> thanks
tsykoduk is now known as zz_tsykoduk
rjhunter has quit [Ping timeout: 240 seconds]
m8 has quit [Quit: Sto andando via]
geekbri_ has joined #ruby
brian___ has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ffranz has joined #ruby
colonolGron is now known as colway
<Hanmac> workmad3 & triptec what about RUBY_VERSION.start_with?("2") ?
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
<Hanmac> or RUBY_VERSION[/^2/]
kthl`` has joined #ruby
<kthl``> duh
geekbri has quit [Ping timeout: 252 seconds]
mfmfmfmfmfmf has quit [Ping timeout: 252 seconds]
zipper has quit [Read error: Operation timed out]
ewnd9 has quit [Ping timeout: 245 seconds]
Ox6abe has quit [Remote host closed the connection]
nvrch has quit [Quit: nvrch]
zipper has joined #ruby
drumusician has joined #ruby
mikecmpbll has joined #ruby
pranny has joined #ruby
pranny has quit [Client Quit]
liamkeily has joined #ruby
rjhunter has joined #ruby
mojjojo has quit [Quit: mojjojo]
mojjojo has joined #ruby
newUser1234 has joined #ruby
xk_id has quit [Quit:
mklappstuhl has joined #ruby
prakriti has quit [Quit: Leaving]
kaspergrubbe has joined #ruby
tharindu has quit [Quit: Leaving...]
newUser1234 has quit [Ping timeout: 246 seconds]
buscon has joined #ruby
mikepack has joined #ruby
sandeepk has quit [Quit: Leaving...]
dreinull has joined #ruby
amoli has joined #ruby
mfmfmfmfmfmf has joined #ruby
stevenha_ has quit []
<dreinull> date = Date.today; date.end_of_month - date.beginning_of_month + 1 => (31/1) ???
<shevy> Hanmac perhaps he meant to include 1.9.1 1.9.2 1.9.3, just not 1.9.0
<dreinull> whats wrong with my calculation, why do I get a rationale for that?
<shevy> the more important question is
<shevy> where from do you get #end_of_month ?
<shevy> because I don't seem to have it in Date
heftig has quit [Quit: Quitting]
<tobiasvl> probably rails
<dreinull> active_support, that is ok.
<Hanmac> yeah he falls into the rails trap
<dreinull> silly, I have to_i
<tobiasvl> dreinull: #RubyOnRails
<shevy> the rails ecosystem is massive
mikepack has quit [Ping timeout: 240 seconds]
<dreinull> Hanmac: I'm lazy today
<apeiros> dreinull: because Date works with rationale
<apeiros> and 31/1 == 31
jkamenik has joined #ruby
<shevy> >> Date.today
<eval-in> shevy => undefined method `today' for Date:Class (NoMethodError) ... (https://eval.in/72321)
heftig has joined #ruby
<dreinull> apeiros: ok, well
<shevy> >> require 'date'; Date.today
<eval-in> shevy => #<Date: 2013-11-22 ((2456619j,0s,0n),+0s,2299161j)> (https://eval.in/72322)
<Hanmac> shevy: calling it a ecosystem is a shame! its more a pollution ;P
<shevy> Hanmac do you know those zombie plants? from invasion of the body snatchers?
<shevy> that's the rails ecosystem
<shevy> it grows and grows and makes new zombies
mlpinit has joined #ruby
soba has quit [Ping timeout: 240 seconds]
<Hanmac> shevy: reminds me at the movie "dream catcher" ;P
danielcharles has joined #ruby
phansch has quit [Remote host closed the connection]
arietis has joined #ruby
osvico has quit [Ping timeout: 246 seconds]
soba has joined #ruby
bluOxigen has quit [Ping timeout: 265 seconds]
lsmola has quit [Ping timeout: 272 seconds]
QKO has quit [Read error: Connection reset by peer]
SHyx0rmZ has joined #ruby
stevenha_ has joined #ruby
mark_locklear has joined #ruby
fgo has quit [Remote host closed the connection]
QKO has joined #ruby
arefaslani has quit [Ping timeout: 240 seconds]
robbyoconnor has quit [Ping timeout: 245 seconds]
jnoob22_ has quit [Remote host closed the connection]
soxet has joined #ruby
ephemerian has joined #ruby
Ripp__ has quit []
madb055 has joined #ruby
xk_id has joined #ruby
brian___ has quit [Quit: brian___]
mfmfmfmfmfmf has quit [Read error: No route to host]
mfmfmfmfmfmf has joined #ruby
smathieu has joined #ruby
mfmfmfmfmfmf has quit [Client Quit]
polysics1 has joined #ruby
<polysics1> gotta love Ruby on occasion
<polysics1> undefined method `attribute?' for "127.0.0.1":String
<polysics1> with code f n.is_a?(String)
<polysics1> n
<polysics1> n['cloud']['local_ipv4']
<polysics1> else
<polysics1> elsif n.attribute?('cloud')
<polysics1> whaaaaaatever :D
vlad_starkov has quit [Remote host closed the connection]
breakingthings has joined #ruby
<olivier_bK> :p
arietis has quit [Quit: Computer has gone to sleep.]
olistik has quit [Ping timeout: 241 seconds]
<polysics1> aside from getting a laugh out of it, I have no idea on how to fix it :D
xcess_denied has quit [Quit: Leaving...]
<apeiros> ensure it's really a string (inspects can lie)
<apeiros> ensure it's really in that code
<apeiros> ensure String#is_a? or <thatobject>.is_a? is not overridden
<polysics1> money is on is_a?
polysics1 is now known as polysics
Gonzih has quit [Quit: leaving]
smathieu has quit [Ping timeout: 246 seconds]
ArchBeOS-work has joined #ruby
Gonzih has joined #ruby
bradhe has joined #ruby
<Hanmac> you also need to be sure that String is the String-class constant, and not some other constant
<Hanmac> or that the String class is not overwritten
lfox has joined #ruby
DrShoggoth has joined #ruby
stringoO has joined #ruby
olistik has joined #ruby
buscon has quit [Remote host closed the connection]
<Hanmac> polysics: the best is if you make a pastie from your entire code
jmaister_ has joined #ruby
jmaister has quit [Ping timeout: 252 seconds]
jmaister_ is now known as jmaister
falood has quit [Remote host closed the connection]
<polysics> unfortunately this is a very convoluted Chef recipe
bradhe has quit [Ping timeout: 272 seconds]
strk has left #ruby [#ruby]
evenix has joined #ruby
<polysics> and running a test takes 20 minutes, sigh
<polysics> Chef work is sloooooooow
Elfix has quit [Ping timeout: 252 seconds]
Alasdairrr has quit [Ping timeout: 252 seconds]
Alasdairrr has joined #ruby
<olivier_bK> i have a problem , i can't understand it
Elfix has joined #ruby
<olivier_bK> normally when i do my puts " fi -->#{@fi}" i must to get fi -->michelin and not fi -->["michelin"]
ExCa|iBuR has joined #ruby
<olivier_bK> so why i get that fi -->["michelin"]
workmad3 has quit [Ping timeout: 246 seconds]
kaldrenon has joined #ruby
sambao21 has joined #ruby
ewnd9 has joined #ruby
DrShoggoth has quit [Ping timeout: 245 seconds]
mercwithamouth has quit [Ping timeout: 264 seconds]
<Gonzih> olivier_bK: rm_r takes a list of targets and returns list of deleted instances as far as I can see
Vivekananda has quit [Read error: Connection reset by peer]
ItSANgo has joined #ruby
colway is now known as colonolGron
dzhulk has quit [Quit: Leaving.]
jrhe has joined #ruby
dzhulk has joined #ruby
mjs2600 has joined #ruby
<olivier_bK> Gonzih, i try that @fi = FileUtils.rm_r Dir.glob(@uid), :force => true
<olivier_bK> but i get nothing
<tobiasvl> olivier_bK: what do you mean, you get nothing?
mjs2600_ has joined #ruby
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
mjs2600 has quit [Read error: No route to host]
nvrch has joined #ruby
zarubin has quit [Remote host closed the connection]
matheuscaceres has quit [Quit: matheuscaceres]
<Gonzih> olivier_bK: it returns array
chihhsin has quit [Quit: leaving]
polysics has left #ruby [#ruby]
mojjojo has quit [Quit: mojjojo]
<Gonzih> olivier_bK: @fi=FileUtils.rm_r(Dir.glob(@uid), :force => true).first
newUser1234 has joined #ruby
sayan has quit [Read error: Connection reset by peer]
zarubin has joined #ruby
robbyoconnor has joined #ruby
mikesplain2 has joined #ruby
mklappstuhl has quit [Ping timeout: 240 seconds]
mklappstuhl has joined #ruby
mark06 has joined #ruby
zeeraw has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
<mark06> is it possible for a script that is required by another to know that script's path, just like a Bash script can do when it is sourced?
sleepee has quit [Quit: Leaving]
<olivier_bK> Gonzih, you need to put Di.glob inside the ()
<olivier_bK> okai
newUser1234 has quit [Ping timeout: 265 seconds]
<mark06> hmm, $0
lemonsparrow has quit [Ping timeout: 250 seconds]
DrShoggoth has joined #ruby
<Gonzih> olivier_bK: always use () in ruby, they are optional but still. I only added first call at the end.
DrShoggoth has quit [Read error: Connection reset by peer]
Virtualize|work has joined #ruby
kthl``` has joined #ruby
mklappstuhl has quit [Ping timeout: 272 seconds]
shredding has quit [Ping timeout: 272 seconds]
cody-- has joined #ruby
colonolGron has quit [Quit: leaving]
kthl`` has quit [Ping timeout: 246 seconds]
Kneferilis has quit [Ping timeout: 264 seconds]
chihhsin has joined #ruby
burlyscudd has joined #ruby
avril14th has joined #ruby
noop has quit [Ping timeout: 252 seconds]
noop has joined #ruby
pedda has joined #ruby
jonathanwallace has joined #ruby
jonathanwallace has quit [Client Quit]
evenix has quit [Remote host closed the connection]
jonathanwallace has joined #ruby
falood has joined #ruby
eeriegeek has joined #ruby
RaCx has joined #ruby
matheuscaceres has joined #ruby
Virtualize|work has quit [Read error: Connection reset by peer]
Elhu has joined #ruby
Xeago has quit [Remote host closed the connection]
F1skr has quit [Ping timeout: 252 seconds]
paolooo has joined #ruby
ItSANgo has quit [Quit: Leaving...]
<olivier_bK> i try to remove a directory but he do nothing
ehc has joined #ruby
fgo has joined #ruby
<olivier_bK> i have the good user on the directory
madb055 has quit [Read error: Connection reset by peer]
paolooo_ has joined #ruby
<tobiasvl> olivier_bK: can you explain better what happens?
sayan has joined #ruby
paolooo has quit [Ping timeout: 250 seconds]
F1skr has joined #ruby
<olivier_bK> tobiasvl, when i execute the script he do everything , i dont get any error
xcess_denied has joined #ruby
<olivier_bK> but the directoy are always her
Drakevr has quit [Ping timeout: 260 seconds]
Drakevr has joined #ruby
vpretzel has joined #ruby
<tobiasvl> you still don't have :force => true though
zipper has quit [Quit: Lost terminal]
<tobiasvl> but try with :secure => true too
<tobiasvl> To avoid this security hole, this method applies special preprocess. If path is a directory, this method chown(2) and chmod(2) all removing directories. This requires the current process is the owner of the removing whole directory tree, or is the super user (root).
<tobiasvl> oops sorry
baordog has joined #ruby
rzsd has quit [Remote host closed the connection]
baordog is now known as solidoodlesuppor
newbiehacker has joined #ruby
Kneferilis has joined #ruby
icy` has joined #ruby
icy` has joined #ruby
icy` has quit [Changing host]
<olivier_bK> tobiasvl, i found my error
Virtualize|work has joined #ruby
arefaslani has joined #ruby
mklappstuhl has joined #ruby
zoee has quit [Quit: This computer has gone to sleep]
Alina-malina has quit [Ping timeout: 265 seconds]
tedstriker has quit [Quit: Anti-Fraping status set.]
Drakevr has quit [Ping timeout: 260 seconds]
nicar has quit [Ping timeout: 260 seconds]
nicar has joined #ruby
Drakevr has joined #ruby
Drakevr has quit [Changing host]
Drakevr has joined #ruby
hersha has joined #ruby
icy has quit [Ping timeout: 265 seconds]
madb055 has joined #ruby
buscon has joined #ruby
bradhe has joined #ruby
sailias has joined #ruby
dzhulk has quit [Quit: Leaving.]
ItSANgo has joined #ruby
zipper has joined #ruby
smathieu has joined #ruby
lsmola has joined #ruby
soba has quit [Ping timeout: 240 seconds]
kthl```` has joined #ruby
zz_tsykoduk is now known as tsykoduk
kcombs has joined #ruby
nucatus has joined #ruby
zoee has joined #ruby
gyre007 has joined #ruby
bradhe has quit [Ping timeout: 272 seconds]
Xeago has joined #ruby
smathieu has quit [Ping timeout: 248 seconds]
kthl``` has quit [Ping timeout: 252 seconds]
buscon has quit [Remote host closed the connection]
madb055 has quit [Ping timeout: 248 seconds]
zoee has quit [Read error: Connection reset by peer]
zoee has joined #ruby
polaco is now known as polaco_zZz
havenwood has joined #ruby
_HolyCow1 has joined #ruby
madb055 has joined #ruby
madb055 has quit [Read error: Connection reset by peer]
madb055 has joined #ruby
Kensei has quit [Ping timeout: 256 seconds]
_solomon has quit [Quit: _solomon]
vlad_starkov has joined #ruby
_HolyCow has quit [Ping timeout: 248 seconds]
h_kon has quit [Remote host closed the connection]
chihhsin has quit [Read error: Connection reset by peer]
cody-- has quit [Quit: derp]
interactionjaxsn has joined #ruby
madb055 has quit [Ping timeout: 252 seconds]
chuk has joined #ruby
tsykoduk is now known as zz_tsykoduk
h_kon has joined #ruby
rjhunter has quit [Remote host closed the connection]
peterhel_ has joined #ruby
Astral_ has quit [Ping timeout: 272 seconds]
peterhel_ has quit [Remote host closed the connection]
peterhel_ has joined #ruby
peterhel_ is now known as peterhellberg_
xk_id has quit [Quit:
jalcine has quit [Excess Flood]
BizarreCake has joined #ruby
sepp2k has joined #ruby
rogue_nucleotide has joined #ruby
<rogue_nucleotide> hello
mercwithamouth has joined #ruby
elux has joined #ruby
gasbakid has joined #ruby
adkron has joined #ruby
flops has joined #ruby
xk_id has joined #ruby
newUser1234 has joined #ruby
h_kon has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 272 seconds]
momomomomo has joined #ruby
Gonzih has quit [Quit: leaving]
Gonzih has joined #ruby
sandeepk has joined #ruby
jalcine has joined #ruby
dhruvasagar has joined #ruby
mikesplain2 has quit [Ping timeout: 246 seconds]
tkuchiki has quit [Remote host closed the connection]
newUser1234 has quit [Ping timeout: 272 seconds]
Guest60381 is now known as martxel
asobrasil has joined #ruby
martxel has quit [Changing host]
martxel has joined #ruby
myappleguy has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
failshell has joined #ruby
ExCa|iBuR has quit [Ping timeout: 245 seconds]
mary5030 has joined #ruby
arefaslani has quit [Ping timeout: 246 seconds]
flops_ has joined #ruby
bootcoder has quit [Quit: Konversation terminated!]
bootcoder has joined #ruby
banister has joined #ruby
drumusician has quit [Ping timeout: 245 seconds]
tobago has quit [Remote host closed the connection]
Hanmac1 has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Virtualize|work has quit [Quit: Leaving...]
mikecmpbll has joined #ruby
flops has quit [Ping timeout: 264 seconds]
zipper has quit [Ping timeout: 264 seconds]
Virtualize|work has joined #ruby
chihhsin has joined #ruby
Hanmac has quit [Ping timeout: 246 seconds]
rogue_nucleotide has quit []
stevenha_ is now known as stevenhaddox__
yekta has joined #ruby
evenix has joined #ruby
heftig has quit [Quit: Quitting]
duggiefresh has joined #ruby
timonv has quit [Remote host closed the connection]
Al__ has joined #ruby
iamjarvo has joined #ruby
timonv has joined #ruby
aryaching has quit []
aryaching has joined #ruby
chuk has quit [Quit: Leaving]
falood has quit [Remote host closed the connection]
nucatus has quit [Ping timeout: 272 seconds]
orionstein_away is now known as orionstein
Bofu2U has quit [Quit: I outta here.]
thelorax123 has quit [Remote host closed the connection]
axl_ has joined #ruby
timonv has quit [Ping timeout: 265 seconds]
saltnvinegar has joined #ruby
liamkeily has quit [Quit: WeeChat 0.4.1]
liamkeily has joined #ruby
thelorax123 has joined #ruby
timonv has joined #ruby
jrhe has quit [Ping timeout: 246 seconds]
nwertman has quit [Ping timeout: 246 seconds]
jacobsmith has joined #ruby
Macaveli has quit [Quit: Computer has gone to sleep.]
tedstriker has joined #ruby
xcess_denied has quit [Quit: Leaving...]
arquebus has joined #ruby
enebo has joined #ruby
tkuchiki has joined #ruby
xk_id has quit [Quit:
blandflakes has joined #ruby
jrhe has joined #ruby
TaxmanBD has joined #ruby
Alina-malina has joined #ruby
bradhe has joined #ruby
kaspergrubbe has quit []
xk_id has joined #ruby
alup has quit [Quit: Leaving]
weezle_ has joined #ruby
nvrch has quit [Ping timeout: 272 seconds]
_solomon has joined #ruby
chihhsin has quit [Quit: leaving]
Zai00 has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yekta has quit [Quit: yekta]
tylersmith has joined #ruby
arquebus has left #ruby [#ruby]
xk_id has quit [Client Quit]
bradhe has quit [Ping timeout: 272 seconds]
nvrch has joined #ruby
lfox has quit [Quit: ZZZzzz…]
fgo has joined #ruby
proxie has joined #ruby
Virtualize|work has quit [Read error: Connection reset by peer]
EugenA has joined #ruby
aryaching has quit []
EugenA has left #ruby ["Konversation terminated!"]
chihhsin has joined #ruby
RaCx has joined #ruby
Hanmac1 is now known as Hanmac
sayan has quit [Ping timeout: 248 seconds]
smathieu has joined #ruby
apeiros has quit [Remote host closed the connection]
liamkeily has quit [Ping timeout: 272 seconds]
aryaching has joined #ruby
rh1n0 has joined #ruby
polaco_zZz is now known as polaco
zeade has quit [Quit: Leaving.]
_solomon has quit [Remote host closed the connection]
_solomon has joined #ruby
divi has joined #ruby
cody-- has joined #ruby
kevind_ has joined #ruby
lukec has joined #ruby
priyam_ has quit [Read error: Connection reset by peer]
havenwood has quit []
priyam_ has joined #ruby
yfeldblum has joined #ruby
Xeago has quit [Remote host closed the connection]
amoli has quit [Ping timeout: 246 seconds]
smathieu has quit [Ping timeout: 246 seconds]
sevenseacat has left #ruby [#ruby]
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
camilasan has quit []
krawchyk has joined #ruby
Xiti has joined #ruby
einarj has quit [Remote host closed the connection]
jalcine has quit [Excess Flood]
yfeldblu_ has joined #ruby
einarj has joined #ruby
mercwithamouth has quit [Ping timeout: 264 seconds]
evenix has quit [Remote host closed the connection]
arefaslani has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
tagrudev has quit [Remote host closed the connection]
tharindu has joined #ruby
ambushsabre has joined #ruby
dhruvasagar has quit [Ping timeout: 272 seconds]
jalcine has joined #ruby
sergicles has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby
einarj has quit [Ping timeout: 272 seconds]
arefaslani has quit [Remote host closed the connection]
kthl```` has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
newUser1234 has joined #ruby
petey has joined #ruby
mark06 has left #ruby [#ruby]
pixelgremlins has joined #ruby
Virtualize|work has joined #ruby
proxie has quit [Read error: Connection reset by peer]
fgo has quit [Remote host closed the connection]
newUser1234 has quit [Ping timeout: 265 seconds]
_HolyCow1 is now known as _HolyCow
dhruvasagar has joined #ruby
jkbbwr has joined #ruby
<jkbbwr> nhmood: Dude you here?
BlakeRG has joined #ruby
peterhellberg_ has quit []
jlast has joined #ruby
iamjarvo has quit [Remote host closed the connection]
havenwood has joined #ruby
iamjarvo has joined #ruby
zipper has joined #ruby
ExCa|iBuR has joined #ruby
workmad3 has joined #ruby
<BlakeRG> hey everyone, i keep seeing these articles all over the 'net that go like
<BlakeRG> "we migrated from rails to node.js/php/golang and saw 80% reduction in load"
<BlakeRG> are there any good cause studies out there about people who re-wrote in ruby and saw the same type of gains?
Tuxist has joined #ruby
<Hanmac> BlakeRG: we are puristian Rubyists ... we do not care about Rails ;P
<jkbbwr> HA
<jkbbwr> BlakeRG: Rails is really really bad perforamnce wise
<BlakeRG> i suspect that most of those gains are really happening because they know their application really well and can build it with best practices in mind
<jkbbwr> BlakeRG: No its just rails sucks performance wise
<cwarner> what would it matter anyway the case study would be specific to whatever the application is doing
<BlakeRG> but i'd like to see some articles to that affect
<waxjar> there is the framework shootout i think it's called
<jkbbwr> rails-stripped-ruby is the fastest rails deployment, it runs at 2.9% of the fastest framework
<jkbbwr> IT onnly does 6160 requests a second (json serialization)
zipper has quit [Ping timeout: 246 seconds]
zipper has joined #ruby
bean has joined #ruby
_maes_ has joined #ruby
_maes_ has quit [Client Quit]
nwertman has joined #ruby
ExxKA has joined #ruby
<olivier_bK> i have littel problem that i cant find . when i execute the code
_maes_ has joined #ruby
<olivier_bK> he delete the file and he display cant find file
<olivier_bK> :(
R33C3 has joined #ruby
nwertman has quit [Remote host closed the connection]
mengu has quit []
tvw has quit []
<tobiasvl> what does @paramfile contain?
<BlakeRG> i mean yeah there's the framework shoot out, i was hunting for articles about real world companies moving to ruby/rails and seeing big gains
<jkbbwr> BlakeRG: Maybe no articles show that no companies are experiencing this
<olivier_bK> tobiasvl, @paramfile= ["licence_","configuration_","customUser_", "extMapping_"]
flops_ has quit [Ping timeout: 264 seconds]
taion809 is now known as zzz_taion809
liamkeily has joined #ruby
mikepack has joined #ruby
drumusician has joined #ruby
<waxjar> it depends entirely on what the app does. the framework shootout just shows you what the "maximum performance" is (since it doesn't do anything useful most of the time). everything else you can just benchmark without involving a framework.
evenix has joined #ruby
terrellt has quit [Quit: Give a man a fish and he will eat for a day. Teach him how to fish, and he will sit in a boat and drink beer all day]
stevenha_ has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
nwertman has joined #ruby
existensil has joined #ruby
<olivier_bK> i think i much better
stevenhaddox__ has quit [Ping timeout: 272 seconds]
stevenhaddox has quit [Ping timeout: 246 seconds]
stevenha_ is now known as 17SADNN3F
zoee has quit [Quit: This computer has gone to sleep]
jacobsmith has quit [Ping timeout: 246 seconds]
lnemo has joined #ruby
mercwithamouth has joined #ruby
paolooo_ has quit [Quit: Page closed]
b00stfr3ak has joined #ruby
_maes_ has quit [Ping timeout: 252 seconds]
TaxmanBD has quit [Read error: Operation timed out]
lmickh has joined #ruby
kevind__ has joined #ruby
deception has joined #ruby
Emmanuel_Chanel has joined #ruby
proxie has joined #ruby
Virtualize|work has quit [Read error: Connection reset by peer]
<Hanmac> olivier_bK: "File.open("configuration_#{@url_instance}.php", "r").grep" is wrong ... use File.foreach
weezle_ has quit [Ping timeout: 250 seconds]
nowthatsamatt has joined #ruby
zz_tsykoduk is now known as tsykoduk
aganov has quit [Remote host closed the connection]
Lewix has joined #ruby
Lewix has quit [Changing host]
Lewix has joined #ruby
<olivier_bK> Hanmac, you write i didn't see it
<olivier_bK> do you know why the script delete all file
ExCa|iBuR has quit [Quit: I was using serenepIRCh http://www.serenity-irc.net/ :-]
<olivier_bK> and tell me cant find file
<olivier_bK> i cant find why
<Hanmac> olivier_bK: i mean using File.open without block is bad, use File.foreach directly
17SADNN3F has quit []
kevind_ has quit [Ping timeout: 272 seconds]
<olivier_bK> i m agree with you
Tearan has joined #ruby
smlgs has quit [Ping timeout: 260 seconds]
terrellt has joined #ruby
<Hanmac> also "#{@base_dir}""#{@conf_dir}" ... i mean the "" in the middle are unnessary, you can also use File.join(@base_dir,@conf_dir)
s2013 has joined #ruby
xk_id has joined #ruby
p8952 has quit [Remote host closed the connection]
bradhe has joined #ruby
gyre007 has quit [Remote host closed the connection]
gyre007 has joined #ruby
matheuscaceres has quit [Quit: matheuscaceres]
olistik has quit []
soxet has quit [Quit: Leaving]
Thanatermesis has joined #ruby
pixelgremlins has quit [Ping timeout: 246 seconds]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
d2dchat has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
sumark has quit [Remote host closed the connection]
jragon has joined #ruby
jgrevich has joined #ruby
gyre007 has quit [Ping timeout: 272 seconds]
filipe_ has joined #ruby
liamkeily has quit [Ping timeout: 272 seconds]
larssmit has left #ruby [#ruby]
CaptainJet has joined #ruby
sumark has joined #ruby
alo1 has quit [Quit: leaving]
TaxmanBD has joined #ruby
zeeraw has joined #ruby
alo1 has joined #ruby
nhmood has quit [Remote host closed the connection]
troessner has quit [Quit: Leaving]
arietis has joined #ruby
jragon has quit [Quit: Leaving]
jragon has joined #ruby
jragon has quit [Changing host]
jragon has joined #ruby
<jragon> How can I have a collection, say 10...180, but only have it ever 20 minutes
benwoody has joined #ruby
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sam113101 has quit [Quit: WeeChat 0.4.3-dev]
<terrellt> >> (10..180).step(10).to_a
<eval-in> terrellt => [10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180] (https://eval.in/72363)
macmartine has joined #ruby
<terrellt> Er
<terrellt> >> (10..180).step(20).to_a
<eval-in> terrellt => [10, 30, 50, 70, 90, 110, 130, 150, 170] (https://eval.in/72364)
sam113101 has joined #ruby
petey has quit [Remote host closed the connection]
petey has joined #ruby
MattStratton has joined #ruby
smathieu has joined #ruby
MattStratton has quit [Max SendQ exceeded]
Ox6abe has joined #ruby
matheuscaceres has joined #ruby
pedda has quit [Quit: Textual IRC Client: www.textualapp.com]
ixti has joined #ruby
gen_alexander has joined #ruby
BizarreCake has quit [Ping timeout: 272 seconds]
Solnse has joined #ruby
<jragon> Awesome, thanks terrellt
nhmood has joined #ruby
momomomomo has quit [Quit: momomomomo]
petey_ has joined #ruby
petey has quit [Read error: Connection reset by peer]
m8 has joined #ruby
gemmy has joined #ruby
smathieu has quit [Ping timeout: 245 seconds]
myappleguy has quit [Ping timeout: 264 seconds]
apeiros has joined #ruby
evenix has quit [Remote host closed the connection]
gyre007 has joined #ruby
heftig has joined #ruby
filipe_ has quit [Remote host closed the connection]
nhmood has quit [Client Quit]
newUser1234 has joined #ruby
<havenwood> or, less elegantly you can check if it divides by 20:
<havenwood> >> (10..180).select { |n| n % 20 == 0 }
<eval-in> havenwood => [20, 40, 60, 80, 100, 120, 140, 160, 180] (https://eval.in/72368)
myappleguy has joined #ruby
<havenwood> 20, 40 instead of 10, 30
andredieb has quit [Ping timeout: 260 seconds]
<havenwood> other way is faster and less code, just an option :P
andredieb has joined #ruby
andredieb has joined #ruby
andredieb has quit [Changing host]
Monie has joined #ruby
<jragon> How would I have change each entry to be XX Minutes instead?
RaCx has quit [Read error: Operation timed out]
<havenwood> >> (10..180).step(20).map { |n| "#{n} minutes" }
<eval-in> havenwood => ["10 minutes", "30 minutes", "50 minutes", "70 minutes", "90 minutes", "110 minutes", "130 minutes", "150 minutes", "170 minutes"] (https://eval.in/72369)
TaxmanBD has quit [Ping timeout: 252 seconds]
<jragon> Oh
<jragon> Cool.
RaCx has joined #ruby
<jragon> I forgot about the map action
<jragon> Thanks havenwood
newUser1234 has quit [Ping timeout: 240 seconds]
TaxmanBD has joined #ruby
troessner has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
sandeepk has quit [Quit: Leaving...]
Kabaka has joined #ruby
Monie has quit [Client Quit]
Xeago has joined #ruby
deception has quit [Quit: Goodbye]
mojjojo has joined #ruby
larissa has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
relix has joined #ruby
<havenwood> just to be silly:
<havenwood> >> (1..20).step(2).map(&:to_s).each_with_object(' minutes').map &:<<
<eval-in> havenwood => ["1 minutes", "3 minutes", "5 minutes", "7 minutes", "9 minutes", "11 minutes", "13 minutes", "15 minutes", "17 minutes", "19 minutes"] (https://eval.in/72370)
nucatus has joined #ruby
amund_ has quit [Ping timeout: 264 seconds]
<eka> hi, what is there to take care of arguments in ruby?
<onewheelskyward> trollop?
<havenwood> or slop
axilla has quit [Ping timeout: 246 seconds]
GreatSUN has joined #ruby
<GreatSUN> hey guys
jkline has joined #ruby
<GreatSUN> shortly need your help...
<havenwood> eka: when OptionParser is just too verbose, Trollop or Slop
<havenwood> never!!
einarj has joined #ruby
<GreatSUN> I got two modules where module1 should extend module2
gen_alexander has left #ruby [#ruby]
<eka> havenwood: OptionParser takes care of Arguments? thought that it's only for the options like --help --blah etc...
<eka> havenwood: thanks
pel_daniel has joined #ruby
<GreatSUN> I am using include Module1 in Module2
freezey has joined #ruby
<GreatSUN> if I check with .instance_methods, the method is there
maletor has joined #ruby
Xeago has quit [Ping timeout: 246 seconds]
<GreatSUN> if I call it, I get error message "undefined method"
<GreatSUN> running on windows ruby 1.9.3
<GreatSUN> any idea?
<eka> havenwood: thanks
momomomomo has joined #ruby
Vivekananda has joined #ruby
filipe_ has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
R33C3 has quit [Remote host closed the connection]
<havenwood> GreatSUN: If the methods on the module you're extending are instance methods, it should work. Are they class methods? Gist the code?
agent_white has joined #ruby
noyb has joined #ruby
dukz_ has joined #ruby
nari_ has joined #ruby
xk_id has quit [Quit:
gemmy has quit [Quit: Lost terminal]
<havenwood> >> module X def x; :x end end; module Y extend X end; Y.x
<eval-in> havenwood => :x (https://eval.in/72371)
<theRoUS> another HighLine question: 'question.echo = false' makes #ask ignore EOF (CTRL/D). is there any way to do echoless read but handle EOF as though it were echoed?
rippa has joined #ruby
noname001__ has quit [Read error: Operation timed out]
zz_jrhorn424 is now known as jrhorn424
carraroj has joined #ruby
<GreatSUN> havenwood: thanks for the idea
<GreatSUN> I already saw it myself
einarj has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Remote host closed the connection]
<GreatSUN> havenwood: the problem was... include instead of extend
<GreatSUN> :-(
newUser1234 has joined #ruby
flops has joined #ruby
<havenwood> GreatSUN: Aha!
io_syl has joined #ruby
sandeepk has joined #ruby
lfox has joined #ruby
chuk has joined #ruby
TaxmanBD has quit [Ping timeout: 265 seconds]
zipper has quit [Quit: Lost terminal]
timonv has quit [Remote host closed the connection]
<GreatSUN> havenwood: sometimes things can be so easy if you are not sitting too close to the monitor :D
<havenwood> OMGWTFBBQ, ruby-lang has changed!
zeade has joined #ruby
jrhorn424 is now known as zz_jrhorn424
<havenwood> hello 2.0.0-p353!
dukz_ has quit [Remote host closed the connection]
TaxmanBD has joined #ruby
nhmood has joined #ruby
nhmood has quit [Max SendQ exceeded]
nhmood has joined #ruby
nhmood has quit [Max SendQ exceeded]
ewnd9 has quit [Ping timeout: 248 seconds]
RaCx has quit [Quit: Computer has gone to sleep.]
pixelgremlins has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
vlad_starkov has joined #ruby
filipe_ has quit [Ping timeout: 240 seconds]
jlebrech has quit [Quit: Konversation terminated!]
RaCx has joined #ruby
zeeraw has joined #ruby
nvrch has quit [Quit: nvrch]
SHyx0rmZ has quit [Ping timeout: 265 seconds]
sumark has quit [Read error: Operation timed out]
freerobby has quit [Quit: Leaving.]
iamjarvo has quit [Remote host closed the connection]
noyb has quit [Ping timeout: 245 seconds]
maxmanders has quit [Ping timeout: 260 seconds]
iamjarvo has joined #ruby
motto has joined #ruby
zz_CripperZ is now known as CripperZ
nhmood has joined #ruby
m8 has quit [Read error: Operation timed out]
user258467 has quit [Quit: Quitte]
fcoury has quit [Ping timeout: 260 seconds]
dhruvasagar has quit [Read error: Operation timed out]
SirFunk has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
Notte has joined #ruby
petey_ has quit [Ping timeout: 246 seconds]
R33C3 has joined #ruby
ExxKA has quit [Quit: Leaving]
jkhwan has joined #ruby
fcoury has joined #ruby
sumark has joined #ruby
xcess_denied has joined #ruby
petey has joined #ruby
maxmanders has joined #ruby
Voodoofish430 has joined #ruby
chuk has quit [Quit: Leaving]
zigomir has joined #ruby
end_guy has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Ox6abe has quit [Remote host closed the connection]
psyl0n has joined #ruby
SirFunk has joined #ruby
psyl0n has quit [Changing host]
psyl0n has joined #ruby
gemmy has joined #ruby
pskosinski has quit [Read error: Connection reset by peer]
maletor has quit [Quit: Computer has gone to sleep.]
RichardBaker has joined #ruby
valesk has joined #ruby
GreatSUN has quit [Ping timeout: 250 seconds]
pskosinski has joined #ruby
geekbri_ has quit []
sam113101 has quit [Read error: Connection reset by peer]
dagobah has quit [Remote host closed the connection]
sparrovv has quit [Quit: sparrovv]
nomenkun has quit [Ping timeout: 245 seconds]
<onewheelskyward> woot
TaxmanBD has quit [Ping timeout: 246 seconds]
Thanatermesis has left #ruby ["ɯlɐɔ uı ʞɹoʍ oʇ ƃuıoƃ"]
TaxmanBD has joined #ruby
carlyle has joined #ruby
ssvo has joined #ruby
Astralum has joined #ruby
_jesse__ has joined #ruby
_jesse_ has quit [Ping timeout: 260 seconds]
sam113101 has joined #ruby
carraroj has quit [Ping timeout: 252 seconds]
timonv has joined #ruby
mrsolo has joined #ruby
jacobsmith has joined #ruby
bigoldrock has joined #ruby
acrussell has joined #ruby
mjs2600_ has quit [Remote host closed the connection]
Ox6abe has joined #ruby
<eka> havenwood: Slop works great, thanks
<onewheelskyward> Yeah it looks really nice.
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mmitchell has joined #ruby
Ox6abe has quit [Remote host closed the connection]
iamjarvo has quit [Remote host closed the connection]
psyl0n_ has joined #ruby
iamjarvo has joined #ruby
avril14th has quit [Remote host closed the connection]
SHyx0rmZ has joined #ruby
xk_id has joined #ruby
Xeago has joined #ruby
noyb has joined #ruby
psyl0n has quit [Ping timeout: 246 seconds]
maletor has joined #ruby
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
SirFunk has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 245 seconds]
Soda has quit [Write error: Connection reset by peer]
SirFunk has joined #ruby
codeFiend has joined #ruby
CaptainJet has quit [Ping timeout: 246 seconds]
terrellt has quit [Ping timeout: 246 seconds]
iamjarvo has quit [Ping timeout: 265 seconds]
enebo has quit [Quit: enebo]
brianpWins has quit [Quit: brianpWins]
timonv has quit [Remote host closed the connection]
Czupa has joined #ruby
bradhe has joined #ruby
jkhwan has quit [Remote host closed the connection]
nhmood has quit [Quit: alice.]
manoj_ has joined #ruby
jkhwan has joined #ruby
lfox has quit [Ping timeout: 252 seconds]
xcess_denied has quit [Read error: Connection reset by peer]
tjaco has joined #ruby
drumusician has quit [Ping timeout: 246 seconds]
Kricir has joined #ruby
Spami has joined #ruby
smathieu has joined #ruby
RaCx has quit [Ping timeout: 265 seconds]
pixelgremlins has quit [Ping timeout: 240 seconds]
avril14th has joined #ruby
mikepack_ has joined #ruby
jlebrech has joined #ruby
btanaka has joined #ruby
RaCx has joined #ruby
ghr has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Read error: Connection reset by peer]
jkhwan has quit [Ping timeout: 272 seconds]
mikepack has quit [Ping timeout: 252 seconds]
aspires has joined #ruby
g0bl1n has joined #ruby
smathieu has quit [Read error: Operation timed out]
zerolith has joined #ruby
RTG` has quit []
freerobby has quit [Quit: Leaving.]
sandeepk has quit [Read error: Connection reset by peer]
jbpros has quit [Quit: jbpros]
sandeepk has joined #ruby
timonv has joined #ruby
kevind__ is now known as kevind
olivier_bK has quit [Read error: Operation timed out]
jkhwan has joined #ruby
burlyscudd has quit [Quit: Leaving.]
Xeago has quit [Remote host closed the connection]
smathieu has joined #ruby
dwgill has joined #ruby
awarner_ has joined #ruby
Voodoofish4301 has joined #ruby
einarj has joined #ruby
coderhut has joined #ruby
Czupa has quit [Ping timeout: 252 seconds]
R33C3 has quit [Read error: Connection reset by peer]
R33C3 has joined #ruby
lmickh has quit [Quit: lmickh]
IceDragon has joined #ruby
Voodoofish430 has quit [Ping timeout: 245 seconds]
awarner has quit [Ping timeout: 272 seconds]
Ripp__ has joined #ruby
MrZYX|off is now known as MrZYX
Alina-malina has quit [Quit: Leaving]
moshee has quit [Ping timeout: 272 seconds]
terrellt has joined #ruby
lsmola has quit [Ping timeout: 272 seconds]
harrymoreno has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
mansi has joined #ruby
mjs2600 has joined #ruby
proxie has quit [Quit: Leaving...]
tyfighter has joined #ruby
ambushsabre has joined #ruby
sambao21 has joined #ruby
cody-- has quit [Quit: derp]
newUser1234 has quit [Ping timeout: 245 seconds]
p8952 has joined #ruby
cburyta has quit [Remote host closed the connection]
R33C3 has quit [Remote host closed the connection]
io_syl has quit []
vlad_starkov has joined #ruby
moshee has joined #ruby
momomomomo has quit [Quit: momomomomo]
Tearan has quit [Quit: Sleepy Badger....]
pragmatism has joined #ruby
tyfighter has quit [Client Quit]
TaxmanBD has quit [Ping timeout: 245 seconds]
Virtualize|work has joined #ruby
mikepack_ has quit [Remote host closed the connection]
Reach has quit [Remote host closed the connection]
newUser1234 has joined #ruby
jkhwan has quit [Remote host closed the connection]
SirFunk has quit [Remote host closed the connection]
JohnBat26 has quit [Ping timeout: 245 seconds]
jkhwan has joined #ruby
akonny has quit [Quit: akonny]
Elhu has quit [Quit: Computer has gone to sleep.]
TaxmanBD has joined #ruby
jdguzman has quit [Ping timeout: 265 seconds]
agent_white has quit [Ping timeout: 265 seconds]
timonv has quit [Remote host closed the connection]
ravster has quit [Quit: Leaving.]
stkowski has joined #ruby
agent_white has joined #ruby
coderhut has quit [Ping timeout: 250 seconds]
whunt has joined #ruby
zarubin has quit [Ping timeout: 248 seconds]
Macaveli has joined #ruby
vlad_starkov has quit [Ping timeout: 246 seconds]
mikepack has joined #ruby
realDAB has joined #ruby
petey has quit [Remote host closed the connection]
jkhwan has quit [Ping timeout: 272 seconds]
mojjojo has quit [Quit: mojjojo]
petey has joined #ruby
noop has quit [Ping timeout: 265 seconds]
evenix has joined #ruby
mlpinit has quit [Remote host closed the connection]
newUser1234 has quit [Read error: Connection reset by peer]
jkhwan has joined #ruby
mlpinit has joined #ruby
newUser1234 has joined #ruby
freerobby has joined #ruby
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benwoody has quit [Quit: benwoody]
burlyscudd has joined #ruby
agent_white has quit [Ping timeout: 246 seconds]
iamjarvo has joined #ruby
einarj has quit [Remote host closed the connection]
smathieu has quit [Remote host closed the connection]
agent_white has joined #ruby
jacobsmith has quit [Ping timeout: 272 seconds]
smathieu has joined #ruby
VTLob has joined #ruby
Notte has quit [Remote host closed the connection]
jlebrech has quit [Quit: Konversation terminated!]
awpti_ has joined #ruby
newbiehacker has quit [Ping timeout: 240 seconds]
petey has quit [Ping timeout: 252 seconds]
VTLob has quit [Read error: Connection reset by peer]
Lobster_ has joined #ruby
benwoody has joined #ruby
ghostawe has joined #ruby
newUser1234 has quit [Read error: No route to host]
newUser1_ has joined #ruby
asteros has joined #ruby
iamjarvo has quit [Remote host closed the connection]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
TaxmanBD has quit [Ping timeout: 245 seconds]
robert__ has joined #ruby
robert__ has quit [Changing host]
robert__ has joined #ruby
<MrZYX> apeiros: 1.9.3-p484 /topic ;)
smathieu has quit [Ping timeout: 272 seconds]
petey has joined #ruby
benlieb has joined #ruby
iamjarvo has joined #ruby
troessner has quit [Quit: Leaving]
gemmy has quit [Ping timeout: 240 seconds]
<apeiros> oh, 1.9.3 got updated too?
brianpWins has joined #ruby
<apeiros> thanks @ MrZYX
noop has joined #ruby
clov3r has joined #ruby
closer009 has joined #ruby
nwertman has quit [Ping timeout: 245 seconds]
apeiros changed the topic of #ruby to: Ruby 2.0.0-p353: http://ruby-lang.org (Ruby 1.9.3-p484) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
sandeepk has quit [Quit: Leaving...]
p8952 has quit [Remote host closed the connection]
jkline has quit [Quit: jkline]
<MrZYX> apeiros: yeah, even 1.8 is vulnerable, finally we can really blame all the people still using it :P
robert_ has quit [Read error: Connection reset by peer]
closer has quit [Ping timeout: 252 seconds]
TaxmanBD has joined #ruby
tkuchiki has quit [Remote host closed the connection]
maletor has quit [Quit: Computer has gone to sleep.]
smathieu has joined #ruby
iamjarvo has quit [Remote host closed the connection]
realDAB has quit [Quit: realDAB]
larissa has quit [Quit: Leaving]
iamjarvo has joined #ruby
maletor has joined #ruby
Zai00 has quit [Quit: Zai00]
Macaveli has quit [Quit: Computer has gone to sleep.]
paolooo has joined #ruby
awarner_ has quit [Remote host closed the connection]
awarner has joined #ruby
SirFunk has joined #ruby
pixelgremlins has joined #ruby
<havenwood> MrZYX: ahahaha
anderse has joined #ruby
lmickh has joined #ruby
<havenwood> so true
burlyscudd1 has joined #ruby
burlyscudd1 has quit [Client Quit]
bluOxigen has joined #ruby
cody-- has joined #ruby
<Morrolan> Oh, new website? Looks much less cramped than before.
Voodoofish4301 has quit [Ping timeout: 240 seconds]
randomnick_ has joined #ruby
cburyta has joined #ruby
jrhe has quit [Ping timeout: 246 seconds]
Virtualize|work has quit [Quit: Leaving...]
awarner has quit [Ping timeout: 264 seconds]
burlyscudd has quit [Ping timeout: 272 seconds]
paolooo_ has joined #ruby
realDAB has joined #ruby
jrhe has joined #ruby
nobitanobi has joined #ruby
tedstriker has quit [Quit: Anti-Fraping status set.]
<nobitanobi> gut mornaing
<nobitanobi> ~
paolooo has quit [Ping timeout: 250 seconds]
GoodTimes has joined #ruby
enebo has joined #ruby
Tuxist has quit [Remote host closed the connection]
mr_red has quit [Ping timeout: 245 seconds]
heidi has joined #ruby
echevemaster has quit [Remote host closed the connection]
<havenwood> I like the new site. I don't know that I like "A programmer's best friend" though.
<nobitanobi> shevy, wake up plz
guiocavalcanti has quit []
Lobster_ has quit [Read error: Operation timed out]
Guest25987 has quit [Remote host closed the connection]
mr_red has joined #ruby
TaxmanBD has quit [Ping timeout: 265 seconds]
Kricir has quit [Remote host closed the connection]
TaxmanBD has joined #ruby
cburyta has quit [Ping timeout: 272 seconds]
nanoyak has joined #ruby
duggiefresh has quit [Remote host closed the connection]
Lobster_ has joined #ruby
Voodoofish430 has joined #ruby
Ox6abe has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
echevemaster has joined #ruby
javos has joined #ruby
interactionjaxsn has joined #ruby
mmcdaris has joined #ruby
anderse has quit [Ping timeout: 272 seconds]
ocnam has joined #ruby
shadoi1 has joined #ruby
javos has quit [Client Quit]
javos has joined #ruby
sn0wb1rdz has quit [Quit: See ya]
iliketur_ has joined #ruby
BigBlueBacon has joined #ruby
sn0wb1rdz has joined #ruby
Ox6abe has quit [Ping timeout: 248 seconds]
interactionjaxsn has quit [Ping timeout: 252 seconds]
TaxmanBD has quit [Ping timeout: 245 seconds]
mansi has quit [Remote host closed the connection]
liamkeily has joined #ruby
smathieu has quit [Remote host closed the connection]
mrfoto has joined #ruby
nobitanobi has quit [Read error: Connection reset by peer]
dwgill has quit [Ping timeout: 246 seconds]
smathieu has joined #ruby
Alina-malina has joined #ruby
smathieu has quit [Read error: Connection reset by peer]
mansi_ has joined #ruby
smathieu has joined #ruby
joshwines_ has quit [Ping timeout: 245 seconds]
ssvo_ has joined #ruby
m8 has joined #ruby
ssvo has quit [Ping timeout: 272 seconds]
Apane has joined #ruby
motto has quit [Ping timeout: 272 seconds]
F1skr has quit [Quit: WeeChat 0.4.2]
joshwines_ has joined #ruby
io_syl has joined #ruby
leflaw has joined #ruby
rdark has quit [Quit: leaving]
sam113101 has quit [Read error: Connection reset by peer]
sam113102 has joined #ruby
einarj has joined #ruby
leflaw has quit [Remote host closed the connection]
sparrovv has joined #ruby
vlad_starkov has joined #ruby
tharindu has quit [Quit: Leaving...]
workmad3 has quit [Ping timeout: 252 seconds]
Xeago has joined #ruby
d2dchat has quit [Remote host closed the connection]
Czupa has joined #ruby
nateberkopec has joined #ruby
jrhe has quit [Quit: jrhe]
einarj has quit [Remote host closed the connection]
SirFunk has quit [Read error: Connection reset by peer]
smathieu has quit [Remote host closed the connection]
JohnBat26 has joined #ruby
SirFunk has joined #ruby
smathieu has joined #ruby
pixelgremlins has quit [Ping timeout: 246 seconds]
nwertman has joined #ruby
Xeago has quit [Ping timeout: 245 seconds]
mando has joined #ruby
stevenhaddox has joined #ruby
sn0wb1rd has quit [Quit: See ya]
sn0wb1rdz is now known as sn0wb1rd
sn0wb1rd has quit [Quit: See ya]
apeiros has quit [Remote host closed the connection]
sn0wb1rd has joined #ruby
apeiros has joined #ruby
bklane has joined #ruby
smathieu has quit [Ping timeout: 264 seconds]
obs has quit [Quit: Saliendo]
paolooo_ has quit [Quit: Page closed]
SirFunk has quit [Remote host closed the connection]
Tearan has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
SirFunk has joined #ruby
bluOxigen has quit [Ping timeout: 264 seconds]
interactionjaxsn has joined #ruby
lukec has quit [Quit: lukec]
mrfoto has quit []
|PiP| has joined #ruby
apeiros has quit [Ping timeout: 265 seconds]
<|PiP|> if i have block of code, and one line throws an exception, how do i continue execution to the next lines?
<havenwood> |PiP|: begin; rescue
<|PiP|> yes, i know about begin, rescue but i want all my lines in the begin block
sputnik13 has joined #ruby
nobitanobi has joined #ruby
<|PiP|> lemme make an example of what i mean
BizarreCake has joined #ruby
stevenhaddox has quit []
yfeldblu_ has joined #ruby
soukihei has quit [Ping timeout: 241 seconds]
kirun has joined #ruby
burlyscudd has joined #ruby
<MrZYX> move Company.update_all_info behind the rescue block
smathieu has joined #ruby
g0bl1n has quit [Ping timeout: 272 seconds]
nobitanobi has quit [Client Quit]
<BlakeRG> how about an ensure block
<|PiP|> basically though
ehc has quit [Quit: ehc]
<|PiP|> i want every line in my begin to execute
jrhe has joined #ruby
mjs2600 has quit [Remote host closed the connection]
atmosx has joined #ruby
<|PiP|> if i have a bunch of different things running, i dont want to put everything in the rescue/ensure block
<havenwood> |PiP|: you could `retry` in the `rescue` block to go again from the top, or you can do like: Account.do_something_else rescue nil
sambao21 has quit [Quit: Computer has gone to sleep.]
<MrZYX> |PiP|: throw less exceptions.
<jwest> Smaller blocks.
p8952 has joined #ruby
<MrZYX> it sounds a lot like you're using them for flow control
<|PiP|> there is no way to say "go to next line"
robert__ is now known as robert_
<havenwood> exceptions should be exceptionally rare and an exception to the norm
<MrZYX> ^
<|PiP|> they are, but i dont want a random exception to stop execution of something that is completely unrelated
vlad_starkov has quit [Remote host closed the connection]
p8952 has left #ruby [#ruby]
<havenwood> |PiP|: Account.do_something_else rescue nil; Company.update_all_info rescue nil
<MrZYX> if it's completely unrelated, why the hell is it in the same method?
<jwest> If it's not related, it doesn't belong in the same block.
awarner has joined #ruby
vlad_starkov has joined #ruby
nobitanobi has joined #ruby
awarner has quit [Read error: Connection reset by peer]
sambao21 has joined #ruby
<MrZYX> hm, I wouldn't indent ensure that way
polaco is now known as polaco_zZz
awarner has joined #ruby
<havenwood> i wouldn't indent by one space either :P
mikecmpbll has joined #ruby
momomomomo has joined #ruby
<havenwood> ensure <- 1 and above and below it 1 ->
manoj_ has quit [Read error: Connection reset by peer]
stevenhaddox has joined #ruby
mjs2600 has joined #ruby
<MrZYX> I only use ensure to emphasize something that has to happen
<MrZYX> otherwise I just move it behind the rescue
<MrZYX> or if I reraise in the rescue of course
<BlakeRG> just wrap your entire app is a rescue and call it a day
hersha has quit [Quit: hersha]
<BlakeRG> ;)
<MrZYX> |PiP|: anyway, the message is that you most likely want to rethink how you use exceptions
Alina-malina has quit [Ping timeout: 246 seconds]
hiyosi has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Ping timeout: 246 seconds]
Alina-malina has joined #ruby
Mon_Ouie has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
Alina-malina has joined #ruby
phansch has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
jacobsmith has joined #ruby
chuk has joined #ruby
mjs2600 has quit [Remote host closed the connection]
Alina-malina has joined #ruby
Reach has joined #ruby
Ripp__ has quit []
Ripp__ has joined #ruby
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
realDAB has quit [Quit: realDAB]
paul_k has joined #ruby
bluOxigen has joined #ruby
havenwood has quit [Remote host closed the connection]
sparrovv has quit [Quit: sparrovv]
maletor has quit [Quit: Computer has gone to sleep.]
Solnse has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby
phansch has quit [Ping timeout: 264 seconds]
nomenkun has joined #ruby
Kricir has joined #ruby
BigBlueBacon has quit []
tharindu has joined #ruby
divi has joined #ruby
blueOxigen has joined #ruby
<havenwood> >> def suppress; begin; yield; rescue Exception; end end; suppress { high.upto kite }
<eval-in> havenwood => nil (https://eval.in/72485)
ssvo has joined #ruby
dangerousdave has joined #ruby
<havenwood> |PiP|: there ^ just wrap your code in a `suppress do` :P
gyre007 has quit [Ping timeout: 272 seconds]
<havenwood> >.>
javos_ has joined #ruby
zerolith has quit [Quit: zerolith]
tharindu has quit [Read error: Connection reset by peer]
tharindu has joined #ruby
lfox has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Macaveli has joined #ruby
Dev_ryanrr has joined #ruby
<MrZYX> m(
tjbiddle has joined #ruby
Spami has joined #ruby
bluOxigen has quit [Ping timeout: 264 seconds]
ssvo_ has quit [Ping timeout: 272 seconds]
javos has quit [Ping timeout: 252 seconds]
Czupa has quit [Quit: Wychodzi]
mklappstuhl has quit [Remote host closed the connection]
Ripp__ has quit []
cburyta has joined #ruby
Dev_ryanrr has quit [Client Quit]
tharindu has quit [Ping timeout: 264 seconds]
avril14th has quit [Read error: Connection reset by peer]
jerius has joined #ruby
lewellyn has joined #ruby
mjs2600 has joined #ruby
motto has joined #ruby
yfeldblu_ has quit [Read error: Connection reset by peer]
cburyta has quit [Ping timeout: 272 seconds]
phansch has joined #ruby
yfeldblum has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
mjs2600 has quit [Remote host closed the connection]
breakingthings has quit []
skaflem has quit [Quit: This computer has gone to sleep]
d2dchat has joined #ruby
m8 has quit [Ping timeout: 264 seconds]
[lewellyn] has joined #ruby
Davey has joined #ruby
nobitanobi has quit [Ping timeout: 245 seconds]
lukec has joined #ruby
TDJACR has quit [Ping timeout: 245 seconds]
smathieu has quit [Remote host closed the connection]
smathieu has joined #ruby
hersha has joined #ruby
zarubin has joined #ruby
iamjarvo_ has joined #ruby
alvaro_o has joined #ruby
capicue has joined #ruby
iamjarvo_ has quit [Remote host closed the connection]
matheuscaceres has quit [Quit: matheuscaceres]
iamjarvo_ has joined #ruby
Dan_ has joined #ruby
Dan_ is now known as Guest29000
iamjarvo has quit [Ping timeout: 246 seconds]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
misutowolf has joined #ruby
cburyta has joined #ruby
misutowolf has quit [Remote host closed the connection]
smathieu has quit [Ping timeout: 272 seconds]
mmcdaris has quit [Ping timeout: 272 seconds]
mmcdaris_ has joined #ruby
TDJACR has joined #ruby
Soda has joined #ruby
Al__ has quit [Quit: Al__]
pragmatism has quit [Ping timeout: 245 seconds]
cgore has quit [Remote host closed the connection]
mmcdaris_ has quit [Client Quit]
sambao21 has quit [Quit: Computer has gone to sleep.]
carlyle has quit [Remote host closed the connection]
kindjal has joined #ruby
jbpros has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
mikepack has quit [Remote host closed the connection]
mark_locklear has quit [Quit: Leaving]
mikepack has joined #ruby
javos_ has quit [Read error: Connection reset by peer]
breakingthings has joined #ruby
javos has joined #ruby
Mars` has joined #ruby
<ambushsabre> brandonblack
allaire has joined #ruby
psyl0n_ has quit [Remote host closed the connection]
nanoyak has joined #ruby
cgore has joined #ruby
mansi_ has quit [Remote host closed the connection]
jbpros has quit [Quit: jbpros]
mojjojo has joined #ruby
jerius has quit [Quit: Computer has gone to sleep.]
mikepack has quit [Ping timeout: 264 seconds]
mjs2600 has joined #ruby
petey has quit [Remote host closed the connection]
nari_ has quit [Ping timeout: 246 seconds]
petey has joined #ruby
jacobsmith has quit [Ping timeout: 272 seconds]
mikepack has joined #ruby
mansi has joined #ruby
iamjarvo has joined #ruby
mikecmpbll has quit [Quit: Computer has gone to sleep.]
Dreamer3 has quit [Quit: Leaving...]
mikepack has quit [Remote host closed the connection]
DrShoggoth has joined #ruby
mikepack has joined #ruby
petey_ has joined #ruby
petey has quit [Read error: Connection reset by peer]
DrShoggoth has quit [Max SendQ exceeded]
mikecmpbll has joined #ruby
chuk has quit [Quit: Leaving]
iamjarvo_ has quit [Ping timeout: 265 seconds]
reset has joined #ruby
DrShoggoth has joined #ruby
mansi has quit [Ping timeout: 246 seconds]
smathieu has joined #ruby
bigoldrock has quit [Ping timeout: 272 seconds]
realDAB has joined #ruby
lmickh has quit [Quit: lmickh]
javos has quit [Read error: Connection reset by peer]
blueOxigen has quit [Ping timeout: 272 seconds]
javos has joined #ruby
mikel_ has joined #ruby
bigoldrock has joined #ruby
iamjarvo has quit [Remote host closed the connection]
sambao21 has joined #ruby
<mikel_> hi i am interested in bolting on ruby to a web platform i'm creating
<mikel_> but all i want is for people to use the language part of ruby
<mikel_> rails to me is a little unnecessary
iamjarvo has joined #ruby
einarj has joined #ruby
<mikel_> i'm not familiar with rails, so when i say that does that make sense? do people want to use ruby for web development without rails?
vlad_starkov has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
mojjojo has quit [Quit: mojjojo]
<MrZYX> there are other web frameworks/libraries for ruby besides rails, so it might
<failshell> mikel_: i use sinatra sometimes
vlad_starkov has joined #ruby
<mikel_> ok i mean i guess that's fine
yfeldblum has quit [Remote host closed the connection]
mansi has joined #ruby
<ambushsabre> I love sinatra
<mikel_> how would i run Rails from a ruby context?
realDAB has quit [Client Quit]
<mikel_> does that make sense?
<ambushsabre> it's so much more lightweight than rails and I love it
<mikel_> like can i just call, "myrailsApp.rb" and it loads the rails environment
vlad_starkov has quit [Remote host closed the connection]
<MrZYX> usually you start a ruby web app via a so called application server, common choices include Unicorn, Puma and Passenger
mjs2600 has quit [Remote host closed the connection]
<havenwood> mikel_: Rails is just one option for a Rack framework. Rack is just one webserver interface option for Ruby.
<mikel_> ok would you reccomend i use Rack or Thin?
liamkeily has quit [Read error: Operation timed out]
<MrZYX> Thin uses Rack
<existensil> thin runs rack apps
<havenwood> mikel_: This is a Rack webserver.
<havenwood> Thin**
<mikel_> ok could a person run Rails through Thin?
<MrZYX> Rack is an interface, a protocol if you want to call it that way
<existensil> mikel_: yes
<mikel_> without using a proxy type handoff/
<havenwood> mikel_: (Rails, Sinatra, NY, Scorched, Camping) Rack (Thin Unicorn Puma Webrick)
RichardBaker has quit [Quit: RichardBaker]
<mikel_> ok thank you havenwood
<mikel_> so Rails implicitly calls one of the Rack instances/implementations
<MrZYX> hmm I think I'd draw it like () <-- Rack --> () :P
hiyosi has joined #ruby
mjs2600 has joined #ruby
lkba has joined #ruby
<MrZYX> mikel_: more the other way around
charliesome has joined #ruby
einarj has quit [Ping timeout: 252 seconds]
<havenwood> mikel_: So on one side of Rack is the framework or dsl, like Sinatra. On the other side of Rack is a Ruby webserver, like Thin. Then usually folk will use Nginx or Apache as a reverse mirror proxy, pointing at Thin (or other option in its place)
vlad_starkov has joined #ruby
mansi has quit [Ping timeout: 264 seconds]
mjs2600_ has joined #ruby
<mikel_> aye
<mikel_> this makes sense to me
javos has quit [Read error: Connection reset by peer]
Guest29000 has quit [Remote host closed the connection]
<mikel_> in other words, i want a user to be able to call an .rb file from my asyncronous module loader platform
pragmatism has joined #ruby
<mikel_> and if they want to have the rb file load ruby, that's fine
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<mikel_> err load rails*
javos has joined #ruby
<mikel_> does this make sense
<mikel_> it sounds like so long as i package nginx with a thin proxy, i should be fine
<havenwood> (Unicorn Thin Puma Webrick Reel-Rack) <-- Rack --> (Rails Sinatra Camping Scorched NY)
<MrZYX> I can't really say I've an idea what a "asynchronous module loader platform" might look like
<havenwood> MrZYX: there ^ :P
sambao21 has quit [Quit: Computer has gone to sleep.]
<mikel_> mk
carlyle has joined #ruby
<mikel_> it's kinda like i could load PHP
<mikel_> i could like rb
<mikel_> i could load java
<mikel_> all from a console
<mikel_> doesn't matter, they all work
<mikel_> :)
mojjojo has joined #ruby
pothibo has joined #ruby
asteros has quit [Quit: asteros]
<MrZYX> so.... a shell?
bluOxigen has joined #ruby
<mikel_> just not sure rails will make that easy
<MrZYX> like bash? :P
<mikel_> but a browser
<havenwood> mikel_: irb
<havenwood> mikel_: but use Pry (gem install pry) over irb
banisterfiend has joined #ruby
<mikel_> Pry over irb, ok
Guazi has joined #ruby
mjs2600 has quit [Ping timeout: 264 seconds]
<MrZYX> hm, to me it sounds like a apache preconfigured with passenger, mod_php etc
<mikel_> yes
<mikel_> you got it
<mikel_> i'm trying to make rails behave like PHP
banisterfiend is now known as r0bgleeson
hiyosi has quit [Ping timeout: 272 seconds]
<mikel_> how do i do that
<MrZYX> check passenger
ghostawe has quit [Read error: Operation timed out]
<havenwood> oh yeah, i forgot passenger on my list
pontiki has joined #ruby
<mikel_> ew i don't like meteor
javos has quit [Read error: Connection reset by peer]
<Guazi> Hi All, I'm trying to make an internal purchasing system for my company and I want to intercept third party "Add To Cart" requests, from say, Amazon or Staples, and have it added to the internal company "cart" instead...any ideas how to impletement this?
skaflem has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<mikel_> wow and they charge
jkhwan has quit [Ping timeout: 272 seconds]
tvw has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
<existensil> Guazi: sounds like you'd need to have requests run through some sort of proxy server you controlled that would pass through must requests but when an add-to-cart URL/request pattern is encountered it would do something different
<MrZYX> mikel_: you don't need the enterprise features in most cases
<existensil> s/must/most
clov3r has quit [Remote host closed the connection]
BizarreCake has quit [Quit: Leaving]
mrsolo has quit [Quit: This computer has gone to sleep]
<mikel_> i don't think i trust people that want you to pay for infrastructure technology
jprovazn has quit [Quit: Odcházím]
clov3r has joined #ruby
<mikel_> or people that offer it for free
sambao21 has joined #ruby
harrymoreno has quit [Quit: harrymoreno]
<MrZYX> ?!
<Guazi> existensil: thanks, any recommendations for a proxy solution that works well with Rails?
PragmaticCypher has quit [Quit: Leaving]
<existensil> Guazi: no idea. never done anything like that.
<Guazi> thanks :)
<mikel_> ok so if i want to run a rails app
<mikel_> in nginx i have to forward based on a directory to a proxy
<mikel_> which is silly bc every time i want to make a new app, i have to set up a vhost or new proxy
<havenwood> yup, to a port or socket where rails is running
<mikel_> do i have this correct?
sambao21 has quit [Client Quit]
<mikel_> so i have to reboot my web server basically
heidi has quit [Quit: Leaving.]
<havenwood> huh?
<MrZYX> nah, nginx and apache both support config reloading
mklappstuhl has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<mikel_> nginx -s reload
<mikel_> yea but say i wanted to have 1,000 ruby apps
<mikel_> i now have to block out 1,000 ports?
<pontiki> you can use sockets instead of ports
<mikel_> oh i getcha
<mikel_> so it determines the port at runtime
<MrZYX> or use passenger which runs inside nginx/apache
<existensil> mikel_: you could probably write your own custom rack middleware that would load the user's ruby and pass it the request. giving them access to "rails" though would not work that way, and not sure how a single .rb file and rails would ever work together... no models, controllers, or views, no db migrations, no nothing. its rails without anything that rails is good for.
<havenwood> mikel_: yeah, 1000 sockets more likely, but sure you could have 1000 ports
<mikel_> looool
<mikel_> right
codeFiend has quit [Quit: codeFiend]
<mikel_> ok do you guys as developers want access to something like this?
<existensil> if you went the rack middleware route you could have a single rack "app" that would hand off each request to each user script, so you wouldn't have to restart
<MrZYX> mikel_: don't think so
<pontiki> so i'm just in, i don't know what "this" is
<existensil> mikel_: no
<mikel_> i can potentially give you the power to load in and out of your browser different ruby apps really quickly
<havenwood> i don't know what 'this' is either
RichardBaker has joined #ruby
stevenhaddox has quit []
jdguzman has joined #ruby
sambao21 has joined #ruby
clov3r has quit [Ping timeout: 272 seconds]
Kricir has quit [Remote host closed the connection]
<existensil> there was a web based coding solution i played with a while back that supported ruby and appeared to be doing something similar... single .rb file that was probably loaded by some custom rack piece
nanoyak has quit [Quit: Computer has gone to sleep.]
mjs2600 has joined #ruby
sambao21 has quit [Client Quit]
stevenhaddox has joined #ruby
<existensil> was fun to play with for a few minutes, but its long term usefulness was extremely limited
tharindu has joined #ruby
<mikel_> ok so i am hearing that ruby support in my platform is not really worth the cost
<mikel_> basically
<mikel_> i'd give you ruby as a language
<mikel_> you would not be using MVC
<havenwood> what are you talking about?
<mikel_> in other words, do you want to use ruby because of MVC or because of the syntax
<mikel_> and the underlying libraries to do your basic programming tasks
mklappstuhl has quit [Remote host closed the connection]
<pontiki> what would i get out of "this"?
sambao21 has joined #ruby
<mikel_> oh
<mikel_> my platform, duh, that's what you meant by "this"
mjs2600__ has joined #ruby
<mikel_> it's a beast?
<pontiki> idk, what did *you* mean by "this"?
<mikel_> you kinda just gotta see it and use it to know
<mikel_> oh
<mikel_> don't worry lol
<pontiki> ok, nw
<mikel_> i think you all gave me enough to answer my question
<MrZYX> mikel_: I get the feeling that you should read up on the terms "programming" and "software engineering"
iamjarvo_ has joined #ruby
<pontiki> or "marketing"
<existensil> mikel_: i have no idea what your platform *does*. seems likely i wouldn't want to use it at all. though, if i did, having an option for ruby would definitely be something i would appreciate
sparrovv has joined #ruby
<mikel_> aye
<mikel_> yea
<existensil> the question you have to answer, is: are ruby developers are significant portion of your target audience
<mikel_> nono
mjs2600_ has quit [Ping timeout: 272 seconds]
<mikel_> hm
<havenwood> mikel_: There are many ways to do it. We have many ways to hot reload apps. I use Ruby because it is my favorite general purpose programming language.
mklappstuhl has joined #ruby
<mikel_> ok yea that's kinda what i'm going for
<mikel_> what might i look into for sockets in ruby
<MrZYX> look up what sockets are
<mikel_> i.e. running thin via socket
decoponio has quit [Quit: Leaving...]
<existensil> :-)
<havenwood> :-)
<mikel_> not that socket :P
tharindu has quit [Ping timeout: 272 seconds]
<mikel_> yea on that page
mjs2600 has quit [Ping timeout: 272 seconds]
<mikel_> didn't make much sense how that accommodates multiple rails apps :P
noop has quit [Ping timeout: 246 seconds]
Solnse has joined #ruby
iamjarvo has quit [Ping timeout: 248 seconds]
<mikel_> ok gonna make a call
vlad_starkov has quit [Remote host closed the connection]
<mikel_> thanks for help
mansi has joined #ruby
kristofers has joined #ruby
Xeago has joined #ruby
mansi has quit [Read error: Connection reset by peer]
Monie has joined #ruby
mansi has joined #ruby
riginding has left #ruby [#ruby]
mikecmpbll has quit [Quit: Computer has gone to sleep.]
mr_red has quit [Max SendQ exceeded]
mr_red has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
vlad_starkov has joined #ruby
iamjarvo_ has quit [Remote host closed the connection]
cameronbarton has joined #ruby
<mikel_> UDS lol
iamjarvo has joined #ruby
<mikel_> yaa
Mars` has quit [Remote host closed the connection]
iliketur_ has quit [Quit: zzzzz…..]
Mars` has joined #ruby
stopbit has quit [Quit: Lost terminal]
mjs2600 has joined #ruby
<mikel_> a .yml file seems to be a config file
samkottler has joined #ruby
<mikel_> is this where i route to different ruby apps?
mjs2600_ has joined #ruby
cameronbarton has left #ruby [#ruby]
<MrZYX> an .yml usually contains YAML, which is a markup language to describe (nested) key value and array structures
yfeldblum has joined #ruby
<MrZYX> it is often used for configuration files in the ruby world
<existensil> if we're talking rails, then you'd want a seperate instance of thin for each app
<existensil> if just a rack app you might be able to get several apps to play together as seperate rack middleware on a single thin
mojjojo has quit [Quit: mojjojo]
jkhwan has joined #ruby
failshell has quit []
phinfonet has joined #ruby
luk3 has joined #ruby
luk3 has left #ruby [#ruby]
mjs260___ has joined #ruby
cameronbarton has joined #ruby
mjs2600 has quit [Read error: Connection reset by peer]
aspires has quit []
jkline has joined #ruby
mjs2600__ has quit [Ping timeout: 272 seconds]
Mars` has quit [Ping timeout: 245 seconds]
<mikel_> ok
Voodoofish430 has quit [Ping timeout: 264 seconds]
<mikel_> 1 rack middleware -> many thin clients
<mikel_> thanks guys gotta pick a friend up
law has left #ruby [#ruby]
Vivekananda has quit [Read error: Operation timed out]
<cameronbarton> any idea why I can connect to this irc channel and not the #rubyonrails one?
<MrZYX> you probably didn't register with NickServ
<existensil> cameronbarton: #rubyonrails requires NickServ identification
<existensil> this is the better channel anyways, don't bother
<existensil> :-P
<atmosx> Any ideas why this simple rspec/sinatra test fails in my sample? https://gist.github.com/atmosx/7606345
<MrZYX> (except for rails questions :P)
mjs2600_ has quit [Ping timeout: 265 seconds]
<cameronbarton> I did, if you right click my name it says registered.
jtaggert has joined #ruby
Kricir has joined #ruby
<pontiki> what, no output? what's the error message, failure message?
<existensil> first... right click? lol
<MrZYX> cameronbarton: cameronbarton has NOT COMPLETED registration verification
<existensil> second... no, it does not appear you're registered
<MrZYX> cameronbarton: /msg NickServ INFO cameronbarton
jtaggert has left #ruby [#ruby]
Voodoofish430 has joined #ruby
<existensil> cameronbarton: /whois username should have an 'account' entry if registered. yours does not.
harrymoreno has joined #ruby
mikel_ has quit [Ping timeout: 250 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
bklane has quit [Quit: Leaving...]
postmodern has joined #ruby
d4heyDU has joined #ruby
nanoyak has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
Kricir has quit [Ping timeout: 272 seconds]
kindjal has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
sam113102 has quit [Quit: WeeChat 0.4.3-dev]
RaCx_ has joined #ruby
RaCx has quit [Ping timeout: 246 seconds]
RaCx_ is now known as RaCx
mando_ has joined #ruby
Mars` has joined #ruby
Guazi has quit [Remote host closed the connection]
nomenkun has quit [Remote host closed the connection]
jkhwan has quit [Ping timeout: 272 seconds]
nomenkun has joined #ruby
petey_ has quit [Remote host closed the connection]
mando has quit [Ping timeout: 264 seconds]
petey has joined #ruby
Macaveli has quit [Quit: Computer has gone to sleep.]
mikepack has quit []
Kricir has joined #ruby
qubit has quit [Ping timeout: 272 seconds]
reset has quit [Quit: Leaving...]
mando_ has quit [Ping timeout: 264 seconds]
mikepack has joined #ruby
Kricir has quit [Read error: Connection reset by peer]
zz_jrhorn424 is now known as jrhorn424
Kricir has joined #ruby
nomenkun has quit [Ping timeout: 264 seconds]
rbennacer has joined #ruby
<rbennacer> hey guys
petey has quit [Ping timeout: 246 seconds]
<rbennacer> i have a very stupid question
aspires has joined #ruby
<agent_white> Ask, don't ask to ask :)
<rbennacer> what does counter = Hash.new{|h, k| h[k] = Array.new(2, 0)} mean?
stopbit has joined #ruby
iliketur_ has joined #ruby
<MrZYX> when you access a key that doesn't exist the given block is called
colonolGron has joined #ruby
Jetchisel has joined #ruby
<MrZYX> that assigns a new array of the size 2, initialized with 0s, to that key
mjs260___ has quit [Remote host closed the connection]
<rbennacer> MrZYX, i still don't get it
<agent_white> ^ Care to elaborate? I'
btanaka has quit [Quit: leaving]
<agent_white> I'm interested as well.
<MrZYX> >> counter = Hash.new{|h, k| h[k] = Array.new(2, 0)}; counter[:new_key]
Kricir has quit [Ping timeout: 252 seconds]
<eval-in> MrZYX => [0, 0] (https://eval.in/72559)
<MrZYX> instead of
<MrZYX> >> counter = Hash.new; counter[:new_key]
<eval-in> MrZYX => nil (https://eval.in/72560)
Mars` has quit [Remote host closed the connection]
qubit has joined #ruby
Mars` has joined #ruby
mjs2600 has joined #ruby
psyl0n has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<rbennacer> ooooooooo
<rbennacer> now i get it
jrhorn424 is now known as zz_jrhorn424
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lmickh has joined #ruby
pel_daniel has left #ruby [#ruby]
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mjs2600 has quit [Remote host closed the connection]
RaCx has quit [Ping timeout: 252 seconds]
phansch has quit [Quit: Leaving]
charliesome has joined #ruby
<rbennacer> MrZYX, can you replace it by counter = Hash.new{Array.new(2,0)} ?
<MrZYX> no
<rbennacer> what is the difference
<MrZYX> the return value of the block isn't of interest
<existensil> rbennacer: the difference is changing the default like that doesn't actually store any value in the hash
<existensil> the example you provide returns an array that is the same one assigned to the key, so if you change the array, the key value is updated as well
<rbennacer> >> counter = Hash.new{Array.new(2,0)} ; counter
<eval-in> rbennacer => {} (https://eval.in/72567)
<agent_white> MrZYX/rbennacer: What would be a use case for the original snippet? Error logging?
acrussell has quit [Quit: Leaving.]
<rbennacer> yess
saltnvinegar has quit [Quit: saltnvinegar]
mjs2600 has joined #ruby
<agent_white> Seems like a harmful snippet if it eats any key given to it.
RaCx has joined #ruby
Mars` has quit [Ping timeout: 265 seconds]
psyl0n has quit [Ping timeout: 248 seconds]
<rbennacer> agent_white, i am using it in a ring buffer
<MrZYX> agent_white: a common one is if you want to count an unknown number of different things and don't want to do an counters[bla] = 0 unless counters[bla] all the time
evenix has quit [Remote host closed the connection]
jkhwan has joined #ruby
<MrZYX> another one is an endless hash: hash = Hash.new {|h,k| h[k] = Hash.new(&h.default_proc) }
saltnvinegar has joined #ruby
<rbennacer> hehe
cody-- has quit [Quit: derp]
nanoyak has quit [Quit: Computer has gone to sleep.]
freakazoid0223 has quit [Remote host closed the connection]
<Lewix> >> Hash.new {|h,k| h[k] = Hash.new(&h.default_proc) }
<eval-in> Lewix => {} (https://eval.in/72570)
<Lewix> MrZYX: what's default_proc
hiyosi has joined #ruby
<MrZYX> >> h = Hash.new {|h,k| h[k] = Hash.new(&h.default_proc) }; h[:a][:b][:c] = "e"; h
<eval-in> MrZYX => {:a=>{:b=>{:c=>"e"}}} (https://eval.in/72571)
nanoyak has joined #ruby
<MrZYX> Lewix: the block you give to Hash.new converted to a proc
ringaroses has joined #ruby
<MrZYX> in other words if set, the block called when a non-existent key is called
<MrZYX> *proc
banister has joined #ruby
rbennacer has left #ruby ["Leaving"]
bradhe has joined #ruby
Azure has quit [Ping timeout: 246 seconds]
petey has joined #ruby
krawchyk has quit []
RichardBaker has quit [Quit: RichardBaker]
axilla has joined #ruby
RichardBaker has joined #ruby
matheuscaceres has joined #ruby
Azure has joined #ruby
hiyosi has quit [Ping timeout: 246 seconds]
rh1n0 has quit [Quit: Linkinus - http://linkinus.com]
<agent_white> MrZYX/rbennacer: Thank you for the response, I may need to do some fiddling in irb to understand it more :)
<existensil> that is always a good idea
<existensil> s/irb/pry
aspires has quit []
Frank81 has joined #ruby
<Frank81> hello can some one help me with the gem stuff
<Frank81> i do gem install jekyl and get
<Frank81> Configuring libffi
<Frank81> make: *** ["/usr/lib/ruby/gems/1.8/gems/ffi-1.9.3/ext/ffi_c/libffi-x86_64-linux"/.libs/libffi_convenience.a] Fehler 1
<Frank81> /usr/lib/ruby/gems/1.8/gems/ffi-1.9.3/ext/ffi_c/libffi/configure: line 550: 0: Bad file descriptor
mando has joined #ruby
jhaals has joined #ruby
<Frank81> does that mean i have to manual compile or else this libffi stuff?
<eka> is there any way to tell minitest to stop in the first fail/error?
<MrZYX> Frank81: start with getting a recent ruby, 1.8 has unpatched security issues
psyl0n has joined #ruby
<havenwood> MrZYX: :D
skaflem has quit [Quit: Leaving]
petey has quit []
<MrZYX> havenwood: scnr :P
tjbiddle has joined #ruby
<Frank81> MrZy X i am not familary with ruby and what it does
<Frank81> but i did installed ruby via normal distribution packages and even 1.9 should be installed
<Frank81> don't know why he uses 1.8
<MrZYX> maybe you have to use gem1.9/gem19 and ruby1.9/ruby19 or something similar
petey has joined #ruby
r0bgleeson has quit [Quit: Computer has gone to sleep.]
tsykoduk is now known as zz_tsykoduk
jkline has quit [Quit: jkline]
<Frank81> thx for the tip
<Frank81> :D
jhaals has quit [Client Quit]
psyl0n has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
clov3r has joined #ruby
<Frank81> args
<Frank81> that has fails too
<Frank81> this gem stuff is realy frustrating
<MrZYX> put the full output into a pastebin
<Frank81> thx anyway i skip using ruby stuff :D
aspires has joined #ruby
<agent_white> D:
<Frank81> no need i decided that it is shit
<Frank81> thx anyway
Frank81 has left #ruby [#ruby]
Mars` has joined #ruby
<agent_white> Ouch... I never stomp on something I know nothing of.
<agent_white> To each his own ;)
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
[lewellyn] has quit [Remote host closed the connection]
adambeynon has joined #ruby
reset has joined #ruby
<DouweM> lol
smathieu has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
smathieu has joined #ruby
<existensil> eka: with something like minitest-debugger you can get right into an irb/debugger session on errors or failed assertions
<eka> existensil: thanks that seems useful... but not what I want
heidi has joined #ruby
_reset has joined #ruby
<eka> still minitest-reporters tell me that it's not compatible with minutest 5.0.8 :P
<existensil> eka: yeah, more of a pause than a stop. let me know if you find the answer. wouldn't mind being able to do that myself.
ldnunes has joined #ruby
reset has quit [Read error: Connection reset by peer]
<eka> existensil: I saw an open issue in minitest and the didn't like the idea... they suggest minitest-reporters that report early
<eka> but can't make them work!
<existensil> yeah. seems like there is a need for a gem :-)
zz_tsykoduk is now known as tsykoduk
kevind has quit [Quit: kevind]
<eka> existensil: which one?
banisterfiend has joined #ruby
banisterfiend is now known as r0bgleeson
smathieu has quit [Ping timeout: 272 seconds]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kristofers has quit [Remote host closed the connection]
pragmatism has quit [Quit: Leaving...]
<havenwood> looks like debian plans to make ruby2.0 default in jessie, at least for that. can't come soon enough...
_reset has quit [Ping timeout: 246 seconds]
emocakes has joined #ruby
benwoody has quit [Quit: benwoody]
maletor has joined #ruby
talntid has joined #ruby
elux has quit [Quit: Bye!]
<talntid> is there a way to return what file called a function in another file?
Czupa has joined #ruby
Notte has joined #ruby
Notte has quit [Remote host closed the connection]
Notte has joined #ruby
jkhwan_ has joined #ruby
Es0teric has joined #ruby
<MrZYX> talntid: you're probably looking for caller, care to explain a bit more what and why you need that?
<existensil> talntid: things like `caller` are available. if that's not enough you can go much deeper hooking into debuggers or your ruby implementation's VM
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
zzz_taion809 is now known as taion809
Mapley is now known as rainbowdash`
codeFiend has joined #ruby
rezzack has joined #ruby
charliesome has joined #ruby
tsykoduk is now known as zz_tsykoduk
zz_tsykoduk is now known as tsykoduk
macmartine has quit [Remote host closed the connection]
bean has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
pothibo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
emocakes_ has joined #ruby
freakazoid0223 has joined #ruby
GreatSUN has joined #ruby
macmartine has joined #ruby
<GreatSUN> rehi
emocakes has quit [Ping timeout: 252 seconds]
charlie__ has joined #ruby
hashpuppy has joined #ruby
<GreatSUN> can someone tell me how I could merge serveral extisting module methods into another module and then use those methods within a class (method)?
Notte has quit []
kevind has joined #ruby
yfeldblum has joined #ruby
emocakes_ is now known as emocakes
<eka> GreatSUN: include <some module>
jacobsmith has joined #ruby
<eka> GreatSUN: Module::Method_name(blah)
kcombs has quit [Remote host closed the connection]
<GreatSUN> eka: and without Module:: infront?
<eka> GreatSUN: ?
macmarti_ has joined #ruby
charliesome has quit [Ping timeout: 272 seconds]
<GreatSUN> is it possible with direct call to method, too?
<GreatSUN> I mean without naming the module infront?
burlyscudd1 has joined #ruby
<eka> GreatSUN: don't think so... unless you include all those methods in your Class ;)
<GreatSUN> hm
<eka> class Foo; include MyModuleWithMethods; end
<GreatSUN> no
psyl0n has joined #ruby
<GreatSUN> that's what I don't want to do
<eka> no? :(
<eka> why/
<eka> ?
<MrZYX> you can do module Meta; include A; include B; end; class Foo; include Meta; end
<GreatSUN> except if I can do this automated
<eka> GreatSUN: what are you trying to achieve?
danshultz has quit [Remote host closed the connection]
burlyscudd has quit [Ping timeout: 272 seconds]
<GreatSUN> I have a list of modules containing functionality
lnemo has left #ruby [#ruby]
danshultz has joined #ruby
macmartine has quit [Ping timeout: 252 seconds]
<GreatSUN> and I want to load all of them into one class later on ( a class which I don't know before)
Solnse has quit [Quit: Leaving.]
Solnse has joined #ruby
<GreatSUN> I have some code that extends known classes automatically with the modules in the list
<GreatSUN> ha!
Voodoofish4301 has joined #ruby
<GreatSUN> what if I create some class to extend existing class with the methods?
<TorpedoSkyline> can someone explain to me what's going on here? http://d.pr/i/23Qg Here's the code: http://d.pr/i/HfIM
<TorpedoSkyline> this boggles my mind
<MrZYX> GreatSUN: I kinda have the feeling that if you have so many modules that you don't want to make a list of includes, some methods want to be classes instead
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
<MrZYX> *some modules
allsystemsarego has quit [Quit: Leaving]
<GreatSUN> MrZYX: nope, I have a list of includes
charlie__ has quit [Quit: Textual IRC Client: www.textualapp.com]
tsykoduk is now known as zz_tsykoduk
<GreatSUN> but I don't want to include the list manually in every new class
funburn has joined #ruby
mikepack_ has joined #ruby
<GreatSUN> ok, not every, but in a class where i need it
Czupa has quit [Ping timeout: 272 seconds]
psyl0n has quit [Read error: Operation timed out]
<MrZYX> maybe make it more concrete
<MrZYX> what are you implementing here
<GreatSUN> so I want to have some single thing to include/extend the class with to be able to use the methods from the module list
charliesome has joined #ruby
pragmatism has joined #ruby
danshultz has quit [Read error: Operation timed out]
Voodoofish430 has quit [Ping timeout: 264 seconds]
<havenwood> TorpedoSkyline: `if results[:error].nil? == true` isn't a good way to write that, change to either `if results[:error].nil?` or `unless results[:error]`
<TorpedoSkyline> havenwood true
realDAB has joined #ruby
<TorpedoSkyline> but what's going on with that push? It looks like it's overwriting the first index
andikr has quit [Remote host closed the connection]
<havenwood> TorpedoSkyline: or just pushing a hash onto an array?
capicue has quit [Quit: Leaving...]
mrsolo has joined #ruby
<TorpedoSkyline> havenwood it is pushing the hash into an array, but it's only pushing in one.
<TorpedoSkyline> havenwood but the one with name: Scott Houghton is gone
mikepack has quit [Ping timeout: 272 seconds]
cgore has quit [Remote host closed the connection]
mikepack_ has quit [Ping timeout: 248 seconds]
ehaliewicz has joined #ruby
<MrZYX> TorpedoSkyline: what happens if you do records.push(result.dup)?
allaire has quit []
<havenwood> TorpedoSkyline: paste code as text, not as an image - gist.github.com is preferred
<TorpedoSkyline> ok havenwood
<GreatSUN> ok, it works if I include all needed modules in a class and extend the new class with this class
<GreatSUN> :-)
<GreatSUN> thanks for your support
Clooth has joined #ruby
<TorpedoSkyline> MrZYX same thing
<TorpedoSkyline> It makes absolutely no sense, this is such a simple thing.
<MrZYX> hm, the other explanation I'd have is that .import_record keeps a reference to the String object in name and edits it rather than creating a new one
Kricir has joined #ruby
<MrZYX> which is kinda hard to achieve but possible
<TorpedoSkyline> hmm
<TorpedoSkyline> MrZYX but why would that affect an element already stored in the array?
myappleguy has quit [Ping timeout: 245 seconds]
<TorpedoSkyline> *effect
bluOxigen has quit [Ping timeout: 245 seconds]
<MrZYX> because then it'd be the same object
momomomomo has quit [Quit: momomomomo]
capicue has joined #ruby
r0bgleeson has quit [Quit: Computer has gone to sleep.]
rjhunter has joined #ruby
rjhunter has quit [Remote host closed the connection]
<TorpedoSkyline> weird, let me look into it. That could be it.
<MrZYX> >> a = []; f = "a"; a.push(f); f.replace("b"); a.push(f); a
<eval-in> MrZYX => ["b", "b"] (https://eval.in/72594)
mklappstuhl has joined #ruby
rjhunter has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jbpros has joined #ruby
cameronbarton has quit [Quit: cameronbarton]
codeFiend has quit [Quit: codeFiend]
iamjarvo has quit [Remote host closed the connection]
reset has joined #ruby
saltnvinegar has quit [Quit: saltnvinegar]
iamjarvo has joined #ruby
mklappstuhl has quit [Read error: Connection reset by peer]
<MrZYX> hm, another thing to check is if the inner hash is the same one that gets modified again and again (the one :customer is pointing at)
codeFiend has joined #ruby
saltnvinegar has joined #ruby
psyl0n has joined #ruby
saltnvinegar has quit [Client Quit]
Ox6abe has joined #ruby
<TorpedoSkyline> ah MrZYX, I think that's it
<TorpedoSkyline> Let me try
iamjarvo has quit [Ping timeout: 248 seconds]
<TorpedoSkyline> you're a lovely person MrZYX, that was it
<TorpedoSkyline> ;P
jkamenik has quit [Quit: Leaving.]
BlakeRG has left #ruby [#ruby]
nanoyak has quit [Quit: Computer has gone to sleep.]
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sambao21 has quit [Quit: Computer has gone to sleep.]
divi has joined #ruby
cameronbarton has joined #ruby
mikepack has joined #ruby
mjs2600 has quit [Remote host closed the connection]
kaldrenon has quit [Remote host closed the connection]
breakingthings has quit []
kaldrenon has joined #ruby
Mars` has quit [Remote host closed the connection]
Mars` has joined #ruby
workmad3 has joined #ruby
carraroj has joined #ruby
carraroj has quit [Client Quit]
yfeldblum has quit [Ping timeout: 272 seconds]
saltnvinegar has joined #ruby
GreatSUN has quit [Ping timeout: 250 seconds]
saltnvinegar has quit [Client Quit]
ambushsabre has joined #ruby
dwgill has joined #ruby
fixl has joined #ruby
harrymoreno has quit [Quit: harrymoreno]
aley has joined #ruby
kaldrenon has quit [Ping timeout: 272 seconds]
jbpros has quit [Quit: jbpros]
realDAB has quit [Quit: realDAB]
Mars` has quit [Ping timeout: 264 seconds]
cburyta has quit [Remote host closed the connection]
mansi has quit [Read error: Connection reset by peer]
realDAB has joined #ruby
mansi has joined #ruby
stringoO has quit [Quit: stringoO]
mengu has joined #ruby
mansi has quit [Read error: Connection reset by peer]
mansi has joined #ruby
io_syl has quit []
hashpuppy has quit [Quit: Textual IRC Client: www.textualapp.com]
cameronbarton has quit [Remote host closed the connection]
asobrasil has left #ruby [#ruby]
Naoe-Kanno has joined #ruby
Mars` has joined #ruby
cameronbarton has joined #ruby
RaCx has quit [Ping timeout: 246 seconds]
mansi has quit [Read error: Connection reset by peer]
smathieu has joined #ruby
ffranz has quit [Quit: Leaving]
mansi has joined #ruby
Monie has joined #ruby
atmosx has quit [Quit: Lost in trance]
Ox6abe has quit [Remote host closed the connection]
orionstein is now known as orionstein_away
SHyx0rmZ has quit [Ping timeout: 272 seconds]
bigoldrock has quit [Ping timeout: 246 seconds]
Kricir has quit [Ping timeout: 272 seconds]
<TorpedoSkyline> what would you guys recommend reading/watching to learn how to write beautiful ruby code? I feel like I'm doing something inefficiently.
<TorpedoSkyline> *somethings
mando has quit [Remote host closed the connection]
Ox6abe_ has joined #ruby
<MrZYX> hmm, my standard answer is "this channel" :P
<Jamo> I like this book: http://eloquentruby.com/
<pontiki> that^
cordoval has joined #ruby
mando has joined #ruby
<pontiki> most anything by olsen
mansi has quit [Ping timeout: 265 seconds]
smathieu has quit [Ping timeout: 272 seconds]
<pontiki> i am really enjoying Avdi Grimm's RubyTapas
<Jamo> it seems that all code from that book is found https://github.com/russolsen/eloquent_ruby_code
<cordoval> hi
<cordoval> can someone help me? trying to install rails
matheuscaceres has quit [Quit: matheuscaceres]
<pontiki> i just finished design patterns in ruby by olsen, it was a rather enjoayble read
hiyosi has joined #ruby
<pontiki> avdi's confident ruby is also quite good
Ox6abe_ has quit [Client Quit]
mansi has joined #ruby
jonathanwallace has quit [Ping timeout: 246 seconds]
<pontiki> also, i can't leave out "Beautiful Code" which has nothing to do with Ruby, but everything to do with craftsmanship
mansi has quit [Read error: Connection reset by peer]
<Reach> what do you think of programming ruby
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mansi has joined #ruby
<pontiki> an essential, but not for style
<agent_white> pontiki: Which first? For someone new to it all?
<pontiki> eloquent ruby
<agent_white> Bueno, thank you :)
<Reach> i want my own style
<Reach> im not going to emulate someones from a book
<Reach> all i need are the basics
<pontiki> then you're set
<IceDragon> cordoval: just try again, my gem install fails from time to time like that
<pontiki> go forth, be frutiful
mando has quit [Ping timeout: 246 seconds]
<Reach> i shall
<agent_white> I like to pick each dev's brain to get a nice monster-mash of it all.
<pontiki> hehe
ringaroses has quit [Quit: Leaving]
mjs2600 has joined #ruby
jacobsmith has quit [Ping timeout: 265 seconds]
shinobi_one has joined #ruby
<shinobi_one> anyone here using feedzirra gem by any chance?
xk_id has quit [Quit:
flops has quit [Quit: leaving]
adkron has quit [Ping timeout: 248 seconds]
shadoi1 has quit [Quit: Leaving.]
Monie has quit [Ping timeout: 246 seconds]
zerign has joined #ruby
zigomir has quit [Ping timeout: 245 seconds]
Solnse has quit [Ping timeout: 252 seconds]
xk_id has joined #ruby
Xeago has quit [Remote host closed the connection]
cameronbarton has quit [Quit: cameronbarton]
Monie has joined #ruby
shinobi_one has quit [Quit: shinobi_one]
freerobby has quit [Quit: Leaving.]
bigoldrock has joined #ruby
smathieu has joined #ruby
<pontiki> i looked at it, and decided to use planet.rb instead
cordoval has quit [Remote host closed the connection]
zerign has quit [Ping timeout: 272 seconds]
Clooth has quit [Quit: Leaving...]
jkline has joined #ruby
Monie has quit [Ping timeout: 246 seconds]
f0ster has joined #ruby
<f0ster> Hello,
iliketur_ has quit [Quit: zzzzz…..]
Clooth has joined #ruby
kcombs has joined #ruby
bigoldrock has quit [Ping timeout: 246 seconds]
benwoody has joined #ruby
<f0ster> I have some code i.e, while(...) Thread.new{} , it appears that Thread.new is blocking?? at least watching in the debugger and based on the output I see..
funburn has quit [Quit: funburn]
kristofers has joined #ruby
Monie has joined #ruby
<f0ster> I assumed Thread would be non blocking..but fork did what I expected
shadoi1 has joined #ruby
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hersha has quit [Quit: hersha]
sambao21 has joined #ruby
dangerousdave has quit []
saltnvinegar has joined #ruby
realDAB has quit [Quit: realDAB]
shinobi_one has joined #ruby
Kricir has joined #ruby
MrZYX has quit [Remote host closed the connection]
lfox has quit [Quit: ZZZzzz…]
divi has joined #ruby
MrZYX|off has joined #ruby
danshultz has joined #ruby
benlieb has quit [Quit: benlieb]
MrZYX|off is now known as MrZYX
zarubin has quit [Remote host closed the connection]
apeiros has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
<havenwood> f0ster: On MRI with the Thread doing a CPU-bound task?
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
mansi has quit [Remote host closed the connection]
dreinull has quit [Remote host closed the connection]
jkhwan_ has quit [Remote host closed the connection]
sailias has quit [Ping timeout: 272 seconds]
funburn has joined #ruby
mansi has joined #ruby
newUser1_ has quit [Remote host closed the connection]
jkhwan has joined #ruby
<havenwood> f0ster: i just ask because i wonder if the global vm lock (GVL or GIL) is getting in your way
bricker_ has joined #ruby
newUser1234 has joined #ruby
sriehl has quit [Quit: Leaving...]
yfeldblu_ has joined #ruby
mary5030 has quit [Ping timeout: 272 seconds]
dwgill has quit [Ping timeout: 272 seconds]
zarubin has joined #ruby
saltnvinegar has quit [Quit: saltnvinegar]
carlyle has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
bricker has quit [Ping timeout: 248 seconds]
Guazi has joined #ruby
valesk has quit [Read error: Connection reset by peer]
carlyle has joined #ruby
danshultz has quit [Ping timeout: 240 seconds]
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mansi has quit [Ping timeout: 252 seconds]
mansi has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
jle` has joined #ruby
shinobi_one has quit [Quit: shinobi_one]
newUser1234 has quit [Ping timeout: 272 seconds]
mikecmpbll has joined #ruby
carlyle has quit [Ping timeout: 245 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
saltnvinegar has joined #ruby
shinobi_one has joined #ruby
freezey has quit [Ping timeout: 245 seconds]
freerobby has joined #ruby
mmitchel_ has joined #ruby
zarubin has quit [Remote host closed the connection]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<f0ster> havenwood: just trying to do parallel execution, which i though thread would do, callign system with in a thread
<f0ster> but had to do fork
s2013 has quit [Ping timeout: 246 seconds]
zarubin has joined #ruby
zarubin has quit [Remote host closed the connection]
nisstyre has joined #ruby
saltnvinegar has quit [Client Quit]
jkhwan has joined #ruby
dgfdgf has joined #ruby
zarubin has joined #ruby
bricker has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
macmarti_ has quit [Remote host closed the connection]
<pontiki> i've not actually found an occasion to use thread except during something like Open3.popen3 to make sure they output streams don't get blocked
bricker_ has quit [Ping timeout: 264 seconds]
<matti> f0ster: Ruby/Python for true parallelism you are better of with process pools.
`MArceLL` has quit [Ping timeout: 246 seconds]
<f0ster> hmm okay
xk_id has quit [Quit:
shinobi_one has quit [Client Quit]
bradhe_ has joined #ruby
macmartine has joined #ruby
<matti> f0ster: Or JRuby (but then fork is rather... no-no)
jkhwan has quit [Remote host closed the connection]
<pontiki> matti, that's my exeperience
<matti> pontiki: :)
<matti> f0ster: What are you trying to achieve?
jkhwan has joined #ruby
solidoodlesuppor has quit [Remote host closed the connection]
alvaro_o has joined #ruby
sambao21 has joined #ruby
mmitchel_ has quit [Ping timeout: 248 seconds]
mmitchell has quit [Ping timeout: 272 seconds]
zarubin has quit [Remote host closed the connection]
mikepack has quit [Remote host closed the connection]
apeiros has quit []
<jragon> Is there a more elegant way to do this: (1..10).to_a.reverse
sambao21 has quit [Client Quit]
<matti> jragon: 1.downto(10)
zz_jrhorn424 is now known as jrhorn424
tjaco has quit [Ping timeout: 272 seconds]
<matti> LOL the 10 to 1
<matti> Sorry ;p
<jragon> Figured that out :P
<matti> Long day ;p
<matti> ;]
<jragon> Thanks a lot matti.
<jle`> (10..1)?
athst has joined #ruby
gasbakid_ has joined #ruby
<jle`> aw, doesn't work in ruby
<jragon> Yeah, I tried that first
jkhwan has quit [Remote host closed the connection]
zarubin has joined #ruby
jkhwan has joined #ruby
gasbakid has quit [Ping timeout: 272 seconds]
mengu has quit [Remote host closed the connection]
Monie has joined #ruby
liamkeily has joined #ruby
segv has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
adambeynon has joined #ruby
bradhe_ has quit [Ping timeout: 265 seconds]
jlast has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
funburn has quit [Quit: funburn]
pragmatism has quit [Ping timeout: 272 seconds]
jacobsmith has joined #ruby
Solnse has joined #ruby
Shidash has quit [Ping timeout: 248 seconds]
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
<pontiki> it'd wrap, eventually....
mjs2600 has quit [Remote host closed the connection]
claymore has quit [Quit: Leaving]
dwgill has joined #ruby
jibi has joined #ruby
shinobi_one has joined #ruby
iliketur_ has joined #ruby
xk_id has joined #ruby
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
<matti> Haha
<matti> :>
carlyle has joined #ruby
jragon has quit [Ping timeout: 252 seconds]
carlyle has quit [Client Quit]
Solnse has quit [Ping timeout: 252 seconds]
chamunks has quit [Remote host closed the connection]
Kricir has quit [Ping timeout: 264 seconds]
shinobi_one has quit [Quit: shinobi_one]
mrsolo has joined #ruby
jrhorn424 is now known as zz_jrhorn424
liamkeily has quit [Ping timeout: 272 seconds]
Charliebr73 has joined #ruby
<pontiki> :)
<pontiki> glad someone recognizes i was just being silly
funburn has joined #ruby
pzin_ has joined #ruby
Charliebr73 has quit [Quit: Leaving]
kristofers has quit [Remote host closed the connection]
kirun has quit [Quit: Client exiting]
jacobsmith has quit [Ping timeout: 252 seconds]
havenwood has quit [Remote host closed the connection]
bigoldrock has joined #ruby
Hanmac1 has joined #ruby
havenwood has joined #ruby
funburn has quit [Quit: funburn]
shinobi_one has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<matti> Made me smile ;]
akonny has joined #ruby
adkron has joined #ruby
enebo has quit [Quit: enebo]
Hanmac has quit [Ping timeout: 272 seconds]
vlad_starkov has joined #ruby
clov3r has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: Computer has gone to sleep.]
mando has joined #ruby
d2dchat has quit [Remote host closed the connection]
Guazi has quit [Remote host closed the connection]
paul_k has quit [Remote host closed the connection]
<havenwood> [*10.downto(1)] or 10.downto(1).to_a is the question? :P
vlad_starkov has quit [Remote host closed the connection]
mando has quit [Read error: No route to host]
vlad_starkov has joined #ruby
mando has joined #ruby
<pontiki> nah, havenwood, matti just mis-wrote it 1.downto(10) and we were having a giggle
cameronbarton has joined #ruby
<havenwood> sry, yeah i got that - just phrased my query poorly - i mean which do you prefer?
macmarti_ has joined #ruby
<havenwood> splat or to_a?
shinobi_one has quit [Quit: shinobi_one]
shinobi_one has joined #ruby
mansi has quit [Remote host closed the connection]
mikepack has joined #ruby
<havenwood> >> [*2.0000000000000004.object_id.downto('mothballs'.to_i.succ)]
<eval-in> havenwood => failed to allocate memory (NoMemoryError) ... (https://eval.in/72618)
macmartine has quit [Ping timeout: 246 seconds]
mansi has joined #ruby
<havenwood> oops, ^ that is for ruby-2.1.0preview2
<Lewix> How much money do you think Matz get as a salary
freerobby has quit [Quit: Leaving.]
<Lewix> surprise surprise
<havenwood> >> [*21.object_id.downto('mothballs'.to_i.succ)]
<eval-in> havenwood => [43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1] (https://eval.in/72619)
<havenwood> well, dangit
<havenwood> i give up
Clooth has quit [Quit: Leaving...]
zz_tsykoduk is now known as tsykoduk
mando has quit [Ping timeout: 272 seconds]
benlieb has joined #ruby
shadoi1 has quit [Quit: Leaving.]
paul_k has joined #ruby
<havenwood> >> ObjectSpace.>> ObjectSpace._id2ref 10
<eval-in> havenwood => 0x00000a is not id value (RangeError) ... (https://eval.in/72620)
<havenwood> >> ObjectSpace._id2ref 10
<eval-in> havenwood => 0x00000a is not id value (RangeError) ... (https://eval.in/72621)
<havenwood> Oh, eval-in
lethjakman has joined #ruby
<lethjakman> hey, does ruby have a good way to set the return of a object to the original objects value?
shinobi_one has quit [Client Quit]
<lethjakman> for example object = object.humanize
<Hanmac1> havenwood: eval-in runs on 32bit
<havenwood> Hanmac1: aha!
tsykoduk is now known as zz_tsykoduk
<Hanmac1> what you want only works for 64 bit
<pontiki> i don't have a strong opinion? i just am used to .to_a
petey has quit [Remote host closed the connection]
<pontiki> no particular reason why, probably just the way learnt it
mansi has quit [Ping timeout: 252 seconds]
shinobi_one has joined #ruby
Kricir has joined #ruby
lmickh has quit [Quit: lmickh]
<blackmesa> Hi all. I want to use active_record from a ruby script (without rails). I set ActiveRecord::Base.establish_connection(...). but how can I set up tables from the script
vlad_starkov has quit [Remote host closed the connection]
dwgill has quit [Ping timeout: 272 seconds]
<Hanmac1> blackmesa: even if its not rails i think active-shit questions can be better answerd at #rubyonrails
<havenwood> >> [*"\n".ord.downto(rand.round)]
<eval-in> havenwood => [10, 9, 8, 7, 6, 5, 4, 3, 2, 1] (https://eval.in/72622)
Hanmac1 is now known as Hanmac
osvico has joined #ruby
<Lewix> lethjakman: what dyou mean
jkhwan has quit [Remote host closed the connection]
<pontiki> blackmesa: unpack "set up tables", please?
<lethjakman> I'd like a cleaner way of doing 'object = object.humaniz'
jkhwan has joined #ruby
sheap has joined #ruby
<lethjakman> I thought you could add a ! at the end, but it doesn't seem to work
<blackmesa> Hanmac: why shit. whats your alternative
<havenwood> ROM looks promising, albeit young: http://rom-rb.org/
nucatus has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 245 seconds]
<Hanmac> blackmesa: i am still angry about the HashWithIndifferentAccess shit ... i mean i have so problem with that, but they should stop to anoy other developers with that (they try to replace the main Hash class with that)
shinobi_one has quit [Client Quit]
Alasdairrr has quit [Ping timeout: 264 seconds]
zeade has quit [Quit: Leaving.]
interactionjaxsn has quit [Remote host closed the connection]
shinobi_one has joined #ruby
axl_ has quit [Quit: axl_]
emocakes has quit [Quit: Linkinus - http://linkinus.com]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jkhwan has quit [Ping timeout: 272 seconds]
<Hanmac> blackmesa: or did you know about the number_to_human_size method ? after so many YEARS they still returns false values
<blackmesa> lol. no I am not too familiar with this sry :)
jonathanwallace has joined #ruby
<Hanmac> blackmesa: let me point at that: it does 1234 => 1.21 KB do you see the failure?
sepp2k has quit [Quit: Leaving.]
ssvo has quit [Quit: Lost terminal]
yfeldblu_ has quit [Ping timeout: 248 seconds]
RichardBaker has quit [Quit: RichardBaker]
Reach has quit [Remote host closed the connection]