havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.3, 2.5.5, 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!
Exuma has joined #ruby
emptyfl4sk has joined #ruby
_falsebay_ has quit [Read error: Connection reset by peer]
Technodrome has joined #ruby
emptyfl4sk has quit [Ping timeout: 248 seconds]
Azure has quit [Ping timeout: 246 seconds]
dbugger has quit [Ping timeout: 252 seconds]
hightower2 has quit [Ping timeout: 268 seconds]
Azure has joined #ruby
<garyserj> when you pass a key-value pair as an argument to a parameter where the parameter is of the form blah not blah: then is it still called a keyword argument, or just a hash?
_falsebay_ has joined #ruby
hightower2 has joined #ruby
Azure has quit [Ping timeout: 248 seconds]
CCDelivery has joined #ruby
fphilipe_ has joined #ruby
akem_lnvo has joined #ruby
akem__ has joined #ruby
fphilipe_ has quit [Ping timeout: 252 seconds]
sylario has quit [Quit: Connection closed for inactivity]
lepepe has joined #ruby
akem_lnvo has quit [Ping timeout: 246 seconds]
lepepe_ has joined #ruby
lepepe__ has joined #ruby
lepepe has quit [Read error: Connection reset by peer]
lepepe_ has quit [Ping timeout: 258 seconds]
megamos has quit [Remote host closed the connection]
Azure has joined #ruby
Azure|dc has joined #ruby
schne1der has quit [Ping timeout: 244 seconds]
brool has joined #ruby
Azure has quit [Ping timeout: 248 seconds]
Azure|dc has quit [Ping timeout: 245 seconds]
megamos has joined #ruby
CCDelivery has quit [Remote host closed the connection]
megamos has quit [Ping timeout: 248 seconds]
queip has quit [Ping timeout: 258 seconds]
Azure has joined #ruby
Azure|dc has joined #ruby
Azure has quit [Read error: Connection reset by peer]
Exuma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Azure|dc has quit [Ping timeout: 244 seconds]
Azure has joined #ruby
akem__ has quit [Ping timeout: 248 seconds]
queip has joined #ruby
Azure has quit [Read error: Connection reset by peer]
Azure|dc has joined #ruby
jaequery has joined #ruby
Azure|dc has quit [Ping timeout: 268 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
exmortus has quit [Remote host closed the connection]
ascarter has quit [Quit: Textual IRC Client: www.textualapp.com]
exmortus has joined #ruby
staticx has joined #ruby
staticx has quit [Remote host closed the connection]
staticx has joined #ruby
AJA4350 has quit [Quit: AJA4350]
emptyfl4sk has joined #ruby
Azure has joined #ruby
exmortus has quit [Ping timeout: 248 seconds]
emptyfl4sk has quit [Ping timeout: 258 seconds]
tpanarch1st has quit [Ping timeout: 272 seconds]
chalkmonster has quit [Quit: WeeChat 2.5]
Exuma has joined #ruby
chalkmonster has joined #ruby
chalkmonster has quit [Client Quit]
Exuma has quit [Client Quit]
facest has joined #ruby
kent\n has quit [Read error: Connection reset by peer]
faces has quit [Ping timeout: 272 seconds]
kent\n has joined #ruby
cd has quit [Quit: cd]
chalkmonster has joined #ruby
JoL1hAHN has quit [Quit: WeeChat 1.4]
<leftylink> wow, well I had not thought about this working before, but it does. if using colons on the definition site and => on the call site
<leftylink> &>> def f(a, b: :bd, c: :cd) [a, b, c] end; f(:aa, :b => :ba, :c => :ca)
<rubydoc> # => [:aa, :ba, :ca] (https://carc.in/#/r/76wa)
<leftylink> I guess that demystifies how all this handling must go on behind the scenes if you're allowed to use => at call site
<leftylink> TIL
chalkmonster has quit [Client Quit]
fphilipe_ has joined #ruby
chalkmonster has joined #ruby
dviola has quit [Quit: WeeChat 2.5]
haxx0r has joined #ruby
Esa_ has quit []
<garyserj> leftylink: well, if it converts hash to keyword argument, how are we meant to know if it's passing a hash or a keyword argument, when curly braces are omitted?
fphilipe_ has quit [Ping timeout: 264 seconds]
ascarter has joined #ruby
<leftylink> that question boils down to "I don't know what this function I'm calling will do with the arguments I'm passing it". that is fundamentally a true statement, we just don't know
<leftylink> unless we have read its code or we believe any contract it professes to adhere to
orbyt_ has joined #ruby
<garyserj> we are talking about functions with empty bodies here
akem-lnvo has joined #ruby
<leftylink> my answer doesn't mention or care what the bodies of the functions are
<leftylink> we don't know
braincrash has quit [Quit: bye bye]
<garyserj> i'm not asking what the function is doing with the arguments though
<leftylink> I see. I must have misunderstood your question then. I apologise for my misunderstanding.
<garyserj> to rephrase. If Ruby is converting hash to keyword argument, how are we meatn to know if Ruby i passsing a hash or a keyword argument to a function when curly braces are omitted?
Azure has quit [Read error: Connection reset by peer]
<leftylink> well then we should try it and see what happens, and then come to an understanding. what are some potential pieces of code that would disprove a hypothesis
braincrash has joined #ruby
Azure has joined #ruby
<leftylink> &>> def f(a, b: :bd) [a, b] end; f(:aa, :b => :ba, :c => :ca)
<rubydoc> stderr: -e:2:in `f': unknown keyword: c (ArgumentError) (https://carc.in/#/r/76wb)
<leftylink> that is interesting
<leftylink> &>> def f(a, b: :bd) [a, b] end; f(:aa, :b => :ba, ?c => :ca)
<rubydoc> stderr: -e:2:in `<main>': non-symbol key in keyword arguments: "c" (ArgumentError) (https://carc.in/#/r/76wc)
<leftylink> that is even more interesting
noobineer has quit [Ping timeout: 245 seconds]
<leftylink> ... should I be worried that I cannot get the exact same result on my computer...
<leftylink> well, it is true that I am running 2.6.3 instead of 2.6.0 like carc.in is. I wouldn't have thought that would change that though
<leftylink> with that exact same code, I actually get `wrong number of arguments (given 2, expected 1) (ArgumentError)`
<leftylink> oh
<leftylink> they're doing with ruby -e
<leftylink> eh, no, I still get the same even if I ruby with ruby -e
KramerC has quit [Remote host closed the connection]
<leftylink> I wonder if I can find a computer with ruby 2.6.0
henninb has quit [Quit: leaving]
KramerC has joined #ruby
Prira has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<leftylink> &>> def f(a, b: :bd) [a, b] end; p f(:b => :ba, 'asdf' => :ca)
<rubydoc> # => [{:b=>:ba, "asdf"=>:ca}, :bd] (https://carc.in/#/r/76wd)
<leftylink> okay, at least that produces the same result
<leftylink> I would have found it unfortunate if it didn't
<leftylink> ... not that I ever hope anyone will ever rely on this behaviour
<leftylink> the rule for that one seems obvious though since that was a required positional param
<leftylink> &>> def f(a = :adef, b: :bdef) [a, b] end; p f(:b => :bact, 'asdf' => :asdf)
<rubydoc> stderr: playpen: timeout triggered! (https://carc.in/#/r/76wg)
<leftylink> are you serious
<leftylink> &>> def f(a = :adef, b: :bdef) [a, b] end; p f(:b => :bact, 'asdf' => :asdf)
<rubydoc> stderr: -e:2:in `<main>': non-symbol key in keyword arguments: "asdf" (ArgumentError) (https://carc.in/#/r/76wi)
<leftylink> okay, that is actually pretty unfortunate, since it gives a different result on my computer
<leftylink> that being [{"asdf"=>:asdf}, :bact]
<leftylink> which is pretty unintuitive if you think about it
orbyt_ has joined #ruby
gix- has joined #ruby
gix has quit [Disconnected by services]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has joined #ruby
Freshnuts has joined #ruby
emptyfl4sk has joined #ruby
_whitelogger has joined #ruby
emptyfl4sk has quit [Ping timeout: 245 seconds]
Exuma has joined #ruby
_whitelogger has joined #ruby
jaequery has quit [Ping timeout: 264 seconds]
chalkmonster has quit [Quit: WeeChat 2.5]
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
fphilipe_ has joined #ruby
kyrylo has joined #ruby
emptyfl4sk has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
[rg] has joined #ruby
fphilipe_ has quit [Ping timeout: 276 seconds]
emptyfl4sk has quit [Ping timeout: 272 seconds]
lepepe__ has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
brool has quit [Ping timeout: 252 seconds]
lepepe has joined #ruby
za1b1tsu has joined #ruby
Exuma has joined #ruby
absolutejam1 has joined #ruby
emptyfl4sk has joined #ruby
emptyfl4sk has quit [Ping timeout: 272 seconds]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
absolutejam1 has quit [Ping timeout: 248 seconds]
dellavg_ has joined #ruby
lepepe has quit [Remote host closed the connection]
lepepe has joined #ruby
lepepe has quit [Ping timeout: 244 seconds]
_whitelogger has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_whitelogger_ has joined #ruby
edk has quit [*.net *.split]
nfsnobody has quit [*.net *.split]
iNs has quit [*.net *.split]
galaxie has quit [*.net *.split]
_whitelogger has quit [*.net *.split]
Fusl has quit [*.net *.split]
twe4ked has quit [*.net *.split]
Nightmare has quit [*.net *.split]
claw has quit [*.net *.split]
evdubs has quit [*.net *.split]
infernix has quit [*.net *.split]
victorqueiroz has quit [*.net *.split]
lol768_ has quit [*.net *.split]
afisher has quit [*.net *.split]
mcspud has quit [*.net *.split]
marahin has quit [*.net *.split]
spectra has quit [*.net *.split]
Pillus has quit [*.net *.split]
mnemon has quit [*.net *.split]
lupine has quit [*.net *.split]
shansen has quit [*.net *.split]
tpendragon has quit [*.net *.split]
Prira has quit [*.net *.split]
akem-lnvo has quit [*.net *.split]
abaiste^ has quit [*.net *.split]
staticx has quit [*.net *.split]
GodFather has quit [*.net *.split]
jcalla has quit [*.net *.split]
cadeskywalker has quit [*.net *.split]
teardown has quit [*.net *.split]
green- has quit [*.net *.split]
armyriad has quit [*.net *.split]
absolutejam has quit [*.net *.split]
vondruch has quit [*.net *.split]
jmcgnh has quit [*.net *.split]
Raboo has quit [*.net *.split]
Junaos has quit [*.net *.split]
SirFunk has quit [*.net *.split]
NightMonkey has quit [*.net *.split]
ta has quit [*.net *.split]
camilasan has quit [*.net *.split]
Meanirelli has quit [*.net *.split]
hutch has quit [*.net *.split]
canton7 has quit [*.net *.split]
sparc has quit [*.net *.split]
funnel has quit [*.net *.split]
wmoxam has quit [*.net *.split]
envex has quit [*.net *.split]
justinmcp_ has quit [*.net *.split]
go|dfish has quit [*.net *.split]
Fraeon has quit [*.net *.split]
Koshian has quit [*.net *.split]
aloy has quit [*.net *.split]
Eiam has quit [*.net *.split]
volix has quit [*.net *.split]
bsdbandit has quit [*.net *.split]
Mutsuhito has quit [*.net *.split]
ec has quit [*.net *.split]
kabads has quit [*.net *.split]
Freshnuts has quit [*.net *.split]
DarthGandalf has quit [*.net *.split]
bhaak has quit [*.net *.split]
Xeago has quit [*.net *.split]
deepredsky has quit [*.net *.split]
lord4163 has quit [*.net *.split]
Xiti has quit [*.net *.split]
RiPuk has quit [*.net *.split]
NL3limin4t0r_afk has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
phaul has quit [*.net *.split]
BTRE has quit [*.net *.split]
gigetoo has quit [*.net *.split]
justinweiss has quit [*.net *.split]
aither has quit [*.net *.split]
CrazyEddy has quit [*.net *.split]
ChrisBr has quit [*.net *.split]
shortdudey123 has quit [*.net *.split]
ged has quit [*.net *.split]
skarlso has quit [*.net *.split]
axsuul has quit [*.net *.split]
Calinou has quit [*.net *.split]
ErhardtMundt has quit [*.net *.split]
woodruffw has quit [*.net *.split]
mattwc has quit [*.net *.split]
pilcrow has quit [*.net *.split]
Ekho has quit [*.net *.split]
arand has quit [*.net *.split]
lubekpl has quit [*.net *.split]
genpaku has quit [*.net *.split]
marens has quit [*.net *.split]
ltd has quit [*.net *.split]
za1b1tsu has quit [*.net *.split]
facest has quit [*.net *.split]
_falsebay_ has quit [*.net *.split]
hightower2 has quit [*.net *.split]
mniip has quit [*.net *.split]
davor has quit [*.net *.split]
tdy3 has quit [*.net *.split]
m27frogy has quit [*.net *.split]
psmolen has quit [*.net *.split]
stan has quit [*.net *.split]
cornfeedhobo has quit [*.net *.split]
gb_away has quit [*.net *.split]
pabs has quit [*.net *.split]
shaman42 has quit [*.net *.split]
donofrio has quit [*.net *.split]
Rudd0 has quit [*.net *.split]
ropeney has quit [*.net *.split]
arooni has quit [*.net *.split]
Jello_Raptor has quit [*.net *.split]
Exagone313 has quit [*.net *.split]
Lyubo1 has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
nirix has quit [*.net *.split]
DigitallyBorn has quit [*.net *.split]
Milos has quit [*.net *.split]
daemonwrangler has quit [*.net *.split]
shtirlic has quit [*.net *.split]
oz has quit [*.net *.split]
ule has quit [*.net *.split]
Frobozz has quit [*.net *.split]
Nowaker has quit [*.net *.split]
jidar has quit [*.net *.split]
balo has quit [*.net *.split]
julmac has quit [*.net *.split]
jmosco has quit [*.net *.split]
knight- has quit [*.net *.split]
extrowerk has quit [*.net *.split]
interruptinuse has quit [*.net *.split]
KnownSyntax has quit [*.net *.split]
jhass has quit [*.net *.split]
ghormoon has quit [*.net *.split]
argoneus has quit [*.net *.split]
meinside has quit [*.net *.split]
russt has quit [*.net *.split]
d10n-work has quit [*.net *.split]
peteretep has quit [*.net *.split]
varesa has quit [*.net *.split]
ablackack has quit [*.net *.split]
xtsee has quit [*.net *.split]
maxmanders has quit [*.net *.split]
twoone has quit [*.net *.split]
connor_goodwolf has quit [*.net *.split]
[rg] has quit [*.net *.split]
haxx0r has quit [*.net *.split]
kent\n has quit [*.net *.split]
phenom has quit [*.net *.split]
lightstalker has quit [*.net *.split]
amrx has quit [*.net *.split]
Mrgoose8 has quit [*.net *.split]
Tempesta has quit [*.net *.split]
mr_rich101 has quit [*.net *.split]
spiette has quit [*.net *.split]
masticass has quit [*.net *.split]
ryouba has quit [*.net *.split]
zululee_ has quit [*.net *.split]
planigan has quit [*.net *.split]
joast has quit [*.net *.split]
cats has quit [*.net *.split]
cpallares has quit [*.net *.split]
helpa has quit [*.net *.split]
linuus has quit [*.net *.split]
d^sh has quit [*.net *.split]
DTZUZU has quit [*.net *.split]
leah2 has quit [*.net *.split]
cgfbee has quit [*.net *.split]
Leopere has quit [*.net *.split]
AndroidKitKat has quit [*.net *.split]
ozzloy has quit [*.net *.split]
garyserj has quit [*.net *.split]
priodev has quit [*.net *.split]
aef has quit [*.net *.split]
universa1 has quit [*.net *.split]
nowz has quit [*.net *.split]
Seich has quit [*.net *.split]
ImAdPEr|wORkInG has quit [*.net *.split]
lucas has quit [*.net *.split]
nemesit|znc has quit [*.net *.split]
Davey has quit [*.net *.split]
justache has quit [*.net *.split]
Fire-Dragon-DoL has quit [*.net *.split]
pelegreno has quit [*.net *.split]
chromis has quit [*.net *.split]
livcd has quit [*.net *.split]
IanMalcolm has quit [*.net *.split]
akosednar has quit [*.net *.split]
stooj has quit [*.net *.split]
yokel has quit [*.net *.split]
DTZUZO has quit [*.net *.split]
duckpuppy has quit [*.net *.split]
SuperLag has quit [*.net *.split]
kaleido has quit [*.net *.split]
hiroaki has quit [*.net *.split]
teclator has quit [*.net *.split]
jordanm has quit [*.net *.split]
pwnd_nsfw has quit [*.net *.split]
Emmanuel_Chanel has quit [*.net *.split]
redlegion has quit [*.net *.split]
irdr has quit [*.net *.split]
kenichi has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
rokra has quit [*.net *.split]
leftylink has quit [*.net *.split]
roger_rabbit has quit [*.net *.split]
madhatter has quit [*.net *.split]
zenspider has quit [*.net *.split]
AKPWD has quit [*.net *.split]
contradictioned_ has quit [*.net *.split]
tris has quit [*.net *.split]
dan64 has quit [*.net *.split]
txdv has quit [*.net *.split]
sirecote has quit [*.net *.split]
t3hyoshi has quit [*.net *.split]
z4phod has quit [*.net *.split]
vcavallo has quit [*.net *.split]
xMopx has quit [*.net *.split]
shalok has quit [*.net *.split]
badeball has quit [*.net *.split]
n1v has quit [*.net *.split]
JayDoubleu has quit [*.net *.split]
vqrs_ has quit [*.net *.split]
timeless has quit [*.net *.split]
siasmj has quit [*.net *.split]
TheBrayn has quit [*.net *.split]
Argorok has quit [*.net *.split]
gajus has quit [*.net *.split]
szulak_ has quit [*.net *.split]
mkaito has quit [*.net *.split]
sezuan has quit [*.net *.split]
kapilp has quit [*.net *.split]
gbristol has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
liKe2k1 has quit [*.net *.split]
jokester has quit [*.net *.split]
quarters has quit [*.net *.split]
zipkid has quit [*.net *.split]
iamdevnul has quit [*.net *.split]
nuck has quit [*.net *.split]
hsiktas has quit [*.net *.split]
fowlduck has quit [*.net *.split]
darthThorik has quit [*.net *.split]
raggi has quit [*.net *.split]
kevinsjoberg has quit [*.net *.split]
manveru has quit [*.net *.split]
BuildTheRobots has quit [*.net *.split]
towo has quit [*.net *.split]
Iambchop has quit [*.net *.split]
jacksoow has quit [*.net *.split]
noodle has quit [*.net *.split]
Norrin has quit [*.net *.split]
krasnus has quit [*.net *.split]
creat has quit [*.net *.split]
linuxdaemon has quit [*.net *.split]
ndrst has quit [*.net *.split]
Caius has quit [*.net *.split]
Exuma has quit [*.net *.split]
Technodrome has quit [*.net *.split]
gix- has quit [*.net *.split]
heyimwill has quit [*.net *.split]
braincrash has quit [*.net *.split]
Nicmavr has quit [*.net *.split]
manakanapa has quit [*.net *.split]
paraxial has quit [*.net *.split]
dhollinger has quit [*.net *.split]
rubydoc has quit [*.net *.split]
sauvin has quit [*.net *.split]
dionysus69 has quit [*.net *.split]
greypack has quit [*.net *.split]
Cthulu201 has quit [*.net *.split]
quintasan has quit [*.net *.split]
segy has quit [*.net *.split]
rprimus has quit [*.net *.split]
shadeslayer has quit [*.net *.split]
mahlon has quit [*.net *.split]
havenwood has quit [*.net *.split]
jokke has quit [*.net *.split]
hays has quit [*.net *.split]
brer has quit [*.net *.split]
salvor has quit [*.net *.split]
dostoyevsky has quit [*.net *.split]
larissa has quit [*.net *.split]
jtdowney has quit [*.net *.split]
Cork has quit [*.net *.split]
nahra has quit [*.net *.split]
adam12 has quit [*.net *.split]
alnk has quit [*.net *.split]
matti has quit [*.net *.split]
Caerus has quit [*.net *.split]
JasonO has quit [*.net *.split]
Vaevictus has quit [*.net *.split]
olblak has quit [*.net *.split]
Nilium has quit [*.net *.split]
olspookishmagus has quit [*.net *.split]
Radar has quit [*.net *.split]
ascarter has quit [*.net *.split]
mgxm has quit [*.net *.split]
timmow has quit [*.net *.split]
ogotai_ has quit [*.net *.split]
ytti has quit [*.net *.split]
baweaver has quit [*.net *.split]
xfbs has quit [*.net *.split]
_ikke_ has quit [*.net *.split]
FastJack has quit [*.net *.split]
klaas has quit [*.net *.split]
matthewd has quit [*.net *.split]
teej has quit [*.net *.split]
_whitelogger has joined #ruby
sparc_ has joined #ruby
sparc_ has quit [*.net *.split]
Fusl has quit [*.net *.split]
twe4ked has quit [*.net *.split]
claw has quit [*.net *.split]
evdubs has quit [*.net *.split]
Nightmare has quit [*.net *.split]
infernix has quit [*.net *.split]
victorqueiroz has quit [*.net *.split]
lol768_ has quit [*.net *.split]
spectra has quit [*.net *.split]
mcspud has quit [*.net *.split]
lupine has quit [*.net *.split]
tpendragon has quit [*.net *.split]
afisher has quit [*.net *.split]
Pillus has quit [*.net *.split]
marahin has quit [*.net *.split]
mnemon has quit [*.net *.split]
shansen has quit [*.net *.split]
ChrisBr has joined #ruby
woodruffw has quit [Ping timeout: 272 seconds]
woodruffw has joined #ruby
woodruffw has quit [Changing host]
woodruffw has joined #ruby
lepepe has joined #ruby
akem-lnvo has quit [Ping timeout: 248 seconds]
sparc_ has joined #ruby
Fusl has joined #ruby
twe4ked has joined #ruby
claw has joined #ruby
infernix has joined #ruby
Nightmare has joined #ruby
mcspud has joined #ruby
marahin has joined #ruby
spectra has joined #ruby
lol768_ has joined #ruby
afisher has joined #ruby
victorqueiroz has joined #ruby
mnemon has joined #ruby
evdubs has joined #ruby
Pillus has joined #ruby
tpendragon has joined #ruby
lupine has joined #ruby
shansen has joined #ruby
emptyflask has joined #ruby
Yxhuvud has joined #ruby
TomyLobo has joined #ruby
voker57 has joined #ruby
keden has joined #ruby
vircung has joined #ruby
goez has joined #ruby
giraffe has joined #ruby
uplime has joined #ruby
SegFaultAX has joined #ruby
Furai has joined #ruby
turt2live has joined #ruby
bathtub_shark has joined #ruby
G has joined #ruby
znz_jp has joined #ruby
haylon has joined #ruby
hahuang65 has joined #ruby
guardian has joined #ruby
Net has joined #ruby
sparc_ has joined #ruby
sparc_ has quit [Changing host]
victorqueiroz has quit [Ping timeout: 252 seconds]
lepepe has quit [Ping timeout: 245 seconds]
victorqueiroz has joined #ruby
sarink has joined #ruby
za1b1tsu has joined #ruby
twoone has quit []
staticx has quit [Ping timeout: 248 seconds]
exmortus has joined #ruby
sarink has quit [Remote host closed the connection]
sarink_ has joined #ruby
fphilipe_ has joined #ruby
sarink_ has quit [Client Quit]
fphilipe_ has quit [Ping timeout: 250 seconds]
chalkmonster has joined #ruby
sandstrom has joined #ruby
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
orbyt_ has joined #ruby
orbyt_ has quit [Client Quit]
mniip has quit [Quit: This page is intentionally left blank.]
emptyfl4sk has joined #ruby
sparc_ has quit [Changing host]
sparc_ has joined #ruby
sparc_ has joined #ruby
[rg] has quit [Quit: Konversation terminated!]
mniip has joined #ruby
emptyfl4sk has quit [Ping timeout: 248 seconds]
reber has joined #ruby
sarink has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowhereman has joined #ruby
yield has joined #ruby
dbugger has joined #ruby
turt2live has quit [Write error: Connection reset by peer]
aecepoglu[m] has quit [Read error: Connection reset by peer]
abaiste^ has quit [Max SendQ exceeded]
Yuyu0 has quit [Quit: .]
irdr has quit [Remote host closed the connection]
abaiste^ has joined #ruby
Mutsuhito has quit [Ping timeout: 248 seconds]
irdr has joined #ruby
akem-lnvo has joined #ruby
Mutsuhito has joined #ruby
yield has quit []
Yuyu0 has joined #ruby
afisher has quit [Ping timeout: 252 seconds]
aecepoglu[m] has joined #ruby
sparc_ has quit [Ping timeout: 252 seconds]
hahuang65 has quit [Ping timeout: 252 seconds]
victorqueiroz has quit [Ping timeout: 252 seconds]
gmcintire has quit [Ping timeout: 250 seconds]
mcspud has quit [Ping timeout: 252 seconds]
spectra has quit [Ping timeout: 252 seconds]
uranoss has quit [Ping timeout: 250 seconds]
dumptruckman has quit [Ping timeout: 250 seconds]
gmcintire has joined #ruby
coffeejunk has quit [Ping timeout: 250 seconds]
hahuang65 has joined #ruby
hahuang65 has quit [Max SendQ exceeded]
sparc_ has joined #ruby
hahuang65 has joined #ruby
cjkinni has joined #ruby
coffeejunk has joined #ruby
twe4ked has quit [Ping timeout: 252 seconds]
mcspud has joined #ruby
afisher has joined #ruby
dumptruckman has joined #ruby
uranoss has joined #ruby
victorqueiroz has joined #ruby
twe4ked has joined #ruby
pwillard has quit [Ping timeout: 250 seconds]
lepepe has joined #ruby
lipoqil has quit [Ping timeout: 250 seconds]
JoL1hAHN has joined #ruby
pwillard has joined #ruby
lipoqil has joined #ruby
lepepe has quit [Ping timeout: 252 seconds]
spectra has joined #ruby
strmpnk has quit [Ping timeout: 250 seconds]
strmpnk has joined #ruby
emptyflask has quit [Ping timeout: 252 seconds]
Yuyu0 has quit [Quit: The Lounge - https://thelounge.chat]
Yuyu0 has joined #ruby
emptyflask has joined #ruby
lepepe has joined #ruby
akem_lnvo has joined #ruby
akem_lnvo has quit [Max SendQ exceeded]
akem_lnvo has joined #ruby
akem-lnvo has quit [Ping timeout: 245 seconds]
lepepe has quit [Ping timeout: 276 seconds]
turt2live has joined #ruby
Seance[m] has joined #ruby
schne1der has joined #ruby
fphilipe_ has joined #ruby
lepepe has joined #ruby
fphilipe_ has quit [Ping timeout: 276 seconds]
Josse has joined #ruby
Josse has left #ruby [#ruby]
lepepe has quit [Ping timeout: 258 seconds]
akem_lnvo has quit [Ping timeout: 252 seconds]
gix has joined #ruby
gix- has quit [Ping timeout: 245 seconds]
stooj has quit [Ping timeout: 268 seconds]
fphilipe_ has joined #ruby
cjkinni has quit [Ping timeout: 250 seconds]
cjkinni has joined #ruby
stooj has joined #ruby
akem_lnvo has joined #ruby
Omnilord has joined #ruby
emptyfl4sk has joined #ruby
stooj has quit [Ping timeout: 268 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
emptyfl4sk has quit [Ping timeout: 245 seconds]
stooj has joined #ruby
sandstrom has joined #ruby
Omnilord has quit [Quit: Leaving]
megamos has joined #ruby
emptyfl4sk has joined #ruby
sarink has quit [Remote host closed the connection]
sarink has joined #ruby
Freshnuts has quit [Quit: Leaving]
sarink has quit [Remote host closed the connection]
sandstrom has quit [Quit: My computer has gone to sleep.]
sandstrom has joined #ruby
megamos has quit [Remote host closed the connection]
sandstrom has quit [Ping timeout: 245 seconds]
tdy3 has quit [Ping timeout: 245 seconds]
emptyfl4sk has quit [Ping timeout: 258 seconds]
clemens3 has joined #ruby
megamos has joined #ruby
Fernando-Basso has joined #ruby
tpanarch1st has joined #ruby
DEac- has joined #ruby
queip has quit [Ping timeout: 246 seconds]
conta has joined #ruby
sarink has joined #ruby
sarink has quit [Ping timeout: 248 seconds]
queip has joined #ruby
sarink has joined #ruby
sarink has quit [Ping timeout: 248 seconds]
fphilipe has joined #ruby
fphilipe_ has quit [Ping timeout: 264 seconds]
fphilipe has quit [Ping timeout: 252 seconds]
conta has quit [Quit: conta]
fphilipe has joined #ruby
sandstrom has joined #ruby
fphilipe has quit [Ping timeout: 276 seconds]
fphilipe has joined #ruby
fphilipe has quit [Ping timeout: 264 seconds]
fphilipe has joined #ruby
fphilipe has quit [Ping timeout: 264 seconds]
hightower2 has quit [Ping timeout: 245 seconds]
henninb has joined #ruby
henninb has quit [Client Quit]
emptyfl4sk has joined #ruby
<garyserj> &>> puts "asdf"
<rubydoc> # => asdf (https://carc.in/#/r/76xb)
<garyserj> leftylink: your line works in ruby 2.4.1 https://carc.in/#/r/76xc
henninb has joined #ruby
henninb has quit [Client Quit]
<havenwood> leftylink: There's some good discussion of where keyword arguments are heading here: https://bugs.ruby-lang.org/issues/14183
henninb has joined #ruby
henninb has quit [Client Quit]
<havenwood> leftylink: The change was introduced as part of that ^ initiative, then backed out because it introduced incompatibilities: https://bugs.ruby-lang.org/issues/15658
emptyfl4sk has quit [Ping timeout: 245 seconds]
henninb has joined #ruby
sandstrom has quit [Ping timeout: 272 seconds]
<leftylink> ah so 2.6.0 and 2.6.1. good knowledge of relevant ruby issues, thank you
<havenwood> no prob!
henninb has quit [Client Quit]
hightower2 has joined #ruby
sarink has joined #ruby
sarink has quit [Remote host closed the connection]
sarink has joined #ruby
matheusmoreira has joined #ruby
matheusmoreira has quit [Client Quit]
<garyserj> &>> def abc(x:, y); end
<rubydoc> stderr: -e:2: syntax error, unexpected tIDENTIFIER (https://carc.in/#/r/76xd)
<garyserj> &>> def abc(x, y:); end
<rubydoc> # => :abc (https://carc.in/#/r/76xe)
<garyserj> Why does the first one fail?
<leftylink> by the rules of https://docs.ruby-lang.org/en/trunk/syntax/methods_rdoc.html , "When mixing keyword arguments and positional arguments, all positional arguments must appear before any keyword arguments."
henninb has joined #ruby
AJA4350 has joined #ruby
henninb has quit [Client Quit]
<garyserj> does https://docs.ruby-lang.org/ have a table of contents by which i'd find that methods_rdoc.html ?
<garyserj> looks like the 'pages' section is about as close to a table of contents as it gets, ok i guess.
fphilipe has joined #ruby
<garyserj> ah the syntax page is pretty much it and that links to others.
fphilipe has quit [Ping timeout: 264 seconds]
emptyfl4sk has joined #ruby
henninb has joined #ruby
henninb has quit [Client Quit]
henninb has joined #ruby
henninb has quit [Client Quit]
emptyfl4sk has quit [Ping timeout: 258 seconds]
Inline_ has joined #ruby
henninb has joined #ruby
Inline has quit [Ping timeout: 250 seconds]
fphilipe has joined #ruby
henninb_ has joined #ruby
tpanarch1st has quit [Quit: Thanks for your help, nice to see you, take care.]
henninb_ has quit [Client Quit]
lepepe has joined #ruby
Inline_ is now known as Inline
Inline has quit [Quit: Leaving]
Inline has joined #ruby
fphilipe has quit [Ping timeout: 252 seconds]
henninb has quit [Quit: leaving]
henninb has joined #ruby
yo-wan has joined #ruby
_whitelogger has joined #ruby
fphilipe has joined #ruby
kyrylo has joined #ruby
fphilipe has quit [Ping timeout: 276 seconds]
ellcs has joined #ruby
ellcs has quit [Ping timeout: 252 seconds]
livcd has quit [Ping timeout: 258 seconds]
Azure has quit [Ping timeout: 244 seconds]
fphilipe has joined #ruby
kilk has joined #ruby
kilk has quit [Client Quit]
cow[moo] has quit [Read error: Connection reset by peer]
cd has joined #ruby
kilk has joined #ruby
Azure has joined #ruby
nowhereman has quit [Ping timeout: 258 seconds]
sandstrom has joined #ruby
nowhereman has joined #ruby
Azure has quit [Read error: Connection reset by peer]
kilk has left #ruby ["bye"]
kilk has joined #ruby
fphilipe has quit [Ping timeout: 252 seconds]
emptyfl4sk has joined #ruby
ddffg has joined #ruby
ddffg has quit [Client Quit]
emptyfl4sk has quit [Ping timeout: 258 seconds]
emptyfl4sk has joined #ruby
fphilipe has joined #ruby
nowhereman has quit [Quit: Konversation terminated!]
nowhere_man has joined #ruby
Azure has joined #ruby
kilk has quit [Quit: WeeChat 2.5]
Azure has quit [Read error: Connection reset by peer]
nowhere_man has quit [Read error: Connection reset by peer]
nowhere_man has joined #ruby
Azure has joined #ruby
Technodrome has joined #ruby
Swyper has joined #ruby
fphilipe has quit [Ping timeout: 252 seconds]
Technodrome has quit [Remote host closed the connection]
AJA4350 has quit [Ping timeout: 246 seconds]
Technodrome has joined #ruby
nowhere_man has quit [Ping timeout: 246 seconds]
haxx0r has quit [Remote host closed the connection]
Azure has quit [Read error: Connection reset by peer]
hiroaki has quit [Remote host closed the connection]
emptyfl4sk has quit [Ping timeout: 248 seconds]
hiroaki has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.5]
fphilipe has joined #ruby
johnny56 has joined #ruby
orbyt_ has joined #ruby
hiroaki has quit [Remote host closed the connection]
hiroaki has joined #ruby
Azure has joined #ruby
shenghi has quit [Ping timeout: 246 seconds]
snickers has joined #ruby
Azure has quit [Read error: Connection reset by peer]
shenghi has joined #ruby
queip has quit [Ping timeout: 268 seconds]
xco has joined #ruby
fphilipe has quit [Ping timeout: 252 seconds]
chalkmonster has joined #ruby
queip has joined #ruby
megamos has quit [Ping timeout: 248 seconds]
hiroaki has quit [Remote host closed the connection]
hiroaki has joined #ruby
ngw has joined #ruby
<ngw> I got that far, but I'm stuck on the neighbours...
<ngw> it's already > 1 hour I'm messing around but I guess I'm stuck :(
<ngw> can someone give me a hand?
<ngw> the problem is in calculate_neighbours(x:, y:)
<ngw> best result I got till now is that it miscalculates the borders
Swyper has quit [Remote host closed the connection]
<ngw> just pasted the "almost correct" version
<ngw> :D
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has joined #ruby
<ngw> omg, I got it... when index is 0 and I do -1 it goes to the last line on the other side
<ngw> WHY???
Nicmavr has quit [Read error: Connection reset by peer]
Exuma has joined #ruby
Nicmavr has joined #ruby
cow[moo] has joined #ruby
hiroaki has quit [Ping timeout: 268 seconds]
wald0 has joined #ruby
Swyper has quit [Remote host closed the connection]
lucasb has joined #ruby
queip has quit [Ping timeout: 272 seconds]
Inline_ has joined #ruby
Inline_ has quit [Remote host closed the connection]
<hightower2> Hey what's the simplest way to do glob matching on strings?
Azure has joined #ruby
tdy3 has joined #ruby
rippa has joined #ruby
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
Inline_ has joined #ruby
Inline has quit [Ping timeout: 264 seconds]
fphilipe has joined #ruby
Inline_ has quit [Client Quit]
Inline has joined #ruby
hiroaki has joined #ruby
yo-wan has quit [Ping timeout: 272 seconds]
queip has joined #ruby
Azure has quit [Read error: Connection reset by peer]
unreal has joined #ruby
Swyper has joined #ruby
emptyfl4sk has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
akem__ has joined #ruby
Azure has joined #ruby
snickers has quit [Quit: Textual IRC Client: www.textualapp.com]
akem_lnvo has quit [Ping timeout: 248 seconds]
Swyper has joined #ruby
livcd has joined #ruby
kujira has joined #ruby
fphilipe has quit [Ping timeout: 264 seconds]
ellcs has joined #ruby
Swyper has quit [Remote host closed the connection]
ellcs has quit [Max SendQ exceeded]
ellcs has joined #ruby
ellcs has quit [Max SendQ exceeded]
fphilipe has joined #ruby
ellcs has joined #ruby
ellcs has quit [Max SendQ exceeded]
Swyper has joined #ruby
ellcs has joined #ruby
ellcs has quit [Max SendQ exceeded]
ellcs has joined #ruby
emptyfl4sk has quit [Ping timeout: 258 seconds]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
fphilipe has quit [Ping timeout: 252 seconds]
Swyper has quit [Remote host closed the connection]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
queip has quit [Ping timeout: 245 seconds]
LordPython has joined #ruby
Swyper has joined #ruby
kyrylo has joined #ruby
megamos has joined #ruby
Fernando-Basso has quit [Remote host closed the connection]
Azure has quit [Read error: Connection reset by peer]
tdy3 is now known as tdy
orbyt_ has joined #ruby
za1b1tsu has quit [Remote host closed the connection]
fphilipe has joined #ruby
LordPython has quit [Quit: Leaving...]
queip has joined #ruby
emptyfl4sk has joined #ruby
fphilipe_ has joined #ruby
fphilipe has quit [Ping timeout: 252 seconds]
amrx has quit [Ping timeout: 258 seconds]
orbyt_ has quit [Read error: Connection reset by peer]
absolutejam1 has joined #ruby
orbyt_ has joined #ruby
snuz has joined #ruby
<havenwood> hightower2: File.fnmatch?
<havenwood> &ri File.fnmatch?
<hightower2> yeah, could abuse that, thanks
monika has joined #ruby
emptyfl4sk has quit [Ping timeout: 268 seconds]
wald0 has quit [Quit: Lost terminal]
fphilipe_ has quit [Ping timeout: 272 seconds]
snuz has quit [Quit: WeeChat 2.5]
masticass has quit [Quit: WeeChat 2.4]
<monika> rg
monika has left #ruby ["sd"]
sarink has quit [Remote host closed the connection]
sarink has joined #ruby
<havenwood> &>> 1.step.lazy.map { |n| (2 ** n % 125).chr }.drop(25).first(2).join
<rubydoc> # => "rg" (https://carc.in/#/r/76y8)
fphilipe_ has joined #ruby
SeepingN has joined #ruby
sarink has quit [Remote host closed the connection]
fphilipe_ has quit [Read error: Connection reset by peer]
fphilipe_ has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
emptyfl4sk has joined #ruby
fphilipe has joined #ruby
fphilipe_ has quit [Ping timeout: 245 seconds]
schne1der has quit [Ping timeout: 272 seconds]
emptyfl4sk has quit [Ping timeout: 248 seconds]
stooj has quit [Quit: ZNC 1.7.3 - https://znc.in]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stooj has joined #ruby
jinie has quit [Ping timeout: 244 seconds]
jinie has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
sandstrom has quit [Quit: My computer has gone to sleep.]
rippa has quit [Ping timeout: 245 seconds]
rippa has joined #ruby
reber has quit [Remote host closed the connection]
ellcs has quit [Ping timeout: 250 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
fphilipe has quit [Ping timeout: 245 seconds]
ur5us has joined #ruby
Exuma has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has joined #ruby
orbyt_ has quit [Client Quit]
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
orbyt_ has joined #ruby
sagax has joined #ruby
sarink has joined #ruby
seaef has joined #ruby
sarink has quit [Read error: Connection reset by peer]
exmortus has quit [Remote host closed the connection]
exmortus has joined #ruby
seaef has quit [Quit: I am functioning within established parameters.]
fphilipe has joined #ruby
Omnilord has joined #ruby
cd has quit [Quit: cd]
Omnilord has quit [Quit: This computer has gone to sleep]
DTZUZO has quit [Ping timeout: 268 seconds]
emptyfl4sk has joined #ruby
fphilipe_ has joined #ruby
fphilipe has quit [Ping timeout: 252 seconds]
emptyfl4sk has quit [Ping timeout: 268 seconds]
Azure has joined #ruby
tdy has quit [Ping timeout: 244 seconds]
sagax has quit [Read error: Connection reset by peer]
fphilipe_ has quit [Ping timeout: 272 seconds]
Omnilord has joined #ruby
Omnilord has quit [Client Quit]
nowhere_man has joined #ruby
cd has joined #ruby
cd has quit [Client Quit]
cd has joined #ruby
emptyfl4sk has joined #ruby
emptyfl4sk has quit [Ping timeout: 245 seconds]
absolutejam1 has quit [Ping timeout: 246 seconds]
dbugger has quit [Ping timeout: 252 seconds]
clemens3 has quit [Ping timeout: 244 seconds]
emptyfl4sk has joined #ruby
involans has joined #ruby
xco has quit [Quit: xco]