« Back to channel list

#elixir-lang - 19 May 2019

« Back 1 day Forward 1 day »
[00:02:03] Guest42: has joined #elixir-lang
[01:15:00] Adkron: has joined #elixir-lang
[01:22:47] lexmag: has joined #elixir-lang
[01:27:08] jnoon2: has joined #elixir-lang
[01:27:50] Sgeo__: has joined #elixir-lang
[01:42:40] tomterl: has joined #elixir-lang
[01:50:23] orbyt_: has joined #elixir-lang
[01:52:10] Guest42: has joined #elixir-lang
[02:16:08] jeffweiss: has joined #elixir-lang
[02:20:56] orbyt_: has joined #elixir-lang
[02:50:19] diastack: has joined #elixir-lang
[02:51:03] Guest42: has joined #elixir-lang
[02:51:14] Lixmon: anyone there?
[02:51:48] benwilson512: Lixmon: lots of people, just go ahead and ask a question
[02:53:07] Lixmon: ok okay i havent visited in 3 years so just was wondering thanks
[03:20:28] jeffweiss: has joined #elixir-lang
[03:22:57] Adkron: has joined #elixir-lang
[03:40:52] Guest42: has joined #elixir-lang
[03:44:27] jnoon2: has joined #elixir-lang
[03:59:55] Lixmon: @benwilson512
[04:00:02] Lixmon: benwilson512
[04:00:20] Lixmon: i have a question
[04:37:05] tnez: has joined #elixir-lang
[04:37:41] rahul: has joined #elixir-lang
[04:38:49] rahul: has left #elixir-lang: ()
[04:43:11] Guest42: has joined #elixir-lang
[04:44:12] __charly__: has joined #elixir-lang
[04:54:16] voltone: has joined #elixir-lang
[04:55:39] blahdodo: has joined #elixir-lang
[05:13:01] wsieroci: has joined #elixir-lang
[05:30:58] Adkron: has joined #elixir-lang
[05:31:30] kapilp: has joined #elixir-lang
[05:38:25] fastfresh: has joined #elixir-lang
[05:50:37] __charly__: has joined #elixir-lang
[05:59:50] Phylock: has joined #elixir-lang
[06:00:02] jnoon2: has joined #elixir-lang
[06:14:38] kyrylo: has joined #elixir-lang
[06:39:00] nutzz: has joined #elixir-lang
[06:39:40] gvaughn: has joined #elixir-lang
[06:44:33] squall: has joined #elixir-lang
[07:16:16] gvaughn: has joined #elixir-lang
[07:22:06] jeffweiss: has joined #elixir-lang
[07:36:24] Adkron: has joined #elixir-lang
[07:39:40] DTZUZO: has joined #elixir-lang
[07:47:41] kyrylo: has joined #elixir-lang
[08:02:47] kyrylo: has joined #elixir-lang
[08:09:47] squall: has joined #elixir-lang
[08:14:22] gvaughn: has joined #elixir-lang
[08:14:39] Adkron: has joined #elixir-lang
[08:15:40] jnoon2: has joined #elixir-lang
[08:18:22] kapilp: has joined #elixir-lang
[08:42:06] blahdodo: has joined #elixir-lang
[08:53:37] lexmag: has joined #elixir-lang
[08:54:47] gvaughn: has joined #elixir-lang
[09:06:49] squalloster: has joined #elixir-lang
[09:14:17] kaniini: has joined #elixir-lang
[09:22:01] wonko7: has joined #elixir-lang
[09:23:47] Saukk: has joined #elixir-lang
[09:23:53] jeffweiss: has joined #elixir-lang
[09:38:25] mdbm: has joined #elixir-lang
[09:39:36] Adkron: has joined #elixir-lang
[10:15:14] Adkron: has joined #elixir-lang
[10:27:16] mdbm_: has joined #elixir-lang
[10:27:44] gvaughn: has joined #elixir-lang
[10:30:18] Guest42: has joined #elixir-lang
[10:45:36] netrino_: has joined #elixir-lang
[10:48:00] nickjj: when it comes to explicit vs implicit in templates, where do you draw the line vs aliasing and importing custom view functions?
[10:48:24] nickjj: example: i'm setting up a FooWeb.Meta.Title (and FooWeb.Meta.Description, etc.) modules and plan to use them in my templates
[10:48:58] nickjj: being able to call `page_title` directly in the template nice with import, but aliasing it with Meta.Title.page_title is a lot more clear on how this function arrived here
[10:50:04] nickjj: with phoenix 1.4 aliasing Routes (for the path/url helpers) i guess leaning towards explicit is better even if it's more typing? or was that decision based on something else?
[11:02:52] blahdodo: has joined #elixir-lang
[11:07:08] Guest42: has joined #elixir-lang
[11:13:11] DTZUZO: has joined #elixir-lang
[11:13:34] PragTob: has joined #elixir-lang
[11:27:41] gvaughn: has joined #elixir-lang
[11:28:30] tnez: has joined #elixir-lang
[11:32:40] jeffweiss: has joined #elixir-lang
[11:52:49] dysfun: nickjj: in general, explicit involves less thinking
[12:05:13] gvaughn: has joined #elixir-lang
[12:11:51] iautom8things: has joined #elixir-lang
[12:15:34] JuanMiguel: has joined #elixir-lang
[12:21:44] Adkron: has joined #elixir-lang
[12:37:23] tutti: has joined #elixir-lang
[12:56:27] Adkron: has joined #elixir-lang
[12:57:52] weird_error: has joined #elixir-lang
[13:00:56] tomaz_b: has joined #elixir-lang
[13:01:26] PragTob: has joined #elixir-lang
[13:32:21] proteusguy: has joined #elixir-lang
[13:37:18] gvaughn: has joined #elixir-lang
[13:40:02] kawen: has joined #elixir-lang
[13:42:32] JuanMiguel: has joined #elixir-lang
[14:20:56] jeffweiss: has joined #elixir-lang
[14:21:53] tnez: has joined #elixir-lang
[14:23:22] weird_error: has joined #elixir-lang
[14:24:28] kyrylo: has joined #elixir-lang
[14:33:37] wonko7: has joined #elixir-lang
[14:41:57] jeffweiss: has joined #elixir-lang
[14:48:48] serafeim: has joined #elixir-lang
[14:50:19] serafeim: hello, one thing that always confuses me is the story behind genserer call and cast. why aren't these named sync and async ? it's very confusing to me to remember which is the sync and which the async one :|
[14:50:22] iautom8things: has joined #elixir-lang
[14:51:52] hypercore: has joined #elixir-lang
[14:52:07] hypercore: how do you guys deploy your apps to small VPSs? still not sure what the best method is
[14:52:57] hypercore: (ideally i would prefer a process that would minimize the number of steps for each deployment, possibly deploying on git push)
[14:54:06] dysfun: serafeim: cast implies not caring too much about whether it comes back
[14:54:12] dysfun: to cast away
[15:02:37] Adkron: has joined #elixir-lang
[15:06:55] serafeim: dysfun hmmm ok that could make sense if I remember the cast away phrase
[15:08:56] mdbm: has joined #elixir-lang
[15:08:58] gvaughn: has joined #elixir-lang
[15:09:15] serafeim: hypercore i use a fabric script to deploy
[15:09:37] serafeim: it's not as good as "deploying on git push" but works for me
[15:10:11] serafeim: something like this https://github.com/spapas/phxcrd/blob/master/fabfile.py
[15:11:25] serafeim: also notice that the recommended way is to use distillery ; but it seems too complex for my use cases
[15:17:46] hypercore: serafeim: cool script, and yeah i feel like there's still not an "easy" way of deploying, even with distillery (the process at least)
[15:19:32] serafeim: the only downside is that fabric needs python 2.7 but you can't have it all
[15:20:12] serafeim: also this would need a supervisord to start/stop your elixir process, i've got a working cfg here https://github.com/spapas/phxcrd/blob/master/etc/phxcrd-supervisor.conf
[15:20:23] serafeim: as you can undestand i come from the world of python :)
[15:21:07] hypercore: i can tell :P
[15:21:51] hypercore: maybe it's possible to get on push deploy working, have to look into it more
[15:22:27] lexmag: has joined #elixir-lang
[15:22:48] serafeim: well you need to mess with a "third party" like a ci server or something like this
[15:24:02] hypercore: serafeim: yeah, this looks pretty good actually -> https://medium.com/blackode/gitlab-ing-phoenix-elixir-and-others-aka-gitops-50e291ce5d85
[15:25:45] jeffweiss: has joined #elixir-lang
[15:25:51] serafeim: yes using gitlab ci is a great solution for on push deploy
[15:26:42] serafeim: also notice that gitlab (and gitlab ci) can be self hosted; we're using it for 3-4 years in your server and works flawlessly
[15:30:23] hypercore: yeah i've hosted it on a VPS in the past, but it's a pretty demanding application. using gitlab's provided service atm, but would like to switch back to self-hosted soon
[15:31:42] serafeim: yes is demanding :\ that's the perils of ruby i guess
[15:32:37] weird_error: has joined #elixir-lang
[15:35:20] Adkron: has joined #elixir-lang
[15:37:49] wsieroci: has joined #elixir-lang
[15:45:55] gvaughn: has joined #elixir-lang
[16:00:29] Adkron: has joined #elixir-lang
[16:05:16] jnoon2: has joined #elixir-lang
[16:06:35] iautom8things: has joined #elixir-lang
[16:10:19] wsieroci: has joined #elixir-lang
[16:22:22] lexmag: has joined #elixir-lang
[16:39:07] weird_error: has joined #elixir-lang
[16:57:18] inoas: has joined #elixir-lang
[17:13:31] nickjj: hypercore, i use ansible to set the server up, and then initiate deploys with git pushes
[17:18:08] nickjj: that is with flask/rails apps (most of what i develop) but with phoenix i think the same approach will work -- just the docker components will change slightly
[17:21:24] mahmudov: has joined #elixir-lang
[17:25:18] orbyt_: has joined #elixir-lang
[17:31:14] __charly__: has joined #elixir-lang
[17:38:06] griffinbyatt: has joined #elixir-lang
[17:47:36] fyber: has joined #elixir-lang
[17:47:59] jgpawletko: has joined #elixir-lang
[18:08:03] Adkron: has joined #elixir-lang
[18:09:06] griffinbyatt: has joined #elixir-lang
[18:23:50] jeffweiss: has joined #elixir-lang
[18:38:38] serafeim_: has joined #elixir-lang
[18:43:42] sirn: has joined #elixir-lang
[19:01:00] snapet: has joined #elixir-lang
[19:08:27] tgrk: has joined #elixir-lang
[19:22:12] cjk101010: has joined #elixir-lang
[19:34:20] m1dnight_: has joined #elixir-lang
[19:56:06] squall: has joined #elixir-lang
[20:10:03] orbyt_: has joined #elixir-lang
[20:15:52] Adkron: has joined #elixir-lang
[20:24:28] hypercore: nickjj: how do you initiate deploys with git pushes?
[20:35:24] nickjj: hypercore, depends on the project, either with git hooks directly on the server, or by pushing to CI and going from there
[20:35:51] hypercore: nickjj: recommended? -> https://medium.com/blackode/gitlab-ing-phoenix-elixir-and-others-aka-gitops-50e291ce5d85
[20:37:14] nickjj: that doesn't look very specific to phoenix other than a few mix commands, but if you like using gitlab's CI that is one way to set it up
[20:41:25] jnoon2: has joined #elixir-lang
[21:12:04] weird_error: has joined #elixir-lang
[21:43:41] ur5us: has joined #elixir-lang
[21:45:16] orbyt_: has joined #elixir-lang
[22:08:56] weird_error: has joined #elixir-lang
[22:24:17] Adkron: has joined #elixir-lang
[22:29:54] conceivably: has joined #elixir-lang
[22:32:06] weird_error: has joined #elixir-lang
[22:34:43] blahdodo: has joined #elixir-lang
[22:39:53] weird_error: has joined #elixir-lang
[22:52:04] weird_error: has joined #elixir-lang
[22:58:51] gde33: has joined #elixir-lang
[23:10:12] Rovanion: has joined #elixir-lang
[23:21:43] inoas: has joined #elixir-lang
[23:27:26] FancyEagle: has joined #elixir-lang
[23:48:07] orbyt_: has joined #elixir-lang
[23:48:51] weird_error: has joined #elixir-lang