lucasb has quit [Quit: Connection closed for inactivity]
meinside has joined #ruby
jenrzzz has quit [Remote host closed the connection]
nowhere_man has quit [Ping timeout: 272 seconds]
centrx has quit [Remote host closed the connection]
centrx has joined #ruby
centrx has quit [Ping timeout: 264 seconds]
centrx has joined #ruby
<centrx>
What's up guys
mroulston has joined #ruby
mroulston has quit [Client Quit]
<apotheon>
I, for one, am working on some domain registrar migration.
<apotheon>
. . . and I just watched the New Mutants movie.
mroulsto_ has joined #ruby
mroulsto_ has quit [Client Quit]
mroulston has joined #ruby
mroulston has quit [Client Quit]
aremaref has joined #ruby
mroulston has joined #ruby
Technodrome has joined #ruby
mroulston has quit [Client Quit]
aremaref has quit [Ping timeout: 260 seconds]
mroulston has joined #ruby
freshmaker666 has quit [Quit: ZNC 1.8.2 - https://znc.in]
centrx_ has joined #ruby
<mroulston>
puts x[/\[(.*?)\]/, 1]
<mroulston>
Does anyone know the purpose of ", 1" in the previous regex?
<mroulston>
Only works if ", 1" is included, but I haven't been able to figure out what purpose that serves.
<leftylink>
well, it's not even part of the regex. it's the second argument to #[]
centrx has quit [Ping timeout: 260 seconds]
<mroulston>
x = "This is some sample text [extracted text]"
<mroulston>
puts x[/\[(.*?)\]/, 1]
<leftylink>
therefore, one should read the documentation of String#[] to see the meaning of the second argument to String#[] .
gix- has quit [Ping timeout: 260 seconds]
<mroulston>
Documentation didn't help.
<mroulston>
If a Regexp is supplied, the matching portion of the string is returned. If a capture follows the regular expression, which may be a capture group index or name, follows the regular expression that component of the MatchData is returned instead.
<mroulston>
Or at least I can't seem to get that capture group index to work in a way that makes any sense to me.
fippy has quit [Quit: Leaving]
<leftylink>
well, there's exactly one capture group in that regular expression, so any value other than 0 or 1 would be meaningless for that particular one. but for a different regular expression, the story would be different
ur5us has joined #ruby
<mroulston>
Ah, I gotcha. I understand now. I was misunderstanding but it's clear now. Many thanks for your time, leftlink.
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
prion has quit [Ping timeout: 272 seconds]
tv- has quit [Quit: WeeChat 2.8]
tv- has joined #ruby
<centrx_>
apotheon: (New Mutants) That looks interesting. Was it good? (IMDB has a lower rating)
<apotheon>
Yeah, I liked it.
<apotheon>
At one time, I owned about eighty of the original run of the comic series, and the characterizations in the movie were closer to the comic characters than most movie adaptations of superheros.
<centrx_>
apotheon: Cool, thanks, I'll check it out. I've been looking for movies/shows like this
royo25 has quit [Remote host closed the connection]
royo25 has joined #ruby
<jhass>
and of course I missed the last instance, but eh
<cloud69>
:D
<cloud69>
hehe no probs
<cloud69>
yeah label does sound better than leading
<jhass>
I didn't get what it's doing at first :P
<jhass>
I guess this is a button? if you're not too deep into the JS rabbit hole already, consider making it a <form><input type="submit" /></form> :)
TomyWork has joined #ruby
kaivai has quit [Ping timeout: 256 seconds]
kaivai has joined #ruby
mroulston has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<cloud69>
It used to be a link to the shopping cart page
<cloud69>
But in an attempt to radically simplify the UI, it's now going to be the only nav element on the page, triggering the sliding in of an overlay containing the shopping cart, product categories and a minimized "more info" div for all the boring footer stuff :)
<jhass>
mmmh, okay
<jhass>
then, "if you're not too deep into the JS rabbit hole", consider making it an <a> to the shopping cart page and have the JS listener prevent the default action in favor of the sliding pane :D
weaksauce has quit [Ping timeout: 272 seconds]
kaivai has quit [Ping timeout: 265 seconds]
mroulston has joined #ruby
al2o3-cr has joined #ruby
kaivai has joined #ruby
blackmesa has joined #ruby
<cloud69>
Brilliant idea!
<cloud69>
last line now reads: link_to "#{ label } #{ count_tag }".html_safe, spree.cart_path, class: "shopping_bag_trigger"
<ambidextrose>
i should have learned ruby. is how it feels...
<ambidextrose>
but i feel like i'm too old to learn right now
<adam12>
ambidextrose: If you already know a programming language, I can't see Ruby being _that_ difficult to learn.
prion has quit [Ping timeout: 256 seconds]
<jhass>
if learning a language makes you afraid, you never learned enough of them ;)
<ambidextrose>
adam12, i'm not young and curious anymore
<jhass>
(to realize that programming is just programming)
<ambidextrose>
jhass, it's not fear of learning, it's fear of forgetting
nowhere_man has quit [Ping timeout: 272 seconds]
roshanavand has joined #ruby
<ambidextrose>
i'm reading my favorite code books from 20 years ago. feels like i should remember so much more
<ambidextrose>
i just wish i'd learned ruby instead of python
<adam12>
A lot of it is likely muscle memory.
<ambidextrose>
back in the zeroes
<ambidextrose>
yeah. i'm at the age where muscle memory feels really good. i don't want to change it
<ambidextrose>
i want to build on the muscles that are there because that feels good
<ambidextrose>
that's kind of the beautiful thing about how each programmer is kind of an artist with a unique style, as i see it
cer0 has joined #ruby
centrx has joined #ruby
* ambidextrose
thinks about the metric space of Style, a word that is actually completely unused in art circles to describe the very thing computer programmers call art
Swyper_ has joined #ruby
ambidextrose has left #ruby [#ruby]
Swyper has quit [Ping timeout: 240 seconds]
TomyWork has quit [Quit: Leaving]
roshanavand has quit [Ping timeout: 256 seconds]
ellcs has quit [Ping timeout: 240 seconds]
centrx has quit [Remote host closed the connection]
prion has joined #ruby
<prion>
guys when is ruby 3 coming
AndyC has joined #ruby
<prion>
and does it have guilds
<havenwood>
prion: Christmas and yes.
<havenwood>
prion: Guilds were renamed Ractors. You can try the preview release now or 3.0.0 will be released December 25.
aremaref has quit [Ping timeout: 256 seconds]
mwlang has joined #ruby
<prion>
wow that's soon
<prion>
now i'm excited
crankharder has joined #ruby
kristian_on_linu has joined #ruby
crankharder has quit [Ping timeout: 256 seconds]
crankharder has joined #ruby
prion has quit [Ping timeout: 272 seconds]
crankharder has quit [Ping timeout: 256 seconds]
AndyC has quit [Ping timeout: 240 seconds]
cd has joined #ruby
centrx has joined #ruby
crankharder has joined #ruby
Xiti has joined #ruby
aremaref has joined #ruby
centrx has quit [Remote host closed the connection]
akem has joined #ruby
crankharder has quit [Ping timeout: 256 seconds]
centrx has joined #ruby
fercell has quit [Quit: WeeChat 2.9]
akem_ has joined #ruby
crankharder has joined #ruby
<apotheon>
18:28 < prion> and does it have guilds
akem has quit [Ping timeout: 260 seconds]
<apotheon>
That comes off like a joke about Ruby being an MMORPG series.
<apotheon>
"Hay guise! When's Ruby 3 coming? Does it have guilds? Wanna start a Ruby guild with me? We can raid dungeons together!"
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
crankharder has quit [Ping timeout: 240 seconds]
<adam12>
lol
<apotheon>
I do like to play Ruby sometimes, but I've long been known to say that C is my favorite video game.
<apotheon>
Ruby is my most common language choice for getting things done.
crankharder has joined #ruby
mroulston has joined #ruby
<nakilon>
I liked "guilds" (
howdoi has joined #ruby
<havenwood>
I also prefer "guilds"
mroulston has quit [Client Quit]
crankharder has quit [Ping timeout: 240 seconds]
<apotheon>
I'm guessing "ractor" comes from "Ruby actor". Is that the case?
<havenwood>
apotheon: yup, not rapping actors despite popular belief
weaksauce has joined #ruby
<adam12>
Missed opportunity there, imho ;P
<apotheon>
Maybe we'll get rapping actors in Ruby 3.1, and they'll be called raptors.
<nakilon>
triceraptors
<apotheon>
Then there'll be a high performance raptor in Ruby 3.2 called velociraptor.
<nakilon>
TRIceraptor meaning 3.0 is another missed opportunity
<apotheon>
I guess triceraptors would be a trinary raptor operator type.
<apotheon>
If you mess with the triceraptor, you get the horns.
sagax has joined #ruby
_whitelogger has joined #ruby
aremaref has quit [Ping timeout: 264 seconds]
AndyC has joined #ruby
centrx_ has joined #ruby
teclator has quit [Remote host closed the connection]
centrx has quit [Ping timeout: 260 seconds]
gix has joined #ruby
Eiam_ has joined #ruby
prion has joined #ruby
Technodrome has joined #ruby
mroulston has joined #ruby
GodFather_ has quit [Ping timeout: 246 seconds]
GodFather has quit [Ping timeout: 264 seconds]
AndyC has quit [Ping timeout: 265 seconds]
GodFather_ has joined #ruby
GodFather has joined #ruby
weaksauce has quit [Ping timeout: 240 seconds]
GodFather has quit [Ping timeout: 240 seconds]
GodFather_ has quit [Ping timeout: 272 seconds]
mroulston has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GodFather_ has joined #ruby
GodFather has joined #ruby
ur5us has joined #ruby
Xiti has quit [Ping timeout: 264 seconds]
davispuh has quit [Ping timeout: 256 seconds]
seed0 has joined #ruby
infinityfye has quit [Quit: Leaving]
aremaref has joined #ruby
Xiti has joined #ruby
BTRE has quit [Remote host closed the connection]
cer0 has quit [Ping timeout: 256 seconds]
prion has quit [Ping timeout: 260 seconds]
BTRE has joined #ruby
roshanavand has joined #ruby
crankharder has joined #ruby
roshanavand has quit [Ping timeout: 264 seconds]
TCZ has joined #ruby
davispuh has joined #ruby
crankharder has quit [Ping timeout: 260 seconds]
nyota[m] has joined #ruby
davispuh has quit [Ping timeout: 260 seconds]
davispuh has joined #ruby
nowhere_man has joined #ruby
teardown has joined #ruby
roshanavand has joined #ruby
bambanx has joined #ruby
blackmesa has quit [Ping timeout: 268 seconds]
jo-so has quit [*.net *.split]
shenghi1 has quit [*.net *.split]
swaggboi has quit [*.net *.split]
fowl has quit [*.net *.split]
clemens3 has quit [*.net *.split]
centrx_ has quit [Remote host closed the connection]
prion has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TCZ has quit [Remote host closed the connection]
crankharder has joined #ruby
clemens3 has joined #ruby
crankharder has quit [Ping timeout: 260 seconds]
roshanavand has quit [Ping timeout: 265 seconds]
cloud69 has quit [Quit: Connection closed for inactivity]
crankharder has joined #ruby
nowhereman has joined #ruby
nowhere_man has quit [Ping timeout: 272 seconds]
nowhereman is now known as nowhere_man
crankharder has quit [Ping timeout: 260 seconds]
aremaref has quit [Ping timeout: 240 seconds]
crankharder has joined #ruby
swaggboi has joined #ruby
shenghi1 has joined #ruby
jo-so has joined #ruby
fowl has joined #ruby
Eiam has quit [Quit: (╯°□°)╯︵ ǝpouǝǝɹɟ]
mwlang has quit [Quit: mwlang]
crankharder has quit [Ping timeout: 240 seconds]
aremaref has joined #ruby
bambanx has quit [Remote host closed the connection]
bambanx has joined #ruby
aremaref has quit [Ping timeout: 256 seconds]
bambanx has quit [Remote host closed the connection]
aremaref has joined #ruby
bambanx has joined #ruby
centrx has joined #ruby
Eiam has joined #ruby
kristian_on_linu has quit [Remote host closed the connection]
nowhereman has joined #ruby
nowhere_man has quit [Ping timeout: 240 seconds]
centrx has quit [Ping timeout: 264 seconds]
Technodrome has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
bambanx has quit [Remote host closed the connection]
bambanx has joined #ruby
bambanx has quit [Remote host closed the connection]
bambanx has joined #ruby
plutes has joined #ruby
plutes has quit [Max SendQ exceeded]
plutes has joined #ruby
crankharder has joined #ruby
braincrash has quit [Ping timeout: 240 seconds]
crankharder has quit [Ping timeout: 240 seconds]
al2o3-cr has quit [Ping timeout: 256 seconds]
TCZ has joined #ruby
plutes has quit [Quit: If you judge me now, you have judge me prematurely.]
Xiti has quit [Quit: Leaving]
TCZ has quit [Quit: Diabe? tkwi w szczegó?ach]
helpa has quit [Remote host closed the connection]