Skip to content

Moe’s Homepage

Knows how to provide Solution

Menu
  • Home
  • About
    • About Me
Menu

Category: Programming

Zipping

Posted on November 28, 2025December 8, 2025 by mabouali

No! This is not a post about file compression algorithm called zip. Yes! this is about solving another LinkedIn puzzle called Zip. What is Zip Puzzle? It is a nice puzzle. You are given a board, usually 6×6. Certain cells on the board are numbered. You need to trace a path on the board. The…

Continue reading

Mini-Sudoko

Posted on November 18, 2025November 18, 2025 by mabouali

We Tango in this post. Now it’s time to continue having fun with optimization and solve some mini-sudoku. What is mini-sudoku? Well, it is Sudoku; but, emm, well, mini. Instead of having 3×3 blocks of 3×3, it has 3×2 blocks of 2×3. Now instead of assigning an integer from 1 to 9, you are assigning…

Continue reading

Let’s Tango!

Posted on November 16, 2025November 16, 2025 by mabouali

I know it’s a cheesy title for a nerdy stuff. Anyway, I am not sure how long is LinkedIn doing it, but I started to get some messages on LinkedIn challenging me to solve some puzzles. I have to admit, I love them. In this post we are going to focus on one of the…

Continue reading

Are you “Failing Fast” properly?

Posted on November 9, 2025November 9, 2025 by mabouali

What is “Failing Fast”? You may have heard about “Failing Fast” before! Well, it simply means exactly what you are reading. If you have to fail in something, you better fail fast, so you can correct your path. In different fields, “Failing Fast” will take a different cosmetic form; but, the concepts stays the same….

Continue reading

Migrating To Python From Java

Posted on November 9, 2025November 9, 2025 by mabouali

I have always said that: if you know how to program, you can code in any language. Well, while I still stay by the above statement, I want to add something to it though. Yes, you can absolutely code in any language, but make sure that you learn about the peculiarity of each coding language….

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

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