phutchins

Activity Graph

Page 1 of 4 | Next »

2016-05-28

[02:42:03] phutchins: Ping timeout: 244 seconds
[11:24:36] phutchins: has joined #ruby
[11:30:52] phutchins: Ping timeout: 260 seconds
[11:34:47] phutchins: has joined #ruby
[11:49:04] phutchins: Quit: WeeChat 1.4

2016-05-27

[02:57:40] phutchins: Ping timeout: 252 seconds
[12:47:02] phutchins: has joined #ruby

2016-05-26

[01:54:33] phutchins: Ping timeout: 250 seconds
[10:41:35] phutchins: has joined #ruby
[14:32:26] phutchins: Expect them and you not be disappointed...
[19:09:48] phutchins: Ping timeout: 246 seconds
[20:55:27] phutchins: has joined #ruby

2016-05-25

[15:44:22] phutchins: has joined #ruby
[15:45:52] phutchins: I'm trying to do something like.... if var['bleh']['myarg'] then mystring += "-" + var['bleh']['myarg']
[15:46:19] phutchins: But, if var['bleh']['myarg'] is nil, it fails saying undefined method + for nilclass... What is the proper way to do that?
[15:47:31] phutchins: gregf_: ahhhh, thanks
[15:49:03] phutchins: gregf_: actually in that case it still adds the '-' tho, which I only want to add if the variable is defined... so could I do mystring += ("-" + var['bleh']['myarg'] || '')?
[15:50:51] phutchins: A124: How so?
[15:51:25] phutchins: A124: So basically, I have a version string. Something like "v0.7.3". If another attribute is set, I want to add a dash and then that attribute on to the end of the version string
[15:51:48] phutchins: So... If no attribute is set, it would be v0.7.3. If the attribute is set to STAGING, it would end up giving me v0.7.3-STAGING
[15:51:58] phutchins: The key is that I don't want the dash if the attribute is not set.
[15:52:19] phutchins: A124: and yeah, << is faster but not extremely worried about that atm.
[15:52:52] phutchins: gregf_: Ah, yeah that looks like it might work. let me give it a shot
[15:53:15] phutchins: norc__: yeah, typo on m y part.
[15:57:22] phutchins: gregf_: haha :)
[15:58:27] phutchins: gregf_: storj_protocol << (!node['bridge-api']['protocol'].nil? ? "-" : "")
[15:58:37] phutchins: That gives me undefined method << for nilclass
[16:03:58] phutchins: gregf_: so if node['bridge-api']['protocol'] is set, return "-" + node['bridge-api']['protocol']. If it's not set, dont' return anything (or blank string)
[16:04:39] phutchins: >> version = "v0.7.3"; env = "STAGING"; protocol = version << ("-" << env || '')
[16:04:55] phutchins: >> version = "v0.7.3"; env = nil; protocol = version << ("-" << env || '')
[16:05:09] phutchins: ^ Thats my problem :)
[16:05:40] phutchins: I could just set env to "" if I don't want to have it set but still would have to do an if env == "" or something...
[16:06:01] phutchins: But it's still got the - , dont' want the -
[16:09:31] phutchins: gregf_: An yeah, that seems to work!
[16:10:05] phutchins: >> version = "v0.7.3"; env2 = nil; protocol = version << (env2 ? "-" << env2 : '')
[16:10:20] phutchins: >> version = "v0.7.3"; env2 = "STAGING"; protocol = version << (env2 ? "-" << env2 : '')
[16:11:34] phutchins: gregf_ & norc__ thanks a ton :)
[19:10:44] phutchins: Ping timeout: 260 seconds
[20:25:29] phutchins: has joined #ruby
[20:29:59] phutchins: Ping timeout: 250 seconds
[20:42:10] phutchins: has joined #ruby

2016-01-25

[23:17:27] phutchins: Disconnected by services
[23:17:53] phutchins: has joined #ruby
[23:19:08] phutchins: Disconnected by services
[23:19:35] phutchins: has joined #ruby

2016-01-20

[13:56:02] phutchins: *.net *.split

2016-01-06

[22:38:04] phutchins: Read error: Connection reset by peer
[22:54:52] phutchins: has joined #ruby

2015-12-30

[05:06:34] phutchins: Quit: WeeChat 1.3
[13:50:48] phutchins: has joined #ruby

2015-12-28

[16:44:21] phutchins: has joined #ruby

2015-11-10

[13:02:21] phutchins: Disconnected by services

2015-11-08

[12:48:53] phutchins: Quit: WeeChat 1.3
[15:17:02] phutchins: has joined #ruby

2015-11-05

[23:15:36] phutchins: has joined #ruby

2015-10-26

[16:35:46] phutchins: has joined #ruby
[16:43:43] phutchins: Ping timeout: 246 seconds
[21:08:28] phutchins: has joined #ruby
[22:14:58] phutchins: Quit: WeeChat 1.1.1

2015-10-25

[00:14:34] phutchins: has joined #ruby
[00:19:49] phutchins: Ping timeout: 268 seconds
[02:16:03] phutchins: has joined #ruby
[02:20:47] phutchins: Ping timeout: 260 seconds
[12:23:51] phutchins: has joined #ruby
[12:28:32] phutchins: Ping timeout: 244 seconds
[13:24:59] phutchins: has joined #ruby
[13:30:00] phutchins: Ping timeout: 272 seconds
[16:27:17] phutchins: has joined #ruby
[16:31:43] phutchins: Ping timeout: 250 seconds
[20:30:03] phutchins: has joined #ruby
[20:34:47] phutchins: Ping timeout: 256 seconds
[22:31:26] phutchins: has joined #ruby
[22:36:09] phutchins: Ping timeout: 250 seconds

2015-10-24

[13:37:09] phutchins: has joined #ruby
[14:43:54] phutchins: Ping timeout: 272 seconds
[15:10:10] phutchins: has joined #ruby
[18:14:30] phutchins: Ping timeout: 255 seconds
[20:11:34] phutchins: has joined #ruby
[20:16:07] phutchins: Ping timeout: 252 seconds

2015-10-23

[01:09:50] phutchins: has joined #ruby
[02:23:01] phutchins: Ping timeout: 256 seconds

2015-10-20

[02:08:02] phutchins: Ping timeout: 268 seconds
[20:55:58] phutchins: has joined #ruby
[21:04:02] phutchins: Ping timeout: 246 seconds

2015-10-19

[11:25:18] phutchins: has joined #ruby
[11:32:04] phutchins: Quit: WeeChat 1.1.1
[11:32:33] phutchins: has joined #ruby
[11:35:16] phutchins: Client Quit
[11:35:45] phutchins: has joined #ruby
[11:36:48] phutchins: Client Quit
[11:37:10] phutchins: has joined #ruby
[11:37:41] phutchins: Client Quit
[11:38:33] phutchins: has joined #ruby
[13:09:14] phutchins: Ping timeout: 260 seconds
[20:27:11] phutchins: has joined #ruby
[21:27:19] phutchins: Ping timeout: 240 seconds
[22:32:36] phutchins: has joined #ruby

2015-10-17

[11:42:32] phutchins: has joined #ruby
[22:02:26] phutchins: Ping timeout: 240 seconds

2015-10-16

[00:10:10] phutchins: has joined #ruby
[02:11:30] phutchins: Ping timeout: 240 seconds
[10:37:02] phutchins: has joined #ruby
[18:13:43] phutchins: Ping timeout: 265 seconds

2015-10-15

[01:48:29] phutchins: Ping timeout: 250 seconds
[10:38:03] phutchins: has joined #ruby
[19:18:53] phutchins: Ping timeout: 250 seconds
[22:00:17] phutchins: has joined #ruby

2015-10-14

[02:29:50] phutchins: has joined #ruby
[05:38:08] phutchins: Ping timeout: 260 seconds
[08:34:21] phutchins: has joined #ruby
[08:39:38] phutchins: Ping timeout: 272 seconds
[11:28:00] phutchins: has joined #ruby
[11:35:01] phutchins: Quit: WeeChat 1.1.1
[11:48:54] phutchins: has joined #ruby
[12:46:38] phutchins: Ping timeout: 272 seconds
[14:50:34] phutchins: has joined #ruby
[15:50:35] phutchins: Ping timeout: 264 seconds
[16:13:16] phutchins: has joined #ruby

2015-10-13

[02:35:22] phutchins: Ping timeout: 256 seconds
[11:37:05] phutchins: has joined #ruby
[19:12:42] phutchins: Ping timeout: 252 seconds

2015-10-12

[00:17:25] phutchins: has joined #ruby
[00:22:24] phutchins: Ping timeout: 260 seconds
[02:42:30] phutchins: has joined #ruby
[02:47:00] phutchins: Ping timeout: 240 seconds
[07:59:45] phutchins: has joined #ruby
[08:04:22] phutchins: Ping timeout: 246 seconds
[12:15:42] phutchins: has joined #ruby
[12:35:17] phutchins: Quit: WeeChat 1.1.1
[16:53:41] phutchins: has joined #ruby
[17:34:40] phutchins: Ping timeout: 240 seconds
[18:03:42] phutchins: has joined #ruby
[19:35:02] phutchins: Ping timeout: 250 seconds
[19:50:20] phutchins: has joined #ruby
[20:22:28] phutchins: Ping timeout: 244 seconds
[21:40:20] phutchins: has joined #ruby

2015-10-11

[11:49:12] phutchins: has joined #ruby
[19:19:42] phutchins: Ping timeout: 256 seconds
[20:16:01] phutchins: has joined #ruby
[20:21:12] phutchins: Ping timeout: 264 seconds

2015-10-10

[04:46:31] phutchins: Ping timeout: 268 seconds
[07:43:00] phutchins: has joined #ruby
[07:47:54] phutchins: Ping timeout: 256 seconds
[12:14:47] phutchins: has joined #ruby
[14:42:44] phutchins: Ping timeout: 246 seconds

2015-10-09

[12:32:34] phutchins: has joined #ruby
[18:03:25] phutchins: Ping timeout: 264 seconds
[18:58:33] phutchins: has joined #ruby
[19:48:48] phutchins: Ping timeout: 256 seconds
[21:50:42] phutchins: has joined #ruby

2015-10-07

[01:21:26] phutchins: has joined #ruby
[02:16:51] phutchins: Ping timeout: 268 seconds
[11:05:10] phutchins: has joined #ruby
[11:44:46] phutchins: Read error: Connection reset by peer

2015-10-06

[11:34:35] phutchins: has joined #ruby
[16:35:24] phutchins: Ping timeout: 250 seconds
[17:28:09] phutchins: has joined #ruby
[19:13:00] phutchins: Ping timeout: 240 seconds
[20:42:59] phutchins: has joined #ruby
[22:11:51] phutchins: Ping timeout: 240 seconds

2015-10-05

[11:09:17] phutchins: has joined #ruby
[19:33:51] phutchins: Ping timeout: 250 seconds
[21:03:01] phutchins: has joined #ruby
[23:33:25] phutchins: Ping timeout: 264 seconds

2015-09-25

[02:12:48] phutchins: Ping timeout: 256 seconds
[03:40:55] phutchins: has joined #ruby
[03:47:19] phutchins: Ping timeout: 260 seconds
[05:44:56] phutchins: has joined #ruby
[05:49:46] phutchins: Ping timeout: 255 seconds
[10:31:57] phutchins: has joined #ruby
[10:36:45] phutchins: Ping timeout: 265 seconds
[11:08:40] phutchins: has joined #ruby
[12:45:53] phutchins: Quit: WeeChat 1.1.1

2015-09-24

[08:06:05] phutchins: Ping timeout: 244 seconds
[09:02:55] phutchins: has joined #ruby
[09:07:18] phutchins: Ping timeout: 250 seconds
[10:46:34] phutchins: has joined #ruby
[16:50:30] phutchins: Ping timeout: 252 seconds
[19:38:12] phutchins: has joined #ruby
[22:18:11] phutchins: Ping timeout: 240 seconds
[22:29:40] phutchins: has joined #ruby

2015-09-23

[12:14:52] phutchins: has joined #ruby
[18:22:32] phutchins: Ping timeout: 260 seconds
[23:40:29] phutchins: has joined #ruby

2015-09-22

[00:15:28] phutchins: has joined #ruby
[01:20:52] phutchins: Ping timeout: 260 seconds
[10:50:16] phutchins: has joined #ruby
[11:26:54] phutchins: Ping timeout: 250 seconds
[11:29:43] phutchins: has joined #ruby
[12:27:12] phutchins: Ping timeout: 264 seconds

2015-09-21

[00:03:52] phutchins: has joined #ruby
[00:43:00] phutchins: Ping timeout: 240 seconds
[10:35:11] phutchins: has joined #ruby
[10:42:37] phutchins: Quit: WeeChat 1.1.1
[11:04:19] phutchins: has joined #ruby
[19:17:31] phutchins: Ping timeout: 255 seconds
[21:01:40] phutchins: has joined #ruby
[22:33:31] phutchins: Ping timeout: 240 seconds
[23:49:47] phutchins: has joined #ruby
[23:54:48] phutchins: Ping timeout: 264 seconds

2015-09-20

[00:52:08] phutchins: has joined #ruby
[01:27:24] phutchins: Ping timeout: 256 seconds
[02:24:28] phutchins: has joined #ruby
[17:04:45] phutchins: Ping timeout: 246 seconds
[19:59:06] phutchins: has joined #ruby
[20:42:25] phutchins: Ping timeout: 264 seconds
[21:39:35] phutchins: has joined #ruby
[23:05:56] phutchins: Ping timeout: 250 seconds

2015-09-19

[02:01:04] phutchins: Ping timeout: 240 seconds
[04:50:45] phutchins: has joined #ruby
[17:31:24] phutchins: Ping timeout: 264 seconds
[18:31:17] phutchins: has joined #ruby
[18:35:29] phutchins: Ping timeout: 240 seconds
[19:03:01] phutchins: has joined #ruby
[19:46:05] phutchins: Ping timeout: 250 seconds
[20:43:43] phutchins: has joined #ruby
[21:16:24] phutchins: Ping timeout: 264 seconds
[22:12:50] phutchins: has joined #ruby
[22:34:56] phutchins: Ping timeout: 252 seconds
[23:32:08] phutchins: has joined #ruby
[23:55:25] phutchins: Ping timeout: 268 seconds

2015-09-18

[01:28:12] phutchins: Ping timeout: 252 seconds
[10:50:11] phutchins: has joined #ruby
[18:26:23] phutchins: Ping timeout: 250 seconds
[20:26:11] phutchins: has joined #ruby

2015-09-17

[02:11:43] phutchins: Ping timeout: 272 seconds
[04:56:25] phutchins: has joined #ruby
[16:12:47] phutchins: Read error: Connection reset by peer
[16:13:59] phutchins: has joined #ruby
[20:13:15] phutchins: Ping timeout: 252 seconds
[20:22:43] phutchins: has joined #ruby
[22:28:01] phutchins: Read error: Connection reset by peer
[22:28:25] phutchins: has joined #ruby

2015-09-16

[01:31:34] phutchins: has joined #ruby
[02:04:36] phutchins: Ping timeout: 246 seconds
[10:39:36] phutchins: has joined #ruby
[10:58:26] phutchins: Quit: WeeChat 1.1.1
[11:25:21] phutchins: has joined #ruby
[18:58:10] phutchins: Ping timeout: 252 seconds
[22:54:52] phutchins: has joined #ruby

2015-09-15

[00:02:36] phutchins: Ping timeout: 264 seconds
[10:57:41] phutchins: has joined #ruby
[18:39:19] phutchins: Ping timeout: 272 seconds
[21:38:37] phutchins: has joined #ruby
[22:03:48] phutchins: Ping timeout: 252 seconds

2015-09-14

[19:22:11] phutchins: Ping timeout: 272 seconds
[21:48:15] phutchins: has joined #ruby