Skip to content

Software Engineering Authority

Master of Software (MS)
  • Home
  • Software
    • Serengeti – The Autonomous Distributed Database
    • Run JS – Chrome Extension
    • Realtime Customer Analytics
    • MakePip – Python Packager
    • Keep that mouse moving!
  • Github

Software Engineering Authority

Master of Software (MS)
  • Home
  • Software
    • Serengeti – The Autonomous Distributed Database
    • Run JS – Chrome Extension
    • Realtime Customer Analytics
    • MakePip – Python Packager
    • Keep that mouse moving!
  • Github

How to Update Kubectl Config from AWS EKS

  • April 1, 2022March 30, 2022

Ever searched for kubectl update config from aws eks and needed a quick result? Step 1 – Validate AWS CLI Make sure that you have… Read More »How to Update Kubectl Config from AWS EKS

How to Generate a Random String in Java

  • March 31, 2022March 28, 2022

Java provides many ways to generate random strings. 1. Using Apache Commons 2. Using Java 8 3. Using Plain Java

How to Generate a Random String in Python

  • March 30, 2022March 28, 2022

Python gives the ability to generate random strings out of the box, by using a combination of the string and random modules.

How to Generate a Random Number/String in Terraform

  • March 29, 2022March 28, 2022

If you need to generate a random number or string in Terraform, then you can use the following: Then refer to it as:

[Solved] Unable to connect to the server: dial tcp: lookup with AWS EKS

  • March 28, 2022March 25, 2022

If you have received the following error while trying to issue commands to kubectl: Unable to connect to the server: dial tcp: lookup Then it… Read More »[Solved] Unable to connect to the server: dial tcp: lookup with AWS EKS

How to Store Terraform State in AWS S3

  • March 27, 2022March 24, 2022

Storing Terraform states files locally is not recommended. Instead you should use a backend such as as S3 from AWS. To do this, you just… Read More »How to Store Terraform State in AWS S3

[Solved] ZipArchive extension: disabled/not installed on Ubuntu

  • March 26, 2022March 23, 2022

If you have come across the following error: ZipArchive extension: disabled/not installed This just means that you are missing the php-zip module. How to fix the… Read More »[Solved] ZipArchive extension: disabled/not installed on Ubuntu

Calculating Cartesian Neighbors Distance in Golang

  • March 25, 2022March 23, 2022

The challenge We have been searching for all the neighboring points in a Cartesian coordinate system. As we know each point in a coordinate system… Read More »Calculating Cartesian Neighbors Distance in Golang

How to Calculate Dominant Primes in Golang

  • March 24, 2022March 23, 2022

The challenge The prime number sequence starts with: 2,3,5,7,11,13,17,19…. Notice that 2 is in position one. 3 occupies position two, which is a prime-numbered position. Similarly, 5, 11 and 17 also occupy prime-numbered positions. We shall… Read More »How to Calculate Dominant Primes in Golang

[Solved] error: src refspec main does not match

  • March 23, 2022March 21, 2022

When you first try and push to a git repository, you may get the following error message: This is because you have not committed your… Read More »[Solved] error: src refspec main does not match

How to Solve Simple Square Numbers in Golang

  • March 22, 2022March 21, 2022

The challenge In this challenge, you will be given a number n (n > 0) and your task will be to return the smallest square number N (N >… Read More »How to Solve Simple Square Numbers in Golang

How to perform Function Iteration in Golang

  • March 21, 2022March 18, 2022

The challenge The purpose of this challenge is to write a higher-order function returning a new function that iterates on a specified function a given… Read More »How to perform Function Iteration in Golang

Determining Integer Depth in Python

  • March 20, 2022March 17, 2022

The challenge The depth of an integer n is defined to be how many multiples of n it is necessary to compute before all 10 digits have appeared at least once in some… Read More »Determining Integer Depth in Python

How to Reverse a singly-linked list in Python

  • March 19, 2022March 14, 2022

The challenge Implement a function reverse_list that takes a singly-linked list of nodes and returns a matching list in the reverse order. Assume the presence of a… Read More »How to Reverse a singly-linked list in Python

Calculating Simple Time Difference in Python

  • March 18, 2022March 14, 2022

The challenge In this challenge, you will be given a series of times at which an alarm goes off. Your task will be to determine… Read More »Calculating Simple Time Difference in Python

Calculating Odd/Even number of divisors in Python

  • March 17, 2022March 14, 2022

The challenge Given an integer n return “odd” if the number of its divisors is odd. Otherwise, return “even”. Note: big inputs will be tested. Examples: All prime numbers have… Read More »Calculating Odd/Even number of divisors in Python

Calculate possibilities of throwing a coin N times in Python

  • March 16, 2022March 14, 2022

The challenge In this challenge, you will be given an integer n, which is the number of times that is thrown a coin. You will have… Read More »Calculate possibilities of throwing a coin N times in Python

How to Convert Integer to Whitespace format in Python

  • March 15, 2022March 14, 2022

The challenge Hereinafter, [space] refers to ” “, [tab] refers to “\t”, and [LF] refers to “\n” for illustrative purposes. This does not mean that you can use these placeholders in your solution. In esoteric… Read More »How to Convert Integer to Whitespace format in Python

How to Perform Frog Jumping in Python

  • March 14, 2022March 10, 2022

The challenge You have an array of integers and have a frog at the first position [Frog, int, int, int, …, int] The integer itself… Read More »How to Perform Frog Jumping in Python

How to Calculate the area of a regular N sides polygon inside a circle of radius R in Python

  • March 13, 2022March 10, 2022

The challenge Write the following function: It should calculate the area of a regular polygon of numberOfSides, number-of-sides, or number_of_sides sides inside a circle of radius circleRadius, circle-radius, or circle_radius which passes through… Read More »How to Calculate the area of a regular N sides polygon inside a circle of radius R in Python

How to create an Image Host Filename Generator in Python

  • March 12, 2022March 10, 2022

The challenge You are developing an image hosting website. You have to create a function for generating random and unique image filenames. Create a function… Read More »How to create an Image Host Filename Generator in Python

How to Find the Missing Alphabets in Python

  • March 11, 2022March 10, 2022

The challenge Task Given string s, which contains only letters from a to z in lowercase. A set of the alphabet is given by abcdefghijklmnopqrstuvwxyz. 2 sets of alphabets… Read More »How to Find the Missing Alphabets in Python

How to move MySQL database to another drive

  • March 10, 2022March 7, 2022

Step 1: Login to your MySQL server, enter your password when prompted: Find out where the data directory is located: Step 2: Now you can… Read More »How to move MySQL database to another drive

How to Find the Sum of Prime-Indexed Elements in Go

  • March 9, 2022March 2, 2022

The challenge You will be given an integer array and your task is to return the sum of elements occupying prime-numbered indices. The first element… Read More »How to Find the Sum of Prime-Indexed Elements in Go

How to Find the Longest Substring in Alphabetical Order in Python

  • March 8, 2022March 8, 2022

The challenge Find the longest substring in alphabetical order. Example: the longest alphabetical substring in “asdfaaaabbbbcttavvfffffdf” is “aaaabbbbctt”. Overview: There are tests with strings up to 10 000 characters long… Read More »How to Find the Longest Substring in Alphabetical Order in Python

  • « Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 46
  • Next »
en English
ar العربيةzh-CN 简体中文nl Nederlandsen Englishfr Françaisde Deutschit Italianopt Portuguêsru Русскийes Español

FREE Weekly Digest

Subscribe to receive an email every week for FREE

Name

Email


  • Actionscript
  • Advertising
  • Agile
  • AI
  • Android
  • Angular
  • AWS
  • Big Data
  • Biometrics
  • CLI
  • Cloud
  • CSS
  • Databases
  • Distributed
  • Docker
  • Domains
  • Excel
  • Firebase
  • Forensics
  • Git
  • Go
  • Graal
  • Hosting
  • IDE
  • Interview
  • Java
  • Javascript
  • Kotlin
  • Kubernetes
  • Linux
  • Mac
  • Maven
  • Misc
  • MySQL
  • Networking
  • Node
  • NPM
  • Pandas
  • PHP
  • PIP
  • Platform
  • PowerShell
  • Python
  • React
  • Ruby
  • S3
  • Security
  • SEO
  • Software
  • Spring
  • SQL
  • SSH
  • SSL
  • Startup
  • Terraform
  • Typescript
  • Ubuntu
  • Web3
  • Windows
  • WSL

Be Social!

  • Facebook
  • Twitter
  • GitHub

Join over 12,000 other subscribers!

Subscribe to receive an email every week for FREE and boost your Software Engineering mindset

Name

Email


Recent Posts

  • [Solved] npm ERR! could not determine executable to run
  • [Solved] npm ERR! path node_modules/node-sass
  • How to Install Lodash through Yarn for React
  • How to SHA256 a String in Golang
  • How to Base64 Encode/Decode in Golang
  • How to Base64 Encode a String in Java
  • How to add a Lambda Environment Variable in Terraform
  • How to perform Array Element Parity in Golang
  • How to Reverse Letters in Kotlin

All content copyright to Andrew O - © 2021

Follow on Facebook