00:21
pvalenta has joined #ruby
00:22
dionysus69 has quit [Ping timeout: 240 seconds]
00:24
jdmark has quit [Remote host closed the connection]
00:25
jdmark has joined #ruby
00:26
grokify has joined #ruby
00:35
grokify has quit [Ping timeout: 256 seconds]
00:41
grokify has joined #ruby
00:46
grokify has quit [Ping timeout: 260 seconds]
00:47
peirik__ has quit [Ping timeout: 256 seconds]
00:48
ur5us has joined #ruby
00:51
boey89 has quit [Quit: WeeChat 2.8]
00:51
grokify has joined #ruby
00:55
markong has quit [Ping timeout: 256 seconds]
00:56
aesthetikx has quit [Quit: WeeChat 3.2]
01:01
wand has quit [Ping timeout: 255 seconds]
01:11
wand has joined #ruby
01:13
peirik__ has joined #ruby
01:20
Aminda has quit [Remote host closed the connection]
01:23
Aminda has joined #ruby
01:26
wand has quit [Remote host closed the connection]
01:26
Aminda has quit [Write error: Connection reset by peer]
01:27
Aminda has joined #ruby
01:27
Aminda has quit [Remote host closed the connection]
01:32
Aminda has joined #ruby
01:36
Aminda has quit [Remote host closed the connection]
01:38
Aminda has joined #ruby
01:46
peirik__ has quit [Ping timeout: 256 seconds]
01:47
wand has joined #ruby
01:49
wand has quit [Remote host closed the connection]
01:53
wand has joined #ruby
02:08
cartdrige has joined #ruby
02:08
nemesit has quit [Quit: bye]
02:09
Aminda has quit [Remote host closed the connection]
02:10
Aminda has joined #ruby
02:11
Rounin has quit [Ping timeout: 268 seconds]
02:15
nemesit has joined #ruby
02:24
Aminda has quit [Remote host closed the connection]
02:24
Aminda has joined #ruby
02:34
ur5us has quit [Ping timeout: 252 seconds]
02:41
aesthetikx has joined #ruby
02:54
peirik__ has joined #ruby
03:07
duderonomy has joined #ruby
03:08
ur5us has joined #ruby
03:08
grokify has quit [Remote host closed the connection]
03:09
grokify has joined #ruby
03:13
grokify has quit [Ping timeout: 260 seconds]
03:19
donofrio_ has joined #ruby
03:21
donofrio has quit [Ping timeout: 256 seconds]
03:27
peirik__ has quit [Ping timeout: 256 seconds]
03:28
Aminda has quit [Remote host closed the connection]
03:34
Aminda has joined #ruby
03:41
grokify has joined #ruby
03:46
grokify has quit [Ping timeout: 268 seconds]
03:50
thad_the_man has quit [Ping timeout: 260 seconds]
03:51
aeris has quit [Remote host closed the connection]
03:53
_aeris_ has joined #ruby
03:58
reset has quit [Quit: reset]
04:00
dviola has quit [Quit: WeeChat 3.7.1]
04:02
peirik__ has joined #ruby
04:02
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:08
peirik__ has quit [Ping timeout: 256 seconds]
04:10
grokify has joined #ruby
04:15
grokify has quit [Ping timeout: 260 seconds]
04:27
ur5us has quit [Ping timeout: 260 seconds]
04:33
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:48
Vonter has quit [Ping timeout: 240 seconds]
04:53
grokify has joined #ruby
04:56
Vonter has joined #ruby
04:58
grokify has quit [Ping timeout: 256 seconds]
05:07
BigOnIII0 has joined #ruby
05:07
BigOnIII0 has quit [Quit: Client closed]
05:07
Vonter has quit [Ping timeout: 268 seconds]
05:14
Vonter has joined #ruby
05:18
m_antis has joined #ruby
05:33
ur5us has joined #ruby
05:37
peirik__ has joined #ruby
05:44
grokify has joined #ruby
05:49
grokify has quit [Ping timeout: 260 seconds]
06:10
peirik__ has quit [Ping timeout: 256 seconds]
06:10
grokify has joined #ruby
06:16
grokify has quit [Ping timeout: 256 seconds]
06:45
grokify has joined #ruby
06:50
grokify has quit [Ping timeout: 260 seconds]
07:07
ur5us has quit [Ping timeout: 260 seconds]
07:23
crax23 has joined #ruby
07:25
cartdrige has quit [Ping timeout: 268 seconds]
07:27
D_A_N has quit [Quit: leaving]
07:29
D_A_N has joined #ruby
07:33
grokify has joined #ruby
07:38
grokify has quit [Ping timeout: 268 seconds]
07:59
D_A_N has quit [Quit: leaving]
08:01
Y05hito__ has joined #ruby
08:04
crax23 has quit [Ping timeout: 268 seconds]
08:07
peirik__ has joined #ruby
08:13
duderonomy has joined #ruby
08:18
walez has joined #ruby
08:22
sagax has quit [Ping timeout: 260 seconds]
08:28
dviola has joined #ruby
08:33
duderonomy has quit [Remote host closed the connection]
08:34
duderonomy has joined #ruby
08:41
peirik__ has quit [Ping timeout: 260 seconds]
08:45
grokify has joined #ruby
08:46
ur5us has joined #ruby
08:50
grokify has quit [Ping timeout: 260 seconds]
09:04
grokify has joined #ruby
09:09
grokify has quit [Ping timeout: 256 seconds]
09:23
jvalleroy has joined #ruby
09:46
alexherbo2 has joined #ruby
09:56
Sankalp- has joined #ruby
09:57
Sankalp has quit [Ping timeout: 256 seconds]
09:57
Sankalp- is now known as Sankalp
10:13
Y05hito__ has quit [Read error: Connection reset by peer]
10:16
ur5us has quit [Ping timeout: 260 seconds]
10:30
dionysus69 has joined #ruby
10:31
Rounin has joined #ruby
10:31
Rounin has quit [Changing host]
10:31
Rounin has joined #ruby
10:33
alexherbo2 has quit [Remote host closed the connection]
10:33
dionysus69 has quit [Client Quit]
10:33
alexherbo2 has joined #ruby
10:36
_ht has joined #ruby
10:39
cartdrige has joined #ruby
10:50
cartdrige has quit [Ping timeout: 260 seconds]
10:57
peirik__ has joined #ruby
11:06
osXnut has quit [Remote host closed the connection]
11:17
___nick___ has joined #ruby
11:18
alexherbo2 has quit [Remote host closed the connection]
11:18
alexherbo2 has joined #ruby
11:22
alexherbo2 has quit [Remote host closed the connection]
11:23
alexherbo2 has joined #ruby
11:28
johnsonrabbit has quit [Quit: Client closed]
11:29
Aminda has quit [Remote host closed the connection]
11:32
peirik__ has quit [Ping timeout: 252 seconds]
11:32
jvalleroy has joined #ruby
11:36
Aminda has joined #ruby
11:46
duderonomy has quit [Remote host closed the connection]
11:47
duderonomy has joined #ruby
11:49
FullMetalStacker has joined #ruby
11:52
<
FullMetalStacker >
#style: I have been told, that it is considered good style to use Ruby's built in methods whenever possible instead of e.g. operators. for example to use .zero? instead of making some if statement with == 0, etc. Is this rule generally true?
11:53
<
FullMetalStacker >
For example which is the best practice of the following 2:
11:53
<
FullMetalStacker >
def array_diff(a, b)
11:53
<
FullMetalStacker >
a - b
11:53
<
FullMetalStacker >
end
11:53
<
FullMetalStacker >
or this:
11:53
<
FullMetalStacker >
a.difference(b)
11:53
<
FullMetalStacker >
def array_diff(a, b)
11:53
<
FullMetalStacker >
end
11:54
___nick___ has joined #ruby
11:55
___nick___ has quit [Client Quit]
11:56
grokify has joined #ruby
11:57
___nick___ has joined #ruby
12:00
grokify has quit [Ping timeout: 255 seconds]
12:01
Aminda has quit [Remote host closed the connection]
12:02
Aminda has joined #ruby
12:31
reset has joined #ruby
12:39
dviola has quit [Read error: Connection reset by peer]
12:41
<
leftylink >
well, difference doesnt exist, so I think answer has to be a given there
12:41
yella has joined #ruby
12:41
<
leftylink >
I think there is only one time when I'd ever use .zero? instead of == 0, and that's when I'm doing something like nums.select(&:zero?)
12:42
dviola has joined #ruby
12:44
<
leftylink >
however, I pretty much always use .nil? instead of == nil
12:44
<
leftylink >
I don't really have a reason. shorter?
12:45
<
leftylink >
that works for both of them, == 0 is four characters, and .zero? is six. == nil is six characters, and .nil? is four
12:45
<
leftylink >
er, .nil? is five, rather
12:50
_aeris_ has quit [Write error: Connection reset by peer]
12:50
wand has quit [Read error: Connection reset by peer]
12:52
_aeris_ has joined #ruby
12:52
<
sam113101 >
leftylink: it does exist…
13:03
<
FullMetalStacker >
so it is just a matter of tast,e, there is no official style preference?
13:12
wand has joined #ruby
13:23
peirik__ has joined #ruby
13:30
wand has quit [Remote host closed the connection]
13:35
FullMetalStacker has quit [Remote host closed the connection]
13:43
FullMetalStacker has joined #ruby
13:46
wand has joined #ruby
13:50
infernix has joined #ruby
13:53
yella has quit [Remote host closed the connection]
13:54
walez has quit [Quit: Leaving]
13:58
peirik__ has quit [Ping timeout: 256 seconds]
13:58
grokify has joined #ruby
13:59
yella has joined #ruby
14:03
grokify has quit [Ping timeout: 260 seconds]
14:12
goepsilongo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:13
otisolsen70 has joined #ruby
14:13
goepsilongo has joined #ruby
14:15
yella has quit [Remote host closed the connection]
14:22
D_A_N has joined #ruby
14:37
peirik__ has joined #ruby
14:42
peirik__ has quit [Ping timeout: 256 seconds]
14:56
peirik__ has joined #ruby
15:00
alexherbo2 has quit [Remote host closed the connection]
15:09
peirik__ has quit [Ping timeout: 260 seconds]
15:17
perrierjouet has quit [Quit: WeeChat 3.7.1]
15:17
perrierjouet has joined #ruby
15:26
D_A_N has quit [Quit: leaving]
15:27
dionysus69 has joined #ruby
15:28
D_A_N_ has joined #ruby
15:30
grokify has joined #ruby
15:33
cartdrige has joined #ruby
15:35
grokify has quit [Ping timeout: 260 seconds]
16:02
grokify has joined #ruby
16:07
grokify has quit [Ping timeout: 260 seconds]
16:29
grokify has joined #ruby
16:34
grokify has quit [Ping timeout: 268 seconds]
17:13
teclator has joined #ruby
17:34
grokify has joined #ruby
17:35
finsternis has quit [Read error: Connection reset by peer]
17:37
alexherbo2 has joined #ruby
17:42
grokify has quit [Remote host closed the connection]
17:43
grokify has joined #ruby
17:54
markong has joined #ruby
17:56
grokify has quit [Remote host closed the connection]
18:08
grokify has joined #ruby
18:13
grokify has quit [Ping timeout: 248 seconds]
18:20
alexherbo2 has quit [Remote host closed the connection]
18:20
alexherbo2 has joined #ruby
18:22
wand has quit [Remote host closed the connection]
18:22
dionysus69 has quit [Ping timeout: 256 seconds]
18:25
alexherbo2 has quit [Ping timeout: 260 seconds]
18:26
alexherbo2 has joined #ruby
18:27
grokify has joined #ruby
18:33
wand has joined #ruby
18:48
grokify has quit [Remote host closed the connection]
18:49
grokify has joined #ruby
18:54
grokify has quit [Ping timeout: 268 seconds]
18:54
dionysus69 has joined #ruby
19:12
grokify has joined #ruby
19:13
some14u has joined #ruby
19:19
FullMetalStacker has quit [Remote host closed the connection]
19:29
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:33
some14u has joined #ruby
19:33
grokify has quit [Remote host closed the connection]
19:34
grokify has joined #ruby
19:37
ur5us has joined #ruby
19:39
<
havenwood >
sam113101: It doesn't exist for Integers, at least not out of the box. Arrays and Sets notably respond to difference but Numerics don't.
19:40
<
havenwood >
FullMetalStacker: Generally, give preference to a bare method call alone over one with arguments.
19:41
grokify has quit [Remote host closed the connection]
19:43
desnudopenguino1 has joined #ruby
19:45
desnudopenguino has quit [Ping timeout: 256 seconds]
19:48
desnudopenguino1 has quit [Ping timeout: 260 seconds]
19:49
ndim has joined #ruby
19:51
<
ndim >
I am trying to kind of revive an old octopress installation. It used to work with ruby < 2.0, so I am trying to nail down the bundle gem versions to something compatible.
19:51
<
ndim >
"~/.rbenv/versions/1.9.3-p551/bin/bundle install" ends up with "Gem::InstallError: ffi requires Ruby version >= 2.3.
19:52
<
ndim >
How can I find out which gem requires ffi? Gemfile does not list ffi.
19:52
<
ndim >
I might need to nail down whatever requires ffi to an earlier version which does not require an ffi requiring ruby >= 2.0
19:53
grokify has joined #ruby
19:54
markong has quit [Ping timeout: 260 seconds]
20:00
grokify has quit [Remote host closed the connection]
20:01
grokify has joined #ruby
20:03
grokify has quit [Remote host closed the connection]
20:08
grokify has joined #ruby
20:08
yella has joined #ruby
20:09
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:11
reset has quit [Quit: reset]
20:12
<
aesthetikx >
ndim: is there a Gemfile.lock? that would have it
20:13
<
ndim >
There is not yet.
20:14
<
aesthetikx >
what happens if you run 'bundle lock', will that make a lockfile?
20:14
<
ndim >
I have found the gem requiring ffi by accident (compass 0.12 vs 1.0), but now the next issue appears, and I need to find what requires faraday-net_http.
20:15
<
ndim >
Could not find command "lock".
20:15
<
aesthetikx >
are you trying to get it running with 1.9.3 or are you trying 2.7
20:15
<
aesthetikx >
ruby version*
20:15
<
ndim >
Everything else requires huge amount of updates.
20:15
<
aesthetikx >
I see, yeah
20:16
<
aesthetikx >
which bundler verison, out of curiosity
20:16
<
aesthetikx >
bundler --version
20:16
<
ndim >
I just want to get it up and running so I can do some A/B testing with the old octopress+custom stuff versus something new (jekyll+custom, hugo, etc. pp.)
20:17
<
ndim >
bundle --version gives 1.9.3, as newer bundler versions require newer ruby.
20:19
<
ndim >
Is there no "gem what-requires faraday-net_http" command?
20:22
<
aesthetikx >
well typically its just listed in the Gemfile.lock;
20:22
<
aesthetikx >
can you try gem update bundler and then bundle lock, it should be available at some point, trying to see when that was added
20:24
some14u has joined #ruby
20:27
some14u has quit [Client Quit]
20:31
grokify has quit [Remote host closed the connection]
20:46
<
ndim >
bundler 1.11.2, bundle lock, but Gemfile.lock lists the faraday package in the top level even though Gemfile does not mention faraday
20:47
<
ndim >
I do not really know what I am doing here.
20:48
<
ndim >
Adding faraday to Gemfile with a requirement of '< 0.10' is helpful, as it actually prints the dependency chain.
20:49
<
ndim >
So just guessing faraday '< 2.0', and a few more things install.
20:50
stirl has joined #ruby
20:55
dionysus69 has quit [Ping timeout: 260 seconds]
20:57
tirnanog has joined #ruby
20:59
grokify has joined #ruby
21:04
___nick___ has quit [Ping timeout: 260 seconds]
21:06
grokify has quit [Ping timeout: 260 seconds]
21:07
_ht has quit [Quit: _ht]
21:24
Na_Klar has joined #ruby
21:25
crax23 has joined #ruby
21:26
cartdrige has quit [Ping timeout: 260 seconds]
21:28
cartdrige has joined #ruby
21:28
cartdrige has quit [Client Quit]
21:30
crax23 has quit [Read error: Connection reset by peer]
21:30
cartdrige has joined #ruby
21:31
desnudopenguino has joined #ruby
21:35
grokify has joined #ruby
21:40
grokify has quit [Remote host closed the connection]
21:47
reset has joined #ruby
21:47
alexherbo2 has quit [Remote host closed the connection]
21:48
grokify has joined #ruby
21:53
markong has joined #ruby
21:54
grokify has quit [Remote host closed the connection]
21:59
joto has joined #ruby
22:08
grokify has joined #ruby
22:14
grokify has quit [Ping timeout: 240 seconds]
22:15
markong has quit [Remote host closed the connection]
22:22
white_magic has joined #ruby
22:30
grokify has joined #ruby
22:43
grokify has quit [Remote host closed the connection]
22:48
wand has quit [Ping timeout: 255 seconds]
22:52
otisolsen70 has quit [Quit: Leaving]
22:53
grokify has joined #ruby
22:56
grokify has quit [Remote host closed the connection]
23:00
ruby[bot] has quit [Remote host closed the connection]
23:00
ruby[bot] has joined #ruby
23:00
grokify has joined #ruby
23:03
grokify has quit [Remote host closed the connection]
23:04
grokify has joined #ruby
23:08
grokify has quit [Ping timeout: 256 seconds]
23:09
hrberg has quit [Ping timeout: 246 seconds]
23:12
hrberg has joined #ruby
23:30
perrierjouet has quit [Quit: WeeChat 3.7.1]
23:31
perrierjouet has joined #ruby
23:33
white_magic has quit [Quit: Client closed]
23:36
hrberg has quit [Ping timeout: 260 seconds]
23:37
grokify has joined #ruby
23:42
grokify has quit [Ping timeout: 256 seconds]
23:55
hrberg has joined #ruby
23:56
some14u has joined #ruby
23:59
some14u has quit [Client Quit]