00:02
jenrzzz has joined #ruby
00:04
ellcs has quit [Ping timeout: 244 seconds]
00:16
dfucci has joined #ruby
00:21
alexherbo2 has quit [Ping timeout: 258 seconds]
00:22
dfucci has quit [Ping timeout: 256 seconds]
00:23
alexherbo20 has joined #ruby
00:25
jenrzzz has quit [Ping timeout: 260 seconds]
00:27
orbyt has joined #ruby
00:31
orbyt has quit [Client Quit]
00:33
impermanence has quit [Ping timeout: 240 seconds]
00:43
postmodern has joined #ruby
00:57
mozzarella has quit [Quit: WeeChat 2.8]
01:03
queip has joined #ruby
01:09
jenrzzz has joined #ruby
01:09
FetidToot has joined #ruby
01:09
Rudd0 has quit [Ping timeout: 260 seconds]
01:16
jenrzzz has quit [Ping timeout: 258 seconds]
01:16
ramfjord has quit [Ping timeout: 258 seconds]
01:17
jenrzzz has joined #ruby
01:20
dionysus69 has quit [Ping timeout: 260 seconds]
01:26
alexherbo20 has quit [Ping timeout: 272 seconds]
01:28
mozzarella has joined #ruby
01:30
jenrzzz has quit [Ping timeout: 260 seconds]
01:42
TCZ has quit [Quit: Leaving]
01:47
DaRock has joined #ruby
01:56
yasumi2136 has joined #ruby
01:59
yasumi2136_ has quit [Ping timeout: 256 seconds]
02:00
cthulchu_ has quit [Ping timeout: 264 seconds]
02:06
lucasb has quit [Quit: Connection closed for inactivity]
02:09
roshanavand has quit [Remote host closed the connection]
02:09
roshanavand has joined #ruby
02:09
bmurt has joined #ruby
02:13
roshanavand_ has joined #ruby
02:16
roshanavand has quit [Ping timeout: 272 seconds]
02:16
roshanavand_ is now known as roshanavand
02:18
goepsilongo has joined #ruby
02:18
dfucci has joined #ruby
02:20
jenrzzz has joined #ruby
02:22
dfucci has quit [Ping timeout: 260 seconds]
02:43
djellemah has quit [Ping timeout: 244 seconds]
02:48
dasher00 has quit [Ping timeout: 272 seconds]
02:51
adu has joined #ruby
02:57
dhollinger has quit [Ping timeout: 265 seconds]
02:58
wallace_mu has quit [Remote host closed the connection]
02:59
wallace_mu has joined #ruby
02:59
wallace_mu has quit [Remote host closed the connection]
02:59
wallace_mu has joined #ruby
03:00
wallace_mu has quit [Remote host closed the connection]
03:00
wallace_mu has joined #ruby
03:01
wallace_mu has quit [Remote host closed the connection]
03:01
wallace_mu has joined #ruby
03:02
wallace_mu has quit [Remote host closed the connection]
03:02
wallace_mu has joined #ruby
03:02
wallace_mu has quit [Remote host closed the connection]
03:03
wallace_mu has joined #ruby
03:03
wallace_mu has quit [Remote host closed the connection]
03:03
wallace_mu has joined #ruby
03:04
wallace_mu has quit [Remote host closed the connection]
03:04
wallace_mu has joined #ruby
03:05
wallace_mu has quit [Remote host closed the connection]
03:05
wallace_mu has joined #ruby
03:06
wallace_mu has quit [Remote host closed the connection]
03:06
wallace_mu has joined #ruby
03:06
wallace_mu has quit [Remote host closed the connection]
03:07
wallace_mu has joined #ruby
03:07
wallace_mu has quit [Remote host closed the connection]
03:07
wallace_mu has joined #ruby
03:08
wallace_mu has quit [Remote host closed the connection]
03:08
wallace_mu has joined #ruby
03:09
wallace_mu has quit [Remote host closed the connection]
03:09
wallace_mu has joined #ruby
03:09
wallace_mu has quit [Remote host closed the connection]
03:10
wallace_mu has joined #ruby
03:10
wallace_mu has quit [Remote host closed the connection]
03:11
wallace_mu has joined #ruby
03:11
wallace_mu has quit [Remote host closed the connection]
03:11
wallace_mu has joined #ruby
03:12
wallace_mu has quit [Remote host closed the connection]
03:12
wallace_mu has joined #ruby
03:13
wallace_mu has quit [Remote host closed the connection]
03:13
wallace_mu has joined #ruby
03:13
wallace_mu has quit [Remote host closed the connection]
03:14
wallace_mu has joined #ruby
03:14
wallace_mu has quit [Remote host closed the connection]
03:15
wallace_mu has joined #ruby
03:15
wallace_mu has quit [Remote host closed the connection]
03:15
wallace_mu has joined #ruby
03:16
wallace_mu has quit [Remote host closed the connection]
03:16
wallace_mu has joined #ruby
03:17
wallace_mu has quit [Remote host closed the connection]
03:17
wallace_mu has joined #ruby
03:17
wallace_mu has quit [Remote host closed the connection]
03:18
wallace_mu has joined #ruby
03:18
jenrzzz has quit [Ping timeout: 260 seconds]
03:18
wallace_mu has quit [Remote host closed the connection]
03:18
wallace_mu has joined #ruby
03:19
wallace_mu has quit [Remote host closed the connection]
03:19
wallace_mu has joined #ruby
03:20
wallace_mu has quit [Remote host closed the connection]
03:20
wallace_mu has joined #ruby
03:21
wallace_mu has quit [Remote host closed the connection]
03:21
wallace_mu has joined #ruby
03:21
wallace_mu has quit [Remote host closed the connection]
03:22
wallace_mu has joined #ruby
03:22
wallace_mu has quit [Remote host closed the connection]
03:22
wallace_mu has joined #ruby
03:23
ChmEarl has quit [Quit: Leaving]
03:23
wallace_mu has quit [Remote host closed the connection]
03:23
wallace_mu has joined #ruby
03:24
wallace_mu has quit [Remote host closed the connection]
03:24
wallace_mu has joined #ruby
03:24
dhollinger has joined #ruby
03:25
wallace_mu has quit [Remote host closed the connection]
03:25
wallace_mu has joined #ruby
03:25
wallace_mu has quit [Remote host closed the connection]
03:26
wallace_mu has joined #ruby
03:26
wallace_mu has quit [Remote host closed the connection]
03:26
wallace_mu has joined #ruby
03:27
wallace_mu has quit [Remote host closed the connection]
03:27
wallace_mu has joined #ruby
03:28
wallace_mu has quit [Remote host closed the connection]
03:28
wallace_mu has joined #ruby
03:28
wallace_mu has quit [Remote host closed the connection]
03:29
wallace_mu has joined #ruby
03:29
wallace_mu has quit [Remote host closed the connection]
03:30
wallace_mu has joined #ruby
03:30
wallace_mu has quit [Remote host closed the connection]
03:30
wallace_mu has joined #ruby
03:31
wallace_mu has quit [Remote host closed the connection]
03:31
wallace_mu has joined #ruby
03:32
wallace_mu has quit [Remote host closed the connection]
03:32
wallace_mu has joined #ruby
03:32
wallace_mu has quit [Remote host closed the connection]
03:33
wallace_mu has joined #ruby
03:33
wallace_mu has quit [Remote host closed the connection]
03:34
wallace_mu has joined #ruby
03:34
wallace_mu has quit [Remote host closed the connection]
03:34
wallace_mu has joined #ruby
03:35
wallace_mu has quit [Remote host closed the connection]
03:35
wallace_mu has joined #ruby
03:35
wallace_mu has quit [Remote host closed the connection]
03:35
wallace_mu has joined #ruby
03:36
jokester has quit [Ping timeout: 260 seconds]
03:36
wallace_mu has quit [Remote host closed the connection]
03:36
wallace_mu has joined #ruby
03:37
wallace_mu has quit [Remote host closed the connection]
03:37
jenrzzz has joined #ruby
03:37
wallace_mu has joined #ruby
03:38
wallace_mu has quit [Remote host closed the connection]
03:38
wallace_mu has joined #ruby
03:38
wallace_mu has quit [Remote host closed the connection]
03:39
wallace_mu has joined #ruby
03:39
wallace_mu has quit [Remote host closed the connection]
03:39
jokester has joined #ruby
03:39
wallace_mu has joined #ruby
03:40
wallace_mu has quit [Remote host closed the connection]
03:40
wallace_mu has joined #ruby
03:41
wallace_mu has quit [Remote host closed the connection]
03:41
wallace_mu has joined #ruby
03:41
wallace_mu has quit [Remote host closed the connection]
03:42
wallace_mu has joined #ruby
03:42
jenrzzz has quit [Ping timeout: 258 seconds]
03:42
wallace_mu has quit [Remote host closed the connection]
03:43
wallace_mu has joined #ruby
03:46
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:48
mistergibson has quit [Ping timeout: 240 seconds]
03:48
wallace_mu has quit [Ping timeout: 260 seconds]
03:50
jenrzzz has joined #ruby
03:51
wallace_mu has joined #ruby
03:55
jenrzzz has quit [Ping timeout: 260 seconds]
03:55
mistergibson has joined #ruby
04:00
wallace_mu has quit [Ping timeout: 265 seconds]
04:04
Rudd0 has joined #ruby
04:04
snowyrooftops has joined #ruby
04:06
snowyrooftops has left #ruby [#ruby]
04:14
alfiemax has joined #ruby
04:19
dfucci has joined #ruby
04:24
dfucci has quit [Ping timeout: 258 seconds]
04:26
jenrzzz has joined #ruby
04:30
_whitelogger has joined #ruby
04:31
adu has quit [Quit: adu]
04:33
jenrzzz has quit [Ping timeout: 246 seconds]
04:48
wmoxam has joined #ruby
04:49
ur5us has quit [Ping timeout: 260 seconds]
05:00
donofrio has quit [Remote host closed the connection]
05:14
jenrzzz has joined #ruby
05:14
pwl has joined #ruby
05:15
wallace_mu has joined #ruby
05:17
bocaneri has joined #ruby
05:19
jenrzzz has quit [Ping timeout: 258 seconds]
05:21
jenrzzz has joined #ruby
05:22
wallace_mu has quit [Ping timeout: 272 seconds]
05:36
wallace_mu has joined #ruby
05:41
wallace_mu has quit [Ping timeout: 264 seconds]
05:43
jenrzzz has quit [Ping timeout: 256 seconds]
05:45
jenrzzz has joined #ruby
05:54
jenrzzz has quit [Ping timeout: 264 seconds]
06:08
s2013 has joined #ruby
06:15
jenrzzz has joined #ruby
06:18
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
06:32
biggtimber has joined #ruby
06:33
burgestrand has joined #ruby
06:35
a-l-e has joined #ruby
06:36
dfucci has joined #ruby
06:41
apotheon has quit [Ping timeout: 260 seconds]
07:01
apotheon has joined #ruby
07:05
Technodrome has joined #ruby
07:07
claudiuinberlin has joined #ruby
07:19
woodruffw has quit [Ping timeout: 256 seconds]
07:20
woodruffw has joined #ruby
07:20
woodruffw has quit [Changing host]
07:20
woodruffw has joined #ruby
07:21
janemba has joined #ruby
07:27
ap4y has quit [Ping timeout: 260 seconds]
07:34
pwl has quit [Ping timeout: 256 seconds]
07:36
cd has quit [Quit: cd]
07:44
Technodrome has quit [Read error: Connection reset by peer]
07:45
Technodrome has joined #ruby
07:55
supercoven has joined #ruby
07:55
supercoven has quit [Max SendQ exceeded]
07:55
supercoven has joined #ruby
07:59
supercoven has quit [Max SendQ exceeded]
07:59
supercoven has joined #ruby
08:02
bruce_lee has joined #ruby
08:02
bruce_lee has quit [Changing host]
08:02
bruce_lee has joined #ruby
08:03
TomyWork has joined #ruby
08:26
jenrzzz has quit [Ping timeout: 260 seconds]
08:26
jenrzzz has joined #ruby
08:35
<
ged >
Maybe try running with -rtracer and grep for 'VERSION'?
08:36
jenrzzz has quit [Ping timeout: 258 seconds]
08:37
<
nyuszika7h >
I get this error when exiting irb - I have uninstalled rvm and I'm using rbenv now, how do I get rid of this?
08:37
<
nyuszika7h >
/home/nyuszika7h/.rbenv/versions/2.7.2/lib/ruby/2.7.0/irb/ext/save-history.rb:108:in `initialize': No such file or directory @ rb_sysopen - /home/nyuszika7h/.rvm/rubies/ruby-2.7.1/.irbrc_history (Errno::ENOENT)
08:38
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:38
<
nyuszika7h >
~/.rvm doesn't exist
08:39
claudiuinberlin has joined #ruby
08:43
<
jhass >
nyuszika7h: this is a totally clean new login shell?
08:43
<
jhass >
env | grep IRB is empty?
08:44
<
nyuszika7h >
ah, seems like it's inheriting old IRBRC in new tmux windows I open
08:44
<
nyuszika7h >
if I start a new SSH session and don't attach to tmux, then it's unset and no error
08:45
<
nyuszika7h >
this fixed it: tmux set-environment -r IRBRC
08:45
braincrash has joined #ruby
08:48
ged has quit [Quit: WeeChat 2.9]
08:49
ged has joined #ruby
08:50
<
janemba >
hm....I'm sorry again but I can't go anywhere by myself. So I noticed few things through the trace ->
https://dpaste.org/kmQA#L so line 12 there is a check of the an environment variable BUNDLER_VERSION. Unless this variable is set by the script itself it should be empty. In line 15 I have this -> version.rb:10::-: VERSION = "1.17.2" unless defined?(::Bundler::VERSION) so could it be the issue ?
08:51
<
janemba >
I installed the bundler this way -> gem install bundler -v 1.17.3
08:53
<
jhass >
janemba: look at the path, it's loaded the bundler shipped with Ruby, not the newer version you installed as a gem like it should be :/
08:57
<
janemba >
jhass: Ohh!! /usr/lib64/ruby/2.6.0/bundler against /usr/lib64/ruby/gems/2.6.0/gems/bundler-1.17.3/exe/bundle...so should I just copy the bundle[r] file I want to /usr/bin ?
08:57
<
jhass >
no, that's not how it works
08:57
<
jhass >
Maybe at this point it would be easier to just sidestep your OS and do a ruby-install/chruby based setup :/
08:58
<
janemba >
jhass: ok I see !!!
09:03
jenrzzz has joined #ruby
09:07
ujjain2 has joined #ruby
09:07
jenrzzz has quit [Ping timeout: 256 seconds]
09:09
braincrash has quit [Ping timeout: 272 seconds]
09:11
mtsd has joined #ruby
09:11
mtsd has quit [Quit: Leaving]
09:14
Ven`` has joined #ruby
09:15
Ven`` has quit [Client Quit]
09:23
imode has quit [Ping timeout: 264 seconds]
09:23
neozor has joined #ruby
09:24
jenrzzz has joined #ruby
09:26
burgestrand has quit [Quit: burgestrand]
09:28
jenrzzz has quit [Ping timeout: 260 seconds]
09:34
infinityfye has joined #ruby
09:36
burgestrand has joined #ruby
09:42
TCZ has joined #ruby
09:42
dionysus69 has joined #ruby
09:59
ujjain2 has joined #ruby
10:01
kinduff48 has quit [Quit: gg]
10:02
<
nemesit|znc >
how can I check whether I got a -0.0 or a 0.0?
10:02
<
nemesit|znc >
seems pretty non trivial to check the sign on that
10:03
ujjain2 has quit [Client Quit]
10:04
kinduff48 has joined #ruby
10:04
dasher00 has joined #ruby
10:06
braincrash has joined #ruby
10:11
<
jhass >
&>> [[-0.0].pack("d")[-1].ord == 0 [0.0].pack("d")[-1].ord == 0]
10:11
ellcs has joined #ruby
10:11
<
jhass >
&>> [[-0.0].pack("d")[-1].ord == 0, [0.0].pack("d")[-1].ord == 0]
10:11
<
jhass >
Idk, there must be a better way :D
10:15
<
jhass >
&>> [-0.0.arg, 0.0.arg]
10:15
<
jhass >
not really any prettier
10:15
alexherbo20 has joined #ruby
10:16
<
nemesit|znc >
did it via .phase == Math::PI
10:17
<
jhass >
&>> [0.0.equal?(0.0), -0.0.equal?(-0.0), 0.0.equal?(-0.0) -0.0.equal?(0.0)]
10:17
<
rubydoc >
stderr: -e:4:in `<main>': undefined method `-' for false:FalseClass (NoMethodError)... check link for more (
https://carc.in/#/r/9u8d )
10:17
<
jhass >
&>> [0.0.equal?(0.0), -0.0.equal?(-0.0), 0.0.equal?(-0.0), -0.0.equal?(0.0)]
10:17
<
jhass >
nemesit|znc: ^ I think that's prettiest
10:19
<
jhass >
ah, wait, why's -0.0 not equal? -0.0
10:20
wallace_mu has joined #ruby
10:20
<
jhass >
I mean first case should still be enough to tell ( == 0 && .equal?(0.0) but weird
10:20
ruurd has joined #ruby
10:20
alexherbo205 has joined #ruby
10:21
roshanavand_ has joined #ruby
10:22
alexherbo20 has quit [Ping timeout: 256 seconds]
10:23
<
nemesit|znc >
its weird
10:24
roshanavand has quit [Ping timeout: 256 seconds]
10:24
roshanavand_ is now known as roshanavand
10:25
wallace_mu has quit [Ping timeout: 264 seconds]
10:31
a-l-e has quit [Remote host closed the connection]
10:32
a-l-e has joined #ruby
10:32
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:38
burgestrand has quit [Quit: burgestrand]
10:39
wallace_mu has joined #ruby
10:40
alexherbo2058 has joined #ruby
10:40
ErhardtMundt has quit [Quit: No Ping reply in 180 seconds.]
10:41
alexherbo205 has quit [Ping timeout: 256 seconds]
10:42
ErhardtMundt has joined #ruby
10:42
djellemah has joined #ruby
10:43
alexherbo205 has joined #ruby
10:43
wallace_mu has quit [Ping timeout: 258 seconds]
10:44
braincrash has quit [Read error: Connection reset by peer]
10:44
alexherbo2058 has quit [Ping timeout: 240 seconds]
10:44
dviola has joined #ruby
10:46
a-l-e has quit [Remote host closed the connection]
10:46
braincrash has joined #ruby
10:47
a-l-e has joined #ruby
10:48
a-l-e has quit [Remote host closed the connection]
10:48
charrit69 has joined #ruby
10:48
charrit69 has quit [Read error: Connection reset by peer]
10:49
charrit69 has joined #ruby
10:49
charrit69 has quit [Read error: Connection reset by peer]
10:49
charrit69 has joined #ruby
10:56
burgestrand has joined #ruby
11:05
gorsuch has quit [Quit: Connection closed for inactivity]
11:14
ur5us has joined #ruby
11:24
alfiemax has quit [Remote host closed the connection]
11:25
alfiemax has joined #ruby
11:25
claudiuinberlin has joined #ruby
11:29
alfiemax has quit [Ping timeout: 258 seconds]
11:38
ujjain2 has joined #ruby
11:49
ujjain2 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:53
drincruz has joined #ruby
11:53
zestril has quit [Ping timeout: 260 seconds]
11:56
zestril has joined #ruby
11:56
<
phaul >
it seems to be an allocated object unlike other floats
11:56
<
phaul >
&>> [-0.0, -1.0, 1.0, 0.0].map(&:object_id)
11:57
<
phaul >
&>> Array.new(10) { -0.0 }.map(&:object_id)
11:58
<
phaul >
&>> [-0.0, -0.0, -0.0].map(&:object_id)
11:58
<
phaul >
even weirder that the block didn't allocate new object
12:00
ujjain2 has joined #ruby
12:02
drincruz has quit [Ping timeout: 260 seconds]
12:10
cgfbee has quit [Remote host closed the connection]
12:19
drincruz has joined #ruby
12:22
TCZ has quit [Quit: Leaving]
12:23
Swyper has quit [Remote host closed the connection]
12:24
cgfbee has joined #ruby
12:26
Swyper_ has joined #ruby
12:33
jenrzzz has joined #ruby
12:37
jenrzzz has quit [Ping timeout: 265 seconds]
12:38
donofrio has joined #ruby
12:45
<
neozor >
Hi! Is it worth to attend rubyconf in a remote format? I'm thinking of paying the ticket, any opinions about remote conferences?
12:48
jenrzzz has joined #ruby
12:52
weaksauce has quit [Ping timeout: 272 seconds]
12:53
jenrzzz has quit [Ping timeout: 260 seconds]
12:54
markong has left #ruby [#ruby]
12:55
markong has joined #ruby
12:58
cow[moo] has joined #ruby
12:58
neozor has quit [Read error: No route to host]
12:59
jenrzzz has joined #ruby
13:01
charrit69 has quit [Quit: Konversation terminated!]
13:04
jenrzzz has quit [Ping timeout: 260 seconds]
13:06
TCZ has joined #ruby
13:07
drincruz has quit [Ping timeout: 265 seconds]
13:08
drincruz has joined #ruby
13:09
Swyper_ has quit [Remote host closed the connection]
13:11
<
havenwood >
&>> Math.atan2(0.0, -0.0) == Math.atan2(-0.0, -0.0)
13:11
<
havenwood >
&>> Math.atan2(0.0, -0.0) == Math.atan2(0.0, -0.0)
13:11
<
havenwood >
jhass: dunno if I'd call it better? ^
13:13
<
jhass >
Feels like the same as the == PI thing
13:13
<
havenwood >
jhass: Yeah, I didn't read enough backlog. Seeing it now.
13:14
<
havenwood >
"<nemesit|znc> did it via .phase == Math::PI"
13:18
ur5us has quit [Quit: Leaving]
13:19
Swyper has joined #ruby
13:20
jenrzzz has joined #ruby
13:20
wallace_mu has joined #ruby
13:21
<
havenwood >
&>> -0.0.then { _1.phase.nonzero? && _1.zero? }
13:22
<
havenwood >
&>> 0.0.then { _1.phase.nonzero? && _1.zero? }
13:22
<
havenwood >
I guess the constant PI is nicer than the method call anyways.
13:23
<
havenwood >
Always seems odd that:
13:23
<
havenwood >
&>> -0.0.negative? #=> false
13:24
<
havenwood >
Or maybe it's odd that:
13:24
<
havenwood >
&>> -0.0.positive? #=> false
13:24
jenrzzz has quit [Ping timeout: 258 seconds]
13:25
<
havenwood >
I guess if +0.0 isn't positive then -0.0 isn't negative, but... Floats so -0.0 seems kinda negative ¯\_(ツ)_/¯
13:26
<
jhass >
I think I still like .equal? best
13:27
<
jhass >
that gives you whether you got 0.0, so if you got == 0 and !equal?(0.0) then you know you got -0.0
13:29
<
havenwood >
jhass: Good point
13:30
<
havenwood >
Funny they're #eql?...
13:31
<
havenwood >
&>> {-0.0 => :negative, 0.0 => :positive}
13:32
<
havenwood >
In TruffleRuby: #=> {-0.0=>:negative, 0.0=>:positive}
13:32
<
havenwood >
JRuby follows CRuby.
13:35
jenrzzz has joined #ruby
13:40
jenrzzz has quit [Ping timeout: 264 seconds]
13:50
jenrzzz has joined #ruby
13:54
duderonomy has quit [Ping timeout: 256 seconds]
13:54
jenrzzz has quit [Ping timeout: 258 seconds]
13:56
yasumi2136_ has joined #ruby
13:56
drincruz has quit [Ping timeout: 265 seconds]
13:59
drincruz has joined #ruby
14:00
yasumi2136 has quit [Ping timeout: 272 seconds]
14:07
burgestrand has quit [Quit: burgestrand]
14:07
alfiemax has joined #ruby
14:10
ChmEarl has joined #ruby
14:11
alfiemax has quit [Ping timeout: 260 seconds]
14:30
djellemah has quit [Ping timeout: 240 seconds]
14:31
dfucci has quit [Ping timeout: 265 seconds]
14:31
King_Freenode has joined #ruby
14:31
<
King_Freenode >
is ruby safe ?
14:38
Swyper has quit [Remote host closed the connection]
14:38
<
King_Freenode >
hello
14:42
<
adam12 >
King_Freenode: Safe?
14:42
<
King_Freenode >
yes
14:42
<
King_Freenode >
safe and secure
14:43
<
adam12 >
King_Freenode: I'd say it's as equally safe and secure as any other programming language
14:43
<
King_Freenode >
well
14:43
<
King_Freenode >
i can object to that statement
14:44
<
King_Freenode >
i am a perl dev
14:45
<
King_Freenode >
and as a perl fanatic ruby comes a bit loose.
14:45
<
adam12 >
King_Freenode: Is there something you need in #ruby then?
14:45
<
King_Freenode >
yes
14:45
<
King_Freenode >
i want to know if ruby is insecure
14:46
<
havenwood >
King_Freenode: Nope. That's was an easy one!
14:46
<
havenwood >
King_Freenode: Any more questions?
14:46
<
King_Freenode >
is there any proof behind that statement ?
14:47
<
adam12 >
King_Freenode: I verify that what havenwood is said, proving his statement.
14:47
<
King_Freenode >
i mean how secure it is compared to perl ? or nodejs angularjs
14:47
DaRock has quit [Remote host closed the connection]
14:48
Swyper has joined #ruby
14:48
DaRock has joined #ruby
14:49
<
havenwood >
King_Freenode: How secure are you?
14:49
<
havenwood >
King_Freenode: What kind of question is that? I think you're insecure. Prove you're not.
14:50
<
King_Freenode >
well
14:50
<
King_Freenode >
i tell ye what. if ruby can be on rails, then i can hold the grails.
14:51
<
havenwood >
King_Freenode: Do as mnemon suggests and look at CVEs and whether there are any outstanding (there won't be for top langs, unless something is terribly, terribly wrong). Angular isn't a language. (I think we've discussed this?)
14:51
<
King_Freenode >
i can share cve that i found for ruby.
14:51
<
havenwood >
King_Freenode: We can't trust you. You're insecure.
14:51
<
havenwood >
!ban King_Freenode Insecure
14:52
<
King_Freenode >
what ?
14:52
<
King_Freenode >
wtf ?
14:52
<
adam12 >
King_Freenode: Don't you mean GRAILZ?
14:52
<
King_Freenode >
HAILS !
14:53
<
King_Freenode >
yes
14:53
<
King_Freenode >
grailz on nailz
14:53
<
King_Freenode >
funny enough people here are very insecure in their beliefs about ruby, thats why you guys are trying to bully me.
14:54
<
havenwood >
King_Freenode: Yup, insecure.
14:54
<
King_Freenode >
yes
14:54
<
King_Freenode >
just like ruby
14:54
<
havenwood >
!ban King_Freenode
14:54
<
King_Freenode >
fuck you
14:54
<
havenwood >
Buh bye!
14:54
<
jhass >
!troll King_Freenode
14:54
King_Freenode was banned on #ruby by havenwood [*!~koker@178.175.142.195]
14:55
* jhass
goes kicking the bot
14:55
ujjain2 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:55
ruby[bot] has quit [Remote host closed the connection]
14:55
ruby[bot] has joined #ruby
14:56
<
jhass >
!troll King_Freenode
14:56
King_Freenode was banned on #ruby by adam12 [*!*@178.175.142.195]
14:56
* havenwood
high fives
14:58
djellemah has joined #ruby
15:04
deimos_ has quit [Remote host closed the connection]
15:07
dionysus69 has quit [Ping timeout: 272 seconds]
15:08
alfiemax_ has joined #ruby
15:10
deimos_ has joined #ruby
15:15
hiroaki has quit [Ping timeout: 260 seconds]
15:17
akem has quit [Quit: Leaving]
15:22
dfucci has joined #ruby
15:25
ujjain2 has joined #ruby
15:25
<
TomyWork >
net-ldap, according to wireshark, attempts to bind to <ROOT>, i.e. without a base dn. How do I make it bind with a base dn?
15:26
<
TomyWork >
sorry, binddn, not basedn
15:27
dfucci has quit [Ping timeout: 256 seconds]
15:27
<
TomyWork >
oh wait, i got the auth structure wrong, my bad
15:36
jenrzzz has joined #ruby
15:39
alfiemax_ has quit [Remote host closed the connection]
15:41
jenrzzz has quit [Ping timeout: 272 seconds]
15:41
alfiemax has joined #ruby
15:43
cthulchu_ has joined #ruby
15:44
s2013 has joined #ruby
15:44
iNs has joined #ruby
15:45
ujjain2 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:45
iNs has quit [Remote host closed the connection]
15:46
alfiemax has quit [Ping timeout: 272 seconds]
15:46
iNs has joined #ruby
15:47
cahoots has joined #ruby
15:47
alfiemax has joined #ruby
15:48
cd has joined #ruby
15:48
<
cahoots >
hi, i want to match all strings that have "case" not preceded by "break;\s*". i have the following: /(?<!break;\s*)case/. however, this gives me "Invalid pattern in look-behind.". any ideas what to do?
15:50
<
jhass >
lookarounds unfortunately needs to be of fixed width, so no *, + or ?
15:52
<
adam12 >
I feel like the Regexp docs should say that. I'm not sure I ever knew that.
15:53
jenrzzz has joined #ruby
15:53
<
jhass >
cahoots: maybe there's a different solution to your actual problem, might not even involve regex :)
15:56
<
cahoots >
jhass, never!
15:57
<
adam12 >
Might be a good stringscanner use-case.
15:58
<
adam12 >
Potentially faster as well.
15:58
alfiemax has quit [Remote host closed the connection]
15:58
ujjain2 has joined #ruby
15:59
jenrzzz has quit [Ping timeout: 256 seconds]
15:59
<
jhass >
or a simple #chunk
15:59
TCZ has quit [Quit: Leaving]
16:00
jenrzzz has joined #ruby
16:01
ecuanaso has joined #ruby
16:02
alexherbo2 has joined #ruby
16:08
jenrzzz has quit [Ping timeout: 260 seconds]
16:12
jenrzzz has joined #ruby
16:17
jenrzzz has quit [Ping timeout: 256 seconds]
16:18
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:20
ujjain2 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:24
impermanence has joined #ruby
16:29
DaRock has quit [Ping timeout: 258 seconds]
16:29
ecuanaso has joined #ruby
16:32
kristian_on_linu has joined #ruby
16:33
ramfjord has joined #ruby
16:46
ujjain2 has joined #ruby
16:50
rippa has joined #ruby
16:50
jenrzzz has joined #ruby
16:53
yasumi2136 has joined #ruby
16:54
yasumi2136_ has quit [Ping timeout: 260 seconds]
16:56
<
Tuor >
how do you formulate "does not include"? `array.include?.nil?`? or is there something better?
16:57
<
jhass >
unless array.include?
16:58
jenrzzz has quit [Ping timeout: 272 seconds]
17:01
jenrzzz has joined #ruby
17:01
JoshAshby has joined #ruby
17:01
<
Tuor >
ah yea, why not.
17:02
ujjain2 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:08
jenrzzz has quit [Ping timeout: 258 seconds]
17:09
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:12
ecuanaso has joined #ruby
17:13
jenrzzz has joined #ruby
17:16
ellcs has quit [Read error: Connection reset by peer]
17:16
duderonomy has joined #ruby
17:17
ellcs has joined #ruby
17:20
<
havenwood >
Tuor: Or #none?
17:20
<
havenwood >
&>> [41, 43].none? 42
17:20
<
havenwood >
&>> [41, 42, 43].none? 42
17:20
jenrzzz has quit [Ping timeout: 264 seconds]
17:22
<
jhass >
I can never remember none? takes an argument and not just a block :/
17:24
<
TomyWork >
cahoots, are you writing a linter? if so, see if there's an existing solution that suits your needs
17:25
TomyWork has quit [Remote host closed the connection]
17:28
jenrzzz has joined #ruby
17:29
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
17:32
weaksauce has joined #ruby
17:33
jenrzzz has quit [Ping timeout: 260 seconds]
17:38
Ven`` has joined #ruby
17:42
howdoi has joined #ruby
17:45
jenrzzz has joined #ruby
17:45
kristian_on_linu has quit [Read error: Connection reset by peer]
17:47
Azure has quit [Read error: Connection reset by peer]
17:48
Azure has joined #ruby
17:49
jenrzzz has quit [Ping timeout: 260 seconds]
17:57
alfiemax has joined #ruby
18:00
akem has joined #ruby
18:00
jenrzzz has joined #ruby
18:02
alfiemax has quit [Ping timeout: 240 seconds]
18:03
duderonomy has quit [Read error: Connection reset by peer]
18:03
duderonomy has joined #ruby
18:05
jenrzzz has quit [Ping timeout: 264 seconds]
18:09
yasumi2136 has quit [Ping timeout: 240 seconds]
18:10
jenrzzz has joined #ruby
18:11
ellcs has quit [Ping timeout: 240 seconds]
18:14
imode has joined #ruby
18:15
alfiemax has joined #ruby
18:15
alfiemax has quit [Remote host closed the connection]
18:16
alfiemax has joined #ruby
18:20
alfiemax has quit [Ping timeout: 260 seconds]
18:22
bocaneri has quit [Read error: Connection reset by peer]
18:26
infinityfye has quit [Quit: Leaving]
18:29
<
arichiardi[m] >
Hi IRC ruby folks, newbie question, how can I check if a raised error is of type Mongo::BulkWrite::Result ?
18:29
<
jhass >
catch it explicitly?
18:29
<
jhass >
rescue Mongo::BulkWrite::Result
18:29
<
jhass >
(weird name for an exception class though)
18:30
TCZ has joined #ruby
18:30
<
arichiardi[m] >
oh, I was thinking of using an if but that might work as well...can I have multiple rescue clauses ?
18:30
<
arichiardi[m] >
ah well right...it is not that one actually sorry
18:31
<
arichiardi[m] >
it's Mongo::Error::BulkWriteError
18:31
<
arichiardi[m] >
googling, I think I can do that...thank you!
18:38
burgestrand has joined #ruby
18:43
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:46
imode has quit [Ping timeout: 260 seconds]
18:49
horror_movie has joined #ruby
18:49
<
havenwood >
horror_movie: hi
18:49
<
horror_movie >
how are you
18:50
<
horror_movie >
is this ruby ?
18:50
<
havenwood >
horror_movie: yup, the programming language
18:50
<
horror_movie >
are you a dev
18:51
burgestrand has quit [Quit: burgestrand]
18:51
<
havenwood >
horror_movie: I dunno what I am—but yeah, lots of devs here.
18:52
<
havenwood >
horror_movie: "Rubyists"
18:52
janemba has left #ruby ["WeeChat 2.9-dev"]
18:52
<
horror_movie >
oh !
18:52
<
horror_movie >
like ruby fans ?
18:53
<
havenwood >
horror_movie: Yup, I'm a Rubyist. Most folk are here since they're Rubyists.
18:53
<
horror_movie >
i see
18:53
<
horror_movie >
do you code in ruby and ON RAILS ?
18:53
<
havenwood >
horror_movie: This is the #ruby channel but there are plenty of Rails folk in #rubyonrails.
18:54
<
havenwood >
horror_movie: Yes, that channel requires that you register your nick.
18:54
<
havenwood >
horror_movie: Feel free to ask Rails questions here.
18:54
<
horror_movie >
i am only a casual
18:54
<
havenwood >
horror_movie: Welcome.
18:55
<
horror_movie >
ruby is difficult ?
18:56
<
havenwood >
horror_movie: Yes, programming is fairly difficult. As far as programming goes, Ruby is quite accessible. It's maybe more difficult than less flexible, one-way-to-do-it, single-paradigm languages.
18:56
<
horror_movie >
is it better than python ?
18:57
<
ruby[bot] >
"Best" and "better" are subjective. Try to use a different term, or try to qualify what would make one thing better than the other.
18:57
<
havenwood >
horror_movie: Ruby and Python are two lovely languages that originated around the same time and both remain popular.
18:57
<
havenwood >
horror_movie: Pick your poison.
18:57
<
horror_movie >
python is awful
18:57
<
havenwood >
horror_movie: ¯\_(ツ)_/¯
18:58
ecuanaso has joined #ruby
18:58
<
horror_movie >
people claim that it is easy, until you start getting the whitespace errors
18:58
<
havenwood >
horror_movie: Things are easy when familiar.
18:58
<
horror_movie >
btw are you a thug ?
19:00
<
horror_movie >
yep i thought so. you support the blm...
19:02
<
horror_movie >
why would you support a bunch of degenerate niggers ?
19:02
<
havenwood >
!ban horror_movie
19:04
<
baweaver >
Already got it havenwood
19:04
* havenwood
high fives
19:05
<
baweaver >
#ruby is currently +r, you'll need to be registered with Nickserv to speak
19:05
<
phaul >
why do I get the feeling that this was the same guy as the previous one
19:05
<
havenwood >
Goodbye forever, degenerate troll...
19:05
<
havenwood >
phaul: Yeah, same.
19:05
<
baweaver >
Probably.
19:05
Xiti has quit [Quit: Leaving]
19:05
<
havenwood >
phaul: Gave them one chance to actually care about Ruby.
19:06
<
havenwood >
phaul: No more chances now ever. Good riddance!
19:10
Rudd0 has quit [Ping timeout: 256 seconds]
19:10
burgestrand has joined #ruby
19:16
s2013 has joined #ruby
19:19
iNs has quit [Remote host closed the connection]
19:20
iNs has joined #ruby
19:22
bmurt has joined #ruby
19:26
cnsvc has joined #ruby
19:28
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:32
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:43
jenrzzz has quit [Ping timeout: 260 seconds]
19:47
nofxx has quit [Remote host closed the connection]
20:03
evdubs has quit [Quit: Leaving]
20:04
djellemah has left #ruby ["Leaving"]
20:05
evdubs has joined #ruby
20:05
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:20
FastJack has quit [Ping timeout: 246 seconds]
20:22
FastJack has joined #ruby
20:29
supercoven has quit [Ping timeout: 240 seconds]
20:31
Ai9zO5AP has joined #ruby
20:35
ur5us has joined #ruby
20:36
Fire-Dragon-DoL has quit [Ping timeout: 256 seconds]
20:40
Xiti has joined #ruby
20:44
Fire-Dragon-DoL has joined #ruby
20:52
adu has joined #ruby
20:53
ur5us has quit [Ping timeout: 244 seconds]
21:06
kristian_on_linu has joined #ruby
21:32
nofxx has joined #ruby
21:36
TCZ has quit [Quit: Leaving]
21:39
kristian_on_linu has quit [Remote host closed the connection]
21:42
Exuma has joined #ruby
21:45
Exuma has quit [Client Quit]
21:46
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:52
imode has joined #ruby
21:58
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:04
Rudd0 has joined #ruby
22:04
TCZ has joined #ruby
22:11
braincrash has quit [Ping timeout: 246 seconds]
22:15
adu has quit [Quit: adu]
22:21
ur5us has joined #ruby
22:43
dionysus69 has joined #ruby
22:49
burgestrand has quit [Quit: burgestrand]
23:08
ur5us has quit [Ping timeout: 260 seconds]
23:08
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:11
duderonomy has joined #ruby
23:13
Ai9zO5AP has quit [Remote host closed the connection]
23:15
Ai9zO5AP has joined #ruby
23:26
drincruz has quit [Ping timeout: 264 seconds]
23:30
<
woodruffw >
...whoops.
23:41
zenspider has joined #ruby
23:43
drincruz has joined #ruby
23:47
Technodrome has joined #ruby
23:49
Technodrome has quit [Remote host closed the connection]