July 1, 2021

Kotlin Heroes 7

Last Tuesday, I joined Kotlin Heroes: Episode 7. Kotlin Heroes is a programming competition from JetBrains (creator of Kotlin) and CodeForces. The challenge is to use Kotlin in solving as many problems in two and a half hours.

I was only able to successfully solve a problem last time. It was great that I did two for Kotlin Heroes 7.

May 8, 2021

Virtual Half Marathon at Vancouver Marathon 2021

Running a half marathon has always been one of my long-term goals. The longest distance I had run is 16k but that was ages ago and I haven't been able to run for a long time.

My plan is to do the half marathon at the Vancouver Marathon this year: my first 21k on 2021. Due to the pandemic, all running events are still virtual. Participants can run anytime in the month of May. I registered early and decided to do my run on the second day while the weather is good. It was very tiring but I finished my first (virtual) half marathon run in 2:45:26.

For the run, my route is the Vancouver Seawall (from Granville Island to Stanley Park and back). I also got to wear the Brooks Sherpa Visor which I ordered for use during sunny day runs.

Next year will be the 50th anniversary of the Vancouver Marathon. Hopefully, the event will be back to normal and I can run my first non-virtual half marathon by then.

April 30, 2021

Android Developer Challenge: Jetpack Compose

An Android Developer Challenge was announced during the beta release of Jetpack Compose. There are four weekly weekly challenges using Jetpack Compose to build Android apps. I joined the first two weeks and was one of the 500 winners for both challenges.

In the first week, the challenge was to build a puppy adoption app with an overview screen that displays a list of puppies and a detail screens. I made a simple app and got the images and details from BC SPCA. At the bottom of the details screen, I added an Adopt button that opens the link to the dog's details page on BC SPCA. I won a limited edition trophy of the Jetpack Compose superhero made of LEGO bricks.

The challenge for the second week was to create a working single screen countdown timer. My app is a simple one where users can set the hour, minute, and second and display the time remaining. Users can also stop the countdown and will be brought back to the "input" screen. Once the timer runs out, a "Time's up!" text will be displayed too. The prize was a Jetpack Compose poster and a set of Android pencils, and a limited edition Jetpack Compose comic strip poster.

I was able to learn and try Jetpack Compose by participating in the Android Developer Challenge. The prizes were additional bonus for me. I'll continue looking into Jetpack Compose and maybe I can use it in a project soon.