If someone asks which jobs will be obsolete in the next decade, the jobs that come to mind are those that could be replaced by machines and software, e.g. professions like driver, broadcaster, travel agent, sports official, and many more.
To many, software development is never on the list. Software is the future, hence it is the most secured job. Really?
Well, it makes sense but it’s not always true. Here’s why:
Hardware architected to last;
Software architected to change.
Change is the only thing that last;
Assembly programming was considered software. Then C language became the norm…
As I was looking for some useful coding quotes, I discovered many funny ones. Enjoy reading them — I thought these should be compiled together.
Most are from other sources (as per linked), with the exception of a handful that are my own.
I have separated them down into:
1. The Programming Life
2. Software Engineering
3. Languages and Logic
4. Platform, Tools, and Administration
Hope you enjoy at least some of them!
When I first heard about Elasticsearch, I understood it was a new database system that is flexible for search by keyword on its content. It is not using the traditional SQL to query its data.
Glad to have an opportunity to get a peek of it, without messing up my machine. Hence, sharing my learning here, so that I will not forget.
Historically, when we want to learn any tool, we’ll need to install it. But now docker came to the rescue. …
Engineering is a discipline that demands perfection. To obtain the optimum result, it needs to have a complete, comprehensive, thorough, consistent, and exhaustive process in place. Software development was viewed as a field spawn from within engineering.
Software development, in its infancy, tries to follow the engineering principle as much as possible. However, we have learned much, and realize software development is a much different field from its sibling engineering fields.
Here is how it has changed and preferred these days.
“Walking on water and developing software from a specification are easy if both are frozen.”
— Edward V. Berard
Having a temporary setup on our computer to test a service locally has been made easy with Docker. We can set it up and tear it down any time.
We can have a Linux or Ubuntu or any OS system, and have any database or Software running on it, and serve what we need, without polluting our actual machine environment. That’s the power of Docker, as shared below.
But if there’s multiple local service (docker container) that we are running, and we need them to communicate, how is that possible?
Yes, it is possible to set up to allow the…
Previously I share how we can make ViewPager 2 beyond what it could do in my blog below. But nothing was mentioned about how to make a bi-directional infinite scrolling ViewPager 2.
In this write-up, I will share how can this be made possible.
In normal RecyclerView and ViewPager, we can scroll it forward and backward. However, for the first view, it cannot scroll back to the last view directly, and when it is at the last view, it cannot scroll forward to reach the first view directly.
The Google team introduced Navigation Component for ease of navigating between fragments. The main way to use it is by using Navigation Editor, a UI tool.
One of the things I dislike about iOS development is the need to use Storyboard and Interface Builder, which generated non-human readable XML codes. Hence I have a phobia of using the editor to generate XML code.
Unfortunately, when I want to learn Navigation Component, all tutorials I found will point me to use the Navigation Editor.
So I came up with this, direct coding, and understand how it works to get my Navigation…
Jetpack Compose is the future of UI in Android as explained in this article. Learning how one can draw and design with it is fun. One can make animation and games as Flappy Bird below.
Nonetheless, it is still essential for us to learn how to get a real image loaded into our design, to make them aesthetically pleasing.
Here, I provide the basic simple understanding of loading an image into Jetpack Compose.
Similar to XML, Jetpack Compose provides an interface to load the image, which is a composable function name Image. Actually, there are 3 different composable functions that…
Five years ago, I took up Android Development as a profession. Other than coding, I thoroughly fulfill all required works to ensure good code, maintain the app to keep it up to date and follow through with the process to deploy the App.
Today, when I look back, below are the 3 things I no longer do manually
When was the last time you look at your build.gradle file and notice some version is dated when you see the line as shown in the diagram below.
When you mouse over it, a message will show, and you’ll need to type…
In Android XML Image, we are given various scaling modes one can apply to an image against the view size it will be put into. How the scaling behaves depends on the size of the image too, which at times makes it quite confusing. Below is the article that describes them in detail.
In Jetpack Compose through, the Image now has a slightly different way of defining the Scale. Instead of having a single attribute, it now split into 2 attributes, which are alignment, and contentScale as shown in the code below.
Image(imagePicture, contentDescription = null, modifier = Modifier.fillMaxSize(), alignment…