<    March 2017    >
Su Mo Tu We Th Fr Sa  
          1  2  3  4  
 5  6  7  8  9 10 11  
12 13 14 15 16 17 18  
19 20 21 22 23 24 25  
26 27 28 29 30 31
00:04 bambanx joined
00:06 <drewolson> fishcakez: will do now, one sec
00:08 PaReeOhNos joined
00:09 <drewolson> fishcakez: here's the output https://gist.github.com/drewolson/ad3afc8f125eab9253f2ae2f0a0c459c
00:09 <drewolson> seems like it might be an absinthe batching error?
00:10 <drewolson> perhaps i should open an issue on absinthe /cc benwilson512
00:11 <fishcakez> drewolson: single test please
00:11 <drewolson> one sec
00:13 <drewolson> fishcakez: gist updated with single test output
00:15 <drewolson> fishcakez: this is the test, FYI https://gitlab.com/drewolson/graphql_example_elixir/blob/dd2c551b062b1b844028eaeb633da5bc577c18ec/test/blog/web/router_test.exs#L96-134
00:15 chriswarren joined
00:18 MotherFlojo joined
00:25 chriswarren joined
00:26 drewolson joined
00:27 steffkes joined
00:38 rschmukler joined
00:41 <griffinbyatt> asonge: You wouldn't necessarily need to execute the function ref for it to be a security issue. Passing whatever value through an Enum function would be enough
00:41 <asonge> yeah, i was pm'd with that info
00:41 <griffinbyatt> Ah :P
00:55 chriswarren joined
01:02 <fishcakez> drewolson: yeah so Task Y is started by process X
01:02 <fishcakez> and Task Y does not have a sandbox
01:02 proteusguy joined
01:03 <fishcakez> it should have caller: X in its query options and use X's sandbox
01:04 v0j joined
01:07 nighty- joined
01:07 hahuang65 joined
01:15 dannluciano joined
01:18 <drewolson> fishcakez: I can't tell is this is an issue with my code or the library's. I'm not explicitly starting any tasks.
01:19 <fishcakez> drewolson: the stacktrace says there is a task though
01:19 <fishcakez> under a supervisor
01:21 <fishcakez> drewolson: my guess is that absinthe batching is starting tasks that dont get the caller?
01:22 PaReeOhNos joined
01:23 <fishcakez> drewolson: here: https://github.com/absinthe-graphql/absinthe/blob/master/lib/absinthe/resolution/plugin/batch.ex#L120
01:24 <fishcakez> so you would need to make sure the [caller: self()] option is passed to the fun there
01:26 <fishcakez> drewolson: so you'd need to pass [caller: pid] to https://gitlab.com/drewolson/graphql_example_elixir/blob/dd2c551b062b1b844028eaeb633da5bc577c18ec/lib/blog/comment/repo.ex#L26
01:26 <fishcakez> but pid must be the plug process
01:26 <fishcakez> i think the easiest way to do that is to add an options argument
01:27 msantos joined
01:31 chriswarren joined
01:33 rschmukler joined
01:39 tomterl joined
01:44 MotherFlojo joined
01:45 rschmukler joined
01:51 chriswarren joined
01:55 greengriminal joined
02:01 chriswarren joined
02:04 rschmukler joined
02:05 griffinbyatt joined
02:10 chriswarren joined
02:15 duggiefresh joined
02:18 webdev007 joined
02:21 racycle joined
02:26 rschmukler joined
02:27 <benwilson512> drewolson: do what we do for Absinthe.Ecto and include self() as one of the batch keys
02:27 <benwilson512> or rather as part of the batch key
02:27 <benwilson512> drewolson: https://github.com/absinthe-graphql/absinthe_ecto/blob/master/lib/absinthe/ecto.ex#L132
02:28 steffkes joined
02:28 steffkes joined
02:28 chriswarren joined
02:31 raycoll joined
02:34 PaReeOhNos joined
02:35 wtetzner joined
02:37 chriswarren joined
02:40 rschmukler joined
02:45 raycoll joined
02:45 jerel joined
02:50 MotherFlojo joined
02:52 rschmukler joined
02:56 chriswarren joined
03:03 chriswarren joined
03:03 jkreeftmeijer joined
03:11 chriswarren joined
03:17 rschmukler joined
03:24 vendethiel- joined
03:27 rschmukler joined
03:29 chriswarren joined
03:32 raycoll joined
03:36 travis-ci joined
03:36 <travis-ci> njonsson/elixir#1 (add-multicodepoint-doctests-for-string-at2-and-string-length1 - d846ecf : Nils Jonsson): The build passed.
03:36 <travis-ci> Change view : https://github.com/njonsson/elixir/commit/d846ecf12eff
03:36 <travis-ci> Build details : https://travis-ci.org/njonsson/elixir/builds/215373032
03:36 travis-ci left
03:36 raycoll joined
03:37 rschmukler joined
03:39 chriswarren joined
03:43 mk[] left
03:46 PaReeOhNos joined
03:57 chriswarren joined
04:03 raycoll joined
04:04 jkreeftmeijer joined
04:14 rschmukler joined
04:16 BeerLover joined
04:17 kansi joined
04:17 greengriminal joined
04:24 chriswarren joined
04:29 steffkes joined
04:29 steffkes joined
04:30 Guest__ joined
04:33 MotherFlojo joined
05:00 vampirehunter joined
05:02 PaReeOhNos joined
05:03 dec0n joined
05:08 rschmukler joined
05:09 jkreeftmeijer joined
05:10 chriswarren joined
05:25 imack joined
05:28 meandi_2 joined
05:28 chriswarren joined
05:32 gvaughn joined
05:35 BeerLover joined
05:37 rschmukler joined
05:38 squallstter joined
05:55 cemilowski joined
05:56 chriswarren joined
06:00 craigp_ joined
06:05 chriswarren joined
06:05 <linduxed> so it seems like a lot of deployment guides for elixir projects involve using exrm/distillery, which compiles the project
06:06 <linduxed> this means, however, that i can't run mix tasks remotely
06:06 <linduxed> is there a performance difference to "running from source"?
06:06 <linduxed> i mean, i'm assuming it compiles the code anyway, right?
06:07 m_m joined
06:09 <Nicd-> there's no performance difference
06:09 <Nicd-> afaik
06:17 PaReeOhNos joined
06:18 rschmukler joined
06:23 steffkes joined
06:23 steffkes joined
06:32 proteusguy joined
06:32 chriswarren joined
06:42 chriswarren joined
06:48 daniel__ joined
06:48 broccoli joined
06:53 colrack joined
06:54 harfangk joined
06:56 <smeevil> fino/
06:56 BeerLover joined
07:00 craigp_ joined
07:02 gokr joined
07:02 l14n joined
07:07 cemilowski joined
07:07 craigp_ joined
07:07 cemilowski left
07:11 nd__ joined
07:13 bigkevmcd joined
07:14 ZippoWeb joined
07:16 sigu joined
07:18 luke_nukem joined
07:20 chriswarren joined
07:20 rschmukler joined
07:21 gvaughn joined
07:21 mattyw joined
07:22 Guest67_ joined
07:22 mark_66 joined
07:27 stephen_m joined
07:28 josevalim joined
07:32 daniel__ joined
07:36 chriswarren joined
07:39 tuacker joined
07:41 saurik joined
07:47 imack joined
07:48 cryo28 joined
07:49 tuacker1 joined
07:51 vmoravec joined
07:53 spawnthink[m] joined
07:53 jpterry joined
07:55 chriswarren joined
07:58 Guest67_ joined
07:59 MotherFlojo joined
07:59 jesuis joined
08:05 <nyaray> linduxed: why would you want to run mix tasks remotely?
08:06 imack joined
08:08 <linduxed> nyaray: migrations
08:08 <gazler> linduxed: https://github.com/bitwalker/distillery/blob/master/docs/Running%20Migrations.md
08:10 <nyaray> gazler: nice
08:11 <gazler> I don't do the seeds part usually. I'd rename the seed function to migrate and delete the seed_script block.
08:17 akeating joined
08:24 steffkes joined
08:24 steffkes joined
08:26 voltone joined
08:31 montanonic joined
08:34 chriswarren joined
08:37 akeating joined
08:47 akeating joined
08:56 rschmukler joined
08:58 luke_nukem left
09:04 ZippoWeb2 joined
09:06 ZippoWeb3 joined
09:08 chriswarren joined
09:09 steffkes joined
09:10 gvaughn joined
09:10 dani0_ joined
09:17 chriswarren joined
09:26 MotherFlojo joined
09:39 gazler_ joined
09:40 <ivan> is there any way to put the first `with` case on its own line?
09:41 <Nicd-> ivan: yes and it looks silly
09:41 <Nicd-> with \
09:41 <ivan> heh thanks that will do
09:41 arquebus joined
09:42 <Nicd-> they should have made it a special keyword or something (dunno the specific terms) so it would work without that \
09:43 <ivan> yes the with syntax seems totally wrong now that I have used it
09:43 <ivan> (in a big function where the RHS of <- spans multiple lines)
09:44 <nyaray> why not wrap that big thing in a function?
09:45 <ivan> hmm can you just catch MatchError and get details of the match failure?
09:46 <nyaray> isn't that what the else is for?
09:46 <ivan> I meant as an alternative to the `with` syntax if I really didn't want to use it
09:47 <ivan> and apparently you can
09:47 <ivan> iex(1)> try do {"", 0} = {"hello", 4} rescue e in MatchError -> e end
09:47 <ivan> %MatchError{term: {"hello", 4}}
09:47 <ivan> I am surely missing something but that seems like an argument against needing `with` (other than to avoid the exception-raising-and-catching penalty?)
09:48 gmcabrita joined
09:48 <nyaray> I'm not sure that I'm completely following you now :/
09:49 <ivan> you can just put a bunch of potentially-failing matches in a `try do` block instead of in a series of `with`
09:51 <nyaray> sure, you could skip using that, but if you get a matching error from a nested call you'd confuse that with the one generated in your try-do-wrapped code
09:51 <ivan> indeed I just realized that, thanks :-)
09:53 <nyaray> for a top-level I-DONT-CARE-JUST-CATCH-ERRORS-handler that sort of semantics makes sense, but then it'd be for all sorts of runtime errors
09:55 <nyaray> if with-else isn't enough, I'd look into breaking it down more
09:55 <ivan> it seems to be enough, just a little unwieldy with two \'es
09:56 <nyaray> why not break out the inner multi-line thing into a new function
09:56 tomaz_b joined
09:57 <ivan> it's a series of steps that don't really belong in their own functions
09:58 <nyaray> defp?
09:59 <ivan> https://borg.xyz/tmp/bootstrap.png see it's a bunch of ugly stuff unworthy of being functioned
10:00 <Nicd-> you don't need the second \
10:00 v0j_ joined
10:00 <Nicd-> I think?
10:00 <Nicd-> I have multiline withs without it
10:00 <Nicd-> with the do on a separate line
10:00 <ciawal> maybe put the command lists into @named_module_attrs
10:00 <ivan> Nicd-: oh huh thanks
10:01 <ciawal> I’d maybe consider just looping this though
10:01 <ciawal> [{:run_on_machine, …}, {:transfer_content, …}, …]
10:02 <nyaray> +1
10:02 <ivan> thanks
10:02 dani0_ joined
10:05 marr joined
10:06 dannluciano joined
10:08 <* nyaray> is looking (currently, from java-land...) forward to see the cleaned up version
10:15 v0j joined
10:17 mattyw joined
10:23 chriswarren joined
10:27 daniel joined
10:28 <OliverMT> Nicd-: do you work with elixir now?
10:28 NeverDie joined
10:28 <OliverMT> I wonder how many people in here work with elixir as their day job atm
10:28 <OliverMT> hopefully steadily rising
10:28 <Nicd-> nope
10:28 <Nicd-> only at home
10:31 rods_ joined
10:32 stephen_m joined
10:33 <nyaray> I'm building a simple web-based tool that SOAP-integrates with our time reporting tool
10:33 <Nicd-> OliverMT: I just built this: https://blog.nytsoi.net/2017/03/24/fbu-frontend-build-utilities
10:33 <nyaray> no one asked for it but I hate doing math with time. and it's frustrating enough to remember to keep track of context switches
10:33 <Nicd-> best feedback I got on reddit was "pls no" :D
10:34 <OliverMT> I was about to say "whyyy?"
10:34 <OliverMT> :p
10:34 <Nicd-> read the motivations part :)
10:34 <OliverMT> I am joking
10:34 <Nicd-> it's a valid opinion!
10:39 <gazler> I have had that blog post open all weekend to read.
10:39 <gazler> Just starting reading, was half way through linking a relevant xkcd before I scrolled down
10:40 <Nicd-> ah, you have kept it open <3
10:41 <gazler> That's basically as good as reading it.
10:41 MaSven joined
10:49 chriswarren joined
10:53 NeverDie_ joined
10:54 <OliverMT> gazler: do you live in .ph ? or am I mixing you with someone else
10:54 <gazler> OliverMT: You are mixing me up with gjaldon__ probably.
10:54 <OliverMT> yes!
10:58 <Nicd-> gazler: any thoughts on it?
10:58 gvaughn joined
10:58 <gazler> Nicd-: pls no :)
10:59 <Nicd-> :D
10:59 <Nicd-> can you elaborate?
10:59 nighty- joined
10:59 chriswarren joined
10:59 <gazler> Haha, I was joking. I haven't had time to look at the code yet, I assume it shells out a lot?
11:00 <Nicd-> there are a couple of examples in the blog post
11:00 akeating joined
11:00 <Nicd-> but usually you call `exec("some_program", [args])` that starts a program (usually some node CLI)
11:00 <Nicd-> at least when building the frontend
11:01 <Nicd-> but you can just run Elixir too
11:05 <gazler> Oh yeah, I see what it's doing. I think as far as an Elixir build tool for building external things it goes it looks good.
11:07 <Nicd-> thanks :) it seems to work quite well for me but I want to hear people's thoughts
11:08 <Nicd-> and if someone likes it maybe it can be made better to suit their needs too
11:10 travis-ci joined
11:10 <travis-ci> elixir-lang/elixir#14095 (master - 7cc6998 : Gal Tsubery): The build passed.
11:10 <travis-ci> Change view : https://github.com/elixir-lang/elixir/compare/3c8bdfcc2cb8...7cc699836e73
11:10 <travis-ci> Build details : https://travis-ci.org/elixir-lang/elixir/builds/215484558
11:10 travis-ci left
11:14 travis-ci joined
11:14 <travis-ci> elixir-lang/elixir#14096 (master - 8e11aac : Qqwy / Wiebe-Marten): The build passed.
11:14 <travis-ci> Change view : https://github.com/elixir-lang/elixir/compare/7cc699836e73...8e11aacfcfb6
11:14 <travis-ci> Build details : https://travis-ci.org/elixir-lang/elixir/builds/215484733
11:14 travis-ci left
11:15 odogono joined
11:18 dannluciano joined
11:25 griffinbyatt joined
11:34 <dongo> What's the best way to include a specific JavaScript file for a specific page?
11:34 <dongo> In phoenix
11:35 <dongo> Phoenix 1.3*
11:37 chriswarren joined
11:37 cristianR_ joined
11:39 <gazler> dongo: Probably render_existing https://stackoverflow.com/questions/32356096/phoenix-additional-layout-variables-like-inner/32356624#32356624
11:39 <teacup-on-rc> hey guys I am e newbie in elixir and going through pragdave's book trying some examples , but I am hitting some strange behaviour maybe with my elixir/erlang installation
11:40 <teacup-on-rc> I am running a fibonacci server example, and I have more than 4 cores on the machine I am testing, but can't see with htop more than one core being utilized
11:41 <teacup-on-rc> also the iex doesn't show any smp info, saw on the web some examples were displaying smp2:2 or more, but don't get anything like that
11:41 <teacup-on-rc> $ iex
11:41 <teacup-on-rc> Erlang/OTP 18 [erts-7.3] [source] [64-bit] [async-threads:10]
11:41 <teacup-on-rc> Interactive Elixir (1.3.0) - press Ctrl+C to exit (type h() ENTER for help)
11:41 <teacup-on-rc> any ideas ?
11:42 dani0_ joined
11:42 mark_66 joined
11:42 <gazler> teacup-on-rc: What is the result of `System.schedulers_online` in iex?
11:44 <teacup-on-rc> 1
11:44 NeverDie joined
11:44 <teacup-on-rc> gazler: which I guess explains why I see such cpu utilization, but how can I change it
11:45 <gazler> teacup-on-rc: What about if you start iex with `iex --erl "+S 2:2"`
11:45 <teacup-on-rc> again I see one online scheduler
11:46 <dongo> gazler: that'd be a nice and dandy solution if it actually worked
11:46 <gazler> teacup-on-rc: One more. Try starting erlang with `erl -smp enable`
11:46 <gazler> See if you get the [smp:x:y] in the output
11:47 <gazler> dongo: In what way does it not work?
11:47 <dongo> I get SyntaxError: import declarations may only appear at the top level of a module for this line: import {Socket} from "phoenix"; in the JS file
11:47 <teacup-on-rc> gazler: Argument '-smp enable' not supported.
11:47 <gazler> teacup-on-rc: Well, I guess that's the issue. What OS are you on?
11:47 <teacup-on-rc> gentoo
11:48 <gazler> dongo: That's a problem with your JS and not render_existing.
11:48 <gazler> dongo: You probably have `import { Socket } ` inside of an if or something.
11:48 <gazler> Which isn't valid JS.
11:48 <gazler> You can use require inside of an if though.
11:48 <dongo> Nope. It's at the top level
11:48 <teacup-on-rc> gazler: thanks I guess I will need to play with some USE flags :)
11:48 <dongo> Not in any scopes whatsoever
11:48 <gazler> dongo: Can you gist your JS please?
11:49 <dongo> Yes
11:49 <gazler> teacup-on-rc: Yeah, I guess it compiled without smp.
11:53 <dongo> gazler: https://ghostbin.com/paste/urudn
11:53 <dongo> Trying to include it on localhost/test/cat
11:54 <dongo> It seems to be included, but it's not executing correctly
11:54 <dongo> My app.js file is basically empty
11:54 <gazler> How are you including it?
11:54 <whodidth1s> what's the error with a regular require("phoenix")
11:55 <dongo> <%= render_existing @view_module, "scripts.html", assigns %> gazler
11:56 <gazler> dongo: The other part. :)
11:56 <gazler> render("scripts.html")...
11:56 <dongo> Oh from the view?
11:56 <gazler> Yeah.
11:57 <dongo> https://ghostbin.com/paste/76xzt
11:57 <Confiks> I'm running Webpack in "watchers", but when I quit "mix phoenix.server" and quit by pressing CTRL+C twice (as the Up and Running guide suggests), Webpack keeps running. Is there any way I can shutdown Phoenix more gracefully so Webpack quits?
11:58 <Confiks> s/I quit/I start/
11:59 <gazler> dongo: Is irc.js being transpiled by brunch?
11:59 <gazler> dongo: You can navigate to http://localhost:4000/js/irc.js to check
11:59 dannluciano joined
12:01 <gazler> Confiks: I know josevalim added support for this in brunch. Not sure if there is something similar in webpack https://github.com/brunch/brunch/pulls?q=is%3Apr+author%3Ajosevalim+is%3Aclosed
12:02 <gazler> You can use netstat or lsof to find the pid then kill it manually for now.
12:03 <Confiks> gazler: Thanks. I just found this pull request: https://github.com/webpack/webpack/pull/1311
12:03 <Confiks> Using --watch-stdin works, except for when Webpack is still loading.
12:03 <dongo> gazler: Ok, nevermind what I said about the JS file being included. It was some other experiment where I put the file in assets/static/js/irc.js, and that was being included. Obviously it's not supposed to be there for this situation
12:04 <dongo> It is not being included at all
12:04 <dongo> My JS file is in assets/js/irc.js
12:04 <gazler> dongo: Is it being requested?
12:04 <dongo> I get a 404 on localhost/js/irc.js
12:04 <dongo> It is being requested, yes
12:04 <gazler> dongo: Well, at least render_existing is working.
12:04 <dongo> But the request is just a 404
12:04 <dongo> Yeah
12:04 nomicflux joined
12:04 <gazler> You'll need to add it to brunch I think.
12:05 <dongo> How would I do this?
12:05 <gazler> Confiks: Good to know, I've been killing it manually for ages out of laziness.
12:05 <gazler> dongo: I think you add it in the joinTo in your config.
12:06 <gazler> dongo: It is commented out in the brunch config file.
12:07 flaviodesousa joined
12:08 <dongo> gazler: I have never used brunch before. https://ghostbin.com/paste/2unb3 Is line 7-8 correct or not?
12:08 <dongo> I just look at the comments below those lines
12:08 <dongo> I meant lines 6-9
12:08 <dongo> Line 5 is what it used to be
12:11 <gazler> dongo: https://github.com/brunch/brunch-guide/blob/master/content/en/chapter04-starting-from-scratch.md#split-targets
12:12 <dongo> oh I should just use the name of the files
12:12 <dongo> so "js/irc.js": "js/irc.js"
12:12 <dongo> that seems to work?
12:13 <dongo> >Error: Cannot find module 'phoenix_html' from 'js/app.js' irc.js:61:11
12:13 <gazler> I think so. I can't remember off the top of my head. Been a while since I used brunch.
12:13 <dongo> well I guess no
12:13 <dongo> t
12:13 chriswarren joined
12:15 <dongo> gazler: well, now I see these errors in my terminal for phoenix https://ghostbin.com/paste/ctatn
12:16 <gazler> You'll need to use a pattern that includes them in your joinTo
12:16 <dongo> got any suggestions for such a pattern?
12:17 milad joined
12:18 <dongo> actually, nevermind, got it
12:19 <dongo> even after including those three files, I still get Error: Cannot find module 'phoenix_html' from 'js/app.js'
12:19 mattyw joined
12:20 PaReeOhNos joined
12:21 chriswarren joined
12:23 <dongo> why is this so incredibly hard
12:24 <Nicd-> Confiks: I have written an apprunner in Elixir to fix that problem
12:24 <Nicd-> Confiks: https://github.com/Nicd/fbu/blob/master/lib/apprunner.exs
12:25 <asonge> Nicd-: that sounds a bit heavyweight?
12:25 <Nicd-> you may need to modify it to suit your use case
12:25 <asonge> like, a whole other copy of the beam running
12:25 <Nicd-> asonge: then write one in another language :P
12:25 <asonge> Nicd-: couldn't you do this in bash?
12:26 <Nicd-> I tried and failed
12:26 <Nicd-> it was a mess
12:26 <asonge> should be like 10 lines of bash
12:26 <Nicd-> I'm only depending on Elixir so adding a bash dependency would be a problem too
12:26 <Nicd-> asonge: please do write it
12:26 <asonge> background process, store off pid, read from stdin, when it falls through, kill pid
12:26 <Nicd-> but if the process dies in the meantime?
12:26 akeating joined
12:27 <Nicd-> you need to listen to both situations at the same time
12:27 <asonge> ah, true
12:27 <Nicd-> that's where bash couldn't cut it, or at least my skills
12:27 <asonge> apparently read has a timeout param, so there's 1 mechanism
12:28 <Nicd-> now you're polling and that's ugly :D I don't care about a small BEAM memory penalty on my dev machine
12:29 <asonge> that kind of polling is not bad :P
12:32 <Nicd-> anyway personally I only have an Elixir dependency so not going to replace with Bash. if you have a ready made solution then you'll probably show it to Confiks :P
12:34 franco joined
12:36 <Confiks> Nicd-: That looks good, thanks. Webpack still keeps hanging if you close stdin /during/ a build.
12:36 <Confiks> I mean, with the --watch-stdin option. This'll kill it for sure.
12:37 <Nicd-> it should, but I make no guarantees :D
12:37 <Nicd-> please read the code first, it's pretty awful
12:37 MotherFlojo joined
12:38 dannluciano joined
12:39 milad joined
12:44 travis-ci joined
12:44 <travis-ci> njonsson/elixir#2 (add-multicodepoint-doctests-for-string-at2-and-string-length1 - 2162f47 : Nils Jonsson): The build passed.
12:44 <travis-ci> Change view : https://github.com/njonsson/elixir/compare/d846ecf12eff...2162f47d6d3d
12:44 <travis-ci> Build details : https://travis-ci.org/njonsson/elixir/builds/215513483
12:44 travis-ci left
12:47 gvaughn joined
12:47 daniel__ joined
12:48 execb5 joined
12:48 chriswarren joined
12:51 <Confiks> I'm also having trouble with getting my (webpack generated) static assets to be served by the production server. _build/prod/lib/appname/priv/static contains all manifested files, including a manifest.json.
12:51 <Confiks> And using <%= static_path(@conn, "/bundle-foobar.js") %> produces the correct manifested file in the HTML, but the server throws a 404 on that resource.
12:55 jkreeftmeijer joined
12:59 <Confiks> I also don't see something special being done to route static files in router.ex
12:59 <Nicd-> it's in endpoint.ex
13:00 <Nicd-> look for Plug.Static
13:01 cdg joined
13:02 ramortegui joined
13:03 cdg joined
13:03 v0j joined
13:03 <Confiks> Right, thanks
13:05 rschmukler joined
13:12 dannluciano joined
13:13 tomaz_b joined
13:20 rschmukler joined
13:20 sfbw joined
13:24 travis-ci joined
13:24 <travis-ci> elixir-lang/elixir#14098 (master - 9b614bb : José Valim): The build passed.
13:24 <travis-ci> Change view : https://github.com/elixir-lang/elixir/compare/8e11aacfcfb6...9b614bb1a34e
13:24 <travis-ci> Build details : https://travis-ci.org/elixir-lang/elixir/builds/215526155
13:24 travis-ci left
13:26 chriswarren joined
13:28 awea joined
13:29 dimitarvp joined
13:31 NeverDie_ joined
13:31 dani0_ joined
13:34 jkreeftmeijer joined
13:37 akeating joined
13:37 proteusguy joined
13:38 milad joined
13:39 Uniaika joined
13:45 maxbeizer joined
13:50 skinkitten joined
13:55 gvaughn joined
13:59 hashpuppy joined
14:03 chriswarren joined
14:04 chriswarren joined
14:06 chriswarren joined
14:07 cdg_ joined
14:07 chriswar_ joined
14:07 tesst joined
14:11 jbranchaud joined
14:12 vendethiel joined
14:17 dannluciano joined
14:22 chuff joined
14:24 aeliton joined
14:28 BeerLover joined
14:31 dannluciano joined
14:33 maxbeizer joined
14:34 racycle joined
14:36 smt joined
14:38 MotherFlojo joined
14:48 Cohedrin joined
14:50 stephen_m|2 joined
14:51 <sorentwo> micmus: ping
14:56 rschmukler joined
15:01 Gasher joined
15:08 jerel joined
15:21 skinkitten joined
15:25 bcinman joined
15:26 akeating joined
15:27 Zor joined
15:27 milad joined
15:28 ikcerog joined
15:29 duggiefresh joined
15:31 dani0_ joined
15:34 MaSven joined
15:35 bcinman joined
15:40 travis-ci joined
15:40 <travis-ci> elixir-lang/elixir#14099 (master - 1822cdb : José Valim): The build passed.
15:40 <travis-ci> Change view : https://github.com/elixir-lang/elixir/compare/9b614bb1a34e...1822cdbc8da6
15:40 <travis-ci> Build details : https://travis-ci.org/elixir-lang/elixir/builds/215577832
15:40 travis-ci left
15:41 meh` joined
15:42 drincruz joined
15:44 montanonic joined
15:45 execb5 joined
15:46 MarioBranco joined
15:47 Cohedrin joined
15:49 Zor joined
15:50 amclain joined
15:50 rschmukler joined
15:53 ZippoWeb joined
15:58 jmiven joined
16:04 rozap joined
16:15 rschmukler joined
16:15 wsieroci joined
16:20 <vans163_> is there something similar to a local_import directive? Basically it works as the import but only for the scope its in?
16:20 racycle joined
16:21 markh joined
16:21 jdrab joined
16:22 jbranchaud joined
16:25 drincruz joined
16:25 <micmus> sorentwo: pong
16:25 <micmus> vans163_: that's exactly how import works
16:25 <vans163_> micmus: really? let me try..
16:27 <vans163_> so I can do inside a def import :lists, only: [keyfind: 3] ? is there a way to also :as the keyfind into a new name like find ?
16:27 refriedchicken joined
16:29 bcinman joined
16:29 snappy_ joined
16:31 <sorentwo> micmus: I pinged too soon. Was trying to figure out if there was a way to access a specific join on the Query struct, but I've worked around it.
16:32 <snappy_> Hey everyone! Quick question, what's the purpose of the second line here? Wouldn't the first line return the equivalent? https://gist.github.com/anonymous/d415358ef4f82879cd14d4572b2c4ac5
16:32 <micmus> vans163_ yes, and no - not that powerful
16:32 <micmus> sorentwo: yeah, there's only by-index access
16:33 <micmus> snappy_: so that you could access the role from the test context under key role
16:35 drincruz joined
16:35 <snappy_> micmus: gotcha. could you add the key to the first line so the second line isn't necessary?
16:36 ikcerog joined
16:36 <micmus> snappy_: the first one pattern matches on the result of the function call, the second one creates a return value for the setup block
16:37 <snappy_> micmus: oh okay. now I get it.
16:38 <snappy_> micmus: I was originally going to ask why https://gist.github.com/anonymous/b6c3537007bb610c9a2885fe28abbd6d wouldn't work, but there's no key to pattern match against.
16:38 griffinbyatt joined
16:39 MotherFlojo joined
16:40 smt left
16:46 akeating_ joined
16:47 lexmag joined
16:57 rschmukler joined
16:59 cemilowski joined
16:59 <vans163_> micmus: gotcha
17:02 <vans163_> it seems alias only works for module names
17:02 <vans163_> so 2 lines probably import... , find = :keyfind
17:03 <vans163_> yea you cant do that
17:04 Cohedrin joined
17:06 milad joined
17:08 MarioBranco joined
17:12 NeverDie joined
17:20 dani0_ joined
17:22 cemilowski left
17:22 rschmukler joined
17:22 montanonic joined
17:25 gokr joined
17:28 emancu joined
17:31 milad joined
17:31 akeating joined
17:33 ramortegui joined
17:34 m_m joined
17:34 byte512 joined
17:36 refriedchicken joined
17:38 ikcerog joined
17:45 hahuang61 joined
17:46 milad joined
17:47 JuanMiguel joined
17:49 refriedchicken66 joined
17:54 rschmukler joined
17:57 akeating joined
17:58 cemilowski1 joined
17:58 ashp joined
18:04 jbranchaud joined
18:06 jkreeftmeijer joined
18:10 NeverDie joined
18:16 Cohedrin joined
18:19 imack joined
18:21 racycle joined
18:23 rschmukler joined
18:26 execb5 joined
18:28 codestorm7 joined
18:33 montanonic joined
18:37 josevalim joined
18:40 MotherFlojo joined
18:49 MotherFlojo joined
18:52 rschmukler joined
18:59 kyrix joined
19:01 meh` joined
19:06 milad joined
19:07 ipengineer joined
19:11 apotry joined
19:13 squallstter joined
19:18 rschmukler joined
19:25 hemulen_ joined
19:26 juancate joined
19:28 billstclair joined
19:28 Miah_ joined
19:34 juancate joined
19:36 milad joined
19:37 manveru joined
19:39 travis-ci joined
19:39 <travis-ci> elixir-lang/elixir#14100 (master - 75aa66c : Aleksei Magusev): The build has errored.
19:39 <travis-ci> Change view : https://github.com/elixir-lang/elixir/compare/1822cdbc8da6...75aa66cf7f4b
19:39 <travis-ci> Build details : https://travis-ci.org/elixir-lang/elixir/builds/215665669
19:39 travis-ci left
19:42 ekinmur joined
19:43 <drewolson> benwilson512: thanks for the `caller:` tip last night.
19:43 <drewolson> i updated scrivener and scrivener_ecto to allow optionally specifying caller as well
19:44 montanonic joined
19:44 Fenne joined
19:45 HalcyonicStorm joined
19:46 <nyaray> so, I've got an `iex -S mix run` session, how would I rebuild from inside iex?
19:47 rschmukler joined
19:48 wsmoak joined
19:48 travis-ci joined
19:48 <travis-ci> elixir-lang/elixir#14101 (master - 553c342 : Aleksei Magusev): The build passed.
19:48 <travis-ci> Change view : https://github.com/elixir-lang/elixir/compare/75aa66cf7f4b...553c342dddc2
19:48 <travis-ci> Build details : https://travis-ci.org/elixir-lang/elixir/builds/215666381
19:48 travis-ci left
19:48 ikanobori joined
19:49 avdi joined
19:50 ZippoWeb joined
19:50 olinkl joined
19:50 bcavileer joined
19:51 <beatpanic> nyaray: usually I do recompile()
19:53 <nyaray> yeah... of course it'd be something simple like that. thanks!
19:57 wsieroci joined
20:00 hahuang65 joined
20:03 cdg joined
20:10 jkreeftmeijer joined
20:11 Fenne joined
20:12 vendethiel joined
20:13 icanhazbroccoli joined
20:17 cemilowski joined
20:17 Guest67_ joined
20:18 Guest67_ joined
20:30 nd__ joined
20:31 MotherFlojo joined
20:32 jbranchaud joined
20:34 josevalim joined
20:36 rschmukler joined
20:40 icanhazbroccoli joined
20:41 Ven joined
20:43 jbranchaud joined
20:45 Or1on joined
20:46 MotherFlojo joined
20:48 rschmukler joined
20:53 gazler_ joined
20:56 sfbw joined
21:00 rschmukler joined
21:03 Guest67_ joined
21:11 jkreeftmeijer joined
21:14 rschmukler joined
21:16 Stratus3D joined
21:18 Codecaster joined
21:18 Ven_ joined
21:19 Guest67_ joined
21:19 <meh`> is there a chance `warning: this check/guard will always yield the same result` is wrong?
21:20 <meh`> oh wait, it's right, that's the intention mmh
21:26 reem joined
21:26 Ven_ joined
21:27 cmeik joined
21:28 hahuang65 joined
21:29 m_m joined
21:32 refriedchicken joined
21:34 vadviktor joined
21:34 codestorm7 joined
21:34 jparise joined
21:40 vikram__________ joined
21:44 fhoffmann joined
21:44 refriedchicken joined
21:46 <codestorm7> mix is running very slow for me today
21:52 rozap joined
21:53 PaReeOhNos joined
22:00 hahuang65 joined
22:00 chriswarren joined
22:01 chriswarren joined
22:02 chriswarren joined
22:02 rschmukler joined
22:03 chriswarren joined
22:03 chriswarren joined
22:04 chriswarren joined
22:05 chriswarren joined
22:06 chriswarren joined
22:06 racycle joined
22:06 hahuang65 joined
22:11 jkreeftmeijer joined
22:15 vendethiel joined
22:20 fernandomm joined
22:44 sfbw joined
22:50 am55 joined
22:51 wtetzner joined
22:52 wtetzner joined
22:56 rschmukler joined
22:57 sfbw joined
23:05 griffinb_ joined
23:07 chriswarren joined
23:07 jbranchaud joined
23:13 bcinman joined
23:17 PaReeOhNos joined
23:17 nomicflux joined
23:19 Stratus3D joined
23:26 vendethiel- joined
23:28 G13ydson joined