hypercore

Activity Graph

Page 1 of 6 | Next »

2019-09-15

[18:36:20] hypercore: Ping timeout: 260 seconds
[19:02:11] hypercore: has joined #elixir-lang
[19:07:36] hypercore: Ping timeout: 260 seconds
[19:34:55] hypercore: has joined #elixir-lang
[21:59:48] hypercore: Ping timeout: 260 seconds

2019-09-14

[00:27:13] hypercore: Remote host closed the connection
[00:27:31] hypercore: has joined #elixir-lang
[19:11:18] hypercore: does phoenix work on heroku?
[19:26:58] hypercore: josevalim: thanks

2019-09-13

[22:50:39] hypercore: has joined #elixir-lang
[22:51:40] hypercore: why does phoenix not have a unified auth system?
[22:53:39] hypercore: i feel like this could add a lot of value, just make sure users can use a --no-auth flag when running phx.new and we're off to the races
[23:01:48] hypercore: pera: could we not do it like have django for example does it?
[23:05:05] hypercore: pera: i don't believe it does
[23:05:22] hypercore: but there are packages that do tthis
[23:05:37] hypercore: rawtaz: oh ok, yeah django has that by default i believe
[23:11:08] hypercore: i think for the majority of apps an "is_admin" field is enough
[23:12:16] hypercore: so whether it's RBAC or ABAC i'm not too bothered. I just know having a batteries-incuded auth system would provide a lot of value
[23:12:57] hypercore: pera: haven't tried it for a long time, although last time i did use it it seemed to be pretty good
[23:13:40] hypercore: been using pow for a while now, provides the basics that i need, but guardian would be my 2nd choice
[23:14:40] hypercore: the thing with pow (and probably guardian) is that i have to wire everything up each time i start a new project
[23:18:24] hypercore: i think a lot of people would appreciate this, at least as an optional flag
[23:18:56] hypercore: and it would allow package developers to build around a single auth api to integrate with their package

2019-09-12

[19:51:38] hypercore: has joined #elixir-lang
[19:53:05] hypercore: what's the reasoning behind not having a unified (but perhaps optional) authentication system? wouldn't this reduce a lot of work required to develop elixir/phoenix packages?
[23:11:44] hypercore: Ping timeout: 260 seconds

2019-09-11

[00:11:21] hypercore: Remote host closed the connection

2019-09-10

[19:18:09] hypercore: has joined #elixir-lang
[19:18:17] hypercore: how can i view logs of edeliver?
[19:31:07] hypercore: Remote host closed the connection
[19:31:54] hypercore: has joined #elixir-lang
[19:44:47] hypercore: how can i view logs of edeliver?
[19:46:29] hypercore: Remote host closed the connection
[20:06:31] hypercore: has joined #elixir-lang
[20:15:04] hypercore: Ping timeout: 260 seconds
[20:33:55] hypercore: has joined #elixir-lang
[20:34:11] hypercore: how can i view phoenix logs on a site delpoyed using edeliver?
[20:50:04] hypercore: Ping timeout: 260 seconds
[21:29:19] hypercore: has joined #elixir-lang
[22:05:12] hypercore: Ping timeout: 260 seconds
[22:16:48] hypercore: has joined #elixir-lang
[22:18:07] hypercore: how can i view phoenix logs on a site delpoyed using edeliver?
[22:22:32] hypercore: hauleth: thanks
[22:49:44] hypercore: hauleth, i'm getting "** (Postgrex.Error) ERROR 42703 (undefined_column) column u0.username does not exist" in my logs, even though the field exists in my create_users migration. Does this mean that the migration hasn't worked?
[22:49:58] hypercore: i ran edeliver migrate just before, seemed to run fine
[22:51:35] hypercore: hauleth: it was an old one that should've run, so i just ran migrate again to be safe
[22:53:40] hypercore: hauleth: yeah i might've done that, looking in the db there is no "username" column in "users" table
[22:54:16] hypercore: hauleth: is it possible to run ecto.reset with edeliver?
[22:54:23] hypercore: or a way to reset my migrations
[22:55:44] hypercore: hauleth: great thanks. no data on the website, so that's not a problem
[23:00:25] hypercore: hauleth: after migrating down, is there anything i have to do before running "migrate up"?
[23:00:34] hypercore: e.g. build a release again?
[23:04:18] hypercore: ok cool, and finally is there a way to access an iex console for my production app?
[23:05:28] hypercore: i've tried with app/bin console, but it doesn't work (it gives "the name myapp@127.0.0.1 seems to be in use by another Erlang node")
[23:11:27] hypercore: benwilson512: is that an edeliver command?
[23:17:35] hypercore: benwilson512: ah thanks, although running MyApp.Users.User |> MyApp.Repo.all gives "** (RuntimeError) could not lookup App.Repo because it was not started or it does not exist"
[23:17:42] hypercore: should that happen?
[23:24:43] hypercore: benwilson512: mostly, just having some issues with migrations
[23:25:07] hypercore: postgres is missing a column defined in my migration
[23:29:20] hypercore: benwilson512: i don't, should i just delete it in postgres?
[23:29:35] hypercore: and then edeliver migrate again?
[23:57:40] hypercore: Ping timeout: 260 seconds
[23:59:44] hypercore: has joined #elixir-lang

2019-09-01

[09:53:06] hypercore: should i create a new migration for each type of model image?
[09:53:24] hypercore: e.g. videos have a thumbnail, user profiles have an icon, etc
[12:10:24] hypercore: Ping timeout: 260 seconds

2019-08-31

[14:52:58] hypercore: has joined #elixir-lang
[15:08:38] hypercore: how do i store a WYSIWYG editor page?

2019-08-23

[13:29:03] hypercore: is it possible to remote console into my edeliver instance?
[15:05:28] hypercore: anyone know why arc is giving me :invalid_file when i try to upload a .jpeg image? (.png's work fine)
[15:05:44] hypercore: i've whitelisted .jpegs, so it's not that
[15:13:04] hypercore: also can't upload .gifs it seems like
[15:15:02] hypercore: ok .gifs work, but not .jpg
[15:35:51] hypercore: lol ok why does >> Enum.member?(~w(.jpg, .jpeg .gif .png), Path.extname(".jpg")) << return false, but >> Enum.member?(~w(.jpg, .jpeg .gif .png), Path.extname(".png")) << return true?
[15:37:22] hypercore: ok apparently it's something wrong with the @extension_whitelist code
[15:38:42] hypercore: hahahahaha well that's embarrassing
[15:43:06] hypercore: i think the problem for me is i *never* use wordlists or any of the ~[x]() style syntax, so when i see it my mind thinks it's just a list
[17:12:39] hypercore: Quit: hypercore

2019-08-22

[21:53:09] hypercore: has joined #elixir-lang
[21:53:53] hypercore: hello all, i'm getting "A remote command failed on:" and the command it happens on is "mix phx.digest". Any ideas?
[21:54:03] hypercore: (using edeliver btw)
[21:54:16] hypercore: this happens on the build step
[21:58:01] hypercore: are there logs that are more detailed?
[22:06:09] hypercore: is this why? https://github.com/dwyl/learn-phoenix-framework/issues/3
[22:06:18] hypercore: do i need erlang-parsetools or something?
[22:29:06] hypercore: bit stuck on this one
[22:51:23] hypercore: hmm maybe one of my new packages requires erlang-parsetools?
[22:51:33] hypercore: but i don't want to install it on my server unless i have to
[22:52:53] hypercore: ericmj: nope, just that a remote command failed
[22:55:25] hypercore: oh thanks, didn't see that
[23:00:04] hypercore: ericmj: apparently i argon2 needs "make"
[23:00:15] hypercore: is it worth installing 165MB for build-essential?
[23:00:32] hypercore: seems like a lot just for a crypto library
[23:01:43] hypercore: ericmj: oh ok, thing is i use one server for both build and deploy
[23:56:11] hypercore: is it possible to remote console into my edeliver instance?

2019-08-21

[11:16:40] hypercore: Ping timeout: 260 seconds

2019-08-18

[01:31:55] hypercore: guys how can i connect ajax uploaded images to my Article model?
[04:54:06] hypercore: benwilson512: the problem is that my js image upload library means i have to save to images asynchonously, which means i'm saving them before Article has an id. How can i solve this?
[05:31:40] hypercore: davve: hmm not too familiar with promisis, aren't they js specific though?
[22:55:48] hypercore: Ping timeout: 260 seconds
[23:12:49] hypercore: has joined #elixir-lang

2019-08-17

[16:23:43] hypercore: has joined #elixir-lang
[16:23:54] hypercore: is mix phx.gen.context the most comprehensive generator?
[16:25:31] hypercore: as in it creates migrations, schemas, html
[16:26:01] hypercore: comprehensive as in creates the most files
[16:26:20] hypercore: rather than *only* creating a migration, or *only* creating a controller
[16:35:22] hypercore: serafeim: great, thank you!
[21:00:43] hypercore: how can i include js files? specifically dropzone.js
[21:01:02] hypercore: if i run "import * from 'dropzone'", it doesn't import css styles
[21:01:10] hypercore: (running that in app.js)
[21:15:29] hypercore: think i got it
[22:48:12] hypercore: anyone done ajax image uploading?
[22:57:04] hypercore: Ping timeout: 260 seconds
[23:01:22] hypercore: has joined #elixir-lang

2019-08-15

[03:56:11] hypercore: does the elixircast guy use this channel?
[10:52:32] hypercore: Ping timeout: 260 seconds

2019-08-14

[03:10:24] hypercore: Ping timeout: 260 seconds
[03:27:56] hypercore: has joined #elixir-lang
[03:47:44] hypercore: Ping timeout: 260 seconds
[04:04:49] hypercore: has joined #elixir-lang
[19:22:48] hypercore: Remote host closed the connection
[19:23:18] hypercore: has joined #elixir-lang
[20:37:16] hypercore: what's a good form extension package?

2019-08-13

[01:53:44] hypercore: Ping timeout: 260 seconds
[02:01:01] hypercore: has joined #elixir-lang

2019-08-10

[00:24:40] hypercore: Ping timeout: 260 seconds
[00:35:38] hypercore: has joined #elixir-lang
[00:41:00] hypercore: Ping timeout: 260 seconds
[02:25:15] hypercore: has joined #elixir-lang
[03:44:52] hypercore: Ping timeout: 260 seconds
[05:19:06] hypercore: has joined #elixir-lang
[13:23:00] hypercore: dysfun: great, thank you
[13:40:46] hypercore: dysfun: have you used edeliver before by chance?

2019-08-09

[18:00:29] hypercore: has joined #elixir-lang
[18:01:05] hypercore: do most of you guys use agents and its abstractions? i've never really had the need to use them, what scenarios are they good for?
[18:43:04] hypercore: Ping timeout: 260 seconds
[19:10:02] hypercore: has joined #elixir-lang
[19:10:15] hypercore: sorry, internet disconnected
[19:10:28] hypercore: gamache: genserver is just an abstraction of agents right?
[19:27:23] hypercore: Nicd-: agents are built using genserver?
[19:32:39] hypercore: what's the abstraction hierarchy then? process -> tasks -> genserver -> agents?
[19:40:29] hypercore: guess i need to look at the docs again then
[22:06:35] hypercore: how do i return an optional map value without getting an error if it doesn't exist?
[22:07:14] hypercore: e.g. map = %{name: "john smith", occupation: "programmer"} -> <%= @programmer.occupation %>
[22:07:36] hypercore: but not all @programmer maps have an "occupation" key
[23:26:20] hypercore: Ping timeout: 260 seconds
[23:31:00] hypercore: has joined #elixir-lang
[23:48:44] hypercore: Ping timeout: 260 seconds
[23:55:55] hypercore: has joined #elixir-lang

2019-08-08

[11:50:52] hypercore: Ping timeout: 260 seconds
[12:14:22] hypercore: has joined #elixir-lang
[13:00:48] hypercore: Quit: hypercore

2019-08-06

[08:03:47] hypercore: has joined #elixir-lang
[08:11:45] hypercore: anyone had problems with <a> tags not enclosing child elements properly?
[08:11:54] hypercore: is this a bug with phoenix templates?
[08:38:11] hypercore: i don't think so, i removed both my app.js and app.css files and it still persists
[08:38:27] hypercore: very strange
[08:39:39] hypercore: if i do something like <%= for i <- 1..5 do %><a href="#"><div><%= i %></div></a><% end %>, it works fine
[08:40:16] hypercore: dysfun: maybe it's a native css issue? (as in not due to my custom css, but the html spec of whatever it's called)
[08:43:45] hypercore: or maybe i don't have the correct number of <tag></tag> pairs?
[08:51:10] hypercore: ohhhh lol ok, thanks cjk101010
[08:51:35] hypercore: how can i wrap a component in a link then?
[08:51:42] hypercore: should i use <p> or something?
[08:52:23] hypercore: cjk101010: actually i don't think that's true, because if i delete my code and put a simple <a href="#"><div></div></a>, it works fine
[08:53:20] hypercore: cjk101010: https://www.sitepoint.com/community/t/is-wrapping-a-div-inside-an-anchor-tag-valid-code/307650
[09:00:29] hypercore: nicholasruunu: display: block for <a> doesn't seem to do the trick either, it's very strange, i have 3 children inside <a><div class="parent-1"><div class="parent-2">...</div></div></a>
[09:01:02] hypercore: if i remove 1 & 2, the formatting appears like it should
[09:11:14] hypercore: dysfun: but even if i set it to display: block or display: flex, i get the same issue
[09:14:00] hypercore: nicholasruunu: unfortunately not, the problem is these 3 child elements. If i remove all three, the layout of <a><div class="parent-1"><div class="parent-2"> is as it should be
[09:14:19] hypercore: but when i have those 3 elements inside parent 2, i get this weird recursive <a> insertion
[09:14:53] hypercore: if i remove element 1 & 2 of the 3 child elements, the layout is also fixed
[09:15:15] hypercore: but if i remove only element 1 or element 2, the issue remains
[09:15:47] hypercore: if i remove element 2 & 3, the layout is not fixed
[09:16:04] hypercore: yeah it's bizarre
[09:50:15] hypercore: found the problem, apparently i can't have embedded links
[09:50:32] hypercore: not sure if this is something i should, feels like it though :P
[09:50:40] hypercore: *something i should know
[10:30:40] hypercore: might just switch my embedded <a>s to <button>s

2019-08-02

[18:03:47] hypercore: has joined #elixir-lang
[18:03:56] hypercore: is it possible to use turbo links with phoenix?
[18:04:01] hypercore: and what does it do exactly?
[21:28:02] hypercore: Ankhers: cool thanks, do think it's worth using?
[22:53:49] hypercore: Remote host closed the connection

2019-07-19

[01:35:49] hypercore: rawtaz: thining about building one, but i'm not sure the schema i should use
[12:43:44] hypercore: Ping timeout: 260 seconds
[13:52:23] hypercore: has joined #elixir-lang
[13:52:33] hypercore: guys how do i build a comment system?
[13:52:42] hypercore: (e.g. schema definitions, etc)
[14:19:14] hypercore: rawtaz: not totally sure all the columns i need
[14:20:02] hypercore: this is what i have so far: %Comment{id, user_id, text, reply_of, timestamps()}
[14:50:25] hypercore: rawtaz: if you reply to another person comment
[15:35:45] hypercore: rawtaz: smart
[15:35:55] hypercore: what other columns am i missing?
[15:55:32] hypercore: Ping timeout: 260 seconds

2019-07-18

[23:38:27] hypercore: has joined #elixir-lang
[23:38:35] hypercore: anyone here built a comment system before?

2019-07-16

[16:48:14] hypercore: has left #elixir-lang: ()

2019-07-15

[00:06:21] hypercore: Zarathu: to stream images
[00:23:45] hypercore: basically is it possible to return a Mogrify.Image in a controller?
[00:45:42] hypercore: benwilson512: er how can i do that?
[00:46:03] hypercore: do conver the image to a bit representation or something?
[06:21:33] hypercore: hello serafeim
[11:26:29] hypercore: Remote host closed the connection
[11:26:55] hypercore: has joined #elixir-lang
[11:47:40] hypercore: Ping timeout: 260 seconds
[11:51:36] hypercore: has joined #elixir-lang
[15:00:24] hypercore: Ping timeout: 260 seconds
[19:22:30] hypercore: has joined #elixir-lang
[19:22:58] hypercore: hello everybody, what's the best way of running a c/c++ program from elixir/phoenix?
[19:23:24] hypercore: e.g. say i have a program call "render_video.cpp", what's the fastest way of interacting with this using elixir?
[19:31:08] hypercore: Nicd-: hmm, what are the advantages/disadvantages of theses?

2019-07-14

[19:08:05] hypercore: has left #elixir-lang: ()
[22:37:49] hypercore: has joined #elixir-lang
[22:38:00] hypercore: hey guys, are there any good image libraries for elixir?
[23:03:35] hypercore: Zarathu: never crossed my mind
[23:04:18] hypercore: i suppose i was asking more about if elixir can process images, at the least to a mediocre degree
[23:07:20] hypercore: Zarathu: more concerned about the elixir side of things, e.g. can elixir handle creating/modify a large number of images simultaneously, and also deliver them to the user quickly (similar to a c++ program)
[23:19:41] hypercore: Zarathu: yeah that's what i thought, i use elixir/phoenix for all my web stuff, what tool would you recommend for this particular case? and could i still call it using my phoenix server?

2019-07-13

[08:29:04] hypercore: Ping timeout: 260 seconds
[13:10:13] hypercore: has joined #elixir-lang

2019-07-12

[18:52:41] hypercore: benwilson512: literally just started using it like yesterday, first time i've been able to deploy an app with ease
[18:55:41] hypercore: benwilson512: apparently there's a "mix edeliver migrate" command
[18:56:26] hypercore: out of curiosity, how do you deploy your elixir/phoenix apps?
[19:10:36] hypercore: man that's high tech
[19:11:27] hypercore: at what scale does kubernetes become actually necessary?
[19:13:02] hypercore: ah, didn't realize you had so many services
[19:13:31] hypercore: i guess a better question to ask is would you use kubernetes if you were just deploying a phoenix app
[19:14:01] hypercore: ok cool, good to know
[19:14:18] hypercore: can a single instance VPS get you far? (assuming you upgrade the specs whenever you need to)
[19:16:32] hypercore: that's a relief! so happy with this platform, especially now i've found edeliver (or at least discovered how easy it is to use)
[19:20:52] hypercore: oh nice, and it works with edeliver too, thanks i'll take a look
[19:21:16] hypercore: can i use the free tier of circle ci?
[19:21:40] hypercore: obviousy you use this service, so i'm assuming you recommend it
[19:23:14] hypercore: benwilson512: DO/Linode
[19:23:21] hypercore: don't think they have similar tools unfortunately
[19:23:37] hypercore: gitlab also provides ci too btw
[19:25:15] hypercore: yeah true, there are many options. Thing is i don't really do TDD, is this something you recommend i start doing?
[19:25:38] hypercore: (i don't work at a company or anthing, just work on small side projects)
[19:26:06] hypercore: always thought it was overkill, or maybe something to start doing if/when a project becomes popular
[19:28:20] hypercore: good point :P
[19:28:43] hypercore: that i have zero tests...
[19:30:12] hypercore: i'm just never sure what i should be writing tests for (maybe i just haven't seen enough/any examples of what tests should look like)