adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.1.2, 3.0.4, 2.7.6: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ | Logs: https://libera.irclog.whitequark.org/ruby/
frodl has quit [Quit: Connection closed for inactivity]
Rounin has quit [Ping timeout: 248 seconds]
peirik__ has joined #ruby
infernix has quit [Quit: ZNC - http://znc.sourceforge.net]
grokify has joined #ruby
grokify has quit [Ping timeout: 260 seconds]
infernix has joined #ruby
grokify has joined #ruby
grokify has quit [Ping timeout: 256 seconds]
[yella] has joined #ruby
yella has quit [Ping timeout: 256 seconds]
peirik__ has quit [Ping timeout: 260 seconds]
[yella] has quit [Max SendQ exceeded]
[yella] has joined #ruby
yella__ has joined #ruby
[yella] has quit [Ping timeout: 260 seconds]
John_Ivan_ has joined #ruby
John_Ivan__ has quit [Ping timeout: 256 seconds]
John_Ivan__ has joined #ruby
John_Ivan_ has quit [Ping timeout: 260 seconds]
grokify has joined #ruby
grokify has quit [Ping timeout: 260 seconds]
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 252 seconds]
desnudopenguino1 is now known as desnudopenguino
stirl has quit [Ping timeout: 260 seconds]
grokify has joined #ruby
grokify has quit [Ping timeout: 256 seconds]
[yella] has joined #ruby
cartdrige has quit [Quit: Leaving]
yella__ has quit [Ping timeout: 256 seconds]
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
cartdrige has joined #ruby
peirik__ has joined #ruby
peirik__ has quit [Ping timeout: 256 seconds]
niv has quit [Quit: Powered by LunarBNC: https://LunarBNC.net]
niv has joined #ruby
grokify has joined #ruby
grokify has quit [Ping timeout: 260 seconds]
reset has quit [Quit: reset]
ur5us has quit [Ping timeout: 255 seconds]
cxl has quit [Quit: bye]
cartdrige has quit [Ping timeout: 256 seconds]
cxl has joined #ruby
FullMetalStacker has joined #ruby
stirl has joined #ruby
grokify has joined #ruby
grokify has quit [Ping timeout: 260 seconds]
grokify has joined #ruby
grokify has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby
otisolsen70 has joined #ruby
tirnanog has quit [Ping timeout: 252 seconds]
splud has quit [Ping timeout: 268 seconds]
ur5us has quit [Ping timeout: 260 seconds]
grokify has joined #ruby
lutrinus has joined #ruby
grokify has quit [Ping timeout: 256 seconds]
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
Laplace has joined #ruby
stirl has quit [Ping timeout: 260 seconds]
splud has joined #ruby
teclator has joined #ruby
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
hd1 has joined #ruby
grokify has joined #ruby
hd1 has left #ruby [#ruby]
walez has joined #ruby
Rounin has joined #ruby
Rounin has joined #ruby
Rounin has quit [Changing host]
D_A_N_ has quit [Quit: leaving]
ur5us has joined #ruby
gr33n7007h has quit [Ping timeout: 252 seconds]
gr33n7007h has joined #ruby
peirik__ has joined #ruby
dionysus69 has joined #ruby
grokify has quit [Remote host closed the connection]
artemon has quit [Quit: You have been kicked for being idle]
grokify has joined #ruby
grokify has quit [Ping timeout: 256 seconds]
grokify has joined #ruby
peirik__ has quit [Ping timeout: 268 seconds]
CrazyEddy has quit [Ping timeout: 240 seconds]
jvalleroy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jvalleroy has joined #ruby
gr33n7007h has quit [Quit: WeeChat 3.7.1]
ccapndave has joined #ruby
EdwardIII has quit [Read error: Software caused connection abort]
EdwardIII has joined #ruby
Sankalp has quit [Ping timeout: 256 seconds]
ur5us has quit [Ping timeout: 240 seconds]
peirik__ has joined #ruby
Sankalp has joined #ruby
peirik__ has quit [Ping timeout: 256 seconds]
CrazyEddy has joined #ruby
peirik__ has joined #ruby
Jonopoly has joined #ruby
peirik__ has quit [Ping timeout: 256 seconds]
Sophira has quit [Read error: Software caused connection abort]
Sophira has joined #ruby
JSharp has quit [Read error: Software caused connection abort]
JSharp has joined #ruby
peirik__ has joined #ruby
peirik__ has quit [Ping timeout: 248 seconds]
grokify has quit [Remote host closed the connection]
peirik__ has joined #ruby
legahc- has joined #ruby
cnsvc- has joined #ruby
legahc has quit [Ping timeout: 255 seconds]
legahc- is now known as legahc
cnsvc has quit [Ping timeout: 246 seconds]
grokify has joined #ruby
ccapndave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ccapndave has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ccapndave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
peirik__ has quit [Ping timeout: 268 seconds]
ccapndave has joined #ruby
ccapndave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ccapndave has joined #ruby
alexherbo2 has joined #ruby
ccapndave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ccapndave has joined #ruby
alexherbo2 has quit [Ping timeout: 260 seconds]
shokohsc has quit [Read error: Connection reset by peer]
shokohsc has joined #ruby
alexherbo2 has joined #ruby
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
peirik__ has joined #ruby
peirik__ has quit [Ping timeout: 268 seconds]
Jonopoly has quit [Quit: WeeChat 3.0]
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
grokify has quit [Ping timeout: 256 seconds]
tirnanog has joined #ruby
reset has joined #ruby
D_A_N_ has joined #ruby
peirik__ has joined #ruby
alexherbo2 has quit [Remote host closed the connection]
grokify has joined #ruby
peirik__ has quit [Ping timeout: 268 seconds]
grokify has quit [Ping timeout: 248 seconds]
alexherbo2 has joined #ruby
dviola has quit [Ping timeout: 268 seconds]
grokify has joined #ruby
grokify has quit [Ping timeout: 260 seconds]
lucerne has joined #ruby
crankharder has joined #ruby
dviola has joined #ruby
grokify has joined #ruby
grokify has quit [Ping timeout: 260 seconds]
grokify has joined #ruby
ccapndave has quit [Quit: Textual IRC Client: www.textualapp.com]
cartdrige has joined #ruby
joto has quit [Ping timeout: 268 seconds]
crankharder has quit [Ping timeout: 252 seconds]
gr33n7007h has joined #ruby
crankharder has joined #ruby
dionysus69 has quit [Ping timeout: 255 seconds]
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
dionysus69 has joined #ruby
grokify has quit [Ping timeout: 240 seconds]
Laplace has quit [Quit: Connection closed for inactivity]
walez has quit [Ping timeout: 252 seconds]
crankharder has quit [Ping timeout: 256 seconds]
grokify has joined #ruby
crankharder has joined #ruby
lutrinus has quit [Ping timeout: 256 seconds]
grokify has quit [Ping timeout: 255 seconds]
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
lagash has quit [Remote host closed the connection]
crax23 has joined #ruby
cartdrige has quit [Ping timeout: 260 seconds]
yxhuvud has quit [Read error: Connection reset by peer]
lagash has joined #ruby
Y05hito__ has joined #ruby
yxhuvud has joined #ruby
crankharder has quit [Ping timeout: 256 seconds]
crankharder has joined #ruby
crax23 has quit [Ping timeout: 260 seconds]
lutrinus has joined #ruby
crax23 has joined #ruby
grokify has joined #ruby
Y05hito__ has quit [Ping timeout: 260 seconds]
grokify has quit [Ping timeout: 256 seconds]
Y05hito__ has joined #ruby
crax23 has quit [Ping timeout: 256 seconds]
lutrinus has quit [Ping timeout: 256 seconds]
crax23 has joined #ruby
Y05hito__ has quit [Ping timeout: 260 seconds]
Y05hito__ has joined #ruby
crax23 has quit [Ping timeout: 260 seconds]
crax23 has joined #ruby
Y05hito__ has quit [Ping timeout: 256 seconds]
Y05hito__ has joined #ruby
crax23 has quit [Ping timeout: 260 seconds]
crax23 has joined #ruby
Y05hito__ has quit [Ping timeout: 268 seconds]
Y05hito__ has joined #ruby
crax23 has quit [Ping timeout: 248 seconds]
crankharder has quit [Ping timeout: 268 seconds]
crax23 has joined #ruby
Y05hito__ has quit [Ping timeout: 260 seconds]
crax23 has quit [Ping timeout: 260 seconds]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 248 seconds]
crankharder has joined #ruby
_ht has joined #ruby
acosta has joined #ruby
ccapndave has joined #ruby
lucerne has quit [Read error: Connection reset by peer]
cartdrige has joined #ruby
ccapndave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
walez has joined #ruby
Sankalp has quit [Ping timeout: 248 seconds]
alexherbo2 has quit [Remote host closed the connection]
siasmj has joined #ruby
Sankalp has joined #ruby
peirik__ has joined #ruby
ccapndave has joined #ruby
FullMetalStacker has quit [Read error: Connection reset by peer]
peirik__ has quit [Ping timeout: 248 seconds]
ccapndave has quit [Client Quit]
some14u has joined #ruby
dionysus69 has quit [Quit: dionysus69]
dionysus69 has joined #ruby
ur5us has joined #ruby
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
some14u has joined #ruby
moldorcoder7 has joined #ruby
moldorcoder7 has quit [Max SendQ exceeded]
moldorcoder7 has joined #ruby
duderonomy has joined #ruby
moldorcoder7 has quit [Max SendQ exceeded]
moldorcoder7 has joined #ruby
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
[yella] has quit [Ping timeout: 260 seconds]
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_ht has quit [Quit: _ht]
some14u has joined #ruby
some14u has quit [Client Quit]
some14u has joined #ruby
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
otisolsen70 has quit [Quit: Leaving]
dionysus69 has quit [Ping timeout: 268 seconds]
goldfish has joined #ruby
Guest95 has joined #ruby
<Guest95> Also, Im wondering which web-framework is best/most full-stack/secure/updated etc, Django or Ruby on Rails?
<adam12> Guest95: You're safe choosing either of them.
<Guest95> yes but like, which is best
<Guest95> whats the differences
<adam12> Guest95: There isn't one "best" framework. They both have strengths and weaknesses. One being that they are written in different languages.
_aeris_ has quit [Ping timeout: 255 seconds]
<Guest95> yes so
<Guest95> What is the comparitive analysis, if you have experiences?
<adam12> Guest95: I like Ruby. I use a Ruby framework.
some14u has joined #ruby
<weaksauc_> rails is better because ruby is better
<Guest95> Why, is Ruby better?
cryptkeeper has quit [Quit: Connection closed for inactivity]
walez has quit [Ping timeout: 260 seconds]
some14u has quit [Client Quit]
lucerne has joined #ruby
crankharder has quit [Quit: leaving]
_aeris_ has joined #ruby
<sam113101> Guest95: because it has multiline lambdas
<weaksauc_> because it's optimized for developer happiness
<leftylink> pandabot: what's obviously
<pandabot> obviously is: ->f{f[f]}[->f{Hash.new{|h,k|h[k]=f[f]}}] https://stackoverflow.com/a/17585165
<weaksauc_> a thing of beauty that
neet has joined #ruby
Guest95 has quit [Quit: Client closed]
<neet> Using a `hash` typed member variable named collection, is there anyway I can make this look nicer? `if @@collection.key?(node.id) @@collection[node.id] += 1 else @@collection[node.id] = 1 end`
<neet> Essentially, setting the default value to 1 if the key does not exist, otherwise increasing the value by one.
lucerne has quit [Read error: Connection reset by peer]
<sam113101> @@collection[node.id] ||= 0; @@collection[node.id] += 1
desnudopenguino has quit [Quit: desnudopenguino]
desnudopenguino has joined #ruby
<bougyman> I didn't know anyone used @@variables in reality.
<neet> What would be a better alternative using idiomatic Ruby?
<weaksauc_> @@collection[node.id] = @@collection.fetch(node.id, 0) + 1
<weaksauc_> would be one way but yeah class variables are rare
<bougyman> class variables have a lot of surprises.
<neet> I need to use a private member variable for a class. Would there be something to express that in a better way with idiomatic Ruby?
<neet> I haven't touched Ruby in years, but recently had a use case for it fall into my lap, want to express it in the best possible way using modern Ruby concepts
<sam113101> what's your reason for using @@? does it need to be shared between instances?
<bougyman> [7] pry(main)> class A;@@foo=0;def self.foo;@@foo;end;end; class B < A; def self.boofoo; @@foo+=1; end; end ; B.boofoo; A.foo
<bougyman> => 1
<bougyman> Surprise.
<neet> I do not need to share it between instances. I initially implemented it with a more functional approach, but thought I may as well make it into a class if that's more of a "modern" Ruby approach. I really don't know though
desnudopenguino has quit [Ping timeout: 256 seconds]
<neet> Ah, I see, looks like class variables come with a lot of side effects
<weaksauc_> what are you trying to do?
markong has joined #ruby
desnudopenguino has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
cryptkeeper has joined #ruby
svdasein has quit [Quit: Leaving]
stirl has joined #ruby
peirik__ has joined #ruby
stirl has quit [Read error: Connection reset by peer]
stirl has joined #ruby
stirl has quit [Quit: stirl]
neet has quit [Ping timeout: 260 seconds]
hightower2 has joined #ruby
grokify has joined #ruby