00:42:52  * markinjoined
01:22:44  * thomasreggiquit (Remote host closed the connection)
02:52:57  * roger_rabbitjoined
03:11:47  * thomasreggijoined
03:13:00  * dmarrquit (Ping timeout: 244 seconds)
03:16:18  * thomasreggiquit (Ping timeout: 244 seconds)
03:39:03  * mmitchel_joined
03:41:56  * markinquit (Ping timeout: 244 seconds)
03:44:03  * markinjoined
03:47:21  * thomasreggijoined
03:49:24  * dmarrjoined
03:56:44  * markinquit (Read error: Connection reset by peer)
03:57:52  * markinjoined
04:30:52  * thomasreggiquit (Remote host closed the connection)
04:47:58  * prbcquit (Remote host closed the connection)
05:29:50  * BigBangUDRjoined
06:00:33  * mmitchel_quit (Remote host closed the connection)
06:28:13  * d4rklit3quit (Quit: My Mac Pro has gone to sleep. ZZZzzz…)
06:44:40  * Underbytejoined
06:47:31  * Underbytequit (Client Quit)
07:01:09  * mmitchel_joined
07:06:58  * mmitchel_quit (Ping timeout: 264 seconds)
08:35:57  * iNCoNFuNjoined
08:50:38  * mmitchel_joined
08:55:15  * mmitchel_quit (Ping timeout: 264 seconds)
10:21:41  * mmitchel_joined
10:25:42  * mmitchel_quit (Ping timeout: 245 seconds)
11:03:08  * mmitchel_joined
11:39:51  * BigBangUDRquit (Ping timeout: 244 seconds)
15:12:04  * thomasreggijoined
15:15:13  * hacker_112joined
15:15:37  <hacker_112>Why is app.param(fn) deprecated?
15:19:03  <aars>https://github.com/strongloop/express/issues/2440
15:19:48  <aars>Explicit over implicit I guess. I agree.
15:21:29  <hacker_112>Sadly I am using it :P for RegExp-validation
15:22:56  <aars>A lot of people are. I just removed the usage from 2 repo's.
15:23:16  <aars>Do you know where you parameters are coming from? Query-string? Request body? Headers?
15:23:56  <aars>If so, be explicit... of not.. why are you accepting this input via all these methods, and if it is really what you want, be explicit in your code by looking it up yourself.
15:24:34  <aars>It gives you the added benefit of defining the order yourself (of param() would change this order for whatever reason you could run into some really hard-to-debug bugs)
15:28:41  <hacker_112>Not that one, the APP.param(fn) ;)
15:30:03  <hacker_112>The one that is used in the example in http://expressjs.com/4x/api.html with ”fn instanceof RegExp”
15:30:51  <hacker_112>the req.param() I have never used, and that I can understand why it is deprecated.
15:32:23  <aars>you're right, I'm sorry. Probably has the same reason, but I'm looking into it.
15:32:51  <aars>https://github.com/strongloop/express/issues/2429
15:32:56  <aars>Ok, that one then :)
15:33:25  <hacker_112>Thanks :)
15:34:03  <aars>however, I don't see anything in the docs about the deprecation (while req.param has). Strange/unfortunate.
15:34:16  <aars>No prob. Good luck!
15:34:36  <hacker_112>https://github.com/strongloop/express/blob/master/History.md
15:34:59  <aars>Also, if the deprecation warnings are annoying you too much or making other output less readable you can set the NO_DEPRECATION env variable to suppress the messages.
15:35:45  <hacker_112>aars: Sure, but they are there for a reason so I can not just ignore them :P
15:38:01  <aars>Good! :D
15:43:46  <hacker_112>I use a slightly modified version of the RegExp example in this issue (and the api reference) so this is not good news for my project.
15:46:18  <aars>I'm not familiar, could you link me to the example you're talking about?
15:46:53  <hacker_112>aars: I linked it above. http://expressjs.com/4x/api.html with ”fn instanceof RegExp”
15:48:34  <aars>Ah, sorry.
15:49:02  <hacker_112>I have almost the same thing, but I use req.params[name] = captures;
15:49:10  <hacker_112>*req.params[name] = captures[0];
15:52:56  <aars>I'd like to help but I'm new to express. Doug Wilson wrote " It is very simple to implement that now directly in the path string itself since Express 4, there's no need to use app.param for it." but I'm not sure how.
16:02:43  <hacker_112>aars: Thanks for the highlight, I will have to ask :) And my express is now locked to 4.10.7 until this is solvable somehow ;)
16:11:17  <aars>I wish more projects would lock the express version :D I saw github comment. Hope you get an answer soon.
16:13:04  <aars>hacker_112: does something like this help you? http://stackoverflow.com/questions/10858005/regex-for-route-matching-in-express
16:13:18  <aars>(so, defining the regex in the path string?
16:14:22  <aars>Or this perhaps: app.get('/:id(^[a-z]{0,10}$)', routes.action);
16:14:44  <aars>Since the first one only defines a path with a regex, this one defines a param with a regex.
16:15:58  <hacker_112>aars: I got an answer from doug now :)
16:17:54  <aars>I see, yes. It's simply putting the regex in the string (not as a regexp object). Cool!
16:22:39  <hacker_112>aars: I will see if it works without breaking my tests :) If I only would have found this in the API Reference when I read it :P
16:38:45  <aars>That's not even laughable actually. I've been deep into Node for a few weeks now and these things happen to much.
16:51:48  * hacker_112quit (Ping timeout: 276 seconds)
17:32:32  * BigBangUDRjoined
17:34:20  * BigBangUDRquit (Client Quit)
17:52:53  * Underbytejoined
18:20:59  * prbcjoined
18:23:18  * d4rklit3joined
18:39:02  * jerradjoined
18:41:52  * Underbytequit (Ping timeout: 265 seconds)
19:14:26  * mmitchel_quit (Quit: Leaving...)
19:15:11  * hickerjoined
19:35:21  * Diblejoined
19:38:59  * iNCoNFuNquit (Ping timeout: 245 seconds)
19:41:41  * jerradquit (Quit: Leaving...)
19:43:04  * thomasre_joined
19:44:42  * thomasreggiquit (Ping timeout: 265 seconds)
19:47:42  * Underbytejoined
19:55:57  * Diblequit (Ping timeout: 246 seconds)
20:10:18  * Underbytequit (Quit: Leaving...)
20:53:34  * Underbytejoined
21:16:28  * hacker_112joined
21:19:11  * hickerquit
21:38:01  * hacker_112quit (Quit: hacker_112)
21:42:09  * Underbytequit (Quit: Leaving...)
21:55:07  * dmamillschanged nick to dmamillzzz