ivanskie

Activity Graph

Page 1 of 43 | Next »

2019-04-28

[18:10:36] ivanskie: has joined #ruby-offtopic
[18:10:36] ivanskie: has joined #RubyOnRails
[18:10:57] ivanskie: has joined #ruby
[18:47:19] ivanskie: Quit: My MacBook has gone to sleep. ZZZzzz…
[18:51:46] ivanskie: has joined #ruby
[18:51:46] ivanskie: has joined #RubyOnRails
[18:51:48] ivanskie: has joined #ruby-offtopic
[18:56:37] ivanskie: Quit: Textual IRC Client: www.textualapp.com

2019-04-27

[16:50:41] ivanskie: has joined #ruby-offtopic
[16:50:41] ivanskie: has joined #RubyOnRails
[16:51:01] ivanskie: has joined #ruby
[17:14:08] ivanskie: Quit: My MacBook has gone to sleep. ZZZzzz…

2019-04-25

[03:22:04] ivanskie: has joined #ruby
[03:22:11] ivanskie: has joined #ruby-offtopic
[03:22:21] ivanskie: has joined #RubyOnRails
[03:26:03] ivanskie: Client Quit
[03:40:37] ivanskie: has joined #RubyOnRails
[03:41:20] ivanskie: Client Quit
[04:12:44] ivanskie: has joined #RubyOnRails
[04:12:57] ivanskie: has joined #ruby-offtopic
[04:13:06] ivanskie: has joined #ruby
[04:15:52] ivanskie: Client Quit
[04:16:45] ivanskie: has joined #RubyOnRails
[04:16:58] ivanskie: has joined #ruby-offtopic
[04:17:03] ivanskie: has joined #ruby
[05:40:12] ivanskie: Quit: My MacBook has gone to sleep. ZZZzzz…
[14:29:15] ivanskie: has joined #RubyOnRails
[14:29:36] ivanskie: has joined #ruby
[14:29:36] ivanskie: has joined #ruby-offtopic
[14:30:38] ivanskie: Client Quit

2019-04-04

[16:56:50] ivanskie: has joined #ruby
[17:37:00] ivanskie: Quit: My MacBook has gone to sleep. ZZZzzz…
[18:00:13] ivanskie: has joined #ruby
[18:08:49] ivanskie: Ping timeout: 246 seconds

2019-03-26

[23:05:47] ivanskie: has joined #ruby-offtopic
[23:05:49] ivanskie: has joined #RubyOnRails
[23:05:59] ivanskie: has joined #ruby
[23:23:19] ivanskie: Quit: Textual IRC Client: www.textualapp.com

2019-03-20

[21:35:20] ivanskie: has joined #ruby
[21:35:24] ivanskie: has joined #RubyOnRails
[21:35:32] ivanskie: has joined #ruby-offtopic
[23:28:59] ivanskie: Quit: Textual IRC Client: www.textualapp.com

2019-03-07

[00:42:21] ivanskie: Quit: My MacBook has gone to sleep. ZZZzzz…
[02:28:08] ivanskie: has joined #RubyOnRails
[02:28:17] ivanskie: has joined #ruby-offtopic
[02:28:20] ivanskie: has joined #ruby
[02:35:02] ivanskie: Quit: My MacBook has gone to sleep. ZZZzzz…
[02:36:15] ivanskie: has joined #ruby-offtopic
[02:36:20] ivanskie: has joined #ruby
[02:36:47] ivanskie: has joined #RubyOnRails
[03:51:39] ivanskie: Quit: Textual IRC Client: www.textualapp.com

2019-03-06

[23:23:56] ivanskie: has joined #ruby-offtopic
[23:23:56] ivanskie: has joined #ruby
[23:23:56] ivanskie: has joined #RubyOnRails

2019-02-28

[01:37:02] ivanskie: Quit: My MacBook has gone to sleep. ZZZzzz…
[16:43:12] ivanskie: has joined #RubyOnRails
[16:43:24] ivanskie: has joined #ruby
[16:43:24] ivanskie: has joined #ruby-offtopic
[16:43:42] ivanskie: Client Quit

2019-02-27

[16:51:34] ivanskie: has joined #RubyOnRails
[16:51:34] ivanskie: has joined #ruby
[16:51:55] ivanskie: has joined #ruby-offtopic

2019-02-25

[19:46:56] ivanskie: has joined #ruby-offtopic
[19:47:04] ivanskie: has joined #ruby
[19:47:08] ivanskie: has joined #RubyOnRails
[20:22:19] ivanskie: Quit: My MacBook has gone to sleep. ZZZzzz…
[20:34:57] ivanskie: has joined #ruby
[20:35:05] ivanskie: has joined #ruby-offtopic
[20:35:05] ivanskie: has joined #RubyOnRails
[23:03:32] ivanskie: Read error: Connection reset by peer

2019-02-20

[00:06:03] ivanskie: has joined #ruby
[00:06:03] ivanskie: has joined #ruby-offtopic
[00:06:20] ivanskie: has joined #RubyOnRails
[01:19:26] ivanskie: Quit: My MacBook has gone to sleep. ZZZzzz…
[03:26:15] ivanskie: has joined #ruby-offtopic
[03:26:16] ivanskie: has joined #RubyOnRails
[03:26:31] ivanskie: has joined #ruby
[07:03:23] ivanskie: Quit: Textual IRC Client: www.textualapp.com

2019-02-16

[01:52:45] ivanskie: has joined #ruby-offtopic
[01:52:48] ivanskie: has joined #RubyOnRails
[01:52:54] ivanskie: has joined #ruby
[02:49:57] ivanskie: Quit: My MacBook has gone to sleep. ZZZzzz…
[02:53:19] ivanskie: has joined #ruby
[02:53:36] ivanskie: has joined #ruby-offtopic
[02:53:36] ivanskie: has joined #RubyOnRails
[03:48:31] ivanskie: Quit: My MacBook has gone to sleep. ZZZzzz…

2019-02-05

[03:08:36] ivanskie: has joined #RubyOnRails
[03:08:49] ivanskie: has joined #ruby-offtopic
[03:08:49] ivanskie: has joined #ruby
[03:27:08] ivanskie: Ping timeout: 250 seconds
[19:24:52] ivanskie: has joined #ruby
[19:24:59] ivanskie: has joined #ruby-offtopic
[19:25:06] ivanskie: has joined #RubyOnRails
[19:53:58] ivanskie: anyone running docker-passenger image in ECS?
[19:54:14] ivanskie: or a rails app in ECS with passenger?
[20:26:29] ivanskie: Quit: Textual IRC Client: www.textualapp.com

2019-02-04

[19:24:21] ivanskie: has joined #ruby
[19:24:29] ivanskie: Client Quit

2019-02-01

[20:59:48] ivanskie: has joined #RubyOnRails
[20:59:54] ivanskie: has joined #ruby
[20:59:56] ivanskie: has joined #ruby-offtopic
[21:12:03] ivanskie: hey guys...
[21:12:23] ivanskie: anyone done upgrades of paperclip from 4.3.7 to latest stable?
[21:24:03] ivanskie: Quit: Textual IRC Client: www.textualapp.com
[22:53:45] ivanskie: has joined #ruby
[22:53:45] ivanskie: has joined #RubyOnRails
[22:53:56] ivanskie: has joined #ruby-offtopic
[23:24:39] ivanskie: Quit: Textual IRC Client: www.textualapp.com

2019-01-29

[19:54:04] ivanskie: has joined #ruby-offtopic
[19:54:11] ivanskie: has joined #ruby
[19:54:19] ivanskie: has joined #RubyOnRails
[19:57:48] ivanskie: Client Quit

2019-01-26

[00:21:46] ivanskie: Quit: My MacBook has gone to sleep. ZZZzzz…
[01:44:57] ivanskie: has joined #ruby
[01:44:58] ivanskie: has joined #RubyOnRails
[01:45:07] ivanskie: has joined #ruby-offtopic
[03:51:42] ivanskie: Quit: My MacBook has gone to sleep. ZZZzzz…
[05:13:59] ivanskie: has joined #RubyOnRails
[05:14:05] ivanskie: has joined #ruby
[05:14:07] ivanskie: has joined #ruby-offtopic
[05:21:55] ivanskie: Quit: Textual IRC Client: www.textualapp.com

2019-01-25

[17:14:18] ivanskie: has joined #ruby-offtopic
[17:14:27] ivanskie: has joined #ruby
[17:14:33] ivanskie: has joined #RubyOnRails
[17:16:30] ivanskie: any of you working with large RoR applications in production?
[17:16:49] ivanskie: How do you guys have logging setup?
[17:17:45] ivanskie: we've got lograge, errbit, newrelic.. but it looks like anything logged to Rails.logger.info is lost.
[17:17:52] ivanskie: and not logged anywhere
[17:18:26] ivanskie: too bad Shopify doesn't have their code up somewhere. or even just how their infra. and logging is setup
[17:18:53] ivanskie: oh nevermind found some articles
[17:31:15] ivanskie: aaah fridays, the quietest IRC day :)
[18:46:29] ivanskie: hi, any of you use prometheus_exporter gem ?
[18:46:56] ivanskie: I dont understand how to configure it, how does it know where to send the metrics!?
[20:14:18] ivanskie: Quit: My MacBook has gone to sleep. ZZZzzz…
[21:13:09] ivanskie: has joined #ruby-offtopic
[21:13:17] ivanskie: has joined #ruby
[21:13:25] ivanskie: has joined #RubyOnRails
[21:31:35] ivanskie: Quit: My MacBook has gone to sleep. ZZZzzz…
[22:05:59] ivanskie: has joined #ruby-offtopic
[22:06:03] ivanskie: has joined #RubyOnRails
[22:06:04] ivanskie: has joined #ruby

2019-01-23

[00:18:36] ivanskie: Quit: My MacBook has gone to sleep. ZZZzzz…
[16:47:02] ivanskie: has joined #ruby-offtopic
[16:47:06] ivanskie: has joined #RubyOnRails
[16:47:21] ivanskie: Client Quit
[16:53:54] ivanskie: has joined #ruby
[16:53:55] ivanskie: has joined #ruby-offtopic
[16:54:10] ivanskie: has joined #RubyOnRails
[17:10:19] ivanskie: Quit: Textual IRC Client: www.textualapp.com
[17:56:48] ivanskie: has joined #RubyOnRails
[17:56:55] ivanskie: has joined #ruby-offtopic
[17:57:03] ivanskie: has joined #ruby
[22:01:40] ivanskie: Read error: Connection reset by peer

2019-01-22

[20:03:45] ivanskie: has joined #RubyOnRails
[20:03:52] ivanskie: has joined #ruby
[20:03:56] ivanskie: has joined #ruby-offtopic
[20:04:31] ivanskie: hi, im running rails in docker. with compose.. and i specified bundle to install gems into ./vendor folder. im still getting this:
[20:04:32] ivanskie: core_1 | /usr/local/bundle/gems/rake-12.3.1/lib/rake/version.rb:3: warning: previous definition of VERSION was here
[20:04:32] ivanskie: core_1 | /app/vendor/ruby/2.3.0/gems/rake-12.3.1/lib/rake/version.rb:3: warning: already initialized constant Rake::VERSION
[20:04:33] ivanskie: core_1 | /app/vendor/ruby/2.3.0/gems/rake-12.3.1/lib/rake/version.rb:6: warning: already initialized constant Rake::Version::MAJOR
[20:04:34] ivanskie: core_1 | /usr/local/bundle/gems/rake-12.3.1/lib/rake/version.rb:6: warning: previous definition of MAJOR was here
[20:04:40] ivanskie: anyone seen that before?
[20:27:47] ivanskie: Quit: My MacBook has gone to sleep. ZZZzzz…
[20:55:58] ivanskie: has joined #ruby-offtopic
[20:56:00] ivanskie: has joined #ruby
[20:56:14] ivanskie: has joined #RubyOnRails

2019-01-17

[17:20:33] ivanskie: has joined #ruby-offtopic
[17:20:33] ivanskie: has joined #ruby
[17:20:43] ivanskie: has joined #RubyOnRails
[17:41:03] ivanskie: Quit: My MacBook has gone to sleep. ZZZzzz…
[17:43:22] ivanskie: has joined #ruby-offtopic
[17:43:23] ivanskie: has joined #RubyOnRails
[17:43:29] ivanskie: has joined #ruby
[18:07:14] ivanskie: Quit: My MacBook has gone to sleep. ZZZzzz…
[18:07:53] ivanskie: has joined #RubyOnRails
[18:07:55] ivanskie: has joined #ruby
[18:07:59] ivanskie: has joined #ruby-offtopic
[19:00:35] ivanskie: Quit: Textual IRC Client: www.textualapp.com

2019-01-15

[19:57:55] ivanskie: has joined #RubyOnRails
[19:57:55] ivanskie: has joined #ruby
[19:58:01] ivanskie: has joined #ruby-offtopic
[19:58:13] ivanskie: does anyone have grok patterns for Passenger logs?
[19:58:18] ivanskie: im utterly failing at trying to make my own
[20:37:38] ivanskie: Quit: My MacBook has gone to sleep. ZZZzzz…
[21:00:25] ivanskie: has joined #RubyOnRails
[21:00:26] ivanskie: has joined #ruby-offtopic
[21:00:34] ivanskie: has joined #ruby
[22:04:01] ivanskie: Quit: Textual IRC Client: www.textualapp.com

2019-01-10

[21:56:12] ivanskie: has joined #ruby-offtopic
[21:56:17] ivanskie: has joined #ruby
[21:56:23] ivanskie: has joined #RubyOnRails
[22:18:13] ivanskie: can a guard line be 'continue' or something like that in a method?
[22:18:30] ivanskie: oh nevermind
[22:33:07] ivanskie: Quit: Textual IRC Client: www.textualapp.com

2019-01-05

[00:10:30] ivanskie: Quit: My MacBook has gone to sleep. ZZZzzz…
[00:16:24] ivanskie: has joined #ruby
[00:16:38] ivanskie: has joined #ruby-offtopic
[00:16:42] ivanskie: has joined #RubyOnRails
[01:29:27] ivanskie: Quit: Textual IRC Client: www.textualapp.com

2019-01-04

[19:20:53] ivanskie: has joined #ruby
[19:20:58] ivanskie: has joined #ruby-offtopic
[19:21:00] ivanskie: has joined #RubyOnRails
[19:22:26] ivanskie: i have a what i think is a fairly common problem that I haven't dealt with yet, trying to wrap my head around. thought I might ask for suggestions here.
[19:27:15] ivanskie: refresh and get logs. it re-prints the old ones in addition to new ones, within the request limit.. of lets say 100 records. so refreshes, adds lets say 5 new lines, and 5 oldest lines dissapear, but all existing just get reprinted..
[19:27:15] ivanskie: I'm using aws sdk, getting logs from cloudwatch logs. what i ended up doing was remap the messages hash to new hash like this: { timestamp: { message: '', instanceid: '' ...} since i will be collecting logs from several streams at once, i thought I'd push them all into a single hash, then do hash.keys.sort.each { |key| print hash[key].message } ( simplified for simplicity's sake)... so the issue i'm running into now, is when i
[19:27:43] ivanskie: so how can I check, and only print new records?
[19:33:50] ivanskie: probably not in a shirt time.
[19:34:36] ivanskie: i think i need to keep track of "old" records. and when new ones come in, only deal with new records.
[19:34:55] ivanskie: like array of epoch timestamps
[19:35:09] ivanskie: ah alright let me put some code together one sec
[19:46:36] ivanskie: havenwood https://dpaste.de/yZ0A
[19:48:01] ivanskie: on every request i get about 50 records from past few seconds.. then refresh using the "nextFordwardToken", which doesn't seem to be changing much, but thats a different issue alltogether.
[19:48:19] ivanskie: so i'd like to just tail, and print only the new records, and not reprint old ones
[19:50:05] ivanskie: i mean comes in as json
[19:50:32] ivanskie: hm yeah good point i guess
[19:51:04] ivanskie: its blank at init. then i add to it on every request
[19:51:11] ivanskie: so within that block
[20:11:22] ivanskie: how do you mean
[20:11:28] ivanskie: only add new ones?
[20:12:29] ivanskie: alright thank you :)
[20:17:26] ivanskie: havenwood here's my actual code.. https://dpaste.de/zOv5#L157,158,159,163,165,166,167,168,169,170,171,172,173,174 i should be doing a comparison somewhere in there to determine only the new records. but not sure about the best way to do that. unless that means that the way i wrote that is already bad to begin with.
[20:17:55] ivanskie: within the block on lines 163-174
[20:32:26] ivanskie: that takes care of not adding duplicates. but my print block is still flawed, i'll have to do something similar there
[20:35:26] ivanskie: `if @events.keys.sorted[@events.size] < event['timestamp']` ?
[20:36:56] ivanskie: maybe add it to @new_events then only print @new_events
[20:39:11] ivanskie: or rather do that with timestamps.. only make list of new timestamps

2019-01-02

[21:50:27] ivanskie: has joined #ruby-offtopic
[21:50:35] ivanskie: has joined #ruby
[21:50:36] ivanskie: has joined #RubyOnRails
[23:20:01] ivanskie: Quit: Textual IRC Client: www.textualapp.com

2018-12-17

[22:46:06] ivanskie: has joined #RubyOnRails
[22:46:10] ivanskie: has joined #ruby
[22:46:14] ivanskie: has joined #ruby-offtopic
[23:48:21] ivanskie: Quit: Textual IRC Client: www.textualapp.com

2018-12-11

[00:22:09] ivanskie: Quit: My MacBook has gone to sleep. ZZZzzz…
[03:10:16] ivanskie: has joined #RubyOnRails
[03:10:17] ivanskie: has joined #ruby-offtopic
[03:10:28] ivanskie: has joined #ruby
[04:10:56] ivanskie: Read error: Connection reset by peer

2018-12-10

[22:53:42] ivanskie: has joined #RubyOnRails
[22:53:52] ivanskie: has joined #ruby-offtopic