00:02
evert has joined #ruby
00:03
poro has quit [Quit: Leaving]
00:04
bijan_ has joined #ruby
00:07
cd has joined #ruby
00:09
bijan_ has quit [Ping timeout: 264 seconds]
00:16
postmodern has joined #ruby
00:34
troulouliou_div2 has joined #ruby
00:39
tau has joined #ruby
00:39
tau has joined #ruby
00:39
tau has quit [Changing host]
00:40
blobsson has quit [Quit: Leaving]
00:47
SeepingN has quit [Quit: The system is going down for reboot NOW!]
00:50
lucasb has quit [Quit: Connection closed for inactivity]
00:51
troulouliou_div2 has quit [Quit: Leaving]
00:53
nicholaslyang has joined #ruby
00:56
Eiam has quit [Quit: (╯°□°)╯︵ ǝpouǝǝɹɟ]
01:07
ur5us has quit [Ping timeout: 260 seconds]
01:08
MrCrackPot has quit [Remote host closed the connection]
01:08
MrCrackPot has joined #ruby
01:10
MrCrackPot has quit [Remote host closed the connection]
01:10
MrCrackPot has joined #ruby
01:16
meinside has joined #ruby
01:17
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:25
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:28
ur5us has joined #ruby
01:38
poro has joined #ruby
01:41
jimconn has quit [Ping timeout: 240 seconds]
01:44
neot1 has quit [Quit: Goodbye!]
01:52
tweaks has joined #ruby
01:56
tau has quit [Ping timeout: 264 seconds]
02:01
cloaked1 has joined #ruby
02:02
dfucci has joined #ruby
02:02
cloaked1 is now known as Guest9765
02:03
nicholaslyang has joined #ruby
02:05
bijan_ has joined #ruby
02:09
Guest9765 has quit [Ping timeout: 240 seconds]
02:11
bijan_ has quit [Ping timeout: 246 seconds]
02:12
poro has quit [Quit: Leaving]
02:12
jimconn has joined #ruby
02:17
jimconn has quit [Ping timeout: 240 seconds]
02:21
ChmEarl has quit [Quit: Leaving]
02:23
bijan_ has joined #ruby
02:25
cliluw has joined #ruby
02:25
gitter1234 has quit []
02:28
dfucci has quit [Ping timeout: 240 seconds]
02:28
jimconn has joined #ruby
02:28
bijan_ has quit [Ping timeout: 265 seconds]
02:32
alfiemax has joined #ruby
02:32
jimconn has quit [Ping timeout: 265 seconds]
02:33
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:37
alfiemax has quit [Ping timeout: 246 seconds]
02:37
exmortus has quit [Remote host closed the connection]
02:37
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:37
exmortus has joined #ruby
02:43
nicholaslyang has joined #ruby
02:44
nicholaslyang has quit [Client Quit]
02:46
memcorrupt has quit [Ping timeout: 246 seconds]
02:55
imode has joined #ruby
02:56
quazimodo has quit [Ping timeout: 264 seconds]
02:57
quazimodo has joined #ruby
02:58
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:01
gix has quit [Ping timeout: 256 seconds]
03:02
MrCrackPot has quit [Remote host closed the connection]
03:03
MrCrackPot has joined #ruby
03:24
alfiemax has joined #ruby
03:29
alfiemax has quit [Ping timeout: 256 seconds]
03:50
Technodrome has joined #ruby
04:01
Chew_ has joined #ruby
04:03
Chew_ is now known as Chew
04:03
alfiemax has joined #ruby
04:05
howdoi has quit [Quit: Connection closed for inactivity]
04:06
cloaked1 has joined #ruby
04:06
cloaked1 is now known as Guest10363
04:10
Guest10363 has quit [Ping timeout: 258 seconds]
04:12
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:15
KeyJoo has joined #ruby
04:17
nicholaslyang has joined #ruby
04:24
bijan_ has joined #ruby
04:25
Garb0_ has joined #ruby
04:28
Garb0 has quit [Ping timeout: 240 seconds]
04:28
cloaked1 has joined #ruby
04:28
bijan_ has quit [Ping timeout: 256 seconds]
04:29
cloaked1 is now known as Guest46697
04:30
memcorrupt has joined #ruby
04:30
ur5us has quit [Ping timeout: 260 seconds]
04:33
Guest46697 has quit [Ping timeout: 265 seconds]
04:33
Garb0 has joined #ruby
04:35
Garb0_ has quit [Ping timeout: 246 seconds]
04:40
bijan_ has joined #ruby
04:45
bijan_ has quit [Ping timeout: 264 seconds]
04:46
KeyJoo has quit [Quit: KeyJoo]
04:58
dfucci has joined #ruby
04:59
MrCrackPot has quit [Remote host closed the connection]
04:59
MrCrackPot has joined #ruby
05:05
MrCrackPot has quit [Remote host closed the connection]
05:06
dfucci has quit [Ping timeout: 258 seconds]
05:06
MrCrackPot has joined #ruby
05:08
Dirak has quit [Ping timeout: 258 seconds]
05:10
MrCrackPot has quit [Remote host closed the connection]
05:11
MrCrackPot has joined #ruby
05:14
MrCrackPot has quit [Remote host closed the connection]
05:15
MrCrackPot has joined #ruby
05:19
sphex has quit [Ping timeout: 264 seconds]
05:20
cloaked1 has joined #ruby
05:21
cloaked1 is now known as Guest2682
05:22
bijan_ has joined #ruby
05:25
Guest2682 has quit [Ping timeout: 256 seconds]
05:26
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:28
sauvin has joined #ruby
05:29
sphex has joined #ruby
05:33
s2013 has quit [Ping timeout: 264 seconds]
05:33
jimconn has joined #ruby
05:37
jimconn has quit [Ping timeout: 240 seconds]
05:54
sphex has quit [Ping timeout: 246 seconds]
06:02
hardball has joined #ruby
06:05
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:06
sarna has joined #ruby
06:08
nicholaslyang has joined #ruby
06:11
duderonomy has joined #ruby
06:15
dfucci has joined #ruby
06:24
SeepingN has joined #ruby
06:24
conta has joined #ruby
06:26
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:28
vondruch has joined #ruby
06:31
sphex has joined #ruby
06:38
alfiemax has quit [Remote host closed the connection]
06:41
memcorrupt has quit [Ping timeout: 258 seconds]
06:43
alfiemax has joined #ruby
06:43
memcorrupt has joined #ruby
06:44
Atro has joined #ruby
06:49
<
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?
06:56
<
leftylink >
doesn't seem normal
06:56
<
leftylink >
&>> Resolv.getaddress('example.com') == Resolv.getaddress('Example.com')
06:56
<
leftylink >
&>> require 'resolv'; Resolv.getaddress('example.com') == Resolv.getaddress('Example.com')
06:56
<
leftylink >
well ok I don't like you either
06:56
<
leftylink >
carcinogen
06:57
xco has joined #ruby
06:58
vondruch has quit [Quit: vondruch]
06:58
vondruch has joined #ruby
06:58
<
leftylink >
it seems that sometimes I must take matters into my own hands
07:03
pwl has joined #ruby
07:12
SeepingN has quit [Quit: The system is going down for reboot NOW!]
07:12
postmodern has quit [Quit: Leaving]
07:13
jenrzzz has quit [Ping timeout: 258 seconds]
07:18
cloaked1 has joined #ruby
07:18
cloaked1 is now known as Guest47799
07:19
dfucci has quit [Ping timeout: 240 seconds]
07:20
dionysus69 has joined #ruby
07:31
sauvin has quit [Read error: Connection reset by peer]
07:31
zacts has joined #ruby
07:31
<
zacts >
hello #ruby
07:32
Guest47799 has quit [Ping timeout: 260 seconds]
07:33
sauvin has joined #ruby
07:35
sphex has quit [Ping timeout: 246 seconds]
07:37
jimconn has joined #ruby
07:38
vondruch has quit [Quit: vondruch]
07:39
vondruch has joined #ruby
07:39
kinduff has joined #ruby
07:40
ur5us has joined #ruby
07:41
jimconn has quit [Client Quit]
07:42
sphex has joined #ruby
07:45
ur5us has quit [Ping timeout: 244 seconds]
07:46
<
jhass >
hello zacts
07:47
<
jhass >
leftylink: sorry, can't have people send out spam, so no network :P
07:48
TomyWork has joined #ruby
07:50
ur5us has joined #ruby
07:51
hiroaki_ has quit [Ping timeout: 246 seconds]
07:52
hiroaki_ has joined #ruby
08:03
memcorrupt has quit [Ping timeout: 240 seconds]
08:06
memcorrupt has joined #ruby
08:06
memcorrupt has quit [Changing host]
08:06
memcorrupt has joined #ruby
08:06
kinduff has quit [Remote host closed the connection]
08:07
memcorrupt has quit [Client Quit]
08:07
kinduff has joined #ruby
08:13
imode has quit [Ping timeout: 256 seconds]
08:16
trautwein has joined #ruby
08:17
matti has joined #ruby
08:27
conta has quit [Ping timeout: 240 seconds]
08:28
conta has joined #ruby
08:32
schn31d3r has joined #ruby
08:34
vondruch has quit [Quit: vondruch]
08:34
vondruch has joined #ruby
08:40
vondruch has quit [Quit: vondruch]
08:40
vondruch has joined #ruby
08:45
vondruch has quit [Quit: vondruch]
08:45
vondruch has joined #ruby
08:54
ur5us has quit [Ping timeout: 260 seconds]
08:56
akem has joined #ruby
09:00
Garb0 has quit [Ping timeout: 246 seconds]
09:00
cd has quit [Quit: cd]
09:03
schn31d3r has quit [Quit: schn31d3r]
09:05
schne1der has joined #ruby
09:09
jenrzzz has joined #ruby
09:14
jenrzzz has quit [Ping timeout: 260 seconds]
09:20
bijan_ has quit [Remote host closed the connection]
09:24
bijan_ has joined #ruby
09:27
evdubs_ has joined #ruby
09:27
rafadc has joined #ruby
09:28
bijan_ has quit [Ping timeout: 258 seconds]
09:30
vondruch has quit [Quit: vondruch]
09:30
evdubs has quit [Ping timeout: 260 seconds]
09:30
vondruch has joined #ruby
09:32
bsdbandit-01 has joined #ruby
09:35
bijan_ has joined #ruby
09:37
bijan_ has quit [Remote host closed the connection]
09:38
bijan_ has joined #ruby
09:38
bijan_ has quit [Read error: Connection reset by peer]
09:38
bijan__ has joined #ruby
09:40
vondruch has quit [Quit: vondruch]
09:41
vondruch has joined #ruby
09:42
bijan__ has quit [Read error: Connection reset by peer]
09:42
bijan_ has joined #ruby
09:57
jetchisel has joined #ruby
09:59
jetchisel has quit [Max SendQ exceeded]
10:00
jetchisel has joined #ruby
10:01
vondruch has quit [Quit: vondruch]
10:01
vondruch has joined #ruby
10:04
vondruch has quit [Client Quit]
10:04
vondruch has joined #ruby
10:06
<
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?
10:13
<
jhass >
well, you gotta ask yourself, safe from what? What's your threat model here? What do you want to defend against?
10:15
TCZ has joined #ruby
10:17
jinie has joined #ruby
10:18
<
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
10:18
<
sarna >
I think I'm just gonna make a CredentialsManager class and ask once
10:19
<
jhass >
this isn't safe or it's not
10:19
<
jhass >
it's safe or not against/for certain threat vectors
10:20
<
jhass >
What's your CredentialsManager class gonna do then?
10:20
<
sarna >
ask for a login and a password, keep them as attr_reader I guess
10:20
<
sarna >
ask on the command line I mean
10:21
<
jhass >
so back to entering the credentials every time
10:21
<
jhass >
I thought that's what you wanted to avoid
10:21
jinie has quit [Client Quit]
10:21
jenrzzz has joined #ruby
10:23
<
sarna >
yeah, every run at least
10:23
<
sarna >
I rather make something sucky than not make anything at all, I figured :)
10:24
<
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;
10:25
jinie has joined #ruby
10:26
vondruch has quit [Quit: vondruch]
10:26
vondruch has joined #ruby
10:27
jenrzzz has quit [Ping timeout: 265 seconds]
10:28
TCZ has quit [Quit: Leaving]
10:29
bmo has joined #ruby
10:31
vondruch has quit [Quit: vondruch]
10:32
vondruch has joined #ruby
10:32
TCZ has joined #ruby
10:35
conta has quit [Quit: conta]
10:35
drincruz has joined #ruby
10:39
jetchisel has quit [Ping timeout: 264 seconds]
10:40
drincruz has quit [Ping timeout: 246 seconds]
10:41
bijan_ has quit [Remote host closed the connection]
10:42
bijan_ has joined #ruby
10:45
bijan__ has joined #ruby
10:45
bijan_ has quit [Read error: Connection reset by peer]
10:47
vondruch has quit [Quit: vondruch]
10:47
vondruch has joined #ruby
10:49
bijan__ has quit [Ping timeout: 260 seconds]
10:54
bijan_ has joined #ruby
10:54
vondruch has quit [Quit: vondruch]
10:55
vondruch has joined #ruby
10:55
MrCrackPot has quit [Remote host closed the connection]
10:55
bijan_ has quit [Remote host closed the connection]
10:55
jenrzzz has joined #ruby
10:55
MrCrackPot has joined #ruby
10:55
bijan_ has joined #ruby
10:55
memcorrupt has joined #ruby
10:55
bijan_ has quit [Read error: Connection reset by peer]
10:56
bijan_ has joined #ruby
10:56
MrCrackPot has quit [Remote host closed the connection]
10:57
MrCrackPot has joined #ruby
10:58
MrCrackPot has quit [Remote host closed the connection]
10:59
bijan_ has quit [Remote host closed the connection]
10:59
MrCrackPot has joined #ruby
10:59
bijan_ has joined #ruby
11:00
bijan_ has quit [Read error: Connection reset by peer]
11:00
fercell has joined #ruby
11:00
bijan__ has joined #ruby
11:04
bijan__ has quit [Ping timeout: 258 seconds]
11:08
fercell has quit [Quit: WeeChat 2.8]
11:09
sphex has quit [Ping timeout: 258 seconds]
11:10
dionysus69 has quit [Ping timeout: 240 seconds]
11:10
dionysus69 has joined #ruby
11:14
trautwein has quit [Quit: WeeChat 2.8]
11:14
trautwein has joined #ruby
11:15
sphex has joined #ruby
11:16
dfucci has joined #ruby
11:20
vondruch has quit [Quit: vondruch]
11:20
vondruch has joined #ruby
11:20
fercell has joined #ruby
11:21
dfucci has quit [Ping timeout: 264 seconds]
11:21
jenrzzz has quit [Read error: Connection reset by peer]
11:21
bijan_ has joined #ruby
11:21
jenrzzz has joined #ruby
11:22
fercell has quit [Client Quit]
11:31
jenrzzz has quit [Ping timeout: 260 seconds]
11:37
Garb0 has joined #ruby
11:38
Garb0 has quit [Max SendQ exceeded]
11:39
Garb0 has joined #ruby
11:40
Garb0 has quit [Max SendQ exceeded]
11:41
Garb0 has joined #ruby
11:42
henninb has joined #ruby
11:43
Garb0 has quit [Max SendQ exceeded]
11:44
Garb0 has joined #ruby
11:44
alfiemax has quit [Remote host closed the connection]
11:48
kinduff has quit [Read error: Connection reset by peer]
11:49
conta has joined #ruby
11:51
Garb0 has quit [Quit: I'm out.]
11:52
dionysus69 has quit [Ping timeout: 258 seconds]
11:56
gitter1234 has joined #ruby
11:57
alfiemax has joined #ruby
12:00
GodFather_ has joined #ruby
12:06
jenrzzz has joined #ruby
12:08
<
sarna >
is there any guide on splitting specs into multiple files?
12:08
<
jhass >
uh, pretty much just do it?
12:08
<
jhass >
what are you struggling with?
12:13
<
sarna >
jhass: can I just put "RSpec.describe MyGem do ... end" in every file?
12:14
<
sarna >
I'm coming from functional/go/python, I'm not used to convenience :P
12:14
<
jhass >
yeah sure you can
12:14
<
sarna >
in every "..._spec.rb" file, I mean
12:14
<
sarna >
oh neat! that's very cool
12:15
<
jhass >
essentially ruby merges all toplevel code of every file into one thing anyways
12:15
<
jhass >
I mean there's some nuances to lexical scope, but that's the gist
12:15
fercell has joined #ruby
12:16
cassolas has joined #ruby
12:16
stryek has joined #ruby
12:16
* sarna
does that wrist rub thing people do after getting handcuffs removed
12:18
bsdbandit-01 has quit [Quit: -a- Connection Timed Out]
12:19
<
sarna >
do you put imports at the top of files, or where needed?
12:19
<
sarna >
s/imports/requires
12:23
bsdbandit-01 has joined #ruby
12:24
memcorrupt has quit [Ping timeout: 260 seconds]
12:37
sgen has joined #ruby
12:43
<
cassolas >
Hi guys!
12:43
<
cassolas >
Does anyone need to use gdal?
12:44
MrCrackPot has quit [Remote host closed the connection]
12:44
<
cassolas >
I need to get one SRID using ruby and it is been a hard work.
12:44
MrCrackPot has joined #ruby
12:46
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:47
vondruch has quit [Quit: vondruch]
12:47
jenrzzz has quit [Ping timeout: 246 seconds]
12:47
xco has joined #ruby
12:48
vondruch has joined #ruby
12:48
sgen has quit [Ping timeout: 260 seconds]
12:48
dionysus69 has joined #ruby
12:54
Mikaela has quit [Quit: Mikaela]
12:55
Mikaela has joined #ruby
13:02
Technodrome has joined #ruby
13:13
roadie has joined #ruby
13:14
roadie has quit [Remote host closed the connection]
13:17
dfucci has joined #ruby
13:22
dfucci has quit [Ping timeout: 260 seconds]
13:23
jenrzzz has joined #ruby
13:30
alfiemax has quit [Remote host closed the connection]
13:33
sarna has quit [Quit: Connection closed]
13:33
Nahra has joined #ruby
13:35
henninb has quit [Quit: leaving]
13:36
rippa has joined #ruby
13:50
sgen has joined #ruby
13:58
jenrzzz has quit [Ping timeout: 246 seconds]
14:00
troulouliou_dev has joined #ruby
14:01
troulouliou_dev has quit [Remote host closed the connection]
14:08
vondruch has quit [Quit: vondruch]
14:08
vondruch has joined #ruby
14:09
TCZ has quit [Quit: Leaving]
14:12
conta has quit [Quit: conta]
14:15
birkbeggar has joined #ruby
14:20
bsdbandit-01 has quit [Quit: -a- Connection Timed Out]
14:20
clemens3 has joined #ruby
14:20
bsdbandit-01 has joined #ruby
14:23
burningserenity has joined #ruby
14:27
jenrzzz has joined #ruby
14:27
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
14:35
emdev has joined #ruby
14:36
emdev has quit [Read error: Connection reset by peer]
14:36
trautwein has quit [Quit: WeeChat 2.8]
14:38
Emmanuel_Chanel has quit [Ping timeout: 240 seconds]
14:39
howdoi has joined #ruby
14:44
MrCrackPot has quit [Remote host closed the connection]
14:44
MrCrackPot has joined #ruby
14:46
tekk has quit [Ping timeout: 264 seconds]
14:46
burningserenity has quit [Remote host closed the connection]
14:56
fercell has quit [Quit: WeeChat 2.8]
14:58
TCZ has joined #ruby
15:01
meinside has quit [Quit: Connection closed for inactivity]
15:02
Technodrome has joined #ruby
15:17
fercell has joined #ruby
15:19
Emmanuel_Chanel has joined #ruby
15:32
xco has quit [*.net *.split]
15:32
schne1der has quit [*.net *.split]
15:32
Emmanuel_Chanel has quit [*.net *.split]
15:32
exmortus has quit [*.net *.split]
15:32
Mia has quit [*.net *.split]
15:32
r29v has quit [*.net *.split]
15:32
FastJack has quit [*.net *.split]
15:32
mozzarella has quit [*.net *.split]
15:32
rann has quit [*.net *.split]
15:32
dan64 has quit [*.net *.split]
15:32
hsiktas[m] has quit [*.net *.split]
15:32
Vashy has quit [*.net *.split]
15:32
ljarvis_ has quit [*.net *.split]
15:32
mnemon has quit [*.net *.split]
15:32
jhass has quit [*.net *.split]
15:32
_aeris_ has quit [*.net *.split]
15:32
iNs_ has quit [*.net *.split]
15:32
tranch[m] has quit [*.net *.split]
15:32
Emmanuel_Chanel has joined #ruby
15:32
jhass has joined #ruby
15:32
exmortus has joined #ruby
15:32
Mia has joined #ruby
15:32
schne1der has joined #ruby
15:32
r29v has joined #ruby
15:32
FastJack has joined #ruby
15:32
mozzarella has joined #ruby
15:32
rann has joined #ruby
15:32
xco has joined #ruby
15:32
_aeris_ has joined #ruby
15:32
tranch[m] has joined #ruby
15:32
dan64 has joined #ruby
15:32
iNs_ has joined #ruby
15:32
ljarvis_ has joined #ruby
15:32
Vashy has joined #ruby
15:32
mnemon has joined #ruby
15:32
cagomez has joined #ruby
15:33
donofrio has quit [Remote host closed the connection]
15:33
donofrio has joined #ruby
15:33
Mia has quit [Max SendQ exceeded]
15:34
Mia has joined #ruby
15:35
greypack has quit [Ping timeout: 264 seconds]
15:35
turt2live has quit [Ping timeout: 246 seconds]
15:35
execat[m] has quit [Ping timeout: 244 seconds]
15:35
Manchotix[m] has quit [Ping timeout: 240 seconds]
15:35
simi[m] has quit [Ping timeout: 240 seconds]
15:35
tranch[m] has quit [Ping timeout: 244 seconds]
15:36
Vagabond[m] has quit [Ping timeout: 244 seconds]
15:36
batisi[m] has quit [Ping timeout: 260 seconds]
15:36
prkn8[m] has quit [Ping timeout: 260 seconds]
15:36
gitter1234 has quit [Quit: Connection closed for inactivity]
15:36
doug[m] has quit [Ping timeout: 272 seconds]
15:36
greypack has joined #ruby
15:37
nostrodamy has quit [Read error: Connection reset by peer]
15:37
dorian has quit [Remote host closed the connection]
15:38
haylon[m] has quit [Ping timeout: 240 seconds]
15:38
mbarbar has quit [Ping timeout: 246 seconds]
15:38
sepp2k has quit [Ping timeout: 246 seconds]
15:40
nostrooo has joined #ruby
15:41
dorian has joined #ruby
15:42
ChmEarl has joined #ruby
15:45
orbyt_ has joined #ruby
15:48
TCZ has quit [Quit: Leaving]
15:53
nostrooo has quit [Read error: Connection timed out]
15:54
TomyWork has quit [Remote host closed the connection]
15:56
zacts has quit [Ping timeout: 244 seconds]
15:58
davispuh has joined #ruby
16:01
jenrzzz has quit [Ping timeout: 260 seconds]
16:05
mistergibson has quit [Quit: Leaving]
16:14
MrCrackPot has quit [Remote host closed the connection]
16:14
alfiemax has joined #ruby
16:15
MrCrackPot has joined #ruby
16:20
MrCrackPot has quit [Remote host closed the connection]
16:26
duckpupp- has joined #ruby
16:26
duckpuppy has quit [Ping timeout: 246 seconds]
16:29
dionysus69 has quit [Ping timeout: 265 seconds]
16:33
jenrzzz has joined #ruby
16:44
Garb0 has joined #ruby
16:53
sgen has quit [Ping timeout: 244 seconds]
16:54
MrCrackPot has joined #ruby
16:58
Garb0 has quit [Quit: I'm out.]
16:59
leitz has joined #ruby
17:01
alfiemax has quit [Remote host closed the connection]
17:01
e has quit [Quit: edk]
17:06
howdoi has quit [Quit: Connection closed for inactivity]
17:07
pwl has quit [Quit: Leaving]
17:07
pwl has joined #ruby
17:11
mbarbar has joined #ruby
17:14
Nahra has quit [Quit: leaving]
17:16
pwl has quit [Ping timeout: 240 seconds]
17:18
dfucci has joined #ruby
17:23
dfucci has quit [Ping timeout: 240 seconds]
17:24
gitter1234 has joined #ruby
17:27
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:29
mossplix has joined #ruby
17:39
dionysus69 has joined #ruby
17:53
batisi[m] has joined #ruby
17:53
finn[m] has joined #ruby
17:53
doug[m]1 has joined #ruby
17:53
hsiktas[m] has joined #ruby
17:53
haylon[m] has joined #ruby
17:53
execat[m] has joined #ruby
17:53
tranch[m] has joined #ruby
17:53
turt2live has joined #ruby
17:53
sepp2k has joined #ruby
17:53
Manchotix[m] has joined #ruby
17:53
Vagabond[m] has joined #ruby
17:53
simi[m] has joined #ruby
17:53
prkn8[m] has joined #ruby
17:54
jenrzzz has quit [Ping timeout: 244 seconds]
17:55
cassolas has quit [Quit: cassolas]
17:56
cassolas has joined #ruby
17:59
<
leitz >
havenwood, thank you for the "hire others like themselves" comment. The more I've thought about it, the more encouraging it is.
18:00
impermanence has joined #ruby
18:10
User1231 has joined #ruby
18:14
dionysus69 has quit [Ping timeout: 260 seconds]
18:17
howdoi has joined #ruby
18:20
al2o3-cr has quit [Quit: WeeChat 2.8]
18:21
al2o3-cr has joined #ruby
18:24
sauvin has quit [Read error: Connection reset by peer]
18:24
User1231 has quit [K-Lined]
18:28
sphex has quit [Ping timeout: 264 seconds]
18:28
sphex has joined #ruby
18:29
jenrzzz has joined #ruby
18:39
rainmanjam has quit []
18:40
BrianWGray has joined #ruby
18:42
r29v has quit [Quit: r29v]
18:43
ellcs1 has joined #ruby
18:44
dionysus69 has joined #ruby
18:45
r29v has joined #ruby
18:46
schne1der has quit [Ping timeout: 240 seconds]
18:54
orbyt_ has joined #ruby
18:56
gix has joined #ruby
18:56
dionysus69 has quit [Ping timeout: 246 seconds]
19:11
drincruz has joined #ruby
19:18
ikonia has joined #ruby
19:19
drincruz has quit [Ping timeout: 246 seconds]
19:19
<
ikonia >
bit late in the day, but using the gem utility, is there any way to do dependecy or even better a reverse dependency
19:19
<
ikonia >
there is a gem on my system and I want to know what brought it in
19:21
mydog2 has quit [Ping timeout: 264 seconds]
19:22
<
adam12 >
ikonia: Nothing that I'm aware through `gem`, but rubygems.org has a reverse dependency tool which might help narrow it down.
19:22
<
ikonia >
super idea
19:22
<
ikonia >
I'd not even considered the website
19:23
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:24
mydog2 has joined #ruby
19:24
<
adam12 >
ikonia: If you're looking at a gem, the Reverse Dependencies tool is on the right under 'Links'. Right at the bottom.
19:27
<
ikonia >
that turned out to be super helpful, thanks a lot
19:33
ua_ has quit [Ping timeout: 260 seconds]
19:35
jenrzzz has quit [Ping timeout: 258 seconds]
19:41
seaef has joined #ruby
19:43
jenrzzz has joined #ruby
19:45
ua_ has joined #ruby
19:48
jenrzzz has quit [Ping timeout: 265 seconds]
19:48
ua_ is now known as ua
19:48
zapata has joined #ruby
20:00
greengriminal has joined #ruby
20:04
gato has joined #ruby
20:08
mbarbar has quit [Quit: Idle for 30+ days]
20:08
dfucci has joined #ruby
20:14
dfucci has quit [Ping timeout: 264 seconds]
20:19
ellcs1 has quit [Ping timeout: 260 seconds]
20:19
jenrzzz has joined #ruby
20:25
haylon[m] has quit [Quit: Idle for 30+ days]
20:29
<
adam12 >
xco: It's based on oniguruma IIRC.
20:29
leitz has quit [Quit: Leaving]
20:29
dionysus69 has joined #ruby
20:30
<
adam12 >
Right. That one ^
20:30
r29v has quit [Quit: r29v]
20:33
<
al2o3-cr >
adam12: it's based off of kkos's one.
20:34
<
al2o3-cr >
like you rightly said
20:36
<
al2o3-cr >
xco: that's why there is subtle differences.
20:43
rafadc has quit [Read error: Connection reset by peer]
20:44
rafadc has joined #ruby
20:49
ellcs1 has joined #ruby
20:55
orbyt_ has joined #ruby
20:57
nicholaslyang has joined #ruby
20:59
gato has quit [Quit: Connection closed]
21:01
Garb0 has joined #ruby
21:13
jetchisel has joined #ruby
21:15
<
xco >
adam12 havenwood al2o3-cr thanks :)
21:17
<
xco >
al2o3-cr wait i'm confused
21:17
<
xco >
al2o3-cr and havenwood confused me now
21:19
<
al2o3-cr >
xco: kkos is the original author of oniguruma
21:20
<
xco >
al2o3-cr got that but what's the current Ruby regex based on
21:20
<
xco >
the fork or the original?
21:20
mydog2 has quit [Ping timeout: 260 seconds]
21:21
mydog2 has joined #ruby
21:22
<
al2o3-cr >
as far i thought the original, but perhaps not.
21:28
seaef has quit [Ping timeout: 260 seconds]
21:31
seaef has joined #ruby
21:33
<
al2o3-cr >
xco: from regexec.c - Onigmo (Oniguruma-mod) (regular expression library)
21:35
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:35
<
al2o3-cr >
when in doubt consult the source code :P
21:39
seaef has quit [Ping timeout: 260 seconds]
21:40
xco has joined #ruby
21:41
<
xco >
al2o3-cr thank you :)
21:44
<
al2o3-cr >
xco: i honestly didn't know that was the case. havenwood, i wasn't undermining you i swear :P
21:56
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:10
cassolas has quit [Quit: cassolas]
22:11
mydog2 has quit [Ping timeout: 240 seconds]
22:11
mydog2 has joined #ruby
22:14
rwb has quit [Read error: Connection reset by peer]
22:29
mydog2 has quit [Excess Flood]
22:29
mydog2 has joined #ruby
22:39
vondruch has quit [Quit: vondruch]
22:42
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:46
howdoi has quit [Quit: Connection closed for inactivity]
23:02
madhatter has quit [Remote host closed the connection]
23:04
madhatter has joined #ruby
23:07
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:09
hardball has quit [Quit: Konversation terminated!]
23:13
darkstardev13 has joined #ruby
23:16
howdoi has joined #ruby
23:18
nicholaslyang has joined #ruby
23:19
nicholaslyang has quit [Client Quit]
23:19
ellcs1 has quit [Ping timeout: 244 seconds]
23:20
oneeggeach has joined #ruby
23:22
imode has joined #ruby
23:23
ellcs1 has joined #ruby
23:28
mydog2 has quit [Ping timeout: 265 seconds]
23:31
mydog2 has joined #ruby
23:34
<
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" }
23:36
<
deimos_ >
i've tried messing around with .each, .each_key, each_value
23:36
<
havenwood >
&>> {["city 1", "city 2"] => "100"}.flat_map { |k, v| k.each_with_object(v).to_a }.to_h
23:37
<
deimos_ >
someday i'll be that fast at the answer
23:37
<
deimos_ >
thank you, i'll test it
23:37
<
havenwood >
&>> {["city 1", "city 2"] => "100"}.reduce({}) { |acc, (k, v)| acc.merge(k.to_h { |key| [key, v] }) }
23:37
<
havenwood >
deimos_: ^
23:37
<
havenwood >
deimos_: That's another way.
23:38
<
deimos_ >
i'll have to look up .reduce and .flat_map to understand it better
23:38
<
havenwood >
deimos_: Feel free to ask here if docs don't explain them well.
23:40
nicholaslyang has joined #ruby
23:40
<
deimos_ >
i just realized i've been trying to treat this as a pure hash, vs enumerator
23:50
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:54
greengriminal has quit [Quit: Leaving]
23:54
PimarSimil has joined #ruby
23:57
ellcs1 has quit [Ping timeout: 260 seconds]
23:57
lazarus1 has quit [Quit: Leaving]
23:57
dionysus69 has quit [Ping timeout: 260 seconds]