cthulchu_

Activity Graph

Page 1 of 4 | Next »

2019-03-25

[16:36:23] cthulchu_: has joined #ruby

2019-03-24

[04:41:01] cthulchu_: Ping timeout: 250 seconds

2019-03-23

[07:14:47] cthulchu_: Ping timeout: 240 seconds
[21:36:01] cthulchu_: has joined #ruby

2019-03-22

[02:55:04] cthulchu_: has joined #ruby
[03:08:24] cthulchu_: Ping timeout: 252 seconds
[16:15:01] cthulchu_: has joined #ruby
[18:36:07] cthulchu_: Ping timeout: 268 seconds
[19:30:41] cthulchu_: has joined #ruby

2019-03-15

[16:59:15] cthulchu_: has joined #ruby
[19:15:55] cthulchu_: Ping timeout: 246 seconds

2019-03-14

[16:27:43] cthulchu_: has joined #ruby
[21:48:44] cthulchu_: Ping timeout: 250 seconds

2019-03-12

[17:08:28] cthulchu_: Ping timeout: 272 seconds

2019-03-11

[01:46:56] cthulchu_: has joined #ruby
[01:47:07] cthulchu_: Client Quit
[16:41:17] cthulchu_: has joined #ruby
[17:52:47] cthulchu_: Ping timeout: 240 seconds
[18:03:26] cthulchu_: has joined #ruby
[18:42:15] cthulchu_: Ping timeout: 246 seconds
[19:58:41] cthulchu_: has joined #ruby

2019-03-09

[00:16:11] cthulchu_: has joined #ruby
[01:26:47] cthulchu_: Ping timeout: 240 seconds
[01:48:56] cthulchu_: has joined #ruby
[01:54:27] cthulchu_: Ping timeout: 240 seconds

2019-03-02

[01:14:11] cthulchu_: Ping timeout: 250 seconds

2019-03-01

[19:40:58] cthulchu_: has joined #ruby

2019-02-25

[03:03:47] cthulchu_: Ping timeout: 245 seconds

2019-02-24

[22:54:25] cthulchu_: has joined #ruby

2019-02-23

[02:01:38] cthulchu_: has joined #ruby
[02:06:25] cthulchu_: Ping timeout: 244 seconds

2019-02-19

[23:06:38] cthulchu_: Ping timeout: 250 seconds

2019-02-15

[05:58:47] cthulchu_: has joined #ruby
[06:04:09] cthulchu_: Read error: Connection reset by peer
[17:25:14] cthulchu_: has joined #ruby
[17:57:47] cthulchu_: Quit: Leaving
[17:58:09] cthulchu_: has joined #ruby
[21:04:43] cthulchu_: Read error: Connection reset by peer
[21:05:07] cthulchu_: has joined #ruby

2019-02-14

[16:06:33] cthulchu_: Ping timeout: 246 seconds

2019-02-13

[17:12:23] cthulchu_: has joined #ruby
[19:27:58] cthulchu_: Remote host closed the connection
[19:28:18] cthulchu_: has joined #ruby

2019-02-12

[03:07:56] cthulchu_: Ping timeout: 240 seconds

2019-02-11

[06:25:58] cthulchu_: has joined #ruby

2019-02-10

[23:05:56] cthulchu_: Ping timeout: 240 seconds

2019-02-09

[19:32:37] cthulchu_: has joined #ruby

2019-02-08

[01:33:34] cthulchu_: Ping timeout: 268 seconds
[01:38:43] cthulchu_: has joined #ruby
[01:44:38] cthulchu_: Ping timeout: 245 seconds
[16:49:33] cthulchu_: has joined #ruby
[21:42:33] cthulchu_: Ping timeout: 245 seconds

2019-02-07

[08:44:26] cthulchu_: Read error: Connection reset by peer
[08:44:53] cthulchu_: has joined #ruby
[22:42:51] cthulchu_: Read error: Connection reset by peer
[22:43:18] cthulchu_: has joined #ruby
[22:55:01] cthulchu_: hey folks, how do I print current time in 24:01:01 format?
[22:56:00] cthulchu_: oh, nvm, don't need it anymore
[22:57:51] cthulchu_: I just didn't know how to get the system time

2019-02-06

[00:06:36] cthulchu_: Ping timeout: 246 seconds
[00:06:55] cthulchu_: has joined #ruby

2019-02-04

[17:31:12] cthulchu_: has joined #ruby
[17:44:12] cthulchu_: Read error: Connection reset by peer
[18:14:22] cthulchu_: has joined #ruby

2019-02-03

[09:03:13] cthulchu_: Ping timeout: 246 seconds

2019-02-02

[15:15:26] cthulchu_: Ping timeout: 240 seconds
[15:16:19] cthulchu_: has joined #ruby

2019-02-01

[00:47:54] cthulchu_: Ping timeout: 268 seconds
[16:41:49] cthulchu_: has joined #ruby
[18:03:26] cthulchu_: Ping timeout: 240 seconds
[18:21:27] cthulchu_: has joined #ruby

2019-01-31

[22:59:03] cthulchu_: Read error: Connection reset by peer
[22:59:26] cthulchu_: has joined #ruby

2019-01-30

[21:27:01] cthulchu_: Quit: Leaving
[21:27:34] cthulchu_: has joined #ruby

2019-01-28

[17:25:08] cthulchu_: has joined #ruby

2019-01-26

[06:03:26] cthulchu_: Ping timeout: 240 seconds
[18:06:57] cthulchu_: has joined #ruby

2019-01-25

[02:03:18] cthulchu_: Ping timeout: 246 seconds
[04:59:46] cthulchu_: has joined #ruby
[05:03:56] cthulchu_: Ping timeout: 240 seconds
[16:47:46] cthulchu_: has joined #ruby

2019-01-23

[21:05:06] cthulchu_: weird error I'm getting
[21:05:53] cthulchu_: the error is that there's no implicit casting of string into int, but this is the code that triggers it: results = cds_results.fetch("cds_passed",[])
[21:06:39] cthulchu_: results is an [], cds_results is an {}, cds_results["cds_passed"] is either an [] or doesn't exist.
[21:06:46] cthulchu_: I have no strings or integers there
[21:08:23] cthulchu_: in what context what?
[21:09:06] cthulchu_: meh, too much code to provide context
[21:09:22] cthulchu_: I thought it may have been a weird way of throwing an exception
[21:09:33] cthulchu_: gonna just debug this place
[21:12:34] cthulchu_: this here: https://i.imgur.com/lX5oQA3.png
[21:13:06] cthulchu_: I think I'm misusing fetch
[21:13:35] cthulchu_: it's cuz I fetch from an array!
[21:13:46] cthulchu_: ok, ok, I'll make it an obj
[21:14:28] cthulchu_: right, it tried to fetch a string from an array of integers
[21:14:46] cthulchu_: because array's key is an integer, not a string. still, the error was confusing.
[21:26:07] cthulchu_: what does it do?
[21:26:19] cthulchu_: sorry, I'm not familiar
[21:30:01] cthulchu_: ah, awesome print
[21:30:11] cthulchu_: heard of it
[21:30:17] cthulchu_: unfortunately, too lae
[21:30:38] cthulchu_: I already have methods that would colorify & prettyprint
[21:30:57] cthulchu_: still, there was something I lacked a lot

2019-01-21

[18:14:53] cthulchu_: has joined #ruby

2019-01-20

[21:42:30] cthulchu_: Ping timeout: 244 seconds

2019-01-18

[01:23:45] cthulchu_: Ping timeout: 246 seconds
[01:53:01] cthulchu_: has joined #ruby
[18:50:30] cthulchu_: Remote host closed the connection
[18:50:49] cthulchu_: has joined #ruby

2019-01-17

[00:16:49] cthulchu_: Quit: Leaving
[00:17:08] cthulchu_: has joined #ruby
[21:07:40] cthulchu_: Ping timeout: 246 seconds
[22:24:40] cthulchu_: has joined #ruby

2019-01-16

[17:28:22] cthulchu_: has joined #ruby

2019-01-14

[17:49:20] cthulchu_: Quit: Leaving
[17:49:49] cthulchu_: has joined #ruby

2019-01-13

[02:45:02] cthulchu_: has joined #ruby

2019-01-11

[06:50:23] cthulchu_: Ping timeout: 272 seconds
[15:40:46] cthulchu_: has joined #ruby

2019-01-09

[03:16:52] cthulchu_: Ping timeout: 244 seconds
[16:26:35] cthulchu_: has joined #ruby

2019-01-08

[08:47:52] cthulchu_: Ping timeout: 250 seconds
[16:09:47] cthulchu_: has joined #ruby
[16:25:02] cthulchu_: Ping timeout: 250 seconds
[16:25:21] cthulchu_: has joined #ruby

2019-01-07

[16:35:25] cthulchu_: has joined #ruby

2019-01-05

[18:32:14] cthulchu_: has joined #ruby
[19:33:52] cthulchu_: Read error: Connection reset by peer
[19:34:28] cthulchu_: has joined #ruby
[19:40:01] cthulchu_: Ping timeout: 258 seconds

2019-01-04

[01:15:32] cthulchu_: Remote host closed the connection
[01:15:58] cthulchu_: has joined #ruby
[01:20:43] cthulchu_: Ping timeout: 246 seconds
[17:21:22] cthulchu_: has joined #ruby
[17:56:54] cthulchu_: Ping timeout: 268 seconds

2019-01-02

[02:20:05] cthulchu_: has joined #ruby
[19:07:13] cthulchu_: my lovely folks
[19:08:00] cthulchu_: If I have def self.method(), then later in a different method of the same class, when I need to call the method, do I have to mention self or not?
[19:08:17] cthulchu_: it works fine when I call it like self.method(), but I wonder if there is a difference in this case
[19:32:39] cthulchu_: what's wrong with this one folks? https://paste.ofcode.org/TBpx5qdtqzN2rL4GEvycu5
[19:33:07] cthulchu_: there seems to be an issue with curvy brackets...
[19:42:03] cthulchu_: the last curvy bracket is highlighted by the syntax checker
[19:42:08] cthulchu_: I have little clue why
[19:42:41] cthulchu_: file do end?
[19:43:01] cthulchu_: sorry for that
[22:28:50] cthulchu_: ruuuuby! wewewewe
[23:12:29] cthulchu_: I REALLY appreciate that String[0] works as one would expect
[23:12:53] cthulchu_: I tried many langs and every bloody time I was like "OMFG!" when it doesn't work like that
[23:44:42] cthulchu_: what a hack!
[23:44:56] cthulchu_: NameError: undefined local variable or method `⚛⚛⚛' for main:Object
[23:44:56] cthulchu_: 2.2.0 :022 > ⚛⚛⚛[0]
[23:45:37] cthulchu_: works fine in 2.2.0

2018-12-28

[18:08:26] cthulchu_: has joined #ruby
[18:31:36] cthulchu_: actually I was wrong yesterday
[18:31:45] cthulchu_: blocks do have normal access to this
[18:31:57] cthulchu_: it's just in that particular case it didn't work
[18:32:14] cthulchu_: I fixed it, but I still don't know what was wrong with that code
[18:32:26] cthulchu_: if anyone can clarify it for me, it would be awesome
[18:33:29] cthulchu_: (and my fix is ugly, I don't like it)
[18:45:35] cthulchu_: uplime, https://paste.ofcode.org/35MJgEypkzBg9m8PVHB2LUf throws me NoMethodError: undefined method `key?' for nil:NilClass on line 8
[18:46:38] cthulchu_: I had to do ugly temp_event = temp_event || {} in there to fix it
[18:50:10] cthulchu_: also, I have a different question. I have a hash and an array with hashes. I need to make sure that all the fields in this hash are present in each hash of the array. I'm gonna do this using two nested .each in one .select. It's three nested loops. I mean, I don't expect them to be too large, but the code becomes hard to read.
[18:50:27] cthulchu_: maybe there are hacks like hash.includes(hash)
[18:50:47] cthulchu_: although I need it to do regex inclusion
[18:50:50] cthulchu_: so I guess not
[18:51:02] cthulchu_: anyhow, will write a method for this
[18:59:18] cthulchu_: I think sometimes I do : instead of =>
[18:59:52] cthulchu_: but in that case everything is =>
[19:00:12] cthulchu_: ah, right, I do json when I need to pretty print
[19:00:53] cthulchu_: anyhow, I don't think it relates
[19:08:20] cthulchu_: Ping timeout: 250 seconds

2018-12-27

[06:37:24] cthulchu_: has joined #ruby
[08:22:50] cthulchu_: Ping timeout: 268 seconds
[09:29:51] cthulchu_: has joined #ruby
[09:44:26] cthulchu_: Ping timeout: 260 seconds
[10:07:20] cthulchu_: has joined #ruby
[10:15:04] cthulchu_: Ping timeout: 268 seconds
[17:32:18] cthulchu_: has joined #ruby
[18:05:42] cthulchu_: Ping timeout: 252 seconds

2018-12-26

[05:49:59] cthulchu_: Ping timeout: 268 seconds
[10:33:54] cthulchu_: has joined #ruby
[11:49:03] cthulchu_: Ping timeout: 250 seconds
[11:57:40] cthulchu_: has joined #ruby
[16:42:51] cthulchu_: Ping timeout: 250 seconds
[18:37:19] cthulchu_: has joined #ruby
[21:59:00] cthulchu_: Ping timeout: 252 seconds

2018-12-25

[06:21:34] cthulchu_: has joined #ruby
[06:26:27] cthulchu_: Ping timeout: 246 seconds
[21:46:27] cthulchu_: has joined #ruby

2018-12-22

[00:01:16] cthulchu_: it's kinda sad that Ruby doesn't have the concept of primitives
[00:01:30] cthulchu_: One one hans I'm kinda grateful for the fact that everything is an object
[00:01:51] cthulchu_: on the other hand, it's uncomfy to not being able to pass arguments by reference
[01:02:39] cthulchu_: Ping timeout: 250 seconds

2018-12-21

[17:42:19] cthulchu_: has joined #ruby

2018-12-18

[01:06:34] cthulchu_: has joined #ruby
[18:01:40] cthulchu_: Ping timeout: 246 seconds
[18:07:03] cthulchu_: has joined #ruby
[18:13:12] cthulchu_: Ping timeout: 268 seconds

2018-12-13

[01:59:40] cthulchu_: Ping timeout: 250 seconds

2018-12-12

[17:34:17] cthulchu_: has joined #ruby
[17:40:28] cthulchu_: Ping timeout: 250 seconds
[21:51:41] cthulchu_: has joined #ruby

2018-12-04

[01:27:28] cthulchu_: Ping timeout: 250 seconds
[16:44:51] cthulchu_: has joined #ruby
[23:08:09] cthulchu_: Ping timeout: 246 seconds

2018-12-03

[17:10:38] cthulchu_: has joined #ruby

2018-12-01

[02:03:54] cthulchu_: Ping timeout: 268 seconds

2018-11-30

[17:31:33] cthulchu_: has joined #ruby

2018-11-23

[17:19:50] cthulchu_: has joined #ruby
[19:36:33] cthulchu_: Ping timeout: 252 seconds

2018-11-09

[17:22:25] cthulchu_: has joined #ruby
[17:42:09] cthulchu_: Ping timeout: 272 seconds

2018-11-03

[00:57:15] cthulchu_: Ping timeout: 268 seconds

2018-11-02

[16:44:20] cthulchu_: has joined #ruby

2018-10-24

[18:48:52] cthulchu_: *.net *.split

2018-10-23

[19:18:51] cthulchu_: so we've been discussing ops
[19:19:21] cthulchu_: and we decided that the less an op uses their power, the better op they are
[19:19:37] cthulchu_: also best channels seem to have no ops at all
[19:22:45] cthulchu_: I'm good, thanks
[19:23:34] cthulchu_: hehe, where did you get it from? :)
[19:24:48] cthulchu_: congrats on that
[20:19:21] cthulchu_: I believe you can always justify usage
[20:19:29] cthulchu_: the opposite is true too
[20:19:34] cthulchu_: you can always avoid usage

2018-10-22

[16:18:53] cthulchu_: has joined #ruby
[23:01:25] cthulchu_: ruuuuuubyyyy

2018-10-19

[15:48:34] cthulchu_: has joined #ruby
[23:20:36] cthulchu_: Ping timeout: 252 seconds

2018-10-05

[21:35:06] cthulchu_: Ping timeout: 252 seconds