diff options
Diffstat (limited to 'archives/extend/attachments/20140210')
6 files changed, 188 insertions, 0 deletions
diff --git a/archives/extend/attachments/20140210/1781c9d2/attachment.html b/archives/extend/attachments/20140210/1781c9d2/attachment.html new file mode 100644 index 00000000..571ccf79 --- /dev/null +++ b/archives/extend/attachments/20140210/1781c9d2/attachment.html @@ -0,0 +1,33 @@ +<tt> +<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I promise you, improving the code now to get rid of the warnings is worth it.</div><div><br></div><div>Ivan<br><br>--<br>festina lente<div><br></div></div><div><br>On 10 Feb 2014, at 19:22, "Anton Koval'" <<a href="mailto:[email protected]">[email protected]</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Thanks for explanation. <br>My situation: I'm developing some stuff in module. That module in some kind of "draft' state (e.g. some functions are unused), but regardless that I want to compile project in order to test some specific parts of that module. <br><br> +</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 10, 2014 at 8:48 PM, Loïc Hoguin <span dir="ltr"><<a href="mailto:[email protected]" target="_blank">[email protected]</a>></span> wrote:<br><br> +<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You can just define ERLC_OPTS before you include <a href="http://erlang.mk" target="_blank">erlang.mk</a> and it'll use that instead. I'm not sure why you want to disable that though, warnings usually alert you of bugs in your code.<div class=""><br> +<br><br> +<br><br> +On 02/10/2014 07:44 PM, Anton Koval' wrote:<br><br> +</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><br> +Hello,<br><br> +<br><br> +as I understand, by default `make all` performs compile with<br></div><br> +option**warnings_as_errors.**<u></u>How can I disable this option?<div class=""><br><br> +There are options described at<br><br> +<a href="https://github.com/extend/erlang.mk#options" target="_blank">https://github.com/extend/<u></u>erlang.mk#options</a> and I believe that<br></div><br> +|ERLC_OPTS should be filled with `-|warnings_as_errors`**. But it is<div class=""><br><br> +unclear for me where have I to add(put) that option?<br><br> +<br><br> +Thanks.<br><br> +<br><br> +<br></div><br> +______________________________<u></u>_________________<br><br> +Extend mailing list<br><br> +<a href="mailto:[email protected]" target="_blank">[email protected]</a><br><br> +<a href="https://lists.ninenines.eu/listinfo/extend" target="_blank">https://lists.ninenines.eu/<u></u>listinfo/extend</a><br><br> +<br><span class="HOEnZb"><font color="#888888"><br> +</font></span></blockquote><span class="HOEnZb"><font color="#888888"><br> +<br><br> +-- <br><br> +Loïc Hoguin<br><br> +<a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a><br><br> +</font></span></blockquote></div><br></div><br> +</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Extend mailing list</span><br><span><a href="mailto:[email protected]">[email protected]</a></span><br><span><a href="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</a></span><br></div></blockquote></body></html> +</tt> diff --git a/archives/extend/attachments/20140210/2ae635a6/attachment.html b/archives/extend/attachments/20140210/2ae635a6/attachment.html new file mode 100644 index 00000000..2d045585 --- /dev/null +++ b/archives/extend/attachments/20140210/2ae635a6/attachment.html @@ -0,0 +1,33 @@ +<tt> +<div dir="ltr">Thanks for explanation. <br>My situation: I'm developing some stuff in module. That module in some kind of "draft' state (e.g. some functions are unused), but regardless that I want to compile project in order to test some specific parts of that module. <br><br> +</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 10, 2014 at 8:48 PM, Lo�c Hoguin <span dir="ltr"><<a href="mailto:[email protected]" target="_blank">[email protected]</a>></span> wrote:<br><br> +<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You can just define ERLC_OPTS before you include <a href="http://erlang.mk" target="_blank">erlang.mk</a> and it'll use that instead. I'm not sure why you want to disable that though, warnings usually alert you of bugs in your code.<div class=""><br> +<br><br> +<br><br> +On 02/10/2014 07:44 PM, Anton Koval' wrote:<br><br> +</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><br> +Hello,<br><br> +<br><br> +as I understand, by default `make all` performs compile with<br></div><br> +option**warnings_as_errors.**<u></u>How can I disable this option?<div class=""><br><br> +There are options described at<br><br> +<a href="https://github.com/extend/erlang.mk#options" target="_blank">https://github.com/extend/<u></u>erlang.mk#options</a> and I believe that<br></div><br> +|ERLC_OPTS should be filled with `-|warnings_as_errors`**. But it is<div class=""><br><br> +unclear for me where have I to add(put) that option?<br><br> +<br><br> +Thanks.<br><br> +<br><br> +<br></div><br> +______________________________<u></u>_________________<br><br> +Extend mailing list<br><br> +<a href="mailto:[email protected]" target="_blank">[email protected]</a><br><br> +<a href="https://lists.ninenines.eu/listinfo/extend" target="_blank">https://lists.ninenines.eu/<u></u>listinfo/extend</a><br><br> +<br><span class="HOEnZb"><font color="#888888"><br> +</font></span></blockquote><span class="HOEnZb"><font color="#888888"><br> +<br><br> +-- <br><br> +Lo�c Hoguin<br><br> +<a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a><br><br> +</font></span></blockquote></div><br></div><br> + +</tt> diff --git a/archives/extend/attachments/20140210/a2b35e2f/attachment.html b/archives/extend/attachments/20140210/a2b35e2f/attachment.html new file mode 100644 index 00000000..363ec211 --- /dev/null +++ b/archives/extend/attachments/20140210/a2b35e2f/attachment.html @@ -0,0 +1,6 @@ +<tt> +<div dir="ltr">Hello,<br><br>as I understand, by default `make all` performs compile with option<strong><span class=""> </span></strong>warnings_as_errors.<strong><span class=""> </span></strong><span class="">How can I disable this option?<br><br> +There are options described at <a href="https://github.com/extend/erlang.mk#options">https://github.com/extend/erlang.mk#options</a> and I believe that </span><code>ERLC_OPTS should be filled with `-</code>warnings_as_errors`<strong><span class=""></span></strong>. But it is unclear for me where have I to add(put) that option?<br><br> +<br>Thanks.<br></div><br> + +</tt> diff --git a/archives/extend/attachments/20140210/b46e2bab/attachment.html b/archives/extend/attachments/20140210/b46e2bab/attachment.html new file mode 100644 index 00000000..edc309fa --- /dev/null +++ b/archives/extend/attachments/20140210/b46e2bab/attachment.html @@ -0,0 +1,15 @@ +<tt> +<div dir="ltr">Hi again,<div>another idea is to make environment (Env), which is passed between middlewares, a part of Request record, so I could have an access to it in onresponse callback.</div><div><br></div><div>Any of that makes sense?</div><br> +<br> +<div><br></div><div>Cheers,</div><div>Łukasz Biedrycki</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 7, 2014 at 5:56 PM, Łukasz Biedrycki <span dir="ltr"><<a href="mailto:[email protected]" target="_blank">[email protected]</a>></span> wrote:<br><br> +<br> +<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div>in my application I would like to add some metrics per handler and per response http status code.</div><br> +<br> +<div><br></div><div>One way is to add on response callback function, but there I do not have an information about handler and handler opts.</div><br> +<div><br></div><div>Second way is to add a middleware, but then I do not have an information about response status code.</div><div><br></div><div>Frankly, I like second way more. </div><div>How do like an idea to add response status code to request record similar to: resp_headers or resp_body ?</div><br> +<br> +<br> +<div><br></div><div>Cheers,</div><div>Łukasz Biedrycki</div></div><br> +</blockquote></div><br></div><br> + +</tt> diff --git a/archives/extend/attachments/20140210/bf26d573/attachment.html b/archives/extend/attachments/20140210/bf26d573/attachment.html new file mode 100644 index 00000000..31d5ead2 --- /dev/null +++ b/archives/extend/attachments/20140210/bf26d573/attachment.html @@ -0,0 +1,60 @@ +<tt> +<div dir="ltr">Hey,<div>I didn’t know about that. </div><div>That is exactly what I need!</div><div>Thank you!</div><div><br></div><div>Cheers,</div><div>Łukasz Biedrycki</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><br> +<br> +On Mon, Feb 10, 2014 at 10:49 AM, Loïc Hoguin <span dir="ltr"><<a href="mailto:[email protected]" target="_blank">[email protected]</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br> +<br> +You have the meta values in Req which are passed everywhere. You can easily set and retrieve them.<div><div class="h5"><br><br> +<br><br> +On 02/10/2014 10:41 AM, Łukasz Biedrycki wrote:<br><br> +</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><br> +Hi again,<br><br> +another idea is to make environment (Env), which is passed between<br><br> +middlewares, a part of Request record, so I could have an access to it in<br><br> +onresponse callback.<br><br> +<br><br> +Any of that makes sense?<br><br> +<br><br> +Cheers,<br><br> +Łukasz Biedrycki<br><br> +<br><br> +<br><br> +On Fri, Feb 7, 2014 at 5:56 PM, Łukasz Biedrycki <<a href="mailto:[email protected]" target="_blank">[email protected]</a><br><br> +<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br> +wrote:<br><br> +</blockquote><br> +<br><br> +<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br> +Hi,<br><br> +in my application I would like to add some metrics per handler and per<br><br> +response http status code.<br><br> +<br><br> +One way is to add on response callback function, but there I do not have<br><br> +an information about handler and handler opts.<br><br> +<br><br> +Second way is to add a middleware, but then I do not have an information<br><br> +about response status code.<br><br> +<br><br> +Frankly, I like second way more.<br><br> +How do like an idea to add response status code to request record similar<br><br> +to: resp_headers or resp_body ?<br><br> +<br><br> +Cheers,<br><br> +Łukasz Biedrycki<br><br> +<br><br> +</blockquote><br> +<br><br> +<br><br> +<br></div></div><br> +______________________________<u></u>_________________<br><br> +Extend mailing list<br><br> +<a href="mailto:[email protected]" target="_blank">[email protected]</a><br><br> +<a href="https://lists.ninenines.eu/listinfo/extend" target="_blank">https://lists.ninenines.eu/<u></u>listinfo/extend</a><br><br> +<br><span class="HOEnZb"><font color="#888888"><br> +</font></span></blockquote><span class="HOEnZb"><font color="#888888"><br> +<br><br> +-- <br><br> +Loïc Hoguin<br><br> +<a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a><br><br> +</font></span></blockquote></div><br></div><br> + +</tt> diff --git a/archives/extend/attachments/20140210/fa72e2ba/attachment.html b/archives/extend/attachments/20140210/fa72e2ba/attachment.html new file mode 100644 index 00000000..00f1bf63 --- /dev/null +++ b/archives/extend/attachments/20140210/fa72e2ba/attachment.html @@ -0,0 +1,41 @@ +<tt> +<div dir="ltr">Got it! :) <br>fixed all warnings and removed� ERLC_OPTS from Makefile.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 10, 2014 at 9:46 PM, Ivan Uemlianin <span dir="ltr"><<a href="mailto:[email protected]" target="_blank">[email protected]</a>></span> wrote:<br><br> +<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>I promise you, improving the code now to get rid of the warnings is worth it.</div><div><br></div><br> +<div>Ivan<br><br>--<br>festina lente<div><br></div></div><div><div class="h5"><div><br>On 10 Feb 2014, at 19:22, "Anton Koval'" <<a href="mailto:[email protected]" target="_blank">[email protected]</a>> wrote:<br><br> +<br></div><blockquote type="cite"><div><div dir="ltr">Thanks for explanation. <br>My situation: I'm developing some stuff in module. That module in some kind of "draft' state (e.g. some functions are unused), but regardless that I want to compile project in order to test some specific parts of that module. <br><br> +<br> +</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 10, 2014 at 8:48 PM, Lo�c Hoguin <span dir="ltr"><<a href="mailto:[email protected]" target="_blank">[email protected]</a>></span> wrote:<br><br> +<br> +<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You can just define ERLC_OPTS before you include <a href="http://erlang.mk" target="_blank">erlang.mk</a> and it'll use that instead. I'm not sure why you want to disable that though, warnings usually alert you of bugs in your code.<div><br> +<br> +<br><br> +<br><br> +On 02/10/2014 07:44 PM, Anton Koval' wrote:<br><br> +</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br> +Hello,<br><br> +<br><br> +as I understand, by default `make all` performs compile with<br></div><br> +option**warnings_as_errors.**<u></u>How can I disable this option?<div><br><br> +There are options described at<br><br> +<a href="https://github.com/extend/erlang.mk#options" target="_blank">https://github.com/extend/<u></u>erlang.mk#options</a> and I believe that<br></div><br> +|ERLC_OPTS should be filled with `-|warnings_as_errors`**. But it is<div><br><br> +unclear for me where have I to add(put) that option?<br><br> +<br><br> +Thanks.<br><br> +<br><br> +<br></div><br> +______________________________<u></u>_________________<br><br> +Extend mailing list<br><br> +<a href="mailto:[email protected]" target="_blank">[email protected]</a><br><br> +<a href="https://lists.ninenines.eu/listinfo/extend" target="_blank">https://lists.ninenines.eu/<u></u>listinfo/extend</a><br><br> +<br><span><font color="#888888"><br> +</font></span></blockquote><span><font color="#888888"><br> +<br><br> +-- <br><br> +Lo�c Hoguin<br><br> +<a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a><br><br> +</font></span></blockquote></div><br></div><br> +</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Extend mailing list</span><br><span><a href="mailto:[email protected]" target="_blank">[email protected]</a></span><br><br> +<span><a href="https://lists.ninenines.eu/listinfo/extend" target="_blank">https://lists.ninenines.eu/listinfo/extend</a></span><br></div></blockquote></div></div></div></blockquote></div><br></div><br> + +</tt> |