Skip to main content

Blog

Mongodb Query Profiler

·418 words·2 mins
Some months ago, I was creating a web page to show some aggregated data, but I soon noticed the API used to retrieve the data was very slow. After investigating the possible issue, we discovered the bottleneck: the database. The solution was to restructure the data to make it consumable from a web page. Although I had sometimes used the SQL Server profiler, I had no experience with the MongoDB profiler, so here are the steps involved in analysing a MongoDB query.

Security Headers on Static Websites

·604 words·3 mins
When I started this blog, I evaluated many options: blogging platform vs static-generated website self-hosted vs hosted solutions costs and many more. I ended up trying to build something very simple, consisting of a static website hosted on GitHub Pages. With this solution, I have been able to cut the cost of any hosting solution, since, being a dev, I am quite comfortable writing in a text editor. But soon some problems arose.

Browser Extension Development

·403 words·2 mins
Web extensions or browser plugins can be used to improve browser functionalities. The following examples summarize the different goals they can have: no-script - to block script served from not-trusted domains ublock Origin - it is “a wide-spectrum blocker” dark-mode - it changes the appearance of web pages React Developer Tools - to inspect react-specific properties of a page that makes use of React. Anatomy of an extension # The main components of a browser extension are:

Let's Test

·980 words·5 mins
Preamble # This article is not intended to cover the whole testing process due to its vastness. Having a glance at its Wikipedia page could give an idea of it. I am going to cover only the tip of the iceberg, but it is important to remember that bugs cannot be entirely eliminated from software — instead, they must be discovered as soon as possible.

Getting Started With My Website :-)

·394 words·2 mins
Here in this post, I am going to explain why I am starting to write something on the internet and what I am going to share. I am well aware that there are many sites today describing almost everything, but these are some of the reasons that drive me at this point: to improve my language skills; to improve my online presence; to receive feedback (feedback is the key to growing); to share what I do (and how — I am also going to list some of my biggest mistakes). And what about the content?