code

33 Articles 0 Followers

Let The Coding Games Begin

About the no code worry-site. The code was already written by webflow, everything basically templated. It's good for those who don't care too much about the details, otherwise you’d need some basic coding skills to refine the details to your liking....

Hermitworldwide 2 minute read 20 Jul 2023 0 comments $0.03

PHP 8: Idiosyncrasies, Oddities, Obscurities and Updates (Part 2): Statements, Blocks & Functions

This post is part two of many. It picks up where Part 1 left off. Operands and Operators (Continued) PHP 8 has keyword operators that provide alternatives for &&, || and ^: and, or and xor. However, the keywords have lower operator precedence than t...

Great White Snark 7 minute read 10 Sep 2022 0 comments $0.02

Sorting Algorithms 1

Hello everyone Before I dive deep into the theory of sorting algorithms, I thought it would be a fun exercise to create my own algorithms and see how they compare to those I will learn about. The algorithm I have prepared today simply compares the on...

Cooldudue 1 minute read 11 May 2022 0 comments $0.02

Counting how many times a word appears in a sentence

Hello everyone This is a question I got in a coding interview and while I know how to solve it in python, Java is a different beast.  My approach was to split the sentence into an array of words and then check how many times a word appears in the arr...

Cooldudue 1 minute read 10 May 2022 0 comments $0.01

The most wanted primes + bonus prime

Hello everyone I recently watched a Numberphile video where Neil shows an interesting sequence of numbers. In the end, I felt a bit empty since a prime number of this kind should exist but unfortunately, we have not been able to find one for the last...

Cooldudue 1 minute read 9 May 2022 0 comments $0.02

Week Recap and plans for the next week 01/05-08/01

Hello everyone  So this week I finished two mini-code projects mentioned in my previous posts. I still have to publish my code for the most wanted primes from Numberphile. This week I finished most of the analysis and predictive models from the follo...

Cooldudue 1 minute read 8 May 2022 0 comments $0.01

Reverse a String

This was a pretty easy one. From the previous problem, I knew how to convert a string to an array of char. Then I had to make a copy of the array but in Java, it's not as easy as saying a=b. Then I looped through the first array replacing each letter...

Cooldudue 1 minute read 6 May 2022 1 comment $0.00

Checking whether or not a number is an Armstrong Number

This was an interesting challenge as I had no idea how I was going to get each digit into an array. In python, you can just convert the int to a string and then index the string directly. I found this interesting solution on Stack Exchange to convert...

Cooldudue 1 minute read 5 May 2022 0 comments $0.14

Simple QR code generator in Python for Casper

As part of the Gitcoin bounty for Casper hackathon we developed web application in python Flask that generates QR code. We hosted the application at on AWS Elastic Beanstalk with GitHub pipeline. Full article  The overview of the project The app gene...

Dspyt 1 minute read 28 Nov 2021 0 comments $0.11

How To Send Free Transactions In Polkadot

Blockchain networks depend on transaction fees in order to incentivize the nodes and miners that make the entire network operate. These transaction fees also serve to protect their networks against DDoS attacks by malicious hackers — it’s not so easy...

Equilibrium 7 minute read 3 Sep 2021 4 comments $0.82