Posts
Do we need a microservice framework
Today I was asked which framework was used in my design of microservice systems. I answered those concerns of microservice are handled natively by kubernetes when my systems are deployed into kubernetes clusters. I will not use those frameworks in my design of microservices.
The question sparked several questions in my mind. Here are those questions. Why do we still need microservice frameworks when kubernetes is the de-facto platform now?
Posts
Kubernetes metric options
In normal kubernetes metrics, you will find cAdvisor, Metrics Server, Kubernetes API Server, Node Exporter, and Kube-State-Metrics as source of metrics. In last 2 days, I noticed prometheus-adapter. Today KEDA popped up in my mind. I checked its website and found it can be source of metric as well.
cAdvisor, Metrics Server, Kubernetes API Server, Node Exporter, and Kube-State-Metrics can be considered as in-cluster source of metric. However KEDA is about out-cluster source of metrics.
Posts
Unable to upload Crashlytics dSYM file during build phase of a flutter project due to script error
Recently I added Crashlytics into my project on Oct 25, 2022. I encountered this issue and spent a while to fix it. Today I had to figure out how to do it again, and spent a while. I hated to do that again, so here is this article.
The key message is the first one below. It is quite misleading and lead me to wrong direction to change DEBUG_INFORMATION_FORMAT.
Posts
Install release version of mobile application into iOS without testflight
Last three days, I found an issue can only be reproduced in realease mode.The beta testing cycle via testflight takes too long and it definitely is not the option. I debugged my application in iOS before. One thing popped up in my mind whether I can put release mode of my application into iOS using the debug tool of vs code.
I changed my launch.json as below in my project and debug my application.
Posts
Learning Microsoft azure or google cloud
Today when I leant SRE course from cloudskillsboost, the first course is google cloud foundation. SRE is great. cloudskillsboost should be best place to learn SRE as it is originated there.
Posts
SDUI, odoo, metadata driven ui, active data dictionary, data driven ui
Today I re-read Technology Radar Volume 26, SDUI got my attention. In the past, I was very interested in ERP systems, and studied several open source ERP systems such as openerp(now odoo), ofbiz and adempiere. SDUI is quite similar to technologies used in those open sourced ERP systems.
technology
data source
ui complex
SDUI
server end logic decides/graphQL
odoo
Posts
debug flutter iOS application in MacOS
iPhone Enable developer mode:
Setting -→ PPrivacy & Security -→ Developer Mode
IDE Android Studio It is quite straight forward in Android Studio.
Install flutter plugin and restart Android studio
VSCode select the Run and Debug icon in the Activity Bar
Select "Dart & Flutter" in "RUN AND DEBUG" dropdown list Edit flutter iphone setting Change launch.
Posts
Unit test and widget test in flutter
It is quite easy to refactor code using IDEs, however it will be a different story considing to refactor to testable code.
Concerns The refactor functionality in IDE is based on rigor theories and algorithm to make sure the refactors don’t change the behaviours of programs and get it better organized. One of the theories, can be found here
Target Refactor code to testable codes following best practices.
Posts
How to resolve podfile dependency issues of google_mobile_ads in flutter
There are 27 issues with podfile dependency issues of google_mobile_ads in its repository googleads-mobile-flutter at github Here you can find those issues. My team encountered this issue in the past weeks. Today I had the issue again. To save my time in future, I kept my approach here this time.
Use the following search keywords in cs.github.com
path:pubspec.yaml google_mobile_ads firebase_analytics
locate a good candidate with appropriate version of combinations of the following components.
Posts
conditional compiling in flutter project
In the last week, I intermittently worked on how to compile a flutter project conditionally like the way c/c++ in busy daily work schedules. I knew that flavor is the way to go, however there are still serveral issues opened to explore to make it better or to understand the rationale behind the scene.
Dependency Injections using get_it and injectable: Tree Shaking Capability
Pack only neccessary components into the mobile app: