<    April 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 _2_8 29  
30
00:12 isubasti joined
00:17 josevalim joined
00:19 smt joined
00:24 luke_nukem joined
00:30 travis-ci joined
00:30 <travis-ci> elixir-lang/elixir#14138 (master - f3c7d2f : Marcel Otto): The build passed.
00:30 <travis-ci> Change view : https://github.com/elixir-lang/elixir/compare/b311a62d84a3...f3c7d2fa2c75
00:30 <travis-ci> Build details : https://travis-ci.org/elixir-lang/elixir/builds/217654218
00:30 travis-ci left
00:33 isubasti joined
00:34 gvaughn_ joined
00:34 travis-ci joined
00:34 <travis-ci> elixir-lang/elixir#14139 (v1.4 - 094b64c : Marcel Otto): The build passed.
00:34 <travis-ci> Change view : https://github.com/elixir-lang/elixir/compare/f3cbf1cdec79...094b64c13b59
00:34 <travis-ci> Build details : https://travis-ci.org/elixir-lang/elixir/builds/217654294
00:34 travis-ci left
00:34 MarioBranco joined
00:43 <ciawal> cevado: try module = Macro.expand(module, __ENV__)
00:50 <cevado> ciawal thanks :D i'm reading the docs now...
00:54 isubasti joined
00:59 sfbw joined
01:00 <alisdair> is it possible to have named bindings in ecto?
01:04 dpritchett joined
01:06 jkreeftmeijer joined
01:11 codestorm joined
01:15 isubasti joined
01:16 sfbw joined
01:20 irclogger_com joined
01:20 Topic for
01:29 chavito joined
01:36 isubasti joined
01:39 tomterl joined
01:39 lessless joined
01:56 isubasti joined
02:00 sfbw joined
02:01 sfbw joined
02:17 isubasti joined
02:22 MotherFlojo joined
02:32 racycle joined
02:38 isubasti joined
02:42 samgranieri joined
02:45 MotherFlojo joined
02:48 sevenseacat joined
02:59 isubasti joined
03:07 jkreeftmeijer joined
03:11 thistle joined
03:13 raycoll_ joined
03:20 isubasti joined
03:27 chavito joined
03:29 griffinb_ joined
03:29 icapurro_ joined
03:30 griffinb_ joined
03:30 madgoat joined
03:31 griffinb_ joined
03:31 griffinb_ joined
03:31 madgoat left
03:32 griffinb_ joined
03:33 griffinb_ joined
03:34 griffinb_ joined
03:41 isubasti joined
03:45 griffinb_ joined
03:49 luke_nukem_ joined
03:57 griffinb_ joined
04:02 isubasti joined
04:08 jkreeftmeijer joined
04:13 mk[] left
04:18 raycoll joined
04:19 dignifiedquire joined
04:21 Havvy joined
04:23 isubasti joined
04:24 dnorris joined
04:26 owickstrom joined
04:26 Speed joined
04:29 hr3f joined
04:30 Ray`_ joined
04:34 codestorm joined
04:36 artmann_ joined
04:37 MarioBranco joined
04:38 Notimik joined
04:39 isubasti joined
04:49 milad joined
04:58 codestorm joined
04:59 codestorm joined
05:01 MotherFlojo joined
05:05 isubasti joined
05:17 <hahuang61> how do I specify that behaviour callback should be implemented with a typespec from a dependency?
05:26 isubasti joined
05:35 nomicflux joined
05:47 isubasti joined
05:52 voltone joined
06:01 chavito joined
06:08 isubasti joined
06:11 jkreeftmeijer joined
06:12 m_m joined
06:18 josevalim joined
06:19 jkreeftmeijer joined
06:22 griffinb_ joined
06:24 gvaughn joined
06:24 jkreeftmeijer joined
06:29 isubasti joined
06:29 jamescarr joined
06:32 jkreeftmeijer joined
06:37 ZippoWeb joined
06:39 icapurro joined
06:40 wsieroci joined
06:49 tuacker joined
06:49 isubasti joined
06:54 m_m joined
06:56 dani0_ joined
07:01 jkreeftmeijer joined
07:01 codestorm joined
07:02 MotherFlojo joined
07:03 <ryanwinchester> where does static_path function come from in phoenix?
07:03 <ryanwinchester> i can't find it in phoenix or phoenix.html docs
07:06 <ryanwinchester> okay i think i found it in the actual code in Router.Helpers
07:06 <ryanwinchester> weird it's not in the hexdocs?
07:07 chuff joined
07:11 isubasti joined
07:15 chuff joined
07:18 gvaughn joined
07:20 voltone joined
07:23 griffinb_ joined
07:23 gvaughn joined
07:27 cemilowski joined
07:31 voltone joined
07:31 isubasti joined
07:41 icapurro joined
07:50 tuacker1 joined
07:52 isubasti joined
07:55 stephen_m joined
07:55 codestorm joined
07:56 icanhazbroccoli joined
07:56 MarioBranco joined
08:00 InternetFriend joined
08:05 smt_ joined
08:06 Guest_ joined
08:13 isubasti joined
08:16 nd__ joined
08:20 Ioyrie joined
08:24 griffinb_ joined
08:30 jamescarr joined
08:34 isubasti joined
08:36 marr joined
08:37 ZippoWeb joined
08:41 jkreeftmeijer joined
08:44 dani0_ joined
08:49 codestorm joined
08:51 icanhazbroccoli joined
08:55 isubasti joined
09:03 MotherFlojo joined
09:09 dastagg joined
09:09 isubasti joined
09:10 elixir-lang629 joined
09:10 m_m joined
09:15 ejpcmac joined
09:17 fernandomm joined
09:25 griffinb_ joined
09:26 DeadTrickster joined
09:30 squallstter joined
09:30 isubasti joined
09:32 codestorm joined
09:33 gvaughn joined
09:43 icapurro joined
09:47 icanhazbroccoli joined
09:49 <ryanwinchester> how can i start the elixir app from within a custom mix task?
09:50 jkreeftmeijer joined
09:51 isubasti joined
09:53 DeadTrickster joined
10:00 gmcabrita joined
10:04 MaSven joined
10:09 cemilowski joined
10:12 isubasti joined
10:15 lexmag joined
10:20 wsieroci joined
10:26 griffinb_ joined
10:26 codestorm joined
10:27 gvaughn joined
10:30 dani0_ joined
10:33 isubasti joined
10:34 wsieroci joined
10:36 hipertracker joined
10:41 Ven joined
10:45 byte512 joined
10:45 dastagg joined
10:51 cemilowski left
10:51 dastagg joined
10:53 dastagg joined
10:54 isubasti joined
11:00 lessless joined
11:03 <stephen_m> ryanwinchester... i don't know if it's `correct` or not - maybe someone else can add something on that... but I have started an application inside a mix task.
11:03 <stephen_m> :hackney.start()
11:03 <stephen_m> ^^eg.
11:04 <ryanwinchester> i want to do MyApp.Repo.insert!
11:04 <stephen_m> why not use a priv/repo/*.exs file in your application?
11:04 MotherFlojo joined
11:07 Guest67_ joined
11:07 <stephen_m> `mix ecto` prints a list of commands already made for ecto
11:07 <stephen_m> those are mix tasks
11:12 m_m joined
11:12 justicefries left
11:14 dastagg joined
11:15 isubasti joined
11:16 <OliverMT> ryanwinchester: Application.ensure_all_started(:your_main_app)
11:17 dastagg joined
11:17 dastagg joined
11:18 jamescarr joined
11:20 dastagg joined
11:20 codestorm joined
11:21 gvaughn joined
11:23 JuanMiguel joined
11:23 MotherFlojo joined
11:23 dastagg joined
11:26 griffinb_ joined
11:27 jkreeftmeijer joined
11:33 byte512 joined
11:35 dastagg joined
11:36 isubasti joined
11:39 dastagg joined
11:39 jkreeftmeijer joined
11:41 dastagg joined
11:44 icapurro joined
11:45 hipertracker joined
11:49 Shados joined
11:57 isubasti joined
11:59 jkreeftmeijer joined
12:00 jkreeftmeijer joined
12:00 jkreeftmeijer joined
12:01 InternetFriend joined
12:01 jkreeftmeijer joined
12:02 nd__ joined
12:02 jkreeftmeijer joined
12:03 jkreeftmeijer joined
12:04 jkreeftmeijer joined
12:04 <nd__> I upgraded my phoenix app to 1.3-rc and now I get the following – did somebody experience the same and has a solution? https://gist.github.com/alappe/bc5011b1410c33e2898f9eebb0521b40
12:04 jkreeftmeijer joined
12:05 frefity joined
12:10 milad joined
12:14 codestorm joined
12:15 gvaughn joined
12:19 isubasti joined
12:20 Guest67_ joined
12:22 m_m joined
12:25 josevalim joined
12:29 Ven joined
12:41 isubasti joined
12:48 lexmag joined
12:57 ejpcmac joined
12:59 dimitarvp joined
13:00 codestorm joined
13:01 isubasti joined
13:02 Ven_ joined
13:02 samgranieri joined
13:05 jkreeftmeijer joined
13:09 DLSteve joined
13:09 gvaughn joined
13:12 Ven_ joined
13:13 io_bora joined
13:14 sfbw joined
13:20 griffinb_ joined
13:22 io_bora joined
13:22 isubasti joined
13:29 griffinb_ joined
13:37 bitmod_ joined
13:43 isubasti joined
13:49 Guest67_ joined
13:50 Gasher joined
13:58 Ven joined
14:03 jamescarr joined
14:03 gvaughn joined
14:04 isubasti joined
14:16 harfangk joined
14:16 milad joined
14:18 craigp_ joined
14:22 Ven_ joined
14:23 lexmag joined
14:25 isubasti joined
14:33 dani0_ joined
14:33 meh` joined
14:35 m_m joined
14:39 <smeevil_> I'm running into a very odd problem with hackney. @benoitc, if i call `:hackney.request(:post, "http://www.example.org", [{'Content-Type', 'application/x-www-form-urlencoded'}], "test=true")` then the request headers content type is 'application/x-www-form-urlencoded, application/x-www-form-urlencoded' (double) which is causing me some grief with paypal...
14:39 <smeevil_> any idea what might be causing this ?
14:40 <smeevil_> benoitc: not did an @ highlight not sure if thats working as well, ^
14:41 io_bora joined
14:41 <smeevil_> using hackney/1.6.6
14:44 <fishcakez> smeevil_: check the issue tracker it has come up before
14:46 Guest67_ joined
14:46 isubasti joined
14:47 Guest67_ joined
14:47 <smeevil_> fishcakez: ah found it https://github.com/benoitc/hackney/issues/388
14:49 <fishcakez> smeevil_: its usually nicer to check the issues rather than highlight a maintainer :)
14:50 <smeevil_> yeah , I did check the open issues, but not the closed ones... my bad !
14:50 <fishcakez> closed is where you want it to be :P
14:51 <fishcakez> one of the beautys of open source is that someone else has alrdy fixed your problems
14:51 milad joined
14:51 <fishcakez> of course on the other hand likely someone else created them ;)
14:52 <smeevil_> I also seen a 1.6.6 retired message now with mix
14:54 samgranieri joined
14:56 chavito joined
14:57 <smeevil_> it works \o/
14:57 gvaughn joined
14:58 <smeevil_> that was an other 3 hours of my life figuring out what was actually causing this
15:03 Ven joined
15:04 laut joined
15:07 isubasti joined
15:07 jkreeftmeijer joined
15:10 Ven_ joined
15:15 tuacker joined
15:19 Ven_ joined
15:21 wtetzner joined
15:27 Ven_ joined
15:27 isubasti joined
15:32 johnstorey joined
15:35 Ven_ joined
15:43 dani0_ joined
15:48 isubasti joined
15:49 craigp_ joined
15:52 gvaughn joined
15:52 chrismccord joined
15:56 gvaughn_ joined
16:04 nomicflux joined
16:06 racycle joined
16:09 isubasti joined
16:09 junsuijin joined
16:11 dani0_ joined
16:14 io_bora joined
16:16 Exuma joined
16:19 Exuma joined
16:20 <Exuma> Hey, I had a few questions about dependencies. I was trying to 'break' my project to see what happens when one project requires ~0.1.1 of a dependency, and then some other dependency requires ~1.0.0
16:20 <Exuma> It would be my expectation that this wont work because ~> only allows the last number to change
16:20 <Exuma> but it appears it allows it going upwards (it allows the two dependencies to coexist)
16:21 <Exuma> is my understanding of this wrong? I wouldnt expect something that requires ~>0.0.1 to work with something that has ~>1.0.0 set
16:22 nd___ joined
16:27 icapurro joined
16:28 <Exuma> Oh, I see why I'm confused. Its because the output of mix is showing all older versions of postgrex as it's checking them... now this makes sense
16:30 refriedchicken joined
16:30 isubasti joined
16:31 <Exuma> does ~> 1.0 (on cowboy for instance) mean that 1.0.x is allowed but not 1.1? I am assuming the last number is optional if you want to include every release of the 'patch' (3rd) number
16:34 <ciawal> https://hexdocs.pm/elixir/Version.html
16:35 <ciawal> this explains the limits I think
16:35 gniquil joined
16:39 raycoll joined
16:40 nd__ joined
16:46 bitmod_ joined
16:48 InternetFriend joined
16:51 shmibs joined
16:51 isubasti joined
17:09 jkreeftmeijer joined
17:10 uamana joined
17:12 isubasti joined
17:15 Zor joined
17:15 jamescarr joined
17:27 codestorm joined
17:28 hahuang61 joined
17:28 MotherFlojo joined
17:33 isubasti joined
17:34 samgranieri joined
17:39 <uamana> Hello. I investigate some topics about Elixir for my future app and want t know: it is posible use some modules from one app (fro example Ecto models) in another in umbrella application?
17:41 webdev007 joined
17:41 griffinb_ joined
17:42 griffinb_ joined
17:50 rawkode joined
17:52 hipertracker_ joined
17:54 wsieroci joined
17:54 isubasti joined
17:55 Guest67_ joined
17:55 <rawkode> Evening all
17:56 bambanx joined
17:57 codestorm joined
17:59 ejpcmac joined
18:01 vendethiel joined
18:02 <rawkode> /script install buffers.pl beep.pl urlserver.py highmon.pl
18:02 <rawkode> oops
18:04 <harfangk> evening
18:10 JuanMiguel joined
18:15 isubasti joined
18:30 hipertracker_ joined
18:32 io_bora joined
18:35 isubasti joined
18:37 fschuindt joined
18:44 <z1mvader> guy what are some good resources to get started in web dev with elixir?
18:45 <z1mvader> guys*
18:46 craigp_ joined
18:49 <asonge> z1mvader: phoenix is a good start if you want something fully baked. plug is a great abstraction if you want a more basic abstraction.
18:50 <z1mvader> as far as i understand phoenix is an MVC framework and plug is a microframework, am I right?
18:50 <asonge> plug is less of a microframework than a really good abstraction over http
18:51 <asonge> and actually, phoenix is made up mostly of plugs, and the new phoenix 1.3 stuff is kinda mvc-ish, but like...i dunno if it's correct to say that it's as locked down as most other mvc abstractions.
18:51 <asonge> (1.3 is in release candidate stage right now)
18:51 codestorm joined
18:52 <asonge> it's probably best to say that phoenix gives you a great start, and you have a lot of flexibility to deviate as your project matures as you need a different structure
18:52 io_bora joined
18:56 isubasti joined
18:58 <z1mvader> Maybe is an stupid comparison, but in some way Phoenix is more flexible than Django? like more Flasky?
18:59 <z1mvader> (I'm a python programmer, so i dont have other frameworks to compare it :P)
18:59 kyrix joined
19:03 <asonge> soooo, plugs are just a framework that deals with a function that takes 2 arguments, a connection and a set of options (usually in a keyword list) that gets passed through (or a module with 2 functions, init/2, and call/2)
19:03 <asonge> and that's the beauty of them
19:04 jmiven joined
19:04 <asonge> phoenix by default uses ecto for the model layer (which, let's face it, is the most complicated layer in any batteries-included web framework)
19:05 <asonge> but the flexibility comes about because so many of the abstractions used are really simple
19:09 fschuindt joined
19:10 jkreeftmeijer joined
19:12 <z1mvader> jmmm ok
19:12 <asonge> it might be best to say that plug is a more usable werkzeug, and phoenix is somewhere between django and flask?
19:12 <z1mvader> ohh ok
19:14 <z1mvader> i'm gonna check out phoenix then
19:14 <z1mvader> thanks for your illustration on the topic!
19:15 <asonge> np. and you'll learn a bit about plug while you learn phoenix (phoenix controllers are plugs, the phoenix router is a plug and uses plugs, the router's pipelines are made of plugs, etc)
19:17 isubasti joined
19:18 johnstorey joined
19:20 <Nicd-> it's plugs all the way down
19:23 paidhi joined
19:24 paidhi left
19:30 hahuang61 joined
19:32 squallstter joined
19:32 jamescarr joined
19:34 DeadTrickster joined
19:38 <stephen_m> a question if anyone knows
19:38 <stephen_m> a bit technical
19:38 isubasti joined
19:39 <stephen_m> t = %URI{} -- t is a struct for sure... ok.
19:40 <stephen_m> t2 = Map.put(t, :custom_field, "test") -- now is t2 still a URI struct?
19:40 <stephen_m> or is it technically just a map now?
19:42 <stephen_m> I'm wondering because I am writing a function spec.
19:43 <asonge> stephen_m: yes, it is still struct-y
19:43 <stephen_m> Not sure whether to put :: Struct.t or :: map
19:43 <Nicd-> is it possible to put custom fields into a struct?
19:43 <asonge> let me rtfm real quick...
19:43 <Nicd-> I thought not
19:44 <z1mvader> elixir has structs?
19:44 <z1mvader> damn
19:44 <Nicd-> z1mvader: http://elixir-lang.org/getting-started/structs.html
19:44 <z1mvader> oh sorry I'm too acustomed to the Rust's structures :P
19:44 <asonge> stephen_m: so, a struct can have optional fields of any kind in it
19:44 <z1mvader> they dont have methods, just are structures
19:45 <stephen_m> asonge: did you read that somewhere?
19:45 <asonge> stephen_m: elixir documentation
19:45 griffinb_ joined
19:45 <stephen_m> ok cool.
19:45 <asonge> https://hexdocs.pm/elixir/typespecs.html
19:45 <Nicd-> apparently you can do that
19:45 <asonge> "struct() %{:__struct__ => atom(), optional(atom()) => any()}"
19:45 <Nicd-> but I don't think you should
19:45 <Nicd-> it breaks the compile time guarantees of structs
19:45 codestorm joined
19:46 <stephen_m> This is an edge case.
19:46 <asonge> Nicd-: right, you'd have to use Map api stuff
19:46 jkreeftmeijer joined
19:46 <stephen_m> I know... also you lose the key I think when you pattern match. There are a few gottchas there i think
19:47 <Nicd-> my blog post was in Elixir Digest \o/
19:48 <stephen_m> Nicd-, asong.. thanks. I'll see if i find that blog post later.
19:51 luke_nukem joined
19:52 Ove_ left
19:56 vmoravec joined
19:59 isubasti joined
19:59 dastagg joined
20:03 jamescarr joined
20:04 luke_nukem joined
20:05 codestorm joined
20:12 griffinb_ joined
20:15 cemilowski joined
20:16 cemilowski joined
20:20 isubasti joined
20:28 ejpcmac left
20:32 cevado joined
20:35 <cevado> does anyone know how to solve a compilation error, implementation limit reached?
20:36 <cevado> heres a gist to the full error message: https://gist.github.com/fcevado/64a749a91083f0138be6a50277ab5ea2
20:36 zetashift joined
20:36 <asonge> well, maybe your function is too big?
20:36 <cevado> the function is __MODULE__
20:41 isubasti joined
20:54 marcdel joined
20:55 marcdel joined
20:56 jamescarr joined
20:58 <jamescarr> mix phoneix.server
20:58 <jamescarr> exit
21:02 isubasti joined
21:07 fschuindt joined
21:09 strykerkkd joined
21:12 codestorm joined
21:13 DeadTrickster joined
21:13 chavito joined
21:14 Guest10143 joined
21:22 chrismccord joined
21:23 isubasti joined
21:26 jkreeftmeijer joined
21:28 wtetzner joined
21:28 duane joined
21:31 hahuang61 joined
21:33 hunterboerner joined
21:43 isubasti joined
22:03 lexmag_ joined
22:04 isubasti joined
22:06 codestorm joined
22:18 marr joined
22:19 <iFire> passwd
22:21 InternetFriend joined
22:29 MotherFlojo joined
22:32 hahuang61 joined
22:33 foobarboboba joined
22:34 foobarboboba left
22:34 foobarboboba joined
22:35 foobarboboba joined
22:36 foobarboboba left
22:36 dani0_ joined
22:38 foobarboboba joined
22:42 isubasti joined
22:44 cevado joined
22:47 isubasti joined
22:54 nomicflux joined
23:00 codestorm joined
23:03 SvenMa joined
23:06 DeadTrickster joined
23:08 chris__ joined
23:11 fschuindt joined
23:13 codestorm joined
23:16 WhiskyRyan joined
23:19 _Mzungu_ joined
23:20 nomicflux joined
23:24 travis-ci joined
23:24 <travis-ci> elixir-lang/elixir#14140 (master - d5dadf4 : Aleksei Magusev): The build passed.
23:24 <travis-ci> Change view : https://github.com/elixir-lang/elixir/compare/f3c7d2fa2c75...d5dadf43e007
23:24 <travis-ci> Build details : https://travis-ci.org/elixir-lang/elixir/builds/217900617
23:24 travis-ci left
23:24 WhiskyRyan joined
23:28 marcdel joined
23:28 jkreeftmeijer joined
23:33 hahuang61 joined
23:34 WhiskyRyan joined
23:38 fschuindt joined
23:54 marcdel joined