MomosOrDeath5 has quit [Ping timeout: 272 seconds]
MomosOrDeath59 is now known as MomosOrDeath5
ollysmith has joined #ruby
jas-maelstrom has quit [Ping timeout: 268 seconds]
olusx has quit [Ping timeout: 268 seconds]
olus has joined #ruby
roger_rabbit has quit [Ping timeout: 268 seconds]
gcd has quit [Remote host closed the connection]
gr33n7007h has joined #ruby
gcd has joined #ruby
roger_rabbit has joined #ruby
_ht has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
foxxx0 has joined #ruby
raptelan has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jas-maelstrom has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
Axenntio has joined #ruby
infinityfye has joined #ruby
infinityfye has left #ruby [#ruby]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
Sobinec has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
raptelan has joined #ruby
jenrzzz has joined #ruby
raptelan has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
osc4rpt has quit [Ping timeout: 246 seconds]
osc4rpt has joined #ruby
jenrzzz has joined #ruby
agrosant has joined #ruby
agrosant has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
Guest61 has joined #ruby
thelounge04 has joined #ruby
jenrzzz has joined #ruby
agrosant has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
agrosant has quit [Ping timeout: 264 seconds]
monr0e has joined #ruby
jenrzzz has joined #ruby
pusewicz has joined #ruby
Guest61 has quit [Quit: Client closed]
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
agrosant has joined #ruby
pusewicz has quit [Quit: leaving]
piotr_ has joined #ruby
piotr_ has quit [Client Quit]
pusewicz has joined #ruby
Vonter has quit [Ping timeout: 260 seconds]
agrosant has quit [Ping timeout: 264 seconds]
Vonter has joined #ruby
thelounge04 has quit [Ping timeout: 260 seconds]
agrosant has joined #ruby
deadmarshal_ has quit [Ping timeout: 264 seconds]
deadmarshal_ has joined #ruby
grenierm has quit [Ping timeout: 250 seconds]
thelounge25 has joined #ruby
thelounge25 has quit [Client Quit]
agrosant has quit [Ping timeout: 264 seconds]
thelounge142 has joined #ruby
<rapha>
hmm ... RuboCop tells me "Do not use `::` for method calls.". What's the rationale behind that? I'm only doing it in one case: when there is an enum on a model and I wish to get the numerical value by its symbol name.
<[0x1eef]>
The rationale is probably that it is unusual to use :: for method calls.
agrosant has joined #ruby
osc4rpt has quit [Ping timeout: 272 seconds]
osc4rpt has joined #ruby
wyclif has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
raptelan has joined #ruby
osc4rpt has quit [Ping timeout: 260 seconds]
raptelan has quit [Ping timeout: 268 seconds]
osc4rpt has joined #ruby
<rapha>
alright, so RuboCop fascism
<rapha>
thanks
thelounge142 has joined #ruby
raptelan has joined #ruby
jenrzzz has joined #ruby
user71 has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
osc4rpt has quit [Ping timeout: 240 seconds]
osc4rpt has joined #ruby
thelounge142 has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
ih8u has quit [Ping timeout: 240 seconds]
szkl has joined #ruby
thelounge142 has joined #ruby
jenrzzz has joined #ruby
<adam12>
It's something from ancient-Ruby times.
<adam12>
But I think they decided it was too confusing vs `::` for namespacing constants.
gaussianblue has quit [Quit: leaving]
jenrzzz has quit [Ping timeout: 268 seconds]
ih8u has joined #ruby
agrosant has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
thelounge142 has quit [Remote host closed the connection]
jenrzzz has joined #ruby
wyclif has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
wyclif has joined #ruby
graywolf has quit [Quit: WeeChat 4.0.4]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
TomyWork has joined #ruby
jenrzzz has joined #ruby
<rapha>
When there's an enum on a model class, I kind of use it like a constant. It reads in a useful way to my eye. Disabled that RuboCop rule now.
jenrzzz has quit [Ping timeout: 272 seconds]
jenrzzz has joined #ruby
<rapha>
Hmm ... `it` instead of `_1` sort of stops reading nicely when followed by a singular method ... `it.merge({some: 'thing'})`
<rapha>
Would be kinda cool to have something like `i` or `obj` as a synonym.
<sam113101>
don't you hate how it's start_with? and include? instead of starts_with? and includes?
jenrzzz has quit [Ping timeout: 252 seconds]
agrosant has joined #ruby
szkl has quit [Quit: Connection closed for inactivity]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
<raptelan>
Can bundle config be specific to a particular gem version? For example, instead of BUNDLE_BUILD__POSIX-SPAWN: "--with-cflags=-Wno-incompatible-function-pointer-types", I'd like to have that argument only passed in when the posix-spawn gem is version 0.3.15, as presumably any future version will have a fix that alleviates the need for it.
Guest43 has joined #ruby
wyclif has quit [Ping timeout: 246 seconds]
agrosant has quit [Ping timeout: 264 seconds]
<adam12>
rapha: I'd rather just give it a real name instead of using _1 or the it alias.
<adam12>
raptelan: I'm not aware of any.
<adam12>
raptelan: Is posix-spawn a dependency of yours or a dependency of a dependency?
<adam12>
imho, it's not really needed anymore. Process.spawn is a lot faster than it used to be.
wyclif has joined #ruby
eddof13 has joined #ruby
wyclif has quit [Ping timeout: 246 seconds]
cek has joined #ruby
jenrzzz has joined #ruby
eddof13 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 272 seconds]
dannyAAM has quit [Quit: znc.saru.moe : ZNC 1.6.2 - http://znc.in]
user71 has quit [Remote host closed the connection]
user71 has joined #ruby
wyclif has joined #ruby
wyclif has quit [Ping timeout: 240 seconds]
dannyAAM has joined #ruby
Guest43 has quit [Quit: Client closed]
TomyWork has quit [Remote host closed the connection]
wyclif has joined #ruby
wyclif has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
desnudopenguino has quit [Remote host closed the connection]
desnudopenguino has joined #ruby
victori has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
victori has joined #ruby
Axenntio has quit [Quit: Axenntio]
Axenntio has joined #ruby
Sobinec has quit [Ping timeout: 252 seconds]
Axenntio has quit [Quit: Axenntio]
<rapha>
adam12: the new feature doesn't take that away tho, does it?
<adam12>
rapha: I don't follow.
wyclif has joined #ruby
whysthatso125070 has joined #ruby
jenrzzz has joined #ruby
desnudopenguino1 has joined #ruby
wyclif has quit [Ping timeout: 246 seconds]
desnudopenguino1 has quit [Client Quit]
jenrzzz has quit [Ping timeout: 272 seconds]
pusewicz1 has joined #ruby
desnudopenguino has quit [Ping timeout: 252 seconds]
desnudopenguino has joined #ruby
pusewicz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 252 seconds]
desnudopenguino1 is now known as desnudopenguino
monr0e has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 255 seconds]
<rapha>
adam12: you said you'd rather name the items in a block instead of using the numbering or `it`. i tried to respond pointing out that the naming feature isn't being removed.
<adam12>
rapha: Oh, I know that.
<adam12>
rapha: I'm just saying, programming is mostly reading existing code, and naming matters. I'll probably personally push for a good argument name over an anonymous arg every time.
<rapha>
No argument there. In fact, that *was* my original argument ;)
desnudopenguino1 has joined #ruby
agrosant has joined #ruby
desnudopenguino has quit [Ping timeout: 252 seconds]
desnudopenguino1 is now known as desnudopenguino
jenrzzz has joined #ruby
agrosant has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
desnudopenguino1 has joined #ruby
desnudopenguino1 has quit [Client Quit]
desnudopenguino has quit [Ping timeout: 252 seconds]
desnudopenguino has joined #ruby
wyclif has joined #ruby
agrosant has joined #ruby
monr0e has joined #ruby
desnudopenguino has quit [Client Quit]
desnudopenguino has joined #ruby
wyclif has quit [Ping timeout: 252 seconds]
wyclif has joined #ruby
wyclif has quit [Ping timeout: 255 seconds]
agrosant has quit [Ping timeout: 264 seconds]
osc4rpt has quit [Ping timeout: 264 seconds]
osc4rpt has joined #ruby
<adam12>
rapha: Nice :) I guess I wasn't following close enough. Busy week.
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 252 seconds]
desnudopenguino1 is now known as desnudopenguino
osc4rpt has quit [Ping timeout: 264 seconds]
osc4rpt has joined #ruby
wyclif has joined #ruby
agrosant has joined #ruby
wyclif has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
agrosant has quit [Ping timeout: 264 seconds]
wyclif has joined #ruby
wyclif has quit [Ping timeout: 272 seconds]
wyclif has joined #ruby
wyclif has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
<rapha>
Oh tell me about it adam12 ... wishing for the rest of your week to be as unstressful as possible
jenrzzz has quit [Ping timeout: 260 seconds]
user71 has quit [Quit: Leaving]
monr0e has quit [Remote host closed the connection]
jenrzzz has joined #ruby
_ht has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 268 seconds]
wyclif has joined #ruby
wyclif has quit [Ping timeout: 252 seconds]
infernix has quit [Ping timeout: 260 seconds]
raptelan has quit [Ping timeout: 252 seconds]
gaussianblue has joined #ruby
infernix has joined #ruby
wyclif has joined #ruby
raptelan has joined #ruby
jenrzzz has joined #ruby
wyclif has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
wyclif has joined #ruby
<[0x1eef]>
If you have a collection of apples, then it's obvious _1 or 'it' refers to an apple.
jenrzzz has joined #ruby
agrosant has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
<adam12>
rapha: Thanks. I'm working on my own thing (dnslint.com) this week so it's quite pleasant. Just busy as I'm trying to ship as much as possible.
<[0x1eef]>
What will it do ? There's not much there atm.
Linux_Kerio has joined #ruby
agrosant has quit [Ping timeout: 264 seconds]
mange has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
<[0x1eef]>
Doesn't work for my own domain :( But looks nice with google.com.
jenrzzz has quit [Ping timeout: 268 seconds]
<adam12>
[0x1eef]: Which domain? Can you PM me privately if you don't want to say?
<[0x1eef]>
Same domain I connect to IRC with: al-quran.reflectslight.io
<[0x1eef]>
Ah I see the issue. It doesn't work with subdomains. The toplevel domain works fine.
<adam12>
Yes. No subdomain.
<adam12>
I should add a test for that.
desnudopenguino has quit [Read error: Connection reset by peer]
desnudopenguino has joined #ruby
<[0x1eef]>
Looks useful but I find it a bit hard to grasp all the information. It'd be nice if it could be grouped under sections.
<adam12>
Yes, that page needs to be refactored.
<[0x1eef]>
Roger :)
<adam12>
Working on frontend pieces. Trying to keep it micro-SaaS size.
<adam12>
~ 1500 LOC so far.
<adam12>
Trying out Halfmoon (a Bootstrap 5 compatible library) on it and it's quite enjoyable. I haven't used Bootstrap since v2? or v3?
<adam12>
Bootstrap 5 seems to be in an interesting place where it's Bootstrap + utility classes.
desnudopenguino1 has joined #ruby
agrosant has quit [Ping timeout: 264 seconds]
sarna has joined #ruby
<[0x1eef]>
I Iike tailwind. It makes me think in a sort of abstract way that I don't normally when writing vanilla CSS.
desnudopenguino has quit [Ping timeout: 268 seconds]
desnudopenguino1 is now known as desnudopenguino
<adam12>
I was using Tailwind for a number of years but I am not sure it's the direction I want anymore.
<weaksauce>
i dislike tailwind rn
<[0x1eef]>
The nice thing about it is that it maps directly to CSS, where as bootstrap brings its own components.
<adam12>
I went completely in the other direction after using it at scale, going to OpenProps for a few projects. But I want something in the middle and Halfmoon seems to be that.
<adam12>
Yes, that's exactly what I wanted, at least for this project.
<adam12>
I have a Tailwind UI license but unless I am using Phlex, I find server side components in Ruby kinda meh.
<adam12>
Bootstrap 5 is reset + components + utilities.
<adam12>
Halfmoon is reset + components + utilities in Bootstrap 5 syntax, but with everything as CSS variables and not Saas.
<adam12>
err, Sass.
<[0x1eef]>
We have different mindsets then, I guess :) I want to use CSS rather than an abstraction on top of it.
<adam12>
I'm surprised you like Tailwind then.
<[0x1eef]>
Tailwind is not so much an abstraction though. It provides classes that map directly to CSS properties, where as bootstrap provides abstract concepts that map to multiple properties.
<adam12>
I know a lot of utilities are 1-1 mappings to CSS properties but it still feels somewhat of an abstraction, especially `sm:[some-weird-custom-prop]` or whatever.
<adam12>
Yeah.
<adam12>
To each their own, I guess.
<adam12>
I didn't mind Tailwind until I worked on a project with weaker frontend developers.
<adam12>
It did help the CSS from bloating horribly, which I've seen a lot before, but they still just added classes that never did anything.
<[0x1eef]>
I don't use the 'sm:' stuff. I basically use this: https://github.com/0x1eef/tail.css within a sass environment, and sprinkle custom CSS on top for the 'sm:xxx' etc parts.
<[0x1eef]>
Fair enough :)
<adam12>
[0x1eef]: Why aren't you using the Tailwind preflight for tail.css?
sarna has quit [Ping timeout: 252 seconds]
<[0x1eef]>
Not sure what that is. xD But it sounds like normalize.css handles it. That's bundled with tail.css.
<adam12>
Yeah. It's the Tailwind version of normalize I believe.