How to Recover Deleted Files with Linux using Sleuth Kit

I think that everyone has at least once delete a file that they shouldn’t have, either from a USB stick or from the recycle bin of their operating system, finding themselves in the unpleasant situation of no longer being able to undo the deletion. What not everyone knows is that this is an operation that… Continue reading How to Recover Deleted Files with Linux using Sleuth Kit

Magento 2.4.6 – Dynamic Properties are deprecated

The problem Dependency Injection (DI) is a core design pattern used extensively in Magento to manage class dependencies. In Magento, DI is implemented primarily through constructor injection, where dependencies are provided directly to class constructors rather than being instantiated within the class itself. There would be a lot of interesting things to say about this… Continue reading Magento 2.4.6 – Dynamic Properties are deprecated

Obfuscation and IOCCC

In modern web programming languages an important concept is minimization of code, where the source code undergoes to a series of transformations (variables and functions are renamed, spaces and new lines removed and so on) in order reduce its size, compromising maintainability and readability in favor of space (and so speed of the download and… Continue reading Obfuscation and IOCCC

Computing 1 million digits of Euler’s Number

With this thread I start a new mathematical and computational branch: the art of computing decimals of particular mathematical constants. The first one will be e, the Euler’s number, about 2.7182818284, which is the base of exponential function ex, the only function equal to its derivative. Its inverse is the natural logarithm ln x, or… Continue reading Computing 1 million digits of Euler’s Number

3D Video Webcam

In nature vertebrates evolved mainly with two different typologies of eyes: Evolution found also other solutions to the problem of perceive depth (like the “radar” of baths), but since usually humans are equipped only with eyes and since I don’t want to make you undergo complex surgeries to test the content of the article, I… Continue reading 3D Video Webcam

Magento 2 csvfile profiler – one request per file

Built-in functionality Magento 2 provides built-in profilers to help developers to solve performance issues. You can enabling the profiler just launching: This sets a semaphore file var/profiler.flag with the chosen profiler type. There are two out-of-the-box profilers: The profiler can track also methods interesting for your development using the functions: One request per file Unfortunately… Continue reading Magento 2 csvfile profiler – one request per file