wsmoak

Activity Graph

Page 1 of 2 | Next »

2019-03-28

[17:08:03] wsmoak: has joined #elixir-lang
[17:08:04] wsmoak: has joined #ruby
[20:01:22] wsmoak: Quit: Connection closed for inactivity

2019-03-27

[09:36:01] wsmoak: Quit: Connection closed for inactivity

2019-03-26

[00:59:58] wsmoak: has joined #elixir-lang
[00:59:58] wsmoak: has joined #ruby
[00:59:58] wsmoak: Changing host
[05:09:02] wsmoak: Quit: Connection closed for inactivity
[16:02:43] wsmoak: has joined #ruby
[16:02:43] wsmoak: has joined #elixir-lang

2018-03-24

[17:58:12] wsmoak: Quit: Connection closed for inactivity

2018-03-20

[13:48:53] wsmoak: has joined #RubyOnRails
[13:48:55] wsmoak: has joined #ruby

2018-01-22

[15:40:48] wsmoak: *.net *.split
[15:41:14] wsmoak: has joined #RubyOnRails
[15:41:14] wsmoak: has joined #ruby

2017-12-27

[19:13:34] wsmoak: Ping timeout: 255 seconds
[19:43:04] wsmoak: has joined #RubyOnRails
[19:43:04] wsmoak: has joined #ruby

2017-12-21

[06:26:11] wsmoak: *.net *.split
[06:31:47] wsmoak: has joined #RubyOnRails
[06:31:49] wsmoak: has joined #ruby
[06:48:30] wsmoak: *.net *.split
[07:25:06] wsmoak: has joined #RubyOnRails
[07:25:06] wsmoak: has joined #ruby

2017-12-09

[05:06:11] wsmoak: *.net *.split
[05:39:52] wsmoak: has joined #ruby

2017-12-08

[07:07:04] wsmoak: Read error: Connection reset by peer
[07:07:28] wsmoak: has joined #ruby

2017-12-07

[14:48:31] wsmoak: *.net *.split
[14:55:10] wsmoak: has joined #ruby

2017-10-06

[02:12:38] wsmoak: Read error: Connection reset by peer

2017-09-04

[18:38:25] wsmoak: *.net *.split

2017-08-14

[23:51:23] wsmoak: *.net *.split
[23:56:32] wsmoak: has joined #RubyOnRails
[23:56:34] wsmoak: has joined #ruby

2017-07-16

[03:59:27] wsmoak: Ping timeout: 240 seconds
[22:18:55] wsmoak: has joined #RubyOnRails
[22:18:55] wsmoak: has joined #ruby

2017-06-20

[00:17:08] wsmoak: *.net *.split
[00:22:36] wsmoak: has joined #RubyOnRails
[00:22:56] wsmoak: has joined #ruby

2017-06-19

[18:19:40] wsmoak: *.net *.split

2017-06-17

[18:48:51] wsmoak: *.net *.split
[18:49:41] wsmoak: has joined #RubyOnRails
[18:49:41] wsmoak: has joined #ruby

2017-05-11

[16:01:04] wsmoak: has joined #RubyOnRails
[16:01:04] wsmoak: has joined #ruby

2017-04-27

[22:17:10] wsmoak: Ping timeout: 240 seconds
[22:19:16] wsmoak: has joined #RubyOnRails
[22:19:16] wsmoak: has joined #ruby

2017-03-28

[01:26:09] wsmoak: Ping timeout: 240 seconds
[01:27:07] wsmoak: has joined #RubyOnRails
[01:27:07] wsmoak: has joined #ruby

2017-03-27

[19:46:53] wsmoak: Ping timeout: 255 seconds
[19:48:27] wsmoak: has joined #RubyOnRails
[19:48:27] wsmoak: has joined #ruby

2016-07-10

[05:00:02] wsmoak: *.net *.split
[08:54:00] wsmoak: has joined #ruby
[08:54:07] wsmoak: has joined #RubyOnRails
[22:35:34] wsmoak: I've done `bundler gem --test=rspec currency_utils` to set up the project structure, and added a class inside the module it generated. I'm having trouble exercising the code in irb. uninitialized constant -- it's not loaded.
[22:35:41] wsmoak: am I missing some config that makes this Just Work?
[22:38:32] wsmoak: I would like the code I've written (under 'lib') to be loaded when I enter irb so that I can exercise it. what is the usual development process for this?
[22:39:26] wsmoak: I'm pretty sure I can build the gem, install it, and require that... but that's a long process for manual experimentation on changes.
[22:40:55] wsmoak: I have a tentative grasp of 'require' and LOAD_PATH, yes
[22:43:58] wsmoak: http://www.justinweiss.com/articles/how-do-gems-work/ implies rubygems is adding some magic that I am probably conflating with plain old ruby
[22:47:51] wsmoak: the project itself is a gem. If I try to `load 'lib/currency_utils.rb'`in irb , it chokes on the `require "currency_utils/version"`that was generated.
[22:48:42] wsmoak: correct. how do gem developers deal with this? I'm sure this is a solved problem...
[22:54:35] wsmoak: so pasting the stuff from the generated .gemspec into irb makes it work. (puts `lib` on the loadpath).
[22:55:41] wsmoak: going to see if .irbconfig is a thing so this can happen augomagically...
[22:56:37] wsmoak: toretore: thanks for the help!
[23:02:22] wsmoak: toretore: actually what I am doing is _learning_. with your hints I learned that lib needed to be on the load path, and got it to work. now I am investigating how to make that happen the _correct_ way, (thanks for the tip!) and then how to automate it.

2016-07-07

[16:26:21] wsmoak: has joined #ruby
[16:31:33] wsmoak: what does `require_paths` in the gemspec actually _do_? I don't know what "add to the $LOAD_PATH" (from the docs) means.
[16:31:46] wsmoak: I added a directory to `require_paths` and it _seemed_ like code under it was loaded, *without* writing `require 'path/to/file' anywhere. Is that possible?
[16:35:07] wsmoak: apeiros: so if I did not 'require' it then there is no way it got loaded _just_ from adding its parent directory to 'require_paths', correct?
[16:36:22] wsmoak: something else must have done it, because the code is working. (I overrode a class from another gem by placing a modified version under 'vendor' in _my_ gem. And the modified code seems to be what's running, even though I did not 'require' it.)
[16:46:41] wsmoak: I am patching/modifying things from a public gem rather than maintaining a fork. in my gem, lib has my code, 'vendor' has modified versions of their code.
[16:47:16] wsmoak: so both lib and vendor are in require_paths. still unclear how the modified version is getting loaded.
[16:48:08] wsmoak: LOAD_PATH is just where to _look_ for things that are required.
[16:50:27] wsmoak: apeiros: I did not require my modified file, yet that's the code that is running.
[16:52:38] wsmoak: I wonder... since my modified file has the same path and name as the original one, perhaps the require statement in the _original_ gem is doing it, since... *insert handwaving about how ruby files actually get loaded*
[16:53:46] wsmoak: (I know the modified code is running, or else the app would break. I tried it before adding the modified code to confirm this.)
[16:54:31] wsmoak: first `require` statement wins (as I understand it) but LAST definition wins right? (when patching?)
[16:58:42] wsmoak: ah, so nice to see irc hasn't changed much. :)
[16:59:35] wsmoak: thanks for the links and info apeiros! I've worked through _some_ of my confusion re: how Ruby works, still translating things from Java Classpath.
[17:03:25] wsmoak: when you are the expert it's very easy to say that. been there, done that, and now starting over as a beginner in ruby!
[17:04:19] wsmoak: a coworker solved the mystery of how the code is getting loaded. There's some code in ActiveMerchant that's doing it.
[17:05:02] wsmoak: thanks again for the pointers to the docs, I was 99% sure it should NOT have been working, yet it _was_.

2016-06-19

[20:07:06] wsmoak: has joined #RubyOnRails
[22:21:48] wsmoak: anyone around who can opine on the performance characteristics of routing constraints?
[22:23:02] wsmoak: as far as I can tell... the constraint [it's in a separate class] gets initialized once at startup, then executed (the `matches?` method is called) only when the constrained route is requested.
[22:23:24] wsmoak: is there anything about constraints that 'happens' on every request and could be a problem?
[22:41:18] wsmoak: Radar: I'm seeing the constraint initialized [the class instantiated] at startup, then only executed when the constrained route is requested. Someone else said there were perf issues and I made a test project to explore. Can't find it yet...

2015-07-05

[02:37:36] wsmoak: Remote host closed the connection

2015-07-04

[03:14:36] wsmoak: Remote host closed the connection
[06:00:35] wsmoak: has joined #RubyOnRails
[06:02:41] wsmoak: Read error: Connection reset by peer
[06:02:59] wsmoak: has joined #RubyOnRails
[06:04:54] wsmoak: Read error: Connection reset by peer
[06:05:21] wsmoak: has joined #RubyOnRails
[06:07:31] wsmoak: Read error: Connection reset by peer
[06:07:38] wsmoak: has joined #RubyOnRails
[06:11:59] wsmoak: Ping timeout: 248 seconds
[06:12:15] wsmoak: has joined #RubyOnRails
[06:14:06] wsmoak: Read error: Connection reset by peer
[06:14:38] wsmoak: has joined #RubyOnRails
[06:17:00] wsmoak: Read error: Connection reset by peer
[06:19:15] wsmoak: has joined #RubyOnRails
[06:21:17] wsmoak: Read error: Connection reset by peer
[06:21:38] wsmoak: has joined #RubyOnRails
[06:23:55] wsmoak: Read error: Connection reset by peer
[06:24:01] wsmoak: has joined #RubyOnRails
[06:26:13] wsmoak: Read error: Connection reset by peer
[06:28:35] wsmoak: has joined #RubyOnRails
[06:30:57] wsmoak: Read error: Connection reset by peer
[06:33:14] wsmoak: has joined #RubyOnRails
[06:33:14] wsmoak: Changing host
[06:33:14] wsmoak: has joined #RubyOnRails
[06:35:34] wsmoak: Read error: Connection reset by peer
[06:37:56] wsmoak: has joined #RubyOnRails
[06:39:47] wsmoak: Read error: Connection reset by peer
[06:40:16] wsmoak: has joined #RubyOnRails
[06:42:24] wsmoak: Read error: Connection reset by peer
[06:42:35] wsmoak: has joined #RubyOnRails
[06:44:57] wsmoak: Read error: Connection reset by peer
[06:47:16] wsmoak: has joined #RubyOnRails
[06:49:44] wsmoak: Read error: Connection reset by peer
[06:51:56] wsmoak: has joined #RubyOnRails
[06:54:21] wsmoak: Read error: Connection reset by peer
[06:56:37] wsmoak: has joined #RubyOnRails
[06:58:51] wsmoak: Read error: Connection reset by peer
[06:58:57] wsmoak: has joined #RubyOnRails
[07:00:56] wsmoak: Read error: Connection reset by peer
[07:01:15] wsmoak: has joined #RubyOnRails
[07:05:36] wsmoak: Ping timeout: 244 seconds
[07:05:57] wsmoak: has joined #RubyOnRails
[07:08:05] wsmoak: Read error: Connection reset by peer
[07:08:14] wsmoak: has joined #RubyOnRails
[07:08:14] wsmoak: Changing host
[07:08:14] wsmoak: has joined #RubyOnRails
[07:10:19] wsmoak: Read error: Connection reset by peer
[07:10:37] wsmoak: has joined #RubyOnRails
[07:12:49] wsmoak: Read error: Connection reset by peer
[07:12:55] wsmoak: has joined #RubyOnRails
[07:17:31] wsmoak: Ping timeout: 255 seconds
[07:17:49] wsmoak: has joined #RubyOnRails
[07:17:49] wsmoak: Changing host
[07:17:49] wsmoak: has joined #RubyOnRails
[07:19:45] wsmoak: Read error: Connection reset by peer
[07:20:09] wsmoak: has joined #RubyOnRails
[07:22:38] wsmoak: Read error: Connection reset by peer
[07:24:46] wsmoak: has joined #RubyOnRails
[07:27:15] wsmoak: Read error: Connection reset by peer
[07:29:29] wsmoak: has joined #RubyOnRails
[07:31:37] wsmoak: Read error: Connection reset by peer
[07:31:46] wsmoak: has joined #RubyOnRails
[07:34:11] wsmoak: Read error: Connection reset by peer
[07:36:29] wsmoak: has joined #RubyOnRails
[07:38:32] wsmoak: Read error: Connection reset by peer
[07:38:50] wsmoak: has joined #RubyOnRails
[07:38:50] wsmoak: Changing host
[07:38:50] wsmoak: has joined #RubyOnRails
[07:43:11] wsmoak: Ping timeout: 248 seconds
[07:43:29] wsmoak: has joined #RubyOnRails
[07:47:59] wsmoak: Ping timeout: 248 seconds
[07:48:09] wsmoak: has joined #RubyOnRails
[07:52:22] wsmoak: Ping timeout: 252 seconds
[07:53:01] wsmoak: has joined #RubyOnRails
[07:54:49] wsmoak: Read error: Connection reset by peer
[07:55:11] wsmoak: has joined #RubyOnRails
[07:57:19] wsmoak: Read error: Connection reset by peer
[07:57:29] wsmoak: has joined #RubyOnRails
[07:59:19] wsmoak: Read error: Connection reset by peer
[07:59:52] wsmoak: has joined #RubyOnRails
[08:01:53] wsmoak: Read error: Connection reset by peer
[08:02:11] wsmoak: has joined #RubyOnRails
[08:04:05] wsmoak: Read error: Connection reset by peer
[08:04:32] wsmoak: has joined #RubyOnRails
[08:08:38] wsmoak: Ping timeout: 244 seconds
[08:09:08] wsmoak: has joined #RubyOnRails
[08:11:15] wsmoak: Read error: Connection reset by peer
[08:11:28] wsmoak: has joined #RubyOnRails
[08:11:28] wsmoak: Changing host
[08:11:28] wsmoak: has joined #RubyOnRails
[08:15:43] wsmoak: Ping timeout: 248 seconds
[08:16:09] wsmoak: has joined #RubyOnRails
[08:18:16] wsmoak: Read error: Connection reset by peer
[08:18:29] wsmoak: has joined #RubyOnRails
[08:18:44] wsmoak: has joined #RubyOnRails
[08:18:44] wsmoak: Changing host
[08:20:35] wsmoak: Read error: Connection reset by peer
[08:20:51] wsmoak: has joined #RubyOnRails
[08:20:51] wsmoak: Changing host
[08:20:51] wsmoak: has joined #RubyOnRails
[08:23:24] wsmoak: Read error: Connection reset by peer
[08:25:43] wsmoak: has joined #RubyOnRails
[08:28:00] wsmoak: Read error: Connection reset by peer
[08:30:23] wsmoak: has joined #RubyOnRails
[08:34:55] wsmoak: Ping timeout: 255 seconds
[13:02:12] wsmoak: has joined #RubyOnRails
[13:04:03] wsmoak: Read error: Connection reset by peer
[13:04:16] wsmoak: has joined #RubyOnRails

2015-07-03

[00:38:08] wsmoak: has joined #RubyOnRails
[00:38:08] wsmoak: Changing host
[00:38:08] wsmoak: has joined #RubyOnRails
[02:37:08] wsmoak: Remote host closed the connection
[11:43:10] wsmoak: has joined #RubyOnRails
[14:57:36] wsmoak: Remote host closed the connection
[19:40:34] wsmoak: has joined #RubyOnRails
[23:25:03] wsmoak: Remote host closed the connection
[23:36:01] wsmoak: has joined #RubyOnRails
[23:36:01] wsmoak: Changing host
[23:36:01] wsmoak: has joined #RubyOnRails

2015-07-02

[07:40:18] wsmoak: Ping timeout: 252 seconds
[07:41:14] wsmoak: has joined #RubyOnRails
[07:43:29] wsmoak: Read error: Connection reset by peer
[07:44:02] wsmoak: has joined #RubyOnRails
[07:46:38] wsmoak: Read error: Connection reset by peer
[07:46:48] wsmoak: has joined #RubyOnRails
[07:51:17] wsmoak: Ping timeout: 264 seconds
[07:52:27] wsmoak: has joined #RubyOnRails
[07:54:40] wsmoak: Remote host closed the connection
[07:55:12] wsmoak: has joined #RubyOnRails
[07:58:06] wsmoak: Read error: Connection reset by peer
[08:00:49] wsmoak: has joined #RubyOnRails
[08:03:44] wsmoak: Read error: Connection reset by peer
[08:06:24] wsmoak: has joined #RubyOnRails
[08:06:24] wsmoak: Changing host
[08:06:24] wsmoak: has joined #RubyOnRails
[08:09:18] wsmoak: Read error: Connection reset by peer
[08:11:57] wsmoak: has joined #RubyOnRails
[08:16:28] wsmoak: Ping timeout: 255 seconds
[08:17:35] wsmoak: has joined #RubyOnRails
[08:19:55] wsmoak: Read error: Connection reset by peer
[08:20:26] wsmoak: has joined #RubyOnRails
[08:24:55] wsmoak: Ping timeout: 250 seconds
[08:26:00] wsmoak: has joined #RubyOnRails
[08:28:18] wsmoak: Read error: Connection reset by peer
[08:28:48] wsmoak: has joined #RubyOnRails
[08:33:09] wsmoak: Ping timeout: 250 seconds
[11:16:03] wsmoak: has joined #RubyOnRails
[11:16:03] wsmoak: Changing host
[11:16:03] wsmoak: has joined #RubyOnRails
[11:16:46] wsmoak: Client Quit
[11:27:01] wsmoak: has joined #RubyOnRails
[11:27:01] wsmoak: Changing host
[11:27:01] wsmoak: has joined #RubyOnRails
[23:35:43] wsmoak: Remote host closed the connection