kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
thewrinklyninja has joined #ruby
lightstalker has quit [Ping timeout: 260 seconds]
lightstalker has joined #ruby
seaef has quit [Quit: ZZZzzz…]
alex_r_laurie has joined #ruby
cnsvc has quit [Quit: WeeChat 2.8]
s2013 has joined #ruby
alex_r_laurie has quit [Remote host closed the connection]
thewrinklyninja_ has joined #ruby
thewrinklyninja has quit [Quit: Leaving]
thewrinklyninja_ is now known as thewrinklyninja
Esa__ has quit []
cnsvc has joined #ruby
drincruz has quit [Ping timeout: 258 seconds]
gitter1234 has quit [Quit: Connection closed for inactivity]
drincruz has joined #ruby
cow[moo] has quit [Ping timeout: 256 seconds]
rasewwq has joined #ruby
<rasewwq>
Hello
<rasewwq>
what if the correct syntax for using the "to the power of" thingie? I'm getting this challenge1.rb:3:in `<main>': undefined method `**' for "5":String (NoMethodError)
<rasewwq>
a = "5"b = "5"puts(a ** b)
drincruz has quit [Ping timeout: 246 seconds]
<leftylink>
as that shows, your syntax was correct. if your syntax was incorrect, it would have been a syntax error.
<leftylink>
&>> 3 -
<rubydoc>
stderr: -e:5: syntax error, unexpected `end'... check link for more (https://carc.in/#/r/95a6)
<leftylink>
syntax error
<leftylink>
since you didn't get a syntax error, your syntax was correct
donofrio has quit [Remote host closed the connection]
jinmiaoluo has joined #ruby
ExCwIzItMEDIA has joined #ruby
darkstardev13 has joined #ruby
ExCwIzItMEDIA has quit [Client Quit]
drincruz has joined #ruby
darkstardev13 has quit [Max SendQ exceeded]
darkstardev13 has joined #ruby
zenspider has quit [Quit: ZNC 1.6.6+deb1ubuntu0.2 - http://znc.in]
lucianp has quit [Ping timeout: 256 seconds]
drincruz has quit [Ping timeout: 272 seconds]
zenspider has joined #ruby
lucianp has joined #ruby
gix- has quit [Ping timeout: 256 seconds]
TCZ has joined #ruby
TCZ has quit [Remote host closed the connection]
TCZ has joined #ruby
TCZ has quit [Remote host closed the connection]
TCZ has joined #ruby
TCZ has quit [Client Quit]
lucianp has quit [Ping timeout: 256 seconds]
G has quit [Ping timeout: 246 seconds]
TCZ has joined #ruby
lucianp has joined #ruby
darkstardev13 has quit [Remote host closed the connection]
SegFaultAX has quit [Ping timeout: 246 seconds]
noodle has quit [Ping timeout: 246 seconds]
darkstardev13 has joined #ruby
G has joined #ruby
noodle has joined #ruby
pelegreno_____ has joined #ruby
leftylink has quit [Ping timeout: 256 seconds]
lucianp has quit [Ping timeout: 260 seconds]
leftylink has joined #ruby
SegFaultAX has joined #ruby
lucianp has joined #ruby
conta has joined #ruby
<batisi[m]>
Hello everyone, I can't remember the name of that Gem that track function less use/called. I'm on a big, and old project and I need to sort out which function are actually not used anymore
NODE has quit [Remote host closed the connection]
NODE has joined #ruby
comet23 has quit [Quit: Connection closed for inactivity]
TCZ has quit [Quit: Leaving]
Technodrome has joined #ruby
morantron has joined #ruby
imode has quit [Ping timeout: 272 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
duderonomy has joined #ruby
duderonomy has quit [Client Quit]
duderonomy has joined #ruby
cd has quit [Ping timeout: 258 seconds]
charrit69 has joined #ruby
drincruz has joined #ruby
morantro1 has joined #ruby
mikecmpbll has joined #ruby
morantron has quit [Ping timeout: 272 seconds]
yokel has quit [Read error: Connection reset by peer]
<batisi[m]>
Ok, I found it ! CoverBand ! I knew someone was mentioning it in a conference, just had to watch it back. That's the conference in question by the way https://www.youtube.com/watch?v=ZyU6K6eR-_A
alexherbo2 has joined #ruby
alexherbo2 has quit [Client Quit]
alexherbo2 has joined #ruby
charrit69 has quit [Ping timeout: 272 seconds]
alexherbo2 has quit [Client Quit]
charrit69 has joined #ruby
TzilTzal has quit [Ping timeout: 265 seconds]
alexherbo2 has joined #ruby
TzilTzal has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
drincruz has quit [Read error: Connection reset by peer]
akem has quit [Quit: Leaving]
alexherbo2 has quit [Ping timeout: 260 seconds]
davispuh has joined #ruby
sarna has joined #ruby
venmx has quit [Ping timeout: 256 seconds]
venmx has joined #ruby
Technodrome has joined #ruby
mikecmpbll has quit [Ping timeout: 246 seconds]
burningserenity has joined #ruby
stdedos12 has joined #ruby
stdedos has quit [Quit: Connection closed]
mikecmpbll has joined #ruby
stdedos12 has quit [Client Quit]
stdedos has joined #ruby
brendan- has quit [Ping timeout: 256 seconds]
venmx has quit [Ping timeout: 260 seconds]
nofxx has quit [Read error: Connection reset by peer]
nofxx_ has joined #ruby
venmx has joined #ruby
drincruz has joined #ruby
bkuhlmann has joined #ruby
NODE has quit [Quit: Benett]
stdedos has quit [Quit: Connection closed]
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
kole has joined #ruby
kristian_on_linu has quit [Remote host closed the connection]
vondruch has joined #ruby
akem has joined #ruby
Xiti` has joined #ruby
charon77 has joined #ruby
schne1der has joined #ruby
Xiti has quit [Ping timeout: 258 seconds]
kole has quit [Remote host closed the connection]
Macrobiotic has joined #ruby
ppp has joined #ruby
Xiti has joined #ruby
charrit69 has quit [Ping timeout: 256 seconds]
Xiti` has quit [Ping timeout: 260 seconds]
wogi has joined #ruby
ppp has quit [Remote host closed the connection]
PaulePanter has joined #ruby
charon77 has quit [Quit: WeeChat 2.8]
charon77 has joined #ruby
cnsvc_ has joined #ruby
donofrio has joined #ruby
wogi has quit [Read error: Connection reset by peer]
grimgnr has quit [Quit: WeeChat 2.3]
poro has joined #ruby
akem_ has joined #ruby
akem has quit [Ping timeout: 256 seconds]
conta has quit [Remote host closed the connection]
burningserenity has quit [Remote host closed the connection]
<poro>
is there a code editor / IDE that is most popular in the ruby community?
morantro1 has quit [Ping timeout: 246 seconds]
TzilTzal has quit [Quit: Leaving.]
<jhass>
I don't think so
sarna has quit [Quit: Connection closed]
mikecmpbll has quit [Ping timeout: 256 seconds]
mikecmpbll has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bkuhlmann has quit []
Technodrome has joined #ruby
imode has joined #ruby
cnsvc_ has quit [Ping timeout: 240 seconds]
Xiti has quit [Quit: Leaving]
rippa has joined #ruby
ChmEarl has joined #ruby
Xiti has joined #ruby
leitz has joined #ruby
jinmiaol1 has joined #ruby
burningserenity has joined #ruby
<apotheon>
poro: Vim? I dunno.
<apotheon>
poro: Vim is what I usually use.
<bougyman>
poro: what do you normally use for editing code?
<poro>
gedit
<bougyman>
heard of it, never used it.
SeepingN has joined #ruby
<bougyman>
If you're comfortable with it, why not use it?
<poro>
yea I'll do that
<apotheon>
I've used gedit for all of about six minutes, once.
<havenwood>
poro: There was a text editor board up at RubyKaigi last year. I remember there was a fairly even spread. I remember VSCode was more popular than I expected.
<poro>
I see, electron doesnt play well with my Fedora installation for some reason I'll just keep to gedit
<havenwood>
poro: VSCode, Atom, emacs, vim, TextMate2, RedMinne, etc.
<apotheon>
VSCode is, in general, more popular than I usually expect.
<bougyman>
havenwood: you mean Rubymine?
<havenwood>
bougyman: Yes.
<bougyman>
My old boss used that, he swore by it.
<bougyman>
It had some nice refactor features.
jinmiaol1 has quit [Ping timeout: 260 seconds]
<bougyman>
It's for-pay, isn't it?
<havenwood>
bougyman: Yes, paid.
<havenwood>
bougyman: The EAP version is free, IIR.
<havenwood>
bougyman: I've tried it a few times, but never got into it.
<bougyman>
same, tried some trial versions. But it was so long ago probably has little to do with it today.
<bougyman>
I'm just stuck on vim.
<bougyman>
I do more remote editing than local, so vim makes more sense for me.
<apotheon>
"stuck"
<bougyman>
Plus I pair with people a lot and all but 2 of them are vimmers. I can emacs when I have to (the other 2 are emacs)
<havenwood>
bougyman: I think programming interviews should just start with opening emacs, and if the applicant can figure out how to close it in half hour they pass.
<havenwood>
;)
jinmiaol1 has joined #ruby
<bougyman>
hah. I used to give a downright painful interview that had similar tasks.
<bougyman>
left a few candidates in tears. Felt bad about that. Kinda.
<bougyman>
It worked insofar as getting good hires, though.
<bougyman>
You'd be amazed how many people would sit there pounding on keys for 10 minutes not noticing capslock and ctrl were swapped.
<bougyman>
I mean, the capslock light should be a sign, no?
<havenwood>
I do map cap lock to ctrl.
<havenwood>
Otherwise I leave the keys alone.
<bougyman>
same
<bougyman>
though shift-capslock switches to cyrillic
grimgnr has joined #ruby
<apotheon>
havenwood: # ps aux|grep emacs
<apotheon>
havenwood: # kill -9 [pid]
<apotheon>
I map CapsLock to Esc.
conta has joined #ruby
xco has joined #ruby
venmx has quit [Read error: Connection reset by peer]
venmx has joined #ruby
Macrobiotic has quit [Quit: Connection closed for inactivity]
venmx has quit [Read error: Connection reset by peer]
venmx has joined #ruby
ellcs1 has joined #ruby
prestorium has joined #ruby
burningserenity has quit [Remote host closed the connection]
Xiti has quit [Ping timeout: 272 seconds]
prestorium has quit [Client Quit]
prestorium has joined #ruby
TomyWork has quit [Remote host closed the connection]
conta has quit [Ping timeout: 258 seconds]
conta has joined #ruby
conta has quit [Client Quit]
Xiti has joined #ruby
trouloulioud_dev has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
troulouliou_dev has quit [Ping timeout: 265 seconds]
kristian_on_linu has joined #ruby
trouloulioud_dev has quit [Client Quit]
Technodrome has joined #ruby
troulouliou_dev has joined #ruby
troulouliou_dev has quit [Ping timeout: 256 seconds]
pitastrudl has quit [Ping timeout: 265 seconds]
gorsuch has quit [Ping timeout: 260 seconds]
teej has quit [Ping timeout: 272 seconds]
venmx has quit [Read error: Connection reset by peer]
MentalPower has quit [Ping timeout: 244 seconds]
venmx has joined #ruby
mattwc has quit [Ping timeout: 260 seconds]
fowlduck has quit [Ping timeout: 256 seconds]
redlegion has quit [Ping timeout: 260 seconds]
MentalPower has joined #ruby
itok has quit [Ping timeout: 244 seconds]
fowlduck has joined #ruby
teej has joined #ruby
teej has quit [Max SendQ exceeded]
howdoi has joined #ruby
Mutsuhito has quit [Ping timeout: 272 seconds]
mattwc has joined #ruby
pitastrudl has joined #ruby
darthThorik has quit [Ping timeout: 272 seconds]
fowlduck has quit [Max SendQ exceeded]
MentalPower has quit [Ping timeout: 260 seconds]
gmcintire has quit [Ping timeout: 260 seconds]
venmx has quit [Read error: Connection reset by peer]
morantro1 has joined #ruby
venmx has joined #ruby
wildtrees has joined #ruby
darthThorik has joined #ruby
wildtrees has quit [Max SendQ exceeded]
mattwc has quit [Ping timeout: 256 seconds]
pyrmont has quit [Ping timeout: 260 seconds]
wildtrees has joined #ruby
Mutsuhito has joined #ruby
gmcintire has joined #ruby
pyrmont has joined #ruby
Mutsuhito has quit [Max SendQ exceeded]
MentalPower has joined #ruby
mattwc has joined #ruby
venmx has quit [Ping timeout: 272 seconds]
Mutsuhito has joined #ruby
charon77 has quit [Ping timeout: 258 seconds]
MentalPower has quit [Ping timeout: 260 seconds]
d3bug has joined #ruby
Mutsuhito has quit [Ping timeout: 260 seconds]
mattwc has quit [Ping timeout: 256 seconds]
alexherbo2 has joined #ruby
darthThorik has quit [Ping timeout: 272 seconds]
mattwc has joined #ruby
fowlduck has joined #ruby
MentalPower has joined #ruby
lewisbrown has quit [Quit: WeeChat 2.8]
Mutsuhito has joined #ruby
teej has joined #ruby
venmx has joined #ruby
jinmiaol1 has quit [Ping timeout: 265 seconds]
itok has joined #ruby
darthThorik has joined #ruby
seaef has joined #ruby
stryek has joined #ruby
gorsuch has joined #ruby
redlegion has joined #ruby
zapata_ is now known as zapata
cliluw has joined #ruby
troulouliou_divn has joined #ruby
troulouliou_divn has quit [Remote host closed the connection]
cnsvc_ has joined #ruby
mwlang has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
cnsvc_ has quit [Ping timeout: 240 seconds]
vondruch has quit [Ping timeout: 240 seconds]
conta has joined #ruby
Xiti has quit [Ping timeout: 264 seconds]
Xiti has joined #ruby
mwlang has quit [Quit: mwlang]
conta has quit [Quit: conta]
gix has joined #ruby
leitz has quit [Quit: Leaving]
Xiti` has joined #ruby
sol_ has quit []
Xiti has quit [Ping timeout: 256 seconds]
lucasb has joined #ruby
akem_ has quit [Read error: Connection reset by peer]
Xiti` has quit [Read error: Connection reset by peer]
akem_ has joined #ruby
d3bug has quit [Quit: Connection closed for inactivity]
grimgnr has quit [Quit: WeeChat 2.3]
troulouliou_dev has joined #ruby
troulouliou_dev has quit [Remote host closed the connection]
jrhorn424 has joined #ruby
<jrhorn424>
is there a name for this little shortcut: `foo&.bar` meaning `foo && foo.bar`?
<xco>
apotheon i burst out laughing the first time i heard people refer to is as "lonely operator", that operator is definitely not lonely :D
<apotheon>
It's a fun name for it.
<apotheon>
I probably would've called it the "smooth operator", though.
<xco>
ha!
<jrhorn424>
thanks, and thanks for the chuckle :)
<apotheon>
Let's just all call it the "smooth operator".
<jrhorn424>
i'll remember in the future to just spell out the operators when i search
TCZ has joined #ruby
morantro1 has quit [Ping timeout: 256 seconds]
renich_ has joined #ruby
renich has quit [Ping timeout: 256 seconds]
renich_ is now known as renich
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Scient has quit [Ping timeout: 265 seconds]
KrzaQ has quit [Ping timeout: 260 seconds]
quintasan has joined #ruby
quintasan has joined #ruby
quintasan has quit [Changing host]
Scient has joined #ruby
KrzaQ has joined #ruby
ellcs1 has quit [Ping timeout: 260 seconds]
tty1 has quit [Quit: WeeChat 2.8]
tau has joined #ruby
tau has quit [Changing host]
tau has joined #ruby
leah2 has quit [Ping timeout: 244 seconds]
chalkmonster has quit [Quit: WeeChat 2.8]
howdoi has quit [Quit: Connection closed for inactivity]
SuperL4g has joined #ruby
schne1der has quit [Ping timeout: 265 seconds]
SuperLag has quit [Ping timeout: 240 seconds]
SuperLag has joined #ruby
SuperL4g has quit [Ping timeout: 240 seconds]
tau has quit [Ping timeout: 265 seconds]
leah2 has joined #ruby
SuperL4g has joined #ruby
hiroaki has quit [Ping timeout: 260 seconds]
SuperLag has quit [Ping timeout: 272 seconds]
zapata has quit [Ping timeout: 244 seconds]
zapata has joined #ruby
xxdxxd has joined #ruby
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
infinityfye has quit [Quit: Leaving]
C-Keen has quit [Ping timeout: 272 seconds]
C-Keen has joined #ruby
C-Keen is now known as Guest46854
smccarthy has joined #ruby
<smccarthy>
I have a gem twice on the $LOAD_PATH (rubyzip 1.2.3 and rubyzip 1.2.4). What is the best way to handle this ? remove the lower version one ? Or ?
TCZ is now known as DoomSlayer2020
<havenwood>
go|dfish: I always call it the "lonely person operator" too.
<havenwood>
go|dfish: Matz says it looks like a person sitting on the floor cross-legged staring at a dot.
<havenwood>
&.
<rubydoc>
havenwood: parser error at position 0 around `.'
<havenwood>
smccarthy: How did that happen?
<havenwood>
smccarthy: Usually #require and #require_relative return `false` and don't load when required a second time.
<apotheon>
havenwood: That should make it the zen operator.
<havenwood>
smccarthy: Typically only the latest gem is in $LOAD_PATH. How did this happen?
<havenwood>
smccarthy: You might want to use Bundler.
<havenwood>
smccarthy: Sorry, I was momentarily confused and equivocating between $LOAD_PATH and $LOADED_FEATURES.
<havenwood>
smccarthy: The latest gem will load by default. Use a Gemfile.lock if you want a different result.
<smccarthy>
havenwood: I have a project (lambda function) that runs ruby rspec tests in AWS lambda. Then my CICD pipeline creates a bundle with the tests and test dependencies, pushes it to S3. My lambda function downloads the package from S3, and adds the gems from the package to the LOAD_PATH and tries to run the tests
<smccarthy>
so I am combining two projects LOAD_PATHS
<smccarthy>
Maybe there is a better way ?
<smccarthy>
My ruby lambda function is very small, so doesn't need many dependencies, but there are one or two (like rubyzip)
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
wildtrees has quit [Ping timeout: 256 seconds]
Gage has quit [Quit: Leaving]
xxdxxd has quit [Quit: xxdxxd]
stryek has quit [Quit: Connection closed for inactivity]
wildtrees has joined #ruby
chalkmonster has joined #ruby
wildtrees_ has quit [Ping timeout: 256 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cnsvc_ has joined #ruby
venmx has quit [Quit: leaving]
venmx has joined #ruby
Technodrome has joined #ruby
venmx has quit [Client Quit]
wildtrees_ has joined #ruby
smccarthy has quit [Remote host closed the connection]
AndreYuhai has joined #ruby
wildtrees has quit [Ping timeout: 240 seconds]
wildtrees__ has joined #ruby
cnsvc_ has quit [Ping timeout: 240 seconds]
kristian_on_linu has quit [Remote host closed the connection]
drincruz has quit [Ping timeout: 260 seconds]
TCZ has joined #ruby
wildtrees_ has quit [Ping timeout: 258 seconds]
<AndreYuhai>
hey there, do we use both belongs_to and has_many together in two corresponding classes like I did in my code? Could you please check if that's right? https://dpaste.org/Dc2X
<AndreYuhai>
belongs_to :topic it would be in Entry class instead of belongs_to :entry, my mistake.
TCZ is now known as DoomSlayer2020
SeepingN has quit [Quit: The system is going down for reboot NOW!]