<     May 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:17 jmcintosh joined
00:23 griffinbyatt joined
00:27 PotatoCommando joined
00:28 <LastWhisper____> benwilson512 in my application start I was referencing the `supervisor(Phoenix.PubSub.PG2, [Boa.PubSub, []])` line there (Boa is my application name) -- the examples usually say to do "MyApp.PubSub", but I'm looking at all the PubSub modules out there and I'm not entirely sure if I'm supposed to actually create one, or let it use a default one? If I let it use a default module do I still reference it with my MyApp.PubSu
00:28 <LastWhisper____> b?
00:36 PotatoCommando left
00:41 dj_goku joined
00:41 dj_goku joined
00:43 wpcarro joined
00:48 jerel joined
00:58 craigger joined
00:58 mrEngineer joined
01:13 refriedchicken joined
01:15 pookleblinky joined
01:20 potatosalad joined
01:30 ssswitch joined
01:31 jleon joined
01:37 kronicdeth joined
01:38 tomterl joined
01:45 ur5us joined
01:53 elgenie joined
02:05 codestorm joined
02:21 Lingo_ joined
02:22 elgenie joined
02:28 wpcarro joined
02:29 dj_goku joined
02:29 dj_goku joined
02:31 r00tl3ss joined
02:35 ramortegui joined
02:42 jerel joined
02:43 ssswitch joined
02:44 Lingo_ joined
02:45 wpcarro joined
02:55 PhatLe joined
03:04 notdaniel joined
03:08 wpcarro joined
03:09 <wpcarro> Hey, all. Does anyone here know of a good way to defer the compilation of a module?
03:10 <alisdair> for what reason?
03:11 srxa joined
03:11 <wpcarro> I'm testing that a module raises on compilation when it's called with invalid an configuration
03:12 LW123__ joined
03:12 <alisdair> you could manually trigger the compiler in your test suite
03:13 <wpcarro> that sounds promising. What should I call to accomplish that?
03:15 <alisdair> https://hexdocs.pm/elixir/Kernel.ParallelCompiler.html
03:16 <wpcarro> Interesting. Thanks for sharing this
03:17 <wpcarro> What if I'm defining the module inside of the test? Since there won't be a path to this file, is there any recourse here? Or is my best option to move that portion to a separate file and use this API.
03:18 Cohedrin joined
03:19 jleon joined
03:24 kronicdeth joined
03:26 m00dy joined
03:32 WhiskyRyan joined
03:36 codestorm joined
03:45 ur5us joined
03:51 wsieroci joined
03:58 wpcarro_ joined
04:14 jleon joined
04:18 dj_goku joined
04:18 dj_goku joined
04:27 Cohedrin joined
04:42 kronicdeth joined
04:49 kronicdeth joined
04:49 proteusguy joined
04:53 wpcarro_ joined
05:05 kronicdeth joined
05:08 cschneid_ joined
05:10 kronicdeth joined
05:13 meandi_2 joined
05:16 m00dy joined
05:30 gvaughn joined
05:44 ur5us joined
05:44 kronicdeth joined
05:51 wpcarro_ joined
05:57 kronicdeth joined
06:06 dj_goku joined
06:06 dj_goku joined
06:07 cjhowe joined
06:07 cjhowe joined
06:08 codestorm777 joined
06:08 cjhowe joined
06:09 cjhowe joined
06:15 nahtnam joined
06:16 refriedchicken joined
06:21 elgenie joined
06:26 wpcarro joined
06:29 kronicdeth joined
06:31 Sweetlie joined
06:56 jleon joined
07:02 kronicdeth joined
07:13 tuacker joined
07:18 Lingo_ joined
07:19 gvaughn joined
07:21 wpcarro joined
07:23 cschneid_ joined
07:26 griffinbyatt joined
07:32 kronicdeth joined
07:41 m00dy joined
07:42 josevalim joined
07:47 srxa joined
07:54 dj_goku joined
08:04 m00dy joined
08:09 kronicdeth joined
08:12 Lingo_ joined
08:12 m00dy joined
08:17 PaReeOhNos joined
08:18 m00dy joined
08:22 wsieroci_ joined
08:31 m00dy joined
08:41 jleon joined
08:45 travis-ci joined
08:45 <travis-ci> elixir-lang/elixir#14775 (v1.4 - 241e13d : Josh Austin): The build passed.
08:45 <travis-ci> Change view : https://github.com/elixir-lang/elixir/compare/9c8250a09239...241e13da98e1
08:45 <travis-ci> Build details : https://travis-ci.org/elixir-lang/elixir/builds/236626744
08:45 travis-ci left
08:50 kronicdeth joined
08:51 travis-ci joined
08:51 <travis-ci> elixir-lang/elixir#14776 (master - cb07a7b : Justin DeMaris): The build was broken.
08:51 <travis-ci> Change view : https://github.com/elixir-lang/elixir/compare/98252805eac1...cb07a7bd28c1
08:51 <travis-ci> Build details : https://travis-ci.org/elixir-lang/elixir/builds/236626903
08:51 travis-ci left
08:56 Douman joined
08:57 squallstter joined
09:00 jkreeftmeijer joined
09:02 marr joined
09:06 Lingo_ joined
09:07 shymega joined
09:07 gvaughn joined
09:09 wpcarro joined
09:10 kronicdeth joined
09:30 codestorm joined
09:31 codestorm joined
09:32 <Douman> anyone saw error like :unicode_util.lowercase/1 is undefined in HTTPoision?
09:38 ivan_ joined
09:39 cschneid_ joined
09:42 dj_goku joined
09:52 rschmukler joined
10:00 Lingo_ joined
10:02 gvaughn joined
10:04 wpcarro joined
10:10 DisruptiveNL joined
10:13 lexmag joined
10:27 apotry joined
10:28 griffinbyatt joined
10:44 <asonge> Douman: is this in a release?
10:45 <Douman> Yes, i think there was issue with hackney
10:45 <asonge> Douman: did you add enough stuff in extra_applications?
10:46 <Douman> only httpoison
10:46 <Douman> well i actually dropped it already in favour of httpotion
10:47 <Douman> I found recently this issue https://github.com/benoitc/hackney/issues/408
10:47 <Douman> maybe it was due to that
10:47 <Douman> though i think i used latest httpoison and hackney
10:48 <asonge> see what hackney you're using?
10:48 <asonge> `mix hex.outdated` is a thing
10:48 <Douman> ah... i already removed httpoison...
10:49 <Douman> but it was 1.8.3
10:49 <Douman> it is still in my lock
10:51 <asonge> welp, not sure why it's still a problem, but glad you isolated the issue.
10:52 <Douman> yeah... so was i... gottent tired a bit and went just for httpotion therefore :)
10:54 Lingo_ joined
10:55 wsieroci joined
11:04 jkreeftmeijer joined
11:06 <Douman> Does Regex module assumes that provided binary is utf-8?
11:24 <asonge> Douman: yeah. if you have a binary/string in another character set, you need to convert it
11:30 dj_goku joined
11:33 <benoitc> douman well you could have just oppened a ticket or comment. instead of just lurking...
11:36 ur5us joined
11:44 <Douman> benoitc: um... well i was a bit busy and i prefer to open issue only when i'm sure that there is bug
11:48 Lingo_ joined
11:50 gvaughn joined
11:52 dimitarvp joined
11:53 wpcarro joined
11:55 <benoitc> Douman: i prefer false alarm to nothing :)
12:05 jkreeftmeijer joined
12:07 mk[] joined
12:29 proteusguy joined
12:32 mk[] left
12:32 griffinbyatt joined
12:33 stephen_m joined
12:34 cjhowe joined
12:35 cjhowe joined
12:36 cjhowe joined
12:37 cjhowe joined
12:38 cjhowe joined
12:43 Lingo_ joined
12:53 cemilowski joined
12:56 seaword joined
12:56 seaword joined
12:58 josevalim joined
13:10 seaword joined
13:13 ssswitch joined
13:19 dj_goku joined
13:19 dj_goku joined
13:19 meh` joined
13:24 wpcarro joined
13:29 Guest76260 joined
13:37 Lingo_ joined
13:39 gvaughn joined
13:41 [Jacek] joined
13:45 <Siyo> so I'm writing a macro. How do I pass a variable number of arguments to the fragment() macro?
13:46 <Siyo> like fragment("foo", arg1, arg2, ...)
13:51 kronicdeth joined
13:55 <Guest76260> @Siyo, I'm not fluent with elixir macros, but you might try passing in a list, then pattern matching or looping against unquote_splicing().
14:00 <Siyo> thanks Guest76260
14:03 kronicdeth joined
14:04 __charly__ joined
14:06 pookleblinky joined
14:06 jkreeftmeijer joined
14:09 jerel joined
14:19 Lingo_ joined
14:21 <Siyo> thought the problem is that I have runtime values
14:21 <Siyo> I know the length of the list at compile time, but not the values
14:21 wpcarro joined
14:21 <Siyo> not sure how to achieve that with unquote_splicing
14:33 potatosalad joined
14:34 <Siyo> i don't think I can put runtime values into unquote_splicing :/
14:41 WhiskyRyan joined
14:48 ur5us joined
14:50 srxa_ joined
14:50 <seequ_> What'd be the best way to make a genserver die if either of two other processes dies?
14:51 <Siyo> just link the processes to the gen server I guess
14:52 <Siyo> if you don't want to kill the other process, use a monitor
14:53 <LastWhisper____> if im using https://github.com/phoenixframework/phoenix_pubsub without phoenix; do I need to write my own pubsub module in my app ?
14:53 tuacker joined
14:53 <seequ_> I don't. Monitor makes sense, yeah.
14:55 <Siyo> LastWhisper____, no you don't have to. The name in the example is just a name, it doesn't have to point to an existing module
14:55 <Siyo> > supervisor(Phoenix.PubSub.PG2, [MyApp.PubSub, []])
14:55 <LastWhisper____> Okay, so if I pick an adapter, it will basically use the functions defined in that adapter's module, right ?
14:55 <Siyo> MyApp.PubSub module doesn't have to exist
14:56 <Siyo> yes
14:56 cemilowski joined
14:58 <LastWhisper____> so if i use that command you wrote there; i should have access to these functions: https://github.com/phoenixframework/phoenix_pubsub/blob/master/lib/phoenix/pubsub/pg2_server.ex
14:58 <LastWhisper____> or would i only have access to these: https://github.com/phoenixframework/phoenix_pubsub/blob/master/lib/phoenix/pubsub/pg2.ex
15:00 <Siyo> you don't access those directly
15:00 <Siyo> you use the public api https://github.com/phoenixframework/phoenix_pubsub/blob/master/lib/phoenix/pubsub.ex
15:00 <Siyo> this uses the correct adapter underneath
15:06 cdecarlo joined
15:07 dj_goku joined
15:10 stephen_m joined
15:12 <LastWhisper____> that makes so much more sense now
15:21 <LastWhisper____> Siyo in the docs: https://hexdocs.pm/phoenix_pubsub/Phoenix.PubSub.html it mentions how I can do "Direct usage", and start the supervisor like that line you had there; however, right after that, it says I can "now use the functions in that module". they start referencing `PubSub.subscribe :my_pubsub, self, "user:123"`, but I don't believe I have PubSub defined anywhere in my app?
15:21 <LastWhisper____> i get this error warning: function PubSub.subscribe/3 is undefined (module PubSub is not available)
15:23 <LastWhisper____> should I be referencing another module? :/
15:25 <micmus> LastWhisper____: isn't that the Phoenix.PubSub module aliased?
15:25 <micmus> (also once you figure this all out, it might make sense to have a pass over the docs to improve them)
15:26 <LastWhisper____> Yeah definitely, I am just afraid a lot of the misunderstanding comes from my own newbie-ness when it comes to the elixir world
15:27 <Siyo> Phoenix.Pubsub.subscribe(YourApp.PubSub, ...)
15:27 <Siyo> Phoenix.PubSub.subscribe(YourApp.PubSub, ...)
15:28 cdecarlo joined
15:30 Guest67 joined
15:34 griffinbyatt joined
15:37 tuacker joined
15:47 wpcarro joined
15:56 nighty-- joined
16:01 wpcarro joined
16:01 <LastWhisper____> is there anywhere I can read up on examples of people using phoenix_pubsub just to get acquainted with how they are subscribing/what they broadcast, etc... in a very simplistic form I guess? trying to understand the "standard"
16:02 <LastWhisper____> would the phoenix presence one just be a good spot to start?
16:08 jkreeftmeijer joined
16:10 josevalim joined
16:14 jnmandal joined
16:17 dignifiedquire joined
16:17 WhiskyRyan joined
16:25 srxa joined
16:29 WhiskyRyan joined
16:29 wpcarro joined
16:33 okeuday_bak joined
16:33 jeramyRR joined
16:35 griffinbyatt joined
16:36 jeramyRR joined
16:38 srxa_ joined
16:41 kronicdeth joined
16:43 wpcarro joined
16:49 ur5us joined
16:52 WhiskyRyan joined
16:54 WhiskyRyan joined
16:55 dj_goku joined
16:55 dj_goku joined
16:56 Cohedrin joined
16:58 cdg joined
16:59 meh` joined
17:01 cdg joined
17:09 jkreeftmeijer joined
17:18 jimmyrcom joined
17:23 PaReeOhNos joined
17:25 meh` joined
17:29 fhdhsni joined
17:32 jeramyRR joined
17:32 embik joined
17:32 <fhdhsni> How can I have multiple expression in `cond`? something like:
17:32 <fhdhsni> cond do
17:32 <fhdhsni> a + b >= c and
17:32 <fhdhsni> a + c >= b and
17:32 <fhdhsni> b + c >= a and
17:32 <fhdhsni> -> true
17:32 <fhdhsni> true -> false
17:32 <fhdhsni> end
17:33 foobarzookoo joined
17:33 dustinfarris joined
17:36 griffinbyatt joined
17:36 <OliverMT> thats literally how fhdhsni
17:36 <OliverMT> doesnt that work?
17:36 <OliverMT> put some ( ) around it
17:36 <OliverMT> the last "and" is too many
17:37 <fhdhsni> OliverMT: Sorry, I'm an idiot. Ignore me for ever. That last "and" :(
17:37 <OliverMT> :D
17:37 <OliverMT> I welcome you fhdhsni
17:37 <OliverMT> I normally paste some stuff in here then blush and wish I could delete the link
17:37 <OliverMT> :<
17:38 <fhdhsni> That's so elixiry :)
17:42 wpcarro joined
17:43 eddd joined
17:45 travis-ci joined
17:45 <travis-ci> elixir-lang/elixir#14781 (master - 52fbe6d : Unai Esteibar): The build was fixed.
17:45 <travis-ci> Change view : https://github.com/elixir-lang/elixir/compare/cb07a7bd28c1...52fbe6da7708
17:45 <travis-ci> Build details : https://travis-ci.org/elixir-lang/elixir/builds/236717721
17:45 travis-ci left
17:52 cdg_ joined
17:53 kronicdeth joined
17:54 codestorm joined
17:58 wpcarro joined
17:58 bvcosta joined
18:01 eddd joined
18:04 kronicdeth joined
18:07 egis joined
18:09 rschmukler joined
18:09 wsieroci joined
18:13 rschmukler joined
18:16 milad joined
18:18 eddd joined
18:19 codestorm777 joined
18:29 cdg joined
18:31 jeramyRR joined
18:32 codestorm joined
18:37 wsieroci joined
18:40 ejpcmac joined
18:43 dj_goku joined
18:46 fhdhsni left
18:49 dustinfarris joined
18:49 wpcarro joined
18:50 ur5us joined
18:53 cdg_ joined
18:54 bvcosta joined
18:56 dorei joined
19:06 cdg joined
19:08 wsieroci_ joined
19:09 travis-ci joined
19:09 <travis-ci> elixir-lang/elixir#14784 (jv-unicode - 6d24120 : José Valim): The build is still failing.
19:09 <travis-ci> Change view : https://github.com/elixir-lang/elixir/compare/6517ca0051ad...6d24120d1e27
19:09 <travis-ci> Build details : https://travis-ci.org/elixir-lang/elixir/builds/236733266
19:09 travis-ci left
19:10 jkreeftmeijer joined
19:17 ejpcmac left
19:18 srxa joined
19:30 kronicdeth joined
19:31 wpcarro joined
19:36 griffinbyatt joined
19:37 <ericmj> benoitc: does hackney use a pool by default or does it default to using no pool unless I specify one?
19:46 cdg joined
19:48 cdg joined
19:54 potatosalad joined
19:57 wpcarro joined
19:58 m00dy joined
20:19 elgenie joined
20:22 nhooyr joined
20:30 elgenie joined
20:30 wpcarro joined
20:31 wpcarro_ joined
20:32 dj_goku joined
20:32 dj_goku joined
20:47 travis-ci joined
20:47 <travis-ci> elixir-lang/elixir#14788 (jv-unicode - 62c1404 : José Valim): The build has errored.
20:47 <travis-ci> Change view : https://github.com/elixir-lang/elixir/compare/7bca5d54012b...62c1404cc49c
20:47 <travis-ci> Build details : https://travis-ci.org/elixir-lang/elixir/builds/236751150
20:47 travis-ci left
20:47 srxa joined
20:47 cdg joined
20:48 ur5us joined
20:57 travis-ci joined
20:57 <travis-ci> elixir-lang/elixir#14790 (master - 9873e42 : José Valim): The build passed.
20:57 <travis-ci> Change view : https://github.com/elixir-lang/elixir/compare/52fbe6da7708...9873e4239f06
20:57 <travis-ci> Build details : https://travis-ci.org/elixir-lang/elixir/builds/236751247
20:57 travis-ci left
20:58 elgenie joined
21:06 eddd joined
21:08 ianleeclark joined
21:08 travis-ci joined
21:08 <travis-ci> elixir-lang/elixir#14791 (master - b0d2eaf : José Valim): The build passed.
21:08 <travis-ci> Change view : https://github.com/elixir-lang/elixir/compare/9873e4239f06...b0d2eafc4fa6
21:08 <travis-ci> Build details : https://travis-ci.org/elixir-lang/elixir/builds/236752089
21:08 travis-ci left
21:11 jkreeftmeijer joined
21:12 jkreeftmeijer joined
21:12 jkreeftmeijer joined
21:14 codestorm joined
21:16 jeramyRR joined
21:21 cdg_ joined
21:25 rschmukler joined
21:26 elgenie joined
21:31 wpcarro joined
21:32 Or1on joined
21:37 griffinbyatt joined
21:41 elgenie joined
22:02 kronicdeth joined
22:02 Or1on joined
22:03 apotry joined
22:05 wpcarro joined
22:11 wpcarro joined
22:14 jkreeftmeijer joined
22:15 rschmukler joined
22:15 karmajunkie joined
22:20 dj_goku joined
22:20 dj_goku joined
22:21 cdg joined
22:23 jerel joined
22:24 jeramyRR joined
22:31 m00dy joined
22:36 elgenie joined
22:38 griffinbyatt joined
22:43 bitmod joined
22:46 wpcarro joined
22:46 __charly__ joined
22:48 srxa joined
22:52 rschmukler joined
22:53 s` joined
22:55 ryanwinchester joined
22:55 oohnoitz joined
22:57 strmpnk joined
22:57 dvim joined
22:57 nicholaswyoung joined
22:57 antipax joined
22:57 niccs joined
22:58 bitwalker joined
22:58 rfv joined
22:58 bcavileer joined
22:58 pmbauer joined
22:58 seungha_________ joined
22:59 __vy joined
23:00 bokayio joined
23:00 sepow joined
23:00 snuffi joined
23:00 g3funk joined
23:01 dnorris joined
23:01 CapNemo joined
23:01 jpinnix joined
23:05 johnhamelink joined
23:06 kronicdeth joined
23:07 asabil joined
23:13 build22 joined
23:15 rschmukl_ joined
23:19 jkreeftmeijer joined
23:21 zv joined
23:22 srxa_ joined
23:26 elgenie joined
23:36 rschmukler joined
23:39 griffinbyatt joined
23:40 wpcarro joined
23:41 tavofigse joined
23:45 nhooyr joined
23:46 bvcosta joined
23:48 codestorm joined
23:56 rschmukler joined
23:58 m00dy joined