LenPayne

Activity Graph

Page 1 of 1

2019-07-28

[18:55:05] LenPayne: Quit: ZNC 1.7.3 - https://znc.in
[18:56:12] LenPayne: has joined #ruby
[18:56:12] LenPayne: has joined #RubyOnRails

2019-07-09

[20:40:29] LenPayne: Quit: ZNC 1.7.3 - https://znc.in
[20:41:43] LenPayne: has joined #ruby
[20:41:43] LenPayne: has joined #RubyOnRails

2019-06-24

[10:41:50] LenPayne: Quit: ZNC 1.7.3 - https://znc.in
[10:45:36] LenPayne: has joined #ruby
[10:45:36] LenPayne: has joined #RubyOnRails

2019-05-28

[03:18:40] LenPayne: Quit: ZNC 1.7.2 - https://znc.in
[03:19:26] LenPayne: has joined #ruby
[03:19:26] LenPayne: has joined #RubyOnRails

2019-05-24

[11:47:32] LenPayne: Ping timeout: 245 seconds
[11:48:20] LenPayne: has joined #ruby
[11:48:20] LenPayne: has joined #RubyOnRails

2019-05-12

[01:48:35] LenPayne: *.net *.split
[02:45:15] LenPayne: has joined #RubyOnRails
[02:45:17] LenPayne: has joined #ruby

2019-04-13

[16:49:37] LenPayne: *.net *.split

2019-04-11

[23:21:43] LenPayne: *.net *.split
[23:27:56] LenPayne: has joined #RubyOnRails
[23:27:59] LenPayne: has joined #ruby

2019-03-27

[15:26:06] LenPayne: has joined #ruby
[15:26:06] LenPayne: has joined #RubyOnRails

2019-03-12

[14:09:45] LenPayne: *.net *.split

2019-02-23

[19:59:04] LenPayne: Quit: ZNC 1.7.1 - https://znc.in
[20:02:50] LenPayne: has joined #ruby
[20:02:50] LenPayne: has joined #RubyOnRails

2019-01-31

[04:19:03] LenPayne: Quit: ZNC 1.7.1 - https://znc.in
[04:21:11] LenPayne: has joined #ruby
[04:21:11] LenPayne: has joined #RubyOnRails

2018-10-24

[18:48:52] LenPayne: *.net *.split

2018-10-17

[05:38:39] LenPayne: Quit: ZNC 1.7.1 - https://znc.in
[05:39:00] LenPayne: has joined #ruby
[05:39:00] LenPayne: has joined #RubyOnRails

2018-10-06

[03:09:35] LenPayne: Quit: ZNC 1.7.1 - https://znc.in
[03:11:57] LenPayne: has joined #ruby
[03:11:57] LenPayne: has joined #RubyOnRails

2018-08-18

[15:53:37] LenPayne: Quit: ZNC 1.7.0 - https://znc.in
[15:54:22] LenPayne: has joined #ruby
[15:54:22] LenPayne: has joined #RubyOnRails

2018-08-13

[19:25:20] LenPayne: *.net *.split

2018-07-20

[00:07:05] LenPayne: *.net *.split
[00:15:28] LenPayne: has joined #RubyOnRails
[00:15:45] LenPayne: has joined #ruby

2018-06-22

[02:24:52] LenPayne: Quit: ZNC 1.6.6 - http://znc.in
[02:27:07] LenPayne: has joined #ruby
[02:27:07] LenPayne: has joined #RubyOnRails

2018-05-29

[02:47:17] LenPayne: *.net *.split
[02:47:46] LenPayne: has joined #RubyOnRails
[02:48:01] LenPayne: has joined #ruby

2018-05-20

[18:27:42] LenPayne: *.net *.split
[18:28:23] LenPayne: has joined #ruby
[18:28:23] LenPayne: has joined #RubyOnRails

2018-05-11

[00:27:09] LenPayne: Quit: ZNC 1.6.6 - http://znc.in
[00:28:21] LenPayne: has joined #ruby
[00:28:21] LenPayne: has joined #RubyOnRails
[00:28:51] LenPayne: Client Quit
[00:29:34] LenPayne: has joined #ruby
[00:29:34] LenPayne: has joined #RubyOnRails

2018-05-04

[05:15:43] LenPayne: *.net *.split
[05:16:01] LenPayne: has joined #ruby
[05:16:01] LenPayne: has joined #RubyOnRails

2018-04-25

[12:25:53] LenPayne: *.net *.split
[12:27:13] LenPayne: has joined #ruby
[12:27:31] LenPayne: has joined #RubyOnRails
[15:01:24] LenPayne: *.net *.split
[15:03:06] LenPayne: has joined #RubyOnRails
[15:03:23] LenPayne: has joined #ruby

2018-04-22

[16:27:54] LenPayne: Ping timeout: 260 seconds
[16:32:58] LenPayne: has joined #ruby
[16:32:58] LenPayne: has joined #RubyOnRails

2018-04-17

[23:43:06] LenPayne: Ping timeout: 265 seconds
[23:45:34] LenPayne: has joined #ruby
[23:45:34] LenPayne: has joined #RubyOnRails

2018-04-05

[00:50:43] LenPayne: has joined #ruby
[00:50:43] LenPayne: has joined #RubyOnRails

2018-04-04

[10:15:59] LenPayne: *.net *.split

2018-03-27

[03:07:07] LenPayne: Quit: ZNC 1.6.6 - http://znc.in
[03:08:48] LenPayne: has joined #ruby
[03:08:48] LenPayne: has joined #RubyOnRails

2018-03-25

[01:22:29] LenPayne: Quit: ZNC 1.6.5 - http://znc.in
[01:22:50] LenPayne: has joined #RubyOnRails
[01:22:51] LenPayne: has joined #ruby

2018-02-23

[07:59:57] LenPayne: Ping timeout: 240 seconds
[08:02:15] LenPayne: has joined #ruby
[08:02:15] LenPayne: has joined #RubyOnRails

2018-02-22

[11:01:39] LenPayne: Ping timeout: 260 seconds
[11:04:01] LenPayne: has joined #ruby
[11:04:01] LenPayne: has joined #RubyOnRails

2018-02-21

[12:41:18] LenPayne: Ping timeout: 240 seconds
[12:42:09] LenPayne: has joined #ruby
[12:42:09] LenPayne: has joined #RubyOnRails
[13:16:40] LenPayne: syndikate: Is this a one-time thing, or something you'll repeat over and over again?
[13:17:30] LenPayne: Any reason you can't just go straight to the data store and update in SQL?
[13:22:35] LenPayne: More time as in running time? Or coding time? I imagine the coding time is Blah.all.each do |b| ... end
[13:23:12] LenPayne: But the running time may be pretty extensive.
[13:24:41] LenPayne: The biggest challenge I've found is that Rails is going to be loading each item one by one, depending on how you approach it. So like the Blah.all does SELECT * FROM blah. But then the .each do does a second SELECT * FROM blah WHERE id = ... for each of them.
[13:25:15] LenPayne: So it's probably hitting your DB several times for each record.
[13:26:15] LenPayne: ps- I may be incorrect on the exact SQL translation, but the general effects of using iterators with ActiveRecord is that it makes a LOT of DB requests. You can see this if you turn on SQL debugging.
[13:27:01] LenPayne: We recently had a challenge with our reports suite. We were using find_each too. And it took 50min to run a single report.
[13:27:29] LenPayne: I switched to run a single SQL query instead, to get the aggregate. It sped up to 1-4sec.
[13:28:36] LenPayne: I'd say let it run.
[13:28:44] LenPayne: Does it affect any production workloads?
[13:29:12] LenPayne: If not: https://xkcd.com/303/

2018-02-03

[01:41:19] LenPayne: Quit: ZNC 1.6.5 - http://znc.in
[01:45:06] LenPayne: has joined #ruby
[01:45:06] LenPayne: has joined #RubyOnRails

2018-01-23

[03:44:45] LenPayne: Quit: ZNC 1.6.5 - http://znc.in
[03:45:30] LenPayne: has joined #ruby
[03:52:09] LenPayne: Quit: ZNC 1.6.5 - http://znc.in
[03:52:58] LenPayne: has joined #ruby
[03:53:42] LenPayne: has joined #RubyOnRails
[21:13:57] LenPayne: Ping timeout: 240 seconds
[21:15:14] LenPayne: has joined #RubyOnRails
[21:15:15] LenPayne: has joined #ruby
[21:35:27] LenPayne: Ping timeout: 240 seconds
[21:38:35] LenPayne: has joined #ruby
[21:38:35] LenPayne: has joined #RubyOnRails

2018-01-17

[01:55:48] LenPayne: Quit: ZNC 1.6.5 - http://znc.in
[01:57:52] LenPayne: has joined #ruby

2018-01-12

[09:58:11] LenPayne: Ping timeout: 255 seconds
[10:13:34] LenPayne: has joined #ruby
[10:27:57] LenPayne: Ping timeout: 264 seconds
[10:58:26] LenPayne: has joined #ruby
[12:38:45] LenPayne: Ping timeout: 260 seconds
[12:42:42] LenPayne: has joined #ruby
[15:22:17] LenPayne: Ping timeout: 276 seconds
[15:28:48] LenPayne: has joined #ruby
[16:26:39] LenPayne: Quit: ZNC 1.6.5 - http://znc.in
[16:28:39] LenPayne: has joined #ruby

2018-01-11

[01:26:05] LenPayne: Ping timeout: 240 seconds
[01:29:35] LenPayne: has joined #ruby
[04:32:35] LenPayne: Ping timeout: 240 seconds
[05:14:27] LenPayne: has joined #ruby
[13:38:07] LenPayne: Ping timeout: 248 seconds
[14:18:26] LenPayne: has joined #ruby
[18:38:23] LenPayne: Ping timeout: 252 seconds
[18:48:15] LenPayne: has joined #ruby

2018-01-10

[07:27:25] LenPayne: Ping timeout: 268 seconds
[07:28:17] LenPayne: has joined #ruby
[16:12:27] LenPayne: Ping timeout: 240 seconds
[16:18:35] LenPayne: has joined #ruby
[22:17:57] LenPayne: Ping timeout: 240 seconds
[22:18:13] LenPayne: has joined #ruby
[22:27:25] LenPayne: Ping timeout: 256 seconds
[22:29:15] LenPayne: has joined #ruby

2017-12-01

[02:28:52] LenPayne: has joined #ruby

2017-11-15

[03:22:32] LenPayne: Quit: WeeChat 0.4.3
[03:23:37] LenPayne: has joined #ruby

2017-10-29

[15:04:17] LenPayne: Aptana is Eclipse-based. So it's a set of plugins on top of Eclipse that focus it away from Java and more into PHP/Ruby/JavaScript style practices.

2017-10-24

[23:19:20] LenPayne: has joined #ruby
[23:19:25] LenPayne: has joined #RubyOnRails