snockerton

Activity Graph

Page 1 of 5 | Next »

2017-09-13

[18:25:02] snockerton: has joined #ruby
[19:46:03] snockerton: Quit: Leaving.

2017-06-22

[15:20:56] snockerton: has joined #ruby
[21:22:06] snockerton: Quit: Leaving.

2017-06-13

[21:51:41] snockerton: has joined #ruby
[22:57:01] snockerton: Quit: Leaving.

2017-06-10

[22:53:43] snockerton: Quit: Leaving.

2017-06-09

[05:31:08] snockerton: Quit: Leaving.
[14:42:19] snockerton: has joined #ruby

2017-06-08

[00:04:23] snockerton: has joined #ruby
[04:14:45] snockerton: Quit: Leaving.
[14:47:54] snockerton: has joined #ruby

2017-06-03

[00:07:13] snockerton: Quit: Leaving.

2017-06-02

[05:11:00] snockerton: Quit: Leaving.
[15:03:02] snockerton: has joined #ruby

2017-06-01

[23:37:40] snockerton: has joined #ruby

2017-05-26

[00:18:22] snockerton: Quit: Leaving.

2017-05-25

[23:18:37] snockerton: has joined #ruby

2017-05-17

[00:02:05] snockerton: https://gist.github.com/adampats/4277ee7e23da8e6d55e1e04afaceaa11
[00:02:30] snockerton: can anyone tell me a better way to find a multi-nested object based on a key/value?
[00:15:37] snockerton: wow, i was messing with #dig for like an hour - didn't realize you could step in an array with the 0
[00:27:24] snockerton: Quit: Leaving.

2017-05-16

[23:49:10] snockerton: has joined #ruby

2017-05-14

[03:57:48] snockerton: has joined #ruby

2017-05-12

[23:19:31] snockerton: has joined #ruby
[23:46:45] snockerton: Quit: Leaving.

2017-04-27

[17:20:32] snockerton: has joined #ruby
[20:23:23] snockerton: Quit: Leaving.

2017-04-20

[00:06:01] snockerton: Quit: Leaving.

2017-04-19

[22:57:35] snockerton: has joined #ruby

2017-04-14

[00:35:51] snockerton: Quit: Leaving.
[14:57:02] snockerton: has joined #ruby

2017-04-13

[15:18:17] snockerton: has joined #ruby
[15:22:00] snockerton: i have a top-level method (log()) defined that uses a top-level instance variable, but when i call log() from within a class block, the instance variable is undefined - how can i get around this since attr_reader doesn't work at the top-level object?
[19:05:53] snockerton: how come puts inside of a class method doesn't go to stdout when i call it from top-level?
[19:09:29] snockerton: https://gist.github.com/adampats/0e42b14df965598d5adaf76ecd7500cb
[19:13:00] snockerton: yea, i know i don't use them correctly - that will be question 2 unless it's related to my problem with the puts not getting to stdout
[19:19:03] snockerton: ah yes, it's because i pulled that method into this class trying to fix scoping/inheritance problems in another use-case
[19:19:25] snockerton: so what you recommend for getting a "global" constant value into the class method in this case?

2017-04-12

[00:12:37] snockerton: Quit: Leaving.

2017-04-11

[21:12:02] snockerton: has joined #ruby

2017-04-06

[00:04:30] snockerton: Quit: Leaving.

2017-04-05

[16:09:10] snockerton: has joined #ruby

2017-04-03

[17:27:29] snockerton: has joined #ruby
[21:19:33] snockerton: Quit: Leaving.

2017-03-29

[18:25:30] snockerton: has joined #ruby
[21:09:52] snockerton: Quit: Leaving.
[21:42:56] snockerton: has joined #ruby
[21:52:07] snockerton: Quit: Leaving.

2017-03-23

[15:20:05] snockerton: has joined #ruby
[17:44:26] snockerton: Ping timeout: 246 seconds

2017-03-21

[00:17:37] snockerton: has joined #ruby
[03:23:47] snockerton: Quit: Leaving.

2017-03-09

[01:18:13] snockerton: Quit: Leaving.

2017-03-08

[23:49:32] snockerton: has joined #ruby

2016-06-07

[19:35:17] snockerton: has joined #ruby
[20:09:40] snockerton: has left #ruby: ()

2016-06-02

[01:41:07] snockerton: Quit: Leaving.
[02:33:25] snockerton: has joined #ruby
[05:23:45] snockerton: Quit: Leaving.
[14:46:50] snockerton: has joined #ruby
[21:39:40] snockerton: Quit: Leaving.

2016-06-01

[21:26:36] snockerton: has joined #ruby

2016-05-27

[00:06:33] snockerton: Quit: Leaving.

2016-05-26

[00:00:13] snockerton: Quit: Leaving.
[22:36:36] snockerton: has joined #ruby

2016-05-25

[03:51:19] snockerton: has joined #ruby
[04:31:44] snockerton: Quit: Leaving.
[14:59:05] snockerton: has joined #ruby

2016-05-24

[17:49:56] snockerton: has joined #ruby
[23:59:59] snockerton: Quit: Leaving.

2016-05-06

[16:47:23] snockerton: has joined #ruby
[19:49:02] snockerton: Quit: Leaving.

2016-04-26

[16:50:46] snockerton: has joined #ruby
[23:14:41] snockerton: Quit: Leaving.

2016-04-19

[17:13:09] snockerton: has joined #ruby
[23:08:34] snockerton: Quit: Leaving.

2016-04-18

[20:52:36] snockerton: has joined #ruby
[23:16:07] snockerton: Quit: Leaving.

2016-04-07

[16:49:33] snockerton: has joined #ruby
[23:06:47] snockerton: Quit: Leaving.

2016-03-29

[00:49:55] snockerton: Ping timeout: 252 seconds
[16:38:02] snockerton: has joined #ruby
[16:51:17] snockerton: Quit: Leaving.

2016-03-28

[19:15:37] snockerton: has joined #ruby

2016-03-24

[16:35:46] snockerton: has joined #ruby
[16:53:18] snockerton: Quit: Leaving.
[17:19:15] snockerton: has joined #ruby
[17:32:24] snockerton: Quit: Leaving.
[18:17:11] snockerton: has joined #ruby
[21:32:37] snockerton: Quit: Leaving.

2016-03-22

[21:02:43] snockerton: has joined #ruby
[21:32:47] snockerton: Quit: Leaving.
[22:20:33] snockerton: has joined #ruby
[22:46:35] snockerton: Quit: Leaving.

2016-03-21

[22:04:08] snockerton: has joined #RubyOnRails
[22:04:08] snockerton: has joined #ruby
[22:04:49] snockerton: so i have a flat text file containing a ruby hash print out (not json), is there a way to read this back into a new hash?
[22:14:17] snockerton: {"key1"=>"value", "key2"=>"value"}
[22:14:33] snockerton: litterally just like REPL printed hash
[22:14:53] snockerton: someone on slack suggested that eval would work, but to never use it
[22:14:55] snockerton: so i'm using it
[22:19:06] snockerton: other people's code
[22:19:17] snockerton: job logs are output as ruby hashes… yes i know
[22:20:05] snockerton: has left #RubyOnRails: ()
[23:45:28] snockerton: Quit: Leaving.

2016-03-18

[21:05:16] snockerton: has joined #RubyOnRails
[21:05:16] snockerton: has joined #ruby
[21:05:43] snockerton: this feels like a bad idea
[21:05:48] snockerton: url = opts[:url] ||= ENV['URL'] ||= "http://localhost"
[21:06:18] snockerton: url ||= opts[:url] ||= ENV['URL'] ||= "http://localhost"
[21:06:18] snockerton: oops, forgot the first double pipe
[23:06:35] snockerton: Quit: Leaving.

2016-03-17

[00:44:17] snockerton: Quit: Leaving.

2016-03-16

[15:31:24] snockerton: has joined #RubyOnRails
[15:31:24] snockerton: has joined #ruby
[16:55:17] snockerton: Quit: Leaving.
[22:42:43] snockerton: has joined #RubyOnRails
[22:42:43] snockerton: has joined #ruby
[22:43:19] snockerton: anyone use passenger? I'm trying to figure out how to use passenger_pre_start

2016-03-15

[16:35:43] snockerton: has joined #ruby
[17:49:07] snockerton: has joined #ruby
[18:10:58] snockerton: has joined #RubyOnRails
[18:11:35] snockerton: is it a dumb idea to use an initializer to pull runtime configuration?
[18:11:55] snockerton: i.e. use rest-client to grab a YML file from somewhere on the network
[18:52:22] snockerton: docker pull rails:onbuild
[21:05:43] snockerton: Ping timeout: 252 seconds

2016-03-11

[17:00:28] snockerton: has joined #ruby
[17:58:42] snockerton: Quit: Leaving.

2016-03-10

[18:47:36] snockerton: has joined #ruby
[18:59:43] snockerton: Ping timeout: 252 seconds
[20:23:15] snockerton: has joined #ruby
[23:29:08] snockerton: Quit: Leaving.
[23:30:43] snockerton: has joined #ruby

2016-03-09

[01:44:40] snockerton: Quit: Leaving.
[21:53:39] snockerton: has joined #ruby
[23:57:01] snockerton: Quit: Leaving.

2016-03-08

[23:01:48] snockerton: has joined #ruby

2016-03-07

[17:36:14] snockerton: has joined #ruby
[21:34:01] snockerton: Ping timeout: 252 seconds
[21:34:15] snockerton: has joined #ruby
[22:33:22] snockerton: Read error: Connection reset by peer
[22:34:07] snockerton: has joined #ruby
[22:34:22] snockerton: Read error: Connection reset by peer
[22:34:32] snockerton: has joined #ruby
[22:35:27] snockerton: Read error: Connection reset by peer
[22:35:32] snockerton: has joined #ruby
[22:53:57] snockerton: has joined #ruby

2016-03-05

[00:43:31] snockerton: Ping timeout: 252 seconds

2016-03-04

[17:31:36] snockerton: has joined #ruby

2016-03-03

[19:05:32] snockerton: has joined #ruby
[21:46:29] snockerton: has joined #ruby
[21:55:55] snockerton: Quit: Leaving.

2016-03-02

[00:12:14] snockerton: Quit: Leaving.
[06:41:36] snockerton: has joined #ruby
[07:48:02] snockerton: Quit: Leaving.
[19:31:01] snockerton: has joined #ruby
[19:32:11] snockerton: anyone know if it's possible to set pry-remote binding IP to something other than 127.0.0.1 so it's truly remote?
[19:35:22] snockerton: yea i saw the --help
[19:35:25] snockerton: for the client
[19:35:51] snockerton: but binding.remote_pry in my code needs an arg or something
[19:36:05] snockerton: yea trying that
[19:36:16] snockerton: just noticed it was a Server object
[19:37:38] snockerton: ah interesting
[22:29:11] snockerton: Read error: Connection reset by peer

2016-03-01

[02:14:19] snockerton: Quit: Leaving.
[21:59:41] snockerton: has joined #ruby

2016-02-29

[21:24:51] snockerton: has joined #ruby
[21:33:04] snockerton: Ping timeout: 252 seconds
[21:58:16] snockerton: has joined #ruby

2016-02-27

[01:14:46] snockerton: Quit: Leaving.

2016-02-26

[23:36:31] snockerton: has joined #ruby

2016-02-25

[00:59:44] snockerton: Quit: Leaving.

2016-02-24

[22:58:45] snockerton: has joined #ruby

2016-02-22

[21:39:27] snockerton: has joined #ruby
[23:01:13] snockerton: Ping timeout: 252 seconds

2016-01-29

[01:42:21] snockerton: Quit: Leaving.

2016-01-28

[01:03:14] snockerton: Quit: Leaving.
[22:51:10] snockerton: has joined #ruby

2016-01-27

[18:48:24] snockerton: has joined #ruby
[18:49:07] snockerton: is it possible to use popen3 and get stdout "streaming" back to the parent thread before the child thread exits?
[19:09:06] snockerton: adaedra: i can't get the default behavior of popen3 to work like that - https://gist.github.com/adampats/b1bdb665a133891d3bd7
[19:10:22] snockerton: i've tried all kinds of trickery to read stdout, but it only outputs in the parent thread once the child thread exits!
[19:12:05] snockerton: i use pry-byebug
[19:12:34] snockerton: then put binding.pry in my code / rescue block
[19:52:29] snockerton: Ox0dea: thx, i figured out it was the STDOUT.flush i was missing

2016-01-26

[17:20:31] snockerton: has joined #ruby
[17:40:58] snockerton: Quit: Leaving.

2016-01-21

[00:14:38] snockerton: Quit: Leaving.
[00:19:21] snockerton: has joined #ruby
[00:28:24] snockerton: Quit: Leaving.

2016-01-20

[00:20:33] snockerton: Quit: Leaving.
[18:20:40] snockerton: has joined #ruby

2016-01-19

[17:16:43] snockerton: has joined #ruby
[18:40:51] snockerton: has joined #ruby

2016-01-15

[01:23:26] snockerton: Ping timeout: 265 seconds
[17:05:15] snockerton: has joined #ruby
[17:23:49] snockerton: Quit: Leaving.

2016-01-14

[20:39:53] snockerton: has joined #ruby
[21:02:55] snockerton: Ping timeout: 265 seconds
[23:37:45] snockerton: has joined #ruby

2016-01-13

[23:16:37] snockerton: has joined #ruby

2016-01-12

[17:50:50] snockerton: has joined #ruby
[18:15:01] snockerton: Ping timeout: 265 seconds

2016-01-09

[00:06:02] snockerton: has joined #ruby
[00:22:31] snockerton: Quit: Leaving.

2016-01-07

[00:08:16] snockerton: Ping timeout: 265 seconds
[16:46:10] snockerton: has joined #ruby
[18:05:37] snockerton: Ping timeout: 265 seconds
[20:23:54] snockerton: has joined #ruby
[23:34:36] snockerton: Quit: Leaving.

2016-01-06

[21:38:07] snockerton: has joined #ruby

2016-01-05

[01:04:44] snockerton: Quit: Leaving.
[17:41:25] snockerton: has joined #ruby
[20:05:51] snockerton: Quit: Leaving.
[20:36:21] snockerton: has joined #ruby

2016-01-04

[23:55:39] snockerton: has joined #ruby

2015-12-31

[00:48:26] snockerton: has joined #ruby
[01:24:03] snockerton: Quit: Leaving.
[19:13:44] snockerton: has joined #ruby
[22:44:40] snockerton: Quit: Leaving.

2015-12-29

[00:29:26] snockerton: Ping timeout: 265 seconds
[16:20:31] snockerton: has joined #ruby
[22:43:49] snockerton: Quit: Leaving.

2015-12-28

[19:20:56] snockerton: has joined #ruby
[22:02:59] snockerton: Ping timeout: 265 seconds
[22:30:03] snockerton: has joined #ruby
[22:37:13] snockerton: Remote host closed the connection
[22:40:18] snockerton: has joined #ruby
[23:04:08] snockerton: has joined #ruby

2015-12-24

[00:12:51] snockerton: Quit: Leaving.

2015-12-23

[20:01:30] snockerton: has joined #ruby

2015-12-22

[16:07:12] snockerton: has joined #ruby
[23:46:55] snockerton: Quit: Leaving.