Codeminer42 Dev Weekly #18

HELLO EVERYONE!!! It’s July 5th, 2024 and you are reading the 18th weekly edition of the Codeminer42 tech news report. Let’s check out what the tech world showed us this week!

Twilio’s Authy App Breach Exposes Millions of Phone Numbers – by The Hacker News

Twilio’s Authy app experienced a breach that exposed millions of phone numbers. The company has taken steps to secure the endpoint and recommends that users upgrade their apps to the latest version. They have not found evidence that the threat actors obtained access to sensitive data, but are cautioning users to be aware of potential phishing and smishing attacks. Be careful!

Brazil Halts Meta’s AI Data Processing Amid Privacy Concerns – by The Hacker News

EXTRA EXTRA!!! Brazil’s data protection authority bans Meta from processing personal data for AI training, citing privacy concerns. Meta has 5 days to comply or face fines—similar pushback in the EU.

Memoization in Javascript Explained – by Joan Ayebola

She’s featured in our Dev Weekly again. This girl is a writing machine! Our friend Joan Ayebola explains memoization in JavaScript, an optimization technique that stores the results of function calls based on their inputs to improve performance. The article discusses the benefits when to use memoization and best practices. Joan highlights the power of memoization in enhancing performance in JavaScript applications. It is worth mentioning that this is an optimization technique that can be applied no matter what language you are using, so try to apply this technique in your favorite language, like Assembly 🙃.

Check out another good and useful techniques in this article: Optimizing Javascript for fun and for profit.

React Custom Hooks vs. Helper Functions – When To Use Both – by Andrew Baisden

Our friend Andrew shows us the differences between React Custom Hooks and Helper Functions in web development. He provides examples of both types of functions and explains when to use each. Additionally, a simple and classic example of a Pokémon Pokédex application is built using both React Custom Hooks and Helper Functions to demonstrate their usage.

Introducing the MDN HTTP Observatory – by Hermina Condei

The MDN HTTP Observatory is a tool that tests website compliance with security best practices related to HTTP headers. Created by Mozilla, it has now been moved to MDN to reach a larger audience of web developers. The tool provides a report with an overall score and grade, along with links to documentation on how to improve security. The HTTP Observatory tests various security features such as secure cookie configuration, CORS, CSP, and more. Users are encouraged to try out the HTTP Observatory on MDN and provide feedback on their experience.

PostgreSQL BiDirectional Replication – by Emmanouil Gkatziouras

The author talks about bidirectional replication in PostgreSQL using the pglogical module. He explains the differences between logical decoding and pglogical, provides instructions on setting up bidirectional replication, and demonstrates conflict resolution.

React 19 Actions – How to Simplify Form Submission and Loading States – by Shruti Kapoor

React 19 introduces Actions, which are asynchronous functions that simplify form submissions. The tutorial explains how to use Actions, along with new hooks like useActionState and useFormStatus. Actions can be used to submit forms directly, improving the user experience during form submissions. By utilizing these features, developers can easily manage form states, capture submitted data, and provide responsive feedback to users.

Object Storage (BLOBs) Explained for System Design – by Hayk Simonyan

Object storage, also known as blob storage, is designed to handle large amounts of unstructured data and is commonly used in cloud computing. It is used by services such as Amazon S3, Google Cloud Storage, and Azure Blob Storage. Check out this very recommended article!

Rust has a HUGE supply chain security problem – by Sylvain

Our friend Sylvain talks about the stagnation of Rust adoption due to a lack of focus on practical problem-solving for developers. It highlights the importance of features like an official HTTP library for companies to trust Rust for their projects. He argues that Rust is a versatile language suitable for building web services and other applications, emphasizing the need for a more secure approach to package management to prevent supply chain attacks.

MVP Game Development With Flutter and Flame – by Leobit LLC

This very interesting article talks about the importance of MVP (minimum viable product) in increasing the profitability of startups, particularly in the gaming industry. It explores the use of Flutter and Flame for rapid game MVP development, highlighting their features and benefits. The article provides a step-by-step guide on creating a game MVP using Flutter and Flame, including implementing gameplay elements. Check it out and try to implement your own Mario Bros or Mega Man game!

Why and how you should rate-limit your API – by SystemGlitch

This blog post talks about the importance of rate limiting in managing traffic to a new product or service. It explains the concept of rate limiting, its benefits, drawbacks, and different policies that can be used. Additionally, it explains how to set up rate limiting at both the proxy and application levels.

Media Queries vs Container Queries – Which Should You Use and When? – by Ophy Boamah

Our friend Boamah talks about the differences between media queries and container queries in CSS. Media queries are based on viewport size, while container queries are based on the size of the container element. The decision on which to use depends on understanding, project requirements, and future trends. It is recommended to use both together for optimal responsiveness.

And that’s all for this week! Wish you all a great weekend and happy coding!

We want to work with you. Check out our "What We Do" section!