May 3, 2024, 10:37 p.m.

Weeknotes: 29 April to 3 May 2024

Converting a Sqlite database, deploying a web app using a YAML file, and creating lists in Elixir, etc.

Sandra's Weeknotes

Painting of a lighthouse coloured in red and white near the sea.
The Lighthouse, Leontine von Littrow (Austrian, 1860–1914)

What I have found gripping

  • Converting a Sqlite database into a PostgreSQL one in a Rails 7 project to ensure scalability and a better performance with a new approach can save time

  • Deploying a web app and its database separately meant listing different variables in a YAML file beforehand

  • Creating a list in Elixir can involve using the following

iex> book_list = ["Book A", "Book B", "Book C"]

  • Storing a new value can look like this

iex> new = "Book Dā€

  • Adding a new element to a list in Elixir includes the use of a pipe symbol

iex> [new | book_list]

iex> ["Book D", "Book A", "Book B", "Book C"]

What I have read

  • Transitioning from SQLite to Postgres in Rails, Daniel Wilder

  • Rails Change Database, Dean Dehart

  • List, HexDocs

  • Add new element to list, StackOverflow

  • 5 Ally Actions - Apr 26, 2024, Better Allies

  • How to lower IT's digital carbon footprint, Carolyn Heinze

What I have watched

Linked-Lists in Elixir, Elixir Mentor

Featured quote

At the heart of MVC, and the idea that was the most influential to later frameworks, is what I call Separated Presentation. The idea behind Separated Presentation is to make a clear division between domain objects that model our perception of the real world, and presentation objects that are the GUI elements we see on the screen. Domain objects should be completely self contained and work without reference to the presentation, they should also be able to support multiple presentations, possibly simultaneously. — Martin Fowler

Further reading and resources

In English

  • GUI Architectures, Martin Fowler

  • 5 Ally Actions - May 3, 2024, Better Allies

In French

  • Podcast: #8 - Pas de data, pas d'IA. Vision de la CTO digital de BPI France, Ludi Akue in IA pas que la data

    You just read issue #34 of Sandra's Weeknotes. You can also browse the full archives of this newsletter.

    Share on LinkedIn Share via email
    Powered by Buttondown, the easiest way to start and grow your newsletter.