havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.4, 2.5.6, 2.7.0-preview1: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
vondruch has quit [Client Quit]
vondruch has joined #ruby
Emmanuel_Chanel has joined #ruby
cd has quit [Ping timeout: 244 seconds]
vondruch has quit [Client Quit]
skryking has quit [Ping timeout: 268 seconds]
skryking has joined #ruby
poontangmessiah has quit [Quit: Leaving]
poontangmessiah has joined #ruby
Swyper has joined #ruby
grilix has joined #ruby
catbusters has joined #ruby
wildtrees has quit [Quit: Leaving]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
hightower3 has quit [Ping timeout: 245 seconds]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
duderonomy has joined #ruby
poontangmessiah has quit [Remote host closed the connection]
sagax has quit [Quit: Konversation terminated!]
vondruch has joined #ruby
poontangmessiah has joined #ruby
InfinityFye has quit [Quit: Leaving]
lucasb has quit [Quit: Connection closed for inactivity]
dasher00 has quit [Ping timeout: 258 seconds]
ellcs has joined #ruby
chalkmonster has joined #ruby
dviola has joined #ruby
schne1der has quit [Ping timeout: 268 seconds]
poontangmessiah has quit [Remote host closed the connection]
nius has quit [Remote host closed the connection]
AJA4350 has quit [Quit: AJA4350]
Nicmavr has quit [Read error: Connection reset by peer]
ellcs has quit [Ping timeout: 264 seconds]
Nicmavr has joined #ruby
Sithembewena has joined #ruby
galaxie has quit [Remote host closed the connection]
galaxie has joined #ruby
Sithembewena has quit [Quit: Textual IRC Client: www.textualapp.com]
oetjenj has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Ping timeout: 268 seconds]
alan_w has joined #ruby
alan_w has quit [Ping timeout: 258 seconds]
Swyper has joined #ruby
ur5us has joined #ruby
Swyper has quit [Remote host closed the connection]
greengriminal has quit [Quit: This computer has gone to sleep]
BH23 has quit [Ping timeout: 245 seconds]
BH23 has joined #ruby
catbusters has quit [Quit: Connection closed for inactivity]
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
hutch has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
ur5us has quit [Remote host closed the connection]
cd has joined #ruby
ur5us has joined #ruby
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
ur5us has quit [Ping timeout: 244 seconds]
oetjenj has quit [Client Quit]
gnufied has quit [Ping timeout: 244 seconds]
ravenousmoose has joined #ruby
grilix has quit [Ping timeout: 240 seconds]
hutch has quit [Ping timeout: 252 seconds]
hutch has joined #ruby
ravenousmoose has quit [Ping timeout: 276 seconds]
BH23 has quit [Ping timeout: 246 seconds]
jud has joined #ruby
hutch has quit [Ping timeout: 250 seconds]
dr_mdma_md has joined #ruby
_whitelogger has joined #ruby
BH23 has joined #ruby
dviola has quit [Quit: WeeChat 2.5]
hutch has joined #ruby
vondruch has quit [Ping timeout: 245 seconds]
phroa has quit [Ping timeout: 268 seconds]
hutch has quit [Ping timeout: 264 seconds]
phroa has joined #ruby
Yojimble has quit [Remote host closed the connection]
havenwood has joined #ruby
havenwood has joined #ruby
vondruch has joined #ruby
cd has quit [Quit: cd]
BH23 has quit [Ping timeout: 245 seconds]
tdy1 is now known as tdy
r3m has quit [Quit: WeeChat 2.6-rc2]
r3m has joined #ruby
pep7 has quit [Read error: Connection reset by peer]
ravenousmoose has joined #ruby
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ravenousmoose has quit [Ping timeout: 250 seconds]
ravenousmoose has joined #ruby
ravenousmoose has quit [Ping timeout: 276 seconds]
elphe has joined #ruby
r3m has quit [Quit: WeeChat 2.6-rc2]
r3m has joined #ruby
_whitelogger has joined #ruby
<leftylink> sometimes I wish there were a Hash#invert that would make arrays out of all former-keys (now values) with a former-value (now key). like `{a: 1, b: 2, c: 2}.my_cool_invert == {2 => %i(b c), 1 => %i(a)}`. probably just have to make it up using each_with_object ... shrug.
<leftylink> hmm. you know. I write `Hash.new { |h, k| h[k] = [] }` so often that sometimes I wish there were a shortcut for that. you know, like py `defaultdict(list)`
DTZUZO has quit [Ping timeout: 248 seconds]
<havenwood> &>> {a: 1, b: 2, c: 2}.group_by(&:last).transform_values(&:to_h).transform_values(&:keys) # leftylink
<rubydoc> # => {1=>[:a], 2=>[:b, :c]} (https://carc.in/#/r/7ivs)
<chalkmonster> I want them to implement Symbol#call for truly troll tier ruby.
<chalkmonster> https://bugs.ruby-lang.org/issues/12115 yall seen this?
<leftylink> that would indeed be interesting
<havenwood> &>> :to_s.to_proc.call(42)
<rubydoc> # => "42" (https://carc.in/#/r/7ivt)
<IGnorAND> havenwood knows all
<havenwood> chalkmonster: There was a more recent proposal along the same lines. https://bugs.ruby-lang.org/issues/16113
<chalkmonster> havenwood: yeah I read all attached issues, I get the sense that ruby might be heading too close to its perl heritage than I'd like
<chalkmonster> but eh, you don't have to use it if you don't want to
ur5us has joined #ruby
<havenwood> chalkmonster: I definitely like the .: syntax that's been merged.
<chalkmonster> havenwood: lonk
ur5us has quit [Ping timeout: 258 seconds]
<leftylink> when you can't read code you wrote months ago
<leftylink> past me must have overestimated future me's tolerance? patience? intelligence??? who knows
alan_w has joined #ruby
KeyJoo has joined #ruby
elphe has quit [Quit: leaving]
alan_w has quit [Ping timeout: 244 seconds]
ravenousmoose has joined #ruby
marens has quit [Ping timeout: 245 seconds]
marens has joined #ruby
<baweaver> leftylink: That's why past me started writing documentation for everything
<baweaver> Then also took up writing notes and design documents
<baweaver> Context is king, and most of the time I know what the code does but not why I made a certain assumption
<baweaver> It might be some giant pitfall or bug I don't remember, and changing it to what makes more sense could be real dangerous
sameerynho has joined #ruby
queip has quit [Ping timeout: 244 seconds]
dionysus69 has joined #ruby
BH23 has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.5]
oetjenj has joined #ruby
queip has joined #ruby
sajinmp has joined #ruby
BH23 has quit [Ping timeout: 258 seconds]
baojg has joined #ruby
paprika has joined #ruby
absolutejam1 has joined #ruby
paprika has quit [Client Quit]
Fernando-Basso has joined #ruby
reber has joined #ruby
ravenousmoose has quit [Ping timeout: 252 seconds]
zapata has quit [Quit: WeeChat 2.5]
d^sh has quit [Ping timeout: 245 seconds]
d^sh has joined #ruby
dionysus69 has quit [Ping timeout: 258 seconds]
phroa has quit [Ping timeout: 245 seconds]
FastJack has quit [Ping timeout: 264 seconds]
FastJack has joined #ruby
morozovm has joined #ruby
morozovm has quit [Remote host closed the connection]
AJA4350 has joined #ruby
absolutejam1 has quit [Ping timeout: 244 seconds]
beanie__ has joined #ruby
tpanarch1st_ has quit [Ping timeout: 258 seconds]
hightower3 has joined #ruby
fphilipe_ has quit [Quit: WeeChat 2.4]
dasher00 has joined #ruby
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fphilipe has joined #ruby
hightower3 has quit [Changing host]
hightower3 has joined #ruby
planigan has quit [Ping timeout: 258 seconds]
<Intelo> havenwood, the gist worked. Now I have to compare the old solution and new solution and find/learn why /how one worked an other didn't. Thanks for the support
schaerli has joined #ruby
planigan has joined #ruby
sajinmp has quit [Ping timeout: 246 seconds]
planigan has quit [Ping timeout: 244 seconds]
schaerli has quit [Ping timeout: 245 seconds]
planigan has joined #ruby
dretnx has joined #ruby
Furai has quit [Remote host closed the connection]
Furai has joined #ruby
planigan has quit [Ping timeout: 246 seconds]
planigan has joined #ruby
poontangmessiah has joined #ruby
planigan has quit [Ping timeout: 244 seconds]
schaerli has joined #ruby
dionysus69 has joined #ruby
dbugger has joined #ruby
_dbugger has joined #ruby
tdy has quit [Ping timeout: 240 seconds]
DTZUZO has joined #ruby
dbugger has quit [Ping timeout: 264 seconds]
schaerli has quit [Ping timeout: 245 seconds]
Esa_ has quit []
_dbugger has quit [Quit: Leaving]
dbugger has joined #ruby
hiroaki has joined #ruby
nowhere_man has joined #ruby
ravenousmoose has joined #ruby
nowhere_man has quit [Read error: Connection reset by peer]
alan_w has joined #ruby
nowhere_man has joined #ruby
planigan has joined #ruby
alan_w has quit [Ping timeout: 244 seconds]
Azure has quit [Read error: Connection reset by peer]
nowhere_man has quit [Ping timeout: 264 seconds]
planigan has quit [Ping timeout: 244 seconds]
nowhereman has joined #ruby
Inline__ has joined #ruby
Azure has joined #ruby
Inline has quit [Ping timeout: 264 seconds]
nowhereman has quit [Ping timeout: 276 seconds]
Azure has quit [Read error: Connection reset by peer]
DTZUZO has quit [Ping timeout: 246 seconds]
schne1der has joined #ruby
InfinityFye has joined #ruby
nowhere_man has joined #ruby
skryking has quit [Ping timeout: 265 seconds]
galeido has quit [Ping timeout: 246 seconds]
planigan has joined #ruby
schne1der has quit [Ping timeout: 268 seconds]
DTZUZO has joined #ruby
planigan has quit [Ping timeout: 244 seconds]
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tsujp has joined #ruby
DTZUZO has quit [Ping timeout: 245 seconds]
skryking has joined #ruby
Azure has joined #ruby
suukim has joined #ruby
geospeck has joined #ruby
skryking has quit [Ping timeout: 268 seconds]
skryking has joined #ruby
zapata has joined #ruby
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
chalkmonster has joined #ruby
lucasb has joined #ruby
greengriminal has joined #ruby
nowhere_man has quit [Ping timeout: 245 seconds]
geospeck has quit [Remote host closed the connection]
planigan has joined #ruby
queip has quit [Ping timeout: 258 seconds]
planigan has quit [Ping timeout: 268 seconds]
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
KeyJoo has quit [Quit: KeyJoo]
greengriminal has quit [Quit: Leaving]
tsujp has joined #ruby
queip has joined #ruby
nowhere_man has joined #ruby
sagax has joined #ruby
yokel has quit [Ping timeout: 246 seconds]
gigetoo has quit [Ping timeout: 268 seconds]
gigetoo has joined #ruby
yokel has joined #ruby
schne1der has joined #ruby
skryking has quit [Ping timeout: 245 seconds]
vondruch has quit [Quit: vondruch]
iamayam has joined #ruby
skryking has joined #ruby
iamayam has quit [Quit: Scientology! Join the cult!!!!]
Swyper has joined #ruby
iamayam has joined #ruby
greengriminal has joined #ruby
hutch has joined #ruby
planigan has joined #ruby
InfinityFye has quit [Ping timeout: 245 seconds]
InfinityFye has joined #ruby
MrBismuth has joined #ruby
MrBusiness3 has quit [Ping timeout: 250 seconds]
Fernando-Basso has quit [Remote host closed the connection]
hutch has quit [Ping timeout: 276 seconds]
cd has joined #ruby
nowhere_man has quit [Remote host closed the connection]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Esa_ has joined #ruby
nowhere_man has joined #ruby
emptyflask has joined #ruby
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Read error: Connection reset by peer]
ua has joined #ruby
ua_ has quit [Ping timeout: 268 seconds]
Swyper has joined #ruby
conta has joined #ruby
hutch has joined #ruby
nowhere_man has quit [Remote host closed the connection]
alan_w has joined #ruby
queip has quit [Ping timeout: 244 seconds]
DaRock has quit [Ping timeout: 265 seconds]
jmcgnh has quit [Ping timeout: 245 seconds]
jmcgnh_ has joined #ruby
jmcgnh_ is now known as jmcgnh
alan_w has quit [Ping timeout: 244 seconds]
queip has joined #ruby
planigan has quit [Ping timeout: 246 seconds]
hutch has quit [Ping timeout: 250 seconds]
monika has joined #ruby
monika has quit [Client Quit]
ddffg has joined #ruby
DTZUZO has joined #ruby
hiroaki has quit [Ping timeout: 268 seconds]
poontangmessiah has quit [Remote host closed the connection]
ddffg has quit [Quit: Leaving]
fphilipe has quit [Ping timeout: 250 seconds]
planigan has joined #ruby
rippa has joined #ruby
planigan has quit [Ping timeout: 245 seconds]
dbugger has quit [Quit: Leaving]
chalkmonster has quit [Quit: WeeChat 2.5]
planigan has joined #ruby
conta1 has joined #ruby
conta has quit [Ping timeout: 245 seconds]
conta1 is now known as conta
camilasan has quit [Ping timeout: 240 seconds]
conta has quit [Remote host closed the connection]
dinfuehr has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
suukim has quit [Remote host closed the connection]
fphilipe has joined #ruby
chalkmonster has joined #ruby
skryking has quit [Quit: WeeChat 2.4]
chalkmonster has quit [Client Quit]
dretnx has quit [Quit: Going offline, see ya! (www.adiirc.com)]
greengriminal has quit [Quit: Leaving]
gix has joined #ruby
tdy has joined #ruby
phroa has joined #ruby
hutch has joined #ruby
hutch has quit [Ping timeout: 276 seconds]
Exuma has joined #ruby
absolutejam1 has joined #ruby
m27frogy has quit [Ping timeout: 258 seconds]
dbugger has joined #ruby
alan_w has joined #ruby
m27frogy has joined #ruby
arandomandy has joined #ruby
alan_w has quit [Ping timeout: 268 seconds]
queip has quit [Ping timeout: 245 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 268 seconds]
dionysus70 is now known as dionysus69
queip has joined #ruby
schne1der has quit [Ping timeout: 268 seconds]
beanie__ has quit [Ping timeout: 258 seconds]
dionysus69 has quit [Ping timeout: 258 seconds]
dinfuehr has quit [Ping timeout: 245 seconds]
dinfuehr has joined #ruby
dionysus69 has joined #ruby
fphilipe has quit [Ping timeout: 276 seconds]
cnsvc has joined #ruby
hutch has joined #ruby
al2o3-cr has joined #ruby
<al2o3-cr> apparently they've found 42
<al2o3-cr> &>> -80538738812075974 ** 3 + 80435758145817515 ** 3 + 12602123297335631 ** 3
<rubydoc> # => 42 (https://carc.in/#/r/7j3c)
al2o3-cr has quit [Client Quit]
fphilipe has joined #ruby
<leftylink> at the risk of great embarrassment to me, I would need to ask what is the significance of those numbers is. if there was something I was supposed to know, it looks like I missed the memo
<leftylink> ... oh, it's not the three numbers that's important. it's the one number (42) that's important
<leftylink> well okay then
hutch has quit [Ping timeout: 250 seconds]
Ven`` has joined #ruby
Tempesta has quit [*.net *.split]
Tempesta has joined #ruby
Tempesta has joined #ruby
Tempesta has quit [Changing host]
spacesuitdiver has joined #ruby
hutch has joined #ruby
Fusl has quit [*.net *.split]
jinie has quit [*.net *.split]
jinie has joined #ruby
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Fusl has joined #ruby
gix has quit [Quit: Client exiting]
rafadc_ has joined #ruby
rafadc has quit [Ping timeout: 244 seconds]
Emmanuel_Chanel has quit [*.net *.split]
RiPuk has quit [*.net *.split]
KramerC has quit [*.net *.split]
xfbs has quit [*.net *.split]
KramerC has joined #ruby
RiPuk has joined #ruby
Emmanuel_Chanel has joined #ruby
xfbs has joined #ruby
johnny56 has quit [*.net *.split]
hutch has quit [Ping timeout: 276 seconds]
johnny56 has joined #ruby
VladGh has quit [Read error: Connection reset by peer]
VladGh has joined #ruby
gix has joined #ruby
ap4y has joined #ruby
cd has quit [Quit: cd]
camilasan has joined #ruby
camilasan has quit [Client Quit]
vondruch has joined #ruby
ap4y has quit [Ping timeout: 268 seconds]
cd has joined #ruby
cthulchu has joined #ruby
cthu| has quit [Ping timeout: 258 seconds]
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
emptyflask has quit [Ping timeout: 245 seconds]
emptyflask has joined #ruby
camilasan has joined #ruby
cnsvc has quit [Ping timeout: 260 seconds]
dbugger has quit [Quit: Leaving]
ap4y has joined #ruby
dionysus69 has quit [Ping timeout: 245 seconds]
cd has quit [Quit: cd]
absolutejam1 has quit [Ping timeout: 245 seconds]
ur5us has joined #ruby
oetjenj has joined #ruby
marmot has joined #ruby
gix has quit [Quit: Client exiting]
marmot98 has joined #ruby
marmot has quit [Quit: Leaving]
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hagabaka has quit [Ping timeout: 258 seconds]
_mak has quit [Ping timeout: 245 seconds]
hagabaka has joined #ruby
InfinityFye has quit [Ping timeout: 246 seconds]
_mak has joined #ruby
marmot98 has quit [Quit: Leaving]
marmot98 has joined #ruby
akem-hp_ has joined #ruby
marmot98 has quit [Client Quit]
akem-hp has quit [Ping timeout: 268 seconds]
marmot98 has joined #ruby
akem-hp_ has quit [Ping timeout: 259 seconds]
reber has quit [Remote host closed the connection]
gix has joined #ruby
arandomandy has quit [Quit: leaving]
Freshnuts has joined #ruby
bitwinery has joined #ruby
poontangmessiah has joined #ruby
alan_w has joined #ruby
bitwinery has quit [Remote host closed the connection]
bitwinery has joined #ruby
sameerynho has quit [Ping timeout: 245 seconds]
davor has quit [Ping timeout: 246 seconds]
davor has joined #ruby
alan_w has quit [Ping timeout: 244 seconds]
gix has quit [Quit: Client exiting]
thebananaking has joined #ruby
justache is now known as justache[SF]
dasher00 has quit [Ping timeout: 258 seconds]
LtHummus has quit [Quit: ZNC 1.7.4 - https://znc.in]
LtHummus has joined #ruby
albus has joined #ruby
<albus> Is there a way to wait for a process to complete when running it with back ticks?
<albus> e.g. if I have `cat file1 file2 file3 ... fileN > output`
<albus> I don't want to execute the next line of ruby until that process completes
poontangmessiah_ has joined #ruby
poontangmessiah has quit [Ping timeout: 244 seconds]
justache[SF] is now known as justache
DaRock has joined #ruby
Freshnuts has quit [Quit: Leaving]
albus has quit [Remote host closed the connection]
caspercat has joined #ruby
cnsvc has joined #ruby
caspercat has quit [Ping timeout: 260 seconds]