Links #1

Employers ask for a return to the office: LinkedIn data shows how things have quickly shifted in one year: remote-work peaked March 2022 – more than 20 percent of job posting comparing with January 2023 where remote-work was at just 13 percent of job posting. This doesn’t align with employee preferences (according to a poll 60 percent prefer to be on a hybrid model while 34 percent prefer to work from home permanently).

https://www.code4it.dev/architecture-notes/caching-strategies: Caching is a process of storing data in a cache – a temporary storage that facilitates faster access to data. Using caching improves application performance. This article describes a couple of strategies used at a application level (there are more types of caching):  Cache-asideRead-throughWrite-through, and Write-behind. You can learn about the advantages and disadvantages of each strategy and you can find some useful links to some further readings.

Conventional commits

What is it?

The Conventional Commits is a specification that seeks to improve the commit messages. It can be considered as a standard format when writing commit messages.

Why use it?

Because:

  • creates explicit commit history (it describes features, fixes, breaking changes, etc) in order to better communicate the nature of changes to teammates/public/stakeholders and making it easier for contributors by allowing them to explorer a more structured commit history
  • can be processed by automated tools to produce documentation such as release notes or to trigger build and publish processes

Examples

  • fix: patches a bug in the codebase
  • feat: introduces a new feature to the codebase
  • BREAKING CHANGE: introduces a breaking change. It can be a part of commit message of any type
  • refactor: improves the existing code base
  • perf: improves the performance of algorithms or general execution time of the product, but does not fundamentally change an existing feature.
  • build: alters the build system or external dependencies of the product (adding, removing, or upgrading dependencies).
  • chore: includes a technical or preventative maintenance task but it is not tied to any specific feature
  • ci: makes changes to continuous integration or continuous delivery scripts or configuration files.
  • docs: makes changes to the documentation
  • style: makes changes to the code style (semicolon, indentation…)
  • test: add tests to an existing feature

Avatar 2 review

Going to the cinema is one of my favorite things. I like films because they give us an opportunity to experience situations which are hard to take place in real life. They can satisfy our desires and imagination.

The film genre I like the most is science-fiction because it is about ideas, exploration, new universes and cultures. It stimulates imagination. This is what I was expecting to experience when I chose to go see the newly released Avatar movie. And it was exactly what I had expected. James Cameron who has long been considered a pioneer in cinema and who has directed movies like « The Terminator » and « Titanic » didn’t disappoint me.

The first Avatar blew away audiences back in 2009, pioneering 3D and spectacular sci-fi that Cameron delivered. The film takes us to a faraway future on a planet named Pandora, where humans of Earth have set up a mining operation and disrupted the lives of  Na’vi, the humanoid natives of Pandora. In an effort to interact with them, the humans have created an « Avatar’, which is the body of a Na’vi, operated by the consciousness of a human. Jake Sully, a paralyzed former Marine, becomes mobile again through one such Avatar, falls in love with a Na’vi woman and is drawn into a battle for the survival of her world.

After eight delays over many years, the second movie called “Avatar 2 – The Way of Water” was released in December 2022. The action takes place among the underwater reefs of Pandora, where Jake who has lived on Pandora for many years after making the choice to permanently transfer his human consciousness into his Avatar body and become the new leader of the Na’vi people, started a family with Neytiri, a Na’vi native. The family is forced to flee their home because of the colonizing forces of the RDA and their mining operations that have returned to Pandora.

 Avatar 2 explores unknown parts of Pandora and focuses on underwater life. Although it was a bit long (3 hours), the visual effects and details truly make you feel like you are transported to another world. They are absolutely amazing. Definitely, a spectacle worth watching in IMAX 3D. Acting is another big plus, each performer having their physical and vocal traits passed on to the characters. The sounds and the music also add a new dimension to the movie experience.

I found the movie beautiful and emotional, even though it had too many war scenes. I’m tired of bad guys with guns and bombs destroying everything left and right. The plot of the film is simple, there are no plot twists and many reviewers said it was predictable. And it was predictable but, in a manner, we usually expect from a film. Personally, I would have loved something that had nothing to do with the human colonizers. I would have preferred a more spiritual and intimate approach and the movie to be like an adventure movie and less about blowing things up. I hope to see that in the next movie.

 The Avatar universe is so vast that there are infinite possibilities within the world to keep creating more tales. Disney plans to release three more Avatar sequels every two years through 2028 and according to its calendar, Avatar 3 is set for release in December 2024.

Avatar 2 – The way of waters might not be a film that changes your perspective of life through self-reflection, but overall, it is a great movie.