havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.7.1, 2.6.6, 2.5.8: 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!
evert has quit [Quit: ZNC - https://znc.in]
evert has joined #ruby
poro has quit [Quit: Leaving]
bijan_ has joined #ruby
cd has joined #ruby
bijan_ has quit [Ping timeout: 264 seconds]
postmodern has joined #ruby
troulouliou_div2 has joined #ruby
tau has joined #ruby
tau has joined #ruby
tau has quit [Changing host]
blobsson has quit [Quit: Leaving]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
lucasb has quit [Quit: Connection closed for inactivity]
troulouliou_div2 has quit [Quit: Leaving]
nicholaslyang has joined #ruby
Eiam has quit [Quit: (╯°□°)╯︵ ǝpouǝǝɹɟ]
ur5us has quit [Ping timeout: 260 seconds]
MrCrackPot has quit [Remote host closed the connection]
MrCrackPot has joined #ruby
MrCrackPot has quit [Remote host closed the connection]
MrCrackPot has joined #ruby
meinside has joined #ruby
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has joined #ruby
poro has joined #ruby
jimconn has quit [Ping timeout: 240 seconds]
neot1 has quit [Quit: Goodbye!]
tweaks has joined #ruby
tau has quit [Ping timeout: 264 seconds]
cloaked1 has joined #ruby
dfucci has joined #ruby
cloaked1 is now known as Guest9765
nicholaslyang has joined #ruby
bijan_ has joined #ruby
Guest9765 has quit [Ping timeout: 240 seconds]
bijan_ has quit [Ping timeout: 246 seconds]
poro has quit [Quit: Leaving]
jimconn has joined #ruby
jimconn has quit [Ping timeout: 240 seconds]
ChmEarl has quit [Quit: Leaving]
bijan_ has joined #ruby
cliluw has joined #ruby
gitter1234 has quit []
dfucci has quit [Ping timeout: 240 seconds]
jimconn has joined #ruby
bijan_ has quit [Ping timeout: 265 seconds]
alfiemax has joined #ruby
jimconn has quit [Ping timeout: 265 seconds]
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has quit [Ping timeout: 246 seconds]
exmortus has quit [Remote host closed the connection]
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
exmortus has joined #ruby
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
memcorrupt has quit [Ping timeout: 246 seconds]
imode has joined #ruby
quazimodo has quit [Ping timeout: 264 seconds]
quazimodo has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gix has quit [Ping timeout: 256 seconds]
MrCrackPot has quit [Remote host closed the connection]
MrCrackPot has joined #ruby
davispuhh has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 256 seconds]
Technodrome has joined #ruby
Chew_ has joined #ruby
Chew_ is now known as Chew
alfiemax has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
cloaked1 has joined #ruby
cloaked1 is now known as Guest10363
Guest10363 has quit [Ping timeout: 258 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
KeyJoo has joined #ruby
nicholaslyang has joined #ruby
bijan_ has joined #ruby
Garb0_ has joined #ruby
Garb0 has quit [Ping timeout: 240 seconds]
cloaked1 has joined #ruby
bijan_ has quit [Ping timeout: 256 seconds]
cloaked1 is now known as Guest46697
memcorrupt has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
Guest46697 has quit [Ping timeout: 265 seconds]
Garb0 has joined #ruby
Garb0_ has quit [Ping timeout: 246 seconds]
bijan_ has joined #ruby
bijan_ has quit [Ping timeout: 264 seconds]
KeyJoo has quit [Quit: KeyJoo]
dfucci has joined #ruby
MrCrackPot has quit [Remote host closed the connection]
MrCrackPot has joined #ruby
MrCrackPot has quit [Remote host closed the connection]
dfucci has quit [Ping timeout: 258 seconds]
MrCrackPot has joined #ruby
Dirak has quit [Ping timeout: 258 seconds]
MrCrackPot has quit [Remote host closed the connection]
MrCrackPot has joined #ruby
MrCrackPot has quit [Remote host closed the connection]
MrCrackPot has joined #ruby
sphex has quit [Ping timeout: 264 seconds]
cloaked1 has joined #ruby
cloaked1 is now known as Guest2682
bijan_ has joined #ruby
Guest2682 has quit [Ping timeout: 256 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sauvin has joined #ruby
sphex has joined #ruby
s2013 has quit [Ping timeout: 264 seconds]
jimconn has joined #ruby
jimconn has quit [Ping timeout: 240 seconds]
sphex has quit [Ping timeout: 246 seconds]
hardball has joined #ruby
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sarna has joined #ruby
nicholaslyang has joined #ruby
duderonomy has joined #ruby
dfucci has joined #ruby
SeepingN has joined #ruby
conta has joined #ruby
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vondruch has joined #ruby
sphex has joined #ruby
alfiemax has quit [Remote host closed the connection]
memcorrupt has quit [Ping timeout: 258 seconds]
alfiemax has joined #ruby
memcorrupt has joined #ruby
Atro has joined #ruby
<Atro> Hello, i seem to have an issue, i got ruby 2.6.0, and ruby -rresolv -e 'p Resolv.new.getaddress(ARGV.first)' <NAME> checks for case-sensitivity, is this normal?
<leftylink> doesn't seem normal
<leftylink> &>> Resolv.getaddress('example.com') == Resolv.getaddress('Example.com')
<rubydoc> stderr: -e:4:in `<main>': uninitialized constant Resolv (NameError)... check link for more (https://carc.in/#/r/9ans)
<leftylink> &>> require 'resolv'; Resolv.getaddress('example.com') == Resolv.getaddress('Example.com')
<rubydoc> stderr: playpen: application terminated abnormally with signal 31 (Bad system call) (https://carc.in/#/r/9ant)
<leftylink> well ok I don't like you either
<leftylink> carcinogen
xco has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
<Atro> lmao
<leftylink> it seems that sometimes I must take matters into my own hands
pwl has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
postmodern has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 258 seconds]
cloaked1 has joined #ruby
cloaked1 is now known as Guest47799
dfucci has quit [Ping timeout: 240 seconds]
dionysus69 has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
zacts has joined #ruby
<zacts> hello #ruby
Guest47799 has quit [Ping timeout: 260 seconds]
sauvin has joined #ruby
sphex has quit [Ping timeout: 246 seconds]
jimconn has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
kinduff has joined #ruby
ur5us has joined #ruby
jimconn has quit [Client Quit]
sphex has joined #ruby
ur5us has quit [Ping timeout: 244 seconds]
<jhass> hello zacts
<jhass> leftylink: sorry, can't have people send out spam, so no network :P
TomyWork has joined #ruby
ur5us has joined #ruby
hiroaki_ has quit [Ping timeout: 246 seconds]
hiroaki_ has joined #ruby
memcorrupt has quit [Ping timeout: 240 seconds]
memcorrupt has joined #ruby
memcorrupt has quit [Changing host]
memcorrupt has joined #ruby
kinduff has quit [Remote host closed the connection]
memcorrupt has quit [Client Quit]
kinduff has joined #ruby
imode has quit [Ping timeout: 256 seconds]
matti has quit []
trautwein has joined #ruby
matti has joined #ruby
conta has quit [Ping timeout: 240 seconds]
conta has joined #ruby
schn31d3r has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
akem has joined #ruby
Garb0 has quit [Ping timeout: 246 seconds]
cd has quit [Quit: cd]
schn31d3r has quit [Quit: schn31d3r]
schne1der has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
bijan_ has quit [Remote host closed the connection]
rafadc has quit [Quit: ZNC - https://znc.in]
bijan_ has joined #ruby
evdubs_ has joined #ruby
rafadc has joined #ruby
bijan_ has quit [Ping timeout: 258 seconds]
vondruch has quit [Quit: vondruch]
evdubs has quit [Ping timeout: 260 seconds]
vondruch has joined #ruby
bsdbandit-01 has joined #ruby
bijan_ has joined #ruby
bijan_ has quit [Remote host closed the connection]
bijan_ has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
bijan__ has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
bijan__ has quit [Read error: Connection reset by peer]
bijan_ has joined #ruby
jetchisel has joined #ruby
jetchisel has quit [Max SendQ exceeded]
jetchisel has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
<sarna> hey, I'm writing a client for an API and they allow only basic auth. how to make it not suck? I don't want to ask for credentials each time, but I don't know where to keep the secrets so they're safe.. is there a gem for that?
<jhass> well, you gotta ask yourself, safe from what? What's your threat model here? What do you want to defend against?
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
TCZ has joined #ruby
jinie has joined #ruby
<sarna> jhass: I don't think keeping my password in a text file is safe, especially when it's in the same directory as my code :) for example
<sarna> I think I'm just gonna make a CredentialsManager class and ask once
<jhass> this isn't safe or it's not
<jhass> it's safe or not against/for certain threat vectors
<jhass> What's your CredentialsManager class gonna do then?
<sarna> ask for a login and a password, keep them as attr_reader I guess
<sarna> ask on the command line I mean
<jhass> so back to entering the credentials every time
<jhass> I thought that's what you wanted to avoid
jinie has quit [Client Quit]
jenrzzz has joined #ruby
<sarna> yeah, every run at least
<sarna> I rather make something sucky than not make anything at all, I figured :)
<jhass> well I guess that you'd only ask once per run at most is obvious, the most simple implementation of that being USERNAME = gets; PASSWORD = gets;
jinie has joined #ruby
<sarna> yeah
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
TCZ has quit [Quit: Leaving]
bmo has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
TCZ has joined #ruby
conta has quit [Quit: conta]
drincruz has joined #ruby
jetchisel has quit [Ping timeout: 264 seconds]
<Atro> oops found the problem https://github.com/ruby/ruby/pull/801
drincruz has quit [Ping timeout: 246 seconds]
bijan_ has quit [Remote host closed the connection]
bijan_ has joined #ruby
bijan__ has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
bijan__ has quit [Ping timeout: 260 seconds]
bijan_ has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
MrCrackPot has quit [Remote host closed the connection]
bijan_ has quit [Remote host closed the connection]
jenrzzz has joined #ruby
MrCrackPot has joined #ruby
bijan_ has joined #ruby
memcorrupt has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
bijan_ has joined #ruby
MrCrackPot has quit [Remote host closed the connection]
MrCrackPot has joined #ruby
MrCrackPot has quit [Remote host closed the connection]
bijan_ has quit [Remote host closed the connection]
MrCrackPot has joined #ruby
bijan_ has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
fercell has joined #ruby
bijan__ has joined #ruby
bijan__ has quit [Ping timeout: 258 seconds]
bmo has quit [Quit: Textual IRC Client: www.textualapp.com]
fercell has quit [Quit: WeeChat 2.8]
sphex has quit [Ping timeout: 258 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
dionysus69 has joined #ruby
trautwein has quit [Quit: WeeChat 2.8]
trautwein has joined #ruby
sphex has joined #ruby
dfucci has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
fercell has joined #ruby
dfucci has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Read error: Connection reset by peer]
bijan_ has joined #ruby
jenrzzz has joined #ruby
fercell has quit [Client Quit]
jenrzzz has quit [Ping timeout: 260 seconds]
Garb0 has joined #ruby
Garb0 has quit [Max SendQ exceeded]
bijan_ has quit []
Garb0 has joined #ruby
Garb0 has quit [Max SendQ exceeded]
Garb0 has joined #ruby
henninb has joined #ruby
Garb0 has quit [Max SendQ exceeded]
Garb0 has joined #ruby
alfiemax has quit [Remote host closed the connection]
kinduff has quit [Read error: Connection reset by peer]
conta has joined #ruby
Garb0 has quit [Quit: I'm out.]
dionysus69 has quit [Ping timeout: 258 seconds]
gitter1234 has joined #ruby
alfiemax has joined #ruby
GodFather_ has joined #ruby
jenrzzz has joined #ruby
<sarna> is there any guide on splitting specs into multiple files?
<jhass> uh, pretty much just do it?
<jhass> what are you struggling with?
<sarna> jhass: can I just put "RSpec.describe MyGem do ... end" in every file?
<sarna> I'm coming from functional/go/python, I'm not used to convenience :P
<jhass> yeah sure you can
<sarna> in every "..._spec.rb" file, I mean
<sarna> oh neat! that's very cool
<jhass> essentially ruby merges all toplevel code of every file into one thing anyways
<jhass> I mean there's some nuances to lexical scope, but that's the gist
fercell has joined #ruby
cassolas has joined #ruby
stryek has joined #ruby
* sarna does that wrist rub thing people do after getting handcuffs removed
bsdbandit-01 has quit [Quit: -a- Connection Timed Out]
<sarna> do you put imports at the top of files, or where needed?
<sarna> s/imports/requires
bsdbandit-01 has joined #ruby
memcorrupt has quit [Ping timeout: 260 seconds]
<jhass> top
sgen has joined #ruby
<sarna> thanks
<cassolas> Hi guys!
<cassolas> Does anyone need to use gdal?
MrCrackPot has quit [Remote host closed the connection]
<cassolas> I need to get one SRID using ruby and it is been a hard work.
MrCrackPot has joined #ruby
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vondruch has quit [Quit: vondruch]
jenrzzz has quit [Ping timeout: 246 seconds]
xco has joined #ruby
vondruch has joined #ruby
sgen has quit [Ping timeout: 260 seconds]
dionysus69 has joined #ruby
Mikaela has quit [Quit: Mikaela]
Mikaela has joined #ruby
Technodrome has joined #ruby
roadie has joined #ruby
roadie has quit [Remote host closed the connection]
dfucci has joined #ruby
dfucci has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
alfiemax has quit [Remote host closed the connection]
sarna has quit [Quit: Connection closed]
Nahra has joined #ruby
henninb has quit [Quit: leaving]
rippa has joined #ruby
sgen has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
troulouliou_dev has joined #ruby
troulouliou_dev has quit [Remote host closed the connection]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
TCZ has quit [Quit: Leaving]
conta has quit [Quit: conta]
birkbeggar has joined #ruby
bsdbandit-01 has quit [Quit: -a- Connection Timed Out]
clemens3 has joined #ruby
bsdbandit-01 has joined #ruby
burningserenity has joined #ruby
jenrzzz has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
birkbeggar has quit [Quit: Textual IRC Client: www.textualapp.com]
Technodrome has quit [Quit: Textual IRC Client: www.textualapp.com]
emdev has joined #ruby
emdev has quit [Read error: Connection reset by peer]
trautwein has quit [Quit: WeeChat 2.8]
Emmanuel_Chanel has quit [Ping timeout: 240 seconds]
howdoi has joined #ruby
MrCrackPot has quit [Remote host closed the connection]
MrCrackPot has joined #ruby
tekk has quit [Ping timeout: 264 seconds]
burningserenity has quit [Remote host closed the connection]
fercell has quit [Quit: WeeChat 2.8]
TCZ has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
Technodrome has joined #ruby
fercell has joined #ruby
Emmanuel_Chanel has joined #ruby
xco has quit [*.net *.split]
schne1der has quit [*.net *.split]
Emmanuel_Chanel has quit [*.net *.split]
exmortus has quit [*.net *.split]
Mia has quit [*.net *.split]
r29v has quit [*.net *.split]
FastJack has quit [*.net *.split]
mozzarella has quit [*.net *.split]
rann has quit [*.net *.split]
dan64 has quit [*.net *.split]
hsiktas[m] has quit [*.net *.split]
Vashy has quit [*.net *.split]
ljarvis_ has quit [*.net *.split]
mnemon has quit [*.net *.split]
jhass has quit [*.net *.split]
_aeris_ has quit [*.net *.split]
iNs_ has quit [*.net *.split]
tranch[m] has quit [*.net *.split]
Emmanuel_Chanel has joined #ruby
jhass has joined #ruby
exmortus has joined #ruby
Mia has joined #ruby
schne1der has joined #ruby
r29v has joined #ruby
FastJack has joined #ruby
mozzarella has joined #ruby
rann has joined #ruby
xco has joined #ruby
_aeris_ has joined #ruby
tranch[m] has joined #ruby
dan64 has joined #ruby
iNs_ has joined #ruby
ljarvis_ has joined #ruby
Vashy has joined #ruby
mnemon has joined #ruby
cagomez has joined #ruby
donofrio has quit [Remote host closed the connection]
donofrio has joined #ruby
Mia has quit [Max SendQ exceeded]
Mia has joined #ruby
greypack has quit [Ping timeout: 264 seconds]
turt2live has quit [Ping timeout: 246 seconds]
execat[m] has quit [Ping timeout: 244 seconds]
Manchotix[m] has quit [Ping timeout: 240 seconds]
simi[m] has quit [Ping timeout: 240 seconds]
tranch[m] has quit [Ping timeout: 244 seconds]
Vagabond[m] has quit [Ping timeout: 244 seconds]
batisi[m] has quit [Ping timeout: 260 seconds]
prkn8[m] has quit [Ping timeout: 260 seconds]
gitter1234 has quit [Quit: Connection closed for inactivity]
doug[m] has quit [Ping timeout: 272 seconds]
greypack has joined #ruby
nostrodamy has quit [Read error: Connection reset by peer]
dorian has quit [Remote host closed the connection]
haylon[m] has quit [Ping timeout: 240 seconds]
mbarbar has quit [Ping timeout: 246 seconds]
sepp2k has quit [Ping timeout: 246 seconds]
nostrooo has joined #ruby
dorian has joined #ruby
ChmEarl has joined #ruby
orbyt_ has joined #ruby
TCZ has quit [Quit: Leaving]
nostrooo has quit [Read error: Connection timed out]
TomyWork has quit [Remote host closed the connection]
zacts has quit [Ping timeout: 244 seconds]
davispuh has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
mistergibson has quit [Quit: Leaving]
MrCrackPot has quit [Remote host closed the connection]
alfiemax has joined #ruby
MrCrackPot has joined #ruby
MrCrackPot has quit [Remote host closed the connection]
duckpupp- has joined #ruby
duckpuppy has quit [Ping timeout: 246 seconds]
dionysus69 has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
Garb0 has joined #ruby
sgen has quit [Ping timeout: 244 seconds]
MrCrackPot has joined #ruby
Garb0 has quit [Quit: I'm out.]
leitz has joined #ruby
alfiemax has quit [Remote host closed the connection]
e has quit [Quit: edk]
howdoi has quit [Quit: Connection closed for inactivity]
pwl has quit [Quit: Leaving]
pwl has joined #ruby
mbarbar has joined #ruby
Nahra has quit [Quit: leaving]
pwl has quit [Ping timeout: 240 seconds]
dfucci has joined #ruby
e has joined #ruby
dfucci has quit [Ping timeout: 240 seconds]
gitter1234 has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mossplix has joined #ruby
dionysus69 has joined #ruby
batisi[m] has joined #ruby
finn[m] has joined #ruby
doug[m]1 has joined #ruby
hsiktas[m] has joined #ruby
haylon[m] has joined #ruby
execat[m] has joined #ruby
tranch[m] has joined #ruby
turt2live has joined #ruby
sepp2k has joined #ruby
Manchotix[m] has joined #ruby
Vagabond[m] has joined #ruby
simi[m] has joined #ruby
prkn8[m] has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
cassolas has quit [Quit: cassolas]
cassolas has joined #ruby
<leitz> havenwood, thank you for the "hire others like themselves" comment. The more I've thought about it, the more encouraging it is.
impermanence has joined #ruby
User1231 has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
howdoi has joined #ruby
al2o3-cr has quit [Quit: WeeChat 2.8]
al2o3-cr has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
User1231 has quit [K-Lined]
sphex has quit [Ping timeout: 264 seconds]
sphex has joined #ruby
jenrzzz has joined #ruby
rainmanjam has quit []
BrianWGray has joined #ruby
r29v has quit [Quit: r29v]
ellcs1 has joined #ruby
dionysus69 has joined #ruby
r29v has joined #ruby
schne1der has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
gix has joined #ruby
dionysus69 has quit [Ping timeout: 246 seconds]
drincruz has joined #ruby
ikonia has joined #ruby
drincruz has quit [Ping timeout: 246 seconds]
<ikonia> bit late in the day, but using the gem utility, is there any way to do dependecy or even better a reverse dependency
<ikonia> there is a gem on my system and I want to know what brought it in
mydog2 has quit [Ping timeout: 264 seconds]
<adam12> ikonia: Nothing that I'm aware through `gem`, but rubygems.org has a reverse dependency tool which might help narrow it down.
<ikonia> super idea
<ikonia> I'd not even considered the website
<ikonia> thanks
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mydog2 has joined #ruby
<adam12> ikonia: If you're looking at a gem, the Reverse Dependencies tool is on the right under 'Links'. Right at the bottom.
<ikonia> thanks
<ikonia> got it
<adam12> Cheers.
<ikonia> that turned out to be super helpful, thanks a lot
ua_ has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 258 seconds]
seaef has joined #ruby
jenrzzz has joined #ruby
ua_ has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
ua_ is now known as ua
zapata has joined #ruby
greengriminal has joined #ruby
gato has joined #ruby
mbarbar has quit [Quit: Idle for 30+ days]
dfucci has joined #ruby
dfucci has quit [Ping timeout: 264 seconds]
ellcs1 has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
<xco> is Ruby's regular expression based on this ? http://www.pcre.org/
haylon[m] has quit [Quit: Idle for 30+ days]
<adam12> xco: It's based on oniguruma IIRC.
leitz has quit [Quit: Leaving]
dionysus69 has joined #ruby
<adam12> Right. That one ^
r29v has quit [Quit: r29v]
<al2o3-cr> adam12: it's based off of kkos's one.
<al2o3-cr> like you rightly said
<al2o3-cr> xco: that's why there is subtle differences.
rafadc has quit [Read error: Connection reset by peer]
rafadc has joined #ruby
ellcs1 has joined #ruby
orbyt_ has joined #ruby
nicholaslyang has joined #ruby
gato has quit [Quit: Connection closed]
Garb0 has joined #ruby
jetchisel has joined #ruby
<xco> adam12 havenwood al2o3-cr thanks :)
<xco> al2o3-cr wait i'm confused
<xco> so this NOT based on this right https://github.com/k-takata/Onigmo
<xco> it's based on https://github.com/kkos/oniguruma instead?
<xco> al2o3-cr
<xco> al2o3-cr and havenwood confused me now
<al2o3-cr> xco: kkos is the original author of oniguruma
<xco> al2o3-cr got that but what's the current Ruby regex based on
<xco> the fork or the original?
mydog2 has quit [Ping timeout: 260 seconds]
mydog2 has joined #ruby
<al2o3-cr> as far i thought the original, but perhaps not.
<xco> ok :)
<al2o3-cr> TIL
seaef has quit [Ping timeout: 260 seconds]
seaef has joined #ruby
<al2o3-cr> xco: from regexec.c - Onigmo (Oniguruma-mod) (regular expression library)
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<al2o3-cr> when in doubt consult the source code :P
seaef has quit [Ping timeout: 260 seconds]
xco has joined #ruby
<xco> al2o3-cr thank you :)
<al2o3-cr> xco: i honestly didn't know that was the case. havenwood, i wasn't undermining you i swear :P
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cassolas has quit [Quit: cassolas]
mydog2 has quit [Ping timeout: 240 seconds]
mydog2 has joined #ruby
rwb has quit [Read error: Connection reset by peer]
mydog2 has quit [Excess Flood]
mydog2 has joined #ruby
vondruch has quit [Quit: vondruch]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
howdoi has quit [Quit: Connection closed for inactivity]
madhatter has quit [Remote host closed the connection]
madhatter has joined #ruby
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hardball has quit [Quit: Konversation terminated!]
darkstardev13 has joined #ruby
howdoi has joined #ruby
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
ellcs1 has quit [Ping timeout: 244 seconds]
oneeggeach has joined #ruby
imode has joined #ruby
ellcs1 has joined #ruby
mydog2 has quit [Ping timeout: 265 seconds]
mydog2 has joined #ruby
<deimos_> i'm having a brain lapse. I have a hash which is { ["city 1", "city 2"]=>"100" }, i'm failing to split the array (that is the hash key) and assign each value of the array to a new hash that is { "city 1"=>"100", "city 2"=>"100" }
<deimos_> i've tried messing around with .each, .each_key, each_value
<havenwood> &>> {["city 1", "city 2"] => "100"}.flat_map { |k, v| k.each_with_object(v).to_a }.to_h
<rubydoc> # => {"city 1"=>"100", "city 2"=>"100"} (https://carc.in/#/r/9asd)
<deimos_> huh
<deimos_> someday i'll be that fast at the answer
<deimos_> thank you, i'll test it
<havenwood> &>> {["city 1", "city 2"] => "100"}.reduce({}) { |acc, (k, v)| acc.merge(k.to_h { |key| [key, v] }) }
<rubydoc> # => {"city 1"=>"100", "city 2"=>"100"} (https://carc.in/#/r/9ase)
<havenwood> deimos_: ^
<havenwood> deimos_: That's another way.
<deimos_> i'll have to look up .reduce and .flat_map to understand it better
<havenwood> deimos_: Feel free to ask here if docs don't explain them well.
nicholaslyang has joined #ruby
<deimos_> i just realized i've been trying to treat this as a pure hash, vs enumerator
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
greengriminal has quit [Quit: Leaving]
PimarSimil has joined #ruby
ellcs1 has quit [Ping timeout: 260 seconds]
lazarus1 has quit [Quit: Leaving]
dionysus69 has quit [Ping timeout: 260 seconds]