00:03
agent_white has quit [Quit: leaving]
00:05
agent_white has joined #ruby
00:09
cagomez has quit [Remote host closed the connection]
00:10
cagomez has joined #ruby
00:10
ae84 has joined #ruby
00:14
cagomez has quit [Ping timeout: 258 seconds]
00:24
r29v has quit [Quit: r29v]
00:25
Swyper has quit [Remote host closed the connection]
00:27
gell5 has joined #ruby
00:33
gell5 has quit [Ping timeout: 245 seconds]
00:33
tdy1 has quit [Ping timeout: 246 seconds]
00:34
<
ae84 >
So now that I've fixed this file, how do I rerun gem install without it overwriting it?
00:35
renich has quit [Quit: renich]
00:35
laaron- has quit [Remote host closed the connection]
00:36
renich has joined #ruby
00:36
renich has quit [Remote host closed the connection]
00:37
renich has joined #ruby
00:37
Azure has quit [Read error: Connection reset by peer]
00:38
Azure has joined #ruby
00:41
jcarl43 has quit [Quit: WeeChat 2.4]
00:46
Swyper has joined #ruby
00:48
cthulchu_ has quit [Ping timeout: 246 seconds]
00:50
SeepingN has quit [Quit: The system is going down for reboot NOW!]
01:00
gell5 has joined #ruby
01:04
gell5 has quit [Ping timeout: 246 seconds]
01:05
bambanx has joined #ruby
01:05
dsuper7 has quit [Quit: Catch you on the flip side....]
01:10
tdy1 has joined #ruby
01:12
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:14
zachk has quit [Quit: Leaving]
01:23
agent_white has quit [Quit: bbl]
01:26
arescorpio has joined #ruby
01:31
ss9421 has joined #ruby
01:33
<
ss9421 >
hello, how do I create regex that would find out if my string beggins with 'cf-' then there is a number and then ends with '-asc' or 'desc'?
01:33
<
ss9421 >
For exemple 'cf-420-desc' or 'cf-112-asc'
01:34
<
ss9421 >
I want it to return true or false
01:40
gell5 has joined #ruby
01:47
gell5 has quit [Ping timeout: 245 seconds]
01:47
<
bougyman >
string =~ /^cf-[0-9]{3}-(?:a|de)sc$/
01:50
<
bougyman >
[3] pry(main)> %w[cf-123-asc cf-132-desc cf-aaa-asc cf-9-desc].map { |string| !!(string =~ /^cf-[0-9]{3}-(?:a|de)sc$/) }
01:50
<
bougyman >
=> [true, true, false, false]
01:50
ss9421 has quit [Quit: Leaving.]
01:50
<
jidar >
what's !! doing here?
01:50
<
bougyman >
turning it into a boolean.
01:50
mangold has joined #ruby
01:50
<
bougyman >
instead of 0 or nil
01:50
<
bougyman >
just outputs cleaner
01:51
<
bougyman >
he said he wanted true or false
01:51
<
uplime >
whats the differnece between that and .match?
01:51
<
uplime >
just preference?
01:51
<
bougyman >
nothing, with the !!
01:51
<
bougyman >
[4] pry(main)> %w[cf-123-asc cf-132-desc cf-aaa-asc cf-9-desc].map { |string| string.match /^cf-[0-9]{3}-(?:a|de)sc$/ }
01:51
<
bougyman >
=> [#<MatchData "cf-123-asc">, #<MatchData "cf-132-desc">, nil, nil]
01:52
<
bougyman >
[5] pry(main)> %w[cf-123-asc cf-132-desc cf-aaa-asc cf-9-desc].map { |string| !!(string.match(/^cf-[0-9]{3}-(?:a|de)sc$/)) }
01:52
<
bougyman >
=> [true, true, false, false]
01:52
<
bougyman >
no, =~ will be more efficient.
01:52
<
bougyman >
it doesn't have to create MatchData objects.
01:52
<
uplime >
sorry, i meant String#match?
02:00
sylario has quit [Quit: Connection closed for inactivity]
02:02
hahuang6- has quit [Disconnected by services]
02:02
hahuang6- has joined #ruby
02:08
d10n-work has joined #ruby
02:08
grilix has quit [Ping timeout: 250 seconds]
02:13
gell5 has joined #ruby
02:16
hahuang6- has quit [Ping timeout: 255 seconds]
02:16
esrse has joined #ruby
02:17
hahuang6- has joined #ruby
02:17
gell5 has quit [Ping timeout: 250 seconds]
02:19
hahuang6- has quit [Disconnected by services]
02:19
hahuang6- has joined #ruby
02:22
grilix has joined #ruby
02:22
ams__ has quit [Quit: Connection closed for inactivity]
02:24
hahuang6- has quit [Ping timeout: 250 seconds]
02:26
hahuang6- has joined #ruby
02:27
ariedler has joined #ruby
02:29
laaron has joined #ruby
02:34
hahuang6| has joined #ruby
02:35
hahuang6- has quit [Ping timeout: 240 seconds]
02:35
orbyt_ has joined #ruby
02:42
renich_ has joined #ruby
02:42
renich has quit [Ping timeout: 244 seconds]
02:44
gell5 has joined #ruby
02:51
marmotini_ has joined #ruby
02:51
ariedler has quit [Remote host closed the connection]
02:54
nfstern_ has joined #ruby
02:54
nfstern_ has quit [Quit: Leaving]
02:58
fredolinhares has quit [Quit: WeeChat 1.9.1]
02:58
<
zenspider >
uplime: same
02:59
AJA4350 has quit [Remote host closed the connection]
03:04
arescorpio has quit [Quit: Leaving.]
03:19
Swyper has quit [Read error: Connection reset by peer]
03:24
Alison` has joined #ruby
03:24
poguez_ has quit [Quit: Connection closed for inactivity]
03:31
crankharder has quit [Ping timeout: 245 seconds]
03:37
renich has joined #ruby
03:38
renich_ has quit [Ping timeout: 268 seconds]
03:42
brool has quit [Ping timeout: 250 seconds]
03:43
yield has joined #ruby
03:48
gell5 has quit [Ping timeout: 255 seconds]
03:56
bambanx has quit [Read error: Connection reset by peer]
03:57
crankharder has joined #ruby
04:05
braincrash has quit [Quit: bye bye]
04:09
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:09
braincrash has joined #ruby
04:17
mangold has quit [Quit: This computer has gone to sleep]
04:24
gell5 has joined #ruby
04:28
gix- has joined #ruby
04:28
gix has quit [Disconnected by services]
04:28
gell5 has quit [Ping timeout: 255 seconds]
04:31
tau has quit [Remote host closed the connection]
04:34
DmitryBochkarev has joined #ruby
04:39
ur5us has quit [Remote host closed the connection]
04:39
ur5us has joined #ruby
04:44
ur5us has quit [Ping timeout: 245 seconds]
04:44
stan has quit [Ping timeout: 250 seconds]
04:56
stryek has quit [Quit: Connection closed for inactivity]
05:04
gell5 has joined #ruby
05:10
gell5 has quit [Ping timeout: 244 seconds]
05:15
d10n-work has quit [Quit: Connection closed for inactivity]
05:18
grilix has quit [Ping timeout: 258 seconds]
05:27
DmitryBochkarev has quit [Ping timeout: 250 seconds]
05:32
sauvin has joined #ruby
05:33
houhoulis has quit [Remote host closed the connection]
05:45
gell5 has joined #ruby
05:46
Inline has quit [Quit: Leaving]
05:48
DmitryBochkarev has joined #ruby
05:49
gell5 has quit [Ping timeout: 268 seconds]
05:57
v01d4lph4 has joined #ruby
05:58
ferr has joined #ruby
06:13
Hobbyboy has quit [Ping timeout: 250 seconds]
06:15
conta has joined #ruby
06:18
Hobbyboy has joined #ruby
06:21
aupadhye has joined #ruby
06:22
sidx64 has joined #ruby
06:23
gell5 has joined #ruby
06:23
reber has joined #ruby
06:27
gell5 has quit [Ping timeout: 250 seconds]
06:28
marmotini_ has quit [Ping timeout: 245 seconds]
06:31
Devalo has joined #ruby
06:32
Fusl has quit [Excess Flood]
06:34
Fusl has joined #ruby
06:35
Devalo has quit [Ping timeout: 250 seconds]
06:35
yield has quit [Remote host closed the connection]
06:39
sidx64_ has joined #ruby
06:39
yield has joined #ruby
06:40
sidx64 has quit [Ping timeout: 245 seconds]
06:41
gix- has quit [Ping timeout: 246 seconds]
06:42
sidx64 has joined #ruby
06:43
sidx64_ has quit [Ping timeout: 245 seconds]
06:47
stan_ has joined #ruby
06:47
Dbugger has joined #ruby
06:49
lido has joined #ruby
06:49
lido has quit [Changing host]
06:49
lido has joined #ruby
06:52
marmotini has joined #ruby
06:55
gell5 has joined #ruby
06:56
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:03
gell5 has quit [Ping timeout: 268 seconds]
07:05
jinie has joined #ruby
07:06
sidx64 has joined #ruby
07:19
vondruch has joined #ruby
07:27
axsuul- has joined #ruby
07:27
Rudd0 has quit [Ping timeout: 245 seconds]
07:27
conta has quit [Ping timeout: 245 seconds]
07:27
axsuul has quit [Ping timeout: 245 seconds]
07:28
conta has joined #ruby
07:28
mozzarel1 has joined #ruby
07:28
segy has quit [Read error: Connection reset by peer]
07:28
c-c has quit [Ping timeout: 245 seconds]
07:28
c-c has joined #ruby
07:29
c-c is now known as Guest15322
07:29
Rudd0 has joined #ruby
07:29
mozzarella has quit [Ping timeout: 245 seconds]
07:29
mozzarel1 is now known as mozzarella
07:33
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:34
segy has joined #ruby
07:35
azizLIGHT has joined #ruby
07:35
Dbugger has quit [Quit: Leaving]
07:36
Dbugger has joined #ruby
07:36
gell5 has joined #ruby
07:38
mangold has joined #ruby
07:40
yield has quit [Remote host closed the connection]
07:40
gell5 has quit [Ping timeout: 246 seconds]
07:42
sidx64 has joined #ruby
07:43
reber has quit [Remote host closed the connection]
07:44
schleppel has joined #ruby
07:44
claudiuinberlin has joined #ruby
07:48
claudiuinberlin has quit [Ping timeout: 268 seconds]
07:54
clemens3_ has quit [Remote host closed the connection]
07:55
_joes_ has joined #ruby
07:58
marmotini_ has joined #ruby
07:58
marmotini has quit [Ping timeout: 250 seconds]
08:03
aufi has joined #ruby
08:06
tdy1 has quit [Ping timeout: 250 seconds]
08:07
_joes_ has quit [Read error: Connection reset by peer]
08:07
gell5 has joined #ruby
08:08
_joes_ has joined #ruby
08:11
suukim has joined #ruby
08:12
tdy1 has joined #ruby
08:12
sinanislekdemir has joined #ruby
08:13
nowhere_man has quit [Ping timeout: 259 seconds]
08:14
gell5 has quit [Ping timeout: 250 seconds]
08:14
tdy1 has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
08:15
clemens3 has joined #ruby
08:15
DmitryBochkarev has quit [Read error: Connection reset by peer]
08:16
DmitryBochkarev has joined #ruby
08:22
DmitryBochkarev has quit [Remote host closed the connection]
08:23
DmitryBochkarev has joined #ruby
08:24
Dbugger has quit [Ping timeout: 250 seconds]
08:26
sinanislekdemir has quit [Quit: rcirc on GNU Emacs 27.0.50]
08:27
marmotini has joined #ruby
08:29
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:30
marmotini_ has quit [Ping timeout: 268 seconds]
08:31
marmotini_ has joined #ruby
08:31
marmotini has quit [Ping timeout: 246 seconds]
08:33
marmotini has joined #ruby
08:35
lxsameer has joined #ruby
08:36
marmotini_ has quit [Ping timeout: 245 seconds]
08:38
TomyWork has joined #ruby
08:41
gell5 has joined #ruby
08:42
sidx64 has joined #ruby
08:42
yield has joined #ruby
08:45
gell5 has quit [Ping timeout: 250 seconds]
08:46
marmotini has quit [Ping timeout: 245 seconds]
08:46
nowhere_man has joined #ruby
08:46
yield has quit [Ping timeout: 245 seconds]
08:47
yqt has joined #ruby
08:48
sylario has joined #ruby
08:49
marmotini_ has joined #ruby
08:49
mikecmpbll has joined #ruby
08:58
marmotini has joined #ruby
08:59
marmotini_ has quit [Ping timeout: 250 seconds]
09:01
dhollin3 has joined #ruby
09:02
marmotini_ has joined #ruby
09:03
dhollinger has quit [Ping timeout: 246 seconds]
09:04
marmotini has quit [Ping timeout: 255 seconds]
09:06
andikr has joined #ruby
09:08
danguita has joined #ruby
09:13
marmotini_ has quit [Ping timeout: 244 seconds]
09:14
marmotini_ has joined #ruby
09:15
mangold has quit [Quit: This computer has gone to sleep]
09:21
gell5 has joined #ruby
09:21
cd has quit [Quit: cd]
09:27
gell5 has quit [Ping timeout: 245 seconds]
09:27
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:29
marmotini_ has quit [Ping timeout: 246 seconds]
09:29
marmotini has joined #ruby
09:33
kyrylo has joined #ruby
09:33
sidx64 has joined #ruby
09:34
sidx64 has quit [Client Quit]
09:36
sidx64 has joined #ruby
09:36
sidx64 has quit [Client Quit]
09:43
sidx64 has joined #ruby
09:43
jottr_ has joined #ruby
09:48
yield has joined #ruby
09:48
marmotini has quit [Ping timeout: 255 seconds]
09:48
marmotini has joined #ruby
09:54
marmotini_ has joined #ruby
09:55
marmotini has quit [Ping timeout: 268 seconds]
10:01
gell5 has joined #ruby
10:02
jottr has joined #ruby
10:02
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:03
mangold has joined #ruby
10:05
jottr_ has quit [Ping timeout: 250 seconds]
10:06
gell5 has quit [Ping timeout: 272 seconds]
10:07
tdy1 has joined #ruby
10:08
pwnd_nsfw` has joined #ruby
10:09
BH23 has joined #ruby
10:10
pwnd_nsfw has quit [Ping timeout: 268 seconds]
10:13
tdy1 has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
10:15
mroshanavand has joined #ruby
10:17
mroshanavand has quit [Client Quit]
10:19
yield has quit [Remote host closed the connection]
10:19
yield has joined #ruby
10:20
roshanavand has joined #ruby
10:21
marmotini has joined #ruby
10:22
pwnd_nsfw has joined #ruby
10:23
livcd has quit [Changing host]
10:23
livcd has joined #ruby
10:25
pwnd_nsfw` has quit [Ping timeout: 245 seconds]
10:25
roshanavand has quit [Ping timeout: 256 seconds]
10:25
marmotini_ has quit [Ping timeout: 250 seconds]
10:26
Fire-Dragon-DoL has quit [Ping timeout: 258 seconds]
10:26
xtsee has quit [Ping timeout: 258 seconds]
10:31
Fire-Dragon-DoL has joined #ruby
10:32
gell5 has joined #ruby
10:34
xtsee has joined #ruby
10:36
yqt has quit [Ping timeout: 245 seconds]
10:36
ellcs has joined #ruby
10:37
conta has quit [Remote host closed the connection]
10:38
gell5 has quit [Ping timeout: 245 seconds]
10:41
sidx64 has joined #ruby
10:45
<
ellcs >
hey guys, why do i have to wrap a string into an array in order to use pack?
10:47
<
ytti >
i don't think you're gonna like thte answer, but because #pack is Array method
10:48
<
ellcs >
because you understand me
10:48
<
ytti >
string.each_char.to_a.pack
10:49
<
ellcs >
i might also use String#unpack aight?
10:49
<
ytti >
pack and unpack do the opposite things
10:51
<
ellcs >
a = ["01111010", "01101100", "01101001"]
10:51
<
ellcs >
how would you pack this into chars?
10:51
<
ellcs >
i did use ary.pack("B*B*B*")
10:52
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:52
<
ytti >
that seems reasonable
10:52
<
ellcs >
and if a might have any length?
10:52
<
ytti >
another option is a.map{|c|c.to_i(2).chr}.join
10:53
marmotini_ has joined #ruby
10:54
mangold has quit [Quit: This computer has gone to sleep]
10:54
marmotini has quit [Ping timeout: 250 seconds]
10:55
<
ellcs >
seems reasonable
10:55
<
ellcs >
what do you think of `ary.pack("B*" * ary.size)
10:55
sidx64 has joined #ruby
10:55
<
ytti >
usually pack and unpack are used to deal like wire coding
10:55
<
ytti >
so usually you know exactly how many you want to pack and unpack
10:55
<
ellcs >
what do you mean with wire coding?
10:55
<
ytti >
you don't know, and i wonder, why not
10:57
<
ellcs >
i just want to play with pack
10:57
<
ellcs >
because i saw it quite often
10:57
<
ellcs >
however, thank you!
10:59
mangold has joined #ruby
11:00
<
ytti >
you could do something like a.map{|c|[c].pack("B*")}.join also
11:00
<
ytti >
i'm not sure i like the "" * ary.size
11:00
<
ytti >
usually your array would contain like fields, say ip source address, ip destination address, l4 port, ip protocl etc
11:01
<
ytti >
fixed set of values, that you know specificallyt how each needs to be coded
11:01
<
ytti >
then you'd pack it into a blob and send to the wire
11:01
<
ytti >
and conversely, once you read it from the wire, you'd use unpack to restore them
11:01
<
ytti >
but it is entirely possible i'm missing practical use case of not knowing how many items you need to pack
11:03
yield has quit [Remote host closed the connection]
11:07
tdy1 has joined #ruby
11:09
gell5 has joined #ruby
11:11
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:13
gell5 has quit [Ping timeout: 245 seconds]
11:15
sidx64 has joined #ruby
11:21
dante has quit [Ping timeout: 246 seconds]
11:22
dante has joined #ruby
11:25
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:25
AJA4350 has joined #ruby
11:27
ldnunes has joined #ruby
11:31
Zeno_ has joined #ruby
11:33
marmotini has joined #ruby
11:34
marmotini_ has quit [Ping timeout: 272 seconds]
11:37
marmotini_ has joined #ruby
11:39
marmotini has quit [Ping timeout: 246 seconds]
11:40
marmotini has joined #ruby
11:42
marmotini_ has quit [Ping timeout: 250 seconds]
11:42
sidx64 has joined #ruby
11:42
tdy1 has quit [Ping timeout: 255 seconds]
11:44
mangold has quit [Quit: This computer has gone to sleep]
11:46
marmotini_ has joined #ruby
11:47
cranq has quit [Ping timeout: 245 seconds]
11:47
gell5 has joined #ruby
11:48
gray_-_wolf has joined #ruby
11:48
mangold has joined #ruby
11:48
lucasb has quit [Quit: Connection closed for inactivity]
11:48
cranq has joined #ruby
11:48
nowhere_man has quit [Ping timeout: 250 seconds]
11:49
marmotini has quit [Ping timeout: 250 seconds]
11:51
terabytes has quit [Quit: Connection closed for inactivity]
11:54
gell5 has quit [Ping timeout: 255 seconds]
11:54
cranq has quit [Remote host closed the connection]
11:54
cranq has joined #ruby
12:00
conta1 has joined #ruby
12:01
marmotini_ has quit [Ping timeout: 245 seconds]
12:03
marmotini_ has joined #ruby
12:04
DmitryBochkarev has quit [Read error: Connection reset by peer]
12:05
bmurt has joined #ruby
12:05
DmitryBochkarev has joined #ruby
12:06
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:09
sidx64 has joined #ruby
12:10
barg has joined #ruby
12:12
BH23 has quit [Ping timeout: 245 seconds]
12:12
_joes_ has quit [Ping timeout: 245 seconds]
12:13
yield has joined #ruby
12:18
_joes_ has joined #ruby
12:19
BH23 has joined #ruby
12:26
conta1 has quit [Ping timeout: 250 seconds]
12:27
gell5 has joined #ruby
12:30
def_jam has joined #ruby
12:30
eb0t_ has joined #ruby
12:31
eblip has quit [Ping timeout: 244 seconds]
12:31
eb0t has quit [Ping timeout: 250 seconds]
12:31
gell5 has quit [Ping timeout: 255 seconds]
12:33
danguita has quit [Ping timeout: 250 seconds]
12:34
yield has quit [Ping timeout: 272 seconds]
12:35
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:37
yield has joined #ruby
12:38
sidx64 has joined #ruby
12:39
sidx64 has quit [Client Quit]
12:40
marmotini has joined #ruby
12:42
marmotini_ has quit [Ping timeout: 250 seconds]
12:43
cow[moo] has joined #ruby
12:44
_joes_ has quit [Ping timeout: 244 seconds]
12:44
_joes_ has joined #ruby
12:45
marmotini_ has joined #ruby
12:45
sidx64 has joined #ruby
12:45
marmotini has quit [Ping timeout: 245 seconds]
12:46
phaul has quit [Quit: :wq]
12:46
sidx64 has quit [Client Quit]
12:46
marmotini has joined #ruby
12:48
phaul has joined #ruby
12:50
marmotini_ has quit [Ping timeout: 250 seconds]
12:52
sidx64 has joined #ruby
12:53
marmotini_ has joined #ruby
12:54
marmotini has quit [Ping timeout: 250 seconds]
12:54
phaul has quit [Quit: :wq]
12:56
danguita has joined #ruby
12:57
phaul has joined #ruby
12:59
marmotini has joined #ruby
12:59
gell5 has joined #ruby
13:00
marmotini_ has quit [Ping timeout: 255 seconds]
13:01
rprimus has quit [Ping timeout: 250 seconds]
13:04
rprimus has joined #ruby
13:06
gell5 has quit [Ping timeout: 272 seconds]
13:07
marmotini has quit [Ping timeout: 244 seconds]
13:07
esrse has quit [Ping timeout: 250 seconds]
13:09
marmotini_ has joined #ruby
13:10
marmotini has joined #ruby
13:13
marmotini_ has quit [Ping timeout: 244 seconds]
13:16
marmotini has quit [Remote host closed the connection]
13:16
d10n-work has joined #ruby
13:17
marmotini_ has joined #ruby
13:17
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:18
hightower2 has joined #ruby
13:24
_joes_ has quit [Ping timeout: 245 seconds]
13:24
_joes_ has joined #ruby
13:24
asio_ is now known as asio
13:26
Guest15322 has left #ruby [#ruby]
13:29
marmotini_ has quit [Ping timeout: 255 seconds]
13:29
def_jam is now known as eblip
13:29
eb0t_ is now known as eb0t
13:30
jrafanie has joined #ruby
13:32
marmotini_ has joined #ruby
13:32
gray_-_wolf has quit [Quit: WeeChat 2.4]
13:35
marmotini has joined #ruby
13:38
ikbenhet has joined #ruby
13:38
marmotini_ has quit [Ping timeout: 272 seconds]
13:40
gell5 has joined #ruby
13:40
paraxial has joined #ruby
13:45
gell5 has quit [Ping timeout: 245 seconds]
13:45
DmitryBochkarev has quit [Ping timeout: 250 seconds]
13:50
<
ae84 >
oh wait, nevermind
13:51
marmotini_ has joined #ruby
13:53
nowhere_man has joined #ruby
13:54
marmotini has quit [Ping timeout: 272 seconds]
13:55
cek has joined #ruby
13:56
cek has left #ruby [#ruby]
14:00
suukim has quit [Quit: Konversation terminated!]
14:02
dinfuehr_ is now known as dinfuehr
14:04
vondruch has quit [Ping timeout: 272 seconds]
14:08
DmitryBochkarev has joined #ruby
14:11
nowhere_man has quit [Ping timeout: 250 seconds]
14:12
Rapture has joined #ruby
14:13
gell5 has joined #ruby
14:16
laaron- has joined #ruby
14:17
v01d4lph4 has quit [Read error: Connection reset by peer]
14:17
laaron has quit [Remote host closed the connection]
14:18
InfinityFye has joined #ruby
14:19
InfinityFye has left #ruby [#ruby]
14:20
Ai9zO5AP has joined #ruby
14:20
gell5 has quit [Ping timeout: 245 seconds]
14:24
dhollin3 is now known as dhollinger
14:26
noboruma has quit [Remote host closed the connection]
14:27
venmx has joined #ruby
14:28
<
venmx >
hi, sorry for the noob question... how can i fix this ERROR: While executing gem ... (Gem::Exception)", " Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources
14:29
<
venmx >
i tried installing libssl-dev on ubuntu and also using insecure repo, neither worked
14:33
noboruma has joined #ruby
14:35
Dbugger has joined #ruby
14:39
mangold has quit [Quit: This computer has gone to sleep]
14:43
Inline has joined #ruby
14:47
marz_d`ghostman has joined #ruby
14:47
rippa has joined #ruby
14:49
<
havenwood >
venmx: have you tried rebuilding Ruby after installing libssl-dev?
14:50
<
havenwood >
venmx: apt deps should be: build-essential bison zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev
14:51
renich has quit [Quit: renich]
14:52
Deesl has joined #ruby
14:52
renich has joined #ruby
14:53
gell5 has joined #ruby
14:56
ferr has quit [Quit: WeeChat 2.4]
14:58
gell5 has quit [Ping timeout: 272 seconds]
15:00
alpha_sh has joined #ruby
15:00
<
alpha_sh >
Bored? Call the official freenode IRC partyline at +4521137886
15:00
alpha_sh has quit [Remote host closed the connection]
15:02
Qantourisc20 has joined #ruby
15:02
<
Qantourisc20 >
Bored? Call the official freenode IRC partyline at +4521137886
15:02
Qantourisc20 has quit [Read error: Connection reset by peer]
15:03
lucasb has joined #ruby
15:03
SeepingN has joined #ruby
15:04
debdog12 has joined #ruby
15:04
<
debdog12 >
Bored? Call the official freenode IRC partyline at +4521137886
15:04
Sausage22 has joined #ruby
15:04
<
Sausage22 >
Bored? Call the official freenode IRC partyline at +4521137886
15:04
debdog12 has quit [Remote host closed the connection]
15:04
Sausage22 has quit [Remote host closed the connection]
15:05
BH23 has quit [Ping timeout: 272 seconds]
15:05
_joes_ has quit [Ping timeout: 268 seconds]
15:06
aupadhye has quit [Ping timeout: 272 seconds]
15:07
<
SeepingN >
no one's answering
15:07
<
SeepingN >
just like real IRC wow!
15:07
nowhere_man has joined #ruby
15:08
sphenxes has joined #ruby
15:09
lilmonkey`` has joined #ruby
15:09
lilmonkey`` has quit [Remote host closed the connection]
15:11
jabberwock11 has joined #ruby
15:11
jabberwock11 has quit [Remote host closed the connection]
15:12
rukenden has joined #ruby
15:12
tau has joined #ruby
15:12
rukenden has quit [Remote host closed the connection]
15:13
divx1187 has joined #ruby
15:13
mattwc1 has joined #ruby
15:13
divx1187 has quit [Remote host closed the connection]
15:13
mattwc1 has quit [Remote host closed the connection]
15:16
al2o3-cr has quit [Quit: WeeChat 2.4]
15:18
Te[u]K3 has joined #ruby
15:19
Guest31414 has joined #ruby
15:19
Te[u]K3 has quit [Remote host closed the connection]
15:19
Guest31414 has quit [Remote host closed the connection]
15:20
Wessie19 has joined #ruby
15:20
Wessie19 has quit [Remote host closed the connection]
15:22
al2o3-cr has joined #ruby
15:22
_joes_ has joined #ruby
15:22
BH23 has joined #ruby
15:24
grilix has joined #ruby
15:28
nowhere_man has quit [Read error: Connection reset by peer]
15:28
gell5 has joined #ruby
15:29
marmotini has joined #ruby
15:30
nowhere_man has joined #ruby
15:31
marmotini_ has quit [Ping timeout: 244 seconds]
15:35
gell5 has quit [Ping timeout: 246 seconds]
15:43
marmotini_ has joined #ruby
15:44
sphenxes has quit [Remote host closed the connection]
15:44
marmotini has quit [Ping timeout: 246 seconds]
15:46
tau has quit [Remote host closed the connection]
15:47
grilix has quit [Ping timeout: 250 seconds]
15:48
grilix has joined #ruby
15:53
agent_white has joined #ruby
15:53
zleap has joined #ruby
15:53
zleap has quit [Changing host]
15:53
zleap has joined #ruby
15:56
orbyt_ has joined #ruby
15:58
cagomez has joined #ruby
15:58
cagomez has quit [Read error: Connection reset by peer]
15:58
marmotini has joined #ruby
15:58
marmotini_ has quit [Remote host closed the connection]
15:58
tdy1 has joined #ruby
15:58
cagomez has joined #ruby
15:58
cagomez has quit [Read error: Connection reset by peer]
15:59
cthulchu_ has joined #ruby
16:00
cagomez has joined #ruby
16:00
cagomez has quit [Read error: Connection reset by peer]
16:02
marmotini_ has joined #ruby
16:03
gell5 has joined #ruby
16:03
marmotini has quit [Remote host closed the connection]
16:07
gell5 has quit [Ping timeout: 268 seconds]
16:07
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:11
polishdub has joined #ruby
16:12
ikbenhet has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:14
WhereIsMySpoon has joined #ruby
16:14
<
WhereIsMySpoon >
Is there a binary version of bson I can depend on instead of bundle install trying to build bson with make each time? The docker image im trying to deploy onto doesnt have make
16:15
orbyt_ has joined #ruby
16:16
orbyt_ has quit [Client Quit]
16:17
<
WhereIsMySpoon >
or can I make mongo gem not depend on bson_ext?
16:17
aufi has quit [Ping timeout: 245 seconds]
16:18
venmx has quit [Ping timeout: 250 seconds]
16:23
andikr has quit [Remote host closed the connection]
16:25
Devalo has joined #ruby
16:27
marmotini has joined #ruby
16:28
marmotini_ has quit [Ping timeout: 246 seconds]
16:29
jcarl43 has joined #ruby
16:32
suukim has joined #ruby
16:36
Devalo has quit [Remote host closed the connection]
16:36
Devalo has joined #ruby
16:39
gell5 has joined #ruby
16:39
<
havenwood >
WhereIsMySpoon: the BSON gem has JRuby extensions, but unfortunately not a slow, pure Ruby version
16:39
Roserin has joined #ruby
16:40
Roserin has quit [Remote host closed the connection]
16:40
<
havenwood >
WhereIsMySpoon: is JRuby an option? it ships a jar.
16:41
Devalo has quit [Ping timeout: 245 seconds]
16:41
<
WhereIsMySpoon >
i dont really want to write jruby
16:41
<
WhereIsMySpoon >
:P
16:41
tdy1 has quit [Ping timeout: 245 seconds]
16:46
gell5 has quit [Ping timeout: 250 seconds]
16:48
hightower2 has quit [Changing host]
16:48
hightower2 has joined #ruby
16:51
<
havenwood >
it's just Ruby!
16:51
<
havenwood >
(with a J in front)
16:54
jinie has joined #ruby
16:54
renich has quit [Ping timeout: 250 seconds]
16:55
sidx64 has joined #ruby
16:56
paraxial has joined #ruby
16:59
paraxial has quit [Read error: Connection reset by peer]
17:00
renich has joined #ruby
17:02
AdmiralAsshat has joined #ruby
17:02
AdmiralAsshat has quit [Remote host closed the connection]
17:03
nowhere_man has quit [Ping timeout: 250 seconds]
17:06
_joes_ has quit [Ping timeout: 250 seconds]
17:07
DmitryBochkarev has quit [Ping timeout: 250 seconds]
17:07
BH23 has quit [Ping timeout: 246 seconds]
17:08
emberquill has joined #ruby
17:08
wsmoak has joined #ruby
17:08
orbyt_ has joined #ruby
17:08
emberquill has quit [Remote host closed the connection]
17:09
gix has joined #ruby
17:10
sidx64_ has joined #ruby
17:11
orbyt_ has quit [Remote host closed the connection]
17:12
sidx64 has quit [Ping timeout: 245 seconds]
17:13
clemens3 has quit [Ping timeout: 244 seconds]
17:14
drewc17 has joined #ruby
17:14
kurosu has joined #ruby
17:14
drewc17 has quit [Remote host closed the connection]
17:14
kurosu has quit [Remote host closed the connection]
17:17
_joes_ has joined #ruby
17:17
venmx has joined #ruby
17:17
BH23 has joined #ruby
17:17
bambanx has joined #ruby
17:18
alem0lars has joined #ruby
17:22
WhereIsMySpoon has quit [Ping timeout: 244 seconds]
17:24
lxsameer has quit [Ping timeout: 250 seconds]
17:36
mikecmpbll has quit [Quit: inabit. zz.]
17:36
lytol has joined #ruby
17:44
fredolinhares has joined #ruby
17:45
gell5 has joined #ruby
17:51
gell5 has quit [Ping timeout: 246 seconds]
17:56
_joes_ has quit [Ping timeout: 250 seconds]
17:56
jottr has quit [Ping timeout: 272 seconds]
17:57
BH23 has quit [Ping timeout: 246 seconds]
18:00
alem0lars has quit [Ping timeout: 250 seconds]
18:04
marmotini has quit [Remote host closed the connection]
18:09
TomyWork has quit [Ping timeout: 246 seconds]
18:11
orbyt_ has joined #ruby
18:13
Devalo has joined #ruby
18:15
hiroaki has joined #ruby
18:16
reber has joined #ruby
18:18
gell5 has joined #ruby
18:19
zleap has quit [Quit: WeeChat 2.4]
18:20
bezt20 has joined #ruby
18:20
bezt20 has quit [Remote host closed the connection]
18:22
gell5 has quit [Ping timeout: 244 seconds]
18:24
grilix has quit [Quit: Ooops]
18:24
danguita has quit [Quit: WeeChat 2.4]
18:25
feepk27 has joined #ruby
18:25
feepk27 has quit [Remote host closed the connection]
18:25
sauvin has quit [Remote host closed the connection]
18:28
ldnunes has quit [Ping timeout: 245 seconds]
18:29
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:34
aufi has joined #ruby
18:35
thurstylark has joined #ruby
18:36
thurstylark has quit [Remote host closed the connection]
18:36
tau has joined #ruby
18:40
ldnunes has joined #ruby
18:46
irdr has quit [Remote host closed the connection]
18:46
irdr has joined #ruby
18:47
aufi has quit [Ping timeout: 250 seconds]
18:48
kapil____ has joined #ruby
18:52
gell5 has joined #ruby
18:52
emberquill has joined #ruby
18:52
emberquill has quit [Remote host closed the connection]
18:52
Guest90089 has joined #ruby
18:52
Guest90089 has quit [Remote host closed the connection]
18:53
hahuang6| has quit [Disconnected by services]
18:53
hahuang6- has joined #ruby
18:57
hahuang6- has quit [Disconnected by services]
18:57
hahuang6- has joined #ruby
18:58
venmx has quit [Ping timeout: 255 seconds]
18:58
klaxa3 has joined #ruby
18:58
hahuang6- has quit [Disconnected by services]
18:58
gell5 has quit [Ping timeout: 245 seconds]
18:58
klaxa3 has quit [Remote host closed the connection]
18:58
hahuang6- has joined #ruby
18:58
hahuang6- has quit [Disconnected by services]
19:03
hahuang6- has joined #ruby
19:03
archpc1 has joined #ruby
19:04
archpc1 has quit [Read error: Connection reset by peer]
19:04
hahuang6- has quit [Client Quit]
19:08
bmurt has quit [Read error: Connection reset by peer]
19:09
bmurt has joined #ruby
19:14
suukim has quit [Quit: Konversation terminated!]
19:15
schleppel has quit [Quit: Konversation terminated!]
19:16
WhereIsMySpoon has joined #ruby
19:16
WhereIsMySpoon has joined #ruby
19:16
WhereIsMySpoon has quit [Changing host]
19:18
diegok has joined #ruby
19:18
diegok has quit [Remote host closed the connection]
19:18
schleppel has joined #ruby
19:20
WhereIsMySpoon has quit [Ping timeout: 255 seconds]
19:23
phadej18 has joined #ruby
19:23
phadej18 has quit [Remote host closed the connection]
19:25
DmitryBochkarev has joined #ruby
19:30
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
19:31
ua has quit [Ping timeout: 255 seconds]
19:32
gell5 has joined #ruby
19:33
bambanx has quit [Quit: Leaving]
19:35
AJA4351 has joined #ruby
19:36
zeroquake has joined #ruby
19:36
AJA4350 has quit [Ping timeout: 268 seconds]
19:36
AJA4351 is now known as AJA4350
19:37
gell5 has quit [Ping timeout: 244 seconds]
19:37
dviola has joined #ruby
19:39
bambanx has joined #ruby
19:41
orbyt_ has quit [Ping timeout: 244 seconds]
19:42
tdy1 has joined #ruby
19:43
bambanx has quit [Read error: Connection reset by peer]
19:45
ua has joined #ruby
19:45
skryking has quit [Quit: Leaving]
19:45
yoshie902a has joined #ruby
19:46
<
yoshie902a >
is anything wrong with my syntax?
19:47
zeroquake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:47
zeroquake has joined #ruby
19:50
bambanx has joined #ruby
19:56
nwradio8 has joined #ruby
19:58
orbyt_ has joined #ruby
19:59
DmitryBochkarev has quit [Ping timeout: 246 seconds]
20:01
wsmoak has quit [Quit: Connection closed for inactivity]
20:01
Devalo has quit [Remote host closed the connection]
20:02
Devalo has joined #ruby
20:03
dinfuehr_ has joined #ruby
20:03
terabytes has joined #ruby
20:03
bambanx has quit [Read error: Connection reset by peer]
20:04
dinfuehr has quit [Ping timeout: 268 seconds]
20:06
Devalo has quit [Ping timeout: 246 seconds]
20:07
gell5 has joined #ruby
20:12
zleap has joined #ruby
20:12
zleap has quit [Changing host]
20:12
zleap has joined #ruby
20:13
gell5 has quit [Ping timeout: 246 seconds]
20:14
ur5us has joined #ruby
20:16
SCHAPiE has joined #ruby
20:19
Devalo has joined #ruby
20:19
yoshie902a has left #ruby [#ruby]
20:20
dostoyevsky has quit [Quit: leaving]
20:22
dostoyevsky has joined #ruby
20:25
gkos has joined #ruby
20:26
zeroquake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:26
zachk has joined #ruby
20:28
zachk has quit [Changing host]
20:28
zachk has joined #ruby
20:28
danielbeck has joined #ruby
20:28
gkos has quit [Client Quit]
20:28
danielbeck has quit [Remote host closed the connection]
20:29
venmx has joined #ruby
20:30
gkos has joined #ruby
20:32
zeroquake has joined #ruby
20:32
asdawer__ has joined #ruby
20:33
asdawer__ has quit [Client Quit]
20:40
tdy1 has quit [Ping timeout: 245 seconds]
20:42
AJA4351 has joined #ruby
20:44
gell5 has joined #ruby
20:44
AJA4350 has quit [Ping timeout: 246 seconds]
20:44
AJA4351 is now known as AJA4350
20:46
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:47
tdy1 has joined #ruby
20:48
hightower2 has quit [Ping timeout: 246 seconds]
20:48
gell5 has quit [Ping timeout: 250 seconds]
20:52
orbyt_ has joined #ruby
20:54
schleppel has quit [Quit: Konversation terminated!]
20:54
kyrylo has joined #ruby
20:57
Xiti has quit [Ping timeout: 250 seconds]
20:58
Xiti has joined #ruby
20:59
Devalo has quit [Remote host closed the connection]
20:59
Devalo has joined #ruby
21:02
reber has quit [Read error: Connection reset by peer]
21:03
jcalla has quit [Remote host closed the connection]
21:04
Devalo has quit [Ping timeout: 255 seconds]
21:05
lido has quit [Ping timeout: 250 seconds]
21:06
pwnd_nsfw` has joined #ruby
21:06
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:06
sgen has joined #ruby
21:07
rprimus has quit [Ping timeout: 244 seconds]
21:09
pwnd_nsfw has quit [Ping timeout: 245 seconds]
21:09
rprimus has joined #ruby
21:15
ldnunes has quit [Quit: Leaving]
21:16
Fernando-Basso has joined #ruby
21:16
mikecmpbll has joined #ruby
21:17
gell5 has joined #ruby
21:22
{41444d494e}10 has joined #ruby
21:22
{41444d494e}10 has quit [Remote host closed the connection]
21:23
crankharder has quit [Ping timeout: 246 seconds]
21:26
gell5 has quit [Ping timeout: 245 seconds]
21:28
jottr has joined #ruby
21:33
zdzichu11 has joined #ruby
21:33
zdzichu11 has quit [Remote host closed the connection]
21:34
t0xik has joined #ruby
21:34
code_zombie has joined #ruby
21:36
Ai9zO5AP has quit [Quit: WeeChat 2.4]
21:46
crankharder has joined #ruby
21:49
AJA4350 has quit [Ping timeout: 250 seconds]
21:50
brool has joined #ruby
21:50
AJA4350 has joined #ruby
21:50
codefriar17 has joined #ruby
21:50
codefriar17 has quit [Remote host closed the connection]
21:55
<
haylon_ >
jRuby is handy when you can't get Ruby on a system, but you have Java available. Then I'm not technically installing Ruby, just using what's there.
21:57
zleap has quit [Quit: WeeChat 2.4]
21:58
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:59
gell5 has joined #ruby
22:01
sidx64_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:01
ae84 has quit [Quit: leaving]
22:02
daaniel_5 has joined #ruby
22:02
daaniel_5 has quit [Remote host closed the connection]
22:03
gell5 has quit [Ping timeout: 250 seconds]
22:08
moei has quit [Quit: Leaving...]
22:15
orbyt_ has joined #ruby
22:18
geordi18 has joined #ruby
22:18
geordi18 has quit [Remote host closed the connection]
22:20
tdy1 has quit [Ping timeout: 245 seconds]
22:21
Devalo has joined #ruby
22:23
tau is now known as silvereye
22:25
Dbugger has quit [Ping timeout: 250 seconds]
22:26
Devalo has quit [Ping timeout: 246 seconds]
22:28
davel_ has joined #ruby
22:29
venmx has quit [Ping timeout: 250 seconds]
22:29
gell5 has joined #ruby
22:31
renich_ has joined #ruby
22:31
venmx has joined #ruby
22:31
davel_ has quit [Client Quit]
22:32
renich has quit [Ping timeout: 250 seconds]
22:32
cd has joined #ruby
22:32
<
ryouba >
how would you do "cat *-dns.txt | grep 'IN A' | grep 249 | cut -d ' ' -f 1 | grep -v '@' | sed s/\*/www/" in ruby? File.read each of them and run a RegEx?
22:35
gell5 has quit [Ping timeout: 244 seconds]
22:37
thnee10 has joined #ruby
22:37
thnee10 has quit [Remote host closed the connection]
22:40
<
phaul >
how is it possible that the faker gem doesn't have anything from the big bang theory?
22:41
gell5 has joined #ruby
22:41
gell5 has quit [Remote host closed the connection]
22:41
gell5 has joined #ruby
22:43
gell5_ has joined #ruby
22:44
lytol has quit [Remote host closed the connection]
22:45
luyikei20 has joined #ruby
22:45
luyikei20 has quit [Remote host closed the connection]
22:46
<
adam12 >
ryouba: cat *-dns.txt | ruby -pe 'sub("*", "www") if $_.include?("249") && $_.include?("IN A") && !$_.include?("@")' ?
22:46
<
ryouba >
wow, it's actually longer
22:46
<
adam12 >
ryouba: I didn't bother to test it since you didn't provide any test data. If you weren't looking for a one-liner then rephrase maybe?
22:46
gell5 has quit [Ping timeout: 250 seconds]
22:46
<
ryouba >
adam12: nono, that's perfect. i was looking for a one-liner!
22:47
<
ryouba >
i was just wondering if it would be worth to try and re-learn to do these things in ruby
22:47
<
adam12 >
ryouba: Could likely optimize it a bunch.
22:47
<
ryouba >
but it seems the bash way is still really useful for quickly throwing something like this together
22:47
<
adam12 >
ryouba: I use Ruby oneliners all the time! You could of used awk to some degree too.
22:48
<
adam12 >
ryouba: If you had a regex that could fit in the conditional, you could simplify it a bunch.
22:48
<
ryouba >
hmm i never liked awk ... when you already know some bash and are using/learning ruby anyways, then what's the point
22:49
<
ryouba >
i'm becoming better at regexs but still not so natural that i wouldn't have to play around with regex101.com each time i need one
22:49
<
adam12 >
like `sub() if /!@\s+IN A\s+249.*/` or something
22:49
<
adam12 >
!@ is likely wrong for negation but I can't remember negate off the top of my head. ^ maybe.
22:49
<
bougyman >
ryouba: because awk is lightning fast at things.
22:50
<
adam12 >
I find awk more convenient on machines without ruby, but where I'd use grep/cut
22:50
<
ryouba >
bougyman: i rarely need lightning fast... most of the time i'm thinking for longer than the script runs
22:50
<
adam12 >
since cut acts super funny on some strings.
22:50
<
bougyman >
ryouba: for instance, in parsing a 140G LDIF, awk takes 7 minutes. Perl: 58 minutes. Ruby: 1 hour 18 minutes.
22:50
<
ryouba >
seconded on the cut tho
22:50
<
adam12 >
awk '/match/ { print $2 }' beats grep/cut a million times in annoynances.
22:50
<
bougyman >
140G isn't even large, these days.
22:50
<
ryouba >
okay i'm operating on ~30 files here, each around 10kB
22:51
sanscoeur has joined #ruby
22:51
sanscoeur has quit [Remote host closed the connection]
22:51
<
adam12 >
ryouba: did you only care about the name portion of the zone file?
22:51
<
adam12 >
ryouba: my oneliner preserved the entire file as-is. Likely not what you wanted.
22:51
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:52
<
ryouba >
adam12: i'm trying to look for everything that's http and going to the ip ending in 249 (relatively easy as everything containing 'IN A' happens to go to http)
22:53
wookienz has joined #ruby
22:53
<
ryouba >
and then '*' is not needed as that's unknowable anyways and '@' needs to become 'www'
22:53
wookienz has quit [Remote host closed the connection]
22:53
<
ryouba >
took me a couple of seconds with that piped chain of commands
22:53
<
ryouba >
and then i stuck it inside of a ruby script, but somehow that felt wrong
22:54
<
ryouba >
but gosh, that's narcissism
22:54
venmx has quit [Ping timeout: 244 seconds]
22:54
<
ryouba >
i guess that happens when you're doing a boring task and it's be more fun learning more ruby
22:56
<
adam12 >
the ruby binary has some niceties that it borrowed from Perl. -n, -e, -p, -r, $_, etc. Definitely worth checking out.
22:56
SuperL4g is now known as SuperLag
22:56
<
ryouba >
i was wondering why you used -p instead of -e
22:56
AJA4351 has joined #ruby
22:57
<
adam12 >
-p instead of -n? saved me a few characters since $_ is automatically printed for -p and not for -n.
22:57
<
ryouba >
okay, it's a bit of a different way of thinking
22:57
AJA4350 has quit [Ping timeout: 246 seconds]
22:57
AJA4351 is now known as AJA4350
22:58
<
baweaver >
If you're using TruffleRuby that speed hit is a lot smaller.
23:00
<
ryouba >
wow a company like oracle is throwing resources at ruby in 2019? that's nice!
23:00
polishdub has quit [Quit: leaving]
23:00
<
baweaver >
havenwood: It's showtime
23:01
<
baweaver >
your favorite topic
23:01
Gaffel10 has joined #ruby
23:02
Gaffel10 has quit [Remote host closed the connection]
23:02
eckhardt has joined #ruby
23:03
Kethsar3 has joined #ruby
23:03
Kethsar3 has quit [Remote host closed the connection]
23:04
<
adam12 >
I was wondering why truffleruby can't be installed by ruby-install but apparently I'm
_many_ versions behind. I wonder how that happened.
23:06
<
adam12 >
Oh well. Worth a try. "!!! unknown platform FreeBSD"
23:12
lucasb has quit [Quit: Connection closed for inactivity]
23:12
renich_ has quit [Ping timeout: 255 seconds]
23:26
dinfuehr_ is now known as dinfuehr
23:33
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:34
duderonomy has joined #ruby
23:39
Yayou has joined #ruby
23:39
Yayou has quit [Remote host closed the connection]
23:39
corecode29 has joined #ruby
23:40
corecode29 has quit [Remote host closed the connection]
23:40
Synthead has joined #ruby
23:41
<
Synthead >
I want to use a different gcc when compiling a gem via Bundler. How can I do this?
23:41
<
Synthead >
it's in my path as gcc-7
23:44
<
havenwood >
adam12: TruffleRuby currently only has binaries for Linux and macOS :(
23:45
<
havenwood >
You should be able to build it from source on FreeBSD
23:45
honestly18 has joined #ruby
23:45
honestly18 has quit [Remote host closed the connection]
23:45
gix has quit [Ping timeout: 246 seconds]
23:47
hiroaki has quit [Ping timeout: 245 seconds]
23:48
duderonomy has quit [Ping timeout: 250 seconds]
23:48
Devalo has joined #ruby
23:50
seirl24 has joined #ruby
23:50
seirl24 has quit [Remote host closed the connection]
23:53
Devalo has quit [Ping timeout: 268 seconds]