havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.3, 2.5.5, 2.7.0-preview1: 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!
AJA4350 has quit [Ping timeout: 245 seconds]
AJA4350 has joined #ruby
AJA4350 has quit [Remote host closed the connection]
dviola has joined #ruby
admin123 has quit [Ping timeout: 245 seconds]
jottr has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
greengriminal has joined #ruby
AJA4350 has joined #ruby
AJA4350 has quit [Remote host closed the connection]
AJA4350 has joined #ruby
leitz has quit [Quit: Leaving]
gix has quit [Ping timeout: 272 seconds]
brool has joined #ruby
orbyt_ has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
admin123 has joined #ruby
Fernando-Basso has quit [Remote host closed the connection]
admin123 has quit [Ping timeout: 244 seconds]
orbyt_ has joined #ruby
chalkmonster has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.5]
jenrzzz has quit [Ping timeout: 268 seconds]
none__ has joined #ruby
admin123 has joined #ruby
zacts has joined #ruby
_dbugger has quit [Ping timeout: 264 seconds]
fphilipe_ has joined #ruby
admin123 has quit [Ping timeout: 246 seconds]
tf2ftw has quit [Ping timeout: 245 seconds]
greengriminal has quit [Quit: Leaving]
fphilipe_ has quit [Ping timeout: 248 seconds]
cd has quit [Quit: cd]
x86sk has quit [Quit: Connection closed for inactivity]
conta1 has quit [Quit: conta1]
jottr has joined #ruby
sylario has quit [Quit: Connection closed for inactivity]
jottr has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
admin123 has joined #ruby
tdy has joined #ruby
admin123 has quit [Ping timeout: 245 seconds]
englishm has quit [Excess Flood]
englishm has joined #ruby
Fusl has quit [Quit: K-Lined]
Fusl has joined #ruby
ramfjord has joined #ruby
jottr has joined #ruby
jenrzzz has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
jottr has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 272 seconds]
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
tdy has joined #ruby
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
tdy has joined #ruby
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
tdy has joined #ruby
AnandJambhulkar has joined #ruby
AnandJambhulkar has quit [Client Quit]
jenrzzz has joined #ruby
zacts has quit [Quit: WeeChat 2.4]
jenrzzz has quit [Ping timeout: 246 seconds]
henninb has quit [Quit: leaving]
admin123 has joined #ruby
jenrzzz has joined #ruby
admin123 has quit [Ping timeout: 258 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
fphilipe_ has joined #ruby
fphilipe_ has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
Swyper has joined #ruby
Inline has quit [Remote host closed the connection]
Inline has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
chunkypuffs has quit [Quit: ZNC 1.7.1 - https://znc.in]
chunkypuffs has joined #ruby
brool has quit [Ping timeout: 264 seconds]
Swyper has quit [Remote host closed the connection]
jenrzzz has joined #ruby
_whitelogger has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
_whitelogger has joined #ruby
admin123 has joined #ruby
_whitelogger has joined #ruby
AJA4350 has quit [Remote host closed the connection]
Lyubo1 has quit [Ping timeout: 268 seconds]
m1khail has joined #ruby
x86sk has joined #ruby
m1khail has quit [Ping timeout: 246 seconds]
jottr has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 248 seconds]
polishdub has joined #ruby
Lyubo1 has joined #ruby
reber has quit [Ping timeout: 248 seconds]
rorochan has joined #ruby
sauvin has joined #ruby
admin123 has joined #ruby
admin123 has quit [Ping timeout: 246 seconds]
orbyt_ has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
rorochan has quit [Read error: Connection reset by peer]
rorochan has joined #ruby
rorochan has quit [Ping timeout: 268 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
polishdub has quit [Quit: leaving]
fphilipe_ has joined #ruby
oetjenj has joined #ruby
fphilipe_ has quit [Ping timeout: 245 seconds]
admin123 has joined #ruby
Lyubo1 has quit [Ping timeout: 245 seconds]
admin123 has quit [Ping timeout: 248 seconds]
Lyubo1 has joined #ruby
MuffinPimp has quit [Quit: Goodbye.]
MuffinPimp has joined #ruby
Furai has quit [Quit: WeeChat 2.5]
jottr has joined #ruby
admin123 has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
tdy has joined #ruby
ramfjord has joined #ruby
admin123 has quit [Ping timeout: 246 seconds]
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
Intelo_ has quit [Remote host closed the connection]
Intelo_ has joined #ruby
galaxie has quit [Remote host closed the connection]
tdy has joined #ruby
sameerynho has joined #ruby
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
tdy has joined #ruby
roger_rabbit has quit [Quit: WeeChat 1.6]
suukim has joined #ruby
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
tdy has joined #ruby
x86sk has quit [Quit: Connection closed for inactivity]
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
tdy has joined #ruby
Furai has joined #ruby
fphilipe_ has joined #ruby
fphilipe_ has quit [Ping timeout: 245 seconds]
tdy has quit [Ping timeout: 245 seconds]
glosoli has joined #ruby
none__ has quit [Quit: Leaving]
dbugger has joined #ruby
rorochan has joined #ruby
admin123 has joined #ruby
za1b1tsu has joined #ruby
admin123 has quit [Ping timeout: 245 seconds]
za1b1tsu has quit [Remote host closed the connection]
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
cyclonis has joined #ruby
glosoli has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr has joined #ruby
_whitelogger has joined #ruby
davor_ has joined #ruby
davor has quit [Ping timeout: 245 seconds]
davor_ is now known as davor
kapilp has joined #ruby
MuffinPimp has quit [Quit: Goodbye.]
MuffinPimp has joined #ruby
admin123 has joined #ruby
admin123 has quit [Ping timeout: 272 seconds]
jmcgnh_ has joined #ruby
jmcgnh has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
jmcgnh_ is now known as jmcgnh
zipkid has quit [Ping timeout: 252 seconds]
wbnns has quit [Ping timeout: 252 seconds]
zipkid has joined #ruby
pwillard has quit [Ping timeout: 252 seconds]
wbnns has joined #ruby
victorqueiroz has quit [Ping timeout: 252 seconds]
sparc_ has quit [Ping timeout: 252 seconds]
jokester has quit [Ping timeout: 252 seconds]
hsiktas has quit [Ping timeout: 252 seconds]
Liothen has quit [Ping timeout: 252 seconds]
strmpnk has quit [Ping timeout: 252 seconds]
raggi has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
kevinsjoberg has quit [Ping timeout: 252 seconds]
JayDoubleu has quit [Ping timeout: 252 seconds]
tobiasvl has quit [Ping timeout: 276 seconds]
pwillard has joined #ruby
victorqueiroz has joined #ruby
jtperreault has quit [Ping timeout: 252 seconds]
tvl has joined #ruby
tvl is now known as tobiasvl
strmpnk has joined #ruby
sparc_ has joined #ruby
raggi has joined #ruby
hsiktas has joined #ruby
Liothen has joined #ruby
kevinsjoberg has joined #ruby
JayDoubleu has joined #ruby
Fernando-Basso has joined #ruby
Fernando-Basso has quit [Max SendQ exceeded]
jokester has joined #ruby
Fernando-Basso has joined #ruby
jtperreault has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
fphilipe_ has joined #ruby
Fernando-Basso has quit [Remote host closed the connection]
Fernando-Basso has joined #ruby
Nicmavr has joined #ruby
ropeney has joined #ruby
jottr has quit [Ping timeout: 268 seconds]
ropeney_ has quit [Ping timeout: 246 seconds]
fphilipe_ has quit [Ping timeout: 258 seconds]
fphilipe_ has joined #ruby
za1b1tsu has joined #ruby
admin123 has joined #ruby
za1b1tsu has quit [Remote host closed the connection]
gix has joined #ruby
admin123 has quit [Ping timeout: 245 seconds]
za1b1tsu has joined #ruby
BH23 has joined #ruby
duderonomy has joined #ruby
duderonomy has quit [Client Quit]
fphilipe_ has quit [Ping timeout: 246 seconds]
jottr has joined #ruby
lord4163 has quit [Excess Flood]
jottr has quit [Ping timeout: 244 seconds]
lord4163 has joined #ruby
chalkmonster has joined #ruby
teardown has quit [Ping timeout: 245 seconds]
nowhere_man has quit [Ping timeout: 272 seconds]
fphilipe_ has joined #ruby
admin123 has joined #ruby
sagax has quit [Quit: Konversation terminated!]
BH23 has quit [Ping timeout: 272 seconds]
admin123 has quit [Ping timeout: 248 seconds]
Intelo_ has quit [Ping timeout: 260 seconds]
Fernando-Basso has quit [Remote host closed the connection]
admin123 has joined #ruby
admin123 has quit [Ping timeout: 246 seconds]
ur5us_ has joined #ruby
fphilipe_ has quit [Ping timeout: 246 seconds]
za1b1tsu has quit [Remote host closed the connection]
ur5us_ has quit []
reber has joined #ruby
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dellavg has quit [Ping timeout: 272 seconds]
nowhere_man has joined #ruby
za1b1tsu has joined #ruby
TheCoolBrian has joined #ruby
gabschem_ has joined #ruby
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
jenrzzz has joined #ruby
fphilipe_ has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
AJA4350 has joined #ruby
<TheCoolBrian> how often do people use this IRC?
glosoli has joined #ruby
chalkmonster has quit [Read error: Connection reset by peer]
lnh^ has joined #ruby
Swyper has joined #ruby
enh^ has joined #ruby
Swyper has quit [Remote host closed the connection]
<TheCoolBrian> Well here is a link to the only Ruby Discord https://discord.gg/UyQnKrT
Swyper has joined #ruby
jottr has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
fphilipe_ has quit [Ping timeout: 268 seconds]
za1b1tsu has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 268 seconds]
Swyper has quit [Ping timeout: 268 seconds]
Swyper has joined #ruby
dbugger has quit [Quit: Leaving]
kyrylo has joined #ruby
Lyubo1 has quit [Ping timeout: 246 seconds]
GodFather_ has joined #ruby
GodFather has joined #ruby
kyrylo has quit [Read error: Connection reset by peer]
kyrylo has joined #ruby
Lyubo1 has joined #ruby
kyrylo has quit [Read error: Connection reset by peer]
kyrylo_ has joined #ruby
TheCoolBrian has quit []
kyrylo_ has quit [Read error: Connection reset by peer]
AJA4350 has quit [Ping timeout: 245 seconds]
TheCoolBrian has joined #ruby
jottr has joined #ruby
go|dfish has joined #ruby
Fernando-Basso has joined #ruby
jottr has quit [Ping timeout: 246 seconds]
lucasb has joined #ruby
noizex has joined #ruby
AJA4350 has joined #ruby
fphilipe_ has joined #ruby
TheCoolBrian has quit []
fphilipe_ has quit [Ping timeout: 246 seconds]
za1b1tsu has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 245 seconds]
AJA4351 is now known as AJA4350
cd has joined #ruby
nowhere_man has quit [Ping timeout: 244 seconds]
kyrylo has joined #ruby
dbugger has joined #ruby
jottr has joined #ruby
kyrylo has quit [Read error: Connection reset by peer]
kyrylo has joined #ruby
kyrylo has quit [Read error: Connection reset by peer]
kyrylo has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
kyrylo has quit [Read error: Connection reset by peer]
kyrylo has joined #ruby
kyrylo has quit [Read error: Connection reset by peer]
glosoli has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kyrylo has joined #ruby
kyrylo has quit [Read error: Connection reset by peer]
fphilipe_ has joined #ruby
kyrylo has joined #ruby
<barg> irb arrow keys aren't working even with irb --noreadline
<barg> I get like ^[[A
<Iambchop> barg: what version ruby, how installed, what os/shell, did it ever work?
kyrylo has quit [Read error: Connection reset by peer]
kyrylo has joined #ruby
kyrylo has quit [Read error: Connection reset by peer]
sylario has joined #ruby
sagax has joined #ruby
<barg> also if I try pry<ENTER> it says "Reason: image not found - /usr/local/Cellar/ruby/2.5.0/lib/ruby/2.5.0/x86_64-darwin16/readline.bundle"
<barg> ruby 2.5.0
<barg> osx
<barg> it probably worked some months ago when i last used irb, as i think i'd remember a problem like this
<barg> ruby --version says "ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin16]"
AJA4351 has joined #ruby
cyclonis has quit [Read error: Connection reset by peer]
AJA4350 has quit [Ping timeout: 272 seconds]
AJA4351 is now known as AJA4350
englishm has quit [Excess Flood]
englishm has joined #ruby
jottr has joined #ruby
DaRock has quit [Ping timeout: 244 seconds]
AJA4350 has quit [Ping timeout: 245 seconds]
oetjenj has joined #ruby
kyrylo has joined #ruby
queip has quit [Ping timeout: 272 seconds]
rprimus has quit [Remote host closed the connection]
kyrylo has quit [Read error: Connection reset by peer]
Frobozz has joined #ruby
<apotheon> Wasn't there an option for using editline instead of readline with irb?
<havenwood> apotheon: There's a new default gem in trunk, Reline, that's a readline fallback.
<havenwood> barg: brew upgrade
<apotheon> huh
<apotheon> I hadn't heard about that.
fphilipe_ has quit [Ping timeout: 245 seconds]
m1khail has joined #ruby
<apotheon> I might have use for reline at some point in the nearish future.
<apotheon> havenwood: Thanks!
jottr has quit [Ping timeout: 245 seconds]
<havenwood> apotheon: rlwrap is another neat tool that you can use to wrap anything without readline support. perl6 doesn't support readline, for example, but you can: rlwrap perl6
<havenwood> it's handy when you want to add readlne to a toy repl, etc
<apotheon> I've heard of rlwrap.
<havenwood> There's another alternative that does similar but I can't recall the name.
m1khail has quit [Ping timeout: 245 seconds]
<barg> after doing brew upgrade, now when I do pry<ENTER> it says "can't find gem pry (>= 0.a) with executable pry (Gem::GemNotFoundException)"
rprimus has joined #ruby
<barg> and if i try gem install pry, it says "bash: /usr/local/bin/gem: No such file or directory"
queip has joined #ruby
<barg> ah opening an ew window helps.. i can do irb now and arrow keys work!
<barg> thanks
<apotheon> I'm curious about the rlwrap alternative, now.
<barg> but gem install pry still gives that error
<apotheon> (assuming it's a Ruby gem; I know about the thing that comes with GNU Readline)
<barg> hmm now it says "You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory."
nowhere_man has joined #ruby
<havenwood> barg: That looks like system Ruby. You can install gems with system Ruby with sudo. But you're trying to use Brew Ruby, right?
<barg> my ruby --version has dropped to 2.3.7
<barg> havenwood: i haven't ever done brew ruby as far as i can recall
<havenwood> barg: That's likely your system Ruby.
<havenwood> barg: What Ruby are you trying to use? How'd you install Ruby?
<barg> i will try sudo gem install pry
<havenwood> barg: You can use system Ruby, but most Rubyists opt to install a newer Ruby.
<apotheon> Yeah, if the version *dropped* after a brew upgrade, it seems likely to have reverted to the system ruby.
<havenwood> barg: You could: brew install ruby
<barg> sudo gem install pry worked, now i open a new window and pry works..
<barg> will brew install ruby, install the latest stable one?
<havenwood> barg: You'll probably want to install Ruby 2.6 at some point. :)
<havenwood> barg: yes
<havenwood> barg: Or here are instructions for chruby, if you want to be able to switch between various versions: https://ryanbigg.com/2015/06/mac-os-x-ruby-ruby-install-chruby-and-you
<barg> I have tried brew install ruby, and it says ruby 2.6 is already installed, and suggested brew reinstall ruby. So I tried that. And opened a new window, and it's still on ruby 2.3.7
<barg> ah was then a path issue export PATH="/usr/local/opt/ruby/bin:$PATH"
<barg> so now it's showing ruby 2.6
ramfjord has quit [Ping timeout: 245 seconds]
<barg> thanks
thebetrayer has quit [Ping timeout: 248 seconds]
Caerus has quit [Ping timeout: 245 seconds]
insolentworm has quit [Ping timeout: 248 seconds]
thebetrayer has joined #ruby
ascarter has joined #ruby
linuxdaemon has quit [Ping timeout: 252 seconds]
jacksoow_ has quit [Ping timeout: 248 seconds]
insolentworm has joined #ruby
AJA4350 has joined #ruby
Caerus has joined #ruby
fphilipe_ has joined #ruby
jacksoow has joined #ruby
ascarter has quit [Quit: Textual IRC Client: www.textualapp.com]
ascarter has joined #ruby
linuxdaemon has joined #ruby
zacts has joined #ruby
za1b1tsu has quit [Remote host closed the connection]
Frobozz has quit [Read error: Connection reset by peer]
jottr has joined #ruby
Sithembewena has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
ascarter_ has joined #ruby
ascarter has quit [Ping timeout: 276 seconds]
fphilipe_ has quit [Ping timeout: 246 seconds]
ascarter_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
m1khail has joined #ruby
<m1khail> hello
<Sithembewena> Hi
za1b1tsu has joined #ruby
orbyt_ has joined #ruby
AJA4351 has joined #ruby
<Sithembewena> SO does anyone know if/ when Ruby will get parallelism?
jenrzzz has joined #ruby
<Sithembewena> Or any news about losing the GIL?
AJA4350 has quit [Ping timeout: 246 seconds]
AJA4351 is now known as AJA4350
zacts has quit [Quit: WeeChat 2.4]
BTRE has quit [Remote host closed the connection]
BTRE has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
ascarter has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
m1khail has left #ruby ["Leaving"]
jottr has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
fphilipe_ has joined #ruby
zacts has joined #ruby
orbyt_ has joined #ruby
kyrylo has joined #ruby
dbugger has quit [Remote host closed the connection]
kyrylo has quit [Read error: Connection reset by peer]
kyrylo has joined #ruby
Sithembewena has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kyrylo has quit [Read error: Connection reset by peer]
Sithembewena has joined #ruby
kyrylo has joined #ruby
jottr has joined #ruby
kyrylo has quit [Read error: Connection reset by peer]
jottr has quit [Ping timeout: 245 seconds]
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oetjenj has joined #ruby
kyrylo has joined #ruby
kyrylo has quit [Read error: Connection reset by peer]
Sithembewena has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AJA4350 has quit [Ping timeout: 245 seconds]
fphilipe_ has quit [Ping timeout: 268 seconds]
AJA4350 has joined #ruby
tdy has joined #ruby
conta has joined #ruby
rubytoday has joined #ruby
rubytoday has quit [Client Quit]
davor has quit [Ping timeout: 268 seconds]
davor has joined #ruby
jottr has joined #ruby
unixcat has quit [Quit: ZNC - https://znc.in]
jangid has joined #ruby
kyrylo has joined #ruby
kyrylo has quit [Read error: Connection reset by peer]
jottr has quit [Ping timeout: 248 seconds]
conta has quit [Quit: conta]
conta has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fphilipe_ has joined #ruby
kyrylo has joined #ruby
kyrylo has quit [Read error: Connection reset by peer]
rushsteve1 has quit [Quit: The Lounge - https://thelounge.chat]
suukim has quit [Quit: Konversation terminated!]
jottr has joined #ruby
zacts has quit [Quit: WeeChat 2.4]
sh7d has quit [Ping timeout: 272 seconds]
kyrylo has joined #ruby
jottr has quit [Ping timeout: 258 seconds]
sh7d has joined #ruby
kyrylo has quit [Read error: Connection reset by peer]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kyrylo has joined #ruby
dbugger has joined #ruby
fphilipe_ has quit [Ping timeout: 268 seconds]
kyrylo has quit [Read error: Connection reset by peer]
hiroaki has joined #ruby
kyrylo has joined #ruby
rushsteve1 has joined #ruby
kyrylo has quit [Read error: Connection reset by peer]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 272 seconds]
AJA4351 is now known as AJA4350
kyrylo has joined #ruby
<rushsteve1> Hello once again! I'm hoping to get someone to review the patch I submitted https://bugs.ruby-lang.org/issues/15244
conta has quit [Quit: conta]
gabschem_ has quit [Remote host closed the connection]
gabschem_ has joined #ruby
nowhere_man has quit [Read error: Connection reset by peer]
Emmanuel_Chanel has quit [Ping timeout: 248 seconds]
kyrylo has quit [Read error: Connection reset by peer]
kyrylo has joined #ruby
impermanence has joined #ruby
kyrylo has quit [Read error: Connection reset by peer]
kyrylo has joined #ruby
wildtrees has joined #ruby
wildtrees has quit [Remote host closed the connection]
kyrylo has quit [Read error: Connection reset by peer]
wildtrees has joined #ruby
Inline__ has joined #ruby
BH23 has joined #ruby
kyrylo has joined #ruby
wildtrees has quit [Remote host closed the connection]
kyrylo has quit [Read error: Connection reset by peer]
Emmanuel_Chanel has joined #ruby
wildtrees has joined #ruby
Inline has quit [Ping timeout: 264 seconds]
kyrylo has joined #ruby
nowhere_man has joined #ruby
kyrylo has quit [Read error: Connection reset by peer]
kyrylo has joined #ruby
kyrylo has quit [Read error: Connection reset by peer]
kyrylo has joined #ruby
jottr has joined #ruby
kyrylo has quit [Read error: Connection reset by peer]
kyrylo has joined #ruby
kapilp has quit [Quit: Connection closed for inactivity]
kyrylo has quit [Read error: Connection reset by peer]
<havenwood> rushsteve1: I tried your patch and didn't run into edge cases that bothered me in particular. That said, I also have a hard time seeing a case where anyone would use it.
<havenwood> rushsteve1: How should repeated dots in filenames be treated? I'm really not sure.
<havenwood> rushsteve1: I couldn't find any GNU or BSD guidelines that apply.
Intelo has joined #ruby
<havenwood> rushsteve1: Did you encounter this in real world code?
kyrylo has joined #ruby
<havenwood> rushsteve1: Or are you wanting it for logical consistency but haven't run into needing it?
jottr has quit [Ping timeout: 248 seconds]
kyrylo has quit [Read error: Connection reset by peer]
<havenwood> rushsteve1: I'd suggest adding addition test cases. I tried a bunch but didn't actually find inconsistent behavior.
<havenwood> additional*
kyrylo has joined #ruby
<rushsteve1> havenwood: I didn't open the issue so I've never actually encountered the issue. But filename containing nothing but dots *are* technically valid so should probably be handled.
kyrylo has quit [Read error: Connection reset by peer]
<rushsteve1> havenwood: As for how they should be treated, I decided to leave the current method where only the final dot is of significance when determining the extension
<havenwood> rushsteve1: Yeah, I do think your version makes a bit more sense unless someone can explain why you'd remove multiple leading dots from a dotfile.
<havenwood> I couldn't find a reason to do that.
<havenwood> And there's not one documented. ¯\_(ツ)_/¯
kyrylo has joined #ruby
kyrylo has quit [Read error: Connection reset by peer]
<rushsteve1> Since extname only cares about the extension anyway leading dots are somewhat irrelevant. Only the last dot actually matters.
<rushsteve1> Though one edge case just occurred to me in my patch.
kyrylo has joined #ruby
<rushsteve1> `.bashrc` will return "" (empty string) but `...bashrc` will return ".bashrc" since it considers it to be a hidden file named "." with the extension ".bashrc"
<rushsteve1> But then... isn't it? That's how my file manager (Dolphin) treats it
glosoli has joined #ruby
nowhere_man has quit [Remote host closed the connection]
kyrylo has quit [Read error: Connection reset by peer]
kyrylo has joined #ruby
wildtrees has quit [Remote host closed the connection]
kyrylo has quit [Read error: Connection reset by peer]
wildtrees has joined #ruby
kyrylo has joined #ruby
kyrylo has quit [Client Quit]
<rushsteve1> havenwood: any thoughts?
Intelo_ has joined #ruby
Intelo has quit [Ping timeout: 260 seconds]
teardown has joined #ruby
<havenwood> rushsteve1: I think a test for that case would be helpful to solidify expectations. I see your patch as an improvement, but I worry about system-dependent edge cases.
BH23 has quit [Ping timeout: 248 seconds]
jottr has joined #ruby
zacts has joined #ruby
jottr has quit [Ping timeout: 268 seconds]
zacts_pi has joined #ruby
AJA4351 has joined #ruby
wildtrees_ has joined #ruby
jottr has joined #ruby
AJA4350 has quit [Ping timeout: 245 seconds]
AJA4351 is now known as AJA4350
Sithembewena has joined #ruby
zacts has quit [Ping timeout: 276 seconds]
wildtrees has quit [Ping timeout: 246 seconds]
jottr has quit [Ping timeout: 272 seconds]
jottr has joined #ruby
za1b1tsu has quit [Ping timeout: 246 seconds]
Sithembewena has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 245 seconds]
zacts_pi has quit [Quit: WeeChat 2.4]
rorochan has quit [Read error: Connection reset by peer]
Swyper has quit [Remote host closed the connection]
rorochan has joined #ruby
Swyper has joined #ruby
jangid has quit [Quit: Leaving]
Sithembewena has joined #ruby
jottr has joined #ruby
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gabschem_ has quit [Remote host closed the connection]
chalkmonster has joined #ruby
chalkmonster has quit [Client Quit]
jenrzzz has joined #ruby
<Sithembewena> Lambchop thanks
jottr has quit [Ping timeout: 258 seconds]
oetjenj has joined #ruby
fphilipe_ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has quit [Remote host closed the connection]
orbyt_ has joined #ruby
orbyt_ has quit [Client Quit]
Intelo_ has quit [Remote host closed the connection]
gabschem_ has joined #ruby
chalkmonster has joined #ruby
orbyt_ has joined #ruby
gabschem_ has quit [Ping timeout: 244 seconds]
glosoli has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
akkad has joined #ruby
akkad is now known as ober
Sithembewena has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has quit [Ping timeout: 244 seconds]
ober has left #ruby ["ERC (IRC client for Emacs 26.2)"]
jottr has joined #ruby
fphilipe_ has quit [Ping timeout: 272 seconds]
Sithembewena has joined #ruby
wildtrees_ is now known as wildtrees
impermanence has quit [Ping timeout: 246 seconds]
fphilipe_ has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
fphilipe_ has quit [Ping timeout: 268 seconds]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
Intelo has joined #ruby
dbugger has quit [Ping timeout: 264 seconds]
x86sk has joined #ruby
jottr has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
hiroaki has quit [Ping timeout: 268 seconds]
fphilipe_ has joined #ruby
duderonomy has joined #ruby
jordanm has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 248 seconds]
jenrzzz has joined #ruby
Exuma has joined #ruby
duderonomy has quit [Ping timeout: 248 seconds]
jottr has joined #ruby
fphilipe_ has quit [Ping timeout: 248 seconds]
jottr has quit [Ping timeout: 246 seconds]
jordanm has joined #ruby
fphilipe_ has joined #ruby
matheusmoreira has quit [Ping timeout: 258 seconds]
kaleido has quit [Quit: out]
fphilipe_ has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
kaleido has joined #ruby
matheusmoreira has joined #ruby
jottr has joined #ruby
Mrgoose8 has quit [Ping timeout: 268 seconds]
Xiti has quit [Quit: Xiti]
jottr has quit [Ping timeout: 248 seconds]
Sithembewena has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Sithembewena has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.5]
nowhere_man has joined #ruby
fphilipe_ has joined #ruby
zacts has joined #ruby
Exuma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xiti has joined #ruby
GodFather has quit [Ping timeout: 258 seconds]
GodFather_ has quit [Ping timeout: 268 seconds]
RiPuk_ has quit [Ping timeout: 246 seconds]
<barg> what is the reasoning behind ruby's rule that if a method call has no parentheses and 1+ arguments, and a block, then the block has to be done with do end, not with braces?
Fernando-Basso has quit [Remote host closed the connection]
rorochan has quit [Ping timeout: 268 seconds]
rorochan has joined #ruby
jottr has joined #ruby
sameerynho has quit [Ping timeout: 244 seconds]
jottr has quit [Ping timeout: 245 seconds]
rorochan has quit [Ping timeout: 268 seconds]
bvdw has joined #ruby
rorochan has joined #ruby
Freshnuts has joined #ruby
fphilipe_ has quit [Ping timeout: 245 seconds]
m3ssia has joined #ruby
chunkypuffs has quit [Quit: ZNC 1.7.1 - https://znc.in]
fphilipe_ has joined #ruby
<havenwood> barg: It's just a looser precedence, nothing else.
rorochan has quit [Ping timeout: 268 seconds]
<havenwood> barg: Note how {/} is lower precedence than do/end: https://ruby-doc.org/core/doc/syntax/precedence_rdoc.html
<leftylink> I guess they just had to make a decision. in the expression `f y { :hello }`, does f get the block, or does y? and it so turns out that it is y
<leftylink> &>> def y; yield end; def f a; a end; f y { :hello }
<rubydoc> # => :hello (https://carc.in/#/r/7che)
<leftylink> a decision had to be made one way or the other
fphilipe_ has quit [Ping timeout: 272 seconds]
Exuma has joined #ruby
<barg> thanks
Exuma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
segy has quit [Remote host closed the connection]
jottr has joined #ruby
DaRock has joined #ruby
jottr has quit [Ping timeout: 272 seconds]
<barg> so there is no such rule re what I had thought, as I see that f y {} works, and I suppose is equivalent to f (y {}) so, as you say, it's about precedence, but i don't understand how parentheses is worked out basd on precedence. I know how it works for arithmetic operators.. I see that link mentions that {} are low priority and do end are lower. I can see that f 4 do end works. But I can't
<barg> see what parentheses could be put on f 4 do end to have the same effect
zacts has quit [Quit: WeeChat 2.4]