Skip to main content

Posts

Showing posts from March, 2022

Learning Flutter (Part 2 - Install / Update Android Studio)

As my Android studio is outdated. Going to install a new one  https://developer.android.com/studio?utm_source=android-studio after downloaded the compressed tarball (.tar.gz) , extract to /opt directory! yeah i override the old one, as i have nothing to worry on eg environment settings. why need to store it in /opt directory? read this please :D  so i have something like  /opt/android-studio then we do the Android SDK update  . . . . today practice is a lot of waiting time :D . . .  Done  then install the Flutter & Dart plugins! ok then updating my Android emulator image! lol.  ..... another waiting time, i can say this practice should be done parallel with other activity. haha yes i am. very light2 and chill2 :D...  tutorial reference https://docs.flutter.dev/get-started/editor

Rounding Number to the nearest 0.05 SEN!

helping out ngo for some excel work. jotting this down for others reference~ example gsheet formula. mround(cell/range of cells, to the nearest 0.05)   = mround ( F25 , 0.05 )   rounding cent reference  https://www.bnm.gov.my/misc/-/asset_publisher/2BOPbOBfILtL/content/about-the-rounding-mechanism

Learning Flutter (Part 1 - Install Flutter)

 Trying to learn something new. Want to start with Flutter first. I do have some experience developing Android APP but that was a decade a ago. Using Android SDK to develop from scratch. However as time changed in a glimpse. Now its time to explore a new SDK! Flutter~   First i followed the instructions on how to install Flutter on my linux machine https://docs.flutter.dev/get-started/install/linux encountered few issues.  [!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)     ✗ cmdline-tools component is missing       Run `path/to/sdkmanager --install "cmdline-tools;latest"`       See https://developer.android.com/studio/command-line for more details.     ✗ Android license status unknown.       Run `flutter doctor --android-licenses` to accept the SDK licenses.       See https://flutter.dev/docs/get-started/install/linux#android-setup for more details. [✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)   Ok lets fi

Lets improve Website speed

 Salam All! Today i have the privilege to do some website analysis. The main objective is to improve the current website speed and performance. Well, tbh there's less sale on the website, however the purpose having it available is for reference. Most of the sale transactions happens on Shopee~   First i ran the GTMetrix performance analysis.  https://gtmetrix.com/reports/4nutz.tk/j42YIXSg/  you can see the report completely! here are some screenshots ! fyi im not using any cdn to do the script and image caching, due to my target audience is in Malaysia itself. And the server i deployed is from Singapore.     Steps that i take to improve the speed! Change to only use Webp images! Ive done this step previously, however didnt cater all images. For homepage lets convert all the visible image to webp! Will update from time to time this post! Troubleshoot file loading time Using browser console we can see which scripts taking long time to load then from there we can start debug why the s