adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.1, 2.7.3, 2.6.7: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | BLM <3
jackiiilong has joined #ruby
jenrzzz has joined #ruby
jackiiilong__ has quit [Ping timeout: 268 seconds]
<ecommence> gitlog so far, got a lot of help: https://dpaste.org/Aa4G
jackiiilong_ has quit [Ping timeout: 260 seconds]
jinie has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
venmx has joined #ruby
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
jinie has joined #ruby
jenrzzz has joined #ruby
DaRock has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
ur5us has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
ShekharReddy has quit [Quit: Connection closed for inactivity]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
yuesbeez has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
robotbee has quit [Ping timeout: 265 seconds]
oddp has quit [Quit: Quit]
jenrzzz has joined #ruby
Caerus has quit [Ping timeout: 240 seconds]
Emmanuel_Chanel_ has quit [Ping timeout: 246 seconds]
Caerus has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
<adam12> I wonder when Railsconf 2021 videos are going to drop.
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
Mia has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
TomyLobo has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 252 seconds]
Emmanuel_Chanel_ has joined #ruby
gix has quit [Ping timeout: 252 seconds]
robotbee has joined #ruby
budonyc has quit [Quit: Leaving]
pyra has quit [Remote host closed the connection]
proletar1us101 has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
pyra has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
dpl_ has joined #ruby
jenrzzz has joined #ruby
dpl has quit [Ping timeout: 268 seconds]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
Axy has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
venmx has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
TorpedoSkyline has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
venmx has joined #ruby
dpl_ has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
venmx has quit [Ping timeout: 260 seconds]
Technodrome has joined #ruby
venmx has joined #ruby
TorpedoSkyline has quit [Quit: Konversation terminated!]
venmx has quit [Ping timeout: 268 seconds]
mozzarella has quit [Read error: Connection reset by peer]
mozzarella has joined #ruby
jenrzzz has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
jenrzzz has quit [Ping timeout: 268 seconds]
evdubs_ has joined #ruby
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
evdubs__ has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
tabakhase has quit [Quit: ZNC - http://znc.in]
jenrzzz has quit [Ping timeout: 240 seconds]
tabakhase has joined #ruby
evdubs__ has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
evdubs_ has quit [Ping timeout: 240 seconds]
venmx has joined #ruby
pyra has quit [Ping timeout: 252 seconds]
evdubs_ has joined #ruby
venmx has quit [Ping timeout: 240 seconds]
evdubs__ has quit [Ping timeout: 268 seconds]
orbyt_ has joined #ruby
venmx has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
venmx has quit [Ping timeout: 260 seconds]
jackiiilong_ has joined #ruby
jenrzzz has joined #ruby
jackiiilong has quit [Ping timeout: 246 seconds]
jackiiilong__ has joined #ruby
pyra has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
jackiiilong_ has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
m27frogy has quit [Ping timeout: 246 seconds]
jetchisel has joined #ruby
ChmEarl has quit [Quit: Leaving]
venmx has joined #ruby
pyra has quit [Quit: Konversation terminated!]
evdubs__ has joined #ruby
venmx has quit [Ping timeout: 268 seconds]
evdubs has joined #ruby
evdubs_ has quit [Ping timeout: 268 seconds]
evdubs__ has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
bsdbandit-01 has joined #ruby
robotbee has quit [Ping timeout: 252 seconds]
bsdbandit-01 has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 265 seconds]
dinfuehr has quit [Ping timeout: 260 seconds]
dinfuehr has joined #ruby
proletar1us101 has quit [Remote host closed the connection]
Furai has joined #ruby
dinfuehr has quit [Ping timeout: 246 seconds]
kenliten has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dinfuehr has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
ur5us has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
pyra has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jamees has joined #ruby
<jamees> ruby on rails works on repl.it?
jenrzzz has joined #ruby
neshpion has quit [Quit: neshpion]
jenrzzz has quit [Ping timeout: 252 seconds]
robotbee has joined #ruby
dinfuehr has quit [Ping timeout: 252 seconds]
jamees has quit [Quit: Ping timeout (120 seconds)]
dinfuehr has joined #ruby
wallacer has quit [Remote host closed the connection]
wallacer has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
venmx has joined #ruby
venmx has quit [Ping timeout: 252 seconds]
venmx has joined #ruby
ap4y has quit [Quit: WeeChat 3.1]
venmx has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
pyra has quit [Quit: Konversation terminated!]
pyra has joined #ruby
SYNTAXX-3RR0R has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
pyra has quit [Read error: Connection reset by peer]
pyra has joined #ruby
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
pyra has quit [Read error: Connection reset by peer]
pyra has joined #ruby
Bounga has joined #ruby
LW_Luna is now known as aloy
hiroaki has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
SYNTAXX-3RR0R has quit [Quit: leaving]
robotbee has quit [Ping timeout: 268 seconds]
teclator has joined #ruby
hiroaki has joined #ruby
mikecmpbll has quit [Quit: inabit.]
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
vondruch has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
Qchmqs has joined #ruby
deimos_ has quit [Quit: leaving]
DaRock has quit [Ping timeout: 265 seconds]
DaRock has joined #ruby
deimos_ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
gearnode has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
sylario has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
TrufflePump has quit [Ping timeout: 258 seconds]
venmx has joined #ruby
jenrzzz has joined #ruby
elcuervo has quit [Read error: Connection reset by peer]
<konsolebox> Anyone knows what code implements the core function of `rake install`? I can't find it in rake, and finding it in rubygems is difficult. I'm trying to know if there's a way to modify it so arguments passed to it are also passed to `gem install`.
elcuervo has joined #ruby
al2o3-cr has quit [Quit: WeeChat 3.1]
MalkbabY has quit [Ping timeout: 252 seconds]
MalkbabY has joined #ruby
<havenwood> konsolebox: You mean the one you get from?: require 'bundler/gem_tasks'
<konsolebox> havenwood: Thanks a lot! That's what I've been looking for.
<konsolebox> I'll figure out how things connect.
<havenwood> konsolebox: No prob! Yeah, I like that Rakefile convention and use it sometimes myself since it's handy. https://github.com/socketry/roda-websockets/blob/master/Rakefile#L3
<havenwood> Ah, right. Bundler includes it in generated gems too so it's in a ton!
<havenwood> Interesting, Rubocop Rake tasks generated too now.
<havenwood> Even default. :)
<havenwood> task default: %i[test rubocop]
<havenwood> I do like tests and linters to just run with plain ole `rake` so you can just clone, `bundle`, `rake` and see the green dots.
Qchmqs has quit [Remote host closed the connection]
silviu5 has quit [Read error: Connection reset by peer]
alexherbo2 has joined #ruby
Sina_ has joined #ruby
silviu has joined #ruby
vondruch has quit [Ping timeout: 240 seconds]
<konsolebox> And this is what I came up with: https://git.io/J3xyO
vondruch has joined #ruby
Technodrome has joined #ruby
_nick_ has joined #ruby
shtirlic has quit [Quit: Lost terminal]
shtirlic has joined #ruby
venmx has quit [Remote host closed the connection]
_nick_ has quit [Ping timeout: 240 seconds]
dpl_ has joined #ruby
bsdbandit-01 has joined #ruby
m27frogy has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
jla has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pwnd_2 has joined #ruby
pwnd_ has quit [Read error: Connection reset by peer]
pwnd_2 is now known as pwnd_
jordanm has quit [Remote host closed the connection]
jordanm has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
alexherbo2 has quit [Ping timeout: 268 seconds]
alexherbo2 has joined #ruby
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo2 has joined #ruby
cd has quit [Quit: cd]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
jackiiilong__ is now known as jackiiilong
Technodrome has joined #ruby
Emmanuel_Chanel_ has quit [Ping timeout: 260 seconds]
shokohsc68 has quit [Quit: The Lounge - https://thelounge.chat]
cow[moo] has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
shokohsc68 has joined #ruby
shokohsc68 has quit [Read error: Connection reset by peer]
shokohsc68 has joined #ruby
Emmanuel_Chanel has joined #ruby
Rudd0 has quit [Ping timeout: 252 seconds]
<konsolebox> Is there a shortcut for &instance.method(:method) already? Like instance&method perhaps?
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
adu has joined #ruby
jla has quit [Ping timeout: 240 seconds]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
jla has joined #ruby
orbyt_ has joined #ruby
jla has quit [Ping timeout: 265 seconds]
okinomo2 has joined #ruby
okinomo2 has quit [Quit: leaving]
adu has quit [Quit: adu]
alexherbo2 has quit [Ping timeout: 268 seconds]
jackiiilong has quit [Ping timeout: 260 seconds]
Arahael has quit [Ping timeout: 265 seconds]
guriya has joined #ruby
moldorcoder7 has quit [Ping timeout: 246 seconds]
alexherbo2 has joined #ruby
adu has joined #ruby
Arahael has joined #ruby
lightstalker has quit [Ping timeout: 268 seconds]
moldorcoder7 has joined #ruby
lightstalker has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
Bounga has quit [Ping timeout: 260 seconds]
dinfuehr has joined #ruby
guriya has quit [Ping timeout: 240 seconds]
guriya has joined #ruby
neshpion has joined #ruby
lucasb has joined #ruby
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
alexherbo2 has joined #ruby
jla has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
TrufflePump has joined #ruby
neshpion_ has joined #ruby
neshpion has quit [Ping timeout: 240 seconds]
neshpion_ has quit [Remote host closed the connection]
neshpion_ has joined #ruby
neshpion_ is now known as neshpion
stryek has joined #ruby
guriya has quit [Ping timeout: 240 seconds]
Rudd0 has joined #ruby
BSaboia has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
V1sor has joined #ruby
cthulchu_ has joined #ruby
Bounga has joined #ruby
ChmEarl has joined #ruby
deviantfero has joined #ruby
deviantfero has quit [Quit: WeeChat 3.1]
deviantfero has joined #ruby
deviantfero has quit [Client Quit]
deviantfero has joined #ruby
<alexherbo2> what is the correct way to add comparison?
<havenwood> alexherbo2: Usually include Comparable module and define the #<=> spaceship operator.
<alexherbo2> I tried using `def <=>(other); attributes <=> other; end`, but I was surprised it did not trigger the comparison on the other hand (comparing `my_object_1 <=> my_object_2` does not resolve to `my_object_1.attributes <=> my_object_2.attributes`)
<alexherbo2> so I ended with `other <=> attributes` to _trigger_ the `other.attributes` implemented in my method
<alexherbo2> end inversing the result of -1/1
<alexherbo2> and*
BSaboia has quit [Quit: This computer has gone to sleep]
alexherbo24 has joined #ruby
BSaboia has joined #ruby
V1sor has quit [Ping timeout: 265 seconds]
jla has quit [Ping timeout: 265 seconds]
alexherbo2 has quit [Ping timeout: 246 seconds]
alexherbo24 is now known as alexherbo2
<alexherbo2> the first def is what I wanted, and the second what I end up doing
<alexherbo2> the first implem did not compare `other.attributes`, so I inversed the order to trigger it
<alexherbo2> I think my code is wrong
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
<havenwood> alexherbo2: Which is the right order, `self <=> other` or `other <=> self`
<havenwood> ?
<havenwood> That case statement looks like `* -1` but just swapping what's on which side of spaceship operator should be simpler.
deviantfero has quit [Quit: WeeChat 3.1]
jamees has joined #ruby
<jamees> on repl.it, how to save rails programs?
deviantfero has joined #ruby
deviantfero has quit [Client Quit]
deviantfero has joined #ruby
<havenwood> jamees: Does replit support gems?
<jamees> i think yes, not sure though havenwood
bsdbandit-01 has joined #ruby
<jamees> any changes in that template, is not possible to save
<jamees> how to save?
<havenwood> jamees: I don't know this particular tool. It might be best to ask them.
<havenwood> jamees: Usually folk develop locally or on a cloud development server.
<havenwood> I had Rails running on my Pixel but I tick tocked back to iPhone and don't want to jailbreak.
<havenwood> I dunno if anyone has run Rails on a watch, but I assume so. :P
<jamees> which are cloud devcelopment server? havenwood
<havenwood> jamees: Just stuff like Digital Ocean.
<havenwood> A place you can ssh and get a command line.
<jamees> any free version available?
<jamees> amazon ec2/digital ocean may be paid one.  (or 1 year trial-free with credit card)
<havenwood> sagax: what's the purpose? then we can give better suggestions.
<havenwood> oops, jamees ^
<jamees> i want to learn ruby on rails
<havenwood> jamees: do you have a computer?
<havenwood> or phone or what?
<jamees> my windows wsl2 debian not working properly
<jamees> i have computer
<havenwood> we can help with wsl2 debian
<jamees> great
<havenwood> what's the problem you're running into?
<jamees> similar to this
<jamees> so how to change this file? The generated file /etc/resolv.conf is:
<jamees> how to open it?
<havenwood> jamees: what's in that file?
<havenwood> do you know how to use powershell or bash to check?
asu_shida has joined #ruby
<jamees> nope
<jamees> but currently i am at debian $ prompt
<havenwood> jamees: cat /etc/resolv.conf
<jamees> ~$ cat /etc/resolve.conf
<jamees> cat: /etc/resolve.conf: No such file or directory
<havenwood> then there is no /etc/resolve.conf file.
<jamees> what is traffic?
<havenwood> users using a site?
<havenwood> jamees: echo "nameserver 1.1.1.1" >> /etc/resolv.conf
jinie has quit [Quit: ZNC 1.8.2 - https://znc.in]
<havenwood> jamees: You consider opening your /etc/resolv.conf in a text editor and looking at a nice one to copy.
deviantfero has quit [Quit: WeeChat 3.1]
deviantfero has joined #ruby
evdubs_ has joined #ruby
<havenwood> jamees: here is mine for the machine i'm on, for example: https://gist.github.com/havenwood/a5e69a3628fe758e016a907e3439bdba
<jamees>  $ echo "nameserver 1.1.1.1" >> /etc/resolv.conf
<jamees> -bash: /etc/resolv.conf: Permission denied
<havenwood> jamees: sudo !!
<havenwood> jamees: prefix `sudo` to the command
<havenwood> I have two IPV6 for Cloudflare, then two for Google, and then I rotate between Google and Cloudflare IPV4 for no apparent reason. >.>
<jamees> # cat /etc/resolve.conf
<jamees> cat: /etc/resolve.conf: No such file or directory
<havenwood> sorry no e
<havenwood> jamees: cat /etc/resolv.conf
<havenwood> jamees: cat shows file content or concatenates content from multiple files
<havenwood> see: man cat
evdubs has quit [Ping timeout: 268 seconds]
<jamees> i am not sure it worked this time or not
<havenwood> alternatively: file /etc/resolv.conf
<havenwood> # /etc/resolv.conf: ASCII text
<jamees> $ sudo apt update
<jamees> but seems somethign different that previously
<jamees> Building dependency tree... Done
<jamees> Reading state information... Done
<jamees> 306 packages can be upgraded. Run 'apt list --upgradable' to see them.
<havenwood> yup, success
<jamees> earlier i was not getting such message
<jamees> ok
<havenwood> sudo apt-get upgrade
<jamees> let me restart debain
<havenwood> upgrade ALL THE THINGS
<jamees> to see it is persitent change or not
<jamees> asking me "do you want to change  home directory of user irc"?
<jamees> yes or no?
<jamees> from /var/run/ircd to /run/ircd
DaRock has quit [Ping timeout: 260 seconds]
<havenwood> look in your heart and see where you feel it belongs.
<jamees> Yes
jinie has joined #ruby
<jamees> ok, i restarted debian
<jamees> and it failed again
<jamees> ~$ sudo apt update
<jamees> W: Failed to fetch https://debmirror.hbcse.tifr.res.in/debian/dists/unstable/InRelease  Temporary failure resolving 'debmirror.hbcse.tifr.res.in'
<jamees> W: Failed to fetch https://debmirror.hbcse.tifr.res.in/debian/dists/experimental/InRelease  Temporary failure resolving 'debmirror.hbcse.tifr.res.in'
<jamees> W: Some index files failed to download. They have been ignored, or old ones used instead.
evdubs__ has joined #ruby
justBull is now known as justTest
justTest is now known as justBull
evdubs_ has quit [Ping timeout: 240 seconds]
bsdbandit-01 has quit [Read error: Connection reset by peer]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Bounga has quit [Remote host closed the connection]
gigetoo has joined #ruby
bsdbandit-01 has joined #ruby
<adam12> jamees: How did you install WSL Debian?
<adam12> jamees: Is that an official package through the Windows App Store or something else?
<jamees> it is bascially wsl2
<jamees> i dont recall , perhaps from windows store
<jamees> adam12
<adam12> jamees: Are you behind a VPN? Having to manipulate resolv.conf is strange.
cliluw has quit [Ping timeout: 240 seconds]
<jamees> nope jamees
<jamees> wsl2 i guess has some issue with ipv6 that is what i read earlier
cliluw has joined #ruby
<adam12> Oh maybe. Are you dual stack?
<jamees> what is it?
<adam12> Do you have both an IPv4 and IPv6 address?
<jamees> i dont know exactly
<jamees> i am using broadbadn network
bsdbandit-01 has quit [Read error: Connection reset by peer]
<adam12> jamees: Try visiting something like https://whatismyipaddress.com/ and see if it returns IPv4, IPv6, or both.
<jamees> v4
bsdbandit-01 has joined #ruby
<adam12> jamees: Inside WSL2, does resolv.conf exist? Run `stat /etc/resolv.conf`
<jamees> at debain prompt?
<adam12> jamees: Yes
<jamees>   File: /etc/resolv.conf -> ../run/resolvconf/resolv.conf
<adam12> jamees: Anything in that file? `cat /run/resolvconf/resolv.conf`
<jamees> yes nameserver starting from 172
cliluw has quit [Remote host closed the connection]
<adam12> can you ping that address from inside WSL? `ping 172.whatever`
<jamees> # This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf:
<jamees> # [network]
<jamees> # generateResolvConf = false
robotbee has joined #ruby
cliluw has joined #ruby
<jamees> ping not working
bsdbandit-01 has quit [Read error: Connection reset by peer]
<jamees> 10 transmitted, 0 recieved
cliluw has quit [Remote host closed the connection]
<adam12> I ran into this a year or so ago but I can’t remember how I fixed it now.
evdubs_ has joined #ruby
<jamees> oh
dinfuehr has quit [Ping timeout: 240 seconds]
evdubs__ has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
cliluw has joined #ruby
_nick_ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
dpl_ has quit [Ping timeout: 240 seconds]
gix has joined #ruby
<adam12> jamees: If you haven’t already, I’d try the official Ubuntu image for WSL2 and see if it suffers the same issue.
<jamees> i had some issue that is why i changed to debian
<alexherbo2> havenwood: yep, my issue with the simple `self.attributes <=> other` is if `other` is one of my object, it will not do `other.attributes` for comparing, hence swapping the sides
rameerez has joined #ruby
<alexherbo2> I can always do `other.attributes` in my method, but it will require a the method to know what it is with for example `case other; when self.class ...`
rameerez has left #ruby [#ruby]
<alexherbo2> I miss overloading from crystal :(
cliluw has quit [Ping timeout: 260 seconds]
cliluw has joined #ruby
cliluw has quit [Ping timeout: 240 seconds]
_nick_ has quit [Ping timeout: 240 seconds]
bsdbandit-01 has joined #ruby
cliluw has joined #ruby
<jamees> i am getting this error on repl.it while running command $ bin/rails routes
<jamees> how to resolve it?
bsdbandit-01 has quit [Read error: Connection reset by peer]
dpl_ has joined #ruby
gearnode has quit [Ping timeout: 245 seconds]
gearnode has joined #ruby
gigetoo has quit [Ping timeout: 268 seconds]
evdubs__ has joined #ruby
evdubs_ has quit [Ping timeout: 240 seconds]
howdoi has joined #ruby
<adam12> jamees: Where’s the erorr?
<jamees> adam12 at this link
Bounga has joined #ruby
<jamees> how to interpret such a long- this error?
<adam12> I don’t see an error. What is the error specifically? All I see is the output of the routes.
<jamees> i think output should look like this
<jamees> bin/rails routes
<jamees> oh i see, it is not an erro
<jamees> due to small window, output was scattered
hiroaki has quit [Ping timeout: 260 seconds]
gearnode has quit [Ping timeout: 245 seconds]
vondruch has quit [Read error: Connection reset by peer]
jamees has quit [Quit: Connection closed]
Technodrome has joined #ruby
rubydoc has joined #ruby
phaul has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
Bounga has quit [Remote host closed the connection]
gigetoo has joined #ruby
Bounga has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
phenom has quit [Ping timeout: 240 seconds]
phenom has joined #ruby
adu has quit [Quit: adu]
bsdbandit-01 has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
Bounga has quit [Ping timeout: 250 seconds]
va5c0 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
jla has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
`Alison has quit [Quit: ZNC 1.7.4+deb4 - https://znc.in]
`Alison has joined #ruby
cuerbot has joined #ruby
MalkbabY has quit [Remote host closed the connection]
bsdbandit-01 has joined #ruby
MalkbabY has joined #ruby
elcuervo has quit [Ping timeout: 268 seconds]
bsdbandit-01 has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
BSaboia has joined #ruby
neshpion has quit [Quit: neshpion]
<leftylink> huh... you ever look at code whose authorship you are unsure of, and start to think "this looks like I may have written it"... go to check the history and, yup, turns out you did write it
<leftylink> so I guess the subparts of this question are... whether your code has any distinctive elements to it (how you name things, how you structure it, what parts of the standard libraries are you likely to use, style elements), and how reliably you can recognise those elements
<leftylink> it's happened to me at least once in the past
<leftylink> I think particularly in Ruby there are a few things that one could look for that would point to the fact that "yup, Ray wrote this one"
jenrzzz has quit [Ping timeout: 240 seconds]
<leftylink> er, s/Ray/lefty/ to y'all
va5c0 has quit [Ping timeout: 240 seconds]
asu_shida has quit [Ping timeout: 240 seconds]
bsdbandit-01 has joined #ruby
ur5us has joined #ruby
jenrzzz has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
BSaboia has quit [Quit: This computer has gone to sleep]
va5c0 has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
bsdbandit-01 has joined #ruby
voker57 has quit [Ping timeout: 260 seconds]
bsdbandit-01 has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
vondruch has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
bsdbandit-01 has quit [Read error: Connection reset by peer]
ap4y has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jla has quit [Ping timeout: 252 seconds]
cthulchu_ has quit [Ping timeout: 240 seconds]
goepsilongo has quit [Quit: Konversation terminated!]
jenrzzz has joined #ruby
gearnode has joined #ruby
TrufflePump has quit [Ping timeout: 258 seconds]
robotbee has quit [Ping timeout: 246 seconds]
umashm has joined #ruby
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
va5c0 has quit [Ping timeout: 252 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
va5c0 has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
zapata has joined #ruby
jackiiilong has joined #ruby
va5c0 has quit [Ping timeout: 265 seconds]
infernix has quit [Ping timeout: 276 seconds]
infernix has joined #ruby
jackiiilong_ has joined #ruby
jackiiilong has quit [Ping timeout: 252 seconds]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
orbyt_ has joined #ruby
va5c0 has joined #ruby
<adam12> leftylink: I usually _forget_ that I wrote the code, until I blame it and see it was me.
bsdbandit-01 has joined #ruby