<    June 2018     >
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 _2_0 21 22 23  
24 25 26 27 28 29 30
00:00 alexband joined
00:05 jeffro joined
00:07 alexband joined
00:08 mertonium joined
00:16 ssswitch joined
00:19 sindan joined
00:32 lauromoura_ joined
00:35 sindan joined
00:36 akeating joined
00:37 pera joined
00:40 elixir-lang-repo joined
00:40 <elixir-lang-repo> [elixir] blatyo opened pull request #7744: Fix type spec for Task.Supervisor.start_child/4 (master...fix-start-child-type-spec) https://git.io/vhow2
00:40 elixir-lang-repo left
00:42 Guedes joined
00:55 elixir-lang-repo joined
00:55 <elixir-lang-repo> [elixir] blatyo opened pull request #7745: Fix type spec for Task.Supervisor.start_child/4 (v1.6...fix-start-child-type-spec-1.6) https://git.io/vhorL
00:55 elixir-lang-repo left
00:59 za1b1tsu joined
00:59 nighty- joined
01:10 cschneid joined
01:12 lauromoura_ joined
01:17 alexband joined
01:18 alexband joined
01:18 alexband_ joined
01:26 theWhisper_ joined
01:31 sihui_io joined
01:38 jeffro joined
01:40 maxbeizer joined
01:44 DSM joined
01:45 tomterl joined
01:59 lauromoura_ joined
02:09 jeffro joined
02:11 Avinash joined
02:13 rozap joined
02:15 Avinash joined
02:19 sevenseacat joined
02:23 Avinash joined
02:39 jeffro joined
02:45 lauromoura_ joined
02:58 sihui_io joined
03:06 jeffro joined
03:10 Avinash joined
03:11 duane joined
03:15 lauromoura_ joined
03:17 greengriminal joined
03:19 sihui_io joined
03:21 Avinash joined
03:23 ssswitch joined
03:37 cschneid joined
03:39 sihui_io joined
03:40 za1b1tsu joined
03:45 lessless joined
03:52 take_flight joined
03:52 JimmyRcom_ joined
03:56 sihui_io joined
04:02 lauromoura_ joined
04:06 jeffro joined
04:10 akeating joined
04:19 sihui_io joined
04:21 jeffro joined
04:23 BitGonzo joined
04:40 Avinash joined
05:00 lauromoura_ joined
05:09 Avinash joined
05:20 <sms> So I suppose there's really no easy way to create a new post with a many-to-many field, huh
05:21 <sms> I guess when I create a new post I just have to go through the checkboxes, check if the category is set to true and create the associations that way?
05:21 aladin joined
05:25 za1b1tsu joined
05:26 <ivan> can I write a regexp that spans multiple lines (referring to the actual code)?
05:27 <ivan> I see that it compiles but I think it's looking for more whitespace now?
05:28 sihui_io joined
05:32 sihui_io joined
05:40 rpip joined
05:44 lauromoura_ joined
05:51 KeyJoo joined
05:52 jeffro joined
05:56 Avinash_ joined
05:57 ur5us joined
06:00 jeffro joined
06:01 sihui_io joined
06:01 mbuf joined
06:06 jeffro joined
06:11 jegaxd26 joined
06:14 lauromoura_ joined
06:23 juba joined
06:28 lexmag joined
06:36 _arkgil joined
06:49 lauromoura_ joined
06:52 jegaxd26 joined
06:53 tuacker joined
06:55 icanhazbroccoli joined
06:58 PragTob joined
06:58 lexmag joined
06:59 Hanonim joined
07:01 codestorm joined
07:06 jeffro joined
07:16 lauromoura_ joined
07:17 Jetimon joined
07:20 inhortte joined
07:21 <josevalim> ivan: see the Regex module doc, i think there is a m modifier for multiline and a x for extended
07:21 <josevalim> or something along these lines
07:22 jeffro joined
07:24 sihui_io joined
07:37 elixir-lang-repo joined
07:37 <elixir-lang-repo> [elixir] josevalim closed pull request #7745: Fix type spec for Task.Supervisor.start_child/4 (v1.6...fix-start-child-type-spec-1.6) https://git.io/vhorL
07:37 elixir-lang-repo left
07:37 akeating joined
07:38 elixir-lang-repo joined
07:38 <elixir-lang-repo> [elixir] josevalim closed pull request #7744: Fix type spec for Task.Supervisor.start_child/4 (master...fix-start-child-type-spec) https://git.io/vhow2
07:38 elixir-lang-repo left
07:38 gazler joined
07:38 za1b1tsu joined
07:38 betawaffle joined
07:47 stephen_m joined
07:52 Zaab1t joined
08:00 akeating joined
08:04 akeating_ joined
08:07 nbg joined
08:07 codestorm joined
08:11 lauromoura_ joined
08:18 TinkerT joined
08:19 Jetimon joined
08:40 pereira_alex joined
08:43 elixir-lang-repo joined
08:43 <elixir-lang-repo> [elixir] lackac opened pull request #7746: Fix typo in docs of `Task.async_stream/5` (master...patch-1) https://git.io/vhop5
08:43 elixir-lang-repo left
08:50 <ivan> josevalim: ah thanks I missed that
08:50 <ivan> fortunately what I was working on was a complete waste of time (I was parsing org-mode instead of just having emacs convert it to json)
08:53 netrino joined
09:01 flaviodesousa joined
09:01 toothfairy_ joined
09:08 lexmag joined
09:20 lauromoura_ joined
09:21 dv__ joined
09:22 <dv__> Howdy. Could someone give insight on why the Web module in Phoenix is called FooWeb and not Foo.Web (i.e. per https://github.com/phoenixframework/phoenix/blob/master/installer/lib/mix/tasks/phx.new.web.ex)
09:22 <dv__> Trying to figure out the correct naming convention/namespacing to use for my modules
09:22 jeffro joined
09:32 <ivan> dv__: if you have a Thing and a ThingWeb then ThingWeb.* can't conflict with any Thing.*
09:33 <ivan> what if Thing puts a Web in Thing, after all
09:34 <dv__> right of course, in that case did Phoenix 1.3 choose this name to make upgrading from 1.2 easier? (and typically Foo.Bar is preferred?)
09:34 <micmus> dv__: that's done to further underline the difference between the web part of your app namespeced under `FooWeb` and the "business logic" part of your app namespaced under just `Foo`. It's almost as if they were separate applications and in fact if you generate phoenix with the --umbrella flag it would place them in two separate apps - `:foo` with namespace `Foo` and `:foo_web` with namespace `FooWeb`
09:35 <dv__> ahh
09:35 <dv__> that makes sense, so conceptually (relationship-wise) "Foo" and "FooWeb" are not like "Foo" and "Foo.Repo"
09:36 akeating joined
09:37 <dv__> Almost like they should be different projects, "Portal" and "Backend" or whatever. Repo being Backend.Repo in this example
09:39 <dv__> thanks
09:43 lauromoura_ joined
09:47 voxxit joined
09:54 mertonium joined
09:56 codestorm joined
09:56 akeating joined
10:01 shakotan joined
10:01 jegaxd26 joined
10:03 mertonium joined
10:04 jeffro joined
10:10 mbuf joined
10:18 jeffro joined
10:18 lauromoura_ joined
10:21 hauleth joined
10:22 muddywatt joined
10:25 mertonium joined
10:29 sindan joined
10:40 lauromoura_ joined
10:40 mahmudov joined
10:43 akeating joined
10:46 mertonium joined
10:47 mertonium joined
10:50 codestorm joined
11:01 stephen_m joined
11:03 <pankracy> how is mix.lock file deserialized?
11:04 <pankracy> I see it starts from %{ which means this is an elixir map
11:04 <pankracy> how can I load such file into iex or serialize my map that way?
11:05 elixir-lang-repo joined
11:05 <elixir-lang-repo> [elixir] josevalim closed pull request #7746: Fix typo in docs of `Task.async_stream/5` (master...patch-1) https://git.io/vhop5
11:05 elixir-lang-repo left
11:06 <josevalim> pankracy: Code.eval_file or similar
11:09 lauromoura_ joined
11:10 <pankracy> josevalim: thx, and how about reverse operation?
11:10 <pankracy> so I can serialize map to the file (I don't mean in json because I will lose atoms)
11:11 <gazler> pankracy: https://github.com/elixir-lang/elixir/blob/4bb7664e05d796a375ed5bb7e9661b5e8612ec37/lib/mix/lib/mix/dep/lock.ex#L52
11:12 <pankracy> gazler: thx, that's what I was looking for :)
11:13 antranigv joined
11:14 shakotan joined
11:27 fmcgeough joined
11:29 jegaxd26 joined
11:30 _arkgil joined
11:38 jimmyrcom joined
11:44 codestorm joined
11:51 kapil___ joined
11:55 dimitarvp joined
11:55 karreiro joined
11:57 KeyJoo joined
12:04 jeffro joined
12:06 KeyJoo joined
12:07 KeyJoo joined
12:16 akeating joined
12:22 gonz_ joined
12:25 Guedes joined
12:28 _arkgil joined
12:34 jeffro joined
12:38 codestorm joined
12:40 Flyynn joined
12:41 Flyynn joined
12:49 jeffro joined
12:55 philShaughnes joined
12:58 akeating joined
13:02 _arkgil_ joined
13:08 maxbeizer joined
13:09 jegaxd26 joined
13:16 adkron joined
13:19 jeffro joined
13:21 iAmerikan joined
13:31 nighty- joined
13:32 codestorm joined
13:40 duane joined
13:45 hauleth joined
13:46 maxbeizer joined
13:49 gvaughn joined
13:55 jeregrine joined
13:56 DeadTrickster joined
13:59 netrino joined
14:05 greengriminal joined
14:06 fxrs joined
14:09 Derperperd joined
14:12 demio joined
14:16 stephen_m joined
14:20 jeffro joined
14:26 codestorm joined
14:26 jeffro joined
14:33 hauleth joined
14:34 adkron joined
14:43 greengriminal joined
15:01 bailon joined
15:02 _arkgil joined
15:05 TheNet joined
15:10 _arkgil joined
15:11 DSM joined
15:13 cschneid joined
15:13 stephen_m joined
15:14 za1b1tsu joined
15:19 nineczar joined
15:19 jeregrine joined
15:19 sihui_io joined
15:20 codestorm joined
15:22 netrino__ joined
15:24 netrino joined
15:25 jeregrine joined
15:26 tuacker joined
15:28 ssswitch joined
15:34 _arkgil joined
15:36 DSM joined
15:38 icecreamcohen joined
15:38 jimmyrcom joined
15:40 _arkgil joined
15:42 jeffro joined
15:42 ssswitch joined
15:49 DSM joined
15:53 _arkgil joined
15:56 cagomez joined
16:01 hauleth joined
16:05 akeating joined
16:10 netrino_ joined
16:13 adkron joined
16:14 codestorm joined
16:14 pieterm joined
16:21 wsieroci joined
16:28 jmill joined
16:30 sihui_io joined
16:35 Labu joined
16:43 PragTob joined
16:46 sihui_io joined
16:50 philShaughnes joined
16:51 za1b1tsu joined
16:52 mahmudov joined
16:59 ggm joined
17:08 codestorm joined
17:15 aalmazan joined
17:23 DSM joined
17:26 hahuang65_ joined
17:33 akeating joined
17:35 maxbeizer joined
17:35 wsieroci joined
17:38 jrvl joined
17:49 iAmerikan joined
17:52 demio joined
17:56 akeating joined
17:58 elixir-lang-repo joined
17:58 <elixir-lang-repo> [elixir] dhiru30 opened pull request #7748: Update README.md (master...patch-1) https://git.io/vhKxa
17:58 elixir-lang-repo left
18:01 codestorm joined
18:02 jeregrine joined
18:02 DTZUZO joined
18:04 elixir-lang-repo joined
18:04 <elixir-lang-repo> [elixir] dhiru30 opened pull request #7749: Update RELEASE.md (master...patch-2) https://git.io/vhKpO
18:04 elixir-lang-repo left
18:10 elixir-lang-repo joined
18:10 <elixir-lang-repo> [elixir] dhiru30 closed pull request #7748: Update README.md (master...patch-1) https://git.io/vhKxa
18:10 elixir-lang-repo left
18:12 iAmerika1 joined
18:13 TheNet joined
18:16 nineczar joined
18:21 mitchellhenke joined
18:23 wsieroci joined
18:26 demio joined
18:29 elixir-lang-repo joined
18:29 <elixir-lang-repo> [elixir] josevalim pushed 1 new commit to master: https://git.io/vh6eZ
18:29 <elixir-lang-repo> elixir/master b53d739 Dhirendra Kumar Kashyap: Update RELEASE.md (#7749)
18:29 elixir-lang-repo left
18:33 icecreamcohen joined
18:38 rcdilorenzo left
18:38 rcdilorenzo joined
18:43 TheNet joined
18:46 DSM joined
18:56 codestorm joined
18:58 za1b1tsu joined
19:00 maxbeizer joined
19:07 Phylock joined
19:07 cagomez joined
19:09 DSM joined
19:20 lexmag joined
19:21 _arkgil joined
19:23 cagomez joined
19:24 codestorm joined
19:30 rcdilorenzo left
19:30 rcdilorenzo joined
19:31 iAmerika1 joined
19:37 jeffro joined
19:39 cagomez joined
19:43 nkyian[m] joined
19:46 _arkgil joined
19:46 philShaughnes joined
19:53 HappMacDonald joined
19:55 DSM joined
19:55 <HappMacDonald> Hello there, I want to know if there is a way to find out which aliased module a certain method call comes from? EG, I have code that says insert!(...), but it's not clear if that's supposed to be a Repo.insert!() or if the chain of alias commands leading up to this has imported the same method name from some custom place or another. :o
19:56 <Nicd-> aliases don't do that
19:57 <Nicd-> either you have an `import` statement in the module or inside a macro
19:59 <HappMacDonald> oh ok, then in that case I'd like to see what module the method call was imported from. :)
19:59 rodolfojcj joined
20:01 icecreamcohen joined
20:02 <Nicd-> you can get the module printed with `IO.inspect(&function/arity)`
20:02 <Nicd-> like for example `IO.inspect(&get/2)`
20:03 JimmyRcom_ joined
20:03 <gonz_> HappMacDonald: The real solution to this is to mostly import things that are well known and idiomatic to import. In the case of Ecto & Phoenix things I'd argue they are.
20:04 <gonz_> `import` without `only: [...]` is bad precisely for these reasons
20:04 <HappMacDonald> gonz_ I would agree, I'm just trying to review a peer's code so I'd like to find out where the call is coming from so I can decide precisely how upset to be at them. ;)
20:05 <Nicd-> if you are using VSCode with ElixirLS it will also probably tell you where it's coming from
20:05 <Nicd-> when you mouse over
20:05 <gonz_> Yeah, I was going to add that tooling can help with this a fair bit
20:05 <gonz_> But it's still a comment in the PR for sure
20:06 <gonz_> If it's not a schema or something with the usual suspects `use`d/`import`ed
20:06 za1b1tsu joined
20:07 cagomez joined
20:13 KeyJoo joined
20:14 JimmyRcom_ joined
20:16 iAmerika1 joined
20:22 codestorm joined
20:26 elixir-lang-repo joined
20:26 <elixir-lang-repo> [elixir] ericmj opened pull request #7750: Add instructions for fixing deadlock errors (master...emj/improve-deadlock-message) https://git.io/vh6YR
20:26 elixir-lang-repo left
20:29 kapil___ joined
20:30 mertonium joined
20:31 pranz joined
20:32 pranz1 joined
20:35 KeyJoo joined
20:35 DSM joined
20:36 KeyJoo joined
20:42 <HappMacDonald> Nicd- Hmm, I'm actually having trouble with the @function/arity syntax. iex seems to presume that @anything MUST be a module attribute, and I can't fathom why or how to get the interpretation I want. :o
20:43 <HappMacDonald> ** (ArgumentError) cannot invoke @/1 outside module (or when called in a module) warning: undefined module attribute @length, please remove access to @length or explicitly set it before access
20:43 <Nicd-> &
20:43 <Nicd-> not @
20:44 <Nicd-> 23:02:45 <Nicd-> like for example `IO.inspect(&get/2)`
20:44 KeyJoo joined
20:45 KeyJoo joined
20:47 <HappMacDonald> Nicd-: oh :P Sorry, reading fail lol :)
20:47 <Nicd-> np :)
20:47 <HappMacDonald> I did double check that like 4 times and everything too. xD
20:48 <Nicd-> if I had 1 € for every time I've been blind to my code/typing...
20:48 jerel joined
20:49 squall joined
21:08 KeyJoo joined
21:09 KeyJoo joined
21:11 ur5us joined
21:12 duane joined
21:17 iAmerikan joined
21:17 gvaughn joined
21:20 icanhazbroccoli joined
21:22 mertonium joined
21:28 iAmerika1 joined
21:34 nyberg joined
21:36 KeyJoo joined
21:37 KeyJoo joined
21:48 greengriminal joined
21:49 <Ankhers> I am attempting to generate some tests based on an external file, but I am having trouble accessing a variable inside the test/1 macro. https://gist.github.com/ankhers/f4ea28965ad5bc6fc848fb44fe78b58a is a small example. Does anyone have any solutions?
21:50 __charly__ joined
21:56 <OvermindDL1> You might need to `unquote(t)` in the assert line
21:56 <OvermindDL1> Maybe with a Macro.escape too if it is a complex value
21:56 rcdilorenzo left
21:59 <Ankhers> Now I am getting "invalid quoted expression"
21:59 <OvermindDL1> Hmm maybe not, I've never generated tests like that so I'm unsure what scope they actually run in...
21:59 jeffro joined
22:00 <OvermindDL1> You tried `unquote(Macro.escape(t))` too just to make sure?
22:00 <Ankhers> That is what worked. The first time I tried Macro.escape(unquote(t)) because I didn't read the documentation on it properly :(
22:01 <Ankhers> Thanks!
22:01 icanhazbroccoli joined
22:02 <OvermindDL1> Ah, lol, cool. :-)
22:11 weaksauce joined
22:12 evany joined
22:39 <iFire> Ankhers: poke
22:40 <iFire> Ankhers: thoughts on my mongdb session + transaction support for joins in mongdb ecto?
22:41 novaskell joined
22:43 jeregrine joined
22:43 codestorm joined
22:45 <Ankhers> iFire: It is something I want to get working. I am working right now on generating tests in the mongodb package based on the mongo specs. Once I have that done, I will hopefully have a base to get started easily with the transaction specification tests.
22:46 <Ankhers> It is actually something I have been wanting to get started on ever since the announcement. But time has been sparse for me lately.
22:47 <iFire> is there anything I can do to help.
22:47 <iFire> I can be a minion.
22:50 <Ankhers> I have to run for a bit. If I don't get back to you within about 1.5 hours, ping me.
22:56 jeffro joined
22:57 aeliton joined
23:03 philShaughnes joined
23:12 jeregrine joined
23:14 Lyubo1 joined
23:16 theWhisper_ joined
23:22 icecreamcohen joined
23:34 codestorm joined
23:34 _arkgil joined
23:34 mertonium joined
23:37 mertoniu_ joined
23:37 mertonium joined
23:40 _arkgil joined
23:40 aeliton joined
23:42 dogweather joined
23:46 _arkgil joined
23:54 pranz2 joined
23:54 _arkgil joined
23:57 jeffro joined
23:59 demio joined