<Aighearach> If you keep the soundtrack to the poignant guide in your playlist, then you can visit Dwemthy's Array every day
<lunarkitty> Oh I forget he did music, need to look at that later
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
rhe has joined #ruby
Winterschlaf has quit [Ping timeout: 244 seconds]
Winterschlaf has joined #ruby
reset has quit [Quit: reset]
Winterschlaf has quit [Ping timeout: 268 seconds]
Winterschlaf has joined #ruby
yxhuvud has quit [Ping timeout: 268 seconds]
yxhuvud has joined #ruby
brw has quit [Quit: The Lounge - https://thelounge.chat]
brw has joined #ruby
brw has quit [Client Quit]
ansimita has joined #ruby
Winterschlaf has quit [Ping timeout: 244 seconds]
dviola has joined #ruby
dviola has quit [Quit: WeeChat 3.2]
Winterschlaf has joined #ruby
pwnd_sfw has quit [Quit: Ping timeout (120 seconds)]
pwnd_sfw has joined #ruby
<nakilon> why doesn't Roda's r.on "api" do r.on "store" do r.get "" do match the "/api/store" ?
parity_ has quit [Quit: leaving]
parity has joined #ruby
Furai has joined #ruby
Furai has quit [Quit: WeeChat 3.2]
Furai has joined #ruby
Furai has quit [Client Quit]
Furai has joined #ruby
lunarkitty has quit [Quit: Connection closed for inactivity]
<Aighearach> I would need punctuation to even understand the question
<nakilon> had to replace r.get "" with r.is method: :get but idk why
Winterschlaf has quit [Ping timeout: 244 seconds]
<Aighearach> punctuation being optional doesn't imply the code will be readable without it
reset has joined #ruby
lunarkitty has joined #ruby
gearnode has joined #ruby
jonathanclarke has joined #ruby
pwnd_sfw has quit [Ping timeout: 264 seconds]
pwnd_sfw has joined #ruby
unyu has quit [Ping timeout: 252 seconds]
unyu has joined #ruby
unyu has quit [Read error: Connection reset by peer]
unyu has joined #ruby
jonathanclarke has quit [Ping timeout: 244 seconds]
unyu has quit [Read error: Connection reset by peer]
jonathanclarke has joined #ruby
unyu has joined #ruby
involans has quit [Ping timeout: 244 seconds]
unyu has quit [Read error: Connection reset by peer]
involans has joined #ruby
yosafbridge` has quit [Quit: Leaving]
yosafbridge has joined #ruby
unyu has joined #ruby
unyu has quit [Read error: Connection reset by peer]
unyu has joined #ruby
<adam12> nakilon: Untested but r.get true do;
<adam12> nakilon: The issue being, r.get “” tries to match “/“, but r.on “api” consumes “/api”, and r.on “store” consumes “/store”, leaving “” as remaining path (not “/“).
unyu has quit [Ping timeout: 268 seconds]
unyu has joined #ruby
lesihctej has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
lunarkitty has quit [Quit: Connection closed for inactivity]
easbarbosa has joined #ruby
kinduff has joined #ruby
ramblex has joined #ruby
<rapha> hi all
<rapha> anyone here who uses jruby and could take a look at this forkup?
<rapha> (that's after apt install jruby on ubuntu server 21.04)
robotmay has joined #ruby
chonkbit has joined #ruby
<rapha> aaaalright ... DEBIAN_DISABLE_RUBYGEMS_INTEGRATION=1 changes the error to a mere "LoadError: no such file to load -- psych"
viole has quit [Ping timeout: 264 seconds]
ollysmith has joined #ruby
ollysmith_ has quit [Ping timeout: 272 seconds]
ckrailo has quit [Read error: Connection reset by peer]
jhass[m] has quit [Read error: Connection reset by peer]
jhass[m] has joined #ruby
ckrailo has joined #ruby
<adam12> rapha: Might be worth mentioning to the jruby folks.
chonkbit has quit [Quit: Konversation terminated!]
<rapha> where are those found, adam12?
<rapha> ah, beats my method of blindly trying out channel names on networks :P
<adam12> ;)
adam12[m] has joined #ruby
viole has joined #ruby
gr33n7007h has joined #ruby
moo has joined #ruby
<moo> if File.file?(file) this makes me sad :P
<adam12> Just use it’s alias: if File.new_program_who_dis?(file)
<moo> i got one better
<moo> class File; def self.+(x); File.file?(x); end; end;
<moo> File+"/etc/passwd" => true
<adam12> LOL nice.
ollysmith has quit [Ping timeout: 268 seconds]
ollysmith has joined #ruby
adam12[m] has left #ruby [#ruby]
ollysmith_ has joined #ruby
ollysmith has quit [Ping timeout: 272 seconds]
ollysmith has joined #ruby
ollysmith_ has quit [Ping timeout: 272 seconds]
konsolebox_ has quit [Quit: .]
<robotmay> I wonder if you could make something even more horrible by method-missing "?", like File.?(file). Not sure it'd let you define a method with just ? for a name
ramblex has quit [Quit: Client closed]
Exuma has joined #ruby
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
motherr has quit [*.net *.split]
motherr has joined #ruby
<adam12> Core would never allow it, but there’s no reason File? couldn’t work.
<adam12> &>> Kernel.define_method(:File?) { |f| File.file?(f) }; pp File?("/etc/passwd")
<adam12> ruby[bot] hates me today, and that’s fine.
<adam12> ?help
<ruby[bot]> You can find an overview of my commands at http://ruby-community.com/ruboto/commands
<adam12> hmm ok.
<adam12> >> true
<ruby[bot]> adam12: # => true (https://carc.in/#/r/bc0e)
<adam12> >> Kernel.define_method(:File?) { |f| File.file?(f) }; pp File?("/etc/passwd")
<ruby[bot]> adam12: # => true ...check link for more (https://carc.in/#/r/bc0f)
<havenwood> robotmay: You can define a #? but you can't call it directly so you have to: File.send(:'?')
<havenwood> File.define_method(:'?') { 42 }
<havenwood> >> :'?'.class
<ruby[bot]> havenwood: # => Symbol (https://carc.in/#/r/bc0h)
<adam12> >> Kernel.define_method(:👀) { |f| File.file?(f) }; 👀("/etc/passwd")
<ruby[bot]> adam12: # => (https://carc.in/#/r/bc0i)
<adam12> Works locally, so I have no choice but to blame jhass.
graywolf has joined #ruby
<jhass[m]> heh
<jhass[m]> I already run it with -E UTF-8, so I blame MRI :P
<robotmay> Haha I love the idea of patching it onto the kernel
ramblex has joined #ruby
ramblex has quit [Ping timeout: 250 seconds]
moo has left #ruby [Leaving]
pwnd_sfw has quit [Read error: Connection reset by peer]
pwnd_sfw has joined #ruby
gearnode has quit [Ping timeout: 264 seconds]
weaksauce has joined #ruby
gearnode has joined #ruby
brw has joined #ruby
Winterschlaf has joined #ruby
kinduff4 has joined #ruby
kinduff has quit [Quit: The Lounge - https://thelounge.chat]
kinduff4 is now known as kinduff
postmodern has joined #ruby
goldfish has joined #ruby
Winterschlaf has left #ruby [#ruby]
jetchisel has joined #ruby
involans has quit [Ping timeout: 272 seconds]
lunarkitty has joined #ruby
goldfish has quit [Ping timeout: 244 seconds]