If the only tool you have is a hammer, it is tempting to treat everything as if it were a nail. (Abraham Maslow)
Wednesday, 4 October 2023
Embark on a journey to unravel the mystery of the SyntaxError in prompt.js.
Wednesday, 13 September 2023
Have you ever wondered how long it would take you to become rich? Do you have a specific goal in mind, such as a certain net worth, income level, or lifestyle? Or are you just curious about the possibilities and opportunities that wealth can offer?
Thursday, 1 June 2023
Fraudulent patterns in the stock market can cost you money and ruin your investments. In this post I am going to explore one of this patterns in 6 different phases.
Tuesday, 2 May 2023
If you encounter the error 'Failed to collect page data for /[variable]' when you deploy your Next.js app on Vercel, it means that your app is trying to generate a page for a dynamic route but it fails. Here's how I fixe this error.
Tuesday, 4 April 2023
Problem solving is a vital skill for programmers, as they often have to create solutions for complex and novel challenges. It involves breaking down a problem into smaller and manageable parts, applying logic and reasoning, testing and debugging, and evaluating the outcomes. The following checklist is based on my personal experience and useful tips for solving competitive programming challenges.
Friday, 31 March 2023
Problem solving is a crucial ability that can be applied in any profession as well as in our daily life. Various fields such as engineering, business, medicine, mathematics, computer science, philosophy, and social organization have their own specialized techniques and methods. Let's explore the general problem-solving process more in details.
Monday, 27 March 2023
Who's behind this blog? Short self-introduction. Contacts, links and further websites are provided for more details.
Friday, 24 March 2023
Keystore and Key are successfully generated by bubblewrap init first, but something goes wrong duirning build. A simple workaround made it work very quickly.
Thursday, 9 March 2023
An easy way to pass user defined parameters to Stripe payment links without using hooks and fetch them later.
Thursday, 9 March 2023
State variables can be changed as soon as they change values. Here's how to do it using useCallback() function.
Monday, 6 March 2023
A simple one-liner to convert a Javascript/Typescript Map Object to an array sorted according to the Map's value.
Wednesday, 11 January 2023
ERROR: the nearest package directory doesn't seem to be part of the project declared in [...]
Thursday, 15 December 2022
The integer partition function p(n) is the number of ways of writing n as a sum of positive integers, where the order of the summands does not matter. Let's see how to implement it recurively and iteratively.
Tuesday, 8 November 2022
Recursive and iterative algorithms are two ways of solving problems. A recursive algorithm calls itself repeatedly until it reaches a base case, while the iterative one uses a loop to repeat operations until a condition is met. Both can achieve the same results but have different advantages and disadvantages. In this article, we will see how to turn a recursive into an iterative function step-by-step.
Saturday, 22 October 2022
The Bellman-Ford algorithm finds the shortest path from a given source node to all other nodes allowing edges with negative weights. Here's a ready to use Python code implementing it.
Friday, 6 May 2022
I got this problem after installing Voilà from the Anaconda Terminal. Fixed by simply adjusting Jinja2 version using the pip command below.
Friday, 6 May 2022
Error creating bean with name '...'. IllegalArgumentException: warning no match for this type name. [Java, Spring Boot, JUnit]
Monday, 28 March 2022
Hyperopt is used for black-box optimization. Let's see how to set up conditions for early stopping once results are satisfying enough.
Wednesday, 23 March 2022
Can the Pearson coefficient be computed between two numeric arrays, if these have different size? Let's what does it mean.
Saturday, 5 March 2022
Solving error message of the Wordpress Plugin 'Crayon Syntax Highlighter'
Tuesday, 22 June 2021
When executing any of the JUnit test cases within the Spring Framework in Eclipse a NoSuchBeanDefinitionException is arising. 'No qualifying bean of type ... available: expected at least 1 bean which qualifies as autowire candidate'. Fixed by replacing test class annotation as follows.
Tuesday, 2 March 2021
Set up a Java development (tested here on Windows 10) using Chocolately, JDK and Gradle and an IDE of your choice.
Thursday, 3 December 2020
Solving this error message on Texmaker 5.0.4 using Miktex 20.11
Tuesday, 3 November 2020
Here's how to bind an object's event to a class method in Kivy, a Python framework for creating cross-platform applications.
Saturday, 24 October 2020
Short notes about dealing with unbalanced datasets in Machine Learning.
Monday, 30 March 2020
How did I solve this AttributeError in Kivy.
Sunday, 29 March 2020
I'm going to introduce two very basic sample codes to give a simple overview on the Kivy library. It's assumed that you have already installed it.
Saturday, 21 September 2019
Hyperopt can be used to optimize black-box functions through Bayesian Optimisation, which is a better approach compared to a purely random guessing.