<The_Camel>
havenwood, what's your favourite CSS framework?
<The_Camel>
think I mentioned it before but, ultimately, after some reflection, a huge portion of web development ultimately results in a lot of front end CSS code.
<The_Camel>
like, as much as 70% lol
<The_Camel>
mixed in with html
<The_Camel>
I want to get into tailwind but
<The_Camel>
the mandatory vue.js kinda makes me wanna scratch my back.
<weaksauce>
wat
<weaksauce>
why would you need vue
<The_Camel>
weaksauce, look at the components and docs. they're using vue code heavily.
<weaksauce>
The_Camel i don't need to it's framework agnostic
<The_Camel>
weaksauce, I would've thought that too until I looked at it.
<The_Camel>
it's like aliexpress' css/ui framework. that too requires vue.js
<weaksauce>
post your homework here. i don't buy it one second
cybniv has quit [Read error: Connection reset by peer]
niv has joined #ruby
schne1der has joined #ruby
jmcantrell has quit [Ping timeout: 268 seconds]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
infinityfye has joined #ruby
wanderfish has quit [Quit: quits]
acosta7 has joined #ruby
acosta has quit [Quit: Ping timeout (120 seconds)]
acosta7 is now known as acosta
grenierm has quit [Ping timeout: 272 seconds]
dionysus69 has joined #ruby
rvalue has quit [Ping timeout: 245 seconds]
TomyWork has joined #ruby
ua_ has quit [Ping timeout: 276 seconds]
ua_ has joined #ruby
rvalue has joined #ruby
acosta has quit [Read error: Connection reset by peer]
acosta has joined #ruby
otisolsen70 has joined #ruby
Linux_Kerio has joined #ruby
nyoki has joined #ruby
acosta4 has joined #ruby
acosta has quit [Read error: Connection reset by peer]
acosta4 is now known as acosta
schne1der has quit [Ping timeout: 272 seconds]
weaksauce has quit [Ping timeout: 244 seconds]
TomyWork has quit [Quit: Leaving]
weaksauce has joined #ruby
TomyWork has joined #ruby
o0x1eef has quit [Ping timeout: 252 seconds]
schne1der has joined #ruby
fantazo has joined #ruby
GreenResponse has joined #ruby
rvalue has quit [Ping timeout: 276 seconds]
rvalue has joined #ruby
johnjaye has quit [Ping timeout: 260 seconds]
o0x1eef has joined #ruby
otisolsen70 has quit [Read error: Connection reset by peer]
mange has quit [Quit: Zzz...]
tronexte has quit [Ping timeout: 248 seconds]
tronexte has joined #ruby
polishdub has quit [Remote host closed the connection]
johnjaye has joined #ruby
<The_Camel_>
weaksauce, o0x1eef do you happen to know something like this, but for ruby? I need a good "one size fits all" guide for ruby, covering rails, rack, general macroframeworks, and whatnot. https://www.fullstackpython.com/
<The_Camel_>
because whoever made fullstack python, did indeed do what I wanted.
szkl has quit [Quit: Connection closed for inactivity]
<dorian>
hey noticing something weird: is the apostrophe character special in ruby regexes?
<kmad>
dorian: What's happening?
<dorian>
like if i do "that's all folks".gsub(/'/, "\\'") i get "thats all folkss all folks"
dionysus69 has joined #ruby
<dorian>
which, wat
<dorian>
like i'm trying to escape the apostrophe obvs
<kmad>
Ah, it's the replace argument. \' in the replacement refers to 'the entire matched pattern' (as do \0).
<dorian>
ah, so how would i express "a literal backslash and then an apostrophe" in a pattern replacement
<kmad>
You might need "\\\'" for that, but if you're simply trying to handle quotes, there may be better options available that don't require regex.
<dorian>
not trying to "handle" them beyond escaping really; what this is is a little email obfuscating routine that will take something like mailto:lol@wut.biz?subject=blah%20blah%20blah and turn it into javascript:sendMail('wut.biz','lol','blah%20blah%20blah') - just need to handle the case that there's an unescaped apostrophe (note url-encoding it is not enough because the js decodes it before evaluating)
<dorian>
er unescaped apostrophe in the subject
<dorian>
(also note that ' is part of the `sub-delims` character class in rfc3986 and does not need to be url-encoded)
svm is now known as msv
<kmad>
Wouldn't it work if you entity-encoded it, like: " ?
<dorian>
you would use " if you were using single ticks for the attributes, like href=''
<dorian>
ie not where the issue is
<kmad>
I just saw you were using single quotes in the javascript call, I thought that was the issue.
<dorian>
single quotes in the javascript: URI, because using standard double quotes in the html attributes
<dorian>
but if the thing inside the string contains a quote, it will break the *javascript* syntax
<kmad>
Ah, I see.
<dorian>
so that has to be escaped
<dorian>
i think i figured it out though, just using lookahead/lookbehind assertions
sarna has quit [Ping timeout: 260 seconds]
<kmad>
It's weird. I don't think using lookahead/lookbehind should be at all necessary.
<dorian>
agreed in principle but this is giving me a hell of a time
<kmad>
Yeah, it's weird. I can't make it behave either.