dviola

Activity Graph

Page 1 of 15 | Next »

2019-09-17

[00:27:39] dviola: Ping timeout: 240 seconds
[02:03:20] dviola: has joined #ruby

2019-09-16

[02:11:36] dviola: Quit: WeeChat 2.6
[05:00:50] dviola: has joined #RubyOnRails
[05:00:50] dviola: has joined #ruby
[05:43:58] dviola: Quit: WeeChat 2.6
[19:55:16] dviola: has joined #RubyOnRails
[19:55:16] dviola: has joined #ruby

2019-09-15

[19:36:26] dviola: has joined #RubyOnRails
[19:36:26] dviola: has joined #ruby
[19:54:22] dviola: Quit: WeeChat 2.6
[21:44:07] dviola: has joined #RubyOnRails
[21:44:07] dviola: has joined #ruby
[22:51:41] dviola: Quit: WeeChat 2.6
[22:55:20] dviola: has joined #RubyOnRails
[22:55:20] dviola: has joined #ruby

2019-09-11

[00:37:20] dviola: Quit: WeeChat 2.6

2019-09-10

[01:12:07] dviola: Quit: WeeChat 2.6
[23:12:34] dviola: has joined #RubyOnRails
[23:12:34] dviola: has joined #ruby

2019-09-09

[23:02:47] dviola: has joined #RubyOnRails
[23:02:47] dviola: has joined #ruby

2019-09-08

[01:45:26] dviola: has joined #RubyOnRails
[01:45:26] dviola: has joined #ruby
[04:14:11] dviola: Quit: WeeChat 2.5

2019-09-07

[19:14:24] dviola: has joined #RubyOnRails
[19:14:24] dviola: has joined #ruby
[20:43:58] dviola: Quit: WeeChat 2.5

2019-09-01

[02:11:28] dviola: has joined #RubyOnRails
[02:11:28] dviola: has joined #ruby
[02:34:53] dviola: Quit: WeeChat 2.5
[04:55:10] dviola: has joined #RubyOnRails
[04:55:10] dviola: has joined #ruby
[06:10:23] dviola: Quit: WeeChat 2.5

2019-08-29

[04:05:58] dviola: has joined #RubyOnRails
[04:05:58] dviola: has joined #ruby
[07:09:29] dviola: Quit: WeeChat 2.5

2019-08-25

[05:49:42] dviola: has joined #RubyOnRails
[05:49:42] dviola: has joined #ruby
[06:32:54] dviola: Quit: WeeChat 2.5

2019-08-20

[04:21:08] dviola: Quit: WeeChat 2.5

2019-08-19

[16:09:09] dviola: Quit: WeeChat 2.5
[23:07:47] dviola: has joined #RubyOnRails
[23:07:47] dviola: has joined #ruby

2019-08-18

[04:04:46] dviola: Quit: WeeChat 2.5
[18:29:34] dviola: has joined #RubyOnRails
[18:29:34] dviola: has joined #ruby

2019-08-17

[18:40:01] dviola: has joined #ruby
[18:40:02] dviola: has joined #RubyOnRails

2019-08-16

[01:51:29] dviola: Quit: WeeChat 2.5

2019-08-15

[21:54:55] dviola: has joined #RubyOnRails
[21:54:55] dviola: has joined #ruby

2019-08-14

[00:57:57] dviola: Quit: WeeChat 2.5

2019-08-13

[01:06:00] dviola: has joined #ruby
[01:06:01] dviola: has joined #RubyOnRails
[06:25:51] dviola: Quit: WeeChat 2.5
[15:38:20] dviola: has joined #RubyOnRails
[15:38:20] dviola: has joined #ruby

2019-08-12

[17:18:45] dviola: Quit: WeeChat 2.5

2019-08-11

[19:46:49] dviola: has joined #RubyOnRails
[19:46:49] dviola: has joined #ruby

2019-08-09

[02:58:00] dviola: has joined #RubyOnRails
[02:58:00] dviola: has joined #ruby
[04:41:34] dviola: Quit: WeeChat 2.5

2019-08-07

[00:25:39] dviola: Ping timeout: 248 seconds
[17:10:15] dviola: has joined #RubyOnRails
[17:10:15] dviola: has joined #ruby
[17:15:57] dviola: I'm trying to get rid of this each loop: https://github.com/diegoviola/fromthepage/blob/1175-remove-show-to-method/app/controllers/dashboard_controller.rb#L55-L59
[17:16:26] dviola: the problem is it calls all these model methods: like_owner? and collaborator? -- it expects a loop of some sort
[17:16:40] dviola: but looping on 1k records is slow
[17:25:58] dviola: havenwood: thanks, I'll try those suggestions
[17:28:27] dviola: havenwood: https://github.com/diegoviola/fromthepage/blob/master/app/models/user.rb#L102-L121 -- btw, I don't expect you to tell me how to rewrite this one
[17:29:25] dviola: collaborator? is here: https://github.com/diegoviola/fromthepage/blob/master/app/models/user.rb#L102-L121
[17:30:21] dviola: https://github.com/diegoviola/fromthepage/blob/master/app/models/user.rb#L98-L100
[17:32:12] dviola: havenwood: cool, thanks a lot :)
[17:34:42] dviola: I thought about that as well, good idea
[22:16:43] dviola: Ping timeout: 245 seconds
[22:19:17] dviola: has joined #ruby
[22:20:25] dviola: Client Quit

2019-08-06

[13:03:15] dviola: has joined #RubyOnRails
[13:03:15] dviola: has joined #ruby
[16:36:00] dviola: Ping timeout: 272 seconds
[17:30:28] dviola: has joined #ruby
[17:39:44] dviola: Quit: WeeChat 2.5
[18:48:42] dviola: has joined #RubyOnRails
[18:48:42] dviola: has joined #ruby

2019-08-05

[01:22:07] dviola: these #like_owner?, #collaborator? methods expect a loop of some sort, so a bit difficult
[01:22:20] dviola: to get rid of the each
[13:32:51] dviola: Ping timeout: 248 seconds

2019-08-04

[23:32:20] dviola: I have some horrible method where I'm doing some queries and iterating over them, it's slowing everything down, I was wondering if someone can offer some light as to how to improve it: https://gist.github.com/diegoviola/9569af9cef923c85b6c4104fdb2b8206
[23:34:33] dviola: I would like to remove that .each altogether but I can't find an alternative (need to check if a user is an owner of a collection, etc

2019-08-03

[00:01:59] dviola: has joined #RubyOnRails
[00:01:59] dviola: has joined #ruby
[17:41:46] dviola: I'm having some performance issues with an app (trying to improve it)
[17:41:52] dviola: https://github.com/benwbrum/fromthepage/blob/master/app/views/dashboard/_alphabetical_collections_and_document_sets.html.slim#L4
[17:42:47] dviola: collections_and_document_sets returns at least 800 records, that show_to? method calls other 6 queries so it does about 4800 queries as a result
[17:43:19] dviola: flooding the logs with queries, it takes about 40 seconds for that page to render
[17:47:40] dviola: https://github.com/benwbrum/fromthepage/blob/master/app/models/collection.rb#L65-L67
[17:47:44] dviola: that's the method being called

2019-07-30

[03:04:13] dviola: Quit: WeeChat 2.5

2019-07-29

[02:55:41] dviola: Quit: WeeChat 2.5
[04:13:23] dviola: has joined #RubyOnRails
[04:13:23] dviola: has joined #ruby
[05:16:50] dviola: Quit: WeeChat 2.5
[23:11:32] dviola: has joined #RubyOnRails
[23:11:32] dviola: has joined #ruby

2019-07-28

[05:55:24] dviola: Quit: WeeChat 2.5
[07:54:45] dviola: has joined #RubyOnRails
[07:54:45] dviola: has joined #ruby
[10:07:34] dviola: Quit: WeeChat 2.5
[18:16:31] dviola: has joined #RubyOnRails
[18:16:31] dviola: has joined #ruby

2019-07-27

[01:52:58] dviola: Ping timeout: 245 seconds
[02:53:01] dviola: has joined #ruby
[02:53:25] dviola: has joined #ruby
[02:53:25] dviola: Changing host
[02:53:27] dviola: has joined #RubyOnRails
[04:31:23] dviola: Quit: WeeChat 2.5
[04:47:32] dviola: has joined #RubyOnRails
[04:47:32] dviola: has joined #ruby
[08:25:26] dviola: Quit: WeeChat 2.5
[19:19:32] dviola: has joined #RubyOnRails
[19:19:32] dviola: has joined #ruby
[21:00:55] dviola: Quit: WeeChat 2.5
[21:02:40] dviola: has joined #RubyOnRails
[21:02:40] dviola: has joined #ruby
[22:16:05] dviola: Quit: WeeChat 2.5
[23:14:35] dviola: has joined #RubyOnRails
[23:14:35] dviola: has joined #ruby

2019-07-26

[21:38:41] dviola: has joined #RubyOnRails
[21:38:41] dviola: has joined #ruby
[23:12:30] dviola: Quit: WeeChat 2.5
[23:41:31] dviola: has joined #RubyOnRails
[23:41:31] dviola: has joined #ruby
[23:53:38] dviola: Ping timeout: 248 seconds
[23:57:36] dviola: has joined #ruby
[23:58:14] dviola: has joined #ruby
[23:58:14] dviola: Changing host
[23:58:18] dviola: has joined #RubyOnRails

2019-07-23

[16:09:04] dviola: has joined #RubyOnRails
[16:09:04] dviola: has joined #ruby
[16:37:35] dviola: Quit: WeeChat 2.5

2019-07-21

[22:44:45] dviola: has joined #RubyOnRails
[22:44:45] dviola: has joined #ruby
[23:06:44] dviola: Quit: WeeChat 2.5

2019-07-20

[20:21:16] dviola: has joined #RubyOnRails
[20:21:16] dviola: has joined #ruby
[22:25:02] dviola: Quit: WeeChat 2.5

2019-07-17

[21:17:12] dviola: has joined #RubyOnRails
[21:17:12] dviola: has joined #ruby
[21:26:43] dviola: Ping timeout: 245 seconds
[22:01:38] dviola: has joined #ruby
[22:11:44] dviola: has joined #ruby
[22:11:44] dviola: Changing host
[22:11:47] dviola: has joined #RubyOnRails
[23:21:07] dviola: Quit: WeeChat 2.5

2019-07-15

[02:03:23] dviola: Quit: WeeChat 2.5

2019-07-14

[10:05:57] dviola: Quit: WeeChat 2.5
[20:45:06] dviola: has joined #RubyOnRails
[20:45:06] dviola: has joined #ruby
[22:19:31] dviola: Quit: WeeChat 2.5
[23:36:02] dviola: has joined #RubyOnRails
[23:36:02] dviola: has joined #ruby

2019-07-13

[03:29:55] dviola: has joined #RubyOnRails
[03:29:55] dviola: has joined #ruby
[06:03:54] dviola: Quit: WeeChat 2.5
[06:13:44] dviola: has joined #RubyOnRails
[06:13:44] dviola: has joined #ruby
[07:19:55] dviola: Quit: WeeChat 2.5
[23:42:15] dviola: has joined #RubyOnRails
[23:42:15] dviola: has joined #ruby

2019-07-12

[02:07:47] dviola: has joined #RubyOnRails
[02:07:47] dviola: has joined #ruby
[09:20:28] dviola: Ping timeout: 245 seconds
[10:08:47] dviola: has joined #ruby
[10:09:22] dviola: has joined #ruby
[10:09:22] dviola: Changing host
[10:09:27] dviola: has joined #RubyOnRails
[10:52:33] dviola: Quit: WeeChat 2.5

2019-07-10

[03:26:29] dviola: Quit: WeeChat 2.5
[13:13:14] dviola: has joined #RubyOnRails
[13:13:14] dviola: has joined #ruby
[15:47:07] dviola: Quit: WeeChat 2.5

2019-07-09

[18:56:10] dviola: has joined #ruby
[18:56:11] dviola: has joined #RubyOnRails

2019-07-07

[02:42:39] dviola: Quit: WeeChat 2.5

2019-07-06

[00:20:37] dviola: has joined #RubyOnRails
[00:20:37] dviola: has joined #ruby
[06:26:54] dviola: Quit: WeeChat 2.5
[19:10:16] dviola: has joined #ruby
[19:10:17] dviola: has joined #RubyOnRails
[20:07:25] dviola: Quit: WeeChat 2.5
[20:14:55] dviola: has joined #RubyOnRails
[20:14:55] dviola: has joined #ruby

2019-07-05

[00:17:02] dviola: has joined #RubyOnRails
[00:17:02] dviola: has joined #ruby
[06:14:35] dviola: Quit: WeeChat 2.5

2019-07-04

[02:55:23] dviola: Quit: WeeChat 2.5
[16:36:17] dviola: has joined #RubyOnRails
[16:36:17] dviola: has joined #ruby
[22:59:38] dviola: Quit: WeeChat 2.5

2019-07-03

[03:04:14] dviola: Quit: WeeChat 2.5
[13:15:31] dviola: has joined #RubyOnRails
[13:15:31] dviola: has joined #ruby
[20:13:48] dviola: Ping timeout: 245 seconds
[21:07:42] dviola: has joined #ruby
[23:36:12] dviola: has joined #ruby
[23:36:12] dviola: Changing host
[23:36:16] dviola: has joined #RubyOnRails

2019-06-30

[01:07:53] dviola: has joined #RubyOnRails
[01:07:53] dviola: has joined #ruby

2019-06-29

[23:48:23] dviola: Ping timeout: 245 seconds

2019-06-28

[14:31:13] dviola: has joined #RubyOnRails
[14:31:13] dviola: has joined #ruby
[16:24:57] dviola: Quit: WeeChat 2.5
[16:28:55] dviola: has joined #RubyOnRails
[16:28:55] dviola: has joined #ruby
[16:48:46] dviola: Quit: WeeChat 2.5
[16:51:11] dviola: has joined #RubyOnRails
[16:51:11] dviola: has joined #ruby

2019-06-27

[02:09:23] dviola: Quit: WeeChat 2.5

2019-06-26

[01:08:14] dviola: Quit: WeeChat 2.5
[01:39:59] dviola: has joined #RubyOnRails
[01:39:59] dviola: has joined #ruby
[03:48:13] dviola: Quit: WeeChat 2.5
[18:22:18] dviola: has joined #RubyOnRails
[18:22:18] dviola: has joined #ruby

2019-06-25

[18:30:43] dviola: has joined #ruby
[18:30:44] dviola: has joined #RubyOnRails

2019-06-24

[04:21:30] dviola: has joined #RubyOnRails
[04:21:30] dviola: has joined #ruby
[11:45:32] dviola: Quit: WeeChat 2.5
[21:23:15] dviola: has joined #RubyOnRails
[21:23:15] dviola: has joined #ruby
[23:13:25] dviola: Quit: WeeChat 2.5

2019-06-23

[09:35:48] dviola: has joined #RubyOnRails
[09:35:48] dviola: has joined #ruby
[16:49:13] dviola: Ping timeout: 245 seconds

2019-06-22

[03:53:16] dviola: Quit: WeeChat 2.5

2019-06-21

[07:58:17] dviola: Quit: WeeChat 2.5
[14:03:04] dviola: has joined #ruby
[14:03:05] dviola: has joined #RubyOnRails
[19:58:08] dviola: Quit: WeeChat 2.5
[20:22:57] dviola: has joined #RubyOnRails
[20:22:57] dviola: has joined #ruby