havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.1, 2.4.4, 2.3.7, 2.6.0-preview2: https://www.ruby-lang.org | Paste 4+ lines of text to https://gist.github.com | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby
jrabe has quit [Quit: Disconnected]
<havenwood> Alec: You could easily make a cinch bot for yourself with a repl.
<havenwood> Alec: Locally, it's easiest to run ruby directly: ruby -e "puts 'Hello world'"
jrabe has joined #ruby
<havenwood> Alec: Or the REPL is the most popular way to get feedback.
<havenwood> ?irb
<ruby[bot]> irb is "interactive ruby", it is part of ruby. You can run ruby code and see results immediately. it's useful for testing code. Also see ?pry, a gem which is a popular alternative to irb.
<havenwood> ?pry
<ruby[bot]> Pry, the better IRB, provides easy object inspection `ls`, `history`, viewing docs `?`, viewing source `$`, syntax highlighting and other features (see `help` for more). Put `binding.pry` in your source code for easy debugging. Install Pry (https://pryrepl.org/): gem install pry pry-doc
duderonomy has joined #ruby
apeiros has quit [Ping timeout: 260 seconds]
jrafanie has joined #ruby
mikecmpbll has quit [Client Quit]
bak1an has joined #ruby
tvw has quit [Ping timeout: 256 seconds]
<Alec> havenwood: in C++ there's this sexy bot called geordi - each message is totally independent and its own thing - it's REALLY handy
<havenwood> Alec: I prefer a local REPL.
<havenwood> Alec: But if you want something like that, it's easy to do yourself in Ruby.
<Alec> When I come to power I will force you to use it in PM :P
<Alec> Heh
<havenwood> I volunteer parttime as a REPL actually.
<Alec> Not sure what that means
<Alec> You want me to PM you and send you Ruby expressions?
eckhardt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Alec> FWIW I'll even sponsor it if you like....
<Alec> Or run it myself
<havenwood> Alec: #!> NameError: undefined local variable or method `myself' for main:Object
<Alec> I feel I'm being hazed... or teased...?
<Alec> ?help
<ruby[bot]> You can find an overview of my commands at http://ruby-community.com/ruboto/commands
<havenwood> Alec: Sorry, I just reverted to being a REPL for a sec.
<Alec> WTF
karapetyan has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
venmx has quit [Ping timeout: 260 seconds]
<Alec> Oh great another bot framework ...
* Alec puts it with the others
<havenwood> Alec: There's a private API for eval.in. I know folk have requested access but I'm not sure what the outcome is. If you'd like access, please ask the maintainer and if they grant it we can share the bot code.
<havenwood> Alec: You can make a Ruby sandbox with JRuby like tryruby.org.
<Alec> Why is it private?
<havenwood> Alec: Ask charliesome.
<Alec> I'm gonna
ElFerna has quit [Ping timeout: 244 seconds]
karapetyan has quit [Ping timeout: 260 seconds]
<havenwood> Alec: If you'd like to make a cinch bot with a personal repl you could do that fairly simply.
<Alec> It literally just needs to call ruby -e '(your crap here)' and escape it properly, and set up SIGALRM first on the parent or something (I'm new to Ruby specifically so I can't be like "here's the full syntax")
<Alec> Yeah
banisterfiend has joined #ruby
<Alec> But I'd much rather either combine forces, or put it on some one of the AWS EC2 instances that I have access (and would be allowed to do this on) and leave it for everyone
<Alec> Because they've got a bot that's been tested and "battle-hardened" and shows stuff like ?pry and ?irb - of which I don't actually know what they are ;)
<havenwood> Alec: irb ships with ruby - it's an executable
<havenwood> Alec: In your terminal, type: irb
<Alec> You're kind of missing the point...
<havenwood> Alec: pry is a gem that's not preinstalled, so you'll need to: gem install pry
<Alec> But I will later ofc.
<havenwood> Alec: Those are things we wrote.
fot has quit [Quit: WeeChat 2.1]
<Alec> Oh you're also staff.
<havenwood> Alec: apeiros wrote, to be more specific (or maybe jhass?)
<Alec> havenwood: another strong case for bot-msging is most clients when you don't have a window open will show in your active window when they /msg bac
<havenwood> Alec: I like the idea of a bot that can eval folks' code.
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Alec> This way I can use Geordi say to test an example I'm about to share.
<havenwood> That sounds handy.
<Alec> Then just press up, home and del 4 times to get rid of the /msg
knight33 has quit [Quit: Textual IRC Client: www.textualapp.com]
banisterfiend has quit [Ping timeout: 256 seconds]
<Alec> havenwood?
<Alec> havenwood you getting these?
raynold has quit [Quit: Connection closed for inactivity]
jamesaxl has quit [Quit: WeeChat 2.1]
<headius> >> RUBY_VERSION
<ruby[bot]> headius: # => "2.3.0" (https://eval.in/1035707)
<headius> >> RUBY_ENGINE
<ruby[bot]> headius: # => "ruby" (https://eval.in/1035708)
mynameisdebian has joined #ruby
<headius> neat
<headius> there should be a JRuby version
zachk has quit [Quit: Leaving]
<Alec> :(
herbmillerjr has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ivanskie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has quit [Remote host closed the connection]
heftig has quit [Quit: heftig]
cagomez has joined #ruby
fffco has quit [Remote host closed the connection]
cagomez has quit [Ping timeout: 260 seconds]
heftig has joined #ruby
salasrod_ has quit []
<Alec> headius: I'm going to bed now but a PMable (and that other one) able bot is very good, if it responds to a query in the same way it received it it's ideal (ie channel->channel, msg->msg, OTHER->OTHER where OTHER is /say or something)
<Alec> I'll even sponsor it
mynameisdebian has quit [Remote host closed the connection]
voice_ftp has quit [Quit: Leaving]
mynameisdebian has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
mynameisdebian has quit [Remote host closed the connection]
jhack has joined #ruby
ElFerna has joined #ruby
jhack has quit [Quit: jhack]
jhack has joined #ruby
jhack has quit [Client Quit]
white_lilies has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
blackwind_123 has quit [Ping timeout: 240 seconds]
eb0t has quit [Ping timeout: 265 seconds]
eblip has quit [Ping timeout: 264 seconds]
sylario has quit [Quit: Connection closed for inactivity]
eb0t has joined #ruby
eblip has joined #ruby
raynold has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
dviola has quit [Quit: WeeChat 2.1]
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 260 seconds]
tdy has joined #ruby
salasrod has joined #ruby
MagePsycho has quit [Ping timeout: 240 seconds]
duckpupp- has joined #ruby
duckpuppy has quit [Ping timeout: 248 seconds]
akkiguru_ has joined #ruby
pharma_joe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eb0t has quit [Quit: WeeChat 2.0.1]
pharma_joe has joined #ruby
dviola has joined #ruby
MagePsycho has joined #ruby
eb0t has joined #ruby
ogres has joined #ruby
banisterfiend has joined #ruby
kryptoz has joined #ruby
tty has joined #ruby
dviola has quit [Quit: WeeChat 2.1]
bga57 has quit [Ping timeout: 244 seconds]
bga57 has joined #ruby
<JJonah> I'm using refine to refine the Enumerable module with an altered version of map. When I use with `using MyModule`, the changes to map are not available. If I put the exact same refinement on the Array class, it works. You are supposed to be able to refine modules, though (https://github.com/ruby/ruby/blob/96db72ce38b27799dd8e80ca00696e41234db6ba/test/ruby/test_refinement.rb#L379). Why would it not be working?
kapil___ has joined #ruby
graphene has quit [Remote host closed the connection]
edwardly has quit [Ping timeout: 244 seconds]
graphene has joined #ruby
rsh has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
braincrash has quit [Quit: bye bye]
rsh has quit [Ping timeout: 240 seconds]
<JJonah> To clarify the problem, take a look at this: https://eval.in/1035718
<Alec> JJonah: I'm really sorry I can't help you BTW - I'm here now and I would if I could
<havenwood> JJonah: Array#map is in front of Enumerable#map on Array.
<havenwood> JJonah: refining doesn't prepend
braincrash has joined #ruby
<JJonah> havenwood: oh i just assumed that Array mixed in Enumerable to get map -- is that not the case?
<havenwood> JJonah: Array#map is higher in the method call chain, so even though you effectively refine Enumerable, it never gets to Enumerable#map.
white_lilies has quit [Ping timeout: 244 seconds]
<havenwood> JJonah: Nope, there just happens to be a custom implementation of Array#map: https://docs.ruby-lang.org/en/2.5.0/Array.html#method-i-map
<Alec> What's the "#" mean?
<havenwood> JJonah: Otherwise your assumptions would align.
<havenwood> Alec: An instance.
<Alec> Is that syntax in Ruby or just HTMl links?
<Alec> Link me docs please?
<havenwood> Alec: Oh, it means a method call.
<Alec> Alternative for dot?
<havenwood> Alec: It means different things in different context. In the sense I use it above, it's a convention to mean an instance method.
<JJonah> havenwood: gotcha, makes sense. but now i'm curious why Array needs a special implementation of map?
<havenwood> Alec: Foo::bar is a class method and Foo#bar is an instance method.
<havenwood> Alec: You call them like Foo.bar and Foo.new.bar.
<havenwood> JJonah: It's a memory and performance optimization.
<JJonah> havenwood: ok tyvm
akkiguru_ has quit [Ping timeout: 260 seconds]
<havenwood> Alec: It's just a meta convention for talking about code.
<havenwood> I'd guess it comes from Smalltalk, but unsure.
* Alec writes down "above my paygrade" for now - thanks.
herbmillerjr has quit [Quit: Konversation terminated!]
<havenwood> Alec: The # and :: convention for talking about methods is fairly unique. We don't have a bunch of this.
<Alec> havenwood: what you need is a good reference!
AJA4350 has quit [Quit: AJA4350]
r29v has joined #ruby
<havenwood> Alec: I'm playing the reference.
ElFerna has quit [Quit: WeeChat 1.9]
akkiguru_ has joined #ruby
GodFather has quit [Ping timeout: 276 seconds]
<Alec> I don't know enough to play you like with the perfect touch you deserve yet. I'm currently at "10 year old given a drumkit" level, which means I should keep quiet else get death glares.
eblip has quit [Ping timeout: 240 seconds]
unreal has quit [Ping timeout: 240 seconds]
unreal has joined #ruby
eblip has joined #ruby
lystra has joined #ruby
salasrod has quit [Remote host closed the connection]
karapetyan has joined #ruby
<lystra> Hi. I am building tk-0.2.0 for Ruby-2.4.4. I have a version of Tcl/Tk built myself. How can I build tk-0.2.0 against it so the RPATH for the tcltklib.so includes my custom Tcl/Tk?
karapetyan has quit [Ping timeout: 240 seconds]
GodFather has joined #ruby
willthechill has joined #ruby
dviola has joined #ruby
Joufflu_Fail has joined #ruby
jnollette has quit [Remote host closed the connection]
iMadper has joined #ruby
jnollette has joined #ruby
pharma_joe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alex``` has joined #ruby
jasmith has joined #ruby
pharma_joe has joined #ruby
Puffball has quit [Quit: Puffball]
za1b1tsu has quit [Ping timeout: 240 seconds]
gix has joined #ruby
TinkerT has joined #ruby
darkhanb has joined #ruby
gix- has quit [Ping timeout: 244 seconds]
akaiiro has quit [Ping timeout: 265 seconds]
akaiiro has joined #ruby
gnufied has quit [Ping timeout: 256 seconds]
alex``` has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
kryptoz has quit [Remote host closed the connection]
akaiiro has quit [Ping timeout: 240 seconds]
akaiiro has joined #ruby
donofrio has quit [Remote host closed the connection]
akkiguru_ has quit [Ping timeout: 260 seconds]
akaiiro has quit [Ping timeout: 244 seconds]
akaiiro has joined #ruby
kryptoz has joined #ruby
dviola has quit [Quit: WeeChat 2.1]
Inline has quit [Quit: Leaving]
amelliaa has joined #ruby
akaiiro has quit [Ping timeout: 240 seconds]
akaiiro has joined #ruby
apeiros has joined #ruby
akkiguru_ has joined #ruby
graphene has quit [Remote host closed the connection]
solocshaw has joined #ruby
graphene has joined #ruby
akkiguru_ has quit [Ping timeout: 260 seconds]
solocshaw has quit [Quit: solocshaw]
donofrio has joined #ruby
<Alec> havenwood: don't suppose you're around?
<havenwood> Alec: Bots don't sleep.
<Alec> Well for me it's the coffee enemas
<Alec> Can't feel burning on the inside!
<Alec> havenwood: I had two quick questions, can you make ruby[bot] join channels? Most bots have a command
<Alec> eg #filingcabinets
<Alec> and havenwood what are the rules for "implicit method" and scopes RWT blocks, def b(): ... ; def f() ... ; f { a; b; } if f uses that instance thing (to give the block a self) the suppose the self.a method makes sense
<Alec> Is there a way to get it so b is resolved to the def b prior?
<Alec> It would be really nice to experiment in private
<Alec> So please
<havenwood> Alec: I'd have to look at ruby[bot]'s code - i don't recall offhand
schleppel has joined #ruby
<havenwood> maybe somebody else can belt
<Alec> havenwood: would try sending help to it
<Alec> !help
<ruby[bot]> Alec: You can find a list of my commands on http://ruby-community.com/ruboto/commands and my factoids on http://ruby-community.com/ruboto/facts
<Alec> Hmm no join in that list
<Alec> havenwood: .... let's be honest, #ruby-community is dead - can I use that?
dellavg has quit [Ping timeout: 264 seconds]
<havenwood> Alec: I'd say use #ruby-community until someone complains. ;-)
<Alec> Thanks havenwood
<apeiros> #ruby-community exists for the expressed purpose of working on the ruby-community.com page and rubybot. if no work is done on those, of course nobody will be talking
amelliaa has quit [Quit: -]
<Alec> Speaking of which (I found nothing in the community repo, just webpages which gee I could already get!!!!!) where is the bot's source
<apeiros> Alec: and while rubybot does indeed have a command to join channels, it's not a public command.
<Alec> That's good, it'd be pretty shit if it had to be restarted and read a config file
<Alec> http://ruby-community.com/ruboto/commands <--it does mean that this is incomplete
<havenwood> Alec: Those are the public commands.
<Alec> It has a section about operator commands (which are also not public commands)
<apeiros> the bots source is still private and parts of it will remain private. parts I wanted to publish but didn't get around (and doesn't have a high priority either)
<Alec> Nope the first section is public commands
* Alec RTFM - he has right on his side ;)
<Alec> This sounds like bad documentation
<havenwood> Alec: No, it's just that things that aren't meant to be documented aren't.
<Alec> I digress, apeiros as you seemed to have worked on it. I'd much rather combine forced than write my own from scratch there are only a few things missing anyway
cadillac_ has joined #ruby
ur5us has quit [Remote host closed the connection]
<Alec> Oh so they're not actually documented at all?
ur5us has joined #ruby
<apeiros> Alec: I'm currently preparing to leave for work (0700 here), so I'll not be able to write for a while. feel free to contact me later.
<havenwood> Alec: The public commands are documented publicly. The private commands are documented privately.
<Alec> !ban havenwood #ruby 1m "Test" | "I am a member of the public"
<baweaver> That one ya have to have a shiny ruby/staff tag for
<baweaver> like this
<Alec> public commands my ass.
kapil___ has quit [Quit: Connection closed for inactivity]
<baweaver> !qkick havenwood
havenwood was kicked from #ruby by ruby[bot] [kickable offense, see http://ruby-community.com/pages/user_rules]
<Alec> I can't invite him....
havenwood has joined #ruby
<Alec> WB
<Alec> "the public need to know that operators can ban" - or in this case kick - but in a total pussy way of hiding behind a bot they messaged :P
<apeiros> Alec: watch your language.
<Alec> Anyway I'll contact apeiros when I get a chance, if you could stick it in ##filingcabinets though that'd be great.
ur5us has quit [Ping timeout: 240 seconds]
<Alec> If anyone remembers the command - if not - tomorrow's problem.
<Alec> Thanks for letting me get away with this far off topic BTW - I assure you there are merits to short snippets and a bot via /say and /msg - I'm going to get some breakfast now and stop reading about Ruby
<Alec> havenwood: great meeting you. Thanks for your help earlier.
DTZUZU2 is now known as DTZUZU
ogres has quit [Quit: Connection closed for inactivity]
<Alec> I am sure Ruby has one so I wont as "does it have" - does it have a "first party" - like either officially endorsed or official: profiler, unit test system and debugger?
<Alec> code coverage
<Alec> I'm sure it does BTW - as I said but I mean first party or a dominant leader
<havenwood> Alec: Minitest ships with Ruby on the unit test front.
<havenwood> relocating
akkiguru_ has joined #ruby
anisha has joined #ruby
faces has quit [Read error: Connection reset by peer]
Joufflu_WTF has joined #ruby
faces has joined #ruby
Joufflu_Fail has quit [Ping timeout: 240 seconds]
<Alec> havenwood: relocating?
<havenwood> Alec: You caught me, I'm corporeal!
<Alec> WTF
<Alec> So anyway
<Alec> <Alec> Is there a way to get it so b is resolved to the def b prior?
<Alec> <Alec> and havenwood what are the rules for "implicit method" and scopes RWT blocks, def b(): ... ; def f() ... ; f { a; b; } if f uses that instance thing (to give the block a self) the suppose the self.a method makes sense
<havenwood> Alec: I don't understand the question.
<havenwood> #b and #f, okay. f calls a and b in a block. what's "that instance thing"?
<havenwood> Alec: Rephrase the question?
<Alec> havenwood: "that instance thing" is a thing which can call a block and gives it a self.
<Alec> thing.instance_thing(block) means that "thing" = "the self" of block
pharma_joe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
r29v has quit [Quit: r29v]
<Alec> That # has come up again
<Alec> havenwood: see the b; in the block will implicitly become self.b - not "main.b" or whatever (the def b just before it)
Alina-malina has joined #ruby
kapil___ has joined #ruby
faraco has joined #ruby
faraco has quit [Client Quit]
naftilos76 has joined #ruby
<naftilos76> Hi, i want to redirect warning and error messages from a shell command in my ruby script into a variable. For example, i am compiling some cpp files with 'g++ main.cpp -c' and i want the warning messages to be saved in a variable.
<havenwood> &ri Open3
<naftilos76> havenwood: thanks a lot
<havenwood> naftilos76: np
<Alec> is ruby-doc.org a disjoint effort from ruby?
aupadhye has joined #ruby
akkiguru_ has quit [Ping timeout: 240 seconds]
aufi has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
RougeR has joined #ruby
Guest47469 has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
Nicmavr is now known as Guest90419
cadillac_ has quit [Quit: I quit]
dionysus69 has joined #ruby
akkiguru_ has joined #ruby
postmodern has joined #ruby
cadillac_ has joined #ruby
troys has quit [Quit: Bye]
mikecmpbll has joined #ruby
Sina has joined #ruby
mikecmpbll has quit [Client Quit]
DoubleMalt has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
konsolebox has quit [Ping timeout: 240 seconds]
apeiros has quit [Ping timeout: 240 seconds]
za1b1tsu has joined #ruby
konsolebox has joined #ruby
clemens3 has joined #ruby
manakanapa has joined #ruby
snickers has joined #ruby
clemens3 has quit [Ping timeout: 240 seconds]
Joufflu_WTF has quit [Ping timeout: 244 seconds]
amar has joined #ruby
naftilos76 has quit [Ping timeout: 264 seconds]
alfiemax has quit [Ping timeout: 264 seconds]
naftilos76 has joined #ruby
karapetyan has joined #ruby
alfiemax has joined #ruby
yohji has joined #ruby
karapetyan has quit [Ping timeout: 240 seconds]
pharma_joe has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
mozzarella has quit [Ping timeout: 244 seconds]
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
rsh has joined #ruby
redlegion has quit [Max SendQ exceeded]
redlegion has joined #ruby
andikr has joined #ruby
clemens3 has joined #ruby
rsh has quit [Ping timeout: 244 seconds]
Tempesta has quit [Quit: See ya!]
pharma_joe has quit [Quit: Textual IRC Client: www.textualapp.com]
conta has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
manakanapa has quit [Ping timeout: 256 seconds]
amar has quit [Remote host closed the connection]
bonhoeffer__ has joined #ruby
bonhoeffer__ is now known as bonhoeffer
mozzarella has joined #ruby
alem0lars has joined #ruby
user3 has joined #ruby
<user3> Is it a good idea to put rescue StandardError => e; puts e; end in every method? My goal is to stop the program from crashing when hitting an exception, but continue on while complaining loudly about the error (but silently to the user).
<user3> I am also not certain what errors may arise but would just like to ensure continuous running, even if errors cause the program to behave slightly unexpectedly.
conta has quit [Quit: conta]
manakanapa has joined #ruby
user___ has joined #ruby
megamos has joined #ruby
<bonhoeffer> what happened to the rails room — it has 1/4 the old members and the 200 folks that are there aren’t active?
user3 has quit [Ping timeout: 240 seconds]
user3 has joined #ruby
megamos has quit [Quit: Leaving]
user___ has quit [Ping timeout: 260 seconds]
user____ has joined #ruby
alfiemax has quit [Remote host closed the connection]
akaiiro has quit [Ping timeout: 240 seconds]
akaiiro has joined #ruby
user3 has quit [Ping timeout: 260 seconds]
bonhoeffer has quit [Quit: bonhoeffer]
Burgestrand has joined #ruby
naftilos76 has quit [Quit: Leaving]
user3 has joined #ruby
cabotto has joined #ruby
Furai has quit [Quit: WeeChat 2.1]
akaiiro has quit [Ping timeout: 260 seconds]
user____ has quit [Ping timeout: 268 seconds]
akaiiro has joined #ruby
jottr has joined #ruby
Mqll has joined #ruby
cabotto has quit [Remote host closed the connection]
anisha has quit [Ping timeout: 260 seconds]
anisha has joined #ruby
bonhoeffer has joined #ruby
cabotto has joined #ruby
suukim has joined #ruby
nowhereman_ has quit [Ping timeout: 265 seconds]
anisha has quit [Read error: Connection reset by peer]
bonhoeffer has quit [Ping timeout: 244 seconds]
Furai has joined #ruby
dalpo has quit [Quit: leaving]
user___ has joined #ruby
dalpo has joined #ruby
karapetyan has joined #ruby
ciscam has quit [Ping timeout: 256 seconds]
psychicist__ has joined #ruby
ciscam has joined #ruby
user3 has quit [Ping timeout: 240 seconds]
anisha has joined #ruby
user3 has joined #ruby
user___ has quit [Ping timeout: 240 seconds]
Raboo has joined #ruby
user___ has joined #ruby
bonhoeffer has joined #ruby
kliq has joined #ruby
user3 has quit [Ping timeout: 260 seconds]
GodFather has quit [Ping timeout: 265 seconds]
postmodern has quit [Quit: Leaving]
user3 has joined #ruby
user___ has quit [Ping timeout: 260 seconds]
alem0lars has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
megamos has joined #ruby
amar has joined #ruby
karapetyan has joined #ruby
GodFather has joined #ruby
user_ has joined #ruby
NL3limin4t0r has joined #ruby
alfiemax has joined #ruby
user3 has quit [Ping timeout: 240 seconds]
Beams has joined #ruby
nowhereman_ has joined #ruby
user3 has joined #ruby
guille-moe has joined #ruby
user___ has joined #ruby
alex``` has joined #ruby
RougeR has quit [Ping timeout: 240 seconds]
<Alec> I think I broke the bot
sylario has joined #ruby
biberu has joined #ruby
<Alec> >>"don't you die on me now you mother";
<ruby[bot]> Alec: # => "don't you die on me now you mother" (https://eval.in/1035827)
<Alec> Okay so in here it works?
user_ has quit [Ping timeout: 268 seconds]
* Alec tries here?
<Alec> >>f = ->(a) { return ->(b) { return a+b; }; }; puts f.(5).(7);
user3 has quit [Ping timeout: 244 seconds]
user3 has joined #ruby
<Alec> WTF did I do the bot?
<Alec> >>f = ->(a) { return ->(b) { return a+b; }; }; puts f.(5).(7);
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
<Alec> >>f = ->(a) { return ->(b) { return a+b; }; }; puts f.(5).(7);
user_ has joined #ruby
<Alec> !help
<Alec> WTF!!!
* Alec gives up - if anyone can explain please do
bonhoeffer has quit [Ping timeout: 264 seconds]
user___ has quit [Ping timeout: 268 seconds]
user___ has joined #ruby
user3 has quit [Ping timeout: 268 seconds]
user_ has quit [Ping timeout: 276 seconds]
user3 has joined #ruby
user___ has quit [Ping timeout: 260 seconds]
suukim has quit [Quit: Konversation terminated!]
user_ has joined #ruby
kryptoz has quit [Remote host closed the connection]
Burgestrand has quit [Quit: Good bye and have a nice day!]
kryptoz has joined #ruby
kryptoz has quit [Remote host closed the connection]
kryptoz has joined #ruby
kryptoz has quit [Remote host closed the connection]
nowhereman_ has quit [Ping timeout: 244 seconds]
kryptoz has joined #ruby
kryptoz has quit [Remote host closed the connection]
kryptoz has joined #ruby
user3 has quit [Ping timeout: 240 seconds]
kryptoz has quit [Remote host closed the connection]
kryptoz has joined #ruby
shinnya has quit [Ping timeout: 256 seconds]
kryptoz has quit [Remote host closed the connection]
nowhereman_ has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
marius has quit [Ping timeout: 256 seconds]
cabotto has quit []
venmx has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
tobiasvl has quit [Ping timeout: 255 seconds]
tvl has joined #ruby
tvl is now known as tobiasvl
user3 has joined #ruby
user_ has quit [Ping timeout: 260 seconds]
tvw has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
<NL3limin4t0r> >> fn = ->(a) { ->(b) { a + b } }; fn[5][7]
<ruby[bot]> NL3limin4t0r: # => 12 (https://eval.in/1035879)
<NL3limin4t0r> Alec: You could just use curry for that
Dbugger has joined #ruby
<NL3limin4t0r> >> fn ->(a, b) { a + b }.curry; fn[5][7]
<ruby[bot]> NL3limin4t0r: # => undefined method `fn' for main:Object (NoMethodError) ...check link for more (https://eval.in/1035880)
<NL3limin4t0r> >> fn = ->(a, b) { a + b }.curry; fn[5][7]
<ruby[bot]> NL3limin4t0r: # => 12 (https://eval.in/1035881)
marius has joined #ruby
ur5us has joined #ruby
RougeR has quit [Ping timeout: 264 seconds]
drale2k_ has joined #ruby
user_ has joined #ruby
iMadper has quit [Read error: Connection reset by peer]
user___ has joined #ruby
user3 has quit [Ping timeout: 268 seconds]
user_ has quit [Ping timeout: 260 seconds]
akkiguru_ has quit [Remote host closed the connection]
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
Mike11 has joined #ruby
nowhereman_ has quit [Read error: Connection reset by peer]
nowhere_man has joined #ruby
alfiemax has quit [Remote host closed the connection]
nowhere_man has quit [Ping timeout: 240 seconds]
raynold has quit [Quit: Connection closed for inactivity]
user3 has joined #ruby
lupine has quit [Ping timeout: 240 seconds]
j0bk has quit [Quit: ZNC - http://znc.in]
j0bk has joined #ruby
j0bk has quit [Changing host]
j0bk has joined #ruby
user___ has quit [Ping timeout: 240 seconds]
cyberg has joined #ruby
user_ has joined #ruby
user3 has quit [Ping timeout: 264 seconds]
drale2k_ has quit [Ping timeout: 244 seconds]
ntt has joined #ruby
<ntt> Hi, it is possible to encapsulate an ssh terminal through cable in a rails application? Basically I have a scenario where the server can connects via ssh to an (shh) client, and I need to see the ssh console in the browser. Is this possible?
AJA4350 has joined #ruby
user3 has joined #ruby
gnufied has joined #ruby
SunnyLumens has joined #ruby
user_ has quit [Ping timeout: 244 seconds]
user_ has joined #ruby
braincrash has quit [Ping timeout: 240 seconds]
TvL2386_ has joined #ruby
braincrash has joined #ruby
TvL2386 has quit [Ping timeout: 240 seconds]
user___ has joined #ruby
user3 has quit [Ping timeout: 240 seconds]
user_ has quit [Ping timeout: 248 seconds]
jenrzzz has quit [Ping timeout: 248 seconds]
apeiros has joined #ruby
user3 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
zapata has quit [Quit: WeeChat 2.1]
user___ has quit [Ping timeout: 256 seconds]
shinnya has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
<Alec> ntt: screen maybe or put tee on to /dev/(bash PID)/stdout
<Alec> NL3limin4t0r: right the bot is like autistic or something and that's why it refused :P
cliq has joined #ruby
kliq has quit [Ping timeout: 264 seconds]
alfiemax has joined #ruby
ur5us has quit [Remote host closed the connection]
gnufied has quit [Ping timeout: 256 seconds]
za1b1tsu_ has joined #ruby
ur5us has joined #ruby
megamosaren has joined #ruby
diego_k has joined #ruby
guille-moe1 has joined #ruby
guille-moe has quit [Ping timeout: 276 seconds]
z3uS has quit [Ping timeout: 276 seconds]
diegok has quit [Ping timeout: 276 seconds]
guille-moe1 is now known as guille-moe
z3uS has joined #ruby
ltd has quit [Ping timeout: 276 seconds]
ltd has joined #ruby
user3 has quit [Ping timeout: 240 seconds]
za1b1tsu has quit [Ping timeout: 276 seconds]
megamos has quit [Ping timeout: 276 seconds]
Mike11 has quit [Quit: Leaving.]
<dionysus69> env var is not present when I run irb/ruby with sudo
<dionysus69> setting up god gem, that's why I need sudo
user3 has joined #ruby
kliq has joined #ruby
cliq has quit [Ping timeout: 256 seconds]
<Alec> dionysus69: RTFM
<Alec> sudo(8)
<dionysus69> ok figured it out, rvmsudo :s
<Alec> ....
zapata has joined #ruby
<Alec> dionysus69: you must be new
<Alec> Whenever someone says RTFM it's because they're looking at the manual and see the exact relevant bit
<dionysus69> nope, just havent dealt with rvm in several months
cliq has joined #ruby
kliq has quit [Ping timeout: 244 seconds]
Skarlso has joined #ruby
<apeiros> Alec: a plain rtfm is pointless and you can save yourself typing it. if you rtfm somebody, give them at the very least a pointer where and what to look at.
<apeiros> Alec: otherwise we can answer all questions here by "please read a ruby book"
ur5us has quit [Remote host closed the connection]
<konsolebox> to be fair, it's rtfd
sagax has quit [Ping timeout: 240 seconds]
<Alec> apeiros: I'd agree if you were talking about GCC's monster manual page or something
<Alec> but try it!
<Alec> Maybe learn how to use /
<Alec> followed by "env"
<Alec> *cough*
<apeiros> you don't need to agree. I tell you channel rules.
<apeiros> and `sudo(8)` doesn't help quite a lot of people. they won't understand that you want them to use man.
<Alec> Channel rules say I must quote the manual rather than say RTFM giving noobs useful lifeskills?
<Alec> Well if anyone doesn't understand the format they could ask
<apeiros> channel rules say you shouldn't behave like a dick. and you do.
<Alec> I could explain man's sections
<Alec> Careful m8 - I got pulled up by an opp when I used that word earlier.
<apeiros> and no, "rtfm" doesn't teach life skills. that's quite a twisted view of reality you have there if you think that.
<Alec> Oh that was you
<apeiros> <-- does that @ help?
<apeiros> no it wasn't me. I was afk the last few hours.
<Alec> I'm going to check now
<Alec> 'cos it was for sure "a" for the first letter
<Alec> <apeiros> Alec: watch your language.
<apeiros> I told you to watch your language. I … yep, wasn't specific about which words.
<Alec> Oh right sure, it was the lack of capital T at the tart of the sentence that was about
<Alec> Totally not the only word that could conceivably be bad
conta has joined #ruby
<Alec> Anyway IDC really I'd just fallen back into sibling mode
<Alec> So what can I do when I check the manual, find it within 3 seconds including manual time
<Alec> Like say nothing?
<apeiros> tell them how to get there
<apeiros> tell them what you did to get to the point where you actually saw the thing they were looking for documented.
zx has joined #ruby
<Alec> Right I'm sure that wont be taken as really condescending or patronising or as assuming they're such noobs they can't type "man sudo"
<Alec> I'm not liking this, I'm just gonna sponge until I get used to it
<apeiros> no idea what "gonna sponge" is supposed to mean in this context.
<Alec> Oh right the first word is "going to" contracted into a slang form
<Alec> "sponge" is a synonym for "leach" or "free-rider" - someone who takes but gives nothing back.
<Alec> To "sponge off" someone.
<apeiros> I see.
<Alec> I really don't want to risk being banned for trying to help
<Alec> Maybe when I don't need you guys, then I can cut you loose like dead-weight :P
<apeiros> yeah, again, "rtfm" is in no way "trying to help"
<Alec> ...agree to disagree
<apeiros> and if that's your idea of helping, then indeed, I prefer you to remain silent.
<Alec> Yahvul!
zx has left #ruby [#ruby]
ldnunes has joined #ruby
adm_ has joined #ruby
fot has joined #ruby
<adm_> hi
<Alec> Hello friend.
<adm_> im getting this error "ruby: No such file or directory -- dk.rb (LoadError)" when running ruby dk.rb init
<adm_> this is the content of ruby folder https://paste.ubuntu.com/p/MnGgcM6rJy/
<adm_> I have downloaded and installed rubyinstaller-devkit-2.5.1-2-x64 successfully
<adm_> any suggestions pls
mniip has quit [Read error: Connection reset by peer]
<konsolebox> adm_: `ruby dk.rb` means dk.rb is supposed to be in current path, unless you use -S
<konsolebox> adm_: perhaps you need to set up your %PATH% to have C:\Ruby25-x64\bin included
<Alec> adm_: do you have a web-browser?
<konsolebox> then execute ruby in the directory where dk.rb exists
<adm_> i went to C:\Ruby25-x64> using cd
<konsolebox> yes, and dk.rb is not there
mniip has joined #ruby
<adm_> i searched for dk.rb but i didn't find it
<konsolebox> of course. why do you even run `ruby dk.rb`?
<adm_> u mean i should run ruby dk.rb first?
<adm_> yes i have web browser
<konsolebox> running `ruby dk.rb` means you want to execute the script dk.rb. why did you think about using that command?
James123 has joined #ruby
<adm_> because this procedure should be used to install foreman smart proxy on windows based on this documentation https://theforeman.org/manuals/1.17/index.html#4.3.1SmartProxyInstallation
<adm_> if u search for dk.rb on that link u will get my point pls
<konsolebox> it says "ruby <devKitRoot>\dk.rb init"
<adm_> yes
<konsolebox> did you replace <devKitRoot> with the actual directory of devkit?
<adm_> yes
<konsolebox> what is the complete command?
<adm_> but i get error that dk.rb doesn't exist
<konsolebox> have you manually checked devkit (not the ruby) the directory if dk.rb exists?
<James123> Hello! I have a text file with some emails of the form: Re: subject\n body text with several new lines\n Re: subject 2\n new email text. I want to read each email including the subject line to an array element. I have tried emails.scan(/Re:.*?/m) but it doesn't work. Any ideas?
<konsolebox> adm_: C:\Ruby25-x64 is not the devkit directory
<adm_> i searched all c partition but i didn't find it
<konsolebox> you should have seen it when you install devkit
<adm_> i installed this rubyinstaller-devkit-2.5.1-2-x64 package
<adm_> it will install ruby with devkit right?
<konsolebox> yes
nowhere_man has joined #ruby
<adm_> and i didn't get any error during the installation
<adm_> i installed it on windows server 2016
fot has quit [Ping timeout: 260 seconds]
<adm_> pls how to uninstall the current package?
<adm_> i will install ver 2.4 so i need to uninstall 2.5 pls
alfiemax_ has joined #ruby
jcalla has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
synthroid has joined #ruby
SunnyLumenz has joined #ruby
cloudive has joined #ruby
SunnyLumens has quit [Ping timeout: 260 seconds]
user3 has quit [Ping timeout: 244 seconds]
<konsolebox> adm_: read the installer's instructions in the "Select Components" page
BaroMeter has joined #ruby
<konsolebox> adm_: that "ruby <devKitRoot>\dk.rb init" instruction seems to refer to the old installer "RubyInstaller". RubyInstaller2 seems to do it automatically for the user in the last installer page.
<adm_> hmm
<adm_> so no need to run this command after the installation right?
Skarlso has left #ruby ["Textual IRC Client: www.textualapp.com"]
<konsolebox> intuitively no. examine the documentations if you're worried. https://github.com/oneclick/rubyinstaller2
cloudive is now known as cloudive_
<adm_> thx konsolbox
alex``` has quit [Quit: WeeChat 2.1]
sticaz has quit [Ping timeout: 264 seconds]
<konsolebox> James123: scan(/^Re:.+?(?=^Re:)|^Re:.*/m)
MyMind has joined #ruby
Sembei has quit [Ping timeout: 264 seconds]
fot has joined #ruby
<James123> konsolebox: Thank you very much. I didn't know about regex lookahead, really useful
lupine has joined #ruby
jrafanie has joined #ruby
bak1an has joined #ruby
lupine has quit [Ping timeout: 240 seconds]
codymj has joined #ruby
lupine has joined #ruby
cloudive_ is now known as cloudiver
RougeR has quit [Ping timeout: 240 seconds]
synthroi_ has joined #ruby
SunnyLumens has joined #ruby
cloudiver is now known as cloudive
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
synthroid has quit [Ping timeout: 244 seconds]
SunnyLumenz has quit [Ping timeout: 276 seconds]
cloudive is now known as cloudiver
sticaz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
graphene has quit [Read error: Connection reset by peer]
deathwishdave has joined #ruby
graphene has joined #ruby
dr3w_ has joined #ruby
graphene has quit [Read error: Connection reset by peer]
za1b1tsu_ has quit [Ping timeout: 240 seconds]
graphene has joined #ruby
nima_m has joined #ruby
k0mpa has joined #ruby
sagax has joined #ruby
kapil___ has joined #ruby
konsolebox has quit [Ping timeout: 240 seconds]
kryptoz has joined #ruby
tagnotfo1nd has quit [Ping timeout: 240 seconds]
alex``` has joined #ruby
tagnotfound has joined #ruby
snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kryptoz has quit [Remote host closed the connection]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
fmcgeough has joined #ruby
fot has quit [Ping timeout: 240 seconds]
deathwishdave has quit [Ping timeout: 256 seconds]
Inline has joined #ruby
yokel has quit [Ping timeout: 268 seconds]
cyberg has left #ruby ["Leaving"]
dionysus69 has quit [Remote host closed the connection]
user3 has joined #ruby
alem0lars has joined #ruby
venmx has quit [Quit: leaving]
za1b1tsu_ has joined #ruby
yokel has joined #ruby
bak1an has quit [Ping timeout: 248 seconds]
Guest48266 has quit [Ping timeout: 256 seconds]
bak1an has joined #ruby
TomyLobo has joined #ruby
venmx has joined #ruby
za1b1tsu_ has quit [Ping timeout: 264 seconds]
<apeiros> >> 1+1
<ruby[bot]> apeiros: # => 2 (https://eval.in/1036140)
<nima_m> hey i read chirs pine’s book, im new in ruby :/ what are your seggestions about next step to learn more things?
fot has joined #ruby
Asher has quit [Quit: Leaving.]
<apeiros> nima_m: find something you'd like to build, start building it.
gnufied has joined #ruby
fuxx has joined #ruby
adm_ has quit [Quit: Page closed]
soniya29 has joined #ruby
za1b1tsu_ has joined #ruby
reber has joined #ruby
reber__ has joined #ruby
Mrgoose has quit [Quit: ZNC 1.7.x-nightly-20170908-e86efb08 - https://znc.in]
SunnyLumenz has joined #ruby
bmurt has joined #ruby
SunnyLumens has quit [Ping timeout: 256 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
banisterfiend has joined #ruby
alex``` has quit [Ping timeout: 240 seconds]
memo1 has joined #ruby
gnufied has quit [Quit: Leaving]
shinnya has quit [Ping timeout: 264 seconds]
hanmac has quit [Ping timeout: 240 seconds]
alex``` has joined #ruby
tdy has quit [Ping timeout: 268 seconds]
SunnyLumens has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
SunnyLumenz has quit [Ping timeout: 248 seconds]
quobo has joined #ruby
Rapture has joined #ruby
rippa has joined #ruby
gnufied has joined #ruby
banisterfiend has quit [Ping timeout: 240 seconds]
ogres has joined #ruby
hanmac has joined #ruby
rikkipitt has joined #ruby
soniya29 has quit [Ping timeout: 265 seconds]
Biappi has joined #ruby
<Biappi> hello. i'm looking for the easiest way of installing an application that supports "gem install $app" in a non-global, and possibly "portable" way
<Biappi> many times people advised me "bundler", but i find its docs a really confusing mishmash of ruby jargon i'm not familiar with... i'd be happy if somebody could just point me to a doc to follow
apparition has joined #ruby
apeiros has quit [Ping timeout: 240 seconds]
Inline has quit [Remote host closed the connection]
troys has joined #ruby
agent_white has joined #ruby
aupadhye has quit [Remote host closed the connection]
synthroid has joined #ruby
<havenwood> Biappi: You can install gems wherever you'd like: gem i -i /path/to/gems
<havenwood> Biappi: RubyGems itself also supports dependency resolution. Create a Gemfile, but your deps in it, and run: gem i -g
<havenwood> Biappi: It'll install "globally", but you can use just those versions by setting: export RUBYGEMS_GEMDEPS=-
<havenwood> Biappi: It's typical these days to simply install to $GEM_HOME, specify your deps in a Gemfile, create a Gemfile.lock, then use just those specified versions when running the app.
synthroi_ has quit [Ping timeout: 248 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
<havenwood> Biappi: Here's a few lines of shell that'll facilitate moving $GEM_HOME, $GEM_PATH and $PATH around - if that's the way you want to go: https://github.com/postmodern/gem_home#gem_home
<havenwood> Biappi: The more popular option is the dependency resolver route, where you resolve to a Gemfile.lock with specific gems and versions - then use just those when running the app.
rikkipitt has quit [Quit: Leaving...]
Inline has joined #ruby
conta has quit [Quit: conta]
RougeR has quit [Ping timeout: 256 seconds]
Mrgoose2 has joined #ruby
reber__ has quit [Remote host closed the connection]
reber__ has joined #ruby
memo1 has quit [Quit: WeeChat 1.4]
memo1 has joined #ruby
gizmore has joined #ruby
<gizmore> havenwood: This is your daily appreciation message :) thx for your expertises and help
megamosaren has quit [Ping timeout: 260 seconds]
andikr has quit [Remote host closed the connection]
Puffball has joined #ruby
beefjoe has joined #ruby
soniya29 has joined #ruby
nowhere_man has quit [Ping timeout: 264 seconds]
cadillac_ has quit [Ping timeout: 240 seconds]
nowhere_man has joined #ruby
nowhereman_ has joined #ruby
nowhere_man has quit [Read error: Connection reset by peer]
SunnyLumenz has joined #ruby
amar has quit [Remote host closed the connection]
fot has quit [Ping timeout: 240 seconds]
SunnyLumens has quit [Ping timeout: 240 seconds]
ivanskie has joined #ruby
amar_ has joined #ruby
cadillac_ has joined #ruby
tcopeland has joined #ruby
amar_ has quit [Read error: No route to host]
tcopeland has quit [Client Quit]
amar_ has joined #ruby
cliq has quit [Ping timeout: 244 seconds]
ivanskie has quit [Client Quit]
amar_ has quit [Ping timeout: 264 seconds]
theRoUS has left #ruby ["Off to another part of the maze of twisty little passages"]
Snowy has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
fot has joined #ruby
clemens3 has quit [Ping timeout: 240 seconds]
BaroMeter has quit [Quit: Leaving]
synthroid has quit [Remote host closed the connection]
guille-moe has quit [Remote host closed the connection]
guille-moe has joined #ruby
fot has quit [Ping timeout: 260 seconds]
Dbugger has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
Dbugger has joined #ruby
graphene has quit [Remote host closed the connection]
gizmore has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
fot has joined #ruby
graphene has joined #ruby
lytol has joined #ruby
aufi has quit [Remote host closed the connection]
synthroid has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
SunnyLumenz has quit [Ping timeout: 260 seconds]
r29v has joined #ruby
jcarl43 has joined #ruby
r29v has quit [Client Quit]
soniya29 has quit [Ping timeout: 240 seconds]
r29v has joined #ruby
alfiemax has joined #ruby
cagomez has joined #ruby
cagomez has quit [Client Quit]
lxsameer has quit [Ping timeout: 260 seconds]
lxsameer has joined #ruby
SunnyLumens has joined #ruby
synthroi_ has joined #ruby
cagomez has joined #ruby
planigan has quit [Ping timeout: 244 seconds]
abd31999 has joined #ruby
synthroid has quit [Ping timeout: 244 seconds]
SunnyLumenz has joined #ruby
<abd31999> hi, anyone can help me to install MSF on Fedora 28
megamosaren has joined #ruby
planigan has joined #ruby
sagax has quit [Ping timeout: 240 seconds]
za1b1tsu_ has quit [Ping timeout: 240 seconds]
Snowy has quit [Quit: ragequit]
yohji has quit [Ping timeout: 244 seconds]
SunnyLumens has quit [Ping timeout: 264 seconds]
amar_ has joined #ruby
Caerus has joined #ruby
beefjoe has quit [Ping timeout: 256 seconds]
<baweaver> abd31999: Y'might have the wrong channel here
karapetyan has quit [Remote host closed the connection]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
amar_ has quit [Ping timeout: 240 seconds]
quobo has quit [Quit: Connection closed for inactivity]
<abd31999> baweaver, I think the problem is from ruby
<baweaver> What's MSF?
nima_m has quit [Quit: Connection closed for inactivity]
alfiemax_ has joined #ruby
alfiemax has quit [Ping timeout: 264 seconds]
<abd31999> Metasploit framework
<g-> the first rule of msf is you don't ask for help with msf
<havenwood> ?metasploit
<ruby[bot]> Please join #metasploit for help with it.
<havenwood> abd31999: If you have a Ruby problem, pray tell!
sagax has joined #ruby
<abd31999> this is what happen when I type bundle install
beefjoe has joined #ruby
yohji has joined #ruby
beefjoe has quit [Remote host closed the connection]
guille-moe has quit [Ping timeout: 260 seconds]
beefjoe has joined #ruby
claudiuinberlin has joined #ruby
eb0t has quit [Ping timeout: 244 seconds]
konsolebox has joined #ruby
eblip has quit [Ping timeout: 264 seconds]
nowhereman_ has quit [Ping timeout: 268 seconds]
yohji has quit [Remote host closed the connection]
konsolebox has quit [Client Quit]
konsolebox has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
cadillac_ has quit [Ping timeout: 260 seconds]
<baweaver> User permissions.
eb0t has joined #ruby
eblip has joined #ruby
<baweaver> System Ruby, and your user doesn't have sufficient rights to install C extensions.
crankharder has quit [Ping timeout: 268 seconds]
Beams has quit [Quit: .]
lxsameer has quit [Ping timeout: 260 seconds]
<abd31999> baweaver, So how I can solve it
lxsameer has joined #ruby
<baweaver> If you're trying to learn metasploit, it would be a good first exercise to understand permissions on a unix system.
<baweaver> Read the error carefully, and then see what you can learn on file permissions on unix
cadillac_ has joined #ruby
r29v has quit [Quit: r29v]
abd31999 has quit [Quit: Leaving]
lxsameer has quit [Ping timeout: 240 seconds]
darkhanb has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
amar_ has joined #ruby
lxsameer has joined #ruby
r29v has joined #ruby
amar__ has joined #ruby
eckhardt_ has joined #ruby
alfiemax has joined #ruby
mynameisdebian has joined #ruby
amar_ has quit [Ping timeout: 244 seconds]
Mqll has quit []
mikecmpbll has joined #ruby
lxsameer has quit [Ping timeout: 244 seconds]
mikecmpbll has quit [Client Quit]
amar_ has joined #ruby
mikecmpbll has joined #ruby
tvw has quit [Remote host closed the connection]
lxsameer has joined #ruby
mikecmpbll has quit [Client Quit]
megamosaren has quit [Ping timeout: 260 seconds]
amar__ has quit [Ping timeout: 244 seconds]
lxsameer has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
synthroi_ has quit []
soniya29 has joined #ruby
nowhereman_ has joined #ruby
lxsameer has joined #ruby
dr3w_ has joined #ruby
npgm has quit [Quit: Connection closed for inactivity]
lxsameer has quit [Ping timeout: 256 seconds]
soniya29 has quit [Quit: Leaving]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karapetyan has joined #ruby
alfiemax has quit [Remote host closed the connection]
lxsameer has joined #ruby
karapetyan has quit [Ping timeout: 260 seconds]
IanMalcolm has joined #ruby
graphene has quit [Remote host closed the connection]
sameerynho has joined #ruby
graphene has joined #ruby
lxsameer has quit [Ping timeout: 264 seconds]
hobbes has joined #ruby
IanMalcolm has quit [Remote host closed the connection]
alfiemax has joined #ruby
alfiemax has quit [Remote host closed the connection]
venmx has quit [Ping timeout: 260 seconds]
lxsameer has joined #ruby
hobbes has quit [Ping timeout: 244 seconds]
graphene has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 268 seconds]
graphene has joined #ruby
graphene has quit [Read error: Connection reset by peer]
graphene has joined #ruby
lxsameer has joined #ruby
za1b1tsu_ has joined #ruby
jottr has joined #ruby
bonhoeffer has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
alfiemax has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
cloudiver has quit [Quit: leaving]
<miah> i'd also recommend #metasploit
za1b1tsu_ has quit [Ping timeout: 260 seconds]
lxsameer has joined #ruby
za1b1tsu_ has joined #ruby
James123 has quit [Quit: Lost terminal]
lxsameer has quit [Ping timeout: 260 seconds]
lxsameer has joined #ruby
Sina has quit [Quit: Connection closed for inactivity]
SunnyLumenz has quit [Read error: Connection reset by peer]
SunnyLumenz has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
za1b1tsu_ has quit [Ping timeout: 264 seconds]
bonhoeffer has quit [Quit: bonhoeffer]
lxsameer has joined #ruby
nowhereman_ has quit [Ping timeout: 256 seconds]
lxsameer has quit [Ping timeout: 244 seconds]
zachk has joined #ruby
zachk has quit [Changing host]
zachk has joined #ruby
zautomata has joined #ruby
zautomata has quit [Changing host]
zautomata has joined #ruby
lxsameer has joined #ruby
ogres has quit [Quit: Connection closed for inactivity]
lxsameer has quit [Ping timeout: 240 seconds]
gizmore has joined #ruby
<gizmore> >> puts.inspect
<ruby[bot]> gizmore: # => ...check link for more (https://eval.in/1036219)
<gizmore> theheheh
amar_ has quit [Remote host closed the connection]
lxsameer has joined #ruby
claudiuinberlin has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
mynameisdebian has quit [Remote host closed the connection]
apparition has quit [Quit: Bye]
alem0lars has quit [Ping timeout: 244 seconds]
dbugger2 has joined #ruby
lxsameer has joined #ruby
<gizmore> >> Object.class_methods
<ruby[bot]> gizmore: # => undefined method `class_methods' for Object:Class ...check link for more (https://eval.in/1036222)
<gizmore> >> Object.new.class_methods
<ruby[bot]> gizmore: # => undefined method `class_methods' for #<Object:0x406b9bf4> (NoMethodError) ...check link for more (https://eval.in/1036223)
<gizmore> >> Object.new.instance_methods
<ruby[bot]> gizmore: # => undefined method `instance_methods' for #<Object:0x40b95c68> ...check link for more (https://eval.in/1036224)
<gizmore> Oo
<gizmore> is this ruby?
<gizmore> >> Object.instance_methods
dr3w_ has joined #ruby
dr3w_ has quit [Client Quit]
mynameisdebian has joined #ruby
lxsameer has quit [Ping timeout: 244 seconds]
Dbugger has quit [Quit: Leaving]
dbugger2 has quit []
<gizmore> havenwood: you around?
Dbugger has joined #ruby
<havenwood> gizmore: hey
lxsameer has joined #ruby
apeiros has joined #ruby
<havenwood> gizmore: what's up?
<gizmore> still working on GDO(Ruby)
<gizmore> let me push latest stuff
<gizmore> $ git commit -am "1.00r1 havenwood"
<havenwood> I've never been a version number before.
<gizmore> havenwood is codename for GDO(Ruby) 1.00
<havenwood> ah, a codename!
<gizmore> i ditched your versioning suggestions
<havenwood> haha
<havenwood> :-D
<gizmore> i stuck to mine (1.00, 1.01 etc
<apeiros> you should follow hero style commits
<gizmore> i usually put desrc (thx username)
<apeiros> $ gm 'In which our hero releases 1.00r1'
<gizmore> GDO(Ruby) 1.00 - havenwood
<apeiros> eh, habit - gm = git commit -m
lampd1 has joined #ruby
lampd1 has left #ruby [#ruby]
<gizmore> in GDO(PHP) i got a "gdo_sync.sh" which does find -exec git stuff
<gizmore> it pushes all my modules with same commit msg
<gizmore> "Fixes"
<gizmore> i am only 1 man
<gizmore> GDO is modular
lxsameer has quit [Ping timeout: 260 seconds]
<apeiros> "In which our hero fixes bugs"
<gizmore> let us do a kickstarter where we do a havenwood hero movie, yeah
<gizmore> bugman
<gizmore> >> Object.new.class.instance_methods.sort
<ruby[bot]> gizmore: # => [:!, :!=, :!~, :<=>, :==, :===, :=~, :__id__, :__send__, :class, :clone, :define_singleton_method, : ...check link for more (https://eval.in/1036227)
SeepingN has joined #ruby
<gizmore> >> Object.new.untrust apeiros
<ruby[bot]> gizmore: # => undefined local variable or method `apeiros' for main:Object (NameError) ...check link for more (https://eval.in/1036229)
<gizmore> >> Object.new.untrust :apeiros
<ruby[bot]> gizmore: # => wrong number of arguments (given 1, expected 0) (ArgumentError) ...check link for more (https://eval.in/1036230)
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
<gizmore> >> class Object; alias :new :old; end
<ruby[bot]> gizmore: # => undefined method `old' for class `Object' ...check link for more (https://eval.in/1036231)
<gizmore> >> class Object; def old; new; end; alias :new :old; end
<ruby[bot]> gizmore: # => nil (https://eval.in/1036232)
<gizmore> Oo
Yxhuvud has joined #ruby
<gizmore> i expected a deadloop Oo
lxsameer has joined #ruby
<apeiros> if you use alias syntax, don't use symbols. `alias new old`
<apeiros> and yes, it'd be an infinite loop, if you called it :)
<gizmore> :)
Rapture has quit [Ping timeout: 256 seconds]
<gizmore> I am working on an own framework
<apeiros> so I heard :D
<apeiros> lets compare. in april.
<gizmore> it will support: "HTTP,Websocket,ICQ,Jabber,XMPP,CGI,Shell,Netcat,Gopher"
<gizmore> cache invalidation is a thing i got right
<apeiros> ah mine won't :)
nowhereman_ has joined #ruby
<gizmore> gdo Register Form gizmore password gizmore@wechall.net 1 submit
<gizmore> apeiros: ^ this is current bash syntax to trigger registration of user account via bash
lxsameer has quit [Ping timeout: 244 seconds]
karapetyan has joined #ruby
<gizmore> `gdo Register Form gizmore password gizmore@wechall.net 1 submit` <-- this is CLI to create an account with my "framework"
<gizmore> i have not coded that far yet.... but plan is one framework serves all
apeiros__ has joined #ruby
<apeiros> I might try to add http2/hths to it.
<apeiros> (dang, internet at ~200km/h is a bit "wobbly")
apeiros has quit [Read error: Connection reset by peer]
* apeiros__ checks logs
lxsameer has joined #ruby
apeiros__ is now known as apeiros
dviola has joined #ruby
<gizmore> waited for you and went quiet until you were back, master apeiros
<apeiros> oh, I'm a master now? nice :D
karapetyan has quit [Ping timeout: 260 seconds]
<apeiros> gotta switch trains… and might be offline after. cya all :)
apeiros has quit [Remote host closed the connection]
<gizmore> git commit -am "1.00-havenwood-r1"
<gizmore> wrong window ;)
lxsameer has quit [Ping timeout: 248 seconds]
apeiros has joined #ruby
<gizmore> apeiros: https://github.com/gizmore/GDO-Register/blob/master/spec/gdo_spec.rb (roast my unit tests for my signup module)
<gizmore> the same code should work for websocket etc
lxsameer has joined #ruby
noizex has joined #ruby
<gizmore> This is a model for signup IP recording/restriction
<gizmore> GDO signup is quite nice..... emails or username is only burned when you activated
<gizmore> this is the activation token table:
lemonpaul has joined #ruby
<apeiros> burned?
<gizmore> already registered with nickname/email
SunnyLumens has joined #ruby
<gizmore> burned mail
<gizmore> many signups bv
<gizmore> many signups burn mail before activation
lxsameer has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
Rapture has joined #ruby
SunnyLumens has quit [Remote host closed the connection]
SunnyLumens has joined #ruby
SunnyLumenz has quit [Ping timeout: 260 seconds]
<apeiros> gizmore: "user_name=#{activation.quoted(:user_name)} OR user_email=#{activation.quoted(:user_email)}" - should use bind variables instead
<apeiros> I wonder where `table` comes from there. but well, reached my destination. so probably offline for the rest of the week-end :)
<gizmore> apeiros: GDO does not feature bind variables or prepared statements
<gizmore> it is my own DBA
apeiros has quit []
<gizmore> i dislike ActiveRecord
<gizmore> GDO only works with mysql
<gizmore> by design :)
lxsameer has joined #ruby
<gizmore> ActiveRecord is the inner join of some DBA
<gizmore> GDO might use advanced mysql features instead
<gizmore> like different storage engines
lemonpaul has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
fot has quit [Ping timeout: 244 seconds]
redlegion has quit [Max SendQ exceeded]
redlegion has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gizmore> another example
<gizmore> table.delete_where("user_name=#{activation.quoted(:user_name)} OR user_email=#{activation.quoted(:user_email)}")
lxsameer has quit [Ping timeout: 265 seconds]
<gizmore> this actually loads every entitiy to delete and calls the events
<gizmore> unlike ActiveRecord
<gizmore> GDO support combined primary keys, unlike ActiveRecord
<gizmore> GDO features a single identity cache (unique feature)
<gizmore> single identiy cache means every object retrieved from db is filtered through cache, and will return the same instance when the same row is queried multiple times
<gizmore> currently this is disabled in GDO(Ruby) but i got great results in PHP
<gizmore> GDO is not designed to be scalable atm
<gizmore> :(
lxsameer has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
reber has quit [Remote host closed the connection]
reber has joined #ruby
tvw has joined #ruby
mynameisdebian has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 260 seconds]
rootd00d has joined #ruby
<rootd00d> hey folks! i'm having a little trouble with concurrent-ruby. i'm using a FixedThreadPool to make threaded HTTP requests, but i need to preserve the responses to all of these requests in a "shared" array.
dr3w_ has joined #ruby
<rootd00d> i was thinking i'd just declare an array, and then in pool.post ... i'd be able to access the array and just push the responses on, but at the end the array is just empty.
<gizmore> rootd00d: you need to lock access on writes and reads maybe
<rootd00d> i'm guessing because each thread is getting it's own copy of that array variable.
<gizmore> threading is not too hard
lxsameer has joined #ruby
venmx has joined #ruby
<gizmore> you just need to choreograph your code that accesses shared data
<gizmore> semaphoes, locks, whatever
<gizmore> lockspins!
<gizmore> semaphores, locks, whatever *
raynold has joined #ruby
<rootd00d> gizmore: well, i thought maybe i should use safe_array_var = Concurrent::MVar.new(array_var), and then inside the thread, do safe_array_var.value.push(<foo>) but it's the same effect.
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gizmore> i am not into that Concurrent lib
<rootd00d> it doesn't seem to complain at all, but the array is still empty.
<gizmore> i use only Thread.current
<dr3w_> Hey, anyone know how to do this? http://rextester.com/XKHM18850
<gizmore> rootd00d: on just wrap a lock around accessing your shared data could work
anisha has quit [Read error: Connection reset by peer]
<gizmore> dr3w_: tricky
<gizmore> dr3w_: match <script>.*</script> or .*
<rootd00d> gizmore: i'll give that a shot.
<gizmore> rootd00d: good luck with your threading exe
<gizmore> rootd00d: good luck with your threading experience *
lxsameer has quit [Ping timeout: 260 seconds]
<dr3w_> Hmm @gizmore that causes it to split
<dr3w_> applepie
<dr3w_> <script>This is a thing</script>cake<script>This is a thing</script>lololol<script>This is a thing</script>
<dr3w_> heheheh
bak1an has quit [Ping timeout: 256 seconds]
<gizmore> dr3w_: maybe match scripts and afterwards split by that
<gizmore> like first (<script>.*</script>)
<gizmore> then split by (<script>.*</script>)
bak1an has joined #ruby
<gizmore> just some ideas for your horrible idea
<rootd00d> gizmore: wrapping it in a mutex didn't work...
<dr3w_> hmmm ok
zautomata has quit [Quit: WeeChat 1.9.1]
<rootd00d> gizmore: it seems like some special consideration when using a FixedThreadPool
<gizmore> rootd00d: i have zero experience with ThreadPool
<konsolebox> dr3w_: puts string.scan(/<script>.*?<\/script>|.+?(?=<script>)|.+/)
anisha has joined #ruby
<dr3w_> :O @konsolebox is god
<dr3w_> Thanks
lxsameer has joined #ruby
bsamorim has joined #ruby
lxsameer has quit [Ping timeout: 260 seconds]
quobo has joined #ruby
fot has joined #ruby
snickers has joined #ruby
lxsameer has joined #ruby
mikecmpbll has joined #ruby
mikecmpbll has quit [Client Quit]
lxsameer has quit [Ping timeout: 256 seconds]
bonhoeffer has joined #ruby
amar_ has joined #ruby
Puffball has quit [Quit: Puffball]
lxsameer has joined #ruby
loincloth has quit []
<gizmore> >> 1.00.major
<ruby[bot]> gizmore: # => undefined method `major' for 1.0:Float (NoMethodError) ...check link for more (https://eval.in/1036311)
<gizmore> >> "1.00".major
<ruby[bot]> gizmore: # => undefined method `major' for "1.00":String (NoMethodError) ...check link for more (https://eval.in/1036312)
anisha has quit [Quit: This computer has gone to sleep]
lxsameer has quit [Ping timeout: 240 seconds]
bonhoeffer has quit [Quit: bonhoeffer]
kliq has joined #ruby
lxsameer has joined #ruby
claudiuinberlin has joined #ruby
eregon has quit [Remote host closed the connection]
zautomata has joined #ruby
zautomata has joined #ruby
zautomata has quit [Changing host]
fot has left #ruby ["WeeChat 2.1"]
jcalla has quit [Quit: Leaving]
lxsameer has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
moei has quit [Quit: Leaving...]
kedibasi has joined #ruby
graphene has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 260 seconds]
graphene has joined #ruby
beefjoe has quit [Ping timeout: 240 seconds]
cadillac_ has quit [Read error: Connection reset by peer]
eregon has joined #ruby
cadillac_ has joined #ruby
zugzug has quit [Ping timeout: 244 seconds]
lxsameer has joined #ruby
venmx has quit [Ping timeout: 264 seconds]
eregon has quit [Quit: ZNC - http://znc.in]
pauliesaint has joined #ruby
eregon has joined #ruby
pauliesaint has quit [Remote host closed the connection]
pauliesaint has joined #ruby
mynameisdebian has joined #ruby
lxsameer has quit [Ping timeout: 264 seconds]
pauliesaint has quit [Client Quit]
lxsameer has joined #ruby
kedibasi has quit [Ping timeout: 240 seconds]
schleppel has quit [Quit: Konversation terminated!]
jushY has joined #ruby
eregon has quit [Quit: ZNC - http://znc.in]
jushY has quit [Remote host closed the connection]
jushY has joined #ruby
lxsameer has quit [Ping timeout: 244 seconds]
eregon has joined #ruby
mynameisdebian has quit [Remote host closed the connection]
mynameisdebian has joined #ruby
jamesaxl has joined #ruby
mynameisdebian has quit [Remote host closed the connection]
beefjoe has joined #ruby
<JJonah> is there a way to introspect a ruby method or proc to figure out if it can take a block argument?
<havenwood> >> -> &block {}.parameters # JJonah
<ruby[bot]> havenwood: # => [[:block, :block]] (https://eval.in/1036316)
<havenwood> >> -> {}.parameters # JJonah
<ruby[bot]> havenwood: # => [] (https://eval.in/1036317)
lxsameer has joined #ruby
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
bmurt has joined #ruby
venmx has joined #ruby
bsamorim has quit [Ping timeout: 260 seconds]
<JJonah> havenwood: hi! so i may be misunderstanding your suggestions, but eg this:
<JJonah> returns an empty array, so I wouldn't know that map took a block
<JJonah> p t.parameters #=> []
<JJonah> t = Array.instance_method(:map)
mynameisdebian has joined #ruby
lxsameer has quit [Ping timeout: 265 seconds]
<havenwood> >> def map; yield end; method(:map).parameters ## JJonah
<ruby[bot]> havenwood: # => [] (https://eval.in/1036318)
<havenwood> >> def map &block; block.call end; method(:map).parameters # JJonah
<ruby[bot]> havenwood: # => [[:block, :block]] (https://eval.in/1036319)
<havenwood> JJonah: When you have an implicit block with yield, they don't show up in the parameters.
<JJonah> havenwood: ok, so there's simply no way to introspect that?
mynameisdebian has quit [Remote host closed the connection]
<havenwood> JJonah: Apart from looking at the instruction sequence or ast or that sort of thing, I don't think so.
<havenwood> JJonah: Or Fiddle.
<JJonah> havenwood: ty
lxsameer has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
icy` has quit [Quit: .: ciao :.]
shinnya has joined #ruby
graphene has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 260 seconds]
ldnunes has quit [Quit: Leaving]
graphene has joined #ruby
dnewkerk has joined #ruby
za1b1tsu_ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lxsameer has joined #ruby
k0mpa has quit [Remote host closed the connection]
bonhoeffer has joined #ruby
bonhoeffer has quit [Client Quit]
amar_ has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 260 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
r29v has quit [Read error: Connection reset by peer]
Mia has quit [Read error: Connection reset by peer]
Mia has joined #ruby
eckhard__ has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
subroot has joined #ruby
fluxAeo__ has quit [Ping timeout: 244 seconds]
\void has joined #ruby
fluxAeon has joined #ruby
k0mpa has joined #ruby
eckhardt_ has quit [Ping timeout: 244 seconds]
lxsameer has joined #ruby
akaiiro has quit [Ping timeout: 244 seconds]
nertzy has joined #ruby
akaiiro has joined #ruby
lxsameer has quit [Ping timeout: 260 seconds]
Puffball has joined #ruby
zautomata has left #ruby ["WeeChat 1.9.1"]
lxsameer has joined #ruby
bonhoeffer has joined #ruby
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
nertzy has quit [Quit: Leaving]
lxsameer has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
apeiros_ has joined #ruby
lxsameer has joined #ruby
gnufied has quit [Ping timeout: 240 seconds]
bonhoeffer has quit [Quit: bonhoeffer]
bonhoeffer has joined #ruby
raynold has quit [Quit: brb reboot]
ur5us has quit [Remote host closed the connection]
guille-moe has joined #ruby
moei has joined #ruby
nertzy has joined #ruby
ur5us has joined #ruby
<TomyLobo> http://rubyfiddle.com/riddles/7b6a2 can someone please smack them a round a bit? that's one of that page's example snippets
lxsameer has quit [Ping timeout: 244 seconds]
<TomyLobo> (or am i missing something?)
lxsameer has joined #ruby
<TomyLobo> my problem is with decrementing @count inside the downto block, btw
za1b1tsu_ has quit [Ping timeout: 240 seconds]
GodFather has quit [Remote host closed the connection]
bonhoeffer has quit [Quit: bonhoeffer]
guille-moe has quit [Ping timeout: 248 seconds]
mynameisdebian has joined #ruby
ur5us has quit [Ping timeout: 268 seconds]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
\void has quit [Ping timeout: 256 seconds]
eregon has left #ruby ["Leaving"]
eregon has joined #ruby
lxsameer has quit [Ping timeout: 260 seconds]
yokel has quit [Ping timeout: 240 seconds]
tvw has quit [Remote host closed the connection]
lxsameer has joined #ruby
yokel has joined #ruby
paraxial has quit [Quit: The Lounge - https://thelounge.github.io]
paraxial has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrafanie has joined #ruby
tdy has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
GodFather has joined #ruby
mynameisdebian has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 240 seconds]
Dbugger has quit []
cliq has joined #ruby
kliq has quit [Ping timeout: 260 seconds]
ptx0 is now known as kash
lxsameer has quit [Ping timeout: 264 seconds]
kash is now known as ptx0
mynameisdebian has joined #ruby
<apeiros_> TomyLobo: @count is not modified by downto. the counter is yielded to the block.
Puffball has quit [Ping timeout: 260 seconds]
<apeiros_> so: 99.downto(1) do |count|; puts "#{bottles(count))} of beer" end
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
codymj has quit [Quit: Leaving]
biberu has quit []
Caerus has quit [Quit: Leaving]
Dbugger has joined #ruby
schneider has joined #ruby
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Freshnuts has joined #ruby
lytol has quit [Remote host closed the connection]
mozzarella has quit [Remote host closed the connection]
<TomyLobo> apeiros_, precisely
<TomyLobo> tell them, not me :)
lxsameer has joined #ruby
k0mpa has quit [Ping timeout: 250 seconds]
jushY has left #ruby [#ruby]
jushY has joined #ruby
Azure has joined #ruby
Freshnuts has quit [Quit: Leaving]
byte512 has quit [Ping timeout: 264 seconds]
Freshnuts has joined #ruby
subr has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
byte512 has joined #ruby
subroot has quit [Ping timeout: 244 seconds]
schneider has quit [Ping timeout: 260 seconds]
reber__ has quit [Remote host closed the connection]
reber has quit [Read error: Connection reset by peer]
jottr has joined #ruby
apeiros_ has quit [Ping timeout: 260 seconds]
DTZUZO has quit [Ping timeout: 260 seconds]
bonhoeffer has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
beowuff has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
bonhoeffer has quit [Client Quit]
jottr has quit [Ping timeout: 260 seconds]
dbugger_ has joined #ruby
dbugger_ has quit [Client Quit]
Dbugger has quit [Quit: Leaving]
dbugger_ has joined #ruby
dbugger_ is now known as Dbugger
jenrzzz has quit [Ping timeout: 240 seconds]
lxsameer has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
ellcs has joined #ruby
mozzarella has joined #ruby
memo1 has quit [Ping timeout: 260 seconds]
lxsameer has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
psychicist__ has quit [Ping timeout: 256 seconds]
lxsameer has quit [Ping timeout: 260 seconds]
lxsameer has joined #ruby
konsolebox has quit [Quit: .]
subr has quit [Read error: Connection reset by peer]
lxsameer has quit [Ping timeout: 264 seconds]
jcarl43 has quit [Quit: WeeChat 2.1]
ur5us has joined #ruby