Category: Software Development

Beginner, Coding, Java, Java, Learn Programming with Me, Software Development

I am learning Java in 2020 – Beginner – Simple Spring REST Service Setup with In-memory DB

Operation System : Windows 10 IDE : IntelliJ Requirements : Java 8 > , Postman ( Rest API Testing) Book | Tutorial : youtube tutorial Java version : 12 Git Project : Here Starter Project: Here Goal Learn how to setup a spring rest application Learn how to add dependencies in the pom.xml file Pseudo-code […]

Coding, Java, Java, Learn Programming with Me, Software Development

I am learning Java in 2020 – Beginner – Absolutely Simple Restaurant DB connection using JPA

Operation System : Windows 10 IDE : Eclipse IDE ( Java EE – 4.15.0 ) Java version : 12 Less complicated version : In Java and in Python Requirements: Java installed, MySQL connector jar ( here) , MySQL Optional : Eclipse Java EE IDE Goal Learn the java persistence architecture ( JPA ) Pseudo-code Create […]

Coding, Python, Software Development

I am learning Python in 2020 – Beginner – Making a simple database for a restaurant menu

Operation System : Windows 10 IDE : Visual Studio Code Java Implementation : Java and a MySQL Database Problem Goal Generate a mysql database that holds a table of restaurant‘s menu which includes information about each meal. Pseudo-code Solution In order to connect to the MySQL database, we will need to import the mysql.connector which […]

Beginner, Coding, Java, Java, Learn Programming with Me

I am learning Java in 2020 – Beginner – Java and a MySQL Database

Operation System : Windows 10 IDE : Intellij IDEA Community Python Implementation : Making a simple database for a restaurant menu Problem Goal Learn how to connect to a mysql database in Java. Pseudo-code Make a connection to the mysql db Create the “restaurants” database, if not exists Populate the “Nigerian” table in the restaurants […]

c, Coding, Software Development

I am learning C in 2020 – Beginner – How I learned about the standard output, input, error and pipe command

Book: Head First C Chapter: 3 This implementation is provided in the book introduced above. I am simply going line by line to further understand. Operation System : Windows 10 Problem Goal Learn standard output, standard input, standard error, the pipe command, running programs concurrently by creating a program that does the following: Reads a […]

Paris, France
c, Coding, Software Development

I am learning C in 2020 – Beginner – What I learned about memory, variables and pointers in c

Book: Head First C Chapter: 3 Platform used: cplayground.com Pointers humbled me Problem Goal Understand pointers at a foundational level. Memory Zones in C I figured it would be useful to gain a simple overview of where variables could live during the run of a c program. Stack Variables declared or/and initialised within a function […]

c, Coding, Software Development

Learning C in 2020 – Absolute Beginner – Listing Network Adapters on Windows

Book: Hands-On Network Programming with C: Learn socket programming in C and write secure and optimized network code Overview reference This implementation is provided in the book introduced above. I am simply going line by line to further understand. Problem Goal List all network adapters on windows machine. Pseudo-code Get Network Adapters Print out basic […]

Beginner, Coding, Java, Java, Learn Programming with Me, Python

Learning Java in 2020 – Beginner – Ridiculously Simple Python Client and a Java Server

Overview reference Problem Goal Make a python socket client send a “hello” message to a waiting java server. Voila! Pseudo-code Create a server socket that waits for incoming streams / connection from another address Send a “hello world” message to the server socket and have the server socket print it out after the connection has […]

Beginner, Java, Learn Programming with Me

Learning Java in 2020 – Beginner – Available Ports in a Machine ( Network Programming Basics)

Overview reference Problem Goal Try to find open ports on a computer by using its ip address.. Pseudo-code Get the ip address Get range of ports to be checked Make connections to ip address at each port within the given range If connection is established, write the port in the “openports.txt” file and close the […]

Beginner, Java, Learn Programming with Me

Learning Java in 2020 – Beginner – Check if Palindrome

Overview reference Problem Goal Check if the the user input reads the same forward and backward. Here for more explanation. In this solution we will be ignoring the case. Pseudo-code First of all, the user input string is obtained and reversed. Both the original value and reversed form are stripped of non-alphanumeric characters. That way, […]