havenwood changed the topic of #ruby to: Ruby 3.3.0, 3.2.3, 3.1.4 https://www.ruby-lang.org | Rules https://ruby-community.com | Logs https://libera.irclog.whitequark.org/ruby
c10l has quit [Quit: Ping timeout (120 seconds)]
c10l has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
rvalue has quit [Ping timeout: 264 seconds]
<adam12> gr33n7007h: Sequel is the best.
jenrzzz has quit [Ping timeout: 246 seconds]
rvalue has joined #ruby
<gr33n7007h> adam12: Totally agree!
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
<adam12> Every app I've built since 2015 has used Sequel.
<adam12> I'm looking at writing more Rails again and not really looking forward to being limited by ActiveRecord again :\
<weaksauc_> adam12 there a reason you don't want to use sequel
jenrzzz has quit [Ping timeout: 264 seconds]
<weaksauc_> s/don't want to/preventing you from
jenrzzz_ has quit [Ping timeout: 264 seconds]
<adam12> weaksauc_: Past experience tells me that going against "the Rails way" is usually painful.
<adam12> I've had some changes to my long-term consulting arrangements, and new arrangements may not be using Sequel. If they are evergreen by me, they normally would be, but you just never know.
<weaksauc_> ah that tracks
<weaksauc_> i wonder how painful a hybrid approach would be
<weaksauc_> (never used sequel for the record)
<adam12> There's a plugin that let's you re-use activerecord connections that might not be too bad.
<adam12> But if you used Sequel models, it would just be too confusing.
<adam12> Having access to the power of Sequel expressions in a Rails application would be amazing tho.
<adam12> I stopped writing Rails back in 2015 because Sequel was way better, and adding it to Rails was possible but challenging. Lots of things expect ActiveRecord.
<adam12> Specifically at the time, I wanted class table inheritance.
<adam12> I think Rails kind of has it now with delegated types?
<weaksauc_> damn
<adam12> I occasionally do security audits of Rails applications and it's not uncommon to find sql injection risks, especially where there are no nice constructs to build a query (and they can't figure out Arel). Very rarely do I find anything in a Sequel app.
<adam12> I doubt they'd ever be able to bring in Sequel now.
<weaksauc_> it does seem that ar makes the easy things easy and the hard things possible
<weaksauc_> kinda optimized AR for the blog demo
<adam12> My issue was always that they treated the database as a dumb data store
<adam12> Even constraints/foreign keys were not really supported until recently.
<weaksauc_> yeah
<adam12> They wanted everything done in the app, which I found to cause weird bugs.
<weaksauc_> FK was an active choice bitd
<weaksauc_> "i want a single source of truth"
<adam12> Sequel doesn't really hold your hand. Want an association through 5 tables? Have at it.
<adam12> Adopting Sequel is a risk because it's just Jeremy and I'm sure he's gonna retire soon. I looked through the code and I'd adopt it if I had to, but throw away all the adapters but postgres and sequel :P
<adam12> s/soon/eventually/. He's still pretty young.
<weaksauc_> i'd prefer that probably... though a lot of db things are just crud which AR does do quite well
<weaksauc_> but anytime you deviate a bit it's pain
<adam12> Yeah.
<adam12> Sequel is definitely a "database toolkit" vs an ORM. You can completely forget about the ORM part if you want to, and Sequel is still awesome.
<weaksauc_> jermey seems to be a robot
<adam12> A thin layer over every database adapter you can think of.
<weaksauc_> there's so many projects he's lead of
<adam12> He does. I don't know where he finds the time.
<weaksauc_> he responded himself to that hah
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
szkl has joined #ruby
enosant has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
<adam12> Wow. Sam asked that a long time ago.
reset has joined #ruby
<adam12> I agree it's not tedius, just that on a team, most people would expect things to work that wouldnt.
<adam12> (throw most of the admin panels out, for sure)
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
Vonter has quit [Ping timeout: 260 seconds]
Vonter has joined #ruby
jenrzzz_ has quit [Ping timeout: 246 seconds]
fercell has joined #ruby
fercell_ has quit [Ping timeout: 256 seconds]
enosant has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 260 seconds]
brokkoli_origin has quit [Ping timeout: 264 seconds]
brokkoli_origin has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
020AAIH9M has joined #ruby
003AANM45 has joined #ruby
020AAIH9M has quit [Ping timeout: 240 seconds]
003AANM45 has quit [Ping timeout: 256 seconds]
johnjaye has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Remote host closed the connection]
jenrzzz has joined #ruby
_ht has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
jenrzzz has joined #ruby
grenierm has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
Linux_Kerio has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
Linux_Kerio has quit [Ping timeout: 264 seconds]
Linux_Kerio has joined #ruby
mange has quit [Quit: Quittin' time!]
llua has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
llua has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
_ht has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 256 seconds]
Aminda has quit [Remote host closed the connection]
Aminda has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
Vonter has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
Vonter has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
Aminda has quit [Remote host closed the connection]
Aminda has joined #ruby
hightower2 has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 264 seconds]
RetroPunk has quit [Quit: cya]
jenrzzz has joined #ruby
RetroPunk has joined #ruby
RetroPunk has quit [Remote host closed the connection]
RetroPunk has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
poems has quit [Ping timeout: 240 seconds]
schne1der has joined #ruby
poems has joined #ruby
Furai has quit [Quit: WeeChat 4.2.1]
Furai has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
jenrzzz_ has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
grenierm has quit [Quit: Client closed]
jenrzzz has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
Linux_Kerio has joined #ruby
jenrzzz has joined #ruby
dviola has quit [Quit: WeeChat 4.2.0]
whysthatso125070 has quit [Quit: The Lounge - https://thelounge.chat]
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
brokkoli_origin has quit [Remote host closed the connection]
brokkoli_origin has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
jenrzzz_ has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
ms9944 has joined #ruby
<ms9944> ?
ms9944 has quit [Client Quit]
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 256 seconds]
Vonter has quit [Quit: WeeChat 4.2.1]
Vonter has joined #ruby
graywolf has joined #ruby
jenrzzz has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
infinityfye has joined #ruby
szkl has quit [Quit: Connection closed for inactivity]
bambanxx has joined #ruby
jenrzzz has joined #ruby
bambanxx has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 256 seconds]
bambanxx has joined #ruby
jenrzzz_ has quit [Ping timeout: 276 seconds]
graywolf has quit [Quit: WeeChat 4.0.4]
jenrzzz has joined #ruby
Aminda has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
Vonter has quit [Ping timeout: 264 seconds]
Vonter has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
jenrzzz_ has joined #ruby
bambanxx has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
jenrzzz_ has quit [Ping timeout: 260 seconds]
bambanxx has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 252 seconds]
Cork has quit [Ping timeout: 256 seconds]
moo has quit [Quit: moo]
Cork has joined #ruby
donofrio has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
bambanxx has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
moo has joined #ruby
ionface has quit []
jenrzzz_ has joined #ruby
CRISPR has joined #ruby
jenrzzz_ has quit [Ping timeout: 260 seconds]
graywolf has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
jas-maelstrom has quit [Remote host closed the connection]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 256 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 276 seconds]
bambanxx has joined #ruby
bambanxx has quit [Client Quit]
CRISPR has quit [Ping timeout: 264 seconds]
jenrzzz_ has joined #ruby
_ht has joined #ruby
jenrzzz_ has quit [Ping timeout: 264 seconds]
jas-maelstrom has joined #ruby
jenrzzz_ has joined #ruby
___nick___ has joined #ruby
jenrzzz_ has quit [Ping timeout: 264 seconds]
schne1der has quit [Ping timeout: 260 seconds]
polishdub has quit [Read error: Connection reset by peer]
polishdub has joined #ruby
jenrzzz_ has joined #ruby
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
jenrzzz_ has quit [Ping timeout: 276 seconds]
bambanxx has joined #ruby
jenrzzz_ has joined #ruby
Vonter has quit [Quit: WeeChat 4.2.1]
jenrzzz_ has quit [Ping timeout: 264 seconds]
CRISPR has joined #ruby
graywolf has quit [Quit: WeeChat 4.0.4]
Guest13 has joined #ruby
jess has quit []
Guest13 has quit [Client Quit]
jess has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 264 seconds]
havenwood has quit [Quit: The Lounge - https://thelounge.chat]
havenwood has joined #ruby
jenrzzz_ has joined #ruby
havenwood has quit [Client Quit]
havenwood has joined #ruby
jenrzzz_ has quit [Ping timeout: 264 seconds]
CRISPR has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
Aminda has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 276 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
Linux_Kerio has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 264 seconds]
jenrzzz_ has joined #ruby
Linux_Kerio has joined #ruby
<henk> I’m kinda going insane here with ACME/letsencrypt and JWT. neither ruby-jwt nor json-jwt seem able to do what is needed for it to work with ACME/LE and I find that a bit hard to believe … so in some way I think I must be doing something wrong. ruby-jwt does not seem to support JWT flattened notation so whatever comes out of it cannot be used with ACME. json-jwt on the other hand seems to just add
<henk> a `kid` header when I `sign` my JWT and ACME does not like that for the newAccount request because this needs to carry a `jwk` header key with the new jwk to be used for the created account and that is mutually exclusive with `kid` header key. am I missing anything here?
<henk> https://github.com/jwt/ruby-jwt and https://github.com/nov/json-jwt are the libs I’m talking about
___nick___ has quit [Ping timeout: 246 seconds]
<henk> sorry, I may not be very coherent. I’m a bit upset.
jenrzzz_ has quit [Ping timeout: 264 seconds]
_ht has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 260 seconds]
<adam12> Hmm. I'm having some deja vu here.
<adam12> I swear I built a library that did this.
<adam12> (which I never ended up using)
bgkitlua has joined #ruby
<bgkitlua> exit
bgkitlua has quit [Client Quit]
<adam12> Ooh. I didn't do the certificate request myself, stubbing out to another library. https://github.com/adam12/rack-acme
<adam12> henk: What are you using for the ACME reference doc?
osc4rpt has quit [Quit: leaving]
<henk> yeah, I’m going to use acme-client as well, I think … I’m mainly writing my own client for the higher level features but thought I could learn some things about the lower-level stuff by doing this myself. but the JWS/JWT/JWK stuff seems a real PITA and I’m not prepared to get into ASN.1 and DER and encryption key components ATM …
<adam12> I don't blame you.
osc4rpt has joined #ruby
osc4rpt has quit [Client Quit]
<adam12> I thought that the JWS was just a signed HMAC which isn't that bad, but looking at ASN.1 and DER, it looks less appealing. I'm all for eliminating dependencies, but personally this might be one yak I let someone else shave.
jenrzzz has joined #ruby
<henk> yeah, me too for eliminating dependencies, but this is too hairy
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
bambanxx has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
brokkoli_origin has quit [Ping timeout: 246 seconds]
dalan038228335 has quit [Quit: dalan038228335]
dalan038228335 has joined #ruby
brokkoli_origin has joined #ruby
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
infinityfye has quit [Quit: Leaving]
bambanxx has joined #ruby
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 264 seconds]
desnudopenguino1 is now known as desnudopenguino
bambanxx has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
bambanxx has joined #ruby
osc4rpt has joined #ruby
bambanxx has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
bambanxx has joined #ruby
bambanxx has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
donofrio has quit [Read error: Connection reset by peer]
donofrio has joined #ruby