When beginning a discipline, everybody wants to know what it takes to understand the technologies or programming languages and quickly get to the advanced stuff. People tend to gravitate towards what’s hip and trendy. Everybody wants to be efficient, shorter is better, absorb as much as you can so you can attain mastery in 6 months! Right?
Not necessarily. This article is going to highlight why diving head-first into a particular technology, design pattern, programming language, or popular technology will not make you a better programmer.
Why? Because programming is about problem solving. It’s about giving the users what they…
Install php7.3-fpm & nginx: https://www.cloudbooklet.com/how-to-install-nginx-php-7-3-lemp-stack-on-ubuntu-18-04-google-cloud/
sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install php7.3-fpm php7.3-common php7.3-mysql php7.3-xml php7.3-xmlrpc php7.3-curl php7.3-gd php7.3-imagick php7.3-cli php7.3-dev php7.3-imap php7.3-mbstring php7.3-opcache php7.3-soap php7.3-zip unzip -y
sudo vim /etc/php/7.3/fpm/pool.d/www.conf:
sudo vim /etc/php/7.3/fpm/php.ini
sudo php-fpm7.3 -t
sudo service php7.3-fpm restart
You can now test to see if PHP7.3 is running by visiting the port it runs on. For instance port 80 is the port that it usually runs on http://localhost:80/.
For many, earning the blue belt only takes 3–6 months. For me, the journey took a lot longer — about four times as long. But I am not at all disappointed by this milestone.
I started Jiu-Jitsu at 29, I had barely 1 year into my professional career as a coder. I felt very stressed and very bottled up due to the work. I was mostly chubby and athletic for most of my life. I was a nerd a which meant I was socially awkward and not confident. I was unhealthy and resentful. …
The while loop is a simple control structure that allows a body of code to be repeated when the condition is true. It can emulate both the for loop and the for each loop. There are situations where the while loop is all you need.
But REALLY, are while loops still used these days? YES, they are! Here are some scenarios where while loops are the most appropriate control structure:
Inheritance in Object-Oriented Programming creates an IS-A relationship between objects. You can think of these relationships like a family tree — a parent to child— relationship where genes from the parents are passed to their children. Except it goes a step further to say that the parent type is the same as the child type.
For instance, say we have a base class called Animal. Next, say we have 3 child classes that inherit from Animal: Human, Spider, and Bear.
The loop is a fundamental control structure in programming languages that allow you to repeat a body of code. It is useful for dealing with lists and indefinite conditions.
You may think that indefinite loops can cause problems, but at the heart of every UI application, there is a loop that keeps the application running until the user decides to close it. Even frameworks like NodeJS take advantage of event loops.
There are 3 common variations: the while loop, the for loop, and the less common foreach loop.
Declarative Programming encompasses a wide range of essential programming paradigms including Functional Programming, Logic Programming, and Data-Flow Programming. It reduces side affects, and allows you to write code without needing to specify how it’s done. This way, the computer can optimize how to fetch it based on your criteria. This also reduces the chances of bugs because you do not have to write the imperative instructions to execute the operation.
Here are some declarative programming languages:
It differs from more popular Imperative Programming paradigms…
Are you confused by the plethora of technologies out there to build your application server? Are you confused and overwhelmed by the frameworks out there and wish it could be simpler? Are you looking for a quick and easy way to build your middleware? Well you’re in luck, because I’m about to introduce you to a gem of a technology called Javalin!
Javalin is based on Java which is a very reliable and stable programming language as well as platform. Java has cross-platform support and plenty of libraries for you to choose from. …
I recently purchased the Asus ROG G14 that comes stock with 16GB memory. The motherboard has 8GB of soldered memory and another slot for more memory that has another 8GB replaceable stick. It’s a great laptop with the Ryzen 9 processor packing plenty of juice. I scoured Amazon in search for a suitable memory stick that I can add to my new laptop. The one that came with the laptop is a Micron 8GB PC4–3200 stick. I heard from a tech reviewer that you can only get 24GB of memory from this as a result of only 1 available slot…
In order to get a clearer understanding, we have to introduce scopes (a.k.a. blocks). Scopes can be understood as folders (in your computer file system). Using the folder analogy, imagine that you create a folder called scope1 and begin to put files v1…