havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.7.1, 2.6.6, 2.5.8: 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!
drincruz has joined #ruby
d10n-work has quit [Read error: Connection reset by peer]
d10n-work has joined #ruby
leitz has joined #ruby
drincruz has quit [Ping timeout: 246 seconds]
TvL2386 has quit [Ping timeout: 246 seconds]
DaRock has joined #ruby
leitz has quit [Quit: Leaving]
TvL2386 has joined #ruby
dfucci has joined #ruby
dfucci has quit [Ping timeout: 256 seconds]
tramplefoot has joined #ruby
<tramplefoot> what was exactly the design choice behind the entire single-quote vs. double-quote strings ordeal?
ur5us has quit [Ping timeout: 260 seconds]
ExoUNX has joined #ruby
<tramplefoot> are there any other languages that offer the same semantic?
<havenwood> tramplefoot: Perlism iir.
<havenwood> tramplefoot: Single quotes and %q are the no interpolation option for Strings.
<havenwood> tramplefoot: I just use single quotes in Ruby unless I'm interpolating or using backslashes.
<havenwood> tramplefoot: If you see a single quoted String, you can know it has no interpolation without looking further.
<havenwood> tramplefoot: In Ruby, like Perl, TIMTOWTDI.
<havenwood> tramplefoot: There is more than one way to do it.
<adam12> Ironically, I use double quoted strings _everywhere_.
<havenwood> adam12: Let's fight!
<havenwood> adam12: :P
<havenwood> adam12: So what if you have a String just containing a single double quote?
<havenwood> adam12: Exception to the rule, or?: "\""
<adam12> havenwood: I'd probably %Q there if that was the case. Doesn't happen that frequently, at least not as frequently as single quote
<adam12> single single quote
<havenwood> adam12: I could see it either way. I think my slight preference for single quote is actually aesthetic. I wouldn't mind not having a choice though.
<havenwood> adam12: Yeah, just joking on the single double quote.
<havenwood> '"'
<adam12> havenwood: https://youtu.be/tRfKdNxIOcQ
<havenwood> Though I have definitely written that.
<adam12> There was good argument about single/double somewhere.. maybe Rubocop's style guide.
<adam12> I just like not having to think. Can I put a variable here? Yes, of course, because I always use double quotes.
<havenwood> Yeah, I recall they stuck with single quote and I was every-so-slightly pleased.
<havenwood> I think after a survey showed a near split in use.
<adam12> That said I've been using Kernel.format a lot lately.
<havenwood> Yeah, if the method call doesn't matter that does seem cleaner overall.
<adam12> tramplefoot: PHP has similar semantics for single/double quote IIRC. But in their case, I believe single quotes do (did?) offer some performance gains over double quotes. Not sure if that's still the case, and last I remember, Ruby didn't have any significant performance differences for single/double quotes.
<havenwood> adam12: Single-quoted strings - 58%
<havenwood> adam12: Other (e.g. that they don’t care about this) - 3%
<havenwood> adam12: Only 3% don't care. Hahah.
<adam12> havenwood: Blown away.
* havenwood proposes we paint the bike shed with a glitter clearcoat
<adam12> Naturally.
<adam12> I win. The Canadian takes home the gold.
jenrzzz has quit [Ping timeout: 240 seconds]
<havenwood> Just mailed in Andromeda's Canadian citizenship form. :)
<tramplefoot> that zenspider website is much better than pragprogs ancient api reference, thanks for the link!!
<adam12> havenwood: O_o well welcome eh
ur5us has joined #ruby
jenrzzz has joined #ruby
<apotheon> 00:32 < havenwood> tramplefoot: I just use single quotes in Ruby unless I'm interpolating or using backslashes.
<apotheon> havenwood: ditto
<apotheon> Singles are easier to type, and I guess on some theoretical level it's better to avoid forcing interpolation when there's nothing to interpolate.
<apotheon> . . . but backslashes are annoying, so I quickly switch to doubles when needed to avoid backslashes.
<apotheon> hmm
<apotheon> "StandardRB" is wrong about some things.
<apotheon> can't do it
BTRE has quit [Remote host closed the connection]
<apotheon> Multiline brace-delimited blocks, for instance, are harder to read clearly, given Ruby's block variable passing syntax.
<apotheon> shit's ugly, too
<apotheon> Using do/end on a single line makes it harder to read, too, in my opinion.
<apotheon> ugh
<apotheon> not happy with semantic choices for non-semantic syntax
<tweaks> double++
<apotheon> I'm going to have a very difficult time defending Ruby's readability if this kind of thing actually becomes "normal".
<apotheon> I feel like a lot of JavaScripty ideas are creeping into the Ruby community -- and not *good* JavaScripty ideas.
cthu| has quit [Ping timeout: 260 seconds]
bmurt has joined #ruby
drincruz has joined #ruby
<apotheon> Meanwhile, JavaScript seems to be mostly importing good ideas from Ruby.
greypack has quit [Ping timeout: 256 seconds]
greypack has joined #ruby
elcuervo has quit [Read error: Connection reset by peer]
elcuervo has joined #ruby
BTRE has joined #ruby
dostoyevsky has quit [Ping timeout: 265 seconds]
sirecote has quit [Ping timeout: 265 seconds]
SeepingN has quit [Ping timeout: 256 seconds]
rose_nd_ash has joined #ruby
Mikaela0 has joined #ruby
levifig has quit [Ping timeout: 265 seconds]
e2 has quit [Ping timeout: 265 seconds]
eldritch has quit [Ping timeout: 265 seconds]
dostoyevsky has joined #ruby
ule has quit [Ping timeout: 265 seconds]
go|dfish has quit [Ping timeout: 265 seconds]
dorian has quit [Ping timeout: 265 seconds]
Sp4rKy has quit [Ping timeout: 265 seconds]
mangoicedtea has quit [Read error: Connection reset by peer]
dorian has joined #ruby
levifig has joined #ruby
t3hyoshi has quit [Ping timeout: 260 seconds]
lightstalker has quit [Ping timeout: 265 seconds]
Mikaela has quit [Ping timeout: 265 seconds]
Mikaela0 is now known as Mikaela
ule has joined #ruby
skape has quit [Quit: Connection closed for inactivity]
lektrik has joined #ruby
e2 has joined #ruby
eldritch has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
t3hyoshi has joined #ruby
rose_nd_ash has joined #ruby
Sp4rKy has joined #ruby
sirecote has joined #ruby
meinside has joined #ruby
lightstalker has joined #ruby
go|dfish has joined #ruby
bruce_lee has quit [Ping timeout: 240 seconds]
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
rose_nd_ash has quit [Remote host closed the connection]
tramplefoot has quit [Quit: Leaving.]
ChmEarl has joined #ruby
greypack has quit [Ping timeout: 256 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
braincra- has quit [Quit: bye bye]
braincrash has joined #ruby
rose_nd_ash has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
adu has quit [Ping timeout: 240 seconds]
adu has joined #ruby
mozzarella has quit [Remote host closed the connection]
mozzarella has joined #ruby
mozzarella has quit [Read error: Connection reset by peer]
mozzarella has joined #ruby
adu has quit [Quit: adu]
gonzar has joined #ruby
gonzar has left #ruby [#ruby]
gonzar has joined #ruby
drincruz has quit [Ping timeout: 260 seconds]
gonzar has quit [Remote host closed the connection]
SeepingN has joined #ruby
greypack has joined #ruby
gix- has joined #ruby
gix has quit [Disconnected by services]
adu has joined #ruby
lektrik has quit [Quit: Leaving]
lektrik has joined #ruby
UncleCid has quit [Remote host closed the connection]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bsdbandit-01 has quit [Quit: -a- Connection Timed Out]
bsdbandit-01 has joined #ruby
Technodrome has joined #ruby
ChmEarl has quit [Quit: Leaving]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gix- has quit [Ping timeout: 246 seconds]
donofrio has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 256 seconds]
ur5us has quit [Ping timeout: 260 seconds]
Guest55603 has quit []
KnownSyntax has joined #ruby
elphe has joined #ruby
bsdbandit-01 has quit [Quit: -a- Connection Timed Out]
bsdbandit-01 has joined #ruby
jenrzzz has joined #ruby
bocaneri has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
Rudd0 has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
kashike has quit [Ping timeout: 272 seconds]
imadper` has quit [Remote host closed the connection]
rippa has joined #ruby
dfucci has joined #ruby
Secret-Fire has quit [Read error: Connection reset by peer]
xco has joined #ruby
Secret-Fire has joined #ruby
schne1der has joined #ruby
Secret-Fire has quit [Max SendQ exceeded]
Secret-Fire has joined #ruby
claudiuinberlin has joined #ruby
Technodrome has quit [Ping timeout: 256 seconds]
Emmanuel_ChanelW has joined #ruby
ap4y has quit [Ping timeout: 256 seconds]
adu has quit [Quit: adu]
klaas has quit [Read error: Connection reset by peer]
imode has quit [Ping timeout: 256 seconds]
sarna has joined #ruby
klaas has joined #ruby
TzilTzal has joined #ruby
UncleCid has joined #ruby
oddp has joined #ruby
TzilTzal has quit [Remote host closed the connection]
bsdbandit-01 has quit [Quit: -a- Connection Timed Out]
bsdbandit-01 has joined #ruby
TzilTzal has joined #ruby
TzilTzal has quit [Client Quit]
GodFather has quit [Ping timeout: 246 seconds]
vondruch has joined #ruby
snickers has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
ujjain2 has joined #ruby
jenrzzz has joined #ruby
rose_nd_ash has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
ujjain2 has quit [Quit: Textual IRC Client: www.textualapp.com]
Dara has quit [Ping timeout: 240 seconds]
Dara has joined #ruby
ap4y has joined #ruby
ap4y has quit [Ping timeout: 256 seconds]
devops has quit [Quit: Leaving]
rose_nd_ash has quit [Remote host closed the connection]
cd has quit [Quit: cd]
rose_nd_ash has joined #ruby
Querens has quit [Quit: No Ping reply in 180 seconds.]
voker57 has quit [Remote host closed the connection]
Querens has joined #ruby
voker57 has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
dionysus69 has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
_whitelogger has joined #ruby
chalkmonster has joined #ruby
claudiuinberlin has quit [Ping timeout: 272 seconds]
<rapha> morning
<rapha> why is it that if i have a Gem installed, "require 'lalalagem'" from 'lalala.rb' will work fine, but but if there is a 'Gemfile' present in the same folder which does not mention the lalala gem, then it will fail?
<rapha> oh wait, no that's not the pattern
<rapha> only if i "require 'lalalagem'" from within the _Rakefile_ will it not work
<rapha> despite the Gem being installed
<rapha> does Rake somehow ignore non-bundled gems in the presence of a Gemfile?
chalkmonster has quit [Ping timeout: 260 seconds]
banisterfiend has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
<jhass> how do you run rake?
yxhuvud has quit [Read error: Connection reset by peer]
yxhuvud has joined #ruby
<jhass> bundler will only (have a chance to) restrict the load path when "bundler/setup" is required, either through bundle exec, a bin/ wrapper doing it or some other file before your require "lalala" doing it
<jhass> also check your shell aliases and $PATH for some unexpected modifications to what you run
chalkmonster has joined #ruby
<rapha> ah
<rapha> found a simple way
<rapha> added it to the development group
<rapha> then it somehow accepted it as being installed and didn't try to install it again but the require works
<rapha> thanks jhass
<jhass> not "somehow", that's exactly what bundler's job is
dfucci has quit [Quit: Lost terminal]
fercell has joined #ruby
Dara has quit [Remote host closed the connection]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
banisterfiend_ has joined #ruby
Guest30809 has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
Guest30809 has left #ruby [#ruby]
banisterfiend__ has joined #ruby
banisterfiend_ has quit [Ping timeout: 244 seconds]
drincruz has joined #ruby
donofrio has joined #ruby
GodFather has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
sleetdrop has joined #ruby
gitter1234 has joined #ruby
GodFather has joined #ruby
GodFather has quit [Remote host closed the connection]
GodFather has joined #ruby
snickers has quit [Quit: Textual IRC Client: www.textualapp.com]
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TCZ has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
xco has joined #ruby
dualfade has quit [Ping timeout: 256 seconds]
dualfade has joined #ruby
rose_nd_ash has joined #ruby
sleetdrop has quit [Ping timeout: 256 seconds]
cow[moo] has joined #ruby
gonza has joined #ruby
bsdbandit-01 has quit [Quit: -a- Connection Timed Out]
gonza has quit [Quit: Leaving]
bsdbandit-01 has joined #ruby
bmurt has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banisterfiend__ is now known as banisterfiend
banister_ has joined #ruby
SeepingN has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
lucasb has joined #ruby
oddp has quit [Quit: quit]
elcuervo has quit [Read error: Connection reset by peer]
elcuervo has joined #ruby
m3ow1606 has joined #ruby
sarna has quit [Quit: Connection closed]
adu has joined #ruby
elphe has quit [Ping timeout: 256 seconds]
stryek has joined #ruby
GodFather has quit [Ping timeout: 256 seconds]
Emmanuel_ChanelW has quit [Quit: Leaving]
davispuh has joined #ruby
chalkmon1 has joined #ruby
vqrs_ has joined #ruby
chalkmonster has quit [Ping timeout: 260 seconds]
vqrs has quit [Ping timeout: 244 seconds]
chalkmonster has joined #ruby
chalkmon1 has quit [Ping timeout: 265 seconds]
TCZ has quit [Quit: Leaving]
Dara has joined #ruby
GodFather has joined #ruby
FrankyCyborg has joined #ruby
fercell has quit [Quit: WeeChat 2.8]
GodFather has quit [Ping timeout: 264 seconds]
banisterfiend has quit [Ping timeout: 265 seconds]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banister_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SeepingN has joined #ruby
iNs has quit [Remote host closed the connection]
banisterfiend has joined #ruby
iNs has joined #ruby
impermanence has quit [Quit: Connection closed]
Tempesta has quit [Ping timeout: 246 seconds]
Tempesta has joined #ruby
GodFather has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
cthu| has joined #ruby
sgen has joined #ruby
crowley has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gix has joined #ruby
DaRock has quit [Ping timeout: 264 seconds]
banisterfiend has joined #ruby
Esa__ has joined #ruby
cthu| has quit [Ping timeout: 240 seconds]
cthu| has joined #ruby
cd has joined #ruby
imode has joined #ruby
ruurd has joined #ruby
cthu| has quit [Read error: Connection reset by peer]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
Mia has quit [Ping timeout: 260 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cthulchu_ has joined #ruby
orbyt_ has joined #ruby
vondruch has quit [Ping timeout: 246 seconds]
claudiuinberlin has joined #ruby
adu has quit [Ping timeout: 246 seconds]
bsdbandit-01 has quit [Ping timeout: 256 seconds]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
lalitmee has joined #ruby
adu has joined #ruby
banisterfiend has joined #ruby
howdoi has joined #ruby
lektrik has quit [Quit: Leaving]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
banisterfiend has quit [Client Quit]
banisterfiend has joined #ruby
bocaneri has quit [Remote host closed the connection]
elphe has joined #ruby
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GodFather has quit [Ping timeout: 265 seconds]
Dara has quit [Ping timeout: 240 seconds]
crowley has quit [Quit: Leaving]
lalit has joined #ruby
banister_ has joined #ruby
lalitmee has quit [Ping timeout: 264 seconds]
Esa__ has quit []
banister_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banister_ has joined #ruby
macool has joined #ruby
greypack has quit [Ping timeout: 240 seconds]
lalit is now known as lalitmee
banister_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elphe has quit [Ping timeout: 240 seconds]
elphe has joined #ruby
adu has quit [Ping timeout: 264 seconds]
adu has joined #ruby
postmodern has quit [Quit: Leaving]
adu has quit [Client Quit]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
greypack has joined #ruby
elphe has quit [Ping timeout: 246 seconds]
dualfade has quit [Ping timeout: 260 seconds]
cnsvc has joined #ruby
dualfade has joined #ruby
greypack has quit [Ping timeout: 264 seconds]
cd has quit [Quit: cd]
ChmEarl has joined #ruby
xco has joined #ruby
dualfade has quit [Ping timeout: 240 seconds]
m3ow1607 has joined #ruby
dualfade has joined #ruby
gitter1234 has quit [Quit: Connection closed for inactivity]
m3ow1606 has quit [Ping timeout: 240 seconds]
greypack has joined #ruby
ur5us has joined #ruby
ellcs has joined #ruby
orbyt_ has joined #ruby
Rudd0 has joined #ruby
elphe has joined #ruby
ellcs has quit [Ping timeout: 260 seconds]
elphe has quit [Ping timeout: 246 seconds]
cliluw has quit [Ping timeout: 240 seconds]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ap4y has joined #ruby
macool has quit [Ping timeout: 272 seconds]
Secret-Fire has quit [Remote host closed the connection]
Secret-Fire has joined #ruby
GodFather has joined #ruby
cliluw has joined #ruby
m3ow1607 has quit [Ping timeout: 256 seconds]
Codegenix has joined #ruby
elphe has joined #ruby
Secret-Fire has quit [Remote host closed the connection]
Secret-Fire has joined #ruby
Codegenix has left #ruby [#ruby]
TCZ has joined #ruby
dualfade has quit [Ping timeout: 240 seconds]
dualfade has joined #ruby
<bruce_lee> \(^_^)/ @all
<bruce_lee> <-- a little bit drunk (germany/central european time zone)
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<go|dfish> ┏━┓┏━┓┏━┓ ︵ /(^.^/)
TCZ has quit [Quit: Leaving]
<Rounin> {%D ⊃⊣
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<go|dfish> awesome :)
<FrankyCyborg> bruce_lee: drunk on power or Plörrbräu ?
DaRock has joined #ruby
* phaul building native extensions for curses
kaivai has joined #ruby
kaivai_ has quit [Ping timeout: 246 seconds]
<phaul> I did a tech talk today inspired by https://www.youtube.com/watch?v=TOEi6T2mtHo I was presenting in gosu & ruby with this code https://github.com/phaul/rays
<phaul> I watched the recording after and watching yourself is such a weird experience
<phaul> I never knew I sounded like that... with such a weird accent :D
chalkmonster has quit [Quit: WeeChat 2.9]
ap4y has quit [Read error: Connection reset by peer]
ap4y has joined #ruby
gonza has joined #ruby
gonza has quit [Client Quit]
gonza has joined #ruby
bambanx has joined #ruby
drincruz has quit [Ping timeout: 265 seconds]
jenrzzz_ has joined #ruby
stryek has quit [Quit: Connection closed for inactivity]
ChmEarl has quit [Quit: Leaving]
kristian_on_linu has joined #ruby
mangoicedtea has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
Lyubo1 has quit [Ping timeout: 256 seconds]
elphe has quit [Ping timeout: 256 seconds]
<havenwood> phaul: Ooh, neat! Shareable presentation video?
schne1der has quit [Ping timeout: 265 seconds]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SeepingN has joined #ruby
bambanx has quit [Read error: Connection reset by peer]
kristian_on_linu has quit [Remote host closed the connection]