Fillipe Massuda (@fillipeio) profile picture

Dad of 3 amazing boys. Building https://xitter.cf/t.co/7lweZD4ESO so I stop forgetting the moments that matter. Having the most fun ever building with AI.

Langley, British Columbia
Joined August 2023
As a dad of 3, days blur together. I couldn't remember what happened last Tuesday, imagine last year. So I started writing down one moment each day — just one sentence. After one week, just reading those few sentences back brought me so much joy. So I decided to build this app in public: storiesforlife.app #buildinpublic #indiehacker #dadlife
1
49
“You can change the world through careful planning”
Peter Thiel on what you should learn from Steve Jobs:
1
199
My #1 Habit for Remote Working to Save My Time and My Colleagues Time Every week, I have a considerable amount of meetings on my calendar. As you grow in your career, you get more responsibilities and, inevitably, more meetings. Avoiding some, especially ad hoc ones, could save you much brain energy in dealing with context-switching and breaking your flow. Here's the #1 habit I have been cultivating over the last year to save time, inspired by @tferriss's podcast episode with @SamCorcos. Async Video Messaging In the episode, Sam Corcos discusses their company's culture of transparency by recording all their meetings (or most of them, including 1on1s); that was a bit extreme, but there were lots of valuable insights. I began recording videos more frequently, sharing my screen to walk through solutions, and showing code. Sharing the video message allows my colleagues to watch at their best convenience, adjust playback speed, and quickly revisit any part of the video. It decreases the amount of those "quick" 15-30-minute meetings for syncing up on work or screen sharing some code. Moreover, the video stays there in your virtual library. You can share with more people. You can share with more people months later, saving you time and the time to recall something you were working on months before. I miss the office interactions when I had the opportunity to turn to my colleagues to ask something quick or bump into each other in the coffee machine and be able to say, can we chat about that task/project later? Can I show you this or that on my machine? Unfortunately, the remote version of those interactions can make you end your day feeling that you haven't achieved anything. I highly recommend that episode. And you, what are your tips or habits to save time in this remote work life?
2
5
255
3 Things I Learned Writing Online Every Day For 30 Days In A Row 30 days ago, I signed up for @dickiebush & @Nicolascole77's cohort-based course, Ship 30 for 30. During that time, I wrote & published 30 Atomic Essays, learned the fundamentals of Digital Writing, made friends, and expanded my knowledge in a new programming language. It was a rewarding and challenging journey, significantly boosting my enthusiasm for continuing to write online. Here are the 3 biggest lessons I learned from writing and publishing consistently for 30 days: 1. Consistency is Key Starting is easy, but maintaining momentum for 30 days demands significant energy. Some days, I published just before bed, considering it was still part of the previous day. The key lesson: keep going. 2. Flexibility in Topics Adopting a new habit is challenging, especially when establishing multiple habits simultaneously. Although my goal was to write online for 30 days, I also aimed to learn and write about Elixir. There were days when I struggled to find topics on Elixir, yet I remained dedicated to this theme. Despite not working with Elixir professionally, I'm exploring its potential for my projects. Balancing this with time for family, hobbies, or relaxation proved demanding but enlightening. 3. Start the Year Strong It's only the beginning of February, and I've already completed a cohort-based course and published 30 pieces online. Ending this course, I feel a strong sense of accomplishment. This experience has left me excited for the future, eager to continue building with Elixir and Phoenix, and curious about where writing online will lead me. Let me know if you have been thinking about getting started writing online. I'm happy to share more about the experience and what I learned. I am looking forward to the next 30 days and beyond.
3
190
4 Ways to Debug an Elixir Application Debugging is a crucial technique for investigating issues and gaining a deeper understanding of what's happening in your code, especially when exploring a new framework or language. Here are 4 methods to debug an Elixir application: 👇🧵
4
6
34
3,723
4. vscode debugger The VSCode debugger enhances your debugging experience by allowing you to inspect code and visually set breakpoints within the application from the IDE. To debug a Phoenix application, I had to add `exitAfterTaskReturns`.
2
4
464
What's your experience debugging Elixir applications? Is there any other debugging tool I still need to include? #myelixirstatus
1
405
Phoenix Testing Essentials: Controllers, LiveView, and Beyond Testing applications built with @elixirphoenix is streamlined and efficient, thanks to a suite of built-in tools designed to cover every aspect of your app. Here's a quick guide to get you started: 👇🧵
1
5
376
LiveView Testing also includes: - LiveComponents: Use the `render_component/2` function to test if a particular component is rendering correctly or testing the mounting of a component and interacting with its DOM elements.
1
68
For Phoenix feature testing, @germsvel has recently released the PhoenixTest library to simplify testing across static pages and LiveView components. I highly recommend checking it out. germanvelasco.com/blog/intro…
3
11
576
Testing and Mocking in Elixir Testing in @elixirlang is facilitated by ExUnit, the built-in unit test framework. Doctests are tests you write as part of the code documentation, and they run during test execution to ensure tests are kept up-to-date and functional. Mocking in Elixir, I was researching and found an old blog post from @josevalim 2015 entitled Mocks and Explicit Contracts. dashbit.co/blog/mocks-and-ex… I read some interesting things in this blog post that I have never considered. Making a code "testable" means improving the design of your code. A test is a consumer of your API. It helps to decouple code and think about contracts. José makes the brilliant analogy between "mock as nouns" and "mock as verbs" in the blog post. Mocks as verbs mean you are testing an action, changing something like, for example, a module. For mocks as nouns, you pass the whole module for the test. "You shouldn't mock an API (verb). Instead, you create a mock (noun) that implements a given API." Some libraries to explore: - Mox: a library for defining concurrent mocks based on behaviours. - Hammox: An enhanced version of Mox, Hammox offers automatic contract tests based on behaviour type specs. - Bypass: Rather than mocking the HTTP client, Bypass allows you to create a custom plug and return predefined responses. I highly recommend reading José Valim's insightful blog post, "Mocks and Explicit Contracts," to better understand testing nuances in Elixir. It highlights effective testing techniques and encourages a more robust and maintainable code design. #myelixirstatus
1
8
374
Axon and Bumblebee: Deep Learning and Models Continuing on the machine learning ecosystem in Elixir, we have Axon and Bumblebee. Axon's primary goal is to provide an easy-to-use and flexible library for creating neural networks in Elixir. 👇🧵
1
6
187
Bumblebee offers integration with Hugging Face models. @huggingface is a collaborative platform for models, datasets and machine learning applications. Bumblebee makes it easy for anyone to download and perform Machine Learning tasks with a few lines of code.
1
1
52