!CnJOKhVeFQDJJFlIls:57north.org.uk

Elixir

410 Members
Unofficial room for chatter about the Elixir language. This channel is publicly logged.59 Servers

Load older messages


SenderMessageTime
23 Feb 2021
@jgarte:matrix.orgjgart * uhoreg: Thanks! I tested it on my pinephone in an elixir shell☝️ 22:04:54
@jgarte:matrix.orgjgart

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:matrix.orgtschnibo joined the room.21:30:48
25 Feb 2021
@pseigo:matrix.orgPeyton joined the room.00:36:45
@pseigo:matrix.orgPeyton changed their display name from Peyton Seigo to Peyton.00:40:32
@pseigo:matrix.orgPeyton set a profile picture.00:40:48
@stefanberndtsson:matrix.nocrew.orgstefanberndtsson joined the room.13:55:16
@galtofkgp:matrix.orggaltofkgp
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:matrix.orgodinsaaker joined the room.19:11:07
26 Feb 2021
@aloukissas:matrix.orgAlex Loukissas joined the room.14:17:30
@aloukissas:matrix.orgAlex Loukissashello everyone! just discovered Matrix + this room14:18:23
@hubert:uhoreg.cauhoregwelcome!14:23:45
@ericlathrop:matrix.orgEric LathropEcto 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:matrix.orgcatos joined the room.16:48:44
1 Mar 2021
@ciphertext:matrix.orgciphertext joined the room.15:34:27
2 Mar 2021
@pkulak:matrix.orgpkulak
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:matrix.orgpkulak 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
@stefanberndtsson:matrix.ub.gu.seStefan Berndtsson joined the room.08:29:58
@focuspocus:matrix.orgfocuspocus joined the room.12:50:58
@Nicd-:matrix.orgNicd-I've never understood the Ecto assoc API15:28:08
@Nicd-:matrix.orgNicd-I just set the _id fields directly :D15:28:18
3 Mar 2021
@knightking:matrix.orgWoody W changed their display name from knightking to Woody W.03:38:56
@javg:matrix.ub.gu.sejavg joined the room.14:45:00
@mtrnord:nordgedanken.devMTRNord left the room.18:05:10
4 Mar 2021
@sebashwa:matrix.orgsebashwa joined the room.20:38:31
@sebashwa:matrix.orgsebashwaHi 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-:matrix.orgNicd-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 things15:47:32
@Nicd-:matrix.orgNicd-like push notifications and service workers15:48:00
6 Mar 2021
@nico:beerfactory.orgNico joined the room.13:05:21
7 Mar 2021
@sebashwa:matrix.orgsebashwaThanks! Gonna try it :)05:52:34

There are no newer messages yet.


Back to Room List