Skip to content

Moe’s Homepage

Knows how to provide Solution

Menu
  • Home
  • About
    • About Me
Menu

Bus-Factor

Posted on March 4, 2024March 4, 2024 by mabouali

What is your bus-factor? Bus-Factor conveys a very important message, however, in a very morbid manner. I admit, there are other ways to emphasize on the same goal, and I have heard a few different explanation of the same topic. But this one stood out, for obvious reasons. The first time that I heard the…

Continue reading

It works! sometimes!

Posted on March 3, 2024March 3, 2024 by mabouali

I had an interesting discussion with one of the employees in a sport complex. I am not going to name the sport complex, because I like that center, and this incident is not going to change my mind about going there. At least not yet. There is a device that everyone needs to use in…

Continue reading

To comment, or not to comment, that shouldn’t be even a question!

Posted on February 20, 2024March 5, 2024 by mabouali

What’s the story about commenting? Recently, there was a discussion on LinkedIn around comments, again! As usual, it appears that people either fall on the side of comment everything in this code or the side of avoid comments at all costs, even if there is a gun to your head. Moderation?!! any one?!! This is…

Continue reading

Piecewise-Linear Functions: Part II

Posted on February 10, 2024February 10, 2024 by mabouali

In Part I (here), we discussed what are Piecewise-Linear Functions (PLFs). In Part II, this document, we are going to discuss how to estimate the coefficients. As it was mentioned in Part I, if we do not need to guarantee the continuity, all you need to do is to just fit a line to each…

Continue reading

Piecewise-Linear Functions: Part I

Posted on February 4, 2024February 10, 2024 by mabouali

We are going to divide this document in two parts. The first part, this document, we are going to discuss piecewise linear functions (PLFs) and how to implement one in Python. The second part, Part II, we will discuss how to fit the coefficients, detect the break-points locations, and even optimize the number of the…

Continue reading

Can I Directly Translate A Math Equation To A Code?

Posted on January 28, 2024February 10, 2024 by mabouali

If you have answered yes, then you are betting on being lucky. If you are saying: “I always have done so and never had any issue!!!”, well, (1) you are lucky that you never executed your code with numbers that would cause problem, (2) you are using a library that handles these things under the…

Continue reading

Learning SQL

Posted on January 13, 2024February 10, 2024 by mabouali

I see a lot of SQL posts in my feed, getting the impression that SQL is making a comeback and becoming a hot topic again. Indeed, SQL could be a very handy language for many systems/projects and if you are in Data Science and/or analytic positions knowing SQL not only doesn’t do any harm, but…

Continue reading

The shepherd who cried wolf!

Posted on January 12, 2024 by mabouali

How do you understand mathematics? I like to connect them to real world situations, real applications, physics, even stories. This helps me not just learning how to use mathematical techniques, but understanding them. Once an undergrad student who was working on classifying some aerial imagery reached out to me for some help. He wanted to…

Continue reading

Solving System of Linear Equations

Posted on December 27, 2023January 27, 2024 by mabouali

The problem This post is inspired by a mathematic problem posted in Mathematical Olympiads group on LinkedIn here. It is rather a simple question. Consider the image below: The question is, find $ x $! Of course, instead of “here it is!”, we are interested in the numeric value of $ x $. Other than…

Continue reading
  • Previous
  • 1
  • 2

Search Posts

Latest Posts

  • Queen or Not-Queen, That’s The Question
  • Zipping
  • Mini-Sudoko
  • Let’s Tango!
  • Time To Empty

Categories

  • Constraint Programming
  • Fluid Mechanics
  • Fundamentals
  • Linear Algebra
  • Mathematics
  • Memories
  • opinion
  • Optimization
  • Optimization
  • OR-Tools
  • Physics
  • Piecewise-Linear
  • Programming
  • Python
  • Python
  • SQL
  • Stories
  • Tools
  • Uncategorized

Archive

  • December 2025
  • November 2025
  • October 2025
  • September 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
© 2026 Moe’s Homepage | Powered by Minimalist Blog WordPress Theme