cthulchu

Activity Graph

Page 1 of 10 | Next »

2019-01-18

[02:00:19] cthulchu: *.net *.split

2019-01-17

[16:17:22] cthulchu: Ping timeout: 250 seconds
[16:20:11] cthulchu: has joined #ruby

2019-01-16

[01:13:48] cthulchu: Ping timeout: 246 seconds
[02:00:15] cthulchu: has joined #ruby

2019-01-15

[08:30:28] cthulchu: Ping timeout: 246 seconds
[15:44:05] cthulchu: has joined #ruby
[16:28:27] cthulchu: Ping timeout: 246 seconds

2019-01-14

[07:12:07] cthulchu: Ping timeout: 240 seconds
[07:14:26] cthulchu: has joined #ruby

2019-01-13

[02:44:33] cthulchu: Disconnected by services
[03:00:50] cthulchu: Read error: Connection reset by peer
[03:01:57] cthulchu: has joined #ruby
[09:44:15] cthulchu: Ping timeout: 258 seconds
[18:29:07] cthulchu: has joined #ruby
[21:23:26] cthulchu: Ping timeout: 268 seconds
[21:59:52] cthulchu: has joined #ruby

2019-01-11

[06:18:59] cthulchu: has joined #ruby
[16:21:56] cthulchu: Ping timeout: 260 seconds
[17:26:22] cthulchu: has joined #ruby

2019-01-10

[00:12:55] cthulchu: I'm now switching to a few different projects none of which is Ruby. One is JS and one is Py. I never realized how much I would miss the black magic of ===
[00:13:00] cthulchu: hell it was insanely comfy
[00:13:28] cthulchu: inline regex is very comfy too
[00:14:01] cthulchu: it would be awesome if Ruby had Python's white space syntax.
[01:29:34] cthulchu: Ping timeout: 246 seconds
[17:32:36] cthulchu: has joined #ruby
[17:56:36] cthulchu: Ping timeout: 252 seconds
[18:14:46] cthulchu: has joined #ruby
[18:38:52] cthulchu: Ping timeout: 250 seconds

2019-01-07

[03:37:19] cthulchu: has joined #ruby
[03:37:29] cthulchu: guys. using #{} is not formatting, right?
[03:37:34] cthulchu: what do you call it?
[03:37:46] cthulchu: I'm trying to find something like that in py now
[08:50:13] cthulchu: Ping timeout: 244 seconds
[16:34:45] cthulchu: has joined #ruby
[16:39:27] cthulchu: Ping timeout: 258 seconds
[17:28:33] cthulchu: has joined #ruby

2019-01-05

[03:50:13] cthulchu: Ping timeout: 268 seconds
[06:16:57] cthulchu: has joined #ruby
[18:30:47] cthulchu: Disconnected by services
[18:31:13] cthulchu: has joined #ruby
[18:31:49] cthulchu: Disconnected by services

2019-01-04

[19:34:18] cthulchu: has joined #ruby
[20:40:00] cthulchu: Ping timeout: 252 seconds
[20:46:00] cthulchu: has joined #ruby
[23:20:38] cthulchu: Read error: Connection reset by peer
[23:21:06] cthulchu: has joined #ruby
[23:33:25] cthulchu: will JSON.pretty_generate prettify other object that are not hashes?
[23:35:47] cthulchu: well like would it pretty print an object like puts_r or what it's called
[23:35:56] cthulchu: including :
[23:36:06] cthulchu: I think it'll print : just fine
[23:36:09] cthulchu: I tested that
[23:41:55] cthulchu: tell me I don't need a gem for it

2019-01-02

[02:19:39] cthulchu: Disconnected by services

2018-12-31

[17:16:29] cthulchu: has joined #ruby
[19:07:06] cthulchu: Read error: Connection reset by peer
[19:11:59] cthulchu: has joined #ruby

2018-12-27

[10:12:24] cthulchu: has joined #ruby
[10:17:32] cthulchu: Ping timeout: 268 seconds

2018-12-25

[01:49:47] cthulchu: Ping timeout: 244 seconds

2018-12-24

[17:04:46] cthulchu: has joined #ruby
[20:31:23] cthulchu: Ping timeout: 272 seconds
[21:41:11] cthulchu: has joined #ruby

2018-12-21

[00:45:03] cthulchu: Ping timeout: 245 seconds

2018-12-20

[16:50:21] cthulchu: Read error: Connection reset by peer
[16:50:52] cthulchu: has joined #ruby
[23:05:55] cthulchu: Read error: Connection reset by peer
[23:06:22] cthulchu: has joined #ruby

2018-12-19

[00:20:42] cthulchu: Ping timeout: 244 seconds
[00:21:41] cthulchu: has joined #ruby
[00:28:56] cthulchu: Ping timeout: 272 seconds
[00:52:12] cthulchu: has joined #ruby
[18:06:43] cthulchu: Ping timeout: 245 seconds
[18:12:07] cthulchu: has joined #ruby
[19:03:48] cthulchu: Ping timeout: 245 seconds
[19:11:00] cthulchu: has joined #ruby
[20:05:32] cthulchu: Remote host closed the connection
[20:05:55] cthulchu: has joined #ruby
[21:26:01] cthulchu: Ping timeout: 250 seconds
[21:36:16] cthulchu: has joined #ruby
[22:12:20] cthulchu: Ping timeout: 272 seconds
[22:32:32] cthulchu: has joined #ruby

2018-12-18

[01:09:32] cthulchu: Ping timeout: 268 seconds
[18:46:20] cthulchu: has joined #ruby
[18:52:01] cthulchu: Ping timeout: 272 seconds
[18:58:22] cthulchu: has joined #ruby
[19:10:33] cthulchu: Ping timeout: 268 seconds
[19:36:26] cthulchu: has joined #ruby
[19:48:46] cthulchu: Ping timeout: 246 seconds
[19:55:26] cthulchu: has joined #ruby
[20:02:24] cthulchu: Ping timeout: 250 seconds
[20:05:04] cthulchu: has joined #ruby
[20:50:30] cthulchu: Ping timeout: 250 seconds
[20:57:34] cthulchu: has joined #ruby
[21:07:28] cthulchu: Ping timeout: 244 seconds
[21:18:06] cthulchu: has joined #ruby
[21:23:27] cthulchu: Ping timeout: 240 seconds
[22:34:55] cthulchu: has joined #ruby
[22:58:06] cthulchu: Ping timeout: 268 seconds
[23:31:55] cthulchu: has joined #ruby
[23:44:19] cthulchu: Ping timeout: 250 seconds
[23:58:54] cthulchu: has joined #ruby

2018-12-17

[06:35:02] cthulchu: Read error: Connection reset by peer
[18:57:57] cthulchu: has joined #ruby
[23:07:33] cthulchu: Ping timeout: 246 seconds
[23:11:54] cthulchu: has joined #ruby

2018-12-14

[17:52:07] cthulchu: should the indentation go one level up after method def?
[17:53:12] cthulchu: so it's like class is lobby, everything in it is the first floor, including methods' defs but then everything inside the methods is the second floor
[17:53:59] cthulchu: just like with everything else: the bodies' of code beginnings and endings are on one level lower than the bodies.

2018-12-13

[17:19:10] cthulchu: has joined #ruby
[17:42:46] cthulchu: hey folks, I have a stupid question
[17:43:28] cthulchu: I want to be able to require a file where I have a method described
[17:43:48] cthulchu: but I want to call this method without a need to reference it's class
[17:44:14] cthulchu: I guess....
[17:44:23] cthulchu: for that I'd have to define it as a global?
[17:44:28] cthulchu: in that file
[17:44:45] cthulchu: I just don't want to use the class...
[17:44:55] cthulchu: it's gonna be awkward and unneded
[17:47:29] cthulchu: oh! I know!
[17:47:33] cthulchu: Module Methods!
[17:47:36] cthulchu: right folks?
[17:48:40] cthulchu: still have to reference the method name thoufh
[17:49:24] cthulchu: well I think I can do the same
[17:49:42] cthulchu: in classes: create class (static) methods instead of instance ones
[17:54:03] cthulchu: yeah, there are a few awkward methods to make static methods, I find def self.putz the most elegant
[21:03:36] cthulchu: I have a weird case. would appreciate help
[21:04:00] cthulchu: LParser.log_processor(log: comment, platform: @platofrm) at this point I'm sure the @platform is set and has value. I'm printing it
[21:04:15] cthulchu: but inside log_processor, It becomes ""
[21:04:54] cthulchu: LParser.log_processor(log: comment, platform: @platofrm)
[21:05:18] cthulchu: do you see a typo?
[21:14:40] cthulchu: what's AST?
[21:15:29] cthulchu: is it a data structure?
[21:16:25] cthulchu: I know what it is. Just forgot the name

2018-12-12

[01:09:03] cthulchu: has joined #ruby
[01:23:22] cthulchu: folks, can I do... a = {"qwe"=>{"a"=>1}}?
[01:23:27] cthulchu: put a hash into a hash
[01:23:47] cthulchu: essentially, do they have the same structure as json?
[01:33:07] cthulchu: what are you doing?
[01:44:41] cthulchu: Quit: Leaving
[01:45:04] cthulchu: has joined #ruby
[01:55:03] cthulchu: Ping timeout: 268 seconds

2018-12-11

[19:47:16] cthulchu: has left #ruby: ("Leaving")

2018-12-05

[17:19:56] cthulchu: has joined #ruby

2018-11-23

[03:13:32] cthulchu: Ping timeout: 244 seconds

2018-11-21

[06:36:02] cthulchu: Read error: Connection reset by peer
[17:30:35] cthulchu: has joined #ruby

2018-11-19

[17:27:29] cthulchu: has joined #ruby

2018-11-17

[00:39:45] cthulchu: Ping timeout: 252 seconds

2018-11-16

[01:01:28] cthulchu: Ping timeout: 246 seconds
[17:13:49] cthulchu: has joined #ruby

2018-11-15

[02:11:46] cthulchu: folks, how do I connect my nginx to ruby backend if I don't wanna use a framework like rails?
[02:11:54] cthulchu: I also don't want to use CGI
[02:59:48] cthulchu: I don't want anything to do with web really
[02:59:54] cthulchu: nginx will do it for me
[03:01:03] cthulchu: all I want to do is to return a string to nginxz
[03:01:14] cthulchu: based on what nginx passed to me
[03:02:28] cthulchu: interesting
[03:02:45] cthulchu: maybe I could parse that request... manually...
[03:02:46] cthulchu: as a string
[03:05:06] cthulchu: okaym, socket sounds fine
[03:05:17] cthulchu: but I will need something rubbyish to listen to it...
[03:05:23] cthulchu: so ruby should run all the time
[03:05:50] cthulchu: well then I don't need nginx
[03:06:15] cthulchu: nah, it's for internal use only
[03:06:33] cthulchu: I want to let anybody ability to the QA backend
[03:06:46] cthulchu: so that they could create and manipulate test accounts
[03:07:14] cthulchu: mkay, gotta go. will look it up tomorrow, thanks

2018-11-14

[17:30:35] cthulchu: has joined #ruby

2018-11-09

[01:14:47] cthulchu: Ping timeout: 272 seconds

2018-11-08

[04:01:53] cthulchu: Remote host closed the connection
[04:02:17] cthulchu: has joined #ruby
[14:02:10] cthulchu: *.net *.split
[14:04:22] cthulchu: has joined #ruby

2018-11-05

[17:30:01] cthulchu: has joined #ruby

2018-11-02

[02:26:32] cthulchu: Ping timeout: 244 seconds

2018-10-29

[16:27:45] cthulchu: has joined #ruby

2018-10-19

[00:03:42] cthulchu: Ping timeout: 276 seconds

2018-10-18

[23:14:25] cthulchu: I'm not looking for straightforwardnes really. I look for speed and comfort
[23:15:31] cthulchu: I write tests and so my testing function accepts strings to comare them with what happens in real life, but sometimes I wanna pass a regex instead of a string when it becomes a bit dynamic
[23:16:04] cthulchu: I surely could check the type and then do regex match instead of == if the variable's type is regex, but === is so comfy
[23:28:02] cthulchu: it's pretty powerful
[23:30:50] cthulchu: interesting
[23:30:56] cthulchu: is it heavy on resources?
[23:31:07] cthulchu: I suspect === is super vicious
[23:31:42] cthulchu: what is vanilla though
[23:32:03] cthulchu: I didn't know there was vanilla pattern matching
[23:32:44] cthulchu: and both Qo and Vanilla have the same complexity?
[23:33:12] cthulchu: same complexity?
[23:33:51] cthulchu: I guess for array*array it would be O(n^2)
[23:34:33] cthulchu: I'm asking if the comlexity for both is the same
[23:35:04] cthulchu: cuz if I do O(n^2) in vanilla and then O(n) in Qo, then I can't compare them
[23:35:49] cthulchu: the complexity of the algos you compare should be the same to be able to compare them
[23:35:59] cthulchu: or rather compare the implementation
[23:36:31] cthulchu: you can, but you won't compare their benchmarks
[23:36:35] cthulchu: you will compare their Os
[23:36:47] cthulchu: if you go down to benchmarks, you assume the Os are the same
[23:37:47] cthulchu: the question is what was your vanilla
[23:37:54] cthulchu: was it comparable or not
[23:38:09] cthulchu: if it has a different complexity then it's ridiculous to compare them
[23:38:32] cthulchu: yes, and so I asked a question instead of reading the implementation
[23:40:50] cthulchu: well I guess so
[23:40:58] cthulchu: if the complexity difference is not obvious
[23:41:48] cthulchu: what I'm saying is if you want to test your implementation effectiveness, you should make sure the thing you test it with has identical complexity
[23:41:57] cthulchu: cuz if it doesn't, then you're cheating
[23:44:41] cthulchu: dropping complexity always seems very cool to me
[23:44:50] cthulchu: even if it looks overthought
[23:45:37] cthulchu: also I noticed that really polished solutions look very clean
[23:46:00] cthulchu: but if you're making a library, you want to make it as efficient as possible
[23:46:08] cthulchu: cuz you don't know what it's gonna be applied to
[23:46:22] cthulchu: like gitter
[23:48:34] cthulchu: a level is what? log(n)?
[23:50:37] cthulchu: are you sure about that?
[23:51:08] cthulchu: but yeah, I got the idea
[23:51:13] cthulchu: good chat, thanks
[23:51:17] cthulchu: gonna go home :)