Weeknotes 101
4th June, 2023
“Ruby itself”
-
Ruby apparently has an
itself
method. Ruby has a lot of methods.%i[foo bar baz].index_by(&:itself) { :foo => :foo, :bar => :bar, :baz => :baz }
-
A cool thing about LiveBook which I knew but forgot.
keeping @livebookdev connected to your local phoenix app while developing is a huge time saver
it’s so nice to quickly inspect ecto results and prototype modules without refreshing your web app or going into iex
I’m going to try this out.
-
Phoenix LiveView 0.19 released – Lots of nice improvements.
-
I think we can agree that this is terrifying…
After gaining control of my phone, a hacker ripped me off for $10,000. The scam turned out to be brilliant — and terrifying.
-
I wanted to get
:AV
from Rails.vim in Neovim for Elixir projects so I looked at adding the relevant projectionist config. However, it turned out that I should maybe be using elixir-tools.nvim instead which has projectionist support, but also many other things including ElixirLS which I hadn’t setup yet.A note about setting up Elixir LS though: it does not currently work with the recently released OTP 26, so I downgraded my project in the meantime until this is fixed.
-
Christian Selig of Apollo was unfortunately wrong to be hopeful about Reddit’s new API pricing.
Had a call with Reddit to discuss pricing. Bad news for third-party apps, their announced pricing is close to Twitter’s pricing, and Apollo would have to pay Reddit $20 million per year to keep running as-is.
A shame for both Apollo and him personally. Companies build their userbase on the back of third-party clients and inevitably screw them over once they’ve done their job. See also Twitter.
-
Livebook development continues at pace – Overlay doctest results.
We now show doctests results directly in the editor in @livebookdev!
Via José Valim.
-
My 20 Year Career is Technical Debt or Deprecated
I don’t agree with a lot of the points in this article, but something stood out that is important.
There is no such thing as perfect. Over time what was perfect today won’t be perfect in the future. Learn to live with less than perfect.
This, so much. I am terrible at this. Perfectionism is a curse.
-
In my ever present quest to use non-mainstream tools and technologies I started looking at WezTerm this week as a possible replacement for iTerm, which I’ve been happily using for years.
Initial thought, the the colours in WezTerm are not the same as in iTerm. Can I be bothered to start investigating that? I’m not sure I have the energy.
-
Doomguy visits the BEAM: lightning talk
A really fun talk by André Albuquerque at ElixirConf EU 2023 that demonstrates the various supervisor restart strategies available on the BEAM via Doom.