I would spend 55 minutes defining the problem and then five minutes solving it. (Albert Einstein)
Tag: code
See the content related to code...
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.
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.
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.
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.