Posts

Showing posts from February, 2021

Two Birds one Hill

Image
They see birds on the hill. Belly-up with their heads turned sideways. The fact that the birds litter the side of the mountain is unsurprising. The air is heavy here, all the smog from the smouldering boulders ascend and hover over the mountains like a shroudlike-like drapery. Occasionally, you can see some of the birds twitch.  Today is a Monday, or what they choose to call Monday. The fact is, they have lost track of the days. Tracking the days has been relegated for more pressing needs. Foraging for edible plants, nuts, you know making sure you stay alive. That kind of stuff. They choose to call most days Mondays, after all everybody hates Mondays. With the dreary fog covering the whole landscape, time in itself has been abandoned long ago in the meaningless struggle for survival. The days are all gloomy on the hillside, days of climbing and foraging, they choose to call Thursday, days of rest and little activity, they call Monday. There aren't many Fridays. He is dizzy from chr...

Writing Automated Tests with Kotlin

Image
Kotlin is a programming language that has been abstracted to the point that it can read like plain English. Kotlin helps a lot of devs tp easily refactor their whole codebase and maintain the code much more easily. Learning Kotlin is like learning any other programming language. You need to understand the syntax and also know some exceptions. Once you are comfortable using Kotlin, you'll appreciate programming a lot more and write code with greater efficiency. You can get started by taking these exercises . We're going to go through writing android tests using Kotlin. Prerequisites 1. Install the Android Studio IDE or Intellij IDE. One of the things to do to start, 2. Enable offline builds by clicking on the Toggle offline mode button.  3. Switch to feature/Clipboarde2e branch  4. Run  npx react-native bundle --platform android --dev true --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/ 5. Open ...