00:04
impermanence has quit [Ping timeout: 240 seconds]
00:07
silviu has quit [Remote host closed the connection]
00:07
silviu19 has joined #ruby
00:08
bsdband67 has quit [Remote host closed the connection]
00:09
turbo_choo has quit [Ping timeout: 268 seconds]
00:10
davidw has quit [Ping timeout: 258 seconds]
00:11
turbo_choo has joined #ruby
00:12
jenrzzz has joined #ruby
00:13
silviu19 has quit [Remote host closed the connection]
00:13
silviu has joined #ruby
00:22
TCZ has quit [Quit: Bye Bye]
00:23
drincruz has quit [Ping timeout: 240 seconds]
00:30
mossplix has quit [Remote host closed the connection]
00:31
mossplix has joined #ruby
00:31
jaequery has joined #ruby
00:32
im0nde_ has joined #ruby
00:32
CrazyEddy has quit [Remote host closed the connection]
00:34
im0nde has quit [Ping timeout: 246 seconds]
00:34
Fusl has quit [Max SendQ exceeded]
00:35
mossplix has quit [Remote host closed the connection]
00:35
Fusl has joined #ruby
00:36
jaequery has quit [Ping timeout: 268 seconds]
00:36
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:38
mossplix has joined #ruby
00:39
mossplix has quit [Remote host closed the connection]
00:39
turbo_choo has quit [Ping timeout: 265 seconds]
00:41
davidw has joined #ruby
00:41
davidw has joined #ruby
00:41
davidw has quit [Changing host]
00:42
brool has quit [Quit: WeeChat 2.7]
00:42
jenrzzz has quit [Ping timeout: 265 seconds]
00:44
jaequery has joined #ruby
00:44
subfj_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:45
cthu| has joined #ruby
00:47
turbo_choo has joined #ruby
00:48
cthulchu_ has quit [Ping timeout: 260 seconds]
00:48
subfj has joined #ruby
00:50
subfj has quit [Client Quit]
00:54
jaequery has quit [Remote host closed the connection]
00:54
mossplix has joined #ruby
00:55
jaequery has joined #ruby
00:57
turbo_choo has quit [Ping timeout: 268 seconds]
00:59
turbo_choo has joined #ruby
01:04
mossplix has quit [Remote host closed the connection]
01:08
turbo_choo has quit [Ping timeout: 265 seconds]
01:08
skryking_ has joined #ruby
01:09
skryking has quit [Ping timeout: 268 seconds]
01:17
TomyLobo has quit [Read error: Connection reset by peer]
01:18
subfj has joined #ruby
01:20
turbo_choo has joined #ruby
01:20
GodFather has quit [Ping timeout: 260 seconds]
01:24
CrazyEddy has joined #ruby
01:24
SanguineAnomaly has quit [Ping timeout: 240 seconds]
01:25
alex`` has quit [Ping timeout: 258 seconds]
01:28
subfj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:29
jaequery has quit [Remote host closed the connection]
01:29
drincruz has joined #ruby
01:29
alex`` has joined #ruby
01:29
jaequery has joined #ruby
01:30
wildtrees has quit [Quit: Leaving]
01:30
jaequery has quit [Read error: Connection reset by peer]
01:30
jaequery has joined #ruby
01:31
SanguineAnomaly has joined #ruby
01:31
orbyt_ has joined #ruby
01:34
alex`` has quit [Ping timeout: 258 seconds]
01:35
Fusl has quit [Max SendQ exceeded]
01:36
Fusl has joined #ruby
01:38
turbo_choo has quit [Ping timeout: 268 seconds]
01:41
davispuh has quit [Ping timeout: 265 seconds]
01:43
turbo_choo has joined #ruby
01:44
davispuh has joined #ruby
01:44
gix- has joined #ruby
01:44
gix has quit [Disconnected by services]
01:45
GodFather has joined #ruby
01:48
davidw has quit [Ping timeout: 265 seconds]
01:48
davispuh has quit [Client Quit]
01:48
Fusl has quit [Max SendQ exceeded]
01:50
Fusl has joined #ruby
01:52
davispuh has joined #ruby
01:54
jaequery has quit [Remote host closed the connection]
01:59
howdoi has joined #ruby
01:59
jenrzzz has joined #ruby
02:03
drincruz has quit [Ping timeout: 265 seconds]
02:05
fphilipe1 has joined #ruby
02:08
skryking_ has quit [Quit: Konversation terminated!]
02:14
jaequery has joined #ruby
02:15
akemhp_ has joined #ruby
02:17
akemhp has quit [Ping timeout: 240 seconds]
02:20
dasher00 has quit [Remote host closed the connection]
02:24
davispuh has joined #ruby
02:24
AJA4350 has quit [Remote host closed the connection]
02:25
jaequery has quit [Remote host closed the connection]
02:31
AJA4350 has joined #ruby
02:34
fphilipe1 has quit [Ping timeout: 252 seconds]
02:38
Rob__ has quit [Read error: Connection reset by peer]
02:44
drincruz has joined #ruby
02:45
johnny56 has quit [Ping timeout: 240 seconds]
02:50
johnny56 has joined #ruby
02:55
johnny56 has quit [Read error: Connection reset by peer]
02:56
GodFather has quit [Ping timeout: 268 seconds]
02:59
jaequery has joined #ruby
02:59
jaequery has quit [Remote host closed the connection]
02:59
jaequery has joined #ruby
03:02
johnny56 has joined #ruby
03:04
fphilipe1 has joined #ruby
03:04
jaequery has quit [Ping timeout: 260 seconds]
03:05
duderonomy has joined #ruby
03:07
turbo_choo has quit [Ping timeout: 260 seconds]
03:12
cthu| has quit [Ping timeout: 258 seconds]
03:14
turbo_choo has joined #ruby
03:21
AJA4350 has quit [Quit: AJA4350]
03:24
jenrzzz has quit [Ping timeout: 240 seconds]
03:32
akem__ has joined #ruby
03:34
akem__ is now known as akem
03:34
akemhp_ has quit [Ping timeout: 268 seconds]
03:49
Fusl has quit [Max SendQ exceeded]
03:49
Fusl has joined #ruby
03:56
bsdbandit-01 has joined #ruby
03:58
drincruz has quit [Ping timeout: 268 seconds]
04:01
jenrzzz has joined #ruby
04:02
NODE has quit [Remote host closed the connection]
04:03
Fusl has quit [Max SendQ exceeded]
04:04
Fusl has joined #ruby
04:04
NODE has joined #ruby
04:05
Fusl has quit [Max SendQ exceeded]
04:06
Fusl has joined #ruby
04:09
fphilipe1 has quit [Ping timeout: 260 seconds]
04:13
znz_jp has quit [Remote host closed the connection]
04:16
znz_jp has joined #ruby
04:20
cthu| has joined #ruby
04:24
ur5us has quit [Ping timeout: 260 seconds]
04:25
cthu| has quit [Ping timeout: 240 seconds]
04:26
gix has joined #ruby
04:28
gix- has quit [Ping timeout: 260 seconds]
04:36
fphilipe1 has joined #ruby
04:38
gix has quit [Ping timeout: 265 seconds]
04:39
turbo_choo has quit [Ping timeout: 265 seconds]
04:41
fphilipe1 has quit [Ping timeout: 252 seconds]
04:41
turbo_choo has joined #ruby
05:07
<
erikh >
we're all ROM users here in computer land
05:08
<
erikh >
are you talking about like game rom dumps or something
05:11
markopasha has quit [Remote host closed the connection]
05:15
fphilipe1 has joined #ruby
05:18
phaul has quit [Ping timeout: 265 seconds]
05:29
troulouliou_dev has quit [Quit: Leaving]
05:32
Mia has joined #ruby
05:32
Mia has joined #ruby
05:32
Mia has quit [Changing host]
05:34
suukim has joined #ruby
05:40
suukim has quit [Quit: Konversation terminated!]
05:48
Swyper has quit [Remote host closed the connection]
06:03
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:05
kristofferR has joined #ruby
06:07
phaul has joined #ruby
06:24
_whitelogger has joined #ruby
06:27
<
Cork >
how do one uninstall broken gems? (uninstall and install complains)
06:27
<
havenwood >
Cork: gem uninstall gem-name-here
06:27
<
havenwood >
Cork: What's the error when you try to unistal?
06:27
<
Cork >
"Ignoring cairo-gobject-3.4.1 because its extensions are not built. Try: gem pristine cairo-gobject --version 3.4.1"
06:28
<
Cork >
and same error on gem install
06:28
Azure|dc has joined #ruby
06:28
<
havenwood >
Cork: Did you run?: gem pristine cairo-gobject --version 3.4.1
06:29
<
Cork >
ya, and it can't build them cause it depends on native packages that doesn't exist anymore
06:29
<
havenwood >
Cork: Show that error?
06:29
<
Cork >
mkmf-gnome to be exact
06:29
<
havenwood >
Cork: Oh, you just want to ditch the gem then?
06:29
<
Cork >
/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:92:in `require': cannot load such file -- mkmf-gnome (LoadError)
06:30
<
havenwood >
Cork: What's the error from?: gem uninstall cairo-gobject --version 3.4.1
06:30
<
Cork >
the error on uninstall is the former one
06:30
Azure has quit [Ping timeout: 268 seconds]
06:30
<
havenwood >
Cork: You run `gem uninstall cairo-gobject --version 3.4.1` and it says `Ignoring cairo-gobject-3.4.1...`?
06:31
<
havenwood >
Cork: Show the output from?: gem list cairo-gobject
06:33
<
havenwood >
Cork: It looks like it's not installed. Maybe just do a: gem pristine --all
06:33
<
Cork >
gem list says it is
06:34
<
Cork >
i'm trying to remove everyting in that list
06:34
<
havenwood >
Cork: It's not in that list though.
06:34
<
havenwood >
Cork: You can't remove default gems.
06:34
<
Cork >
uh, wtf. it was when i talked about it first time...
06:35
<
Cork >
well it looks like it worked somewhere along the line i guess
06:35
<
Cork >
lol thx, exactly what i was about to ask about :)
06:36
<
havenwood >
Cork: Each Ruby release these days, more and more of the stdlib is gemified.
06:37
<
havenwood >
It's nice, since it means you can update those parts of the stdlib for security purposes without updating Ruby itself. The process if 57% done.
06:37
<
havenwood >
But you can't uninstall stdlib "default" gems.
06:37
<
havenwood >
(Since they're the stdlib.)
06:37
<
Cork >
ya, my problem was that my os package manager complained about runy files on paths it wanted to install packages on
06:38
<
Cork >
som program has ran gem install as root
06:38
<
Cork >
and installed bundler among other things
06:38
<
havenwood >
Cork: If you just want to uninstall everything you can: gem uninstall --all
06:38
<
havenwood >
Cork: I think I added that flag to RubyGems back in the day. :)
06:38
<
Cork >
ya, i did but it ignored my the first times
06:39
<
Cork >
but ya, everythings fine now
06:40
<
Cork >
havenwood: thx for the help!
06:41
<
havenwood >
Cork: np, happy to rubber duck until it just starts working :)
06:42
william1_ has joined #ruby
06:46
Furai has quit [Quit: WeeChat 2.7]
06:48
william1_ has quit [Ping timeout: 268 seconds]
06:56
Furai has joined #ruby
07:01
cxl has quit [Quit: bye]
07:04
iNs has quit [Ping timeout: 240 seconds]
07:05
iNs has joined #ruby
07:10
andikr has joined #ruby
07:13
nowhere_man has joined #ruby
07:14
lineus has quit [Ping timeout: 240 seconds]
07:16
skx86 has quit [Quit: Connection closed for inactivity]
07:18
subfj has joined #ruby
07:20
mossplix has joined #ruby
07:35
mossplix has quit [Remote host closed the connection]
07:40
cd has quit [Quit: cd]
07:48
code_zombie has quit [Quit: Leaving]
07:54
jinie has joined #ruby
07:55
nowhere_man has quit [Ping timeout: 268 seconds]
08:00
ellcs has joined #ruby
08:00
Tikku has joined #ruby
08:02
Tikku has quit [Client Quit]
08:07
Tempesta has quit [Quit: See ya!]
08:14
Tempesta has joined #ruby
08:15
vondruch has quit [Quit: vondruch]
08:16
fphilipe1 has quit [Ping timeout: 245 seconds]
08:16
vondruch has joined #ruby
08:23
NODE has quit [Remote host closed the connection]
08:25
NODE has joined #ruby
08:25
subfj has quit [Ping timeout: 265 seconds]
08:28
subfj has joined #ruby
08:30
FlorianFa has quit [Quit: Leaving]
08:35
fphilipe1 has joined #ruby
08:37
teclator has joined #ruby
08:45
jokester has quit [Quit: WeeChat 1.6]
08:53
NODE has quit [Remote host closed the connection]
08:55
NODE has joined #ruby
09:12
conta has joined #ruby
09:12
subfj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:18
phaul has quit [Ping timeout: 265 seconds]
09:21
DaRock has joined #ruby
09:24
william1_ has joined #ruby
09:25
subfj has joined #ruby
09:29
william1_ has quit [Ping timeout: 258 seconds]
09:30
jmcgnh has quit [Read error: Connection reset by peer]
09:31
william1_ has joined #ruby
09:32
NODE has quit [Remote host closed the connection]
09:33
ur5us has joined #ruby
09:34
NODE has joined #ruby
09:34
jmcgnh has joined #ruby
09:34
subfj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:38
subfj has joined #ruby
09:40
arahael1 is now known as Arahael
09:40
dellavg has joined #ruby
09:41
dellavg has quit [Remote host closed the connection]
09:41
subfj has quit [Client Quit]
09:44
subfj has joined #ruby
09:45
bsdbandit-01 has quit [Remote host closed the connection]
09:56
skx86 has joined #ruby
09:56
fig-le-deunch has joined #ruby
10:02
subfj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:08
shaman42 has joined #ruby
10:10
chalkmonster has joined #ruby
10:12
chalkmonster has quit [Client Quit]
10:15
Benett has quit [Quit: ]
10:19
fphilipe1 has quit [Ping timeout: 265 seconds]
10:24
fig-le-deunch has quit [Ping timeout: 268 seconds]
10:27
pwnd_nsfw has joined #ruby
10:29
lalitmee has joined #ruby
10:29
Benett has joined #ruby
10:29
lalitmee has quit [Max SendQ exceeded]
10:31
NODE has joined #ruby
10:32
lalitmee has joined #ruby
10:33
NODE has quit [Remote host closed the connection]
10:34
NODE has joined #ruby
10:36
CrazyEddy has quit [Ping timeout: 260 seconds]
10:36
ur5us has quit [Ping timeout: 260 seconds]
10:36
lalit has joined #ruby
10:38
CrazyEddy has joined #ruby
10:38
CrazyEddy has quit [Changing host]
10:38
CrazyEddy has joined #ruby
10:40
lalitmee has quit [Ping timeout: 260 seconds]
10:41
lalit is now known as lalitmee
10:42
Black has joined #ruby
10:43
Benett has quit [Ping timeout: 264 seconds]
10:44
NODE has quit [Ping timeout: 246 seconds]
10:45
rippa has joined #ruby
10:45
Black is now known as Benett
10:51
NODE has joined #ruby
10:57
chalkmonster has joined #ruby
10:59
conta1 has joined #ruby
11:01
conta has quit [Ping timeout: 268 seconds]
11:01
conta1 is now known as conta
11:03
Fusl has quit [Excess Flood]
11:04
Fusl has joined #ruby
11:08
fphilipe1 has joined #ruby
11:17
lalit has joined #ruby
11:17
lalitmee has quit [Read error: Connection reset by peer]
11:17
lalit is now known as lalitmee
11:18
mossplix has joined #ruby
11:22
lalitmee has quit [Remote host closed the connection]
11:22
lalitmee has joined #ruby
11:25
lalitmee has quit [Remote host closed the connection]
11:27
pwnd_nsfw` has joined #ruby
11:31
pwnd_nsfw has quit [Ping timeout: 258 seconds]
11:31
dellavg has joined #ruby
11:33
dellavg has quit [Client Quit]
11:43
phaul has joined #ruby
11:52
chalkmonster has quit [Quit: WeeChat 2.7]
11:54
chalkmonster has joined #ruby
11:55
bvdw has quit [Read error: Connection reset by peer]
11:56
bvdw has joined #ruby
12:02
vijvcic has joined #ruby
12:03
william1 has joined #ruby
12:03
Fusl has quit [Max SendQ exceeded]
12:04
Fusl has joined #ruby
12:05
NODE has quit [Remote host closed the connection]
12:05
Fusl has quit [Max SendQ exceeded]
12:06
NODE has joined #ruby
12:06
Fusl has joined #ruby
12:09
mossplix has quit [Remote host closed the connection]
12:13
Silex has joined #ruby
12:14
lineus has joined #ruby
12:15
fig-le-deunch has joined #ruby
12:15
fig-le-deunch has quit [Client Quit]
12:15
fig-le-deunch has joined #ruby
12:16
fig-le-deunch has quit [Client Quit]
12:16
fig-le-deunch has joined #ruby
12:16
conta has quit [Quit: conta]
12:16
fig-le-deunch has quit [Client Quit]
12:17
fig-le-deunch has joined #ruby
12:19
akemrir has joined #ruby
12:20
chalkmonster has quit [Quit: WeeChat 2.7]
12:22
fig-le-deunch has quit [Ping timeout: 260 seconds]
12:23
mossplix has joined #ruby
12:24
vijvcic has quit [Remote host closed the connection]
12:32
fig-le-deunch has joined #ruby
12:33
fig-le-deunch has quit [Client Quit]
12:33
fig-le-deunch has joined #ruby
12:34
fig-le-deunch has quit [Client Quit]
12:35
fig-le-deunch has joined #ruby
12:35
NODE has quit [Remote host closed the connection]
12:35
fig-le-deunch has quit [Client Quit]
12:35
fig-le-deunch has joined #ruby
12:36
fig-le-deunch has quit [Client Quit]
12:36
fig-le-deunch has joined #ruby
12:36
NODE has joined #ruby
12:39
lucasb has joined #ruby
12:40
fig-le-deunch has quit [Read error: No route to host]
12:42
alex`` has joined #ruby
12:51
pwnd_nsfw has joined #ruby
12:52
pwnd_nsfw` has quit [Ping timeout: 240 seconds]
12:54
mossplix has quit [Remote host closed the connection]
12:54
za1b1tsu has joined #ruby
12:55
mossplix has joined #ruby
13:03
Silex has quit [Remote host closed the connection]
13:05
AJA4350 has joined #ruby
13:09
pwnd_nsfw` has joined #ruby
13:13
pwnd_nsfw has quit [Ping timeout: 260 seconds]
13:14
DaRock has quit [Ping timeout: 240 seconds]
13:15
skx86 has quit [Quit: Connection closed for inactivity]
13:18
chalkmonster has joined #ruby
13:18
william1 has quit [Ping timeout: 268 seconds]
13:21
phaul has quit [Ping timeout: 268 seconds]
13:22
phaul has joined #ruby
13:27
TCZ has joined #ruby
13:27
turbo_choo has quit [Ping timeout: 268 seconds]
13:28
mossplix has quit [Read error: Connection reset by peer]
13:28
turbo_choo has joined #ruby
13:28
mossplix has joined #ruby
13:28
phenom has quit [Excess Flood]
13:30
phenom has joined #ruby
13:36
akemrir has quit [Quit: WeeChat 2.7]
13:44
alex`` has quit [Ping timeout: 268 seconds]
13:44
mossplix has quit [Remote host closed the connection]
13:45
alex`` has joined #ruby
13:45
mossplix has joined #ruby
13:47
nima_m has joined #ruby
13:59
william1 has joined #ruby
14:13
impermanence has joined #ruby
14:15
bmurt has joined #ruby
14:15
turbo_choo has quit [Ping timeout: 258 seconds]
14:15
mossplix has quit [Remote host closed the connection]
14:16
mossplix has joined #ruby
14:19
mossplix_ has joined #ruby
14:19
mossplix has quit [Read error: Connection reset by peer]
14:25
mossplix_ has quit [Ping timeout: 268 seconds]
14:26
andikr has quit [Read error: Connection reset by peer]
14:26
andikr has joined #ruby
14:32
vondruch_ has joined #ruby
14:33
Fusl has quit [Max SendQ exceeded]
14:34
Fusl has joined #ruby
14:35
vondruch has quit [Ping timeout: 260 seconds]
14:35
vondruch_ is now known as vondruch
14:36
Fusl has quit [Max SendQ exceeded]
14:38
Fusl has joined #ruby
14:45
NODE has quit [Quit: changing servers]
14:46
TCZ has quit [Quit: Bye Bye]
14:46
NODE has joined #ruby
14:47
drincruz has joined #ruby
14:47
markopasha has joined #ruby
14:52
NODE has quit [Quit: changing servers]
14:54
NODE has joined #ruby
14:55
mossplix has joined #ruby
14:55
TheDeadSerious__ has joined #ruby
14:57
NODE has quit [Client Quit]
14:58
NODE has joined #ruby
14:59
NODE has quit [Remote host closed the connection]
15:00
mossplix has quit [Remote host closed the connection]
15:00
mossplix has joined #ruby
15:00
NODE has joined #ruby
15:01
BH23 has joined #ruby
15:03
Fusl has quit [Max SendQ exceeded]
15:04
Fusl has joined #ruby
15:06
Fusl has quit [Max SendQ exceeded]
15:07
Fusl has joined #ruby
15:17
bmurt has quit [Ping timeout: 260 seconds]
15:18
bmurt has joined #ruby
15:24
vondruch has quit [Quit: vondruch]
15:25
vondruch has joined #ruby
15:28
GodFather has joined #ruby
15:36
troulouliou_div2 has joined #ruby
15:39
Swyper has joined #ruby
15:45
Swyper has quit [Remote host closed the connection]
15:47
Swyper has joined #ruby
15:53
jaequery has joined #ruby
15:58
jaequery has quit [Remote host closed the connection]
16:00
leonid has joined #ruby
16:02
NODE has quit [Remote host closed the connection]
16:02
<
leonid >
is there anyone?
16:02
<
havenwood >
leonid: yup
16:02
<
havenwood >
leonid: hi
16:03
Fusl has quit [Max SendQ exceeded]
16:04
NODE has joined #ruby
16:04
Rob__ has joined #ruby
16:05
Fusl has joined #ruby
16:05
Fusl has quit [Max SendQ exceeded]
16:06
Fusl has joined #ruby
16:08
pwnd_nsfw` has quit [Ping timeout: 268 seconds]
16:08
<
leonid >
is such silence constantly?)
16:14
cxl has joined #ruby
16:22
Swyper has quit [Remote host closed the connection]
16:24
<
havenwood >
leonid: Only between questions.
16:25
Swyper has joined #ruby
16:25
<
havenwood >
leonid: Have a Ruby question or any code to share or get reviewed?
16:27
nima_m has quit [Quit: Connection closed for inactivity]
16:27
mossplix has quit [Remote host closed the connection]
16:28
howdoi has quit [Quit: Connection closed for inactivity]
16:33
<
havenwood >
&>> base_9 = 1.step.lazy.flat_map { |n| n.to_s(9).to_i.digits.reverse }; 1.step.lazy.map { |level| -Array.new(level) { base_9.next }.last + 111 }.drop(1).map(&:chr).first(4).join
16:34
<
havenwood >
leonid: In honor of your ^ name.
16:36
dinfuehr_ has quit [Ping timeout: 258 seconds]
16:36
<
leonid >
not understood
16:36
Rudd0 has quit [Ping timeout: 268 seconds]
16:37
dinfuehr has joined #ruby
16:38
<
havenwood >
leonid: I just wrote "lion" using bytes from this integer sequence with a couple lazy enumerators for fun:
https://oeis.org/A104613
16:38
Rudd0^ has quit [Ping timeout: 268 seconds]
16:38
animo8 has joined #ruby
16:38
Rudd0^^ has quit [Ping timeout: 260 seconds]
16:38
BH23 has quit [Ping timeout: 240 seconds]
16:38
<
leonid >
it's funny)
16:41
<
Mrbuck >
i am still trying to understand it can that be converted to python please?
16:41
mossplix has joined #ruby
16:42
<
Mrbuck >
it printed lion not leonid ok
16:48
g3funk has joined #ruby
16:49
ellcs has quit [Ping timeout: 258 seconds]
16:49
Rudd0 has joined #ruby
16:51
sh7d has quit [Read error: Connection reset by peer]
16:52
sh7d has joined #ruby
16:52
mwlang has joined #ruby
16:52
<
mwlang >
Is anyone aware of a way to capture the method call stack similar to if you'd put binding.pry call in a line and just went "next", "next", "next"... to completion?
16:52
<
mwlang >
I have a unit test I've isolated that behaves differently when it runs by itself vs. when it runs within the context of entire suite. So I want to capture all the method calls of both runs to the log file and then diff the two.
16:53
Rudd0^ has joined #ruby
16:54
Rudd0^^ has joined #ruby
17:02
troulouliou_div2 has quit [Quit: Leaving]
17:03
<
havenwood >
mwlang: TracePoint should do the trick, I'd think.
17:04
TheDeadSerious__ has quit [Quit: Connection closed for inactivity]
17:04
lineus has quit [Remote host closed the connection]
17:04
lineus has joined #ruby
17:11
troulouliou_div2 has joined #ruby
17:12
g3funk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:21
pwnd_nsfw has joined #ruby
17:24
Rob__ has quit [Ping timeout: 260 seconds]
17:25
wildtrees has joined #ruby
17:27
animo8 has quit [Remote host closed the connection]
17:28
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:28
impermanence has quit [Remote host closed the connection]
17:32
phaul has quit [Ping timeout: 265 seconds]
17:33
phaul has joined #ruby
17:35
NODE has quit [Remote host closed the connection]
17:36
NODE has joined #ruby
17:39
subfj has joined #ruby
17:41
NODE has quit [Remote host closed the connection]
17:42
NODE has joined #ruby
17:48
wildtrees has quit [Ping timeout: 268 seconds]
17:49
leonid has quit [Quit: Leaving]
17:50
dkmueller has joined #ruby
17:52
wildtrees has joined #ruby
17:55
cthulchu has joined #ruby
17:55
bvdw has quit [Read error: Connection reset by peer]
17:56
bvdw has joined #ruby
17:57
Technodrome has joined #ruby
17:58
william1 has quit [Ping timeout: 258 seconds]
18:01
jaequery has joined #ruby
18:02
howdoi has joined #ruby
18:02
bmurt has joined #ruby
18:03
drincruz_ has joined #ruby
18:03
troulouliou_div2 has quit [Remote host closed the connection]
18:06
drincruz has quit [Ping timeout: 268 seconds]
18:11
skx86 has joined #ruby
18:14
phaul has quit [Ping timeout: 268 seconds]
18:18
g3funk has joined #ruby
18:21
za1b1tsu has quit [Ping timeout: 260 seconds]
18:24
davispuh has joined #ruby
18:25
leonid has joined #ruby
18:27
<
leonid >
Sorry, I have a question. how to call a command from ruby in ruby (in my case bash)
18:27
<
leonid >
command shell*
18:30
<
adam12 >
leonid: There's a bunch of different ways. Backticks is the simplest possibly. `command`
18:30
<
adam12 >
leonid: If you want to redirect stdout/stderr, etc. you should just skip to using open3.
18:31
<
leonid >
thanks adam
18:32
subfj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:33
tmp0 has joined #ruby
18:34
william1_ has quit [Ping timeout: 260 seconds]
18:34
leonid has quit [Quit: Leaving]
18:40
andikr has quit [Remote host closed the connection]
18:46
william1_ has joined #ruby
18:47
<
guzzlefry >
Are symbol values deterministic?
18:50
gavlee has quit [Excess Flood]
18:51
gavlee has joined #ruby
18:51
<
ytti >
i don't understand the question
18:53
william1 has joined #ruby
18:55
mossplix has quit [Remote host closed the connection]
18:57
code_zombie has joined #ruby
19:04
mossplix has joined #ruby
19:05
Exuma has joined #ruby
19:09
mossplix has quit [Ping timeout: 268 seconds]
19:11
<
guzzlefry >
Would the symbol :pet be the same value if I ran a script multiple times, or even against multiple Ruby versions?
19:12
<
guzzlefry >
I might be getting ahead of myself with this, but I'm wondering if things like serializing a hash would be safe.
19:14
<
adam12 >
&>> :pet.__id__
19:14
<
adam12 >
&>> :pet.__id__
19:15
<
adam12 >
guzzlefry: Presumably? But if you're using Marshal dump/load then don't presume it will work across multiple Ruby versions (or architectures)
19:15
<
adam12 >
guzzlefry: Serializing a hash to json or yaml would likely be safer.
19:17
<
ytti >
the ojbect id would be only guaranteed to be same during runtime, i believe
19:17
<
ytti >
i.e. symbols are immutable
19:17
<
ytti >
but i don't think specifics guarantees are made at all to make the object id same the next time it runs
19:18
<
ytti >
basically just 'whats the next available object id'
19:18
<
adam12 >
Symbols seem to be, at least on 2.7. But there were changes to how object id's are allocated recently AFAIL.
19:18
<
ytti >
but i wonder if by 'value' you meant object id
19:18
chalkmonster has quit [Quit: WeeChat 2.7]
19:18
<
ytti >
because it would be bizarre to expect object id to be static
19:19
<
ytti >
adam12, seems to be what?
19:19
<
adam12 >
ytti: Object id of a symbol was the same across multiple runs of the ruby interpreter.
19:20
<
ytti >
adam12, i think your test is naive
19:20
<
ytti >
adam12, and on non-naive test you'd receive different result
19:20
<
ytti >
adam12, if before allocating that symbol you'd do some 'real work' it wouldn't be reliable to get same object_id
19:21
<
ytti >
adam12, if the real work is fully identical every time, then maybe
19:21
<
ytti >
but if you're like reading data that may be different on differetn run time, then no
19:21
<
guzzlefry >
&>> :puppy.__id__
19:21
<
ytti >
adam12, what you're really measureing is 'how nth allocation was this'
19:21
<
adam12 >
ytti: You're right.
19:22
<
ytti >
and even that is likely not at all guaranteed, but implementation specific behaviour
19:22
<
adam12 >
ytti: I was thinking symbols were hashed and their id was static inside the symbol mapping table but they aren't.
19:24
TCZ has joined #ruby
19:30
subfj has joined #ruby
19:32
mossplix has joined #ruby
19:32
<
havenwood >
&>> format '%#018x', :foo.object_id << 1
19:33
tag has joined #ruby
19:34
chalkmonster has joined #ruby
19:36
<
havenwood >
Many object ids directly correspond to memory locations.
19:39
<
guzzlefry >
okay, after searching for a bit I can't figure out what this Rubocop error means: RuboCop: Prefer annotated tokens (like `%<foo>s`) over unannotated tokens (like `%s`).
19:39
<
guzzlefry >
For the code: printf("Number: %5.2f,\nString: %s\n", 1.2, 'hello')
19:40
Ven`` has joined #ruby
19:42
chalkmonster has quit [Quit: WeeChat 2.7]
19:43
<
havenwood >
&>> printf("Number: %<number>5.2f,\nString: %<string>s\n", number: 1.2, string: 'hello')
19:43
<
havenwood >
guzzlefry: ^
19:45
<
guzzlefry >
So is that essentially passing additional named arguments to printf()?
19:45
dkmueller has quit [Quit: WeeChat 2.7]
19:45
<
havenwood >
guzzlefry: It's using name rather than position for the entanglement.
19:45
<
havenwood >
guzzlefry: The things named `:string` is the String rather than the 1st thing is the string.
19:46
al2o3-cr has quit [Ping timeout: 256 seconds]
19:50
<
guzzlefry >
havenwood: Where would I find the definition of printf()?
19:50
al2o3-cr has joined #ruby
19:51
<
havenwood >
&>> method(:printf).owner # guzzlefry
19:52
<
havenwood >
guzzlefry: From the command line, you can: ri printf
19:52
<
havenwood >
guzzlefry: Same from inside IRB.
19:53
al2o3-cr has quit [Client Quit]
19:53
<
havenwood >
guzzlefry: In Pry: $ printf
19:53
<
guzzlefry >
oh nice, thanks
19:55
william1_ has quit [Ping timeout: 258 seconds]
19:58
subfj has quit [Ping timeout: 240 seconds]
19:59
gix has joined #ruby
20:00
chalkmonster has joined #ruby
20:01
chalkmonster has quit [Client Quit]
20:02
al2o3-cr has joined #ruby
20:03
subfj has joined #ruby
20:04
dkmueller has joined #ruby
20:15
ur5us has joined #ruby
20:15
troulouliou_div2 has joined #ruby
20:16
chalkmonster has joined #ruby
20:17
chalkmonster has quit [Client Quit]
20:17
dkmueller has quit [Quit: WeeChat 2.6]
20:17
markopasha has quit [Remote host closed the connection]
20:18
akemhp_ has joined #ruby
20:18
markopasha has joined #ruby
20:19
g3funk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:20
akem has quit [Ping timeout: 258 seconds]
20:26
william1_ has joined #ruby
20:26
Exuma has joined #ruby
20:29
akemhp has joined #ruby
20:29
Exuma has quit [Client Quit]
20:31
william1_ has quit [Ping timeout: 260 seconds]
20:31
g3funk has joined #ruby
20:32
Mia has quit [Read error: Connection reset by peer]
20:32
catphish has joined #ruby
20:33
akemhp_ has quit [Ping timeout: 268 seconds]
20:34
<
catphish >
using rubygems/bundler, is it possible do disable CPU-specific optimizations and build generic redistributable extensions? we're trying to build docker images and they're failing on older systems with illegal instruction errors
20:34
<
catphish >
*disable CPU-specific optimizations when compiling native extensions in gems
20:36
akemhp_ has joined #ruby
20:38
Exuma has joined #ruby
20:39
akemhp has quit [Ping timeout: 260 seconds]
20:39
pwnd_nsfw has quit [Read error: Connection reset by peer]
20:39
pwnd_nsfw` has joined #ruby
20:40
nofxx_ has joined #ruby
20:42
tmp0 has quit [Quit: Connection closed for inactivity]
20:43
nofxx has quit [Ping timeout: 268 seconds]
20:44
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
20:44
davispuh has quit [Ping timeout: 268 seconds]
20:58
davispuh has joined #ruby
20:58
william1_ has joined #ruby
20:58
g3funk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:59
<
havenwood >
catphish: I'm just curious what the particular issue was? You can install gems with build flags—so if what you're wanting is doable with flags, you can.
21:00
<
havenwood >
catphish: See: gem install --help
21:00
<
havenwood >
Usage: gem install GEMNAME [GEMNAME ...] [options] -- --build-flags [options]
21:01
<
havenwood >
gem install foo -- --build-flags "-march=x86-64 -mtune=generic"
21:01
<
catphish >
looks like FFI was built with some CPU instructions native to his laptop
21:02
<
catphish >
though do let me know if i'm mistaken about what's happening here
21:02
william1_ has quit [Ping timeout: 240 seconds]
21:02
g3funk has joined #ruby
21:03
<
catphish >
havenwood: also, do you happen to know if this can be automated through bundler to apply to all gem installations?
21:03
<
catphish >
or i suppose a rubygems config file or similar, for the same result
21:06
<
havenwood >
catphish: You can definitely set a build flag with Bundler config, but unsure it'd help here.
21:07
<
havenwood >
catphish: When we build distributable Rubies for RVM, they're statically linked not dynamically. It's somewhat of a pain to do.
21:08
<
havenwood >
catphish: TravisCI also does static linking, as does Traveling Ruby.
21:08
<
catphish >
well my understanding is that ruby itself is fine (i'm using a generic build from docker) and dynamically compiled stuff should be okay too, since the'll be linked against the same generic libraries (also all from docker)
21:09
<
havenwood >
catphish: Ah, so it's the exact same FFI and you think it'd work but for a CPU optimization?
21:09
<
catphish >
it's compiling on the exact same OS it's running
21:09
<
catphish >
just on a different CPU
21:10
<
havenwood >
catphish: I'd suggest trying the most vanilla build flags possible, but unsure if it'll work.
21:10
davispuh has quit [Ping timeout: 268 seconds]
21:11
<
catphish >
i just found that, seems to be per gem which is mildly inconvenient but not impossibly so
21:14
nofxx_ has quit [Ping timeout: 268 seconds]
21:14
davispuh has joined #ruby
21:17
<
havenwood >
catphish: It's just documented per-gem, but works globally if you omit the `.name`.
21:17
<
havenwood >
catphish: bundle config set build '--build-flags "-mtune=OMGWTFBBQ"'
21:17
<
catphish >
havenwood: ideal, i'll try that, thank you
21:17
mwlang has quit [Quit: mwlang]
21:17
<
havenwood >
catphish: you're welcome. good luck!
21:18
<
catphish >
i've not set build flags for a long time, but "-march=x86-64 -mtune=generic" looks sane
21:18
<
catphish >
if a little suboptimal
21:21
skx86 has quit [Quit: Connection closed for inactivity]
21:21
subfj_ has joined #ruby
21:22
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:24
subfj has quit [Ping timeout: 240 seconds]
21:25
<
catphish >
well, my guy isn't working any more, but we'll have a proper play with it tomorrow, thanks again
21:28
jenrzzz has quit [Ping timeout: 240 seconds]
21:29
davispuh has joined #ruby
21:30
chalkmonster has joined #ruby
21:31
william1_ has joined #ruby
21:36
william1_ has quit [Ping timeout: 258 seconds]
21:36
mnemon has quit [Ping timeout: 248 seconds]
21:37
mnemon has joined #ruby
21:46
Skarlso has quit [Quit: Ping timeout (120 seconds)]
21:47
ruby[bot] has quit [Ping timeout: 252 seconds]
21:48
jenrzzz has joined #ruby
21:48
Skarlso has joined #ruby
21:49
mnemon has quit [Ping timeout: 248 seconds]
21:50
mnemon has joined #ruby
21:53
NODE has quit [Remote host closed the connection]
21:54
markopasha has quit [Ping timeout: 268 seconds]
21:54
NODE has joined #ruby
21:59
jenrzzz has quit [Ping timeout: 240 seconds]
22:05
william1_ has joined #ruby
22:05
g3funk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:06
catphish has quit [Ping timeout: 240 seconds]
22:08
william1 has quit [Quit: WeeChat 1.9.1]
22:11
william1_ has quit [Ping timeout: 260 seconds]
22:13
g3funk has joined #ruby
22:15
jaequery has quit [Remote host closed the connection]
22:15
sauvin has quit [Ping timeout: 265 seconds]
22:18
sauvin has joined #ruby
22:23
sergioro has joined #ruby
22:25
sergioro has quit [Client Quit]
22:32
i9zO5AP has joined #ruby
22:35
Ai9zO5AP has quit [Ping timeout: 265 seconds]
22:37
bmurt has joined #ruby
22:40
mossplix has quit [Remote host closed the connection]
22:41
cd has joined #ruby
22:43
SeepingN has quit [Ping timeout: 260 seconds]
22:46
SeepingN has joined #ruby
22:47
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:48
nofxx has joined #ruby
22:51
jaequery has joined #ruby
22:56
jenrzzz has joined #ruby
23:01
jaequery has quit [Ping timeout: 268 seconds]
23:03
TCZ has quit [Quit: Bye Bye]
23:03
jaequery has joined #ruby
23:06
chalkmonster has quit [Quit: WeeChat 2.7]
23:13
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:13
endorama has quit [Ping timeout: 245 seconds]
23:16
hiroaki has quit [Ping timeout: 260 seconds]
23:27
im0nde has joined #ruby
23:27
troulouliou_div2 has quit [Remote host closed the connection]
23:27
ur5us has quit [Ping timeout: 260 seconds]
23:29
ur5us has joined #ruby
23:32
william1_ has joined #ruby
23:37
william1_ has quit [Ping timeout: 268 seconds]
23:45
Mia has joined #ruby
23:45
Mia has quit [Changing host]
23:45
Mia has joined #ruby
23:52
AndroidKitKat has quit [Ping timeout: 240 seconds]
23:54
AndroidKitKat has joined #ruby
23:57
jaequery has quit [Remote host closed the connection]