SegFaultAX

Activity Graph

Page 1 of 2 | Next »

2019-08-22

[00:55:53] SegFaultAX: *.net *.split
[01:13:43] SegFaultAX: has joined #ruby

2019-08-12

[08:42:43] SegFaultAX: *.net *.split
[08:47:57] SegFaultAX: has joined #ruby

2019-08-11

[03:12:45] SegFaultAX: *.net *.split
[03:18:06] SegFaultAX: has joined #ruby

2019-07-15

[06:50:37] SegFaultAX: *.net *.split
[07:16:22] SegFaultAX: has joined #ruby
[08:26:26] SegFaultAX: *.net *.split
[08:37:45] SegFaultAX: has joined #ruby

2019-07-07

[06:08:01] SegFaultAX: *.net *.split
[06:18:30] SegFaultAX: has joined #ruby

2019-07-03

[20:25:58] SegFaultAX: has joined #ruby

2019-06-28

[05:03:37] SegFaultAX: Quit: ZNC - http://znc.in

2019-04-26

[22:04:42] SegFaultAX: Quit: ZNC - http://znc.in
[22:05:41] SegFaultAX: has joined #ruby

2019-04-13

[16:49:47] SegFaultAX: *.net *.split

2019-03-12

[09:12:21] SegFaultAX: Ping timeout: 258 seconds
[09:14:41] SegFaultAX: has joined #ruby

2019-03-01

[22:52:37] SegFaultAX: *.net *.split

2018-10-30

[08:49:06] SegFaultAX: Ping timeout: 264 seconds
[08:55:48] SegFaultAX: has joined #ruby

2018-08-29

[01:49:07] SegFaultAX: *.net *.split
[01:50:17] SegFaultAX: has joined #ruby

2018-08-18

[06:31:21] SegFaultAX: Ping timeout: 240 seconds
[06:34:03] SegFaultAX: has joined #ruby

2018-08-01

[21:05:29] SegFaultAX: has joined #ruby

2018-06-21

[04:29:54] SegFaultAX: Ping timeout: 276 seconds

2018-06-03

[03:35:10] SegFaultAX: Ping timeout: 260 seconds
[03:42:25] SegFaultAX: has joined #ruby

2018-05-29

[02:44:57] SegFaultAX: *.net *.split
[02:45:26] SegFaultAX: has joined #ruby
[02:47:01] SegFaultAX: *.net *.split
[02:47:52] SegFaultAX: has joined #ruby

2018-05-21

[23:00:27] SegFaultAX: has joined #ruby

2018-05-09

[12:02:44] SegFaultAX: Quit: ZNC - http://znc.in

2018-05-05

[06:31:11] SegFaultAX: Ping timeout: 255 seconds
[06:34:11] SegFaultAX: has joined #ruby

2018-04-25

[12:25:44] SegFaultAX: *.net *.split
[12:27:22] SegFaultAX: has joined #ruby
[15:01:14] SegFaultAX: *.net *.split
[15:03:15] SegFaultAX: has joined #ruby

2018-04-05

[08:09:56] SegFaultAX: Ping timeout: 256 seconds
[08:13:22] SegFaultAX: has joined #ruby

2018-03-06

[18:39:36] SegFaultAX: has joined #ruby

2018-02-23

[18:06:38] SegFaultAX: Ping timeout: 276 seconds

2018-01-19

[08:27:35] SegFaultAX: Ping timeout: 255 seconds
[09:36:26] SegFaultAX: has joined #ruby

2018-01-18

[18:00:47] SegFaultAX: has joined #ruby

2018-01-16

[07:02:35] SegFaultAX: Quit: ZNC - http://znc.in

2018-01-12

[16:37:27] SegFaultAX: *.net *.split
[16:37:56] SegFaultAX: has joined #ruby

2017-12-18

[01:09:54] SegFaultAX: has joined #ruby

2017-12-17

[22:58:24] SegFaultAX: has joined #ruby

2017-12-01

[02:28:57] SegFaultAX: has joined #ruby

2017-11-08

[09:43:24] SegFaultAX: *.net *.split
[09:49:04] SegFaultAX: has joined #ruby

2017-11-07

[08:03:05] SegFaultAX: Ping timeout: 255 seconds
[08:08:40] SegFaultAX: has joined #ruby

2017-10-27

[12:30:33] SegFaultAX: has joined #ruby

2017-10-17

[18:47:18] SegFaultAX: has joined #ruby

2017-10-11

[05:21:28] SegFaultAX: Quit: ZNC - http://znc.in

2017-10-06

[02:05:19] SegFaultAX: Ping timeout: 255 seconds
[02:12:51] SegFaultAX: has joined #ruby

2017-09-21

[21:47:06] SegFaultAX: Ping timeout: 252 seconds
[21:55:59] SegFaultAX: has joined #ruby

2017-09-11

[17:39:23] SegFaultAX: has joined #ruby

2017-09-09

[05:03:04] SegFaultAX: Quit: ZNC - http://znc.in

2017-08-14

[18:20:31] SegFaultAX: has joined #ruby

2017-08-12

[04:00:10] SegFaultAX: Quit: ZNC - http://znc.in

2017-07-17

[21:42:43] SegFaultAX: More importantly https://github.com/carter/ham-irc-bot/blob/master/Gemfile
[21:43:49] SegFaultAX: Clone the repo, "bundle install". Just like every other Ruby project :)
[21:44:27] SegFaultAX: Don't paste it in here unless it's one line. Use a gist or something.

2017-07-14

[20:14:21] SegFaultAX: You could just bring in active_support as a dependency. active_support/core_ext/time has lots of useful stuff.
[20:14:37] SegFaultAX: (As a possible alternative to copy and paste)
[22:06:26] SegFaultAX: nathan: I don't know of a way to do that, but I probably would just write a helper method instead of trying to monkey patch a monkey patch. :)

2017-06-22

[00:31:39] SegFaultAX: has joined #ruby

2017-06-21

[12:00:44] SegFaultAX: Quit: ZNC - http://znc.in

2017-06-20

[00:17:23] SegFaultAX: *.net *.split
[00:23:04] SegFaultAX: has joined #ruby

2017-06-16

[16:53:25] SegFaultAX: has joined #ruby

2017-06-15

[12:26:30] SegFaultAX: Quit: ZNC - http://znc.in

2017-06-02

[22:40:28] SegFaultAX: Excess Flood
[22:40:55] SegFaultAX: has joined #ruby

2017-05-03

[22:25:18] SegFaultAX: rizonz: You should never expect that valid Puppet will be valid Ruby
[22:25:47] SegFaultAX: The puppet syntax is only vaguely similar to Ruby, but in most circumstances it is syntactically and semantically different.

2017-05-01

[17:38:51] SegFaultAX: has joined #ruby
[20:39:24] SegFaultAX: Lavan: Regarding reduce, does this help? https://repl.it/HaGr/0
[20:39:30] SegFaultAX: Those implementations are equivalent.
[20:40:12] SegFaultAX: It's fairly uncommon to use external iteration like that in Ruby, but perhaps more familiar if you're from another language
[20:40:43] SegFaultAX: baweaver: I chose external iteration to make it compatible with *most* other languages.
[20:41:44] SegFaultAX: Lavan: Would fold or lfold make it any clearer? :)
[20:43:03] SegFaultAX: You could certainly reduce a tree into another tree, so that language is rather ambiguous
[20:44:19] SegFaultAX: We aren't, we're being precise. And "single element" is anything but.
[20:45:14] SegFaultAX: Generally speaking it's called reduce/fold because that's what it's called. You could give a bunch of examples that demonstrate why that name makes sense, but at some point an apple is just an apple and that's the name we use. :)
[20:45:26] SegFaultAX: Not very satisfying answer, I know.
[20:47:23] SegFaultAX: [1,2,3].interleave_operation(&:+) anyone?
[21:02:25] SegFaultAX: Lavan: What was the original problem statement?
[21:05:22] SegFaultAX: Is this homework?
[21:18:28] SegFaultAX: It's either homework or a take home interview question
[21:18:33] SegFaultAX: That's my guess, anyway.

2017-04-29

[11:00:38] SegFaultAX: Quit: ZNC - http://znc.in

2017-04-19

[21:16:53] SegFaultAX: has joined #ruby

2017-04-04

[11:00:57] SegFaultAX: Quit: ZNC - http://znc.in

2017-03-12

[03:36:44] SegFaultAX: *.net *.split

2016-07-27

[00:16:33] SegFaultAX: Quit: ZNC - http://znc.in
[00:17:08] SegFaultAX: has joined #ruby

2016-07-26

[21:26:54] SegFaultAX: has joined #ruby

2016-07-22

[12:00:35] SegFaultAX: Quit: ZNC - http://znc.in
[17:01:16] SegFaultAX: has joined #ruby

2016-07-10

[04:59:59] SegFaultAX: *.net *.split
[08:54:03] SegFaultAX: has joined #ruby

2016-06-23

[20:27:36] SegFaultAX: *.net *.split
[20:27:50] SegFaultAX: has joined #ruby

2016-06-09

[17:39:18] SegFaultAX: >> ("abc" "def")
[17:39:27] SegFaultAX: ^ is there a multiline form if that?
[17:40:01] SegFaultAX: toretore: Not quite
[17:40:05] SegFaultAX: I don't want the newlines
[17:40:25] SegFaultAX: But I don't want the literal to have to be all on one line.
[17:40:48] SegFaultAX: toretore: You cannot have ("abc" <newline>"def")
[17:41:05] SegFaultAX: It doesn't concatenate all the strings together like it does in Python
[17:41:14] SegFaultAX: It ignore everything but the last line in the parens.
[17:41:28] SegFaultAX: I literally just said I don't want to use line continuations
[17:42:37] SegFaultAX: And I literally said I don't want to do that
[17:43:04] SegFaultAX: 2.3.0 :002?> "def")
[17:43:04] SegFaultAX: 2.3.0 :001 > ("abc"
[17:43:04] SegFaultAX: Assuming you mean make this:
[17:43:20] SegFaultAX: 2.3.0 :004 > "def")
[17:43:20] SegFaultAX: 2.3.0 :003 > ("abc" \
[17:43:38] SegFaultAX: Sorry for the six line paste, btw.
[17:44:05] SegFaultAX: My original question was, is there a multiline form of that so I don't have to use a line continuation.
[17:44:41] SegFaultAX: baweaver: Yea that's what I was thinking I'd have to resort to
[17:45:11] SegFaultAX: It's string to be that a parenthesized list doesn't concat all the strings
[17:45:24] SegFaultAX: That seems like a reader bug to me.
[17:45:49] SegFaultAX: It's strange to me*
[17:45:54] SegFaultAX: I can't type, ugh.
[17:47:42] SegFaultAX: eam: When inside parens, I agree. As for semicolons, no.
[17:48:21] SegFaultAX: I know it's idiotic in my heart of hearts. :)

2016-06-05

[10:53:34] SegFaultAX: Ping timeout: 260 seconds
[10:56:29] SegFaultAX: has joined #ruby

2016-05-14

[07:57:31] SegFaultAX: has joined #ruby

2016-05-12

[06:58:54] SegFaultAX: Ping timeout: 260 seconds
[07:02:20] SegFaultAX: has joined #ruby

2016-05-05

[14:27:28] SegFaultAX: Ping timeout: 264 seconds
[17:51:34] SegFaultAX: has joined #ruby

2016-04-14

[06:08:47] SegFaultAX: *.net *.split

2016-03-29

[09:10:13] SegFaultAX: Ping timeout: 268 seconds
[09:14:51] SegFaultAX: has joined #ruby

2016-03-23

[19:21:13] SegFaultAX: Ping timeout: 268 seconds
[19:24:09] SegFaultAX: has joined #ruby

2016-03-17

[00:06:05] SegFaultAX: Ping timeout: 268 seconds
[00:09:20] SegFaultAX: has joined #ruby

2016-03-14

[20:22:26] SegFaultAX: alexherbo2: #to_h is already defined for Array
[20:26:49] SegFaultAX: Sure thing. I guess it's worth also noting that you can use this fact to make a hash meaningfully mappable: {a: 1, b: 2}.map { |k, v| [k.to_s, v] }.to_h
[20:26:59] SegFaultAX: There might even already be a nicer form for that.
[20:29:33] SegFaultAX: What do you mean?
[20:30:16] SegFaultAX: askhat: h[:foo][var]
[20:30:28] SegFaultAX: askhat: h[:foo][var.to_sym] I guess
[20:33:06] SegFaultAX: Except the part where #tap isn't a combinator, I agree.
[21:59:13] SegFaultAX: Immutable values.

2016-03-01

[00:36:03] SegFaultAX: `condition = proc { |e| e == 4 }; condition.call(10)`
[00:36:31] SegFaultAX: You can also do condition[10], but that kinda sucks.
[00:45:25] SegFaultAX: Ox0dea: Yes it does
[00:46:16] SegFaultAX: Because if the variable you're using [] with was defined more than a page of code away, then you can no idea what the semantics of the subscript operator are.
[00:46:31] SegFaultAX: Is it calling comething, fetching an item from a hash/array, etc.
[00:46:52] SegFaultAX: .call is obvious and unambiguous.

2016-02-28

[03:08:54] SegFaultAX: Ping timeout: 268 seconds
[03:12:13] SegFaultAX: has joined #ruby
[04:22:53] SegFaultAX: Ping timeout: 268 seconds
[04:26:42] SegFaultAX: has joined #ruby
[04:37:04] SegFaultAX: Ping timeout: 268 seconds
[04:44:15] SegFaultAX: has joined #ruby
[04:49:25] SegFaultAX: Ping timeout: 268 seconds
[04:52:12] SegFaultAX: has joined #ruby
[04:56:48] SegFaultAX: Ping timeout: 268 seconds
[04:57:13] SegFaultAX: has joined #ruby
[05:20:51] SegFaultAX: Ping timeout: 268 seconds
[05:22:42] SegFaultAX: has joined #ruby
[05:38:08] SegFaultAX: Ping timeout: 268 seconds
[05:39:12] SegFaultAX: has joined #ruby
[05:56:39] SegFaultAX: Ping timeout: 268 seconds
[05:58:42] SegFaultAX: has joined #ruby
[10:21:48] SegFaultAX: Ping timeout: 268 seconds
[10:25:25] SegFaultAX: has joined #ruby
[10:45:14] SegFaultAX: Ping timeout: 268 seconds
[10:47:18] SegFaultAX: has joined #ruby
[11:04:57] SegFaultAX: Ping timeout: 268 seconds
[11:06:23] SegFaultAX: has joined #ruby
[11:12:21] SegFaultAX: Ping timeout: 268 seconds
[11:17:58] SegFaultAX: has joined #ruby
[13:12:00] SegFaultAX: Ping timeout: 268 seconds
[13:17:50] SegFaultAX: has joined #ruby

2016-02-27

[22:53:57] SegFaultAX: Ping timeout: 268 seconds
[22:54:03] SegFaultAX: has joined #ruby

2016-01-21

[10:32:19] SegFaultAX: has joined #ruby

2016-01-14

[09:18:09] SegFaultAX: Ping timeout: 255 seconds
[09:21:45] SegFaultAX: has joined #ruby

2015-12-27

[10:06:55] SegFaultAX: Ping timeout: 250 seconds
[10:22:45] SegFaultAX: has joined #ruby
[11:46:35] SegFaultAX: Ping timeout: 240 seconds
[12:16:49] SegFaultAX: has joined #ruby
[12:16:55] SegFaultAX: has joined #ruby
[12:16:55] SegFaultAX: Changing host

2015-12-24

[17:45:06] SegFaultAX: Ping timeout: 240 seconds
[17:51:23] SegFaultAX: has joined #ruby

2015-12-14

[08:00:41] SegFaultAX: Quit: ZNC - http://znc.in
[18:10:25] SegFaultAX: has joined #ruby

2015-12-08

[09:53:43] SegFaultAX: Ping timeout: 260 seconds
[09:59:39] SegFaultAX: has joined #ruby

2015-12-03

[08:33:15] SegFaultAX: Ping timeout: 260 seconds
[08:33:48] SegFaultAX: has joined #ruby

2015-12-02

[15:37:07] SegFaultAX: *.net *.split
[15:41:35] SegFaultAX: has joined #ruby
[15:53:15] SegFaultAX: *.net *.split
[16:47:50] SegFaultAX: has joined #ruby

2015-11-30

[04:03:49] SegFaultAX: Ping timeout: 264 seconds
[04:12:04] SegFaultAX: has joined #ruby
[05:14:36] SegFaultAX: Ping timeout: 264 seconds
[05:27:03] SegFaultAX: has joined #ruby
[07:31:24] SegFaultAX: Ping timeout: 264 seconds
[07:37:33] SegFaultAX: has joined #ruby
[18:16:24] SegFaultAX: Ping timeout: 264 seconds
[18:30:40] SegFaultAX: has joined #ruby

2015-11-29

[23:45:48] SegFaultAX: Ping timeout: 264 seconds
[23:47:03] SegFaultAX: has joined #ruby

2015-11-26

[07:46:38] SegFaultAX: has joined #ruby

2015-11-17

[05:25:23] SegFaultAX: *.net *.split

2015-11-14

[05:51:09] SegFaultAX: Ping timeout: 250 seconds
[05:52:09] SegFaultAX: has joined #ruby
[10:20:30] SegFaultAX: Ping timeout: 252 seconds
[10:20:42] SegFaultAX: has joined #ruby

2015-11-04

[04:11:31] SegFaultAX: Ping timeout: 240 seconds
[04:14:53] SegFaultAX: has joined #ruby

2015-10-23

[10:07:45] SegFaultAX: *.net *.split

2015-10-21

[09:59:56] SegFaultAX: Quit: ZNC - http://znc.in
[20:09:18] SegFaultAX: has joined #ruby

2015-10-15

[20:38:48] SegFaultAX: If I omit the first select then the foos.* columns won't be in the projection.
[20:40:32] SegFaultAX: rhizome: What don't you understand?