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 […]
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 […]
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 […]
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 […]
Java and Python Project List
I thought it would be interesting to see how one could implement a program in java and python. Hopefully it would help me gain more insight in programming syntax and logic. Projects Python Java Simple Automated WordPress Project Setup Available Ports in a Machine ( Network Programming Basics) Simple RSS Feed GUI in Python Simple […]
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 […]
Learning Python in 2020 – Beginner – Simple RSS Feed GUI
Overview reference Other Implementations Java Problem Goal Simply obtain a valid url from the command line, determine if the given url has a rss feed ( <url>/feed). If it does, display a list of all the items and allow the user to open a post by clicking on an item. Pseudo-code Get url from user […]
Learning Java in 2020 – Beginner – Simple RSS Feed GUI
Overview reference Problem Goal Simply obtain a valid URL from the command line, determine if the given URL has a rss feed ( <URL>/feed). If it does, display a list of all the items and allow the user to open a post by clicking on an item. Pseudo-code Get URL from user Make request to […]
Learning Java in 2020 – Beginner – How to program a basic text editor
Overview reference Problem Goal Create a very basic text editor without text formatting features. It should provide a text field where a text can be given and a button to save the text input as a file. Before saving the file, the user should provide the file name via the command line. After which, the […]
Learning Java in 2020 – Beginner – Count Words in a String
Overview reference Problem Goal Generate a program that counts the number of words in a given text. For added complexity, read a file and count the number of words in the content. Pseudo-code If the user provides a file path as the first command line argument, read the file and count the words Else, ask […]
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, […]
Learning Java in 2020 – Beginner – Count Vowels
Overview reference Problem Goal Count the number of vowels in a given text and provide a report of how many times a specific vowel occurred in the text. Pseudo-code Count Vowels Get user input Declare a count variable and initialize with 0 Loop through text Check if each character is a vowel If vowel, increase […]
Learning Java in 2020 – Beginner – Pig Latin
Overview reference Python Solution Problem Goal Simply take a word, check if it begins with a vowel or a consonant cluster and append “ay” accordingly. If the word starts with a vowel, add an “ay” to the end of the word. Else extract the consonant cluster from the word, append “ay” to the cluster and […]
Learning Java in 2020 – Beginner – Reverse String
Note I am a novice in the world of java programming and hope that similar learners would benefit from my learning experience. Also suggestions and corrections/revisions are highly welcomed from java programmers at any level. Problem Goal: Reverse a string Pseudo-code : Get a string from the command line Declare new string and initialize with […]
Absolute Beginner | Simple Introduction to GIT ( Part II)
Scenario 2 : Collaboration Let’s say you were given a presentation project involving two other members. Each member decides to handle different aspects of the presentation: person A – gets related images, updates their captions and handles the slides transitions person B – handles the text content of each slide person C – writes up […]
Absolute Beginner | Simple Introduction to GIT ( Part I)
Version Control Imagine you are a video editor and you just completed a job on a big youtuber’s video. But feel like trying out some really cool editing technique, so his/her subscribers would notice your artistry and want to find out more about you and possibly hire you for more work. Here are possible scenarios […]
React Transition for Dummies | Difference between CSSTransition and Transition
Bounce, Fade, Animate 05/03/2019 11:56:52 PM Intro into React Transitions In case you are a newbie in the world of react transitions, you should probably read this post (React Transitions for Dummies | Part 1 : Transition, Styled Components and RandomColor) before continuing. <Transition> If you want to animate a react component, wrap it with […]
React Transitions for Dummies | Part 1 : Transition, Styled Components and RandomColor
04/29/2019 12:49:21 AM Overview Simply learning on how to use the React Transition Group “Transition” component to make websites look awesome! Who is this for? This should be useful for those who are confused as I was and (to some extent) still am about component and page transitions especially in React. Why I wanted to […]
Python Networking | Super Beginner Series | Simple Server and Client – “Hello World”
I am more into web development but out of boredom decided to dabble into networking… okay let’s see what I have learned so far. Networking 2018-05-12 10:56:17 AM Python Server This server opens its service at port 9999 and listens and connects to an incoming tcp stream. Once a connection is established, it sends the client […]
DropDown Menu with ONLY CSS and HTML
So you need a dropdown menu but you do not know javaScript… right ? 2018-04-24 7:04:37 PM See the Pen GdZGwO by Ajala Comfort (@AJALACOMFORT) on CodePen. These might interest you:I am learning Python in 2020 – Beginner – Making a…Automate Simple Tasks with Python: Excel Table to…