sarmiena_

Activity Graph

Page 1 of 5 | Next »

2018-10-09

[00:00:57] sarmiena_: still on rails 4, but i’m trying to figure out a situation where ActiveSupport::Notifications for “sql.active_record” say a query is taking X seconds, but the DB logs themselves say that the query is taking Y seconds. The difference is quite large… about 7-10 seconds
[01:09:57] sarmiena_: Quit: sarmiena_
[04:37:12] sarmiena_: has joined #RubyOnRails
[04:37:13] sarmiena_: has joined #ruby
[04:37:19] sarmiena_: Client Quit
[04:42:55] sarmiena_: has joined #ruby
[04:42:55] sarmiena_: has joined #RubyOnRails
[07:49:13] sarmiena_: Quit: sarmiena_
[16:31:49] sarmiena_: has joined #ruby
[16:31:49] sarmiena_: has joined #RubyOnRails

2018-10-08

[23:59:17] sarmiena_: has joined #ruby
[23:59:25] sarmiena_: has joined #RubyOnRails

2018-09-20

[03:12:50] sarmiena_: has joined #RubyOnRails
[03:40:37] sarmiena_: Quit: sarmiena_
[03:59:53] sarmiena_: has joined #RubyOnRails
[05:15:59] sarmiena_: Quit: sarmiena_

2018-09-19

[01:31:45] sarmiena_: has joined #RubyOnRails
[02:21:25] sarmiena_: Quit: sarmiena_
[06:00:16] sarmiena_: has joined #RubyOnRails
[06:03:24] sarmiena_: Client Quit
[14:58:11] sarmiena_: has joined #RubyOnRails
[15:14:17] sarmiena_: Quit: sarmiena_
[22:27:48] sarmiena_: has joined #RubyOnRails
[22:45:24] sarmiena_: Quit: sarmiena_
[22:49:37] sarmiena_: has joined #RubyOnRails
[22:52:29] sarmiena_: Client Quit

2018-09-17

[04:13:00] sarmiena_: has joined #RubyOnRails
[04:17:58] sarmiena_: Ping timeout: 272 seconds
[04:18:46] sarmiena_: has joined #RubyOnRails
[05:12:47] sarmiena_: Ping timeout: 240 seconds
[05:14:34] sarmiena_: has joined #RubyOnRails
[06:51:46] sarmiena_: Quit: sarmiena_
[16:11:34] sarmiena_: has joined #RubyOnRails
[19:22:34] sarmiena_: Quit: sarmiena_
[20:49:10] sarmiena_: has joined #RubyOnRails
[20:50:49] sarmiena_: Client Quit
[22:14:21] sarmiena_: has joined #RubyOnRails
[22:21:10] sarmiena_: Quit: sarmiena_

2018-09-16

[03:17:31] sarmiena_: has joined #RubyOnRails
[03:19:07] sarmiena_: Client Quit

2018-09-15

[15:38:13] sarmiena_: has joined #RubyOnRails
[16:04:38] sarmiena_: Quit: sarmiena_

2018-09-14

[00:38:10] sarmiena_: Quit: sarmiena_
[04:33:06] sarmiena_: has joined #RubyOnRails
[06:08:41] sarmiena_: Quit: sarmiena_
[14:29:27] sarmiena_: has joined #RubyOnRails
[15:11:30] sarmiena_: Quit: sarmiena_
[16:16:53] sarmiena_: has joined #RubyOnRails
[23:25:03] sarmiena_: Quit: sarmiena_

2018-09-13

[21:56:58] sarmiena_: has joined #RubyOnRails

2018-08-08

[06:59:39] sarmiena_: Quit: sarmiena_
[15:18:08] sarmiena_: has joined #RubyOnRails
[16:41:47] sarmiena_: Quit: sarmiena_
[16:44:17] sarmiena_: has joined #RubyOnRails
[19:23:46] sarmiena_: Quit: sarmiena_
[19:24:12] sarmiena_: has joined #RubyOnRails
[19:24:36] sarmiena_: Client Quit
[19:24:57] sarmiena_: has joined #RubyOnRails
[19:25:24] sarmiena_: Client Quit
[19:25:58] sarmiena_: has joined #RubyOnRails
[19:27:10] sarmiena_: Client Quit
[19:27:30] sarmiena_: has joined #RubyOnRails
[19:27:55] sarmiena_: Client Quit
[19:28:20] sarmiena_: has joined #RubyOnRails
[19:28:43] sarmiena_: Client Quit

2018-05-01

[01:31:56] sarmiena_: Quit: sarmiena_
[01:32:22] sarmiena_: Client Quit
[01:32:22] sarmiena_: has joined #ruby
[04:26:32] sarmiena_: has joined #ruby
[05:08:56] sarmiena_: Quit: sarmiena_

2018-04-30

[18:52:45] sarmiena_: has joined #ruby
[19:13:56] sarmiena_: i’ve had a ruby install on production machine for a while using SSL via httparty and such successfully. all of a sudden i’m getting “OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed” for a service we’ve had for a while
[19:14:13] sarmiena_: is it possible that they updated certs using a different vendor & my ca_certs are out of date?
[19:15:53] sarmiena_: ok. so i’m using rvm… used apt-get (ubuntu 14.04) to update openssl. then reinstalled ruby via ‘rvm install’, but still nothing working
[19:19:53] sarmiena_: SeepingN: do you have any ideas other than droll quips? sorry, but it’s just adding noise
[19:20:43] sarmiena_: miah: ack that would be a good idea. it’s authorize.net, so figure it shouldn’t be the case, but i suppose you can never be too sure
[19:21:42] sarmiena_: SeepingN: but for record i reinstalled ruby because it uses the headers of openssl during setup. so if i update openssl, i would have to rebuild ruby in order for it to use said headers
[19:22:26] sarmiena_: i think certificate b refers to the remote certificate. i’ll check
[19:23:29] sarmiena_: miah: i think it would also update security certificates so that you can utilize openssl, though
[19:23:33] sarmiena_: since it’s LTS
[19:27:10] sarmiena_: miah: so update on the remote ssl certificate. looks up to date: just went to https://api.authorize.net/
[19:32:58] sarmiena_: miah: thanks for the pointer. reading now

2017-07-31

[14:04:06] sarmiena_: has joined #ruby
[14:34:53] sarmiena_: Quit: sarmiena_

2017-07-29

[00:27:24] sarmiena_: Quit: sarmiena_
[22:45:45] sarmiena_: has joined #ruby
[23:10:54] sarmiena_: Quit: sarmiena_

2017-07-28

[00:03:46] sarmiena_: has joined #ruby
[00:26:32] sarmiena_: Quit: sarmiena_
[00:48:58] sarmiena_: has joined #ruby
[01:19:35] sarmiena_: Quit: sarmiena_
[16:31:53] sarmiena_: has joined #ruby
[21:32:20] sarmiena_: Quit: sarmiena_
[21:51:55] sarmiena_: has joined #ruby

2017-07-27

[01:14:35] sarmiena_: Quit: sarmiena_
[01:52:35] sarmiena_: has joined #ruby
[03:04:51] sarmiena_: Quit: sarmiena_
[03:08:45] sarmiena_: has joined #ruby
[03:45:15] sarmiena_: Quit: sarmiena_
[03:50:33] sarmiena_: has joined #ruby
[03:50:59] sarmiena_: Client Quit
[17:27:51] sarmiena_: has joined #ruby
[17:38:58] sarmiena_: Quit: sarmiena_
[17:58:34] sarmiena_: has joined #ruby
[21:35:09] sarmiena_: Quit: sarmiena_
[23:44:05] sarmiena_: has joined #ruby
[23:52:16] sarmiena_: Quit: sarmiena_

2017-07-26

[00:44:48] sarmiena_: has joined #ruby
[01:01:04] sarmiena_: Quit: sarmiena_
[15:12:35] sarmiena_: has joined #ruby
[15:22:23] sarmiena_: Quit: sarmiena_
[15:36:45] sarmiena_: Client Quit
[15:36:45] sarmiena_: has joined #ruby
[16:19:03] sarmiena_: has joined #ruby
[17:00:18] sarmiena_: Quit: sarmiena_
[17:34:45] sarmiena_: has joined #ruby

2017-07-25

[01:03:44] sarmiena_: Quit: sarmiena_
[01:50:27] sarmiena_: has joined #ruby
[01:57:21] sarmiena_: Quit: sarmiena_
[05:56:27] sarmiena_: has joined #ruby
[06:29:48] sarmiena_: Quit: sarmiena_
[17:46:30] sarmiena_: has joined #ruby
[23:24:08] sarmiena_: Quit: sarmiena_

2017-07-24

[16:24:03] sarmiena_: has joined #ruby

2017-07-23

[03:43:21] sarmiena_: has joined #ruby
[03:50:22] sarmiena_: Quit: sarmiena_

2017-07-21

[01:31:55] sarmiena_: Quit: sarmiena_
[05:59:05] sarmiena_: has joined #ruby
[06:34:09] sarmiena_: Quit: sarmiena_
[19:03:05] sarmiena_: has joined #ruby
[19:33:39] sarmiena_: Quit: sarmiena_
[21:46:25] sarmiena_: has joined #ruby
[22:00:10] sarmiena_: Quit: sarmiena_
[22:07:45] sarmiena_: has joined #ruby
[22:11:58] sarmiena_: Client Quit

2017-07-20

[16:53:42] sarmiena_: has joined #ruby
[16:54:59] sarmiena_: Client Quit
[19:04:11] sarmiena_: has joined #ruby

2017-07-19

[00:51:49] sarmiena_: Quit: sarmiena_
[03:17:21] sarmiena_: has joined #ruby
[03:33:37] sarmiena_: Quit: sarmiena_
[04:05:01] sarmiena_: has joined #ruby
[04:27:42] sarmiena_: Quit: sarmiena_
[16:36:56] sarmiena_: has joined #ruby
[18:03:04] sarmiena_: Ping timeout: 246 seconds
[18:10:11] sarmiena_: has joined #ruby
[21:06:54] sarmiena_: Quit: sarmiena_

2017-07-18

[01:09:40] sarmiena_: Quit: sarmiena_
[05:02:14] sarmiena_: has joined #ruby
[07:06:38] sarmiena_: Quit: sarmiena_
[17:20:31] sarmiena_: has joined #ruby

2017-07-17

[16:55:48] sarmiena_: has joined #ruby

2017-07-14

[16:40:17] sarmiena_: has joined #ruby
[21:59:39] sarmiena_: Quit: sarmiena_
[22:01:09] sarmiena_: has joined #ruby
[22:07:09] sarmiena_: Quit: sarmiena_
[22:30:55] sarmiena_: has joined #ruby
[23:28:20] sarmiena_: Quit: sarmiena_

2017-07-13

[00:14:28] sarmiena_: has joined #ruby
[00:15:31] sarmiena_: trying to track down a tricky bug and think it would be useful to see the a stacktrace of objects that invoked the current method i’m in. is this possible?
[01:43:13] sarmiena_: Quit: sarmiena_
[05:24:11] sarmiena_: has joined #ruby
[07:04:38] sarmiena_: Quit: sarmiena_
[15:19:07] sarmiena_: has joined #ruby
[15:49:57] sarmiena_: Quit: sarmiena_
[18:59:20] sarmiena_: has joined #ruby
[23:55:42] sarmiena_: Quit: sarmiena_

2015-08-10

[03:43:01] sarmiena_: has joined #ruby
[04:24:34] sarmiena_: has left #ruby: ()

2015-08-09

[00:27:02] sarmiena_: has joined #ruby
[00:32:12] sarmiena_: Searching for binary rubies, this might take some time.
[00:32:12] sarmiena_: Hi. I???m getting this error when trying to install ruby: $ rvm install --autolibs=openssl 2.2
[00:32:13] sarmiena_: No binary rubies available for: ubuntu/12.04/i386/ruby-2.2.2.
[00:32:31] sarmiena_: but if i do it without ???autolibs it works. what gives?
[00:34:31] sarmiena_: nofxx sorry i don???t follow what you???re saying
[00:35:04] sarmiena_: havenwood: yeah i do need to switch rubies
[00:36:45] sarmiena_: havenwood: so you???re saying this that it shoudn???t matter that ???autolibs is used vs not used. it would either say binary isn???t there, or it is there?
[00:37:42] sarmiena_: nofxx: before we upgrade ruby, we like to install version & gemset. allows for easy rollback in event of something we hadn???t considered
[01:29:58] sarmiena_: ok so using brightbox now. can???t seem to switch the ruby version using ruby-switch. keeps pointing to 1.9.3 (the system install) when using ruby -v
[01:50:26] sarmiena_: Quit: sarmiena_
[02:23:04] sarmiena_: has joined #ruby
[02:24:23] sarmiena_: Client Quit
[20:10:45] sarmiena_: has joined #ruby
[20:11:24] sarmiena_: i???m experiencing a segfault with a ruby gem (twilio-ruby) when trying to run it in a threaded environment (sidekiq)
[20:11:54] sarmiena_: the guys here are saying to put a global mutex lock around twilio, but having a hard time figuring out where to do that
[21:53:11] sarmiena_: Quit: sarmiena_

2015-08-05

[02:54:29] sarmiena_: has joined #ruby
[03:25:10] sarmiena_: Ping timeout: 252 seconds
[03:29:57] sarmiena_: has joined #ruby
[03:35:02] sarmiena_: Quit: sarmiena_
[21:44:10] sarmiena_: has joined #ruby
[22:38:52] sarmiena_: Ping timeout: 246 seconds

2015-08-04

[17:36:17] sarmiena_: has joined #ruby
[17:41:14] sarmiena_: so i ran into this segfault issue: https://bugs.ruby-lang.org/issues/9592
[17:41:35] sarmiena_: ruby 2.1.1-p76 & openssl 1.0.1 March 2012
[17:41:50] sarmiena_: is this fix for this to update openssl? i can???t tell what the resolution is
[17:46:17] sarmiena_: havenwood: actually i am on 2.1.6 ??? reading about ssl right now. i???m on ubuntu 12.04. going to upgrade openssl, but want to avoid the guessing game part of this issue. just trying to verify that th problem is with the version of openssl. or perhaps the bug still exists? i can???t seem to get info on it
[17:48:49] sarmiena_: havenwood: ok. yeah right now this server is firewalled & does no inbound WAN access. also, i???m using RVM & figured it might be using some other package other than my distro???s.
[17:49:08] sarmiena_: any examples on how to make RVM use my distro???s openssl?
[17:50:02] sarmiena_: ok. so if i do it this way, how would i check that it used the correct library?
[17:50:18] sarmiena_: also, this means i wouldn???t have to update openssl via ubuntu, right?
[17:50:45] sarmiena_: man i asked the right person! :)
[17:50:58] sarmiena_: ohhh hmmm. that means i???ll ahve to run rvm as root or something like that
[17:51:21] sarmiena_: ok so that would install local copy & use that instead?
[17:52:03] sarmiena_: hm. it looks like if i use read-only it won???t install it
[17:52:08] sarmiena_: only use if available
[17:52:42] sarmiena_: ruby -ropenssl -e 'p OpenSSL::OPENSSL_VERSION'
[17:52:43] sarmiena_: "OpenSSL 1.0.1 14 Mar 2012"
[17:53:18] sarmiena_: to be redundant, you???re saying use autolibs to install openssl instead of having ubuntu do it
[17:53:30] sarmiena_: then rebuild the ruby
[17:53:43] sarmiena_: *the* ruby. similar to *the* google
[17:56:15] sarmiena_: ack. been online for like 400 days haha
[17:56:25] sarmiena_: i think the universe might implode if i reboot
[18:16:09] sarmiena_: Quit: sarmiena_
[21:01:20] sarmiena_: has joined #ruby
[21:39:58] sarmiena_: Quit: sarmiena_

2015-06-25

[00:41:51] sarmiena_: Ping timeout: 248 seconds

2015-06-24

[01:03:53] sarmiena_: Quit: sarmiena_
[05:52:10] sarmiena_: Client Quit
[05:52:10] sarmiena_: has joined #ruby
[16:31:53] sarmiena_: has joined #ruby
[17:46:15] sarmiena_: Quit: sarmiena_
[18:00:20] sarmiena_: has joined #ruby

2015-06-23

[01:52:16] sarmiena_: Quit: sarmiena_
[04:19:13] sarmiena_: has joined #ruby
[05:40:54] sarmiena_: Quit: sarmiena_
[17:49:48] sarmiena_: has joined #ruby

2015-06-22

[17:56:27] sarmiena_: has joined #ruby

2015-06-20

[01:15:45] sarmiena_: Quit: sarmiena_

2015-06-19

[02:15:53] sarmiena_: Quit: sarmiena_
[16:15:25] sarmiena_: has joined #ruby

2015-06-18

[17:27:08] sarmiena_: Senjai: i found the documentation for reading in chunks, but haven???t found anything about sending in chunks :/
[17:28:05] sarmiena_: Senjai: no. i???m uploading videos from my raspberry pi to flickr account. some videos are about 1GB, but pi only has 1GB total
[17:28:16] sarmiena_: so i can???t load the whole video into memory to send
[17:39:21] sarmiena_: So any insight on doing chunked multi part post via net::http to avoid loading the entire file from disk?
[17:41:36] sarmiena_: Senjai: you must have missed it :) i did. sec lemme scroll up
[17:41:49] sarmiena_: ???no. i???m uploading videos from my raspberry pi to flickr account. some videos are about 1GB, but pi only has 1GB total???
[17:44:10] sarmiena_: yeah i saw that. but it???s pretty old and based on old ruby version. so wondering if there???s a more standard way of doing this
[17:44:27] sarmiena_: ???before i plugin an old non-maintained gem
[18:00:40] sarmiena_: jhass: couple questions about that SO answer. how is the file being chunked? i see the line that says req.body = f.read, but how big is that chunk by default?
[18:05:27] sarmiena_: yeah i can follow the concept, but don???t see how the chunking is actually happening. is it per byte? per kilobyte? and also the fact that it appears to open up a new connection every time seems wasteful if you???re doing this thousands of times
[18:05:57] sarmiena_: not aiming these questions directly at you. just questions i have hehe
[18:06:41] sarmiena_: Ruinside: what error are you getting? and how are you trying to install it?
[18:16:24] sarmiena_: this looks promising: https://gist.github.com/sasimpson/1112739