rcs

Activity Graph

Page 1 of 1

2019-09-06

[03:57:14] rcs: Ping timeout: 258 seconds
[04:00:55] rcs: has joined #ruby

2019-07-11

[05:36:20] rcs: has joined #ruby

2018-07-31

[01:50:35] rcs: Ping timeout: 240 seconds

2018-07-20

[00:07:26] rcs: *.net *.split
[00:15:36] rcs: has joined #ruby

2018-07-18

[05:16:29] rcs: *.net *.split
[05:20:08] rcs: has joined #ruby

2018-06-26

[19:02:18] rcs: has joined #ruby

2018-06-21

[04:28:57] rcs: Ping timeout: 245 seconds

2018-06-12

[00:55:04] rcs: has joined #ruby

2018-05-02

[12:07:14] rcs: Quit: ZNC - http://znc.in

2018-04-25

[12:26:05] rcs: *.net *.split
[12:27:20] rcs: has joined #ruby
[15:01:36] rcs: *.net *.split
[15:03:32] rcs: has joined #ruby

2018-04-10

[23:03:57] rcs: Ping timeout: 240 seconds
[23:06:36] rcs: has joined #ruby

2018-04-05

[08:11:30] rcs: Ping timeout: 256 seconds
[08:17:06] rcs: has joined #ruby

2018-02-28

[17:44:33] rcs: Ping timeout: 240 seconds
[17:48:51] rcs: has joined #ruby

2018-02-26

[05:08:31] rcs: has joined #ruby

2018-02-23

[18:06:53] rcs: Ping timeout: 255 seconds

2018-02-19

[19:01:51] rcs: Ping timeout: 248 seconds
[19:02:03] rcs: has joined #ruby

2018-01-28

[08:55:05] rcs: Ping timeout: 240 seconds
[08:58:05] rcs: has joined #ruby

2018-01-19

[12:26:19] rcs: Ping timeout: 256 seconds
[12:29:11] rcs: has joined #ruby

2018-01-16

[04:34:46] rcs: has joined #ruby

2018-01-15

[16:17:15] rcs: Quit: ZNC - http://znc.in

2017-12-09

[05:06:16] rcs: *.net *.split
[05:14:35] rcs: has joined #ruby

2017-12-07

[14:48:30] rcs: *.net *.split
[14:55:09] rcs: has joined #ruby

2017-12-01

[02:28:55] rcs: has joined #ruby

2017-11-09

[02:49:36] rcs: Ping timeout: 248 seconds
[02:57:42] rcs: has joined #ruby

2017-10-22

[00:26:52] rcs: Remote host closed the connection
[00:28:47] rcs: has joined #ruby

2017-09-27

[04:29:51] rcs: *.net *.split
[04:32:29] rcs: has joined #ruby

2017-09-16

[04:24:57] rcs: Ping timeout: 260 seconds
[04:27:47] rcs: has joined #ruby

2017-09-07

[04:40:59] rcs: has joined #ruby

2017-09-04

[18:38:24] rcs: *.net *.split

2017-07-25

[16:07:49] rcs: Ping timeout: 260 seconds

2017-06-27

[05:39:12] rcs: Ping timeout: 260 seconds
[05:39:46] rcs: has joined #ruby

2017-06-20

[00:17:29] rcs: *.net *.split

2017-04-27

[22:16:01] rcs: Ping timeout: 252 seconds
[22:18:54] rcs: has joined #ruby

2017-04-26

[01:14:19] rcs: Ping timeout: 260 seconds
[01:16:41] rcs: has joined #ruby

2016-07-23

[14:52:34] rcs: Quit: ZNC - http://znc.in
[16:26:24] rcs: has joined #ruby

2016-07-22

[11:01:11] rcs: Quit: ZNC - http://znc.in
[15:24:39] rcs: has joined #ruby

2016-07-10

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

2016-06-21

[15:04:33] rcs: Ping timeout: 240 seconds
[15:06:15] rcs: has joined #ruby

2016-05-13

[02:20:34] rcs: has joined #ruby

2016-04-13

[20:47:18] rcs: *.net *.split

2016-03-30

[01:31:03] rcs: Ping timeout: 260 seconds
[01:36:48] rcs: has joined #ruby

2016-03-04

[04:29:25] rcs: Ping timeout: 250 seconds
[04:31:56] rcs: has joined #ruby

2016-03-03

[03:26:29] rcs: Ping timeout: 260 seconds
[03:26:44] rcs: has joined #ruby

2016-02-27

[21:36:30] rcs: Ping timeout: 268 seconds
[22:53:55] rcs: has joined #ruby

2016-01-31

[12:25:03] rcs: *.net *.split
[12:28:15] rcs: has joined #ruby

2016-01-18

[23:45:33] rcs: Remote host closed the connection
[23:46:50] rcs: has joined #ruby
[23:55:18] rcs: Quit: ZNC - http://znc.in
[23:55:59] rcs: has joined #ruby

2016-01-14

[09:18:59] rcs: Ping timeout: 260 seconds
[09:22:10] rcs: has joined #ruby
[20:41:25] rcs: Ping timeout: 245 seconds
[20:51:03] rcs: has joined #ruby
[21:33:47] rcs: Ping timeout: 264 seconds
[21:40:52] rcs: has joined #ruby

2015-12-27

[10:07:06] rcs: Ping timeout: 240 seconds
[10:14:43] rcs: has joined #ruby
[10:18:46] rcs: Ping timeout: 240 seconds
[10:21:07] rcs: has joined #ruby
[10:37:48] rcs: Ping timeout: 255 seconds
[11:34:10] rcs: has joined #ruby
[11:39:20] rcs: Ping timeout: 246 seconds
[12:08:45] rcs: has joined #ruby

2015-12-14

[16:58:13] rcs: has joined #ruby

2015-12-06

[13:43:03] rcs: Ping timeout: 240 seconds

2015-12-02

[15:38:19] rcs: *.net *.split
[15:41:27] rcs: has joined #ruby
[15:52:08] rcs: *.net *.split
[16:47:43] rcs: has joined #ruby

2015-11-26

[07:56:14] rcs: *.net *.split

2015-11-22

[03:38:36] rcs: Ping timeout: 264 seconds
[03:45:01] rcs: has joined #ruby

2015-11-17

[05:00:02] rcs: Ping timeout: 246 seconds
[05:01:00] rcs: has joined #ruby
[17:58:59] rcs: Ping timeout: 240 seconds
[18:06:52] rcs: has joined #ruby

2015-11-14

[07:05:21] rcs: Ping timeout: 255 seconds
[07:06:12] rcs: has joined #ruby

2015-10-23

[10:07:45] rcs: *.net *.split
[10:08:28] rcs: has joined #ruby

2015-10-21

[10:04:00] rcs: Ping timeout: 272 seconds
[14:35:48] rcs: has joined #ruby

2015-10-18

[05:02:55] rcs: *.net *.split
[05:08:17] rcs: has joined #ruby

2015-10-16

[00:20:28] rcs: has joined #ruby

2015-10-06

[20:43:47] rcs: *.net *.split
[20:46:20] rcs: has joined #ruby

2015-09-18

[02:14:31] rcs: Ping timeout: 240 seconds
[02:17:20] rcs: has joined #ruby

2015-09-16

[02:34:06] rcs: Ping timeout: 256 seconds
[02:37:18] rcs: has joined #ruby

2015-09-10

[14:05:00] rcs: Ping timeout: 264 seconds
[14:08:51] rcs: has joined #ruby

2015-09-06

[05:29:04] rcs: Ping timeout: 256 seconds
[05:30:39] rcs: has joined #ruby

2015-09-04

[20:16:06] rcs: Ping timeout: 244 seconds
[20:20:32] rcs: has joined #ruby

2015-08-13

[02:55:46] rcs: Ping timeout: 252 seconds
[02:59:49] rcs: has joined #ruby

2015-08-08

[05:54:15] rcs: Ping timeout: 272 seconds
[05:59:35] rcs: has joined #ruby

2015-08-05

[03:23:35] rcs: Ping timeout: 246 seconds
[03:25:59] rcs: has joined #ruby

2015-06-22

[23:33:28] rcs: Ping timeout: 272 seconds
[23:34:43] rcs: has joined #ruby

2015-06-21

[22:03:15] rcs: Ping timeout: 252 seconds
[22:06:55] rcs: has joined #ruby

2015-06-20

[21:52:53] rcs: Ping timeout: 246 seconds
[21:55:42] rcs: has joined #ruby

2015-05-30

[01:34:10] rcs: Ping timeout: 255 seconds
[06:59:12] rcs: has joined #ruby

2014-05-31

[04:53:22] rcs: cgcardona: You're probably having Request A -> Request B -> Blocking since Request A hasn't returned, right?
[04:53:58] rcs: So you need something that can handle more than one client at a time.
[04:54:15] rcs: Is there a reason not to run the same passenger/nginx stack on the local box to route requests through?
[04:57:30] rcs: Yep. Or just use something like unicorn that'll handle the preforking for you.
[04:57:50] rcs: You'll still have concurrency problems if every process is busy handling request A, though, so nothing can handle B.
[05:00:40] rcs: cgcardona: The quick way to get around it is to keep the "component pools" separate, so cotention on A doesn't cause contention on B
[05:00:55] rcs: Whether that's through different ports, processes, whatever

2014-05-24

[00:13:04] rcs: shevy: Do you know perl?

2014-05-13

[18:21:41] rcs: That was a mighty fine link.

2014-03-19

[04:49:50] rcs: Krypt: Copy the google maps api. Deal with the meridian spanning in a Bounds object.
[04:50:22] rcs: Krypt: Dealing with it as rectangles straight is kind of painful.
[04:51:00] rcs: Krypt: Or deal with it as being sw, ne corners instead of the points. So you can do things like "if se.lat > ne.lat".
[04:52:04] rcs: Krypt: How do you know which way the rectangle is? Whether it's long way around the earth or short?
[04:52:28] rcs: Krypt: Your problem is underspecified.
[04:52:34] rcs: Your inputs are lacking.
[04:53:32] rcs: Krypt: If this is a school project, I would actually translate those to something that encodes the ne/sw corners as such by assuming short way.
[04:54:36] rcs: Take 4 points in, put out a bounding box. Then you have a big if chain for .contains? , which takes the case where it spans the meridian into account.
[04:57:34] rcs: bnagy: Okay, you've just moved the goalposts to the 360/0 wraparound.
[04:58:29] rcs: bnagy: left is 359, right is 1. Is 0 contained?
[04:59:09] rcs: bnagy's solution is gross and amazing.
[04:59:14] rcs: Does it work?
[04:59:38] rcs: bnagy: Right. So left is 359, right is 1. How do you write the contains? to capture 0.
[05:00:28] rcs: bnagy: The box spans the zero. So 359 and 2. or whatever.
[05:16:09] rcs: bnagy: You're a pimp.

2014-03-17

[19:21:23] rcs: jruby is pretty win.
[19:22:02] rcs: shinobi_one: Duno. The placs where I've used it, I needed java packages/intgration, so it wasn't a performance consideration
[22:08:21] rcs: >> "0xff".to_i

2014-03-08

[21:28:38] rcs: https://github.com/sstephenson/rbenv
[21:31:59] rcs: havenwood: Neat! Why do I want that over rbenv?
[21:34:33] rcs: How does it work without shims?
[21:37:05] rcs: havenwood: If I'm reading chruby.sh right, it does it by constantly prepending things, which seems sub optimal.
[21:37:33] rcs: Ah. chruby reset deletes things from path.
[21:37:44] rcs: I'm worried about things that modify my PATH willy nilly.
[21:40:56] rcs: havenwood: chruby_reset will remove a path that's been set manually if it ends up being the same as RUBY_ROOT.
[21:42:05] rcs: That's modifying my path willy nilly.
[21:42:10] rcs: It's removing things I set that didn't go through it.
[21:44:10] rcs: PATH="fancy-ruby/bin:other-things" in my profile. I end up installing a ruby in fancy-path. I chruby to fancy-path. I chruby to something else. fancy-ruby/bin is no longer in my path.
[21:44:48] rcs: chruby has now violated the implied contract about my path -- that it will only modify the things that it added.
[21:45:00] rcs: That counts as willy nilly.
[21:45:39] rcs: havenwood: No it doesn't count as willy nilly?
[21:45:45] rcs: Or no, it doesn't modify my path?
[21:46:14] rcs: RubyPanther: Where's the modification of my path that's not set by chruby documented?
[21:46:44] rcs: In this case, it means "cheap and lazy".
[21:47:06] rcs: Fair enough.
[21:47:13] rcs: chruby modifies my path cheaply and lazily.
[21:47:42] rcs: centrx++
[21:49:13] rcs: RubyPanther: The "cheap and lazy" is in reference to the algorithm used, which doesn't verify that its stripping only path parameters that were added by chruby.
[21:52:14] rcs: rvm fiddling cd is much, much worse.

2014-02-25

[17:22:10] rcs: dkamioka: ActiveAdmin is awesome. Unless you want a responsive admin interface
[17:22:26] rcs: dkamioka: The customization language is kind of.. interesting.
[17:22:47] rcs: dkamioka: https://github.com/gregbell/arbre
[17:33:20] rcs: How can I do something like "select candidates.*, count(votes.id) from candidates join votes ON(candidates.id = votes.candidate.id) group by candidates.id" in ActiveRecord, and get Candidate models back, with a "votes" field?
[17:38:15] rcs: rhizome: "SELECT candidates.*, count(votes.id) from candidates LEFT JOIN votes ON(candidates.id = votes.id) GROUP BY candidates.id;" gives me back, in SQL, exactly what I want for data.
[17:38:31] rcs: It gives me candidate fields, and gives me a count of votes for each candidate.
[17:39:08] rcs: How do I turn that into AR invocations to get candidate models and that calculated field?
[17:49:55] rcs: I don't know what to try. That's why I was asking.
[17:52:53] rcs: rhizome: Yes. I can get all candidats. And I could loop over all them, and get counts of votes on each. That is lame, since that means I have n+1 queries, where n is the number of candidates.

2014-01-31

[18:28:12] rcs: RichardRaseley: Single quotes don't interpolate.
[18:28:40] rcs: lethjakman: It's not a ruby thing.
[18:29:18] rcs: lethjakman: "regex alternation"

2013-10-26

[05:40:46] rcs: This is why many people create service layers.
[05:43:17] rcs: http://railscasts.com/episodes/398-service-objects http://pivotallabs.com/object-oriented-rails-writing-better-controllers/ http://blog.codeclimate.com/blog/2012/10/17/7-ways-to-decompose-fat-activerecord-models/
[05:43:31] rcs: the first is for pay, but railscasts is pretty neat if you're just getting in to it.

2013-10-25

[23:14:35] rcs: atmosx: Yes.

2013-05-20

[03:17:45] rcs: solidus-lake: Use image_tag. So when you move all your assets to cloudfront it'll still work.
[22:59:42] rcs: In your testing, or in the wild?
[23:00:19] rcs: Are you cancelling the event, and turning the button unpressable?
[23:02:11] rcs: oh. If it's a POST, is it an OPTIONS request followed by the POST? Or is it really POST twice?
[23:10:13] rcs: sinclair: jquery ujs is handling it with remote=>true, and you're not doing anything with js apart from that? Is there an HTTP->HTTPS upgrade happening? Do both requests return 200/201?

2013-05-17

[15:12:59] rcs: Alternate option is routing /:company/:message to /:company and having a js handler on that page that parses the /:message to go to that anchor.
[15:13:56] rcs: I take no responsibility for strangling that may happen to you in that scenario.

2012-11-30

[20:21:57] rcs: What does 'get "/users/new"' do?
[20:25:08] rcs: Wasila: It's the "get "/users/new"" line.
[20:25:26] rcs: Which is probably the last thing you added.
[20:25:46] rcs: If you want it to route somewhere, you need to give it a :controller and :action
[20:25:53] rcs: What do you want it to do?
[20:28:07] rcs: Wasila: Are you following railstutorial.org?
[20:28:35] rcs: Wasila: What is the last thing you did?
[20:31:52] rcs: Wasila: And you have Sessions and StaticPage controllers created?