jhass[m] 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
stomper2 has joined #ruby
toshiba__ has quit [Ping timeout: 252 seconds]
jimeh has quit [Remote host closed the connection]
jimeh has joined #ruby
grokify has joined #ruby
cuntor2 has joined #ruby
stomper2 has quit [Ping timeout: 265 seconds]
grokify has quit [Ping timeout: 244 seconds]
tdcw has joined #ruby
toshiba__ has joined #ruby
grokify has joined #ruby
tdcw has quit [Ping timeout: 244 seconds]
cuntor2 has quit [Ping timeout: 265 seconds]
grokify has quit [Remote host closed the connection]
stomper2 has joined #ruby
toshiba__ has quit [Ping timeout: 244 seconds]
entropie has quit [Ping timeout: 246 seconds]
grokify has joined #ruby
entropie has joined #ruby
cuntor2 has joined #ruby
stomper2 has quit [Ping timeout: 265 seconds]
grokify has quit [Ping timeout: 268 seconds]
stomper2 has joined #ruby
cuntor2 has quit [Ping timeout: 268 seconds]
tdcw has joined #ruby
grokify has joined #ruby
cuntor2 has joined #ruby
stomper2 has quit [Ping timeout: 260 seconds]
grokify has quit [Ping timeout: 244 seconds]
tdcw has quit [Ping timeout: 246 seconds]
toshiba__ has joined #ruby
cuntor2 has quit [Ping timeout: 260 seconds]
cuntor2 has joined #ruby
toshiba__ has quit [Ping timeout: 252 seconds]
grokify has joined #ruby
stomper2 has joined #ruby
cuntor2 has quit [Ping timeout: 252 seconds]
grokify has quit [Ping timeout: 244 seconds]
cuntor2 has joined #ruby
stomper2 has quit [Ping timeout: 252 seconds]
stomper2 has joined #ruby
cuntor2 has quit [Ping timeout: 268 seconds]
cuntor2 has joined #ruby
stomper2 has quit [Ping timeout: 244 seconds]
tdcw has joined #ruby
stomper2 has joined #ruby
tdcw has quit [Ping timeout: 244 seconds]
cuntor2 has quit [Ping timeout: 252 seconds]
cuntor2 has joined #ruby
Guimauve has joined #ruby
stomper2 has quit [Ping timeout: 252 seconds]
toshiba__ has joined #ruby
John_Ivan has quit [Ping timeout: 250 seconds]
Aminda has quit [Ping timeout: 258 seconds]
cuntor2 has quit [Ping timeout: 244 seconds]
Aminda has joined #ruby
cuntor2 has joined #ruby
toshiba__ has quit [Ping timeout: 244 seconds]
stomper2 has joined #ruby
grokify has joined #ruby
havenwood has quit [Quit: The Lounge - https://thelounge.chat]
cuntor2 has quit [Ping timeout: 244 seconds]
havenwood has joined #ruby
Guimauve has quit [Quit: Client closed]
cuntor2 has joined #ruby
Guimauve has joined #ruby
grokify has quit [Ping timeout: 244 seconds]
tdcw has joined #ruby
stomper2 has quit [Ping timeout: 252 seconds]
<gr33n7007h> is there a way to do ...
tdcw has quit [Ping timeout: 264 seconds]
toshiba__ has joined #ruby
<gr33n7007h> do numbers behave like this ...
cuntor2 has quit [Ping timeout: 265 seconds]
cuntor2 has joined #ruby
toshiba__ has quit [Ping timeout: 252 seconds]
Guimauve has quit [Quit: Client closed]
<aestheti1> wat
stomper2 has joined #ruby
cuntor2 has quit [Ping timeout: 260 seconds]
cuntor2 has joined #ruby
m_antis has quit [Quit: ZNC - https://znc.in]
stomper2 has quit [Ping timeout: 252 seconds]
m_antis has joined #ruby
stomper2 has joined #ruby
tdcw has joined #ruby
cuntor2 has quit [Ping timeout: 265 seconds]
tdcw has quit [Ping timeout: 244 seconds]
cuntor2 has joined #ruby
stomper2 has quit [Ping timeout: 265 seconds]
dviola has joined #ruby
toshiba__ has joined #ruby
cuntor2 has quit [Ping timeout: 260 seconds]
stomper2 has joined #ruby
toshiba__ has quit [Ping timeout: 260 seconds]
cuntor2 has joined #ruby
stomper2 has quit [Ping timeout: 252 seconds]
stomper2 has joined #ruby
grokify has joined #ruby
tdcw has joined #ruby
cuntor2 has quit [Ping timeout: 252 seconds]
staff420 has quit [Ping timeout: 265 seconds]
mdemo has joined #ruby
grokify has quit [Ping timeout: 260 seconds]
cuntor2 has joined #ruby
tdcw has quit [Ping timeout: 264 seconds]
stomper2 has quit [Ping timeout: 252 seconds]
toshiba__ has joined #ruby
cuntor2 has quit [Ping timeout: 265 seconds]
cuntor2 has joined #ruby
D_A_N has quit [Quit: leaving]
toshiba__ has quit [Ping timeout: 265 seconds]
mikecmpbll has joined #ruby
cuntor2 has quit [Ping timeout: 244 seconds]
mikecmpbll has quit [Ping timeout: 265 seconds]
nirvdrum has joined #ruby
stomper2 has joined #ruby
tdcw has joined #ruby
<leftylink> there are some ways to do ...
<leftylink> pandabot: rb .....................1
<pandabot> stderr: playpen: timeout triggered! - exit 1 - https://carc.in/#/r/dvit
<leftylink> pandabot: rb .....................1
<pandabot> stderr: playpen: timeout triggered! - exit 1 - https://carc.in/#/r/dviu
<leftylink> pandabot: rb .....................1
<pandabot> stderr: playpen: timeout triggered! - exit 1 - https://carc.in/#/r/dviv
<leftylink> pandabot: rb .....................1
<pandabot> .....................1 - https://carc.in/#/r/dvj0
<leftylink> we have achieved ... here
cuntor2 has joined #ruby
tdcw has quit [Ping timeout: 260 seconds]
stomper2 has quit [Ping timeout: 244 seconds]
toshiba__ has joined #ruby
nirvdrum has quit [Quit: nirvdrum]
cuntor2 has quit [Ping timeout: 260 seconds]
cuntor2 has joined #ruby
toshiba__ has quit [Ping timeout: 252 seconds]
cuntor2 has quit [Ping timeout: 268 seconds]
stomper2 has joined #ruby
tdcw has joined #ruby
stomper2 has quit [Ping timeout: 265 seconds]
tdcw has quit [Ping timeout: 260 seconds]
stomper2 has joined #ruby
cuntor2 has joined #ruby
grokify has joined #ruby
stomper2 has quit [Ping timeout: 244 seconds]
grokify has quit [Ping timeout: 244 seconds]
stomper2 has joined #ruby
cuntor2 has quit [Ping timeout: 260 seconds]
cuntor2 has joined #ruby
stomper2 has quit [Ping timeout: 260 seconds]
tdcw has joined #ruby
toshiba__ has joined #ruby
ur5us has quit [Ping timeout: 244 seconds]
cuntor2 has quit [Ping timeout: 246 seconds]
tdcw has quit [Ping timeout: 246 seconds]
idiocrash has joined #ruby
stomper2 has joined #ruby
toshiba__ has quit [Ping timeout: 244 seconds]
cuntor2 has joined #ruby
stomper2 has quit [Ping timeout: 268 seconds]
cuntor2 has quit [Ping timeout: 268 seconds]
grokify has joined #ruby
stomper2 has joined #ruby
tdcw has joined #ruby
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
tdcw has quit [Ping timeout: 260 seconds]
cuntor2 has joined #ruby
grokify has quit [Ping timeout: 244 seconds]
stomper2 has quit [Ping timeout: 244 seconds]
toshiba__ has joined #ruby
cuntor2 has quit [Ping timeout: 244 seconds]
cuntor2 has joined #ruby
ur5us has joined #ruby
toshiba__ has quit [Ping timeout: 252 seconds]
otisolsen70 has joined #ruby
toshiba__ has joined #ruby
cuntor2 has quit [Ping timeout: 244 seconds]
stomper2 has joined #ruby
_ht has joined #ruby
toshiba__ has quit [Ping timeout: 244 seconds]
tdcw has joined #ruby
stomper2 has quit [Ping timeout: 246 seconds]
tdcw has quit [Ping timeout: 246 seconds]
stomper2 has joined #ruby
cuntor2 has joined #ruby
grokify has joined #ruby
stomper2 has quit [Ping timeout: 244 seconds]
cuntor2 has quit [Read error: Connection reset by peer]
teclator has joined #ruby
grokify has quit [Ping timeout: 244 seconds]
Furai has quit [Quit: WeeChat 3.7]
Furai has joined #ruby
tdcw has joined #ruby
_ht has quit [Remote host closed the connection]
yossarian has quit [Ping timeout: 268 seconds]
tdcw has quit [Ping timeout: 264 seconds]
grokify has joined #ruby
darkstardev13 has quit [Remote host closed the connection]
ur5us has quit [Ping timeout: 244 seconds]
darkstardev13 has joined #ruby
darkstardev13 has quit [Remote host closed the connection]
grokify has quit [Ping timeout: 244 seconds]
darkstardev13 has joined #ruby
darkstardev13 has quit [Remote host closed the connection]
darkstardev13 has joined #ruby
darkstardev13 has quit [Remote host closed the connection]
darkstardev13 has joined #ruby
darkstardev13 has quit [Remote host closed the connection]
darkstardev13 has joined #ruby
darkstardev13 has quit [Remote host closed the connection]
darkstardev13 has joined #ruby
grokify has joined #ruby
dionysus69 has joined #ruby
darkstardev13 has quit [Remote host closed the connection]
walez has joined #ruby
darkstardev13 has joined #ruby
tdcw has joined #ruby
darkstardev13 has quit [Remote host closed the connection]
tdcw has quit [Ping timeout: 268 seconds]
yossarian has joined #ruby
yossarian has quit [Changing host]
yossarian has joined #ruby
darkstardev13 has joined #ruby
darkstardev13 has quit [Max SendQ exceeded]
teclator has quit [Ping timeout: 244 seconds]
teclator has joined #ruby
Rounin has joined #ruby
Rounin has quit [Changing host]
Rounin has joined #ruby
TomyWork has joined #ruby
darkstardevx has joined #ruby
darkstardevx has quit [Remote host closed the connection]
darkstardevx has joined #ruby
tdcw has joined #ruby
RetroPunk has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
Guest52 has joined #ruby
Guest52 has quit [Client Quit]
tdcw has quit [Ping timeout: 250 seconds]
jvalleroy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jvalleroy has joined #ruby
tdcw has joined #ruby
hightower2 has quit [Quit: Leaving]
tdcw has quit [Ping timeout: 268 seconds]
ur5us has joined #ruby
otisolsen70 has quit [Quit: Leaving]
stomper2 has joined #ruby
stomper2 has quit [Client Quit]
stomper2 has joined #ruby
jpn has joined #ruby
cuntor2 has joined #ruby
stomper2 has quit [Ping timeout: 265 seconds]
RetroPunk has joined #ruby
stomper2 has joined #ruby
cuntor2 has quit [Ping timeout: 268 seconds]
tdcw has joined #ruby
cuntor2 has joined #ruby
stomper2 has quit [Ping timeout: 268 seconds]
tdcw has quit [Ping timeout: 260 seconds]
toshiba__ has joined #ruby
mikecmpbll has joined #ruby
cuntor2 has quit [Ping timeout: 252 seconds]
ccapndave has joined #ruby
stomper2 has joined #ruby
mikecmpbll has quit [Ping timeout: 252 seconds]
toshiba__ has quit [Ping timeout: 244 seconds]
stomper2 has quit [Remote host closed the connection]
stomper2 has joined #ruby
stomper2 has quit [Remote host closed the connection]
cybertron has left #ruby [WeeChat 3.5]
tdcw has joined #ruby
tdcw has quit [Ping timeout: 250 seconds]
darabiesvampire has quit [Quit: Ping timeout (120 seconds)]
spivak has quit [K-Lined]
tdcw has joined #ruby
ur5us has quit [Ping timeout: 244 seconds]
desnudopenguino2 has joined #ruby
desnudopenguino2 is now known as desnudopenguino1
desnudopenguino has quit [Ping timeout: 246 seconds]
desnudopenguino1 is now known as desnudopenguino
tdcw has quit [Ping timeout: 244 seconds]
stomper2 has joined #ruby
cuntor2 has joined #ruby
darabiesvampire has joined #ruby
stomper2 has quit [Ping timeout: 268 seconds]
Vonter has quit [Ping timeout: 260 seconds]
toshiba__ has joined #ruby
cuntor2 has quit [Ping timeout: 244 seconds]
cuntor2 has joined #ruby
cuntor2 has quit [Remote host closed the connection]
stomper2 has joined #ruby
toshiba__ has quit [Ping timeout: 268 seconds]
Sankalp- has joined #ruby
Sankalp has quit [Ping timeout: 268 seconds]
Sankalp- is now known as Sankalp
cuntor2 has joined #ruby
stomper2 has quit [Ping timeout: 244 seconds]
tdcw has joined #ruby
stomper2 has joined #ruby
cuntor2 has quit [Ping timeout: 244 seconds]
tdcw has quit [Ping timeout: 260 seconds]
stomper2 has quit [Ping timeout: 252 seconds]
stomper2 has joined #ruby
John_Ivan has joined #ruby
cuntor2 has joined #ruby
stomper2 has quit [Ping timeout: 268 seconds]
stomper2 has joined #ruby
cuntor2 has quit [Ping timeout: 268 seconds]
cuntor2 has joined #ruby
stomper2 has quit [Ping timeout: 244 seconds]
stomper2 has joined #ruby
cuntor2 has quit [Ping timeout: 252 seconds]
tdcw has joined #ruby
ccapndave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stomper2 has quit [Ping timeout: 244 seconds]
ccapndave has joined #ruby
tdcw has quit [Ping timeout: 268 seconds]
<depesz> are there any standards on how to write comments in ruby programs so that it will be better readable for some doc-reading tools?
grokify has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
ccapndave has quit [Quit: Textual IRC Client: www.textualapp.com]
tdcw has joined #ruby
mikecmpbll has quit [Ping timeout: 268 seconds]
tdcw has quit [Ping timeout: 264 seconds]
mikecmpbll has joined #ruby
jpn has quit [Ping timeout: 265 seconds]
tdcw has joined #ruby
Aminda has quit [Ping timeout: 258 seconds]
Aminda has joined #ruby
Aminda has quit [Remote host closed the connection]
Aminda has joined #ruby
tdcw has quit [Ping timeout: 260 seconds]
<adam12> depesz: rdoc?
jpn has joined #ruby
<depesz> adam12: where can I read about it?
jpn has quit [Ping timeout: 252 seconds]
tdcw has joined #ruby
jpn has joined #ruby
jetchisel has quit [Ping timeout: 268 seconds]
D_A_N has joined #ruby
drainpipe has joined #ruby
jetchisel has joined #ruby
<depesz> thx
Fleeno has joined #ruby
drainpipe has quit [Quit: WeeChat 3.4.1]
drainpipe has joined #ruby
Fleeno has quit [Client Quit]
drainpipe has quit [Client Quit]
drainpipe has joined #ruby
rvalue has quit [Quit: ZNC - https://znc.in]
grokify has joined #ruby
nirvdrum has joined #ruby
grokify has quit [Ping timeout: 260 seconds]
tdcw has quit [Ping timeout: 260 seconds]
rvalue has joined #ruby
tdcw has joined #ruby
tdcw has quit [Ping timeout: 248 seconds]
tdcw has joined #ruby
eddof13 has joined #ruby
nirvdrum has quit [Quit: nirvdrum]
tdcw has quit [Ping timeout: 268 seconds]
stomper2 has joined #ruby
John_Ivan is now known as Stoffel
cuntor2 has joined #ruby
stomper2 has quit [Ping timeout: 260 seconds]
stomper2 has joined #ruby
cuntor2 has quit [Ping timeout: 252 seconds]
cuntor2 has joined #ruby
stomper2 has quit [Ping timeout: 244 seconds]
stomper2 has joined #ruby
cuntor2 has quit [Ping timeout: 244 seconds]
tdcw has joined #ruby
cuntor2 has joined #ruby
stomper2 has quit [Ping timeout: 244 seconds]
tdcw has quit [Ping timeout: 268 seconds]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
stomper2 has joined #ruby
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cuntor2 has quit [Ping timeout: 268 seconds]
stomper2 has quit [Ping timeout: 265 seconds]
stomper2 has joined #ruby
gproto23 has joined #ruby
cuntor2 has joined #ruby
stomper2 has quit [Ping timeout: 265 seconds]
otisolsen70 has joined #ruby
grokify has joined #ruby
stomper2 has joined #ruby
cuntor2 has quit [Ping timeout: 244 seconds]
Aminda has quit [Ping timeout: 258 seconds]
tdcw has joined #ruby
Aminda has joined #ruby
grokify has quit [Remote host closed the connection]
cuntor2 has joined #ruby
tdcw has quit [Ping timeout: 264 seconds]
walez has quit [Ping timeout: 244 seconds]
stomper2 has quit [Ping timeout: 264 seconds]
eddof13 has joined #ruby
toshiba__ has joined #ruby
cuntor2 has quit [Ping timeout: 244 seconds]
otisolsen70 has quit [Quit: Leaving]
cuntor2 has joined #ruby
Petruchio has joined #ruby
Guest89 has joined #ruby
toshiba__ has quit [Ping timeout: 244 seconds]
Guest89 has quit [Client Quit]
toshiba__ has joined #ruby
cuntor2 has quit [Ping timeout: 252 seconds]
cuntor2 has joined #ruby
toshiba__ has quit [Ping timeout: 252 seconds]
stomper2 has joined #ruby
cuntor2 has quit [Ping timeout: 250 seconds]
tdcw has joined #ruby
cuntor2 has joined #ruby
stomper2 has quit [Ping timeout: 246 seconds]
tdcw has quit [Ping timeout: 246 seconds]
grokify has joined #ruby
idiocrash has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Prospero has joined #ruby
stomper2 has joined #ruby
Petruchio has quit [Ping timeout: 260 seconds]
grokify has quit [Ping timeout: 244 seconds]
cuntor2 has quit [Ping timeout: 244 seconds]
grokify has joined #ruby
stomper2 has quit [Remote host closed the connection]
stomper2 has joined #ruby
grokify has quit [Remote host closed the connection]
tdcw has joined #ruby
grokify has joined #ruby
dionysus69 has quit [Ping timeout: 252 seconds]
cuntor2 has joined #ruby
stomper2 has quit [Ping timeout: 265 seconds]
stomper2 has joined #ruby
tdcw has quit [Quit: WeeChat 3.7]
cuntor2 has quit [Ping timeout: 260 seconds]
Vonter has joined #ruby
Guimauve has joined #ruby
cuntor2 has joined #ruby
Prospero has quit [Ping timeout: 265 seconds]
stomper2 has quit [Ping timeout: 248 seconds]
nirvdrum has joined #ruby
stomper2 has joined #ruby
cuntor2 has quit [Ping timeout: 268 seconds]
Guimauve has quit [Quit: Client closed]
Guimauve has joined #ruby
Prospero has joined #ruby
Guimauve has quit [Client Quit]
Guimauve has joined #ruby
stomper2 has quit [Ping timeout: 244 seconds]
dionysus69 has joined #ruby
bougyman has quit [Quit: ZNC 1.8.2 - https://znc.in]
bougyman has joined #ruby
Guimauve has left #ruby [#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
___nick___ has joined #ruby
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
nirvdrum has quit [Quit: nirvdrum]
walez has joined #ruby
jpn has quit [Ping timeout: 260 seconds]
grokify has quit [Remote host closed the connection]
drainpipe has quit [Quit: WeeChat 3.6]
drainpipe has joined #ruby
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
drainpipe has quit [Ping timeout: 252 seconds]
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
Vonter has quit [Quit: WeeChat 3.6]
drainpipe has joined #ruby
TomyWork has quit [Remote host closed the connection]
Prospero has quit [Ping timeout: 244 seconds]
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
hrberg has quit [Ping timeout: 265 seconds]
hrberg has joined #ruby
Prospero has joined #ruby
grokify has joined #ruby
nirvdrum has joined #ruby
_ht has joined #ruby
drainpipe has quit [Quit: WeeChat 3.4.1]
legit has quit [Quit: WeeChat 2.8]
legit has joined #ruby
Lowly_Drainpipe has joined #ruby
grokify has quit [Remote host closed the connection]
nirvdrum has quit [Quit: nirvdrum]
Lowly_Drainpipe has quit [Client Quit]
gproto23 has quit [Remote host closed the connection]
grokify has joined #ruby
kenichi has quit [Remote host closed the connection]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sgt_chuckles has joined #ruby
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
stomper2 has joined #ruby
grokify has quit [Ping timeout: 244 seconds]
Petruchio has joined #ruby
cuntor2 has joined #ruby
Prospero has quit [Ping timeout: 244 seconds]
stomper2 has quit [Ping timeout: 268 seconds]
toshiba__ has joined #ruby
Guest6 has joined #ruby
cuntor2 has quit [Ping timeout: 246 seconds]
stomper2 has joined #ruby
grokify has joined #ruby
toshiba__ has quit [Ping timeout: 246 seconds]
cuntor2 has joined #ruby
stomper2 has quit [Ping timeout: 268 seconds]
ur5us has joined #ruby
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
<adam12> I wonder if there'd be any interest in the ability to search across _all_ code ever published in Rubygems.
some14u has joined #ruby
grokify has quit [Remote host closed the connection]
<some14u> Anyone using Turbo in combination with jquery here?
grokify has joined #ruby
cuntor2 has quit [Remote host closed the connection]
stomper2 has joined #ruby
<adam12> some14u: I'm not, but I use a similar pairing. Did you have a question?
nirvdrum has joined #ruby
<some14u> Well, I have this jquery $(".some-a-link").on("click").. handler that hides and shows my menu bar. Now when I add Turbo to my page this link gets broken once Turbo starts kicking in (e.g. after the first visit to another page).
<D_A_N> i got this
<D_A_N> 1. that's dynamic content, you need to attach the click listener to the body
<D_A_N> 2. better to use vanilla js
<D_A_N> 3. it's document.addEventListener('click', e => {if (e.target.classList.contains('some-a-link') do_the_thing();});
<some14u> thank you. I am going to try out option 1 first. For completeness: even adding data-turbo="false" on this a link does not work.
<some14u> alright thanks a lot. Have been trying out different things for days
<adam12> I think there's an another jQuery syntax you can use too, where you setup the listener on document and add the selector.
<D_A_N> when you attach event listener to element that get destroyed without the script being reran, the listener gets deleted along with it
<adam12> $(document).on('click', '.some-a-link', function() {})
<D_A_N> adam12: there is but i've not used that library in years, i'm p sure it's something like $('body .some-a-link').on('click', do_the_thing());
eddof13 has joined #ruby
cuntor2 has joined #ruby
<D_A_N> but i would think turbo js event destroys the body so you might want to attach the listener even higher up like on the document itself
<D_A_N> even*
Fleeno has joined #ruby
stomper2 has quit [Ping timeout: 264 seconds]
<some14u> Alrighty. this is great. Would you guys advise me to drop jquery as much as possible? I am mainly using it for bootstrap's 'toast' functionality
<D_A_N> i would drop jquey and bootstrap
<D_A_N> go with vanilla js and tailwind
<D_A_N> i've not used jquery for a long time and it makes me cringe when i look at it lol
<some14u> haha okay ;D
<some14u> hmm, dropping bootstrap will be hard. All the styling is done with it. Also I believe tailwind does not provide actual components ui like bootstrap does.
<some14u> i'd rather not clutter up my html with a bunch of tailwind classes. Wanna keep it readable
<D_A_N> bootstrap is okay but personally i've grown to not like it
<adam12> some14u: Most of jQuery has been unnecessary for a very long time.
<adam12> some14u: In some ways, it's likely hurting you in performance. Check out this blog post about the removal of jQuery from Unpoly (a Turbo-like framework that I'm involved with). https://blog.makandra.com/2019/01/performance-impact-of-removing-jquery/
toshiba__ has joined #ruby
<D_A_N> it's like training wheels for javascript
<some14u> wow adam, that's quite a performance improvement.
<some14u> I guess jquery's syntax is a bit nicer than the native listener you showed in step 3 D_A_N but the downside is performance
cuntor2 has quit [Ping timeout: 264 seconds]
<D_A_N> for simple things it can refactor your code to be less but but getting into the nitty gritty you start to see how it just gets in the way
<adam12> One of the reasons I'd advocate for a solution like D_A_N proposed (for new code, anyways) is the fact that browser API's have staying power.
<D_A_N> yes, that too
<adam12> So the knowledge gained by using them is usually more long lasting than the framework de-jour.
<adam12> I wouldn't go re-write old code unless absolutely necessary tho. Just add a shim where necessary and go on with your life. I think there's some smaller jQuery-like APIs that could stand-in, if it ever became a concern.
<some14u> okay, you have me convinced to rewrite this piece of jquery. I had a hard time picking up the code base I am working on because of all the exotic choices that were made. It's indeed better to work against wide conventions.
toshiba__ has quit [Ping timeout: 252 seconds]
<adam12> some14u: It's the unfortunate reality of the web.
<adam12> some14u: I have some projects still using KnockoutJS :P
grokify has quit [Remote host closed the connection]
<adam12> Lately I just use Unpoly and maybe a few web components. And I've stopped using Tailwind nearly everywhere too...
grokify has joined #ruby
<D_A_N> i'd think js is probably one of the more quickly changing paradigms too being how high level it is
<some14u> haha adam, I am on the same boat as you. Had to 'knock out' a lot of knockout + was really excited about Tailwind too but it really clutters up the html which makes it unworkable in the end. Dropped it as well.
<adam12> some14u: This is the other project I mentioned, Unpoly. Just to derail you further :P https://unpoly.com
stomper2 has joined #ruby
<some14u> Am even questioning my use of Turbo... Alright going to take a look Unpoly haha
<D_A_N> i could see not liking tailwind but i think it's good because any css rules you can see right on the element, no need to search through a separate style sheet
<D_A_N> though i guess you could mitigate that if you have a really good canonical naming convention for ur classes
<some14u> it looks a bit like htmx which seems like the perfect balance between sanity and usefulness
grokify has quit [Ping timeout: 244 seconds]
<some14u> D_A_N, yes one can grok what's going on with the sytling by looking at the html. That's what I like about it too.
<adam12> some14u: Yes! Super similar to htmx (and it's predecessor, Intercooler)
<adam12> A long time ago I used Intercooler, and it was good, but I had much more success with Unpoly. So I've used Unpoly ever since.
cuntor2 has joined #ruby
nmollerup has joined #ruby
<some14u> Alright sounds good. Am going to read up on it. I actually only introduced Turbo because I saw a tutorial to get infinite scrolling to work with Pagy gem once turbo 7.2 got released: https://www.colby.so/posts/infinite-scroll-with-turbo-streams-and-stimulus But maybe Turbo is not needed for that purpose after all :-)
stomper2 has quit [Ping timeout: 252 seconds]
<adam12> For that, I might just use htmx...
<adam12> Or nothing. See IntersectionObserver and fetch.
toshiba__ has joined #ruby
<some14u> thanks. Let's keep it as simple as possible for maintainability in the future.
cuntor2 has quit [Ping timeout: 265 seconds]
sgt_chuckles has quit [Quit: Client closed]
stomper2 has joined #ruby
toshiba__ has quit [Ping timeout: 244 seconds]
<adam12> IntersectionObserver + fetch might only be a dozen lines. Could be worth exploring.
<adam12> Fitting to quote Mike's article, which I saw re-shared today on Twitter. Kill your dependencies. https://www.mikeperham.com/2016/02/09/kill-your-dependencies/
<adam12> D_A_N: Have you looked at Openprops at all?
cuntor2 has joined #ruby
<some14u> good read and so true adam
stomper2 has quit [Ping timeout: 244 seconds]
_ht has quit [Quit: _ht]
toshiba__ has joined #ruby
walez has quit [Quit: Leaving]
cuntor2 has quit [Ping timeout: 268 seconds]
sgt_chuckles has joined #ruby
wand has quit [Quit: leaving]
stomper2 has joined #ruby
toshiba__ has quit [Ping timeout: 268 seconds]
cuntor2 has joined #ruby
stomper2 has quit [Ping timeout: 260 seconds]
toshiba__ has joined #ruby
Fleeno has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cuntor2 has quit [Ping timeout: 260 seconds]
Fleeno has joined #ruby
cuntor2 has joined #ruby
toshiba__ has quit [Ping timeout: 260 seconds]
jpn has joined #ruby
kenichi has joined #ruby
kenichi has quit [Changing host]
kenichi has joined #ruby
toshiba__ has joined #ruby
jpn has quit [Ping timeout: 244 seconds]
cuntor2 has quit [Ping timeout: 260 seconds]
grokify has joined #ruby
toshiba__ has quit [Ping timeout: 252 seconds]
stomper2 has joined #ruby
grokify has quit [Ping timeout: 244 seconds]
jpn has joined #ruby
<D_A_N> adam12: i've not, i just google it though, looks neat
cuntor2 has joined #ruby
stomper2 has quit [Ping timeout: 252 seconds]
dionysus69 has quit [Ping timeout: 252 seconds]
toshiba__ has joined #ruby
cuntor2 has quit [Ping timeout: 268 seconds]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nirvdrum has quit [Quit: nirvdrum]
stomper2 has joined #ruby
toshiba__ has quit [Ping timeout: 260 seconds]
cuntor2 has joined #ruby
Guest6 has quit [Quit: Client closed]
stomper2 has quit [Ping timeout: 244 seconds]
Fleeno has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stomper2 has joined #ruby
dionysus69 has joined #ruby
cuntor2 has quit [Ping timeout: 265 seconds]
cuntor2 has joined #ruby
cuntor2 has quit [Remote host closed the connection]
grokify has joined #ruby
cuntor2 has joined #ruby
stomper2 has quit [Ping timeout: 244 seconds]
cuntor2 has quit [Ping timeout: 252 seconds]
pgib has quit [Ping timeout: 268 seconds]
jpn has quit [Ping timeout: 244 seconds]
drainpipe has joined #ruby
drainpipe has quit [Client Quit]
drainpipe has joined #ruby
eddof13 has joined #ruby
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drainpipe has quit [Quit: WeeChat 3.6]
desnudopenguino has quit [Ping timeout: 244 seconds]
drainpipe has joined #ruby
grokify has quit [Remote host closed the connection]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
some14u has joined #ruby
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 244 seconds]
grokify has joined #ruby
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
grokify has quit [Ping timeout: 252 seconds]
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
desnudopenguino has joined #ruby
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
gr33n7007h has quit [Ping timeout: 264 seconds]
wand has joined #ruby
grokify has joined #ruby
gr33n7007h has joined #ruby
drainpipe has quit [Quit: WeeChat 3.4.1]
gr33n7007h has quit [Ping timeout: 252 seconds]
jpn has joined #ruby
gr33n7007h has joined #ruby
jpn has quit [Ping timeout: 244 seconds]
c10l has quit [Quit: See ya! o/]
c10l has joined #ruby
pvalenta has quit [Quit: ZNC - https://znc.in]
pvalenta has joined #ruby
grokify has quit [Remote host closed the connection]