« Back to channel list

#elixir-lang - 29 May 2019

« Back 1 day Forward 1 day »
[00:14:51] sparogy: has joined #elixir-lang
[00:16:21] jeffro: has joined #elixir-lang
[00:26:46] ariedler: has joined #elixir-lang
[00:29:57] netrino__: has joined #elixir-lang
[00:37:36] praveenperera: has joined #elixir-lang
[00:40:47] Adkron: has joined #elixir-lang
[00:45:53] ariedler: has joined #elixir-lang
[00:53:43] oneark: has joined #elixir-lang
[00:53:46] icecreamcohen: has joined #elixir-lang
[01:15:15] sevenseacat: has joined #elixir-lang
[01:19:06] netrino__: has joined #elixir-lang
[01:19:55] Adkron: has joined #elixir-lang
[01:35:06] orbyt_: has joined #elixir-lang
[01:41:41] jeffro: has joined #elixir-lang
[01:48:49] ariedler: has joined #elixir-lang
[01:58:14] Adkron: has joined #elixir-lang
[02:02:44] tomterl: has joined #elixir-lang
[02:08:17] netrino__: has joined #elixir-lang
[02:08:51] sparogy: has joined #elixir-lang
[02:14:39] blahdodo: has joined #elixir-lang
[02:15:48] blahdodo: has joined #elixir-lang
[02:35:36] Adkron: has joined #elixir-lang
[02:47:15] netrino__: has joined #elixir-lang
[02:52:28] gvaughn: has joined #elixir-lang
[03:03:04] aither: has joined #elixir-lang
[03:12:49] Saukk: has joined #elixir-lang
[03:13:24] __charly__: has joined #elixir-lang
[03:14:11] sparogy: has joined #elixir-lang
[03:16:56] Adkron: has joined #elixir-lang
[03:26:21] netrino__: has joined #elixir-lang
[03:27:24] notzmv: has joined #elixir-lang
[03:31:26] griffinbyatt: has joined #elixir-lang
[03:45:47] blahdodo: has joined #elixir-lang
[03:47:04] praveenperera: has joined #elixir-lang
[03:55:14] Adkron: has joined #elixir-lang
[04:02:00] drincruz: has joined #elixir-lang
[04:03:55] orbyt_: has joined #elixir-lang
[04:10:43] netrino__: has joined #elixir-lang
[04:19:14] notzmv: has joined #elixir-lang
[04:20:18] mbuf: has joined #elixir-lang
[04:27:20] mdbm: has joined #elixir-lang
[04:29:21] Adkron: has joined #elixir-lang
[04:35:50] FancyEagle: has joined #elixir-lang
[04:37:06] __charly__: has joined #elixir-lang
[04:40:26] dignifiedquire: has joined #elixir-lang
[04:41:44] beatpanic: has joined #elixir-lang
[04:42:06] meimeix: has joined #elixir-lang
[04:48:27] Ablu: has joined #elixir-lang
[04:48:27] Anders[m]: has joined #elixir-lang
[04:48:27] ejpcmac: has joined #elixir-lang
[04:48:27] Hawkheart[m]: has joined #elixir-lang
[04:48:28] uhoreg: has joined #elixir-lang
[04:48:33] is0x3F: has joined #elixir-lang
[04:48:34] nolan_d: has joined #elixir-lang
[04:48:34] cbw[m]: has joined #elixir-lang
[04:48:34] tkarstens[m]: has joined #elixir-lang
[04:48:34] minibikini1: has joined #elixir-lang
[04:48:34] borislehashoir[m: has joined #elixir-lang
[04:48:35] Bla[m]: has joined #elixir-lang
[04:48:35] MartinFrost[m]: has joined #elixir-lang
[04:48:35] Phillipp[m]: has joined #elixir-lang
[04:48:35] hindenbug[m]: has joined #elixir-lang
[04:48:35] whoops: has joined #elixir-lang
[04:48:35] tynanbe: has joined #elixir-lang
[04:48:39] krigare[m]: has joined #elixir-lang
[04:49:45] netrino__: has joined #elixir-lang
[05:08:38] Adkron: has joined #elixir-lang
[05:11:55] proteusguy: has joined #elixir-lang
[05:12:39] sparogy: has joined #elixir-lang
[05:25:05] kyrylo: has joined #elixir-lang
[05:28:54] tomterl: has joined #elixir-lang
[05:32:13] mdbm: has joined #elixir-lang
[05:39:11] netrino__: has joined #elixir-lang
[05:42:12] Adkron: has joined #elixir-lang
[05:47:58] proteusguy: has joined #elixir-lang
[05:49:13] DTZUZU2: has joined #elixir-lang
[06:07:46] serafeim: good morning
[06:10:56] Sgeo__: has joined #elixir-lang
[06:14:06] CapNemo: has joined #elixir-lang
[06:17:46] tuacker: has joined #elixir-lang
[06:17:52] mdbm_: has joined #elixir-lang
[06:18:11] netrino__: has joined #elixir-lang
[06:24:32] Adkron: has joined #elixir-lang
[06:31:43] drincruz: has joined #elixir-lang
[06:34:26] mdbm__: has joined #elixir-lang
[06:35:09] mdbm: has joined #elixir-lang
[06:38:35] Phylock: has joined #elixir-lang
[06:39:11] mdbm_: has joined #elixir-lang
[06:44:13] laszloh: has joined #elixir-lang
[06:45:07] kapilp: has joined #elixir-lang
[06:57:06] kansi: has joined #elixir-lang
[06:57:16] netrino__: has joined #elixir-lang
[06:58:00] Adkron: has joined #elixir-lang
[07:01:18] netrino: has joined #elixir-lang
[07:04:06] harfangk: has joined #elixir-lang
[07:04:38] drincruz: has joined #elixir-lang
[07:07:11] serafeim: Nicd-: unfortunately the codestats vim plugin isn't working properly with my windows 8.1 gvim :(
[07:07:15] Mieserkadser: has joined #elixir-lang
[07:07:47] Mieserkadser: Phoenix: Is it possible to make push notifications with Live View?
[07:07:49] Nicd-: I haven't made that one
[07:08:08] Nicd-: I think there are problems with certain nonstandard Vim versions
[07:08:47] Nicd-: and Windows is a pain in the ass usually anyway :P
[07:09:06] serafeim: Nicd-: unfortuantely i am not using anything non standard; i use the gvim windows version from here: https://www.vim.org/download.php#pc
[07:09:23] Sgeo_: has joined #elixir-lang
[07:09:35] Nicd-: then you should file an issue. I figured "gvim" was something different from Vim :D
[07:09:35] serafeim: ha ha ha ha well there are some people that actually use (and like) windows as their dev envs
[07:09:55] serafeim: ha ha no gvim is the graphical version of vim which i use on windows
[07:11:27] josevalim: Mieserkadser: i think for push notifications, at least for apple stuff, you send a request to an apple API
[07:11:43] josevalim: there is probably an existing library for it
[07:12:13] Nicd-: yep on hex
[07:13:47] Mieserkadser: josevalim: i mean updating client webUi from serverside
[07:14:00] josevalim: yes, Phoenix.Channels provide this
[07:16:41] netrino: has joined #elixir-lang
[07:20:38] Mieserkadser: josevalim: but not live view?
[07:20:56] blahdodo: has joined #elixir-lang
[07:20:56] josevalim: live view is built on top of channels, so yes
[07:21:05] josevalim: channels are low-level, you are rather pushing json
[07:21:16] josevalim: with live view you are pushing the HTML directly
[07:25:45] jkva: has joined #elixir-lang
[07:25:49] netrino: has joined #elixir-lang
[07:27:15] Mieserkadser: josevalim: So for pushing from live view i can only use pubsub?
[07:34:53] netrino: has joined #elixir-lang
[07:38:41] Adkron: has joined #elixir-lang
[07:41:54] netrino: has joined #elixir-lang
[07:45:38] lexmag: has joined #elixir-lang
[07:56:10] PragTob: has joined #elixir-lang
[08:17:19] Adkron: has joined #elixir-lang
[08:20:54] netrino: has joined #elixir-lang
[08:24:25] Sgeo__: has joined #elixir-lang
[08:30:02] wonko7: has joined #elixir-lang
[08:32:39] m1dnight_: Hey guys, I'm going through this article (http://blog.plataformatec.com.br/2015/05/introducing-reducees/) and I'm a bit confused with a statement made in it. In particular:
[08:33:04] m1dnight_: "Reduces provide many advantages: ... It opens the door to parallelism as its operations are no longer serial (in contrast to iterators) "
[08:33:14] m1dnight_: Given that reducers api, I really don't so how you can easily parallelize it?
[08:33:28] Gika: has joined #elixir-lang
[08:43:54] Sgeo_: has joined #elixir-lang
[08:53:23] jeffro: has joined #elixir-lang
[08:53:55] Sgeo__: has joined #elixir-lang
[08:57:48] blahdodo: has joined #elixir-lang
[08:58:27] Adkron: has joined #elixir-lang
[09:02:32] dysfun: er, batching?
[09:04:56] netrino: has joined #elixir-lang
[09:14:53] Sgeo__: has joined #elixir-lang
[09:18:14] m1dnight_: that would mean y ou can do parallelism in one step of the pipeline, but not between multiple steps, I guess
[09:18:25] m1dnight_: I'll read some clojure articles maybe
[09:32:42] josevalim: m1dnight_: the parallelism is in having the data and the operations you do on the data as distinct data
[09:33:01] josevalim: for example, if i have a large tree, i can reduce over different subtrees at the same time
[09:33:50] josevalim: so the parallelism is not about the steps but about the data itself
[09:34:35] Adkron: has joined #elixir-lang
[09:34:57] ndee: has joined #elixir-lang
[09:39:11] Gika: has joined #elixir-lang
[09:44:00] netrino: has joined #elixir-lang
[09:48:23] Sgeo_: has joined #elixir-lang
[09:55:49] sebsel: I'm reading the docs for the Absinthe.Resolution struct, and it does not mention :value as one of the contents (but it does have one). Does this mean I should not access it? https://hexdocs.pm/absinthe/Absinthe.Resolution.html#content
[10:15:36] Adkron: has joined #elixir-lang
[10:23:16] netrino: has joined #elixir-lang
[10:25:10] Heuristic: has joined #elixir-lang
[10:32:20] harfangk: has joined #elixir-lang
[10:32:29] griffinbyatt: has joined #elixir-lang
[10:50:22] Adkron: has joined #elixir-lang
[10:57:53] Sgeo_: has joined #elixir-lang
[11:02:20] netrino: has joined #elixir-lang
[11:15:38] kyrylo: has joined #elixir-lang
[11:29:37] garazdawi: has joined #elixir-lang
[11:35:52] Adkron: has joined #elixir-lang
[11:41:19] netrino: has joined #elixir-lang
[11:56:42] serafeim: i want to create an ajax-autocomplete select using phoenix and select2. is this even possible ?
[11:56:54] Nicd-: of course it is possible
[11:57:01] Nicd-: can't give you the specifics though
[11:57:15] serafeim: is there an example anywhere ?
[11:57:23] Nicd-: but usually you have some endpoint /autocomplete?s=foo where foo is the thing typed into the select
[11:57:29] Nicd-: and that endpoint returns the search results
[11:57:39] serafeim: Nicd-: yes let's say that the autocomplete / API thing is ok
[11:58:12] serafeim: my problem is how to integrate that with the `form_for` and `select`
[11:58:27] serafeim: for example I've got something like this right now `<%= select f, :beneficiary_id, [], style: "width: 100%", required: true %>`
[11:59:01] Nicd-: you should start with what you have done already when you ask a question
[11:59:06] serafeim: this outputs an empty select. however I want to have as an option the *existing* value of the `form.object.beneficiary_id` if it has one
[11:59:44] serafeim: so i guess i need to put something inside the [].. but *what* ?
[12:00:08] Nicd-: you should read the select2 docs on what it expects
[12:02:50] serafeim: no no let's forget select2 for now. let's try to see if what i ask is possible
[12:03:10] Nicd-: you asked about select2
[12:03:35] serafeim: so, i've got this `<%= select f, :beneficiary_id, [], style: "width: 100%", required: true %>`. now if this form edits an instance how can i put inside the [] the selected beneficiary_id of that instance ?
[12:04:07] Nicd-: have you read the docs for select()?
[12:04:15] serafeim: i.e i want <%= select f, :beneficiary_id, [{current_beneficiary.name, current_beneficiary.id}], style: "width: 100%", required: true %>
[12:04:22] serafeim: it doesn't mention anything about that :(
[12:04:42] Nicd-: https://hexdocs.pm/phoenix_html/Phoenix.HTML.Form.html#select/4
[12:04:51] Nicd-: > options are expected to be an enumerable which will be used to generate each respective option. The enumerable may have:
[12:05:01] serafeim: that's exactly the link in my browser
[12:05:22] Nicd-: it describes what kind of things you can put in the options
[12:05:42] serafeim: yes i know that. i am doing it in other cases. my problem is finding out *the currently* selected item
[12:06:21] Nicd-: you need to load that from your DB or where ever
[12:06:47] serafeim: oh well i was afraid of that
[12:07:00] serafeim: i thought that may be a way to fill this automatically
[12:07:12] Nicd-: how would it know?
[12:07:21] Adkron: has joined #elixir-lang
[12:07:33] Nicd-: you probably are loading the "instance" anyway if you have an edit form for it
[12:08:20] serafeim: ok Nicd- thanks
[12:19:05] drincruz: has joined #elixir-lang
[12:28:59] knack: has joined #elixir-lang
[12:38:22] lexmag: has joined #elixir-lang
[12:43:33] sparogy: has joined #elixir-lang
[12:49:24] Adkron: has joined #elixir-lang
[12:58:08] tnez: has joined #elixir-lang
[13:07:16] netrino: has joined #elixir-lang
[13:28:01] duaneb: has joined #elixir-lang
[13:29:43] Adkron: has joined #elixir-lang
[13:30:33] warmwaffles: has joined #elixir-lang
[13:44:26] Adkron: has joined #elixir-lang
[13:44:42] gvaughn: has joined #elixir-lang
[13:46:00] tuacker1: has joined #elixir-lang
[13:46:19] netrino: has joined #elixir-lang
[13:47:04] dtzuzu: has joined #elixir-lang
[13:47:19] elixir1298: has joined #elixir-lang
[13:49:16] elixir1298: Hey everyone, quick newbie question here. I just started using VSCode with the vscode-elixir extension. The extension docs list snippets as available, but I'm not sure where I can find them. Any help?
[13:50:24] lexmag: has joined #elixir-lang
[13:51:19] benwilson512: hey elixir1298 welcome!
[13:51:36] benwilson512: first thing, I'd definitely checkout the ElixirLS extension, it has more features than vscode-elixir
[13:52:10] benwilson512: and I think snippets are just handled by the command panel, although I don't know a lot about them specifically
[13:54:11] elixir1298: benwilson512: gotcha, thanks! I actually have vscode-elixir and ElixirLS both installed for some reason. As for the snippets, I'm mainly trying to find an easier way to type "<%= >" in eex templates.
[13:56:21] elixir1298: benwilson512: also, I know this may seem like a dumb question (and not technically about elixir), but is it normal to use the mouse and arrow keys when in vscode as opposed to vim/emacs? I feel like a programmer fraud because I can't manipulate text as well as nearly everyone I see online.
[13:57:14] benwilson512: elixir1298: if you are familiar with vim or emacs key bindings you can always use an extension that adds those to vscode
[13:57:36] benwilson512: I don't use one of those myself, I generally use vscode general keyboard short cuts
[13:57:44] benwilson512: cmd + arros, ctrl+a etc
[13:59:38] elixir1298: benwilson512: i only have cursory familiarity with vim (i.e. how to quit, ha); i've never used it for programming. i just feel like i'm missing something when it comes to manipulating text that it seems other people have figured out.
[14:00:18] duaneb: has joined #elixir-lang
[14:00:31] elixir1298: benwilson512: I also use the standard ctrl+a, ctrl+e, etc. but that's about it.
[14:01:06] elixir1298: benwilson512: anyway, thanks for your help. much appreciated.
[14:15:52] jeffro: has joined #elixir-lang
[14:25:19] netrino: has joined #elixir-lang
[14:26:48] sirn: has joined #elixir-lang
[14:32:08] jimmyrcom: has joined #elixir-lang
[14:37:42] sparogy: has joined #elixir-lang
[14:59:40] benwilson512: does an old fashioned `render` within a Phoenix live view work the way you'd expect?
[15:00:05] benwilson512: IE it's basically equivalent to just having the contents of the rendered view inline
[15:00:17] lexmag: has joined #elixir-lang
[15:02:10] aalmazan: has joined #elixir-lang
[15:04:22] netrino: has joined #elixir-lang
[15:28:47] benwilson512: looks like it!
[15:29:46] tuacker: has joined #elixir-lang
[15:32:36] wonko7: has joined #elixir-lang
[15:35:48] BitBot: has joined #elixir-lang
[15:40:15] nduro: has joined #elixir-lang
[15:43:22] netrino: has joined #elixir-lang
[15:43:30] BitBot: has joined #elixir-lang
[15:43:53] icecreamcohen: has joined #elixir-lang
[15:45:17] wsieroci: has joined #elixir-lang
[15:47:08] cbw[m]: Has anyone ever used the same controller for both an api render and browser render? Seems to work out pretty well. Only problem I've facing is `Routes.controller_path` gives you the route to whichever is listed first in the router. Is there a way to tell it which format you're looking for? ie json vs browser
[15:50:05] cbw[m]: I guess the alternative is to use the `:as` option in the router and give the two routes specific names. That doesn't seem too bad
[16:02:01] drincruz: has joined #elixir-lang
[16:04:36] Gazler: has joined #elixir-lang
[16:06:48] drrty: has joined #elixir-lang
[16:11:35] orbyt_: has joined #elixir-lang
[16:13:04] Rovanion: has joined #elixir-lang
[16:22:27] netrino: has joined #elixir-lang
[16:31:04] bcardarella: josevalim: ping
[16:32:55] josevalim: bcardarella: hey, pong
[16:48:01] praveenperera: has joined #elixir-lang
[16:58:08] drincruz: has joined #elixir-lang
[17:01:24] netrino: has joined #elixir-lang
[17:31:06] jeffro: has joined #elixir-lang
[17:33:59] sparogy: has joined #elixir-lang
[17:40:24] netrino: has joined #elixir-lang
[17:55:59] lexmag: has joined #elixir-lang
[18:17:39] praveenperera: has joined #elixir-lang
[18:19:53] work_: has joined #elixir-lang
[18:23:47] mahmudov: has joined #elixir-lang
[18:24:38] netrino: has joined #elixir-lang
[18:26:17] lauromoura_: has joined #elixir-lang
[18:31:22] _barcode_: has joined #elixir-lang
[18:37:42] netrino_: has joined #elixir-lang
[18:42:40] drrty: has left #elixir-lang: ("Leaving")
[18:47:32] squall: has joined #elixir-lang
[18:49:40] nageV: this channel's topic says it's logged, but are those logs accessible online somewhere? I asked a question a day ago but my IRC session crashed so I don't know whether it was answered :(
[18:52:34] sebsel: nageV: according to my scrollback, you have not received an answer
[18:52:58] sebsel: I would not know where the logs are kept, however
[18:53:23] nageV: thanks! i'll try asking on the forums then, cheers.
[19:00:13] josevalim: People have bots in here that log
[19:00:22] josevalim: I don’t remember who they are though
[19:08:53] blahdodo: has joined #elixir-lang
[19:09:45] iFire: has joined #elixir-lang
[19:12:18] kyrylo: has joined #elixir-lang
[19:21:49] icecreamcohen: has joined #elixir-lang
[19:30:00] josevalim: One was botbot.me but it seems to be dead
[19:31:54] gamache: if I'm not mistaken, GDPR concerns led to many/most IRC logging services closing up shop
[19:36:37] praveenperera: has joined #elixir-lang
[19:37:59] kapilp: has joined #elixir-lang
[19:39:03] blahdodo: has joined #elixir-lang
[19:45:48] praveenperera: has joined #elixir-lang
[19:47:15] praveenperera: has joined #elixir-lang
[20:01:05] Nicd-: the logs are not anywhere
[20:01:08] Nicd-: currentlyu
[20:01:21] Nicd-: I was planning on hosting logs but I haven't had time to implement anythig
[20:21:08] praveenperera: has joined #elixir-lang
[20:31:06] jeffro: has joined #elixir-lang
[20:33:13] icecreamcohen: has joined #elixir-lang
[20:41:57] mozzarella: has joined #elixir-lang
[20:49:11] icecreamcohen: has joined #elixir-lang
[20:57:46] drincruz_: has joined #elixir-lang
[20:59:53] dtzuzu: has joined #elixir-lang
[21:04:29] gvaughn: has joined #elixir-lang
[21:07:01] praveenperera: has joined #elixir-lang
[21:25:19] gvaughn_: has joined #elixir-lang
[21:31:13] thurloat2: has joined #elixir-lang
[21:31:57] praveenperera: has joined #elixir-lang
[21:50:20] josevalim: gamache: ah yes, you are correct
[22:03:29] __charly__: has joined #elixir-lang
[22:12:02] praveenperera: has left #elixir-lang: ()
[22:13:36] elixir-logger: has joined #elixir-lang
[22:18:26] elixir-logger: has left #elixir-lang: ()
[22:21:54] averell: has joined #elixir-lang
[22:33:00] praveenperera: has joined #elixir-lang
[22:35:07] elixir-logger: has joined #elixir-lang
[22:36:14] elixir-logger: has joined #elixir-lang
[22:36:32] praveenperera: has joined #elixir-lang
[22:41:54] elixir-logger: has joined #elixir-lang
[22:43:27] sparogy: has joined #elixir-lang
[22:50:24] orbyt_: has joined #elixir-lang
[22:51:03] elixir-logger: has joined #elixir-lang
[22:52:09] elixir-logger: has joined #elixir-lang
[22:59:39] gvaughn: has joined #elixir-lang
[23:00:19] elixir-logger: has joined #elixir-lang
[23:07:46] netrino_: has joined #elixir-lang
[23:13:17] notzmv: has joined #elixir-lang
[23:16:50] netrino_: has joined #elixir-lang
[23:19:20] elixir-logger: has joined #elixir-lang
[23:21:45] elixir-logger: has joined #elixir-lang
[23:43:55] orbyt_: has joined #elixir-lang
[23:47:06] helpa: has joined #elixir-lang
[23:50:23] sparogy: has joined #elixir-lang
[23:56:15] netrino_: has joined #elixir-lang
[23:57:26] rawtaz: is there a nice docker container for developing phoenix applications?
[23:57:44] rawtaz: i'd like to not install all the dependencies including node on my main machine, but keep it contained