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….
Author: mabouali
Migrating To Python From Java
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….
Complicated or Complex
I had a discussion today which I think it would be helpful to share here. I have posted about this before, but I think it is worth bringing the subject up again. Know the difference between complicated and complex! A complicated solution is never good. But a complex solution, well, it depends. It may be…
Face The challenges Heads On
Introduction In one of the job interviews, I was asked to answer a puzzling question. The question was simple; but yet intriguing and tricky. Here is the question: You are going to play two teams for three rounds in total. You can not play one team twice in a row. You need to alternate. and…
Miranda Warning On Social Media In The Age of AI
You have the right to not post on this platform. Anything that you post may be will be used in training LLM. You have the right to consult with LLM expert before posting here. If you cannot afford LLM expert, our platform provides a limited version of our full service for free. Our full service…
Bus-Factor
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…
It works! sometimes!
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…
To comment, or not to comment, that shouldn’t be even a question!
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…
Piecewise-Linear Functions: Part II
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…
Piecewise-Linear Functions: Part I
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…