Profile image

Uche's Coding Corner

Passionate about software, technology, personal discoveries, and more.

Exploring New Technologies: Creating a Planner App with Vue 3

Fri Jun 30 2023 • 0 min read
static site generation
javascript
vue

I believe that to truly master a skill, practical experience is essential. This has always been my advice to aspiring frontend developers. While it's beneficial to explore various technologies and frameworks through small projects or extensive reading, the best way to grow your skills is by building a scalable project that you can continually build upon as you learn new things and discover new use cases....

Algorithm: P versus NP problem

Mon Nov 30 2020 • 0 min read
complexity
algorithm
computer science

Most people who are studying or studied computer science have come across the P verse NP problem. It's one of those topics that you are taught in university and will most like promptly forget about when graduation comes around and you start working in the industry. I have honestly not paid much attention to it until recently....

Implementing the queue and stack data structures

Sun Nov 22 2020 • 0 min read
javascript
complexity
algorithm
datastructures

Queues and stacks are the simplest data structures that are built on the fundamental data structure, the array. A queue works based on the first-in, first-out (FIFO) principle, where an element is inserted to the end of the list and is removed from the front. Unlike a queue, a stack on the last-in, first-out (LIFO) principle. An element added to a list of elements will be the first to be removed....

Improve polling using setTimeOut

Thu Nov 12 2020 • 0 min read
javascript
performance

setTimeOut and setInterval are very similar in that they perform an action after a given time period. The difference is that setTimeOut executes the function only once. Polling requires that you execute an action/function after a given interval. It is very common to implement polling using the window setInterval property....

Moving from Jekyll to Gridsome

Tue Sep 15 2020 • 0 min read
static-sites
javascript
web frameworks

When I started the process of setting up this tech blog, I knew from the get-go I wanted a solution that was quick and easy that required limited effort. I definitely didn’t want to use a CMS system like WordPress or Ghost and headless CMS would have been overkill. The goal was to write blog posts quickly using Markdown and deploy them without effort....

Secure cookies and Set-Cookie

Wed Sep 09 2020 • 0 min read
javascript
securityauthentication

The Set-Cookie is a response header containing a cookie set by the server, which sends this to the user agent so that the user agent can then send it back to the server. The Set-Cookie header basically instructs the browser to create a cookie for the specified domain. This cookie information is then sent back to the server in subsequent requests for the domains specified....

Learning Big O notation as a Javascript developer

Sat Apr 04 2020 • 0 min read
performance javascript
complexity
data structures

We all know that while there are multiple solutions to a given problem, some solutions are better than others and could have a significant impact on the performance of your software. It's easy to overlook performance as long as the desired functionality is achieved and in a lot of small to mid-scale projects, performance can be negligible. However, when building large-scale applications or software that processes large amounts of data, the code handling the processing should be efficient and performant....

10 Tips for clean code

Fri Nov 01 2019 • 0 min read
learning
education

I was listening to a YouTube video on Clean Code by Michael Toppa during a short break from work. This video is an awesome summary of what you should keep in mind when you are structuring your code or implementing a new feature....

Design tokens with Theo

Thu Sep 26 2019 • 0 min read
css
javascript

It was during a discussion I had with a coworker about CSS refactoring and design tokens that I discovered the existence of Theo. Theo is a tool developed by Salesforce that helps you automate the generation of your design tokens. Theo consumes JSON or YAML design token files and transforms the configured values into the format that best suits your needs....

How to add JavaScript to a page

Mon Feb 11 2019 • 0 min read
javascript
html
performance

One common solution is to place the <script> tag at the end of the <body> tag to ensure that the DOM is loaded first before executing any javascript. However, there are other equally good solutions....