Codeminer42 Dev Weekly #38

HELLO EVERYONE!!! It’s November 22nd 2024 and you are reading the 38th edition of the Codeminer42’s tech news report. Let’s check out what the tech world showed us this week!

David Heinemeier Hansson (DHH) joins Shopify’s board: 20 years in the making – by Shopify

David Heinemeier Hansson, known as "DHH", has joined Shopify’s board of directors. He is the founder of Ruby on Rails, which is integral to Shopify’s technology. DHH’s appointment aligns with Shopify’s mission to inspire entrepreneurship, as both engineering and entrepreneurship involve overcoming challenges to create impactful work. Shopify and Rails share a commitment to empowering individuals through their tools.

From Buffering to Breakdown: What Went Wrong with Netflix’s Tyson vs. Jake Paul Live Stream? – by Aman Saxena

Netflix faced technical issues during its live stream of the Tyson vs. Jake Paul boxing match in November 2024, compared to Hotstar’s successful handling of millions of concurrent viewers. Netflix’s infrastructure struggled with real-time demands, leading to high latency and overloaded servers.

Understanding Modern Development Frameworks: A Guide for Developers and Technical Decision-makers – by Jesse Hall

Jesse Hall’s guide on modern development frameworks emphasizes the importance of selecting the right one for application building. The guide categorizes frameworks into application, AI, web, CSS/UI, and testing/infrastructure. The guide highlights common pitfalls and provides a comprehensive overview of various frameworks, their functionalities, and examples of their applications.

Inheritance with Stimulus Controller – by Rails Designer

The article show us the beauty of using Stimulus for creating small, focused controllers rather than large, monolithic ones. This approach allows for better organization and modularity, with the option to use outlets for communication between controllers. When overlapping logic is needed, the author suggests either extracting the logic into separate importable functions or using inheritance to share logic between controllers.

Dependency inversion in architectural patterns – by Denys Poltorak

Dependency inversion is a crucial aspect of architectural patterns. It is used in core patterns like Plugins and Hexagonal Architecture to protect the core from external variability. Plugins allow external developers to contribute customizable code, while hexagonal architecture decouples the core from external libraries or services. Check it out!

The plan to break apart Google… RIP Chrome – by Fireship

Our friend Jeff Delaney in his newsest video, explain us how Google, a search engine giant, has been added to the Monopoly offenders list after violating the Sherman Act. Despite paying $20 billion annually to maintain its dominance, Google has invested heavily in improving web browsers, including Chromium. The Department of Justice is pushing for Chrome to be sold or split off, potentially worth $20 billion. If alternative search engines gain traction, Google’s 90% market dominance could decline.

Avoiding False Positives in Node.js Tests – Greg Gorlen

This recommend article discusses the deceptive comfort of seeing passing tests in a test suite, which can create a false sense of security. Despite the satisfaction of successful tests, bugs may still exist, undermining the reliability of the test suite and the application itself. False positive tests can lead to significant issues, often remaining undetected for months until a customer raises a complaint. The post aims to highlight common patterns of false positives that can occur in test suites, emphasizing that these issues can arise even in complex, real-world scenarios.

Build a Real-Time Multiplayer Tic-Tac-Toe Game Using WebSockets and Microservices – by Birks Sachdev

Birks Sachdev’s tutorial teaches creating a real-time multiplayer Tic-Tac-Toe game using Node.js, Socket.IO, and Redis. It covers real-time communication, state synchronization, and a scalable WebSocket server architecture. The tutorial includes setting up the development environment, implementing the server, creating a React frontend, and deploying the application.

How Uber Sped Up SQL-based Data Analytics with Presto and Express Queries – by Sergio De Simone

Uber engineers used the Presto tool to improve data analytics performance by optimizing "express queries" and implementing a dedicated queue system. They are now exploring further enhancements to streamline express query handling for greater efficiency. Check it out!

Privileged Accounts, Hidden Threats: Why Privileged Access Security Must Be a Top Priority – by The Hacker News

The article emphasizes the need for organizations to prioritize privileged access security to combat evolving cyber threats. It suggests a proactive approach, including continuous monitoring, real-time threat response, and robust security controls like Multi-Factor Authentication, to protect critical assets against modern threats.

How Computers Generate Random Numbers – by Duy Huynh

Duy Huynh’s useful article discusses how computers generate pseudorandom numbers using Pseudorandom Number Generators (PRNGs). The article introduces the Linear Congruential Generator (LCG) and Mersenne Twister, two more sophisticated PRNGs used in Python. It covers practical uses of random numbers, such as uniform distributions, Monte Carlo simulations, and machine learning. It also emphasizes the importance of true randomness in security contexts.

CSS just changed forever… plus 7 new features you don’t know about – by Fireship

The Fireship video from this week talks about recent CSS updates, including a new logo in "Rebecca purple", which symbolizes a fresh start. Key features include math functions, light/dark mode management, user valid/invalid pseudo classes, and more. The logo’s color, named after Eric Meyer’s daughter, Rebecca, honors her memory and ensures a fresh start for CSS.

Rack for Ruby: Socket Hijacking – by Ayush Newatia

This useful article explores managing persistent connections through Rack to facilitate pathways like WebSockets. It introduces Falcon, a Rack-compliant web server using Ruby Fibers for better concurrency without blocking, emphasizing the importance of understanding these techniques for practical web development.

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!