jpterry

Activity Graph

Page 1 of 1

2018-07-20

[00:07:11] jpterry: *.net *.split
[00:15:50] jpterry: has joined #ruby

2018-05-29

[02:40:14] jpterry: *.net *.split
[02:40:28] jpterry: has joined #ruby
[02:47:02] jpterry: *.net *.split
[02:47:54] jpterry: has joined #ruby

2018-05-07

[13:11:09] jpterry: *.net *.split

2018-04-25

[12:25:33] jpterry: *.net *.split
[12:27:05] jpterry: has joined #ruby
[15:01:35] jpterry: *.net *.split
[15:03:31] jpterry: has joined #ruby

2018-02-24

[14:10:00] jpterry: Ping timeout: 264 seconds

2018-02-23

[15:13:02] jpterry: Ping timeout: 276 seconds
[15:30:25] jpterry: has joined #ruby

2017-12-14

[02:32:46] jpterry: *.net *.split
[02:36:25] jpterry: has joined #ruby

2017-12-11

[21:57:19] jpterry: has joined #ruby

2017-12-09

[05:06:26] jpterry: *.net *.split
[05:14:00] jpterry: has joined #ruby

2017-12-07

[14:48:36] jpterry: *.net *.split
[14:55:09] jpterry: has joined #ruby

2017-12-01

[02:29:00] jpterry: has joined #ruby

2017-10-29

[19:13:41] jpterry: Ping timeout: 240 seconds
[19:15:32] jpterry: has joined #ruby
[19:43:03] jpterry: Quit: ZNC Quit
[19:45:32] jpterry: has joined #ruby
[19:53:41] jpterry: Ping timeout: 240 seconds
[20:00:32] jpterry: has joined #ruby

2017-09-24

[00:26:41] jpterry: Ping timeout: 240 seconds
[00:34:07] jpterry: has joined #ruby

2017-09-11

[08:06:41] jpterry: Ping timeout: 240 seconds
[08:13:11] jpterry: has joined #ruby

2017-09-10

[06:35:01] jpterry: Ping timeout: 240 seconds
[06:45:32] jpterry: has joined #ruby
[06:54:21] jpterry: Ping timeout: 240 seconds
[07:15:32] jpterry: has joined #ruby
[20:12:01] jpterry: Ping timeout: 240 seconds
[20:15:33] jpterry: has joined #ruby

2017-08-14

[23:51:24] jpterry: *.net *.split
[23:55:16] jpterry: has joined #ruby
[23:57:27] jpterry: *.net *.split
[23:59:44] jpterry: has joined #ruby

2017-08-09

[08:47:18] jpterry: *.net *.split
[19:33:07] jpterry: has joined #ruby

2017-07-01

[23:14:58] jpterry: Ping timeout: 268 seconds
[23:15:31] jpterry: has joined #ruby

2017-06-20

[00:17:26] jpterry: *.net *.split
[00:22:46] jpterry: has joined #ruby

2017-06-04

[22:18:38] jpterry: Ping timeout: 268 seconds
[22:56:52] jpterry: Ping timeout: 268 seconds
[23:00:31] jpterry: has joined #ruby

2017-05-14

[03:59:38] jpterry: Ping timeout: 268 seconds
[04:00:31] jpterry: has joined #ruby
[21:42:57] jpterry: Ping timeout: 268 seconds
[21:44:51] jpterry: has joined #ruby

2017-04-11

[06:47:40] jpterry: Ping timeout: 268 seconds
[14:45:32] jpterry: has joined #ruby
[14:45:32] jpterry: has joined #RubyOnRails

2017-03-27

[07:49:21] jpterry: Ping timeout: 268 seconds
[07:53:49] jpterry: has joined #ruby
[07:53:49] jpterry: has joined #RubyOnRails

2017-03-14

[11:06:32] jpterry: Ping timeout: 268 seconds
[11:15:32] jpterry: has joined #ruby
[11:15:32] jpterry: has joined #RubyOnRails

2016-07-22

[06:02:51] jpterry: Ping timeout: 240 seconds
[06:05:49] jpterry: has joined #ruby
[06:05:49] jpterry: has joined #RubyOnRails

2016-07-21

[14:41:59] jpterry: Ping timeout: 244 seconds
[14:43:48] jpterry: has joined #ruby
[14:43:48] jpterry: has joined #RubyOnRails

2016-07-18

[18:05:38] jpterry: Ping timeout: 250 seconds
[18:07:13] jpterry: has joined #RubyOnRails
[18:07:14] jpterry: has joined #ruby

2016-07-10

[05:00:00] jpterry: *.net *.split
[08:54:03] jpterry: has joined #ruby
[08:54:07] jpterry: has joined #RubyOnRails

2016-06-22

[07:04:44] jpterry: *.net *.split

2016-06-20

[05:20:38] jpterry: Quit: ZNC Quit
[05:30:31] jpterry: has joined #ruby
[05:30:31] jpterry: has joined #RubyOnRails
[18:21:23] jpterry: Quit: ZNC Quit
[18:30:32] jpterry: has joined #ruby
[18:30:32] jpterry: has joined #RubyOnRails

2016-06-17

[23:08:34] jpterry: Quit: ZNC Quit
[23:35:08] jpterry: has joined #ruby
[23:35:08] jpterry: has joined #RubyOnRails

2016-05-24

[14:42:39] jpterry: *.net *.split
[15:40:22] jpterry: has joined #ruby
[15:40:23] jpterry: has joined #RubyOnRails

2016-05-19

[18:26:35] jpterry: *.net *.split
[18:28:56] jpterry: has joined #ruby
[18:28:56] jpterry: has joined #RubyOnRails

2016-05-03

[23:05:25] jpterry: has joined #ruby
[23:05:25] jpterry: has joined #RubyOnRails

2016-04-18

[01:02:27] jpterry: has joined #ruby
[01:02:27] jpterry: has joined #RubyOnRails
[01:12:00] jpterry: Ping timeout: 265 seconds

2016-04-13

[20:47:22] jpterry: *.net *.split

2016-03-02

[11:54:43] jpterry: has joined #ruby
[11:54:43] jpterry: has joined #RubyOnRails

2016-01-31

[12:25:02] jpterry: *.net *.split
[12:28:14] jpterry: has joined #ruby
[12:28:17] jpterry: has joined #RubyOnRails

2016-01-22

[00:53:26] jpterry: Ping timeout: 256 seconds
[01:02:39] jpterry: has joined #RubyOnRails
[01:02:40] jpterry: has joined #ruby

2016-01-18

[17:46:14] jpterry: has joined #ruby

2015-12-21

[10:13:02] jpterry: *.net *.split
[15:09:31] jpterry: has joined #RubyOnRails

2015-12-08

[11:45:04] jpterry: Ping timeout: 256 seconds
[11:50:56] jpterry: has joined #RubyOnRails
[12:04:20] jpterry: Ping timeout: 256 seconds
[12:09:57] jpterry: has joined #RubyOnRails

2015-12-02

[09:32:51] jpterry: has joined #RubyOnRails
[15:34:54] jpterry: *.net *.split
[15:41:43] jpterry: has joined #RubyOnRails
[15:51:52] jpterry: *.net *.split
[16:48:02] jpterry: has joined #RubyOnRails

2015-11-27

[08:41:32] jpterry: *.net *.split

2015-11-26

[08:17:52] jpterry: has joined #RubyOnRails
[18:34:46] jpterry: *.net *.split
[18:35:08] jpterry: has joined #RubyOnRails

2015-11-16

[23:06:50] jpterry: *.net *.split

2015-11-14

[02:57:51] jpterry: Ping timeout: 255 seconds
[02:59:34] jpterry: has joined #RubyOnRails
[06:19:49] jpterry: Ping timeout: 244 seconds
[06:20:56] jpterry: has joined #RubyOnRails

2015-10-16

[00:08:49] jpterry: has joined #RubyOnRails

2015-09-06

[04:59:24] jpterry: has joined #RubyOnRails

2015-09-04

[20:16:05] jpterry: Ping timeout: 244 seconds
[20:16:27] jpterry: has joined #RubyOnRails

2015-08-16

[07:06:47] jpterry: Ping timeout: 255 seconds

2015-08-07

[10:45:04] jpterry: *.net *.split
[10:49:19] jpterry: has joined #RubyOnRails

2015-07-20

[14:40:35] jpterry: has joined #RubyOnRails

2015-06-20

[20:53:51] jpterry: has joined #RubyOnRails
[21:01:58] jpterry: Ping timeout: 244 seconds

2015-06-19

[16:27:16] jpterry: Ping timeout: 248 seconds

2015-06-11

[07:11:55] jpterry: Ping timeout: 244 seconds
[07:14:46] jpterry: has joined #RubyOnRails

2015-05-12

[17:17:37] jpterry: Is there a good resource for learning about arel design and internals? I'd like to udnerstand more about why things the way they are. Eventually I'd like to land some postgres specific pull requests, but I want to understand the current state of things.
[17:20:15] jpterry: pipework, what do you mean by "professional level"? Is that a specific resource somewhere I've been missing all this time?
[17:21:50] jpterry: lol. Yeah I've read the source. More I'm curious about process wrt how postgres specifics should live in arel, or if they should be some extension gem. There is some precedence for both. I'm wondering where the library contributors see it going. Especially in places where mysql and postgres diverge slightly.
[17:23:34] jpterry: lol Thanks pipework. I've been working up the nerve to tweet tenderlove, but my pun game isn't on point today. ;) Thanks a lot for your help though. I'll shoot a message over to rails-core maybe once I've solidified some questions.
[17:23:57] jpterry: smathy, yeah kinda. I'm more talking about here: https://github.com/rails/arel/blob/master/lib/arel/visitors/postgresql.rb
[17:24:26] jpterry: I've got extensions I'd ilke added into here / a bug or two that some postgres specific visitor code would resolve.
[17:26:57] jpterry: smathy, Yeah I've been through that a few times. Its pretty great. At first I had no idea what it was talking about, then I could follow it, then I read through all the arel source, and now I've reached enlightenment and have a specific arel use case than needs fixin. :)
[17:35:43] jpterry: seller_you_found, quotation: quotation_you_found}`.
[17:35:43] jpterry: Vedu, personnally if all you're trying to achive is returning that json, you can do it in the controller without introducing the complexity of a presentation class. If you're planning on have more advanced composition of models down the line you might want to look into a class that manages that. For now you can get away with finding the two instances you want from the conroller, sticking them in a hash and passing that to `render json: {seller:
[17:37:38] jpterry: And you shouldn't need the QuotationSeller model, unless you really want to represent a join or something there.
[17:44:04] jpterry: aync times are hard.
[17:45:31] jpterry: Agreed thats it's never the _best_ option, and I'd never consider it "normal", or expect it in "normal" tests.
[17:48:26] jpterry: Poll with a timeout? How does your app handle eventual consistency?
[17:49:50] jpterry: I'd call that polling with a timeout.
[17:55:32] jpterry: bricker, huh? We're talking about tests right? Hopefully the load on your db in tests isn't something you're worried about too much? If you are, you could argue that you should stub the interaction entirely, then you wouldn't be worried about your eventual consistency issue in tests, only in production. As for time, yes it will take as long and be just as suseptible to failure as the user interaction.
[17:56:22] jpterry: Eventual consistency in your testing db in ruby on rails is going to be an interesting challenge.
[17:57:01] jpterry: sleeps are an answer. Ideally you'd have some kind of callback you can register to run your assertions after you know the db writes are there.
[17:57:41] jpterry: Can you run the test db in "syncronous writes mode" or something like that where the adapter blocks until the data is there? Maybe the data is coming from some other system and its cray
[17:59:12] jpterry: Okay, its an api, you should be stubbing it.
[17:59:51] jpterry: Interesting.
[18:00:11] jpterry: Still think you should be emulating real users and polling with a timeout ;)
[18:00:16] jpterry: But I'll take my leave now
[18:00:23] jpterry: Thanks for the help guys.