23 Feb 2021 |
jgart | * uhoreg: Thanks! I tested it on my pinephone in an elixir shell☝️ | 22:04:54 |
jgart | Oops forgot to do
iex> Reducelen.of([0, 1, 2, 3])
4
in the above screenshot example :) Thanks again!
| 22:09:18 |
24 Feb 2021 |
| tschnibo joined the room. | 21:30:48 |
25 Feb 2021 |
| Peyton joined the room. | 00:36:45 |
| Peyton changed their display name from Peyton Seigo to Peyton. | 00:40:32 |
| Peyton set a profile picture. | 00:40:48 |
| stefanberndtsson joined the room. | 13:55:16 |
galtofkgp | In reply to @pkulak:matrix.org Ah, good idea. I'll give that a shot, thanks. Just came across this that might be the official way to do it - https://hexdocs.pm/phoenix_live_view/bindings.html#rate-limiting-events-with-debounce-and-throttle
phx-debounce="blur"
| 16:37:34 |
| odinsaaker joined the room. | 19:11:07 |
26 Feb 2021 |
| Alex Loukissas joined the room. | 14:17:30 |
Alex Loukissas | hello everyone! just discovered Matrix + this room | 14:18:23 |
uhoreg | welcome! | 14:23:45 |
Eric Lathrop | Ecto question. I've got tables like roles->roles_abilitiies->abilities mapped with has_many :through. I want to make a changeset that can insert a Role and Ability at once, but I'm having trouble getting cast_assoc to work. | 16:49:19 |
27 Feb 2021 |
| catos joined the room. | 16:48:44 |
1 Mar 2021 |
| ciphertext joined the room. | 15:34:27 |
2 Mar 2021 |
pkulak | In reply to @galtofkgp:matrix.org
Just came across this that might be the official way to do it - https://hexdocs.pm/phoenix_live_view/bindings.html#rate-limiting-events-with-debounce-and-throttle
phx-debounce="blur"
That's exactly what I was looking for. Thank you! | 04:56:25 |
pkulak | Eric Lathrop: Maybe I'm just getting too old, but I've stopped fighting ORMs. If I was in your position, I'd just make a method that takes a role, an ability, and does three inserts. | 04:58:33 |
| Stefan Berndtsson joined the room. | 08:29:58 |
| focuspocus joined the room. | 12:50:58 |
Nicd- | I've never understood the Ecto assoc API | 15:28:08 |
Nicd- | I just set the _id fields directly :D | 15:28:18 |
3 Mar 2021 |
| Woody W changed their display name from knightking to Woody W. | 03:38:56 |
| javg joined the room. | 14:45:00 |
| MTRNord left the room. | 18:05:10 |
4 Mar 2021 |
| sebashwa joined the room. | 20:38:31 |
sebashwa | Hi all, I want to build a Progressive Web App and I'm thinking about using phoenix and liveview. Does this contradict? Has anyone experience doing this? I hope asking specific questions is OK in this channel 🙂 | 20:44:39 |
5 Mar 2021 |
Nicd- | I don't think LiveView contradicts with a PWA style but you will need to do some additional stuff and probably custom JS to take advantage of PWA things | 15:47:32 |
Nicd- | like push notifications and service workers | 15:48:00 |
6 Mar 2021 |
| Nico joined the room. | 13:05:21 |
7 Mar 2021 |
sebashwa | Thanks! Gonna try it :) | 05:52:34 |