Trust me, you’re already the best in the way you are ✨
Trying to become the best, the smartest, and the greatest is something we do often. Seeking for your friend interest in social medias, proofing that you’re the smartest student in your class, flexing that you’re able to buy many expensive things, or maybe you believe that you are the one to be chosen as the superior in your community, ever feel that way?
This kind of act is toxic.
I also understand that you might be doing this for the sake of the number. Say you want 5k+…
In-depth guide about the implementation of repository pattern in Android MVVM architecture.
We know that the application of MVVM architecture pattern in Android app project will really help in building clean and structured code. The main reason is MVVM can separate component based on their respective duties.
In short, MVVM have 3 main component called Model — View — View Model. View component will show data and manage the user interactions, View Model will handle all request and provide all data needed for View, and Model will storing data and handle the business logic.
A beginner guide to understand the essential of Machine Learning.
Nowadays, all human needs have been greatly helped by the digital systems. Communication, knowledge, health, and many other field have been more advance along with the development of technology.
The ability of technological development has also grown since the discovery of several inventions and investments, one of which is the concept of machine learning. Basically, this concept mainly explains a “machine” or also means “computer” that have ability to learn to solve some problem or predicting new data that may appear in future.
Some example of it’s implementation can already…
How to guide about implementing Android MVVM architectural pattern.
For mobile apps developer who specialize in native Android, it’s commonplace that when we build a complex apps, we need to manage a lot of code and logic for it. For features such as retrieving data from remote or local database, performing asynchronous task, etc. it will require some implementation in our view (activity or fragment). In the worst case, it can cause code duplication and spaghetti code.
We also have to write the boilerplate code that needed when implementing features. Handling state when device orientation changed is important thing to…
The Dependency Injection… maybe for some of you this is the first time you hear about this word. Or you’ve heard about it but don’t know what it’s about?. Or maybe you already know and using it nowadays? It’s OK though, let’s review about it. I’ll explain you the basic of what it is and how it works.
Quoted from Wikipedia,
In software engineering, dependency injection is a technique whereby one object supplies the dependencies of another object. A “dependency” is an object that can be used, for example as a service. …
In the last post of my creational design pattern series, I’ve described the singleton pattern:
Now, let’s talk about the factory method pattern.
The factory method is a creational design pattern that provides an interface for creating an object in the superclass but allows subclasses to alter the type of object that will be created.
In a simple word,
A factory method is used to create multiple object types in a single interface.
As I said earlier, this pattern is used to create multiple object types in just a single interface. But what does it mean?. …
Singleton is one of the design patterns in the creational classification. This pattern lets you ensure that a class has only one instance while providing a global access point to this instance.
This is useful when exactly one object is needed to coordinate actions across the system. The term comes from the mathematical concept of a singleton:
In programming, an object is called singleton if it’s only have a single instance to be used in all your logic code.
For a beginner, you may still don’t know the meaning of an instance.
Quoted from Wikipedia,
In object-oriented programming (OOP), an…
The difference of design and architectural pattern in Software Engineering.
This is a steep learning curve. Before you read this article, if you don’t know about design patterns or architecture patterns (in software engineering), I suggest you search some basic references in advance from the Internet, such as Wikipedia.
The design pattern is a term referring to common solutions that be used to solving common problems that occur in certain contexts. Concerned with the (further small) components of a subsystem with their relationships and collaborations with each other. For example, this will help you to solve the problem that you…
This post is the summarize from Overcomplicated book by Samuel Arbseman — Chapter Introduction.
On July 8, 2015, United Airlines suffered a computer problem and grounded its planes. That same day, the New York Stock Exchange halted trading when it’s system stopped working properly. The Wall Street Journal’s website went down. People went out of their minds. No one knew what was going on. Twitter was bedlam as people speculated about cyberattacks from such sources as China and Anonymous.
But these events don’t seem to have been the result of a coordinated cyberattack. The culprit appears more likely to have…