I'm a big fan of pushing client updates with server-rendered HTML. Staying closer to your data and your authorisation layer is powerful. However, we may be repeating mistakes from the past. Check out my conversation with @t3dotgg on the topic: https://t.co/5GZcFDL90E
@josevalim I've found CoPilot fairly disappointing and it clashes with my other autocompletes. ChatGTP has really been a big time-saver a few times though.
Gonna stream again and take another stab at upgrading Phoenix and LiveView for my podcast site in a few minutes. Should be smoother going this time:
https://t.co/gE3bZKG9XU
@tarasowski The worst answer to this question I was ever told as a junior was, “whatever language you already know”.
Not all tools are equally good at each domain and in the long-term, it’s a very, very bad idea to pick one and refuse to learn any others.
@sir_amz I can’t really answer to that since I’m working more than FT at a startup that just happened to have extensive technical debt.
I haven’t done any external consulting on helping teams upgrade their Phoenix apps, but I have helped out a few friends encountering similar issues.
I've been doing a lot of Phoenix upgrades and general clean-up at work and now it's time to do the same for my personal sites!
I'm going to stream it in about 5 minutes at https://t.co/gE3bZKG9XU #MyElixirStatus
Doh! My suspicion about needing to reinstall JS deps upon upgrading LV since the package.json looks at the ""../deps/phoenix_live_view" path was right.
I just needed to rm -rf the entire node modules directory instead of just running yarn again since it didn't refetch! 😬
It didn't go as well as I'd hoped! I spent a fair amount of time getting the app to work at all on my current hardware and language versions and then upgraded LV from 0.14.4 to 0.15.7 and then hit an issue where the socket couldn't connect after upgrading to 0.16.0.
Next time...
Solution: This happens if you have the following line in your MixProject.project/0 function
compilers: [],
You have to delete the entire line when removing :phoenix from the list because the default behavior is different from explicitly setting compilers to [].
#myelixirstatus
Anyone seen this when upgrading to @elixirphoenix 1.7?
failed to start child: AppWeb.Endpoint
...
** (UndefinedFunctionError) function Phoenix.Endpoint.Supervisor.url/1 is undefined or private
Anyone seen this when upgrading to @elixirphoenix 1.7?
failed to start child: AppWeb.Endpoint
...
** (UndefinedFunctionError) function Phoenix.Endpoint.Supervisor.url/1 is undefined or private
Elixir in Action, v3 is out!
It's bar-none my favorite Elixir book in terms of showing what makes Elixir (and Erlang) special.
Manning is offering a 45% discount on it until midnight tonight ET!
(code: elixirinaction3up)
https://t.co/RZHVSBuoCa
I can say from personal experience how much work it is to update tutorials to keep up with LiveView's rapid changes. I've been doing a massive upgrading project at work (LV 0.4 -> 0.17 so far) and haven't had bandwidth recently.
Prag Studio's work on this is great for all of us!
🔥🐥 Phoenix LiveView course now available in early access!
This course is as fresh as it gets! It's a free update if you already own the course.
Check it out:
👉 https://t.co/MTxnyW2vhp
#myelixirstatus
@TylerAYoung@elixirlang I loved that addition when it appeared! I don’t generally stop the server to run migrations, though.
I keep iex -S mix phx.server running in one tab and run mix ecto.migrate in another.