havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.7.0, 2.6.5, 2.5.7: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
my_dude has joined #ruby
ooheitooh has quit [Quit: The Lounge - https://thelounge.chat]
my_dude has quit [Client Quit]
p3ps1 has quit [Ping timeout: 246 seconds]
Mrgoose845701915 has quit [Ping timeout: 265 seconds]
Mrgoose845701915 has joined #ruby
john2496 has quit [Ping timeout: 258 seconds]
my_dude has joined #ruby
my_dude has quit [Client Quit]
akemhp_ has quit [Ping timeout: 255 seconds]
p3ps1 has joined #ruby
ooheitooh has joined #ruby
pwnd_nsfw has joined #ruby
StoneCypherWork has joined #ruby
houhoulis has joined #ruby
StoneCypherWork has quit [Ping timeout: 265 seconds]
cthulchu has quit [Ping timeout: 260 seconds]
drincruz has quit [Ping timeout: 265 seconds]
DaRock has quit [Read error: Connection reset by peer]
hays has joined #ruby
meinside has joined #ruby
davidw has quit [Remote host closed the connection]
leitz has quit [Quit: Leaving]
davidw has joined #ruby
davidw has joined #ruby
davidw has quit [Changing host]
DaRock has joined #ruby
simonfromspace has quit [Remote host closed the connection]
simonfromspace has joined #ruby
p3ps1 has quit [Quit: bye!]
citizentwo has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
john2496_ has quit [Remote host closed the connection]
davidw has quit [Ping timeout: 265 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
p3ps1 has joined #ruby
gix has quit [Ping timeout: 255 seconds]
siery has joined #ruby
banisterfiend has joined #ruby
citizentwo has quit [Remote host closed the connection]
pwnd_nsfw has quit [Read error: Connection reset by peer]
citizentwo has joined #ruby
hays has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
hays has joined #ruby
astronautical has joined #ruby
JJonah__ has quit [Quit: Connection closed for inactivity]
simonfromspace has quit [Ping timeout: 260 seconds]
Fridtjof has quit [Quit: ZNC - http://znc.in]
ianbrown78 has quit [Ping timeout: 265 seconds]
ianbrown78 has joined #ruby
pwnd_nsfw has joined #ruby
ianbrown78 has quit [Ping timeout: 258 seconds]
hutch has joined #ruby
ianbrown78 has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
Fridtjof has joined #ruby
StoneCypherWork has joined #ruby
StoneCypherWork has quit [Ping timeout: 260 seconds]
ianbrown78 has quit [Ping timeout: 260 seconds]
citizentwo has quit [Remote host closed the connection]
bruce_lee has quit [Ping timeout: 265 seconds]
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
ianbrown78 has joined #ruby
astronautical has quit [Ping timeout: 265 seconds]
hays has quit [Quit: hays]
astronautical has joined #ruby
hays has joined #ruby
drincruz has joined #ruby
ianbrown78 has quit [Ping timeout: 265 seconds]
houhoulis has quit [Remote host closed the connection]
ianbrown78 has joined #ruby
splud_wurk has quit [Quit: splud_wurk]
ianbrown78 has quit [Ping timeout: 258 seconds]
ianbrown78 has joined #ruby
hays has quit [Quit: hays]
hays has joined #ruby
jintseng has joined #ruby
ianbrown78 has quit [Ping timeout: 260 seconds]
ianbrown78 has joined #ruby
ianbrown78 has quit [Ping timeout: 255 seconds]
banisterfiend has quit [Read error: Connection reset by peer]
ianbrown78 has joined #ruby
astronautical has quit [Ping timeout: 255 seconds]
jmcgnh has quit [Read error: Connection reset by peer]
jintseng has quit [Ping timeout: 260 seconds]
drincruz has quit [Ping timeout: 260 seconds]
samort7 has quit [Quit: Leaving]
ianbrown78 has quit [Ping timeout: 260 seconds]
jmcgnh has joined #ruby
ianbrown78 has joined #ruby
jintseng has joined #ruby
ianbrown78 has quit [Ping timeout: 265 seconds]
ogres has joined #ruby
ogres is now known as Ogres
ianbrown78 has joined #ruby
ianbrown78 has quit [Ping timeout: 258 seconds]
polishdub has joined #ruby
ianbrown78 has joined #ruby
ianbrown78 has quit [Ping timeout: 255 seconds]
StoneCypherWork has joined #ruby
ianbrown78 has joined #ruby
StoneCypherWork has quit [Ping timeout: 255 seconds]
ianbrown78 has quit [Ping timeout: 265 seconds]
ta has quit [Ping timeout: 268 seconds]
ta has joined #ruby
ianbrown78 has joined #ruby
ianbrown78 has quit [Ping timeout: 258 seconds]
ianbrown78 has joined #ruby
ttoocs has joined #ruby
tau has quit [Remote host closed the connection]
ianbrown78 has quit [Ping timeout: 240 seconds]
ianbrown78 has joined #ruby
braincrash has quit [Quit: bye bye]
Leopere has quit [Quit: The Lounge - https://thelounge.github.io]
polishdub has quit [Remote host closed the connection]
braincrash has joined #ruby
ianbrown78 has quit [Ping timeout: 265 seconds]
darkstardevx has quit [Remote host closed the connection]
ur5us has quit [Ping timeout: 240 seconds]
darkstardevx has joined #ruby
s3nd1v0g1us has joined #ruby
citizentwo has joined #ruby
jintseng has quit [Ping timeout: 258 seconds]
ianbrown78 has joined #ruby
<dorian> hey question: i'm getting "using the last argument as keyword parameters is deprecated" warnings in 2.7 for a method that is written in c
<dorian> i am trying to figure out how to hack it so it shuts up
<dorian> i'm having a hell of a time trying to find a migration guide; anybody know of one?
<ianbrown78> What version are you migrating from?
<ianbrown78> I haven't used 2.7 in anger yet. Still running 2.6.3.
<dorian> doesn't look like it's in there
<dorian> oh i have taken over maintaining the lmdb gem
<dorian> which was initially written a century ago
<dorian> i'm just running rspec for the first time and it is complaining about deprecated keyword args but the method it's complaining about is provided by c
<ianbrown78> Ahh cool. Happy to help out with that one as we will be needing it soon enough.
<ianbrown78> Hmm, it is possible the old developers were using an old gcc version?
citizentwo has quit [Remote host closed the connection]
<ianbrown78> is it*
<dorian> i just compiled it with whatever the latest xcode ships with these days
alfiemax has joined #ruby
<ianbrown78> Ok, let me have a look. Will see if it compiles on my machine.
<dorian> i haven't pushed a gem yet
<ianbrown78> This is the repo? https://github.com/minad/lmdb.git
<dorian> it is but that source is not current
<ianbrown78> Push to a branch that I can checkout?
<dorian> yup just a minute; don't want to give you busted code
<ianbrown78> lol
<dorian> i have been poking around with it all day
Buggys has left #ruby [#ruby]
<dorian> test pass on macos but it whines with the deprecation notice; be sure to use a system lmdb, i haven't updated the embedded source yet
bruce_lee has quit [Ping timeout: 240 seconds]
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
<ianbrown78> Ok, I have the latest code. I can't see any branches except master. Is that correct?
<ianbrown78> actually scratch that
SeepingN has quit [Quit: The system is going down for reboot NOW!]
<dorian> er whatever; my repo; maybe-txn is the branch
marens has quit [Ping timeout: 260 seconds]
hutch has quit [Ping timeout: 265 seconds]
<ianbrown78> So, building on my mac is working with 2.6 & 2.7. Trying on my Arch VM now.
<dorian> rspec didn't whine?
<dorian> it builds fine it just warns
<ianbrown78> Nope. bundle exec rake does the entire build without issue.
<dorian> that is totally weird
<ianbrown78> This is the build currently on your branch: http://travis-ci.org/minad/lmdb
<ianbrown78> It is green
<dorian> yeah but look at the warnings
<dorian> /home/travis/build/minad/lmdb/spec/lmdb_spec.rb:195: warning: Using the last argument as keyword parameters is deprecated
<dorian> (nb i pushed to upstream by accident; forgot i was given access)
<dorian> anyway the method being called on line 195 on that test is on line 758 in lmdb_ext.c
<ianbrown78> Ok, lets see if we can't fix that issue.
<dorian> i'm assuming there is some new calling convention to rb_scan_args
<dorian> search in https://docs.ruby-lang.org/en/2.7.0/NEWS.html for "rb_scan_args
<dorian> if you look at the syntax in the spec they are not keyword hashes
<dorian> they are just keywords
Ogres has quit [Quit: Connection closed for inactivity]
<dorian> so i'm assuming i need to do something to the c code
<dorian> ahhhhh there
<dorian> rb_scan_args_kw
<dorian> so i can just put an ifdef in there
<dorian> okay cool
hutch has joined #ruby
<dorian> docs say it's better do deal with kwargs in ruby and pass a hash to the c
StoneCypherWork has joined #ruby
StoneCypherWork has quit [Ping timeout: 255 seconds]
raven__ has quit [Ping timeout: 240 seconds]
raven__ has joined #ruby
hutch has quit [Ping timeout: 265 seconds]
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
LinuxKnight has joined #ruby
my_dude has joined #ruby
dionysus69 has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
<KrzaQ> How can I list all methods declared by me without adding them to a module? I'm writing a single script and I want to make it extendable by adding a method in script.rb It doesn't call any outside scripts
my_dude has quit [Quit: ZZZzzz…]
sergioro has quit [Quit: leaving]
sergioro has joined #ruby
<KrzaQ> https://wandbox.org/permlink/YG0nFXw8j4LLNjq1 this is what I don't get
ianbrown78 has quit [Ping timeout: 240 seconds]
StoneCypherWork has joined #ruby
StoneCypherWork has quit [Ping timeout: 258 seconds]
zlogan has joined #ruby
<KrzaQ> answering my own question
<KrzaQ> it's actually private_methods, heh
ur5us has joined #ruby
code_zombie has quit [Quit: Leaving]
my_dude has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
sdu has joined #ruby
camilasan has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
lxsameer has joined #ruby
jidar has quit [Ping timeout: 240 seconds]
Mia has joined #ruby
Axy has quit [Ping timeout: 260 seconds]
mozzarella has quit [Read error: Connection reset by peer]
mozzarella has joined #ruby
cd has quit [Quit: cd]
camilasan has joined #ruby
prestorium has joined #ruby
prestorium has quit [Client Quit]
prestorium has joined #ruby
camilasan has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
camilasan has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
Keltia_ is now known as Keltia
sergioro has quit [Quit: leaving]
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DaRock has quit [Read error: Connection reset by peer]
TomyWork has joined #ruby
DaRock has joined #ruby
conta has joined #ruby
StoneCypherWork has joined #ruby
regedit has quit [Quit: Connection closed for inactivity]
ur5us has quit [Ping timeout: 240 seconds]
StoneCypherWork has quit [Ping timeout: 260 seconds]
my_dude has quit [Quit: ZZZzzz…]
alfiemax has quit [Remote host closed the connection]
NODE has quit [Quit: changing servers]
NODE has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 272 seconds]
Bounga has joined #ruby
jidar has joined #ruby
jinie has quit [Ping timeout: 255 seconds]
my_dude has joined #ruby
my_dude has quit [Ping timeout: 260 seconds]
_whitelogger has joined #ruby
conta has quit [Quit: conta]
bvdw has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
bvdw has quit [Client Quit]
clemens3 has joined #ruby
bvdw has joined #ruby
mnemon has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
Fernando-Basso has joined #ruby
Fernando-Basso has quit [Max SendQ exceeded]
Fernando-Basso has joined #ruby
Fernando-Basso has quit [Max SendQ exceeded]
Fernando-Basso has joined #ruby
bvdw has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
bvdw has quit [Client Quit]
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
StoneCypherWork has joined #ruby
s3nd1v0g1us has quit [Quit: WeeChat 2.6]
ianbrown78 has joined #ruby
clemens3 has quit [Quit: reboot]
StoneCypherWork has quit [Ping timeout: 258 seconds]
bruce_lee has quit [Ping timeout: 265 seconds]
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
fanta1 has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
ice9 has joined #ruby
<ice9> i'm not ruby dev, i'm a sys admin and i need to know how to configure vlad to deploy, any suggestions?
<ice9> i have two files deploy.rake and deploy.rb
clemens3 has joined #ruby
<CommunistWolf> deploying ruby is very difficult, desafortunadamente
<CommunistWolf> vlad looks like a dead project, so I'd recommend starting again from first principles with something else
DaRock has quit [Read error: Connection reset by peer]
ice9 has quit [Remote host closed the connection]
DaRock has joined #ruby
leitz has joined #ruby
ianbrown78 has quit [Ping timeout: 272 seconds]
<leitz> I'm making a toy web responder to show a friend how easy it is to do stuff with Ruby. On the html adapter, I'm not sending something back correctly; there's a quick flash of data and then a "connection reset" from the browser. What am I missing? https://github.com/makhidkarun/ftl_tools/blob/simple_server/lib/ftl_tools/presenter/html_adapter.rb
<leitz> If I uncomment the two html info lines, it doesn't reset, but doesn't show any data, either.
TCZ has joined #ruby
conta has joined #ruby
conta has quit [Quit: conta]
impermanence has joined #ruby
yurisarek1 has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
chalkmonster has joined #ruby
yurisarek1 is now known as yurisarek
mossplix has joined #ruby
fercell has joined #ruby
sdu has quit [Remote host closed the connection]
fercell has quit [Client Quit]
fercell has joined #ruby
sdu has joined #ruby
mossplix has quit [Remote host closed the connection]
yurisarek has quit [Quit: yurisarek]
mossplix has joined #ruby
fanta1 has quit [Quit: fanta1]
fanta1 has joined #ruby
_phaul has joined #ruby
banisterfiend has joined #ruby
phaul has quit [Ping timeout: 255 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
StoneCypherWork has joined #ruby
StoneCypherWork has quit [Ping timeout: 260 seconds]
pinpox has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
pinpox- has quit [Ping timeout: 260 seconds]
john2496 has joined #ruby
mossplix has quit [Remote host closed the connection]
royal_screwup21 has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
dionysus69 has quit [Ping timeout: 255 seconds]
zlogan has quit [Ping timeout: 272 seconds]
Mrgoose845701915 has quit [Ping timeout: 260 seconds]
TCZ has quit [Quit: Leaving]
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
<leitz> Slow morning.
mossplix has joined #ruby
Mrgoose845701915 has joined #ruby
<adam12> leitz: How are you calling this method?
mossplix has quit [Ping timeout: 260 seconds]
<leitz> adam12, and the client works, but not a straight Firefox: https://github.com/makhidkarun/ftl_tools/blob/simple_server/bin/recruiter
dionysus69 has joined #ruby
<adam12> leitz: Maybe try different line endings. The http/1.0 RFC calls for CRLF.
royal_screwup21 has quit [Remote host closed the connection]
<leitz> adam12, interesting. I made the "\n" into |\r\n". The first time I poke it with a browser, it works. Anytime after that it gives the connection reset.
<leitz> Err, "\r\n"
<adam12> leitz: Also, don't forget that Webrick ships as stdlib. You can build Webrick servlets that work similar but you don't have to parse HTTP.
alfiemax has joined #ruby
<adam12> leitz: Weird. Sounds like maybe a different error? Add a bit of logging to show the accept, output, close.
alfiemax has quit [Read error: No route to host]
<adam12> leitz: Your code _looks_ fine but it would be nice to know how far it gets before the connection is reset.
alfiemax has joined #ruby
<leitz> adam12, oh yeah. I have no plans to build a new web-server. More looking at a micro-service, and then I wondered how hard it would be to skip using the client.
Bounga has quit [Ping timeout: 272 seconds]
<leitz> adam12, yesterday's reading from "The Ruby Programming Language" included the simple server code, I mostly copied it to test the concept.
conta has joined #ruby
<al2o3-cr> leitz: you've come a long way :)
mr_rich101 has quit [Quit: ZNC - http://znc.in]
<leitz> al2o3-cr, thank you. I needed that.
john2496 has quit [Read error: Connection reset by peer]
mr_rich101 has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
<al2o3-cr> leitz: you are welcome. you know why? you persevered.
<al2o3-cr> and i admire that in a person.
dionysus69 has quit [Ping timeout: 240 seconds]
<leitz> al2o3-cr, there have been a lot of struggles, lately. I often need the joy that Ruby brings. Ruby seems to fit my brain (which may *not* be a recommendation for Ruby :P ), and I'm trying to learn all the CompSci stuff that jobs seem to need.
<leitz> What success I have is less about my strength, and more about the help provided by the community and the gift that is Ruby.
gordo has joined #ruby
mossplix has joined #ruby
gordo has quit [Remote host closed the connection]
gorwide has joined #ruby
<gorwide> Hi ! I'm quite new to ruby. There is something I don't get about class inheritance, class variable and instance variables. I've setup an example here, could someone help me to understand ? https://pastebin.com/ETnYr3ff
<ruby[bot]> gorwide: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
<al2o3-cr> leitz: learn the paradigms first, then the a language, then the syntax
<gorwide> Hi ! I'm quite new to ruby. There is something I don't get about class inheritance, class variable and instance variables. I've setup an example here, could someone help me to understand ? https://gist.github.com/gordielachance/1238ebdb452e5f6fbd8cb2600bb7a851
<al2o3-cr> gorwide: method shadowing.
TCZ has joined #ruby
Fernando-Basso has quit [Ping timeout: 252 seconds]
<gorwide> al2o3-cr : okay, so it's because I mixed up an instance variable & a class variable that have the same name, is that it ?
<leitz> al2o3-cr, I'm not sure I understand the "paradigm, language, syntax" thought. I have played with a few languages over the years, but never got past an introductory level. What I'm working on now is mastering one language, so the others should be easier to learn.
drincruz has joined #ruby
<gorwide> al2o3-cr : So how could I avoid "method shadowing" and be able to make my script work ?
<adam12> gorwide: You're calling `infos` on the _instance_ of the class. The `infos` that actually has something in it (and is not null) is defined on the singleton of the class.
akemhp has joined #ruby
<al2o3-cr> gorwide: class instance variables don't work like how you assume.
akemhp has quit [Max SendQ exceeded]
<adam12> gorwide: You could drop the attr_accessor and just call self.class.infos in your getDetails method.
akemhp has joined #ruby
<gorwide> got it. and also, self.class.infos should define @@infos, not @infos, is that it ?
john2496 has joined #ruby
<adam12> gorwide: No. The @infos is fine there; you're in the singleton which can have instance variables. Think of it as a hidden instance of that class.
<adam12> gorwide: You likely don't want @@variable most of the time.
pupsikov has joined #ruby
<al2o3-cr> gorwide: drop it likes it's hot.
john2496 has quit [Remote host closed the connection]
<al2o3-cr> @@ that is
<gorwide> ok
john2496 has joined #ruby
<gorwide> so I don't use @@
<adam12> gorwide: The Metaprogramming Ruby book covers this in some detail if you're looking to expand your knowledge on it.
<al2o3-cr> gorwide: yes. fuck it off
alfiemax has quit [Remote host closed the connection]
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
mossplix has quit [Remote host closed the connection]
jintseng has joined #ruby
<gorwide> got it working, thanks everyone for your help !
<leitz> Yay team!
vondruch_ has joined #ruby
<adam12> Heh
alfiemax has joined #ruby
DaRock has quit [Ping timeout: 272 seconds]
vondruch has quit [Ping timeout: 255 seconds]
vondruch_ is now known as vondruch
<al2o3-cr> gorwide: how? i'm intregued
postmodern has quit [Quit: Leaving]
LinuxKnight has quit [Ping timeout: 240 seconds]
<al2o3-cr> i'd write a gist, but i'm a lazy frog.
alfiemax has quit [Ping timeout: 252 seconds]
jmcgnh has quit [Read error: Connection reset by peer]
pwnd_nsfw has quit [Read error: Connection reset by peer]
jmcgnh has joined #ruby
StoneCypherWork has joined #ruby
mossplix has joined #ruby
royal_screwup21 has joined #ruby
StoneCypherWork has quit [Ping timeout: 240 seconds]
jmcgnh has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
pupsikov has quit [Ping timeout: 260 seconds]
pupsikov has joined #ruby
alfiemax has joined #ruby
animo8 has joined #ruby
jmcgnh has joined #ruby
ttoocs has quit [Ping timeout: 260 seconds]
zlogan has joined #ruby
bvdw has joined #ruby
animo8 has quit [Remote host closed the connection]
jinie has joined #ruby
conta has quit [Quit: conta]
FastJack has joined #ruby
mossplix has quit [Remote host closed the connection]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<leitz> adam12, the sinatra stats seem odd, but I don't know enough bench-marking.
ianbrown78 has joined #ruby
mossplix has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
ianbrown78 has quit [Ping timeout: 265 seconds]
burningserenity has joined #ruby
<leitz> adam12, a while back I was reading "Go Web Programming", and it helped clarify Sinatra for me. The author was also a Ruby-ist.
hutch has joined #ruby
<adam12> leitz: I wonder if it was Mark Bates
<adam12> Hmm nope.
<leitz> No, Sau Sheong Chang. I've looked at some of Mark's Ruby stuff, and like it.
<adam12> He had a screencast site for a while (Metacasts?) which was a lot of Ruby. Went on to build the Go Buffalo framework IIRC.
royal_screwup21 has quit [Remote host closed the connection]
<leitz> I tend to try and work my way up the stack; that helps me understand stuff.
<leitz> Mark has a Ruby bit on Safaribooksonline. Now he does Gopher guides.
<leitz> Because of my age (dang old), Go has an attraction. I could learn it and probably keep at it until I croak off.
mossplix has quit [Read error: Connection reset by peer]
burningserenity has quit [Quit: Leaving.]
burningserenity has joined #ruby
zlogan has quit [Ping timeout: 240 seconds]
<leitz> Of course, I could probably do that with COBOL, too.
gorwide has quit [Remote host closed the connection]
sdu has quit [Remote host closed the connection]
mossplix has joined #ruby
alfiemax has quit [Remote host closed the connection]
davidw has joined #ruby
davidw has quit [Changing host]
davidw has joined #ruby
_whitelogger has joined #ruby
prestorium has quit [Ping timeout: 258 seconds]
fercell has quit [Quit: WeeChat 2.7]
banisterfiend has joined #ruby
<adam12> Ruby and Go is often combined. I use Go for small non-web microservices and Ruby for everything else. I use Twirp for the Ruby->Go "bridge". Go doesn't give me as much joy as Ruby and I'm not sure I'd build a full fledged web app with it, which is what most of my time is spent on.
Mrgoose845701915 has quit [Ping timeout: 260 seconds]
TomyWork has quit [Remote host closed the connection]
citizentwo has quit [Remote host closed the connection]
TomyWork has joined #ruby
mossplix has quit [Read error: Connection reset by peer]
schne1der has joined #ruby
Fernando-Basso has joined #ruby
Fernando-Basso has quit [Max SendQ exceeded]
Fernando-Basso has joined #ruby
citizentwo has joined #ruby
StoneCypherWork has joined #ruby
citizentwo has quit [Ping timeout: 240 seconds]
bruce_lee has quit [Ping timeout: 258 seconds]
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
ellcs has quit [Ping timeout: 260 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bruce_lee has quit [Ping timeout: 255 seconds]
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
ellcs has joined #ruby
cthulchu_ has joined #ruby
CrazyEddy has quit [Ping timeout: 272 seconds]
jenrzzz has quit [Ping timeout: 272 seconds]
duderonomy has joined #ruby
FastJack has quit [Ping timeout: 265 seconds]
FastJack has joined #ruby
mossplix has joined #ruby
ellcs has quit [Ping timeout: 255 seconds]
TomyWork has quit [Ping timeout: 256 seconds]
lxsameer has quit [Ping timeout: 240 seconds]
burningserenity has quit [Remote host closed the connection]
wildtrees has joined #ruby
burningserenity has joined #ruby
minall has joined #ruby
code_zombie has joined #ruby
<minall> Hello Ruby community!
<havenwood> minall: Hi!
<minall> I'm doing an iteration of my array, and I want to keep track on how many times the iteration has run... For example, having a variable name iteration that starts at 0 and then goes 1 and so... like a for loop
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
<leftylink> there are some good things in enumerable.
<leftylink> &ri Enumerable
<leftylink> they are recommended
<havenwood> minall: I'd be curious what you'd like that interface to look?
<minall> I found it!, I was looking for .with_index
<minall> I'm making a representation of simple sort in ruby
SeepingN has joined #ruby
<dorian> hey can anybody point me to a ruby version detection idiom for c extensions? i'm trying to update code with rb_scan_args_kw
caterfxo has joined #ruby
TCZ has quit [Quit: Leaving]
<dorian> (or alternatively i guess #ifdef RB_SCAN_ARGS_KEYWORDS will work?)
StoneCypherWork has quit [Ping timeout: 258 seconds]
jintseng has quit [Ping timeout: 272 seconds]
fanta1 has quit [Quit: fanta1]
clemens3 has quit [Ping timeout: 240 seconds]
markopasha has joined #ruby
jintseng has joined #ruby
StoneCypherWork has joined #ruby
MasterNayru has quit [Remote host closed the connection]
pwnd_nsfw has joined #ruby
StoneCypherWork has quit [Ping timeout: 258 seconds]
MasterNayru has joined #ruby
banisterfiend has joined #ruby
g3funk has joined #ruby
ice9 has joined #ruby
<ice9> i've deploy.rb and deploy.rake files, how do I use them with vlad to deploy?
StoneCypherWork has joined #ruby
fphilipe_ has quit [Ping timeout: 260 seconds]
<adam12> ice9: How did you get them?
<ice9> adam12, from the dev and im the sys admin, the project is no longer supported by that dev and i need to know how to deploy
<ice9> i don't have any info other than these files
<adam12> ice9: That's all they gave you?
<adam12> ice9: Can you share the files, scrubbing identifyable data first?
Bounga has joined #ruby
<ice9> adam12, that's will be difficult but i can tell what's inside, in deploy.rb there are servers to depoly on and the repo to fetch code
<adam12> ice9: OK, well in theory, you need to load the rake file and then maybe somehow the deploy.rb file will get loaded? But without seeing them your guess is as good as mine. But starting with `rake -f deploy.rake -T` might get you going.
fphilipe_ has joined #ruby
<ice9> adam12, what about the deploy.rb?
gix has joined #ruby
<adam12> ice9: No idea.
g3funk has quit [Ping timeout: 240 seconds]
<adam12> dorian: It's try the #ifdef; seems less painful. There are constants for MAJOR MINOR etc if you _really_ needed them.
<adam12> dorian: s/It's/I'd/
<ice9> adam12, deploy.rake only stops the thin server, update, start
<adam12> ice9: Without code I'm not sure I can help further.
fphilipe_ has quit [Ping timeout: 240 seconds]
<ice9> i see
rippa has joined #ruby
<leitz> ice9, there are times have your manager talk to the dev's manager. It'd take the dev 5-10 minutes to write what would take you 2-3 hours to figure out.
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
<leitz> If that conversation can't/won't happen, at least your manager knows you tried to save the company some money.
clemens3 has joined #ruby
citizentwo has joined #ruby
<ice9> adam12, do i need to run "rake vlad:setup" first?
astronautical has joined #ruby
<adam12> ice9: You could try it.
jinie has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bsdbandit-01 has joined #ruby
StoneCypherWork has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
<leitz> ice9, maybe create a totally new project, and copy in bits at a time. That sometimes works for me.
siery has quit [Ping timeout: 258 seconds]
fphilipe_ has joined #ruby
mossplix has quit [Remote host closed the connection]
stdedos has quit [Remote host closed the connection]
bruce_lee has quit [Ping timeout: 255 seconds]
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
dStromboli has quit [Quit: WeeChat 2.7]
fphilipe_ has quit [Ping timeout: 252 seconds]
fphilipe_ has joined #ruby
drincruz has quit [Read error: Connection reset by peer]
drincruz has joined #ruby
royal_screwup21 has joined #ruby
<adam12> ice9: Ah I see. None of those tasks have `desc` calls above them, so they don't show up in `rake -T`.
<adam12> Actually, one does. Just the first one.
<adam12> I'd try `rake -f deploy.rake deploy` and see if it does anything... but I suspect it won't because this looks like it might be a Rails app? jugding by the `environment` rake task.
<ice9> adam12, so what about the deploy.rb file? it as the code repo and destination servers to deploy to
<adam12> ice9: No idea. Maybe it's a vlad thing. I'm not a vlad user.
<ice9> anybody familiar with vlad here?
hiroaki_ has joined #ruby
<adam12> ice9: Maybe try putting deploy.rb in config/
bradland has quit [Quit: bradland]
<adam12> ice9: Is this a Rails app?
<ice9> adam12, i think so
<adam12> ice9: Is there a `lib/tasks` folder
<ice9> adam12, yes there is
<adam12> ice9: You could probably put the deploy.rake file in there.
<adam12> ice9: So deploy.rb in config/ and deploy.rake in lib/tasks.
<adam12> Then try `rake deploy`
<adam12> This is all presuming your developers configuration is transferable. I noticed calls to ssh-agent and such which might be an issue.
nowhere_man has joined #ruby
sauvin has quit [Ping timeout: 272 seconds]
kapil_ has quit [Quit: Connection closed for inactivity]
burningserenity has quit [Read error: Connection reset by peer]
mossplix has joined #ruby
burningserenity has joined #ruby
schne1der has quit [Ping timeout: 255 seconds]
ianbrown78 has joined #ruby
<leitz> Naturally, I get a nice recruiter e-mail about mid-to-senior Rails jobs. Anybody looking?
m_antis has joined #ruby
banisterfiend has joined #ruby
ianbrown78 has quit [Ping timeout: 255 seconds]
jenrzzz has quit [Ping timeout: 258 seconds]
burningserenity has quit [Read error: Connection reset by peer]
leitz has quit [Ping timeout: 240 seconds]
cd has joined #ruby
teclator has quit [Ping timeout: 268 seconds]
tau has joined #ruby
citizentwo has quit [Remote host closed the connection]
citizentwo has joined #ruby
TCZ has joined #ruby
bsdband88 has joined #ruby
ur5us has joined #ruby
bsdbandit-01 has quit [Ping timeout: 240 seconds]
teclator has joined #ruby
leitz has joined #ruby
<leitz> Had to fix my own network glitch.
<leitz> Anyone looking for a Rails job?
burningserenity has joined #ruby
NODE has quit []
FastJack has quit [Ping timeout: 258 seconds]
Benett has quit [Quit:  ]
ice9 has quit [Remote host closed the connection]
Benett has joined #ruby
FastJack has joined #ruby
NODE has joined #ruby
poontangmessiah has joined #ruby
NODE has quit [Client Quit]
Benett has quit [Quit:  ]
lucasb has joined #ruby
ellcs has joined #ruby
lightstalker has quit [Ping timeout: 260 seconds]
Benett has joined #ruby
ianbrown78 has joined #ruby
Bounga has quit [Remote host closed the connection]
Bounga has joined #ruby
<dorian> ianbrown78: fyi there is an rb_scan_args_kw so i'm just gonna do an ifdef
poontangmessiah has quit [Read error: Connection reset by peer]
burningserenity has quit [Quit: Leaving.]
drincruz_ has joined #ruby
poontangmessiah has joined #ruby
burningserenity has joined #ruby
drincruz has quit [Ping timeout: 265 seconds]
mossplix has quit [Remote host closed the connection]
TCZ has quit [Quit: Leaving]
Bounga has quit [Ping timeout: 252 seconds]
NODE has joined #ruby
jenrzzz has joined #ruby
<dorian> i don't suppose anybody on here knows how to eliminate the warning in ruby 2.7 for keyword args
<dorian> that is, when the method is implemented in c
<dorian> i'm passing keyword args as keyword args and *not* as a hash and it is complaining that i am passing as a hash
matti has quit [Quit: Updating details, brb]
matti has joined #ruby
schne1der has joined #ruby
StoneCypherWork has joined #ruby
StoneCypherWork has quit [Ping timeout: 272 seconds]
mossplix has joined #ruby
ellcs has quit [Ping timeout: 240 seconds]
Bounga has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
ianbrown78 has quit [Ping timeout: 260 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Bounga has quit [Ping timeout: 272 seconds]
jenrzzz has quit [Ping timeout: 258 seconds]
jintseng has quit [Ping timeout: 258 seconds]
bsdbandit-01 has joined #ruby
bsdband88 has quit [Ping timeout: 260 seconds]
bsdband86 has joined #ruby
schne1der has quit [Ping timeout: 272 seconds]
bsdbandit-01 has quit [Ping timeout: 265 seconds]
Bounga has joined #ruby
minall has quit [Remote host closed the connection]
burningserenity has quit [Quit: Leaving.]
Bounga has quit [Ping timeout: 272 seconds]
m_antis has quit [Quit: m_antis]
coffeex3 has joined #ruby
hutch has quit [Ping timeout: 258 seconds]
davor has quit [Read error: Connection reset by peer]
zlogan has joined #ruby
siery has joined #ruby
cc_ has joined #ruby
davor has joined #ruby
markopasha has quit [Ping timeout: 255 seconds]
NODE has quit [Quit: -]
hutch has joined #ruby
splud_wurk has joined #ruby
leitz has quit [Quit: Leaving]
citizentwo has quit [Remote host closed the connection]
citizentwo has joined #ruby
NODE has joined #ruby
teardown has quit [Ping timeout: 258 seconds]
akemhp has quit [Remote host closed the connection]
Bounga has joined #ruby
akemhp has joined #ruby
akemhp has quit [Remote host closed the connection]
al2o3-cr has quit [Quit: WeeChat 2.7.1]
akemhp has joined #ruby
Bounga has quit [Ping timeout: 252 seconds]
al2o3-cr has joined #ruby
m_antis has joined #ruby
dviola has joined #ruby
cc__ has joined #ruby
nowhere_man has quit [Ping timeout: 258 seconds]
akemhp has quit [Ping timeout: 260 seconds]
cc_ has quit [Ping timeout: 240 seconds]
akemhp has joined #ruby
m_antis has quit [Remote host closed the connection]
citizentwo has quit [Remote host closed the connection]
akemhp has quit [Max SendQ exceeded]
citizentwo has joined #ruby
akemhp has joined #ruby
jenrzzz has joined #ruby
akemhp has quit [Remote host closed the connection]
akemhp has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
bsdbandit-01 has joined #ruby
akemhp has quit [Remote host closed the connection]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
tau has quit [Remote host closed the connection]
TCZ has joined #ruby
bsdband86 has quit [Ping timeout: 258 seconds]
ianbrown78 has joined #ruby
akemhp has joined #ruby
teardown has joined #ruby
akemhp has quit [Max SendQ exceeded]
m_antis has joined #ruby
akemhp has joined #ruby
m_antis has quit [Read error: Connection reset by peer]
mossplix has quit [Remote host closed the connection]
akemhp has quit [Remote host closed the connection]
NODE has quit [Quit: |]
teardown has quit [Ping timeout: 258 seconds]
royal_screwup21 has quit [Remote host closed the connection]
thecoffemaker has quit [Ping timeout: 265 seconds]
schne1der has joined #ruby
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #ruby
bruce_lee has quit [Ping timeout: 258 seconds]
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
NODE has joined #ruby
davidw has quit [Ping timeout: 255 seconds]
thecoffemaker has joined #ruby
dviola has quit [Quit: WeeChat 2.7.1]
royal_screwup21 has joined #ruby
darkstardevx has quit [Remote host closed the connection]
john2496 has quit [Remote host closed the connection]
NODE has quit [Quit: changing servers]
darkstardevx has joined #ruby
NODE has joined #ruby
Benett has quit [Quit:  ]
Benett has joined #ruby
StoneCypherWork has joined #ruby
lunarkitty has quit [Ping timeout: 246 seconds]
darkstardevx has quit [Remote host closed the connection]
lunarkitty has joined #ruby
darkstardevx has joined #ruby
Benett has quit [Remote host closed the connection]
Benett has joined #ruby
StoneCypherWork has quit [Ping timeout: 258 seconds]
Benett has quit [Remote host closed the connection]
Benett has joined #ruby
teardown has joined #ruby
code_zombie has quit [Quit: Leaving]
bruce_lee has quit [Ping timeout: 255 seconds]
poontangmessiah has quit [Read error: Connection reset by peer]
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
poontangmessiah has joined #ruby
Fernando-Basso has quit [Quit: Leaving]
bruce_lee has quit [Remote host closed the connection]
davidw has joined #ruby
davidw has joined #ruby
davidw has quit [Changing host]
darkstardevx has quit [Remote host closed the connection]
NODE has quit [Quit: changing servers]
NODE has joined #ruby
darkstardevx has joined #ruby
bsdbandit-01 has quit [Ping timeout: 265 seconds]
bsdband89 has joined #ruby
royal_screwup21 has quit [Remote host closed the connection]
coffeex3 has quit [Ping timeout: 265 seconds]
jmcgnh has quit [Read error: Connection reset by peer]
poontangmessiah has quit [Quit: WeeChat 2.7]
jmcgnh has joined #ruby
TCZ has quit [Quit: Leaving]
ur5us has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
_whitelogger has joined #ruby
drincruz_ has quit [Ping timeout: 258 seconds]
jenrzzz has joined #ruby
code_zombie has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
caterfxo has quit [Quit: leaving]