Kevin HaritmondsGenerate prime numbers with efficient memory (using priority queue)The Sieve of Eratosthenes is one of the fastest algorithm to find all primes. However, it is known to consume a lot of memory, as we put…3 min read·Mar 13, 2024----
Kevin HaritmondsFind all intervals that overlap with a given value efficientlyWhen I was trying to solve Google Code Jam 2023 : Illumination Optimization problem (archive), I need a way to efficiently find all…3 min read·Feb 11, 2024----
Kevin HaritmondsHow to run Llama 2 LLM in CI was intrigued how does ChatGPT work. How can a computer generate a relevant, coherent answers to our question. I found an excellent…2 min read·Nov 28, 2023----
Kevin HaritmondsGenerate prime numbers using multi CPU coresPreviously we explored how to generate prime numbers using GPU. Now, let’s try to generate prime numbers using multi CPU cores.3 min read·Sep 17, 2023----
Kevin HaritmondsGenerate prime numbers using GPUGPU is graphics processing unit in our PC. Unlike CPU which has few number of cores (typically 2 cores or up to 32 cores), GPU has hundreds…4 min read·Aug 25, 2023----
Kevin HaritmondsCreate our own KernelIn this article, we are going to create our own Kernel. Kernel is a piece of code that our PC runs upon booting. It initializes hardware…4 min read·Jul 4, 2022----
Kevin HaritmondsRaw NetworkYou type https://www.google.com/ on web browser, and it shows you Google Search webpage. How does it work? How your computer able to find…6 min read·May 23, 2022----
Kevin HaritmondsCombinationsCombinations and its application to solve a tough puzzle3 min read·Apr 16, 2022----
Kevin HaritmondsExtract vocals and accompaniment from a song using SpleeterExtracting “stems” such as vocals (singing voice) and accompaniment from a song is an active research in AI.2 min read·Apr 9, 2022----
Kevin HaritmondsCreate Linux OS from scratchBack in my university days, we have lots of old and unused PCs. We created Linux OS which fit in a 1.44 MB diskette that supports…2 min read·Mar 26, 2022----