One Breath – Kotlin and Breathing

A few years ago I discovered meditation and mindfulness and I’ve been practicing it since then.

As a side effect, I’ve been also paying attention to breathing. As I become more conscious about it I realize I was constantly breathing wrong. I didn’t even know that was possible!

I dived a little more into the subject and I found out that multiple factors such as stress and anxiety mess up with our natural way of breathing.

Breathing provides a gateway between mind and body.

Fortunately, the solution is quite simple. Resetting your natural breathing cycle can be done by performing a slow breathing exercise a couple times a day. A lot of benefits come with good breathing, just to mention a few:

  • Reduction of stress
  • Natural painkiller
  • Better sleep
  • Controls blood pressure
  • Increased energy level
  • Improves self-awareness

Why not put this technique into an app? I wanted to explore Kotlin, so I created One Breath, a very simple app that helps you recover your innate natural breathing with a simple slow breathing exercise.

It has only one main screen where you can set a few preferences and start a new breathing session:

  • Sound. Enable sound feedback on inhaling and exhaling.
  • Duration. Select duration of the exercise, you can choose between 2, 5 and 10 minutes.
  • Vibration. Enable or disable vibration feedback on inhaling and exhaling.

Once you’ve set up your settings just tap the dot in the center and the session will start.


That’s all, please take a look at it 🙂 Leave a comment on how can I improve it and a rating on Play Store would be awesome.

Check the repo and feel free to contribute.

Posted in Dev

A Day at the Office

9:13 – Start. I’ve just arrived to the office with a friend with I share transport, leave my stuff at my desk and I head to register my entrance hour…. I know, it seems kind of absurd to me, I think flexibility is better, but it’s the way it is.

9:30 – Breakfast. I eat a simple breakfast right at my desk while catching up with some news, YouTube subscriptions, personal emails and start figuring out my goals for the day with the help of my Wunderlist.

10:00 – Coffee. With my goals clear I just need one more thing to get fully started: My coffee. So I take my Contigo mug (which is awesome) and take it downstairs to fill it with the elixir.

loop coffee GIF

11:00 – Work, work, work, work, work. I like to code on the morning. I start by fixing some bugs previously assigned to me on our team platform VSTS and continue with any other assigned tasks.

12:00 – Daily SCRUM. Just like this photo of the Jedi council but in a much less cool and small room, standing up and with remote attendants joined by video, no holograms 😭.

Jedi Council


13:00 – Work, work, work, work, work. I Continue with my assignments, create a couple of pull requests and review a couple from my team.

14:00 – Meditation. Around this time I try to free myself for 10 minutes to meditate. I’m currently using Headspace app to do my meditations. It really helps me with my stress level, keeps me concentrated and I actually really enjoy it, it’s really nice to take 10 minutes and appreciate.

14:30 – Lunch. My co-workers and I go down to the cafeteria to have lunch. My current company is located inside a University so we share the cafeteria with the students. I’m still waiting for the food fight.

15:00 – Chatter. We head to an open area in the campus to sit and talk about everything. Just relax and take a few minutes to talk about everyone’s life, movies, tech, gadgets, comics, memes, and anything that comes up.

15:30 – Learn. Time to go back to the office. I love to learn, I always have topics on my list of things I want to learn about, so I like to spent this part of my day in learning, currently I’m focused on Android stuff, specifically Kotlin and how can I improve the architecture in my projects.

16:00 – Improve. By this time I usually focus on our improvement project, this include tasks like collaborating with co-workers on how to improve our development process, our continuous integration process, integration of new tools, best practices… Currently we’re under a CMMI certification process so I have a meeting with one of my co-workers to review the progress.

17:00 – Closing. I close tasks for the day and focus on any short task so I don’t leave unfinished tasks before I leave.

18:00 – Finish. I register my exit so that HR can be sure I worked 8 full hours.

A Day at the Office.

2017: A Recap

2017 has been the best year of my life. Here’s a short recap I want to share.

😱 January: I got in a terrifying ride. My wife is a true daredevil, she made me do it and I felt glad to be alive when I get off.


😍 February: It was our civil wedding, no big celebration because we were already planning our religious ceremony for September (spoiler), then me and my wife moved to a new house. It is such an exciting and thrilling adventure to share a place with the person you love.

💻 March: I got a new job. A little reluctant about it, the change, the thrill, the adaptation, the new routine, so many things in my head. It turned to be a good job, I’ve learned many things and I’ve worked with great people, I’m still working here.


⚔️ April: Went to a very cool event (Opera Picnic), and got a little nostalgic while enjoying a couple of AOE LAN parties.

🎂 May: I turned 25 years old.

💒 June: Lots of wedding planning.

🤙 July: Friends and Family. I reunited with some friends from college, had really good time and everybody was so hyped about the wedding (I’m the first of the group that gets married). Had a trip with family to a very nice cabin and a family reunion with my cousins.


🌊 August: Bachelor trip in Vallarta. My friends organized this awesome trip to the beach. I’m just grateful for having such cool friends.


❤️ September: Wedding. I got married with the love of my life. Definitively the best day of my year. I really had a great time, it was so much fun, watching our families and friends so happy, so many moments, so many feelings. A day I will remember all my life.


🍯 October: Honeymoon. Simply amazing. We spent some days on Holbox, a tiny island located in the Mexican Caribbean where I’m pretty sure the time goes much slower and another days in the city of Cancun in a big luxury hotel. Kind of opposite worlds… It was incredible to experience both.


🙃 November: Guanajuato City. We took a trip to one of my favorites cities I’ve known. It amazes me every time I go. Culture, art, history, museums, its tunnels network, and legends are some of the magic it has to offer.

🌲 December: Nature. I got the opportunity to spent some days at Mazamitla, a little town in the middle of the forest as part of the planning session for a software development startup where I collaborate: EPCON CCS. Great days, big fun, team work, and creativity. And also in December my wife got apendicitis… Well, shit happens…


So, a great year. Right? Huge thanks to all the people I got to share a moment with this year, my friends, my family, my team and specially to the love of my life Berenice, now my wife. You have made 2017, the best year of my life.




One Movie – Exploring The Movie Database Api

I don’t know if I fit in the definition of cinephile, but I really enjoy watching movies and so does my wife, we’ve been going to the movies on a weekly basis for around 4 years and we watch a couple more at home in our free time.

Because of this, the question: “What movie should we watch?” has become a too recurrent question for us so I did what any other software developer would do: I start coding.

I found this really cool api right away:


A public api to explore the movie db with plenty of cool features and tons of information about millions of movies. Awesome!

I used the /discover endpoint, you can use it to discover movies sorted and filtered by many parameters like rating, votes, genres, etc. You can look at the specs here.

After a few hours exploring the api and a few days of coding on my free time I had One Movie, a very simple app that gives you random movies for exactly that moment when are finding a hard time deciding which movie to watch and you need an app that decide for you.


So, this is what you get.

The app takes you directly to the main screen where you automatically get a random movie, you can see some basic information about it as well as hit refresh to get the next movie if you’re not happy with the current one.

Then there is the filter screen where you can narrow your search and it has the following options:

  • Popular

Popularity is a very important metric in IMDB, it takes many parameters in consideration, such as, the number of votes and views for the day, the number of users who favorited the movie and added it to their watchlists, the release date, the number of votes, among others. One Movie order the movies by popularity and take the top ones.

  • In Theatres

Very simple. It filters movies with a release date less than 1 month old and with theatre release.

  • Year

It filters movies with a release year equal or greater than the specified year.

  • Original Language

It filters movies by the selected language.

  • Genre

It filters movies limiting the search to movies that are within the selected genre. Feel like watching comedy? Horror? Romantic?

  • Vote

It filters movies with a vote average equal or greater than the specified value.

And, of course, One Movie has a simple about screen. That’s it.


Take a look at it 🙂 Leave a comment on how can I improve it and a rating on Play Store would be awesome.

Check the repo and feel free to contribute.