<     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:02 kronicdeth joined
00:04 rschmukler joined
00:06 ssswitch joined
00:08 dj_goku joined
00:13 srxa joined
00:14 wpcarro joined
00:24 andre1 joined
00:27 conner joined
00:29 <andre1> Is there any convention on how to use Absinthe (GraphQL) with this new context standard?
00:30 <conner> Hello! I'm looking for a way to do multiuser text collaboration and it seems that a CFDT might be the right direction. Do any resources exist for doing this in Elixir?
00:31 <conner> Oops, CRDT
00:31 zv joined
00:32 m00dy joined
00:36 jerel joined
00:37 srxa_ joined
00:39 <Ankhers> andre1: I think their website (http://absinthe-graphql.org/tutorial/our-first-query/) gives information on this.
00:41 mrEngineer joined
00:42 <Ankhers> andre1: By the looks of it, you just define your absinthe "objects" in the web section, and point to your different Ecto schemas in the resolver.
00:44 griffinbyatt joined
00:44 snowowl joined
00:45 <andre1> Ankhers: I'm a Absinthe user but I've kind of lost with the new changes related to the design pattern that Phoenix 1.3 is adopting. If I have the same table in different contexts what is considered a good practice in graphQL when implementing this objects?
00:48 <andre1> Merging schemas? Namescoping?
00:50 WhiskyRyan joined
00:53 HashNuke joined
01:00 bvcosta joined
01:03 nhooyr joined
01:05 zv joined
01:09 kronicdeth joined
01:11 wpcarro joined
01:16 codestorm joined
01:19 __charly__ joined
01:20 jkreeftmeijer joined
01:23 WhiskyRyan joined
01:24 kronicdeth joined
01:38 tomterl joined
01:41 __charly__ joined
01:52 cdecarlo joined
01:56 dj_goku joined
01:59 Reshi joined
01:59 zv joined
02:11 codestorm joined
02:13 wpcarro joined
02:16 nhooyr joined
02:18 WhiskyRyan joined
02:30 WhiskyRyan joined
02:36 cjhowe joined
02:38 wpcarro joined
02:40 cdg joined
02:42 WhiskyRyan joined
02:51 wpcarro joined
02:55 jerel joined
03:05 WhiskyRyan joined
03:05 wpcarro joined
03:11 kronicdeth joined
03:12 ekinmur joined
03:14 <snowowl> so I'm following the elixir book and ran into another error that I just can't seem to debug
03:14 <snowowl> i'm new to elixir too so it's a double blow of ignorance
03:15 <snowowl> anyways, it's telling me to do a defimpl of Phoenix.Param
03:15 <snowowl> then I get an error saying the module doesn't see it.
03:16 <snowowl> let me grab a print of the error
03:16 kronicdeth joined
03:18 <snowowl> https://paste.pound-python.org/show/F4P8sK3N1lCx2TLjdemP/
03:18 <snowowl> i'll do the code too
03:20 <snowowl> here's the impl. https://paste.pound-python.org/show/87kTzpxbWyfwoCjQhDzT/
03:21 <snowowl> I tried playing around with the documentation on Phoenix Docs wrt. Phoenix.Params but didn't have any luck
03:22 jkreeftmeijer joined
03:22 potatosalad joined
03:23 wpcarro joined
03:35 WhiskyRyan joined
03:39 cdg_ joined
03:44 dj_goku joined
03:44 dj_goku joined
03:47 srxa joined
03:58 wsieroci joined
04:00 WhiskyRyan joined
04:07 wsieroci joined
04:13 elgenie joined
04:18 mozzarella joined
04:23 jkreeftmeijer joined
04:28 __charly__ joined
04:30 kronicdeth joined
04:35 <snowowl> okay i found it
04:35 <snowowl> it was in the schema
04:36 <snowowl> field wasn't defined
04:36 <snowowl> that took a while
04:43 milad joined
04:43 yoK0 joined
04:49 WhiskyRyan joined
04:54 sevenseacat joined
04:55 WhiskyRyan joined
04:59 codestorm777 joined
05:00 griffinbyatt joined
05:06 <LastWhisper____> I'm trying to pattern match that a keyvalue inside of a map
05:07 <LastWhisper____> that a key's value inside of a map is greater than 0
05:08 <LastWhisper____> could I do something like `def check(%{number: _}) when number > 0, do: IO.puts "it worked"`
05:09 <LastWhisper____> do i have to do check(%{number: num}) when num > 0
05:09 <LastWhisper____> ?
05:09 <sevenseacat> the second one
05:09 <LastWhisper____> great
05:09 <LastWhisper____> thank you
05:12 meandi_2 joined
05:26 wpcarro joined
05:33 dj_goku joined
06:03 gvaughn joined
06:22 tuacker joined
06:24 jkreeftmeijer joined
06:51 codestorm joined
06:55 dignifiedquire joined
06:57 Reshi joined
06:59 jcspencer joined
06:59 milad joined
06:59 milad joined
07:02 griffinbyatt joined
07:05 embik joined
07:14 tuacker1 joined
07:15 cjhowe joined
07:16 cjhowe joined
07:17 cjhowe joined
07:17 cjhowe joined
07:18 cjhowe joined
07:19 m00dy joined
07:21 dj_goku joined
07:21 dj_goku joined
07:25 jkreeftmeijer joined
07:32 wpcarro joined
07:48 apotry joined
07:50 josevalim joined
07:52 gvaughn joined
07:54 edmz_ joined
07:59 squallstter joined
08:03 m3lt_ joined
08:07 codestorm joined
08:15 griffinbyatt joined
08:17 nighty- joined
08:24 milad joined
08:49 ur5us joined
09:09 dj_goku joined
09:09 dj_goku joined
09:11 lexmag joined
09:16 griffinbyatt joined
09:27 jkreeftmeijer joined
09:40 gvaughn joined
09:50 <the_voice_> morning
09:58 the_voice- joined
10:13 wsieroci_ joined
10:28 jkreeftmeijer joined
10:35 wpcarro joined
10:38 marr joined
10:45 milad joined
10:57 dj_goku joined
10:57 dj_goku joined
11:00 Or1on joined
11:03 Guest67 joined
11:12 m3lt joined
11:17 griffinbyatt joined
11:29 gvaughn joined
11:29 jkreeftmeijer joined
11:32 jcspencer joined
11:38 ur5us joined
11:50 karmajunkie joined
12:02 srxa joined
12:10 josevalim joined
12:17 squallstter joined
12:35 travis-ci joined
12:36 <travis-ci> elixir-lang/elixir#14793 (master - 37afb15 : José Valim): The build passed.
12:36 <travis-ci> Change view : https://github.com/elixir-lang/elixir/compare/b0d2eafc4fa6...37afb15e7cb5
12:36 <travis-ci> Build details : https://travis-ci.org/elixir-lang/elixir/builds/236876932
12:36 travis-ci left
12:45 dj_goku joined
12:45 dj_goku joined
12:58 tuacker joined
13:02 jerel joined
13:17 gvaughn joined
13:19 srxa_ joined
13:20 griffinbyatt joined
13:23 elgenie joined
13:23 kronicdeth joined
13:27 ssswitch joined
13:29 dignifiedquire joined
13:30 jkreeftmeijer joined
13:45 kronicdeth joined
13:50 inoas joined
14:03 lexmag joined
14:07 josevalim joined
14:09 <fnux> bitwalker (or anyone) : what is the "proper" way to fetch a key from the configuration with conform ? I'm able to get it by using Conform.Conf (from_file/1 and get/2) but I don't think it's the best way to do it...
14:12 gvaughn joined
14:13 <* jer> murmurs something something about NIFs =/
14:18 Ven joined
14:20 srjil joined
14:21 griffinbyatt joined
14:28 eddd joined
14:34 dj_goku joined
14:34 dj_goku joined
14:35 travis-ci joined
14:35 <travis-ci> elixir-lang/elixir#14795 (master - 893b960 : José Valim): The build was broken.
14:35 <travis-ci> Change view : https://github.com/elixir-lang/elixir/compare/37afb15e7cb5...893b960f2dda
14:35 <travis-ci> Build details : https://travis-ci.org/elixir-lang/elixir/builds/236897402
14:35 travis-ci left
14:36 sixstone joined
14:37 wpcarro joined
14:38 milad joined
14:48 <fnux> Hum, does conform only work with releases (hence you must use config.exs during development) ?
14:49 gvaughn joined
14:49 <asonge> fnux: i kinda think so? i've not used it, but it's meant for releases.
14:54 <fnux> Hum, so it basically "override" the content of config.exs in releases ? (You still access the values with Application.get_env/2)
14:54 <asonge> fnux: it's mostly for end-users.
14:56 <fnux> asonge: I'm just trying to understand how it works ;)
14:59 Ven_ joined
15:04 lexmag joined
15:08 gdonald joined
15:13 jcspencer joined
15:14 griffinbyatt joined
15:16 travis-ci joined
15:16 <travis-ci> elixir-lang/elixir#14796 (master - 978b845 : José Valim): The build was fixed.
15:16 <travis-ci> Change view : https://github.com/elixir-lang/elixir/compare/893b960f2dda...978b8450df9b
15:16 <travis-ci> Build details : https://travis-ci.org/elixir-lang/elixir/builds/236903991
15:16 travis-ci left
15:24 <fnux> Hum, running `mix release` does not create post_upgrade.d pre_configure.d pre_start.d and pre_upgrade.d in the release/<%= version %>/hooks folder.
15:24 <fnux> It works if I create them manually. How can I say to mix7distillery to create them ?
15:32 jkreeftmeijer joined
15:32 jkreeftmeijer joined
15:35 <fnux> -> by updating distillery..
15:36 ionas joined
15:37 dimitarvp joined
15:46 mdarby_ joined
15:48 WhiskyRyan joined
15:52 Cohedrin joined
15:52 17SAA46T9 joined
15:52 <17SAA46T9> elixir-lang/elixir#14797 (master - 62f74c7 : Mati Sójka): The build passed.
15:52 <17SAA46T9> Change view : https://github.com/elixir-lang/elixir/compare/978b8450df9b...62f74c7315f7
15:52 <17SAA46T9> Build details : https://travis-ci.org/elixir-lang/elixir/builds/236910108
15:52 17SAA46T9 left
15:58 milad joined
15:58 milad joined
15:59 rodolfojcj joined
16:00 Ven joined
16:01 wpcarro joined
16:22 dj_goku joined
16:22 dj_goku joined
16:22 Or1on joined
16:32 jkreeftmeijer joined
16:34 cemilowski joined
16:43 wpcarro joined
16:50 WhiskyRyan joined
17:04 wpcarro joined
17:04 meh` joined
17:05 kronicdeth joined
17:11 Ven joined
17:14 PaReeOhNos joined
17:15 jcspencer joined
17:19 Ven_ joined
17:23 meh` joined
17:28 Antiarc joined
17:30 Antiarc joined
17:32 __charly__ joined
17:33 cjhowe joined
17:34 jkreeftmeijer joined
17:34 Antiarc joined
17:38 potatosalad joined
17:41 isHavvy joined
17:41 kronicdeth joined
17:42 griffinbyatt joined
17:46 Ven_ joined
17:49 codestorm777 joined
17:49 Antiarc joined
17:50 Antiarc joined
17:51 Ven_ joined
17:53 m00dy joined
17:53 nhooyr joined
17:54 squallstter joined
17:58 m00dy joined
17:59 m00dy joined
18:03 potatosalad joined
18:03 jerel joined
18:10 dj_goku joined
18:10 dj_goku joined
18:14 nahtnam joined
18:17 zz_penthief joined
18:23 milad joined
18:23 milad joined
18:33 elgenie joined
18:36 srxa joined
18:42 griffinbyatt joined
18:45 wpcarro joined
18:47 marr joined
18:49 milad joined
18:49 milad joined
18:54 wpcarro joined
18:58 wsieroci joined
19:01 elgenie joined
19:06 wpcarro joined
19:14 srxa_ joined
19:16 jcspencer joined
19:18 sourpus5 joined
19:24 __charly__ joined
19:32 <OliverMT> is there a standardlib way of short curiciting traversal?
19:32 <OliverMT> instead of recursing to a base case based on a carry flag
19:33 ur5us joined
19:33 <OliverMT> each_while would be the idiomatic one, but it doesnt exist
19:33 <josevalim> reduce_while
19:33 <josevalim> each_while is imperative, it wouldn't work
19:33 <OliverMT> thats true
19:34 <josevalim> i mean, it would work if you only want to do side-effects :P
19:34 <OliverMT> indeed, I do want something returned
19:34 <OliverMT> querying database with a single constraint increasing
19:35 <OliverMT> thanks josevalim :D
19:35 jkreeftmeijer joined
19:37 Or1on joined
19:41 kronicdeth joined
19:44 potatosalad joined
19:44 travis-ci joined
19:44 <travis-ci> elixir-lang/elixir#14799 (master - 60c891b : Samar Dhwoj Acharya): The build passed.
19:44 <travis-ci> Change view : https://github.com/elixir-lang/elixir/compare/62f74c7315f7...60c891bb8053
19:44 <travis-ci> Build details : https://travis-ci.org/elixir-lang/elixir/builds/236958564
19:44 travis-ci left
19:46 sourpus5 joined
19:50 kronicdeth joined
19:51 m00dy joined
19:53 __charly__ joined
19:56 m00dy_ joined
19:58 Leryan joined
19:58 dj_goku joined
19:58 dj_goku joined
19:59 lexmag joined
20:04 inoas joined
20:07 elgenie joined
20:14 <OliverMT> josevalim: I wonder if I found a bug https://gist.github.com/olivermt/1ebf63cd4a20ef1c49f82c94423e56b8
20:15 <OliverMT> first arg of the function is the whole range instead of just one item
20:15 <OliverMT> in the handler function for the reduce_while that is
20:16 icanhazbroccoli joined
20:16 <josevalim> you wrapped the range in a list
20:16 <josevalim> remove the wrapper
20:16 <OliverMT> HAHA
20:16 <OliverMT> late night coding.. :(
20:21 griffinbyatt joined
20:23 jerel joined
20:28 kronicdeth joined
20:28 icanhazbroccoli joined
20:31 kronicdeth joined
20:31 wpcarro joined
20:33 <jer> is there any good way to debug the exact cause for a NIF load to fail? this only happens to me when MIX_ENV=prod and when it's run inside docker.
20:36 squallstter joined
20:36 cjhowe joined
20:43 <asonge> jer: well, if you build it outside docker, it'll fail inside docker unless your platforms match. nifs are platform-dependent.
20:44 <jer> i know that, but i build inside the same docker i run in (different containers, but same machine)
20:45 <benwilson512> are you using releases?
20:45 <jer> yeah it's the output of distillery that's giving me the grief -- if i run outside of docker, and build myself not using distillery, then it all runs fine
20:47 <jer> i've also nuked my _build and the previous images
20:47 jleon joined
20:48 srxa joined
20:54 ur5us joined
21:00 wpcarro joined
21:11 junsuijin joined
21:12 wpcarro joined
21:18 jcspencer joined
21:19 srxa_ joined
21:20 bvcosta joined
21:22 ssswitch joined
21:25 sourpus5 joined
21:26 srxa joined
21:28 jleon joined
21:36 jkreeftmeijer joined
21:38 cemilowski joined
21:42 cemilowski joined
21:46 dj_goku joined
22:16 kronicdeth joined
22:21 rodolfojcj joined
22:22 jerel joined
22:26 m00dy joined
22:29 josevalim joined
22:31 LastWhisper____ joined
22:34 Reshi joined
22:38 jkreeftmeijer joined
22:45 wpcarro joined
22:58 isubasti joined
22:59 proteusguy joined
23:00 jcspencer joined
23:01 m00dy joined
23:03 potatosalad joined
23:05 wpcarro joined
23:08 jcspencer joined
23:08 franco joined
23:09 cemilowski joined
23:13 jcspencer joined
23:14 junsuijin joined
23:15 wpcarro joined
23:20 jcspencer joined
23:22 <asonge> jer: if you haven't fixed it yet, does your nif add the .so file to priv_dir?
23:24 wpcarro joined
23:25 jcspencer joined
23:26 <jer> asonge, i haven't no, and yes it's there
23:27 <asonge> jer: can you stat the file at all during startup?
23:28 isubasti joined
23:30 <jer> asonge, yup
23:30 <jer> ok so just copied the bcrypt_nif.so out of the container, and it's a mac os x binary not a linux binary. something is weird and that's likely my problem
23:30 <asonge> jer: and you sure the docker container has the same libc and such?
23:30 <jer> yep
23:31 <asonge> well, if the mac os x binary is the thing that's in there, then that explains the problem...
23:31 <jer> yeah it is; just mounted a dir in the container, copied it there, looked on the host using file(1) and the header is definitely mach-o
23:31 <jer> not elf
23:32 <jer> just odd, as 2 days ago this was fine; oh well, at least i have lead now thanks
23:34 jcspencer joined
23:35 dj_goku joined
23:38 jcspencer joined
23:41 wpcarro joined
23:43 rohitpaulk joined
23:45 jcspencer joined
23:48 Reshi joined
23:52 __charly__ joined
23:52 jcspencer joined
23:54 isHavvy joined
23:56 r00tl3ss joined
23:59 WhiskyRyan joined