havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.5, 2.5.7, 2.7.0-preview2: 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!
golevka has joined #ruby
<crella133> Oh I got it. I just need to add another attribute of the Struct to declare itself.
<leftylink> `#class == ` or `#is_a?` both seem like acceptable ways to do this
<leftylink> well okay, I didn't read the context with the seralisation
<leftylink> who knows
EvilJStoker has quit [Remote host closed the connection]
AJA4351 has joined #ruby
davidw has quit [Ping timeout: 250 seconds]
golevka has quit [Quit: Leaving]
<crella133> I tried to give a sample code soon
AJA4350 has quit [Ping timeout: 250 seconds]
AJA4351 is now known as AJA4350
JohanP has joined #ruby
vrih has quit [Ping timeout: 265 seconds]
drincruz has quit [Ping timeout: 240 seconds]
EvilJStoker has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
<crella133> https://dpaste.de/7G5B I let the problem appeared once.
JohanP has quit [Ping timeout: 276 seconds]
vrih has joined #ruby
bsdbandit-01 has joined #ruby
davidw has joined #ruby
bsdband10 has quit [Ping timeout: 240 seconds]
ogres has joined #ruby
crella133 has quit [Quit: crella133]
crella133 has joined #ruby
poontangmessiah_ has quit [Remote host closed the connection]
<crella133> On https://www.rubyguides.com/2017/06/ruby-struct-and-openstruct/ , it says "This #<Class:0x29b1040> is an anonymous class added to structs", so a struct doesn't have a fixed name even if it had been assigned to one.
sameerynho has quit [Ping timeout: 250 seconds]
rusbu has joined #ruby
crella133 has quit [Quit: crella133]
Eiam has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
gix has quit [Ping timeout: 240 seconds]
bsdbandit-01 has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
dr_mdma_md has quit [Quit: leaving]
xGrind has joined #ruby
xgrind_ has joined #ruby
xgrind_ has quit [Remote host closed the connection]
AJA4351 has joined #ruby
wildtrees has quit [Quit: Leaving]
JohanP has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
orbyt_ has joined #ruby
JohanP has quit [Ping timeout: 240 seconds]
xGrind has quit [Quit: Saindo]
davidw has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
DaRock has joined #ruby
DaRock has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
DaRock has joined #ruby
rusbu has quit [Ping timeout: 240 seconds]
drincruz has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
AJA4350 has quit [Ping timeout: 252 seconds]
Swyper has joined #ruby
AJA4350 has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 252 seconds]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
Emmanuel_Chanel has joined #ruby
duderonomy has joined #ruby
nowhereman has joined #ruby
drincruz has quit [Ping timeout: 252 seconds]
JohanP has joined #ruby
JohanP has quit [Ping timeout: 265 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
nowhereman has quit [Ping timeout: 276 seconds]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
AJA4350 has quit [Ping timeout: 265 seconds]
JohanP has joined #ruby
JohanP has quit [Ping timeout: 240 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mcdoven has joined #ruby
<mcdoven> hi i learned sml, racket and ruby from coursera programming languages and excited to be here
chalkmonster has quit [Read error: Connection reset by peer]
<havenwood> mcdoven: welcome!
<mcdoven> havenwood though I learned primary concepts I see Ruby is a vast language
<havenwood> mcdoven: yes, it's a vast and multi-paradigm language but it's great and prepares you for much more
<mcdoven> and I also see ruby such a beautiful language but why is it not so famous
<havenwood> mcdoven: Ruby is in broad use but I've found how much so depends on geo and subject matter
<havenwood> mcdoven: the concepts apply broadly across languages so I'd not sorry too much on that front
<mcdoven> havenwood ruby not very famous in education instittutes
<havenwood> mcdoven: No, Python has shown better inroads on that front.
<mcdoven> better inroads?
<havenwood> mcdoven: It's in broader use in automotion and aviation, but it's also popular in industry.
Swyper has quit [Remote host closed the connection]
<havenwood> mcdoven: I just mean Python has made more progress making it into undergrad curriculum.
<mcdoven> I dont know about other langauges I just finished this course https://www.coursera.org/learn/programming-languages-part-c part a and b also took very hard time
<mcdoven> now I am familiar with sml racket and ruby
<havenwood> mcdoven: This is a great place to share Ruby code for review and to ask general Ruby questions.
<havenwood> mcdoven: A fair number of Rubyists are LISP fans.
<mcdoven> I am still a student and yet to complete graduation, ruby and list both not great for jobs and industry as you mentioned above ?
<havenwood> mcdoven: From the Ruby manpage, "[i]f you want a language for easy object-oriented programming, or ... you do like the concept of LISP, but don't like too many parentheses, Ruby might be your language of choice."
<mcdoven> lisp*
akemhp_ has joined #ruby
<havenwood> mcdoven: historically LISP
<havenwood> mcdoven: LISt Processor
<havenwood> mcdoven: I'm happy with Lisp or lisp, whatever you like.
<havenwood> I don't care.
<mcdoven> havenwood yes
akemhp has quit [Ping timeout: 246 seconds]
<havenwood> mcdoven: Ah, just understood what you meant! :)
<havenwood> list -> lisp
akemhp has joined #ruby
<mcdoven> yes
akemhp_ has quit [Read error: Connection reset by peer]
<mcdoven> my bad english, Sorry
<havenwood> i typo all the time
<mcdoven> you suggest learn RUBY for gaining knowledge on oop and then switch to Industry language for job like java and python ?
<havenwood> mcdoven: Clojure would be another to look at on the lisp front, but there are more Ruby jobs.
<havenwood> mcdoven: Ruby would certainly prep you for a Python or Java job. You might end up with a Ruby job.
<havenwood> mcdoven: At Square, we hire for all three.
akemhp_ has joined #ruby
<havenwood> More Ruby and Java than Python, but we use Python mostly for data science and machine learning.
<havenwood> mcdoven: I'd suggest seeing what you like and then dig deep.
<havenwood> mcdoven: If you show you can code in any language, that's huge.
<mcdoven> havenwood thats good
chalkmonster has joined #ruby
akemhp has quit [Ping timeout: 265 seconds]
akem__ has joined #ruby
<mcdoven> very nice talking to you
<havenwood> mcdoven: If you have any Ruby questions or code to share, please let us know
<havenwood> nice talking to you too
<mcdoven> Sure
akemhp_ has quit [Ping timeout: 252 seconds]
phaul has quit [Ping timeout: 240 seconds]
akemhp_ has joined #ruby
phaul has joined #ruby
akemhp has joined #ruby
akem__ has quit [Ping timeout: 240 seconds]
akem__ has joined #ruby
akemhp has quit [Ping timeout: 240 seconds]
akemhp_ has quit [Ping timeout: 265 seconds]
mcdoven has quit [Remote host closed the connection]
akemhp_ has joined #ruby
akemhp_ has quit [Excess Flood]
akemhp_ has joined #ruby
akem__ has quit [Ping timeout: 265 seconds]
rusbu has joined #ruby
JohanP has joined #ruby
JohanP has quit [Ping timeout: 265 seconds]
polishdub has joined #ruby
JohanP has joined #ruby
JohanP has quit [Ping timeout: 240 seconds]
brool has quit [Ping timeout: 246 seconds]
paprika has joined #ruby
paprika has quit [Client Quit]
paprika has joined #ruby
polishdub has quit [Ping timeout: 276 seconds]
paprika has quit [Client Quit]
donofrio has quit [Remote host closed the connection]
Fezzler has joined #ruby
kobain has quit [Ping timeout: 265 seconds]
Fezzler has quit [Quit: Leaving]
Swyper has joined #ruby
baojg has quit [Remote host closed the connection]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
alfiemax has joined #ruby
JohanP has joined #ruby
Swyper has quit [Remote host closed the connection]
ogres has quit [Quit: Connection closed for inactivity]
bsdbandit-01 has quit [Quit: -a- Connection Timed Out]
Swyper has joined #ruby
JohanP has quit [Ping timeout: 245 seconds]
bsdbandit-01 has joined #ruby
cesario has joined #ruby
cesario has quit [Client Quit]
cesario has joined #ruby
techsethi has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
ravenousmoose has joined #ruby
polishdub has joined #ruby
polishdub has quit [Client Quit]
ravenousmoose has quit [Ping timeout: 246 seconds]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
conta has joined #ruby
Swyper has quit [Remote host closed the connection]
cesario has quit [Read error: Connection reset by peer]
Swyper has joined #ruby
imtravis has quit [Ping timeout: 246 seconds]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
techsethi has quit [Ping timeout: 240 seconds]
cesario has joined #ruby
JohanP has joined #ruby
chalkmonster has quit [Ping timeout: 240 seconds]
bitwinery has quit [Quit: Leaving]
Swyper has quit [Remote host closed the connection]
ravenousmoose has joined #ruby
sauvin has joined #ruby
r3m has quit [Remote host closed the connection]
infinityfye has joined #ruby
r3m has joined #ruby
JohanP has quit [Ping timeout: 240 seconds]
Intelo has quit [Ping timeout: 245 seconds]
fphilipe has joined #ruby
errst has joined #ruby
errst has quit [Changing host]
errst has joined #ruby
Intelo has joined #ruby
dionysus69 has joined #ruby
cesario has quit [Read error: Connection reset by peer]
cesario has joined #ruby
JohanP has joined #ruby
ravenousmoose has quit [Ping timeout: 250 seconds]
fphilipe has quit [Ping timeout: 250 seconds]
JohanP has quit [Ping timeout: 240 seconds]
causasui has quit [Ping timeout: 246 seconds]
ravenousmoose has joined #ruby
andikr has joined #ruby
ravenousmoose has quit [Ping timeout: 245 seconds]
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
thomas_25 has quit [Changing host]
thomas_25 has joined #ruby
fphilipe has joined #ruby
Intelo has quit [Ping timeout: 276 seconds]
Intelo has joined #ruby
cesario has quit [Read error: Connection reset by peer]
imtravis has joined #ruby
zming has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 250 seconds]
imtravis has quit [Ping timeout: 240 seconds]
baojg has joined #ruby
zming has left #ruby [#ruby]
cesario has joined #ruby
zming has joined #ruby
Intelo has quit [Ping timeout: 245 seconds]
JohanP has joined #ruby
alfiemax has joined #ruby
Guest95672 has joined #ruby
JohanP has quit [Ping timeout: 276 seconds]
mn3m has joined #ruby
Intelo has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
baojg has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
Nicmavr has quit [Quit: ZNC 1.7.0 - https://znc.in]
Nicmavr has joined #ruby
cesario has quit [Read error: Connection reset by peer]
alfiemax has quit [Ping timeout: 246 seconds]
chalkmonster has joined #ruby
cesario has joined #ruby
alfiemax has joined #ruby
JohanP has joined #ruby
Intelo_ has joined #ruby
JohanP has quit [Ping timeout: 250 seconds]
Intelo has quit [Ping timeout: 240 seconds]
RiPuk has quit [Remote host closed the connection]
RiPuk has joined #ruby
Mrbuck has joined #ruby
andikr has quit [Ping timeout: 265 seconds]
schne1der has joined #ruby
andikr has joined #ruby
aesthe has joined #ruby
salerace has joined #ruby
AJA4350 has joined #ruby
andikr has quit [Ping timeout: 265 seconds]
bsdband54 has joined #ruby
Emmanuel_Chanel has joined #ruby
JohanP has joined #ruby
lxsameer has joined #ruby
cesario has quit [Read error: Connection reset by peer]
TomyWork has joined #ruby
imtravis has joined #ruby
bsdbandit-01 has quit [Ping timeout: 265 seconds]
Intelo__ has joined #ruby
Intelo_ has quit [Ping timeout: 252 seconds]
imtravis has quit [Ping timeout: 265 seconds]
sagax has joined #ruby
JohanP has quit [Ping timeout: 240 seconds]
lalitmee has joined #ruby
cesario has joined #ruby
<linuus[m]> Hi! Has anyone used Heroku logdrains with fluentd?
lalitmee has quit [Remote host closed the connection]
lalitmee has joined #ruby
Jonopoly has joined #ruby
leitz has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
aotg has joined #ruby
<leitz> Need some help with the Observer pattern. The program adds one observer to each subject: https://github.com/LeamHall/hfdp_ruby/blob/master/bin/combat#L16-L17
<leitz> I get: There are 2 observers Al is watching Wilbur Al is watching Wilbur
<leitz> Is the module Subject storing @observers, vice the Character?
<Bish> are there notworthy usages of "DRb"
<Bish> and does this work (well) between ruby versions?
cesario has quit [Read error: Connection reset by peer]
<Bish> leitz: that code doesn't run, does it
<leitz> Bish, yes, it does.
<Bish> but character is nowhere defined in the files you showed
<Bish> so they're most likely not connected
JohanP has joined #ruby
<Bish> im guessing cahracter includes subject
<Bish> yes, it does
<leitz> Ah, I was being concise. Perhaps a bit much so. :)
<Bish> i dislike this setting of one million instance variables with defeault values, btw
<Bish> but that's personal preference, i guess
<leitz> It works for the intended use.
<Bish> leitz: ruby is really just 2 things: boxes(objects) and methods
<Bish> when you say "include module"
<Bish> it's just adding these methods to the class
<Bish> meaning, the methods subjects include are the ones of character
<Bish> so when in "subject" you say @observers << something
phaul has quit [Ping timeout: 240 seconds]
<aesthe> Hi I am new to Ruby but not to programming. What exactly does this regex do? (inp =~ /[^a-zA-Z0-9]/).nil? I thought only alphanumeric characters will pass but I find special chars also get through
<Bish> @obervers is a _instance_ variable of character, which has methods from Subject, but since it's the INSTANCEVARIABLE that is referenced, it will be of character
<leitz> Which is what confuses me, because each instance of character, (al, wilbur), only has one observer. But list_observers on one character is showing two observers.
<Bish> aesthe: well, the regex say "not alphanumeric"
cesario has joined #ruby
zming has quit [Ping timeout: 252 seconds]
<aesthe> Bish, is that what the nil part does?
<Bish> aesthe: no the ^ inside the regex does that
<Bish> [^x] does mean "not x"
<aesthe> you're right I was looking at the wrong thing
<aesthe> thanks
<Bish> leitz: you're adding al as obersver of wilbur twice
<Bish> is that intentional?
<Bish> aesthe: im guessing this is from an if statement right?
<Bish> it's just a trick to get the result of the regex match & check if it's available at all in one statement
<leitz> Bish, now is the moment I smack my head and chuckle. No, adding Al twice is a result of too little coffee too early in the morning.
<Bish> :)
<aesthe> Yes I made it inside an if statement. I am trying to ensure special chars wont get through on a shell script I'm building.........If I create an arg without qoutes, ruby errors that there is no value for that switch. If I put qoutes, anything goes through
AJA4351 has joined #ruby
JohanP has quit [Ping timeout: 252 seconds]
<aesthe> nope I'm wrong.....my exception handling is wrong.
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
<Bish> aesthe: there are no exceptions in ruby!
<Bish> they're errors!
<Bish> >:(
<Bish> (im kidding, it's the same thing, but i like the naming better)
<aesthe> haha kl
<aesthe> I'll be hanging out here today
suukim has joined #ruby
phaul has joined #ruby
zming has joined #ruby
fanta1 has joined #ruby
phaul has quit [Ping timeout: 276 seconds]
abc88 has joined #ruby
phaul has joined #ruby
<abc88> Hi, is there a way with the ruby command to know if ruby was compiled for example with which regex engine, something to query that
<Bish> ruby is compileable with multiple regex engines?
<abc88> in 1.8 yes
<Bish> ohshit, welcome to 2019 traveler
<abc88> i know that just an example
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<abc88> my question is, is there a way to query with what ruby was compiled
<Bish> i always lived with the belief that ruby has it's own regex engine, has it not?
<Bish> i don't see something regex-ish linked in dynamcially
<Bish> Ruby 1.8, Ruby 1.9, and Ruby 2.0 and later versions use different engines; Ruby 1.9 integrates Oniguruma, Ruby 2.0 and later integrate Onigmo, a fork from Oniguruma.
<abc88> Bish: ok thanks but the regex thing was just an example, my real question is: is there a way to get info of which feature was enabled during compilation
<Bish> ah
andikr has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
<Bish> RbConfig::CONFIG["configure_args"]
<Bish> &> RbConfig::CONFIG["configure_args"]
<rubydoc> parser error at position 0 around `>'
<Bish> > RbConfig::CONFIG["configure_args"]
<Bish> >> RbConfig::CONFIG["configure_args"]
<Bish> &>> RbConfig::CONFIG["configure_args"]
<Bish> :(
<rubydoc> # => " '--prefix=/usr' '--sysconfdir=/etc' '--localstatedir=/var' '--sharedstatedir=/var/lib'... check link for more (https://carc.in/#/r/81sp)
<abc88> thanks
<Bish> yeah!
kobain has joined #ruby
<abc88> Bish: thanks awesome this is exactly what i was looking for!
abc88 has quit [Quit: abc88]
quintasan_ is now known as quintasan
quintasan has quit [Changing host]
quintasan has joined #ruby
kobain has quit [Ping timeout: 252 seconds]
cesario has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Bish> ablackack: my impressive google skills allowed me to do that
akemhp_ has quit [Ping timeout: 240 seconds]
ravenousmoose has joined #ruby
<Bish> i google "ruby compile flags"
<Bish> ah, he left.
ravenousmoose has quit [Client Quit]
phaul has joined #ruby
Mrbuck has quit [Remote host closed the connection]
akemhp has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
suukim has quit [Ping timeout: 276 seconds]
phaul has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
phaul has quit [Ping timeout: 245 seconds]
vondruch has quit [Ping timeout: 240 seconds]
lalitmee has quit [Ping timeout: 265 seconds]
vondruch has joined #ruby
phaul has joined #ruby
akemhp has quit [Ping timeout: 245 seconds]
phaul has quit [Ping timeout: 240 seconds]
JohanP has joined #ruby
phaul has joined #ruby
drincruz has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
<aesthe> https://dpaste.de/yLDZ email validation - It is currently printing args without '@' and args with special chars. does this function look ok?
salerace has quit [Quit: salerace]
JohanP has quit [Ping timeout: 240 seconds]
chalkmonster has joined #ruby
andikr has quit [Ping timeout: 246 seconds]
AJA4351 has joined #ruby
phaul has joined #ruby
bsdbandit-01 has joined #ruby
andikr has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
bsdband54 has quit [Ping timeout: 252 seconds]
phaul has quit [Ping timeout: 265 seconds]
<havenwood> aesthe: I'd suggest just: email.match? ...
<havenwood> aesthe: if email.match?(regexp); ...; else; ...; end
<havenwood> aesthe: There are oddly other allowed characters before the @ in email addys.
<havenwood> &>> URI::MailTo::EMAIL_REGEXP
<rubydoc> # =>... check link for more (https://carc.in/#/r/81st)
<aesthe> havenwood, tried that first and got similar results....I need to check for specific email addresses that I can't share here
<aesthe> devote is just an example
phaul has joined #ruby
<havenwood> aesthe: /\A[a-zA-Z0-9.!\#$%&'*+\/=?^_`{|}~-]+@(?:foo|bar|baz)\.com\z/
<aesthe> the EMAIL_REGEXP covers all cases right?
<havenwood> aesthe: Yes
<havenwood> aesthe: if email.match?(URI::MailTo::EMAIL_REGEXP)
<aesthe> ok I'll give your suggestion a try after lunch
<aesthe> thanks
<havenwood> np
phaul has quit [Ping timeout: 265 seconds]
Intelo__ has quit [Read error: Connection reset by peer]
cesario has joined #ruby
Intelo has joined #ruby
phaul has joined #ruby
poontangmessiah has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
phaul has joined #ruby
zming has quit [Ping timeout: 250 seconds]
aotg has quit [Quit: Connection closed for inactivity]
phaul has quit [Ping timeout: 240 seconds]
TzilTzal has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
cesario has quit [Read error: Connection reset by peer]
phaul has joined #ruby
ravenousmoose has joined #ruby
andikr has quit [Quit: No Ping reply in 180 seconds.]
andikr has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
lalitmee has joined #ruby
ravenousmoose has quit [Ping timeout: 252 seconds]
zming has joined #ruby
chalkmonster has joined #ruby
Intelo has quit [Ping timeout: 265 seconds]
phaul has joined #ruby
cesario has joined #ruby
JohanP has joined #ruby
phaul has quit [Ping timeout: 276 seconds]
chalkmonster has quit [Quit: WeeChat 2.6]
rwb has quit [Ping timeout: 240 seconds]
phaul has joined #ruby
andikr has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
JohanP has quit [Ping timeout: 265 seconds]
phaul has quit [Ping timeout: 250 seconds]
AJA4351 has joined #ruby
Swyper has joined #ruby
phaul has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
Swyper has quit [Ping timeout: 252 seconds]
phaul has quit [Ping timeout: 240 seconds]
<Bish> you can't find a 100% correct regex for emails
<Bish> won't happen
<TheBrayn> wasn't there one?
<Bish> match for something@domain and be done with it
<Bish> trust me
<TheBrayn> I think I saw an incredible long regexp once which supposedly is valid
<Bish> yes, and i have tried them all
<Bish> no, it's not possible
<Bish> especially considering "something cool"@domain.com
<Bish> is a valid email
phaul has joined #ruby
Caerus has quit [Ping timeout: 276 seconds]
chalkmonster has joined #ruby
Caerus has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
vondruch has quit [Read error: Connection reset by peer]
phaul has joined #ruby
phaul has quit [Ping timeout: 246 seconds]
Shigawire has joined #ruby
Shigawire has quit [Remote host closed the connection]
ravenousmoose has joined #ruby
Caerus has quit [Ping timeout: 276 seconds]
cesario has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phaul has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
Caerus has joined #ruby
ravenousmoose has quit [Ping timeout: 252 seconds]
phaul has quit [Ping timeout: 240 seconds]
JohanP has joined #ruby
imtravis has joined #ruby
phaul has joined #ruby
cd has quit [Quit: cd]
vondruch has joined #ruby
imtravis has quit [Ping timeout: 265 seconds]
phaul has quit [Ping timeout: 240 seconds]
<Bish> may somebody explain to me what is special about marshalling?
JohanP has quit [Ping timeout: 276 seconds]
imtravis has joined #ruby
phaul has joined #ruby
phaul has quit [Ping timeout: 250 seconds]
phaul has joined #ruby
donofrio has joined #ruby
lineus has quit [Ping timeout: 260 seconds]
chalkmonster has joined #ruby
lineus has joined #ruby
clemens3 has joined #ruby
krawchyk has joined #ruby
zming has quit [Ping timeout: 246 seconds]
conta has quit [Ping timeout: 246 seconds]
AJA4350 has quit [Ping timeout: 240 seconds]
zming has joined #ruby
ellcs has quit [Remote host closed the connection]
AJA4350 has joined #ruby
jenrzzz has joined #ruby
Guest95672 has left #ruby [#ruby]
jenrzzz has quit [Ping timeout: 252 seconds]
duderonomy has joined #ruby
Technodrome has joined #ruby
baojg has joined #ruby
JohanP has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
alfiemax has quit [Remote host closed the connection]
chalkmonster has joined #ruby
JohanP has quit [Ping timeout: 265 seconds]
vondruch_ has joined #ruby
errst_ has joined #ruby
infinityfye has quit [Quit: Leaving]
errst has quit [Ping timeout: 240 seconds]
vondruch has quit [Ping timeout: 250 seconds]
vondruch_ is now known as vondruch
<Technodrome> i saw in this book one of the commenters said that ruby represents the pinnacle of the ALGOL based programming languages
<Technodrome> is that a correct thing to say and believe?
<ytti_> seeems something which is hard to prove or falsify
<ytti_> as there isn't specific definition
<ytti_> i would say no
<ytti_> because in my mind ruby foremost is pure OO
<ytti_> which algol decidedly is not
lineus has quit [Ping timeout: 260 seconds]
kira_rose[m] has quit [Ping timeout: 250 seconds]
Swyper has joined #ruby
<Swyper> hey guys
<Swyper> havenwood adam12 I'm heart broken, ended up getting rejected
al2o3-cr has quit [Ping timeout: 260 seconds]
DaRock has quit [Ping timeout: 246 seconds]
jweiss has quit [Ping timeout: 276 seconds]
jweiss has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
<Bish> what ytti_ says
<Bish> swyper: rejected for what?
al2o3-cr has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
<Bish> algol doesn't look like ruby to me at all
<Bish> ruby is for me, how i said earlier
<Bish> boxes sending themselves messages
<Bish> these boxes also have attributes
lineus has joined #ruby
<Bish> with some syntax-sugaring
phaul has joined #ruby
<Swyper> my dream job that I interviewed for
<Bish> im sorry ☹
<Swyper> it was a pagerduty internship I got 2/3 of the coding questions right and I was really hoping to get it
<ytti_> internship is such a bullshit thing, just way to abuse people
<ytti_> it's not like interns work output is less valuable than full timers
<ytti_> often opposite, as they are more motivated
<Bish> well depends if they have experience
<ytti_> in my experience few full timers have much experience ither
<Bish> that might be true, but i wouldn't hire those
<ytti_> no matter if it's 1, 10 or 20 years of experience
<ytti_> most have done very little
<ytti_> and are getting paid more because longer career
<ytti_> compensation has 0 correlation to skill or output
<Bish> agree
<ytti_> i'm not saying this as negative thing that full timers are not that skilled ,there is more to life than work
<Bish> agree
<Swyper> I like coding and I want to surround myself with people who are good @ it I'm not doing it for $$
<Bish> swyper: what's an example for a coder-question?
<ytti_> i'm definitely working for $$
<ytti_> and would do entirely different projects if i was financially independent
* Bish is not working for $$ but for his next job he is
<ytti_> insha'allah financial independency is in horizon
phaul has quit [Ping timeout: 245 seconds]
<Bish> ytti_: bless you
<Swyper> that's fair
<Bish> swyper: what is a "coder question"
<Swyper> I'm just working to get good at coding
<Swyper> what do you mean by a coder question
<Bish> you say you got 2/3 of coding questions right
<Swyper> so I built a small dish app
<Swyper> and had to add stuff to the dish app while live coding
<Bish> and im wondering what that means, because i would never apply for a job at a big company and the weird things they do
<Swyper> I did it in Ruby
<Bish> swyper: like, the whole intership long? or during and interview
<Swyper> during the interview
<ytti_> as far as i know, credible research has not identifeid any hiring or promoting strategy which works statistically better than random
<ytti_> so don't be too worried about not getting posititions you apply for, it doesn't communicate anything
<ytti_> and best way to increase probability is to increase attempts
<Bish> i agree, letting someone program in an interview doesnt say shit
vondruch has quit [Quit: vondruch]
Technodrome has quit [Ping timeout: 240 seconds]
<Swyper> I just was not good enough
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
Inline has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
vondruch has joined #ruby
yokel has quit [Ping timeout: 276 seconds]
phaul has joined #ruby
cesario has joined #ruby
JohanP has joined #ruby
cesario has quit [Client Quit]
<aesthe> https://dpaste.de/tufU - can I replace lines 3 and 5 with 'return true/false' to make the function work with is_valid?
phaul has quit [Ping timeout: 252 seconds]
<adam12> swyper: Sorry to hear that. Maybe try the other Toronto offices that might accept an interin like Shopify.
yokel has joined #ruby
phaul has joined #ruby
JohanP has quit [Ping timeout: 250 seconds]
phaul has quit [Ping timeout: 240 seconds]
poontangmessiah has quit [Ping timeout: 265 seconds]
davidw has joined #ruby
davidw has joined #ruby
davidw has quit [Changing host]
clemens3 has quit [Quit: WeeChat 1.6]
phaul has joined #ruby
<Swyper> for sure I'm SOL for winter so hopefully something comes up for the summer adam12
<Swyper> are you from Toronto aswell
<adam12> swyper: Niagara.
<adam12> bbiaf.
<Swyper> oh interesting, I worked in St Catharines for abit at the MTO
Technodrome has joined #ruby
<Technodrome> Bish yeah i never thought it looked like algol either
<Technodrome> never even heard that before
vondruch_ has joined #ruby
phaul has quit [Ping timeout: 265 seconds]
<Technodrome> ytti_ i got real tricked yesterday in an interview
vondruch has quit [Ping timeout: 240 seconds]
vondruch_ is now known as vondruch
<Swyper> what happend Technodrome
errst_ has quit [Read error: Connection reset by peer]
<Technodrome> it was a triplet sum problem and i never saw it before
JohanP has joined #ruby
<Technodrome> total is 21 , what number combination of 3 things == 21 and return them
<Swyper> interesting
<Technodrome> right on the spot, so yeah, i just saw there and thought about it
<Swyper> 20-1-0
<Swyper> lol
<Swyper> 1, 2, number-3
chalkmonster has joined #ruby
<Technodrome> i got all the data stuff down , those are usually the questions
JohanP has quit [Ping timeout: 240 seconds]
phaul has joined #ruby
Swyper has quit [Remote host closed the connection]
vondruch has quit [Quit: vondruch]
phaul has quit [Ping timeout: 240 seconds]
vondruch has joined #ruby
imtravis has quit [Quit: leaving]
<havenwood> Technical interviews are all over the map. I know amazing coders who fail and terrible ones who pass interviews. &shrug;
causasui has joined #ruby
<havenwood> &>> Array.new(22, &:itself).repeated_permutation(3).select { |a| a.sum == 21 }.map(&:sort).uniq
<rubydoc> # => [[0, 0, 21], [0, 1, 20], [0, 2, 19], [0, 3, 18], [0, 4, 17], [0, 5, 16], [0, 6, 15], [0, 7, 14], [0, 8,... check link for more (https://carc.in/#/r/81ti)
phaul has joined #ruby
<havenwood> And it wildly depends on what the challenge happens to be. Folk who've only done Ruby programming tend to bomb on recursion questions, for example. Java coders seem to have a tough time with string manipulation. A lot of the time it's just hoping that what they ask aligns with what you know.
TomyWork has quit [Ping timeout: 246 seconds]
Swyper has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phaul has quit [Ping timeout: 276 seconds]
gix has joined #ruby
phaul has joined #ruby
brool has joined #ruby
phaul has quit [Ping timeout: 265 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
Swyper has quit [Remote host closed the connection]
poontangmessiah has joined #ruby
phaul has joined #ruby
<ytti_> Technodrome, i don't understan utility of such questions
<ytti_> trying to trick your interviewee
bvdw has quit [Quit: bvdw]
<ytti_> motivation should be to try to get idea how they perform ideally
Swyper has joined #ruby
<ytti_> not how they goot hit/miss ratio they have on random problems you invented
bvdw has joined #ruby
<ytti_> amazon had terrific interview process in EU, bunch of calls with HR first, then on-site 8*1h chat with different groups of people related to your functions
<ytti_> no one asked anything about of the blue
<ytti_> only asked things like what you have done lately
Jonopoly has quit [Quit: WeeChat 2.5]
<ytti_> and then zoomed in on some of those which was interesting to them
<ytti_> and asked you to justify why you did this and that in that project
<ytti_> i think that's so far the best way i've seen to probe into people's capacity
<ytti_> put them in their comfort zone and ask them to explain about something they think they know about
<ytti_> similarly, i feel i can gauge over dinner pretty well rough clue level of people
<ytti_> just with friendly chat
<ytti_> i may just feel so, it doesn't necessarily mean it's true
phaul has quit [Ping timeout: 240 seconds]
zming has quit [Ping timeout: 265 seconds]
ellcs has joined #ruby
jenrzzz has joined #ruby
fphilipe has quit [Ping timeout: 265 seconds]
causasui has quit [Quit: WeeChat 2.6]
ellcs has quit [Ping timeout: 250 seconds]
errst has joined #ruby
IanMalcolm has joined #ruby
i9zO5AP has joined #ruby
mgraf has joined #ruby
DTZUZU has quit [Ping timeout: 265 seconds]
GodFather has joined #ruby
Ai9zO5AP has quit [Ping timeout: 240 seconds]
<havenwood> I've certainly seen interviewers who aren't accustomed to Ruby not believe that a terse solution actually covers the full problem description and then get frustrated when they realize it does work and pass the rest of the tests. >.> Yay, Ruby!
<havenwood> Ruby is like enabling cheat mode on a C interview. :)
<Swyper> true
<havenwood> ytti_: that sounds more reasonable than most - but i've seen those style border on whiteboard hilarity too
<havenwood> ytti_: I liked what I saw of GitHub's take on sharing a repo, handling the open tickets, then follow up pairing to add a feature or refactor.
<leftylink> imagine my displeasure when finding out that a certain company didn't support interviewing in ruby
<havenwood> leftylink: Wierd.
<leftylink> considered telling them NOPE, NEXT
<havenwood> leftylink: I usually see "language of your choice."
<havenwood> I want to get better at assembly just to insist on it for interviews.
<Swyper> lol
<Swyper> I do coding interviews in Java with most companies
<Swyper> just cause I know for sure they will allow it
<havenwood> i've not done an interview where a lang was disallowed ¯\_(ツ)_/¯
<havenwood> i guess i've done some where they insist on a lang
<havenwood> nevermind
phaul has joined #ruby
<havenwood> i just try to put those out of mind :P
Intelo has joined #ruby
fphilipe has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
phaul has quit [Ping timeout: 252 seconds]
Swyper has quit [Remote host closed the connection]
dbugger has joined #ruby
dbugger has quit [Remote host closed the connection]
JohanP has joined #ruby
DTZUZU has joined #ruby
phaul has joined #ruby
<mnemon> ytti_: might be useful for evaluating problem solving skills, getting it right is often secondary
phaul has quit [Ping timeout: 245 seconds]
<ytti_> mnemon, problem is, you're dealing with humans, who have highly variant performance in any given situation
<ytti_> mnemon, and interview is atypical situation
<ytti_> mnemon, so you may ignore candidate which is superior in practical situation, but performs poorly in atypical situation
dionysus69 has quit [Ping timeout: 276 seconds]
JohanP has quit [Ping timeout: 252 seconds]
<ytti_> mnemon, going to comfort zone, by asking what they already know about, and to elaborate choices made there, i suspect, has higher probability of yielding useful output
<ytti_> basically interviews tend to test how well person interviews
<ytti_> high performance there means mobility out from your shop too :)
<mnemon> asking about previous projects also doesn't tell anything about problem solving skills
greengriminal has joined #ruby
<mnemon> yeah
Swyper has joined #ruby
sh7d has quit [Quit: meh]
bsdband2 has joined #ruby
phaul has joined #ruby
<ytti_> 19:51 < mnemon> asking about previous projects also doesn't tell anything about problem solving skills
<ytti_> i think it does
<ytti_> because there are lot of paths you can take the discussion
<ytti_> ask why some decision was made
<ytti_> and why some decision was not made, particularly
<ytti_> forces to think something that candidate may have not thought at the time
sh7d has joined #ruby
<ytti_> but at any rate hiring/promoting is hard
<mnemon> I've run into some people who had stellar CV's but were entirely incapable of solving problems in languages they had worked with for years without copypasta solution from stackoverflow. But yeah, I suppose it's possible to get some idea based on questions like that.
<mnemon> (and could tell things like why some tech/solution was chosen etc.)
<ytti_> sure lot of people have no discernible skills and succeed professionally for decades
<ytti_> i'd say less than 10%, most are just there for the check with no particular passion/motivation to excel, just enough not to get fired
<ytti_> which is not wrong either
bsdbandit-01 has quit [Ping timeout: 276 seconds]
<Swyper> I'm just a weak programmer
<ytti_> which is why i always find it hilarious when position is justified in temporal terms
<ytti_> 'i've been doing this for 20 years'
phaul has quit [Ping timeout: 276 seconds]
<Swyper> like I'm just bad at coding ig I build cool stuff but lots of help from people better then me
fanta1 has quit [Quit: fanta1]
<ytti_> i'm not particularly good at coding, but i understand the subject matter reasonably where i develope
jenrzzz has quit [Ping timeout: 240 seconds]
<ytti_> which is big leg up compared to much more competent coders who don't have intuitive understanding of the the domain
* havenwood is determined to introduce Minitest :P
<havenwood> swyper: Have you done the Ruby Koans?
<Swyper> what is that ?
<Swyper> I use minitest @ work :P
jinie_ has joined #ruby
<havenwood> swyper: http://rubykoans.com/
sh7d has quit [Quit: meh]
jinie has quit [Ping timeout: 265 seconds]
jinie_ is now known as jinie
sh7d has joined #ruby
<Swyper> is this the right setup ? havenwood
<Swyper> https://github.com/RickArora/chef-app just renamed it
greengriminal has quit [Quit: This computer has gone to sleep]
greengriminal has joined #ruby
TzilTzal has quit [Quit: Leaving.]
greengriminal has quit [Remote host closed the connection]
greengriminal has joined #ruby
<Swyper> ruby koans looks good but rn my energy is focused on passing school + making my project + learning rails
<Swyper> not learning to test properly is going to bite me soon tho :P
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
Fraeon has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
phaul has joined #ruby
fphilipe has quit [Ping timeout: 240 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 276 seconds]
AJA4351 is now known as AJA4350
Caerus has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 240 seconds]
Caerus has joined #ruby
phaul has quit [Ping timeout: 265 seconds]
<leftylink> hmm. there are some names that come up from time to time in this channel, and I might remember things like "I remember someone asked a question in this channel and that person prefers to learn by example instead of learn by unifying theorem" or something ... but I don't remember at all which names are associated with which traits
<leftylink> so it is not really useful to remember these things if I don't remember the correct person
<leftylink> since obviously I wouldn't want to ascribe a trait to the wrong individual
<Swyper> fair
phaul has joined #ruby
<Swyper> wdym by learning by unifying theorem leftylink?
fig-le-deunch has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
bsdband2 has quit [Ping timeout: 240 seconds]
phaul has quit [Ping timeout: 265 seconds]
rippa has joined #ruby
<leftylink> actually I did have a specific example in mind for that one, though I may have misremembered the particular alternatives in play for the "prefers X over Y"
<leftylink> 2019-10-18 conversation
bsdbandit-01 has joined #ruby
<Swyper> oh okay cool
<leftylink> that's obviously not the only one
greengriminal has quit [Quit: This computer has gone to sleep]
<leftylink> but that one came to mind when I was writing that up
poontangmessiah has quit [Remote host closed the connection]
<Swyper> I like learning by example, just rn my hands are full till dec 24th
Fraeon has joined #ruby
<leftylink> even if I started remembering "now I know someone in this channel likes learning by example" I will now always question myself "uhhh was that swyper who preferred to learn by example or was it (some other person)"
<adam12> swyper: Did you ever attend Software Niagara events?
<leftylink> maybe I just have to take notes on all of you
<adam12> swyper: I know someone at the MTO who works on the ops side.
<Swyper> oh cool, I worked as a data scientist co-op
phaul has joined #ruby
<Swyper> & nope never went to software Niagara events
<rubydoc> parser error at position 0 around ` '
<Swyper> adam12
<adam12> swyper: I'm one of the organizers so I thought I might have met you. We run a monthly DevTricks event and an occasional DemoCamp.
<havenwood> leftylink: I'd like to submit a data subject access request.
<adam12> havenwood: did you make Rubyconf this year?
<Swyper> adam12 that is really cool, wish I would have known about it when I was in St Catharines !
<havenwood> adam12: Nope, and it would have been my 10th year in a row.
<adam12> havenwood: Wild! :\
<havenwood> adam12: I got busy and we're getting ready to move to a bigger place for the new Rubyist in the fam.
phaul has quit [Ping timeout: 240 seconds]
<Swyper> adam12 any cool ruby conferences in Toronto you go to?
<adam12> swyper: Nothing Ruby specific. I have a regular consulting arrangement with a Toronto health startup and we're using Ruby here. I'm actually in Toronto today meeting with them.
fig-le-deunch has quit [Quit: Konversation terminated!]
<Swyper> that is cool
<Swyper> I'm on king/spadina rn
<adam12> swyper: I'm at 100 King. FCP.
<adam12> swyper: Definitely check out the Startup North job board.
<Swyper> 20 min walk from me :P
poontangmessiah has joined #ruby
<adam12> swyper: Yeah!
<leftylink> OH NO
<Swyper> no internships/co-op jobs on there =/
<leftylink> (GDPR bites again)
<adam12> swyper: Ah :| That's a challenge I run into locally too when I try to place new grads. Some companies just don't have the framework in place for intern/co-op.
jenrzzz has joined #ruby
<Swyper> getting a job when I graduate is a whole other headache I will be dealing with shortly -_-
lalitmee has quit [Ping timeout: 240 seconds]
<Swyper> my biggest fear is getting the wrong job and being stuck in it
<Swyper> https://www.rickyarora.com/resume.pdf where I am at rn
JohanP has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
wildtrees has joined #ruby
<adam12> swyper: I'm sure you'll find something. You'd be able to move a bit too once you graduate.
phaul has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mgraf has quit [Ping timeout: 240 seconds]
JohanP has quit [Ping timeout: 240 seconds]
VeryBewitching has joined #ruby
phaul has quit [Ping timeout: 250 seconds]
ravenousmoose has joined #ruby
hiroaki has joined #ruby
<leftylink> hmm you know what
phaul has joined #ruby
<leftylink> I can't tell whether that was a serious request to share what I know disguised as a joke
<leftylink> as opposed to purely being a joke
<havenwood> haha
phaul has quit [Ping timeout: 240 seconds]
poontangmessiah has quit [Ping timeout: 276 seconds]
leitz has quit [Quit: Leaving]
<leftylink> I know you help in the channel a lot, but probably everyone knew that
jenrzzz has joined #ruby
sameerynho has joined #ruby
phaul has joined #ruby
mgraf has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
phaul has quit [Ping timeout: 240 seconds]
phaul has joined #ruby
JohanP has joined #ruby
<mgraf> \q
mgraf has left #ruby [#ruby]
mgraf has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
SeepingN has joined #ruby
<Swyper> ip-192-168-1-34:Rails_Toy_app rickyarora$ rbenv install 2.6.3
<Swyper> and it just gets stuck there -_-
sauvin has quit [Ping timeout: 252 seconds]
<leftylink> maybe if it's the src it takes a really long time to compile, I wonder
JohanP has quit [Remote host closed the connection]
phaul has joined #ruby
JohanP has joined #ruby
<havenwood> swyper: ruby-install will use your package manager's OpenSSL, so it won't matter if that download exists
<havenwood> swyper: ruby-install --latest --install-dir ~/.rbenv/versions/2.6.3 ruby 2.6.3
<havenwood> swyper: That's ^ the command to install for rbenv.
<Swyper> ip-192-168-1-34:Rails_Toy_app rickyarora$ ruby-install --latest --install-dir ~/.rbenv/versions/2.6.3 ruby 2.6.3bash: ruby-install: command not found
<Swyper> i have rbenv
<Swyper> o-o
<havenwood> swyper: you can install ruby-install via package manager or repo instructions. it's a different thing than rbenv, but would circumvent this ruby-build issue. (ruby-build, not ruby-install, is associated with rbenv.)
greengriminal has joined #ruby
<mgraf> rbenv is really a second-rate citizen compared to rvm though.
<havenwood> with chruby, rvm and rbenv you can just keep rotating to the next one when you hit a bug in the last one. ;P
phaul has quit [Ping timeout: 265 seconds]
JohanP has quit [Ping timeout: 240 seconds]
<mgraf> ehhh, until you're fighting over your system ruby ;)
<leftylink> hmm
<Swyper> ip-192-168-1-34:Rails_Toy_app rickyarora$ brew install ruby-install
<Swyper> lets hope this works
<leftylink> for my personal shit I just use whatever ruby is in my package manager, so I don't have enough personal experience with ruby managers
<leftylink> so I guess the only place I saw them is at work
jenrzzz has joined #ruby
<havenwood> swyper: yeah, that'll work
<mgraf> .ruby-version files are nice, even for personal projects
JohanP has joined #ruby
reyfi9e has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
JohanP has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
<Swyper> so I'm running this
<Swyper> checking for printf prefix for long long... llchecking for pid_t... yes
<Swyper> its doing alot of weird stuff
<Swyper> o-o
<mgraf> post a gist
phaul has joined #ruby
<mgraf> why not just `rbenv install ... `
<mgraf> I'm guessing you're going to have some weird behavior by using another tool to shim a ruby version inside of rbenv
poontangmessiah has joined #ruby
<mgraf> start with `rbenv install -l` and install the version you want
jenrzzz has quit [Ping timeout: 265 seconds]
<Swyper> checking for explicit_bzero... ^C!!! Configuration of ruby 2.6.3 failed!
<Swyper> rip
<Swyper> i should have let it run
phaul has quit [Ping timeout: 265 seconds]
<Swyper> this fixed it looks like
<mgraf> sik
<Swyper> how long does installing a ruby version normally take
JohanP has joined #ruby
<mgraf> 5min
gix has quit [Quit: Client exiting]
phaul has joined #ruby
poontangmessiah has quit [Ping timeout: 265 seconds]
gix has joined #ruby
phaul has quit [Ping timeout: 252 seconds]
<havenwood> swyper: Depends entirely on the computer, but there are ways to speed it up like multiple jobs on the `make` step.
<havenwood> swyper: ruby-install -j8 --latest --install-dir ~/.rbenv/versions/2.6.3 ruby 2.6.3
JohanP has quit [Ping timeout: 240 seconds]
greengriminal has quit [Quit: This computer has gone to sleep]
<havenwood> swyper: -j8 for eight cores, for example
<havenwood> swyper: or plain -j to have as many jobs as it has in parallel
Swyper has quit [Remote host closed the connection]
phaul has joined #ruby
poontangmessiah has joined #ruby
fphilipe has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jenrzzz has joined #ruby
<go|dfish> /buffer 22
greengriminal has joined #ruby
phaul has quit [Ping timeout: 276 seconds]
greengriminal has quit [Client Quit]
fphilipe has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
errst has quit [Read error: Connection reset by peer]
phaul has joined #ruby
JohanP has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
fphilipe has joined #ruby
JohanP has quit [Ping timeout: 265 seconds]
phaul has joined #ruby
fphilipe has quit [Ping timeout: 245 seconds]
phaul has quit [Ping timeout: 276 seconds]
bitwinery has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
phaul has joined #ruby
Swyper has joined #ruby
<Swyper> make: *** No targets specified and no makefile found. Stop. is the issue im getting havenwood
<Swyper> been an hour and still can't install this ruby version
<Swyper> fml
<havenwood> swyper: show the command you ran and the output
<Swyper> sec I'm trying the command you posted before the one with j8
jenrzzz has joined #ruby
cliluw has quit [Ping timeout: 265 seconds]
phaul has quit [Client Quit]
phaul has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
cliluw has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
phaul has joined #ruby
<adam12> swyper: Takes like 15 minutes on my 2012 laptop to compile Ruby.
<adam12> swyper: For context.
<adam12> I use a single job since multiple jobs have failed for me before.
<Swyper> thats...long
<Swyper> I guess I'll go get a snack or something while I wait
eddof13 has joined #ruby
eam has quit [Ping timeout: 268 seconds]
eam has joined #ruby
jinie has quit [Ping timeout: 240 seconds]
jinie has joined #ruby
<Swyper> still going
<Swyper> been 20 mins
<Swyper> this is insane
<adam12> swyper: I used to spend ~ 20 hours compiling the Linux kernel so it's not that bad :)
<Rudolph> bootstrapping gcc was very timeconsuming^Wfun
jinie has quit [Client Quit]
mn3m has quit [Ping timeout: 276 seconds]
<mgraf> What kernal?
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
<Swyper> back
<Swyper> its still going roflmao
<Swyper> and im scared of stopping it
<Swyper> but its been 40 mins
altious has joined #ruby
<havenwood> swyper: CPU busy? :P
<Swyper> I guess so
<Swyper> waiting this long for a ruby version is badd
<Swyper> Generating RI format into /Users/rickyarora/src/ruby-2.6.3/.ext/rdoc... latest message
<havenwood> swyper: installing without docs speeds it up
<Swyper> should I cancel the installation now
<havenwood> swyper: thinking hard to install those docs
<Swyper> and do it w/o docs?
<havenwood> swyper: no, i'd not cancel, personally
<havenwood> dunno
<Swyper> ill let it run
<havenwood> attach gdb and see what's up?
<Swyper> if its not done in another 40 mins
<Swyper> i dunno what gdb is
<Swyper> looks like its doing w.e it needs to do
<Swyper> enerating makefile exts.mkexts.mk unchanged
<Swyper> most recent logs
JohanP has joined #ruby
<Swyper> >>> Successfully installed ruby 2.6.3 into /Users/rickyarora/.rbenv/versions/2.6.3
<Swyper> I thought it'd never happen
phaul has quit [Ping timeout: 246 seconds]
JohanP has quit [Ping timeout: 252 seconds]
cd has joined #ruby
jenrzzz has joined #ruby
JohanP has joined #ruby
phaul has joined #ruby
JohanP has quit [Ping timeout: 246 seconds]
Swyper has quit [Remote host closed the connection]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 276 seconds]
AJA4351 is now known as AJA4350
phaul has quit [Ping timeout: 265 seconds]
bitwinery has quit [Quit: Leaving]
phaul has joined #ruby
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phaul has quit [Ping timeout: 250 seconds]
phaul has joined #ruby
froy has quit [Remote host closed the connection]
phaul has quit [Ping timeout: 276 seconds]
Mia has quit [Read error: Connection reset by peer]
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
phaul has joined #ruby
Mia has quit [Read error: Connection reset by peer]
Mia has joined #ruby
<havenwood> Now upgrade to 2.6.5!
cschneid has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
rwb has joined #ruby
phaul has joined #ruby
<al2o3-cr> &>> "\xF0\x9F\x8E\xB0".chr
<rubydoc> # => "🎰" (https://carc.in/#/r/81u7)
zlogan has joined #ruby
phaul has quit [Ping timeout: 250 seconds]
JohanP has joined #ruby
mgraf has quit [Ping timeout: 240 seconds]
phaul has joined #ruby
davidw has quit [Ping timeout: 265 seconds]
i9zO5AP has quit [Quit: WeeChat 2.5]
mgraf has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
JohanP has quit [Ping timeout: 250 seconds]
phaul has quit [Ping timeout: 276 seconds]
aesthe has quit [Quit: Leaving]
lxsameer has quit [Ping timeout: 245 seconds]
mgraf has quit [Ping timeout: 265 seconds]
sameerynho has quit [Ping timeout: 265 seconds]
phaul has joined #ruby
mgraf has joined #ruby
nowhereman has joined #ruby
phaul has quit [Ping timeout: 276 seconds]
mgraf has quit [Ping timeout: 246 seconds]
davidw has joined #ruby
davidw has quit [Changing host]
davidw has joined #ruby
phaul has joined #ruby
mgraf has joined #ruby
JohanP has joined #ruby
phaul has quit [Ping timeout: 276 seconds]
VeryBewitching has quit [Quit: Konversation terminated!]
mgraf has quit [Ping timeout: 276 seconds]
mn3m has joined #ruby
phaul has joined #ruby
JohanP has quit [Ping timeout: 276 seconds]
phaul has quit [Ping timeout: 276 seconds]
JohanP has joined #ruby
AJA4351 has joined #ruby
xGrind has joined #ruby
phaul has joined #ruby
sh7d_ has joined #ruby
AJA4350 has quit [Ping timeout: 250 seconds]
AJA4351 is now known as AJA4350
sh7d has quit [Ping timeout: 240 seconds]
phaul has quit [Ping timeout: 240 seconds]
phaul has joined #ruby
salerace has joined #ruby
sh7d_ has quit [Quit: meh]
krawchyk has quit [Quit: krawchyk]
sh7d has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
nowhereman has quit [Ping timeout: 276 seconds]
Intelo_ has joined #ruby
salerace has quit [Ping timeout: 240 seconds]
Intelo has quit [Ping timeout: 240 seconds]
phaul has joined #ruby
salerace_ has joined #ruby
mgraf has joined #ruby
phaul has quit [Ping timeout: 252 seconds]
JohanP has quit [Remote host closed the connection]
JohanP has joined #ruby
phaul has joined #ruby
jenrzzz has joined #ruby
Axy has joined #ruby
paprika has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
JohanP has quit [Ping timeout: 240 seconds]
Mia has quit [Ping timeout: 250 seconds]
paprika has quit [Client Quit]
salerace_ has quit [Quit: salerace_]
JohanP has joined #ruby
phaul has joined #ruby
phaul has quit [Ping timeout: 245 seconds]
mn3m has quit [Quit: mn3m]
Technodrome has joined #ruby
sagax has quit [Ping timeout: 240 seconds]
<Technodrome> ytti_ you know actually maybe they are right
<Technodrome> basically by failing to properly do questions which involve data sets and combinations, and questions involving implementing a linkedlist and what not, maybe that shows that i didn't finish cs school
<Technodrome> which would be a correct assumption
poontangmessiah has quit [Remote host closed the connection]
phaul has joined #ruby
za1b1tsu has joined #ruby
JohanP has quit [Ping timeout: 276 seconds]
phaul has quit [Ping timeout: 265 seconds]
phaul has joined #ruby
kobain has joined #ruby
plujon has joined #ruby
phaul has quit [Ping timeout: 246 seconds]
lxsameer has joined #ruby
phaul has joined #ruby
za1b1tsu has quit [Remote host closed the connection]
phaul has quit [Ping timeout: 276 seconds]
socomm has joined #ruby
<socomm> I'm curious if theres a way to have a hash within a hash.
<leftylink> of course
<leftylink> &>> {a: {b: 5}}
<rubydoc> # => {:a=>{:b=>5}} (https://carc.in/#/r/81uc)
<socomm> I want to have something like ( host => { ip => '10.10.10.10', os => 'linux}' ) or something to that effect.
<leftylink> as we can see, the hash is within the hash
phaul has joined #ruby
<leftylink> hashes can even be keys in hashes, though that is a bit strange
<leftylink> &>> {{a: 1} => {b: 2}}
<rubydoc> # => {{:a=>1}=>{:b=>2}} (https://carc.in/#/r/81ue)
<leftylink> and please don't try to mutate that hash-that-is-a-key
<leftylink> it was just a demonstration of what is possible