Mohamed Elashri

Moments

Quick thoughts and fleeting observations.

Mohamed Elashri

@melashri

So I think this should be done at the end of the development process, not at the beginning. It is very time consuming and it takes time away from focusing on the physics we have. I'm devoted to make it more simple and easy to understand. So I will write some few tests to test the modular analysis not the physics or the statistics.

Revisiting

Wow, so I ended up with a pretty extensive set of unit tests for my physics analysis code. The main goal was to ensure that every step of the analysis is reproducible and verifiable, not just in terms of physics results but also in terms of code correctness. I have about 320 tests now, covering various aspects of the analysis. But I will probably refine them further as I go along.

View original →

Mohamed Elashri

@melashri

Most of my interactions with people making claims is that they make their feelings about a subject the core of their argument. They will say things like "most people think that...". When I ask them how they know this, they often respond with anecdotes rather than concrete data. This reliance makes it difficult to have meaningful discussions about topics that require statistical evidence.

Mohamed Elashri

@melashri

On HN today, someone claimed to have found a hidden microphone in a KVM switch from a chinese vendor. The article is full of fear-mongering and sensationalism and it just illustration of xenophobia. It is listed in the specs because of the SoC it uses. And it even complains about the non-existence of systemd and apt. It just shows that this person has not done any embedded development.

Mohamed Elashri

@melashri

There is macOS as both it and Linux are based on unix. The unix philosophy is probably taken differently in macOS and Linux. And they are very far but in terms of development they are much better than windows. I think I should maybe migrate to something other than popOS as Linux distibution. I just want to try to migrate to Fedora world and leave Debian world for my Desk machine.

Replying to

The best way to debloat Windows is to switch to Linux and never look back. But if you are stuck with Windows, try WSL2. You can install your favorite Linux distribution and use it as if you were running it natively. This way, you can avoid the bloatware that comes with Windows and have a more streamlined experience. But really, just switch to Linux.

View original →

Mohamed Elashri

@melashri

The hosting provider I'm using is offering a very good deals on servers right now, so I took the opportunity to migrate my last VPS with the horrible Contabo. I mainly use docker as a way to manage my services, so the migration was fairly straightforward. There were some minor issues here and there, but overall it went smoothly. Now I can say goodbye to Contabo and their terrible service.

Mohamed Elashri

@melashri

I will never use what is called Agenic Browsers for the Web. I don't like the idea of having a browser that is not open source and not controlled by me. I don't want LLM agent access to my browsing history, bookmarks, and other personal data. So no ChatGPT Atlas, Dia, OperaNeon and Comet. I did not install any of them and I will not. I even don't use Chrome or any Chromium-based browsers.

Mohamed Elashri

@melashri

Recently, I discovered that one of my early projects, TeX to MathML stopped working. I don't use it much unless I'm writing LaTeX equations for my blog. That I didn't do for the last year. I am writing one now, so I had to fix it and done so. I also removed the dependency on mathjax and now using much better Temml library. It gives better performance and not very ugly output.

Mohamed Elashri

@melashri

Wow, so I ended up with a pretty extensive set of unit tests for my physics analysis code. The main goal was to ensure that every step of the analysis is reproducible and verifiable, not just in terms of physics results but also in terms of code correctness. I have about 320 tests now, covering various aspects of the analysis. But I will probably refine them further as I go along.

Mohamed Elashri

@melashri

I'm currently writing unit tests for my physics analysis code. The goal is not to only have a real reproducible analysis, but also to have a set of tests that can be run to ensure that every step of the analysis and modification down the road is correct. Not only physics but also the code itself.

Mohamed Elashri

@melashri

The best way to debloat Windows is to switch to Linux and never look back. But if you are stuck with Windows, try WSL2. You can install your favorite Linux distribution and use it as if you were running it natively. This way, you can avoid the bloatware that comes with Windows and have a more streamlined experience. But really, just switch to Linux.