Have you ever seen a method with more than 500 lines of code? I have recently faced this challenge (lol). Alright, I won’t tell you guys how bad it is about the…
Microservices design patterns
Some other patterns such as database per service and shared database per service is mandatory. 1. CQRS Command Query Responsibility Segregation CQRS means Command Query Responsibility Segregation. As the name implies, it…
Android: Solve issue of Background Execution Limits
Android has new updates recently. This is the background execution limit. We can check it out here. So the android tablet will put these services to sleep whenever we press the power…
AWS Lambda or Ruby on Rails
This is the topic of the tech stacks we should pick for our architecture. I still want to show my perspectives even thought we can find many articles about pros and cons…
Android and Lambda Network communication issue
I was struggling on the legacy system. In order to give a better understanding of this issue, let’s look at below diagram. The crew on ship uses the tablet to send data…
AWS code pipeline common issues
This is my first time experience aws code build. I encountered many issues so I would like to share with you guys, in order to help saving your time. Message issue Solution…
Will Nguyen projects demonstration (updating)
These ones are only for researching. Please whatsapp me if you are interested in my profile. I will send my well prepared demo. Order Topics Repositories 1 2022 Projects Coming soon 2…
How Rails 7 uses import maps
Rails has a big change for Javascript ecosystem. It migrates from webpack to import maps. We have different way to import a javascript file. So how do the import maps work? Import…
Rails Rspec testing configuration
We use factory bot rails for creating factories which are model data. Faker to create fake data for factories. Shoulda matcher for matching the expectations. Database cleaner for proactively cleaning database active…
Rails console tips
Autocomplet using TAB Sandbox rails c –sandbox API request app.post “http://localhost:3000/users/toggle_verified”, params: {id:1} List tables ActiveRecord::Base.connection.tables Hide sql