

Are you wanting a general overview of Elixir and Phoenix, or do you want to jump into the most modern part of Phoenix, LiveView? I’m an Elixir developer, so I could help direct you to materials and answer questions if you’d like.
Are you wanting a general overview of Elixir and Phoenix, or do you want to jump into the most modern part of Phoenix, LiveView? I’m an Elixir developer, so I could help direct you to materials and answer questions if you’d like.
he gorris
Skipping React hydration… so, only rendering on the server? BBC just re-invented server-side rendering, bravo 👏😆
I say this as an 8-year React developer. Damn, our industry really drank the kool-aid on on this one. Of course, plenty of people have been saying that React for static content like this has always been a misapplication of the tool, I’ve been reading opinions like that the entire time I’ve been working with it.
I’m glad BBC is doing this, though. Legitimate kudos to them for recognizing the issue and working towards fixing it. I actually think there are some great benefits that React has given us:
I would be happy if React was supplanted in the near future, but I also have some fondness for it. I know I’m way off topic on this post, just felt like talking about React.
Tracking scripts degrade gracefully, so you can disable JS, and the page should still work just fine.
I used to feel this way. Over the course of building out 2 calendar systems in my career (so far) and having to learn the intricacies of date and time-related data types and how they interact with time zones, I don’t have much disdain for time zones. I’d suggest for anyone who feels the same way as this meme read So You Want To Abolish Time Zones.
Also, programmers tend to get frustrated with time zones when they run into bugs around time zone conversion. This is almost always due to the code being written in a way that disregards the existence of times zones until it’s needed and then tacks on the time zone handling as an afterthought.
If any code that deals with time takes the full complexities of time zones into account from the get-go (which isn’t that hard to do), then it’s pretty straightforward to manage.
I tried Warp back when it first came out, but haven’t really considered switching to it since then. What do you really love about it?
This is why many languages have errors and warnings as separate things. Errors for things that for sure prevent the program from working, and warnings for things that are probably wrong but don’t prevent things from working. If you have a setting to then treat warnings as errors (like for CI checks), then you get all the guarantees and none of the frustration.
This was a really good talk! I’ve been using git for about a decade, but I learned several new things. Here’s a few:
git log
by committer dategit maintenance
-C
flag on git blame
If you have a common folder that you clone projects to (like OP’s ~/coding
), then that checkbox lets you trust that whole folder easily when this pop up comes up.
While I agree that a lot of the hype around AI goes overboard, you should probably read this recent paper about AI classification: https://arxiv.org/abs/2311.02462
Systems like DeepMind are narrow AI, whereas LLMs are general AI.
That’s a pretty reasonable reaction to the proposition of learning PHP.
It weakens it a bit, but in my opinion it still has strength where it counts. If an attacker gets access to your password outside your password manager (man-in-the-middle, keylogger, phishing), then you’re still protected. Maybe it’s hubris in my own ability to keep my password manager safe, but I’ve never been worried about storing MFA in my password manager.
Elixir in Action is a great way way to learn the core language, and it’s pretty up-to-date with its latest edition. Elixir as a language has been declared feature-complete, so it doesn’t change that much anyway (the major libraries are a different story).
If you wanted a book to walk you through LiveView after that, I can recommend Programming Phoenix LiveView. The book is currently in “beta”, with the final version expected in a month, so it’s very up-to-date. We have a book club at work and just finished it this past week. It does a good job of showing how to make live-updating CRUD pages along with building a pentominoes puzzle game that’s rendered with SVG. You build up the project chapter-to-chapter and have a pretty cool little app at the end.
As long as you don’t need offline support, then a monolith webapp seems like a perfect use for LiveView, especially for a solo dev!