Blog
Ideas, research notes, and updates from my work.
Running C/C++ Code within Python: Bridging Efficiency and Flexibility
In the realm of software development, efficiency and performance often stand as paramount objectives, especially in computationally intensive tasks. Python, with its simplicity and vast ecosystem, is a go-to language for many developers. However, when it comes to raw performance, languages like C ...
Created Mar 2024 — Updated Oct 2024
Asynchronous Mapping with asyncio and Python Coroutines
Asynchronous programming in Python allows for concurrent execution of code, greatly improving the efficiency of tasks like IO-bound operations, networking requests, and other operations that involve waiting for external resources.
Created Jul 2023 — Updated Oct 2024
Permutation Tests in Model Comparison: A Practical Guide
In the context of working with data analysis or machine learning, it's often essential to determine whether one model significantly outperforms another on a given dataset. Statistical significance tests can provide a robust way to make this comparison.
Created Mar 2023 — Updated Oct 2024
Djenerator, a simple tool to generate test data for Django
Djenerator is a simple tool made to generate test or random data from the model descriptions of Django. The tool is released on PyPi and can be installed using pip. Djenerator has several advantages over other alternatives:
Created Sep 2022 — Updated Oct 2024
Long Term Investment Analysis
In this article, I attempt to extend some of the analyses of a series of articles debunking common myths about investment. The series is called The Myths of Stocks for The Long Run ...
Created Sep 2022 — Updated Sep 2024
Collection of material for competitive programming
As promised by me and Noureldin Yosri, we collected a lot of topics with resources and problems that cover a variety of Mathematics/Geometry topics. Ahmad Elsagheer also helped us collect some of the geometry materials.
Created Dec 2017 — Updated Sep 2024
Experience from the ACM-ICPC journey
The past 5 years of my life I have been involved in many algorithms and problem solving contests, mostly the ACM-ICPC. In this post I'm trying to summarize my accumulated personal experience while living in this community, while learning from it, contributing to it and having fun being in it. This ...
Created Nov 2014 — Updated Sep 2024