Posts

Showing posts from February, 2025

How I Upgraded My Honor MagicBook 14 from 512GB to 2TB SSD

Image
Especially if you routinely work with big files or require extra space for programs, upgrading the storage of a laptop is one of the finest methods to boost its performance and usability. I recently changed my Honor MagicBook 14 from a 512GB SSD to a 2TB SSD, and I would want to let you know how I managed to finish the operation successfully. Step 1: Choosing the Right SSD I had to decide on the right kind of SSD for my laptop before I bought anything. Since the Honor MagicBook 14 features an M.2 2280 NVMe PCIe SSD, I made sure the replacement drive fit these criteria. Following extensive investigation, I decided on the Black SN770 2TB NVMe SSD from Western Digital (WD), which boasts exceptional speed and dependability. My old NVME SSD zoomed in. I had to be extra careful as the WD SSD didn’t have a return policy and it cost 11K INR! Why WD BLACK SN770? High Speed: PCIe 4.0 x4 (backward compatible with PCIe 3.0) Capacity: 2TB (a massive upgrade from 51...

How to Fix ‘429 Too Many Requests’ When Fetching Images From Google APIs In Java

Image
Sometimes requesting a large number of image resources to fast leads to a 429 error from Google Summary Excessive queries to any Google Cloud API may result in a 429 Too Many Queries error. This occurs due to Google’s imposition of rate limitations on API calls. In this article we are going to solve the problem of encountering 429 error when requesting images many times from the Google Cloud APIs or any Google service like Google Photos, Google Drive, etc. Resolution Establish a Retry Mechanism: Upon encountering a 429 error, pause and attempt the request again. Cache API Responses: Retain image URLs locally to prevent redundant API requests. Implement Exponential Backoff: Augment the interval between attempts. Step 1: Implement a Retry Mechanism Add the following methods to fetch and cache the images: private String CACHE_DIR = "/usr/local/storage"; //Or any other local path in your environment public String fetchAndCacheImage(Stri...

Compromised ecosystem of WordPress plugins

Image
Compromises and backdoors have been found even on plugins from the official wordpress.org marketplace These days the websites on the internet comprise a large number of WordPress websites; over 37% of the total websites on the internet are WordPress websites alone. This is a staggering number, as there are several web technologies that are available, but WordPress has become the choice of so many people. While this is good for standardization of content management systems and for developing standard practices for management of websites, it also makes WordPress websites a target for cyberattacks. One of the major routes through which attacks on WordPress websites take place is plugins. Plugins on WordPress can be installed from the WordPress marketplace or using zip files. The developers can also develop their own plugins and install them on the sites. The problem arises when a malicious agent modifies any established plugin in such a way that it allows the agent to access the ...