Posts

Why People Want Another People to Fail

Image
A tribe going to attack other tribe over scarce resources In the stone age era, it was easy to tell people to be nice by telling them some mythical stories about the punishment they will get if they do terrible things. But in the modern era where people can learn any information quickly, they have reasons to not believe in any such thing, people are just getting harder to control. Humans are fundamentally carnivores, we hunt animals for food. We make a sharp arm to defend our tribe when another tribe tries to attack us, we have a very cruel and selfish history in the past that is passed from generation to generation. To go to the top chain of food, or to go to the top of social class we have to be the strongest. Sometimes by using any means necessary to achieve that goal. And that inner beast that is descended from our past is still inside us. We get jealous when the Success of a coworker means bad for us because we are such a selfish species. In the past, food can be very rare to find

Most Influencing People In My Career and Personal Life

Image
Person that influence my life These are some people or even myths that I admire, and inspire, and also their thoughts that influence my life. 1. Seth MacFarlane (actor, writer, director, and more) Very progressive person and very funny, he is the creator of the Cartoon that every episode I have watched, Family Guy. Also his new Star wars sitcom, the Orville. Whenever he appears on TV I always find him to be a very funny and inspiring, really talented person. 2. Elon Musk (Tesla and SpaceX) Could probably be the founder of Bitcoin, Satoshi Nakamoto. A businessman, The richest person ever lived, some say that African kings are the richest, but I didn’t believe it. Elon musk is very successful, achieving so many things in his life, with his knowledge. I like how the business man he is have been creating multiple company like so easily. Also like his futuristic views about space exploration. 3. James Gosling (the programming language Java) Not everyone know about him, even in the develo

What To Do For Productivity As a Solo Developer

Image
Photo by Antenna on Unsplash Not long ago I wrote something in this blog about the definition of AGILE principle to better improve productivity. Well, this blog has a lot of things, and i couldn’t even remember when. Now I continue to do more practical ways of doing AGILE in a team or individual work. It’s not fully AGILE, but still a part of it. When trying to deliver a project it is always not an easy task, especially if we are not a disciplined person. We need some system or a routine to achieve the goal we dream of, which is getting bonuses from the boss, or if you are working for yourself, getting your product launch feels special already. Daily stand up meeting We do quick meetings at the end of the day to share our day to day progress. What we have done today, If it's not done then explain what’s the problem causing it that took long, and if it's solved, what each individual is going to do for tomorrow. And it’s not even take an hour, it could be very simple at least th

Firebase and JQuery Tech Stack - Simplest and most Scalable way of developing a website

Image
Firebase jQuery Bootstrap stack A lot of companies and indie developers in the real world develop websites using so many tech stacks that it is such a waste of time, money, and resources. It’s economically not wise, either they don't know or they are just deliberately doing so to make the company they work for spend tons of money. Certainly, there’s a better approach to doing websites, which should be a cloud base. This is not a secret, you can develop a large-scale application with just less tech stack that even a beginner does not need to learn so many tech stacks. The tech stack I recommend is Firebase, JQuery, and Bootstrap. In the traditional app, these are the workflow of setting up the tech stack to make their website run: Lease a server from some hosting company Install the OS for the database Setting up the database of choice: MySQL, Postgre, Oracle, Mongo, whatever Install the OS for the backend / Rest API Setting up the web server for the backend API Developing some back

Coding On Your Android Phone Using Termux

Image
Writing code on Android Termux app Software development is not a task that you can solve in one sitting, it can take you hours to build stuff, and requires a lot of debugging. But to do small things like develop a small feature in your free time when you're away from your laptop is a time hack. You can achieve that by using your phone alone. Here's how. Install Termux All developers or whatever IT guys need is a simple command line tool that you can use to do some operation like editing a file or installing some tool or program on the system. Luckily the Android world is very robust, we have a terminal tool to execute the Linux command line on your phone. The app is called Termux. Although Termux is available on the Android Play Store, it's been long abandoned by the developer, it's still running but no longer maintained. The newest version of Termux is available on the F Droid app store. So the first thing to do is install f droid and install Termux from FDroid in

Building web app using Firebase - Part 2 (Create API and Read Write DB)

Image
Our First Web App Using Firebase Continuing from the previous post, which is only just one time only setup, let's further advance on doing the codes. After the Realtime database is ready and you have created a document, we need to develop the code. Just create a typical Node-js project as described below: Write our first Firebase function After you created the document you followed from the previous post, you already have the read and write API to your document. For example, you will be able to read your "user_detail" document using HTTP GET Request to "https://[PROJECT_ID].firebaseio.com/user_detail.json" . More on using Rest API can be read here https://firebase.google.com/docs/reference/rest/database . Although Firebase RealtimeDB has its Rest API implementations, sometimes, When we need some underlying logic for our app, we need to create an API. But here's just an example of how to create a simple API using firebase functions. 1. On your project, initia

Building web app using Firebase - Part 1 (Create Firebase Project)

Image
Google Firebase In the following example, We will develop the most efficient way to build a website. Unfortunately, people tend to over-engineer a website by using more and more tech stacks; yes, it will boost productivity later, but sure, the learning curve if you are not familiar with the stack; it just drains your energy and wastes your remaining precious time living on this planet Earth (which you only have once), which is very beautiful to explore rather than if you are just sitting there doing something about human-invented technology. The solution is Firebase; this gonna be a cheat sheet for whenever you want to start building a new project or if you are just a beginner using Google firebase. This will guide you through creating a website from scratch. No server setup required; no dev-ops skills needed, with NoSQL database to not be bothered by the SQL and its slowness and many problems with locking, foreign keys, maximum column size, and so on. Let’s just start building a w

Intellij Spring Boot JSP Page not found or too many redirects

Image
Intellij IDEA - the leading Java IDE This is a bug in IntelliJ version 2021.3 probably gonna be fixed in the future release version of IntelliJ. So, if you have a similar problem, maybe this can fix it. The error usually shows up as page Not found or too many redirects, when you run spring boot code with JSP template using the Intellij run icon. Here’s a simple quick fix to solve it: - Go to the run Edit configuration - Select Modify option - Select a Working directory - And put this variable: $MODULE_DIR$   - Then run once again It is not something wrong with your code, JSP codes, if you debug it you will see that everything just works. Even if you are using the spring-boot maven plugin, like doing mvn spring-boot:run the program just works fine. Sometimes we need to debug our project using the IntelliJ debugging feature, which is impossible to do by just using the maven spring-boot plugin. So we need to run the program using the IDE. I hope this can fix and solve your

Commands To Remove Folder Using Windows Powershell

Image
Accidently removes an important document If you are a Unix person trying to operate Windows, you probably gonna typed RM -RF SOME-FOLDER in Powershell and expect it to remove a folder. But unfortunately, it won’t work on windows, even In the older versions of the windows terminal system. To delete a directory you’ll have to use rmdir /s /q the-folder-name.  But again it won't work anymore on Windows PowerShell. You have to learn lots of power shell commands.  Solutions To remove some folders on your computer using windows PowerShell, execute this command line below: remove-item -recurse -force THE_FOLDER_NAME The recurse is equivalent to “-r” in Linux. It forces the commands to remove the nested folder. And the -force is similar to ‘-f’ in Linux. To force delete the file if some other program is holding it. Those commands also can be applied to remove files. But without -recurse and -force options. That command is similar to the Unix rm -rf folder.  And in the older Windows command

Become An Efficient Programmer

Image
Work Efficiently - Photo by Alexandr Podvalny on Unsplash As all of the industry around the world digitizes their businesses, there’s a huge demand for more software developers. A very labor-intensive job that requires focus, sitting for hours and staring at the LCD screens, sometimes overlaps with the weekends, not that it’s wanted but because the task requires an excessive amount of time. Promises of a good salary and stable career path, people rush trying to school themselves and even their children to enter the Tech world, which is still not too late yet may be on the brink of decline, as AI now can perform to write their own codes, and Developers are in danger of being replaced. I remembered not so long ago, about 8 years ago, my first professional job as a software coder began. Not a pleasant year being very junior, in any industry. I had to have a big brave face to not only face very mad clients but also my coworkers and myself, my inner thoughts telling me that I should've

Popular posts from this blog

Steps to Point a Domain to Ubuntu Apache

ERROR 1348 Column Password Is Not Updatable When Updating MySQL Root Password

How To Connect SSH Using PEM Certificate On Windows

How To Create Spring Boot Project Using Netbeans

How To Synchronize Database Using Navicat