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 on 2024-03-19 at 14:00

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 on 2023-07-29 at 22:08

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 on 2023-03-29 at 10:45

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 on 2022-09-26 at 02:00

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 on 2022-09-15 at 10:39

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 on 2017-12-01 at 15:55

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 on 2014-11-23 at 09:59