impermanence

Activity Graph

Page 1 of 6 | Next »

2019-09-18

[02:10:15] impermanence: has joined #ruby
[02:32:30] impermanence: Quit: Ping timeout (120 seconds)
[02:48:54] impermanence: has joined #ruby
[08:00:03] impermanence: Ping timeout: 240 seconds

2019-09-17

[19:28:01] impermanence: has joined #ruby
[23:47:08] impermanence: Ping timeout: 276 seconds

2019-09-16

[20:44:38] impermanence: has joined #ruby
[23:36:32] impermanence: Remote host closed the connection

2019-08-30

[16:02:10] impermanence: has joined #ruby
[21:45:38] impermanence: Remote host closed the connection

2019-08-29

[17:21:19] impermanence: has joined #ruby
[18:02:08] impermanence: Ping timeout: 245 seconds

2019-08-27

[20:10:16] impermanence: has joined #ruby
[23:42:07] impermanence: Ping timeout: 245 seconds

2019-08-25

[01:03:05] impermanence: has joined #ruby
[02:39:45] impermanence: Remote host closed the connection

2019-08-24

[04:34:17] impermanence: Remote host closed the connection

2019-08-23

[16:42:31] impermanence: has joined #ruby

2019-08-15

[04:35:48] impermanence: Ping timeout: 272 seconds

2019-08-14

[12:54:28] impermanence: has joined #ruby

2019-08-13

[13:01:43] impermanence: has joined #ruby
[21:06:51] impermanence: Remote host closed the connection

2019-08-09

[16:16:40] impermanence: has joined #ruby
[16:50:02] impermanence: Ping timeout: 245 seconds

2019-08-07

[15:56:09] impermanence: has joined #ruby
[15:56:47] impermanence: 51 15 * * * /bin/ruby /usr/local/bin/cleanup -c /usr/local/bin/cleanup.yaml &> /var/log/cleanup.log || mail -s "ALARM: Host Cleanup Failed on $(hostname -i)" "systems@foo.com" "`hostname -s`<no-reply@mail.foo.com>"
[15:57:28] impermanence: I am testing a simple email alert via this || I figured that if /usr/local/bin/cleanup exited non zero then || right side would execute
[15:57:41] impermanence: this is running in crontab
[15:58:01] impermanence: and indeed left side exited !zero
[17:42:45] impermanence: gem install --http-proxy http://my_prxy.net:3128 optparse
[17:42:54] impermanence: ERROR: Could not find a valid gem 'optparse' (>= 0) in any repository
[17:43:35] impermanence: but other gems are indeed pulling
[17:43:59] impermanence: apipie-bindings pulls
[19:15:03] impermanence: Ping timeout: 245 seconds

2019-08-06

[16:18:16] impermanence: has joined #ruby
[22:45:21] impermanence: Remote host closed the connection

2019-08-05

[14:16:15] impermanence: has joined #ruby
[18:14:49] impermanence: Remote host closed the connection

2019-08-03

[18:35:42] impermanence: has joined #ruby
[20:59:04] impermanence: Ping timeout: 246 seconds

2019-07-31

[03:34:12] impermanence: has joined #ruby
[04:08:43] impermanence: Ping timeout: 244 seconds

2019-07-30

[15:52:00] impermanence: has joined #ruby
[17:06:50] impermanence: Ping timeout: 258 seconds

2019-07-28

[02:14:04] impermanence: Ping timeout: 246 seconds
[03:32:52] impermanence: has joined #ruby
[05:23:47] impermanence: Ping timeout: 245 seconds

2019-07-27

[16:50:05] impermanence: Remote host closed the connection
[18:14:34] impermanence: has joined #ruby

2019-07-26

[14:18:16] impermanence: Ping timeout: 272 seconds
[18:06:09] impermanence: has joined #ruby

2019-07-25

[09:50:15] impermanence: Ping timeout: 268 seconds
[15:36:53] impermanence: has joined #ruby
[18:27:07] impermanence: Remote host closed the connection
[23:44:59] impermanence: has joined #ruby

2019-07-24

[01:59:45] impermanence: has joined #ruby
[14:49:32] impermanence: Ping timeout: 272 seconds
[16:11:02] impermanence: has joined #ruby
[18:27:30] impermanence: Remote host closed the connection
[22:32:04] impermanence: has joined #ruby

2019-04-14

[17:10:44] impermanence: has joined #ruby
[17:11:37] impermanence: Remote host closed the connection
[17:12:14] impermanence: has joined #ruby
[17:34:23] impermanence: Remote host closed the connection

2019-01-08

[00:46:38] impermanence: has joined #ruby
[15:19:17] impermanence: Remote host closed the connection

2018-12-20

[06:28:11] impermanence: Ping timeout: 268 seconds
[15:59:52] impermanence: has joined #ruby
[16:49:05] impermanence: Ping timeout: 250 seconds

2018-12-19

[06:27:16] impermanence: Ping timeout: 250 seconds
[16:44:44] impermanence: has joined #ruby

2018-12-18

[16:48:00] impermanence: has joined #ruby

2018-12-17

[19:01:32] impermanence: has joined #ruby
[19:01:34] impermanence: Remote host closed the connection
[19:01:48] impermanence: has joined #ruby
[19:02:09] impermanence: Remote host closed the connection
[19:18:34] impermanence: has joined #ruby
[19:23:26] impermanence: Ping timeout: 250 seconds

2018-11-29

[04:08:10] impermanence: Quit: Ping timeout (120 seconds)

2018-11-28

[15:58:13] impermanence: has joined #ruby
[19:31:34] impermanence: Remote host closed the connection
[20:23:27] impermanence: has joined #ruby

2018-11-27

[18:52:57] impermanence: has joined #ruby
[19:24:33] impermanence: Ping timeout: 268 seconds
[19:34:46] impermanence: has joined #ruby
[19:34:56] impermanence: Remote host closed the connection

2018-11-19

[20:55:38] impermanence: has joined #ruby
[22:39:54] impermanence: Ping timeout: 268 seconds

2018-11-17

[00:24:31] impermanence: has joined #ruby
[14:58:19] impermanence: Remote host closed the connection

2018-11-07

[02:42:09] impermanence: Remote host closed the connection

2018-11-06

[17:29:57] impermanence: has joined #ruby

2018-11-02

[16:26:54] impermanence: has joined #ruby
[23:24:37] impermanence: Ping timeout: 244 seconds

2018-11-01

[01:10:58] impermanence: Remote host closed the connection

2018-10-31

[00:15:00] impermanence: has joined #ruby
[07:14:07] impermanence: Remote host closed the connection
[16:21:19] impermanence: has joined #ruby
[16:59:02] impermanence: Remote host closed the connection
[19:24:29] impermanence: has joined #ruby

2018-10-30

[01:16:44] impermanence: Remote host closed the connection
[16:19:18] impermanence: has joined #ruby
[20:47:55] impermanence: Remote host closed the connection

2018-10-29

[15:51:53] impermanence: has joined #ruby

2018-10-09

[18:23:45] impermanence: has joined #ruby
[23:25:34] impermanence: Remote host closed the connection

2018-10-08

[21:30:23] impermanence: has joined #ruby
[23:34:38] impermanence: Ping timeout: 245 seconds

2018-09-18

[17:28:25] impermanence: has joined #ruby
[17:29:05] impermanence: we're having a stupid debate on my team. which is better or more current: rvm or rbenv. I say rvm, the other guy says rbenv. I know it's stupid, but is there a consensus?
[17:36:22] impermanence: Remote host closed the connection
[17:42:57] impermanence: has joined #ruby
[17:43:14] impermanence: has left #ruby: ()
[17:43:30] impermanence: has joined #ruby
[22:04:43] impermanence: Ping timeout: 244 seconds

2018-09-13

[12:36:47] impermanence: has joined #ruby
[12:41:56] impermanence: Ping timeout: 272 seconds

2018-09-12

[15:47:08] impermanence: has joined #ruby
[16:44:03] impermanence: Remote host closed the connection
[17:20:15] impermanence: has joined #ruby
[18:47:07] impermanence: Remote host closed the connection

2018-09-10

[18:07:43] impermanence: has joined #ruby
[19:50:41] impermanence: Remote host closed the connection
[19:50:59] impermanence: has joined #ruby
[23:27:05] impermanence: Remote host closed the connection

2018-08-20

[19:30:58] impermanence: has joined #ruby
[21:45:27] impermanence: Remote host closed the connection

2018-08-19

[18:16:27] impermanence: has joined #ruby
[23:10:44] impermanence: Remote host closed the connection

2018-08-18

[16:15:53] impermanence: Remote host closed the connection

2018-08-17

[15:26:42] impermanence: Remote host closed the connection
[16:53:52] impermanence: has joined #ruby

2018-08-16

[16:09:35] impermanence: has joined #ruby
[17:53:51] impermanence: Remote host closed the connection
[19:32:19] impermanence: has joined #ruby

2018-08-12

[00:15:39] impermanence: Remote host closed the connection

2018-08-11

[19:12:05] impermanence: has joined #ruby

2018-08-10

[15:57:30] impermanence: has joined #ruby
[17:47:05] impermanence: Ping timeout: 240 seconds

2018-01-24

[00:53:36] impermanence: has joined #ruby
[01:52:26] impermanence: Remote host closed the connection
[15:22:28] impermanence: has joined #ruby
[15:23:03] impermanence: How can I grab a .deb or .dpkg or whatever is used in debian, not install it, but still be able to compare it to another installation?
[15:23:35] impermanence: of the same package?
[15:27:36] impermanence: apeiros: bah. guess my client defaults to Ruby. apologies.
[15:34:23] impermanence: Ping timeout: 248 seconds
[16:46:08] impermanence: has joined #ruby
[17:09:00] impermanence: Ping timeout: 268 seconds

2017-12-09

[18:47:21] impermanence: has joined #ruby
[18:47:58] impermanence: is there a typical way to dir structure src and tests? src/ test/ or...?
[19:03:32] impermanence: dminuoso: true dat. I mean, like, java has some norms'n'forms so...sjust curious.
[19:05:00] impermanence: dminuoso: makes sense to me :)
[19:06:59] impermanence: dminuoso: ah, I see.
[19:08:57] impermanence: as a newbie I like, tooootally just ask on irc ;)
[19:10:51] impermanence: dminuoso: a process monitor that reads from /proc/ and writes to ncurses or something similar.
[19:12:06] impermanence: yeah and this morning I was all like...wait...maybe I just have a test dir, lib dir, bin dir, etc...but didn't know if there were forms
[19:12:23] impermanence: *should have a test dir, etc.
[19:13:22] impermanence: So far I copied from the link that leitz posted: lib/ bin/ test/
[19:14:28] impermanence: dminuoso: hm. I was putting my minitests in there...I'm...new to ruby testing, lol
[19:15:14] impermanence: oh okay, right on
[19:17:45] impermanence: dminuoso: I'm new to minitest too but spec functionality makes up about a third of its purpose
[19:18:08] impermanence: minitest: unit, spec, mock, benchmark
[19:21:02] impermanence: leitz: I'm a total ruby newb, but I find that when I write actual applications it makes me better, thas all. I am beginning to know *nix fairly well and I was recently looking at process mon tools so I figured I'd just write my own. nuffin special.
[19:22:14] impermanence: leitz: not really
[19:22:39] impermanence: certainly nothing with an SE competency
[19:24:56] impermanence: leitz: that's the plan
[19:35:19] impermanence: Remote host closed the connection

2017-12-02

[18:49:56] impermanence: has joined #ruby
[19:12:18] impermanence: Ping timeout: 260 seconds

2017-11-22

[20:38:34] impermanence: has joined #ruby
[21:00:35] impermanence: Remote host closed the connection

2017-11-21

[16:19:54] impermanence: has joined #ruby
[16:20:11] impermanence: I have an issue on one of my agents that is apparently being caused by my master caching "stuff"
[16:20:22] impermanence: where are these caches typically and can I just delete them?
[16:20:28] impermanence: If not how do I restart a master?
[18:30:57] impermanence: Ping timeout: 248 seconds

2017-11-18

[00:38:48] impermanence: Remote host closed the connection

2017-11-17

[23:05:56] impermanence: has joined #ruby
[23:06:29] impermanence: Does anyone have experience using elasticsearch-py?

2017-11-15

[18:41:09] impermanence: has joined #ruby
[23:42:25] impermanence: Ping timeout: 248 seconds

2017-11-13

[22:09:50] impermanence: has joined #ruby
[23:41:33] impermanence: Ping timeout: 250 seconds

2017-11-09

[17:27:40] impermanence: has joined #ruby
[20:35:56] impermanence: arr = [ "string1", ... , "stringN" ] ; def installer mod ... exec "command #{mod}" end ; arr.each { |e| installer e }
[20:36:02] impermanence: exec only runs once. why?
[20:37:42] impermanence: I can post a gist but I figure this is stupidly obvious on my end or something
[20:40:02] impermanence: jhass: huh. so subshell then?
[20:43:50] impermanence: dminuoso: yeesh, well, that answers what would've been my next question. Thanks!
[20:50:56] impermanence: it's working :) yay.
[23:23:45] impermanence: Ping timeout: 248 seconds

2017-11-06

[17:42:16] impermanence: has joined #ruby
[17:44:45] impermanence: Remote host closed the connection
[21:02:23] impermanence: has joined #ruby
[23:29:08] impermanence: Ping timeout: 240 seconds

2017-11-02

[13:20:03] impermanence: has joined #ruby
[14:17:07] impermanence: Ping timeout: 260 seconds

2017-11-01

[18:07:33] impermanence: has joined #ruby
[18:35:25] impermanence: I've installed this: https://github.com/postmodern/combinatorics and when I call Set['ab', 'cd', 'ef'].powerset I am returned #<Enumerator: #<Set: {"ab", "cd", "ef"}>:powerset> as opposed to what the documentation says powerset should return. Am I missing something here? I expected an array of objects...
[18:40:54] impermanence: lupine: oh, yep. I see now. calling each on the enumerator return has straightened me out.
[18:40:59] impermanence: if you were talking to me.
[18:48:55] impermanence: How do I access elements in a data structure such as: #<Set: {3, 5, 7}>
[18:51:45] impermanence: elomatreb: touch them to be used. they don't need to be mutated, deleted, nothing else.
[18:52:05] impermanence: I guess I should just use the Set methods it seems...
[18:54:03] impermanence: havenwood: iterate over all items
[18:54:12] impermanence: havenwood: looks like each is fine...
[18:55:22] impermanence: I suppose this ...each { |i| i.each { |j| p j } } is disgusting? :)
[18:55:56] impermanence: This at least prints out what I'm looking to do, essentially
[18:56:48] impermanence: which is iterate of every element in something like this: [[1,2,3], [1,2], [1,3], [2,3], [1], [2], [3]]
[18:59:46] impermanence: Is a nested each like that terrible? I would guess that if I have to do that then probably there is a better way to do what I want.
[19:07:03] impermanence: elomatreb: yep
[19:14:46] impermanence: elomatreb: this is specifically what I am trying to do: ...
[19:15:25] impermanence: elomatreb: one sec
[19:16:29] impermanence: if any of [1, 2, 3] are factors of some number, then begin to check if the subsets of such an array are also factors: [1, 2], [1, 3], [2, 3] ... etc.
[19:16:53] impermanence: I started thinking I would use Combinatorics#powerset
[19:17:10] impermanence: which I suppose I could...
[19:17:53] impermanence: but now, algorithmically I realize that if any of [1, 2, 3] are not factors then I don't even need to produce or check their corresponding subsets...
[19:18:42] impermanence: elomatreb: that makes [1,2].size of us :)
[21:45:52] impermanence: Remote host closed the connection

2017-10-31

[15:33:10] impermanence: Remote host closed the connection
[18:42:16] impermanence: has joined #ruby
[18:43:04] impermanence: Are there methods that handle modulo arithmetic?
[18:43:33] impermanence: e.g. is_divisible? or something similar? or is my only choice % ?
[18:45:42] impermanence: Numeric.modulo.
[18:51:24] impermanence: I assume that freeze works on Integers, as well? e.g. THREE = 3.freeze
[18:51:38] impermanence: seems to...although in pry I am allowed to reassign...
[18:51:44] impermanence: it throws a warning...
[18:53:38] impermanence: I have a small program that will be using some numbers and these numbers will be constants. Should I make them constants?
[18:53:51] impermanence: I was planning on doing like: THREE = 3.freeze
[18:53:53] impermanence: or is that stupid?
[18:57:05] impermanence: matthewd: out of curiosity why do you say that having a constant named THREE is stupid? Because of how uninformative the name is?
[18:58:31] impermanence: yeah, that's kind of what I thought you were implying. makes sense.
[19:00:14] impermanence: >> 3.object_id
[22:02:08] impermanence: Ping timeout: 248 seconds
[22:22:16] impermanence: has joined #ruby
[22:53:57] impermanence: Ping timeout: 240 seconds