HELLO EVERYONE!!! It is April 26th, 2024 and you are reading Codeminer42’s tech news report. This week we have a lot of content, let’s check out what the tech world showed us this week!
React 19 Beta – by The React Team
EXTRA EXTRA!! React 19 Beta is out! With amazing new features such as Actions, useActionState
, useFormStatus
, useOptimistic
, and the use
API. Also, the new version contains improvements including ref
as a prop, better error reporting, support for custom elements, and enhanced support for stylesheets, async scripts, and preloading resources. Check out this new React version, it is a game changer.
Node.js 22 Available Now – by OpenJS Foundation
Node.js 22 is between us! With features such as require()ing ESM graphs, WebSocket client, and updates to the V8 JavaScript engine. The post mentions that Node.js 22 will replace Node.js 21 as the current release for the next 6 months.
Ruby might be faster than you think – by John Hawthorn
The author presents a project that allows writing and running Crystal methods within a Ruby file. They compare the performance of the Crystalized version with the pure Ruby version using benchmark runs. They discover that the Ruby implementation has a mistake that causes unnecessary work. By making some minor tweaks to the Ruby code, they can improve its performance and make it nearly on par with the Crystal version!
Should You Use Ruby on Rails or Hanami? – by Aestimo Kirina
This interesting article compares Ruby on Rails and Hanami frameworks in terms of features, architecture, performance, and more. It discusses the strengths and weaknesses of each framework, its ecosystem and community, learning curve, performance, testing, and deployment. As always in the software development world, the choice between the two frameworks, tools, libs, or whatever depends on the project’s specific needs.
JDK 23: The new features in Java 23 – by Paul Krill
JDK 23, the next version of standard Java, is set to be released in September and will include previews of stream collectors, a class-file API, and primitive types in patterns. Other features planned for JDK 23 include the default mode of the Z Garbage Collector, a vector API, and enhancements to the stream API.
Deep Diving Into the Erlang Scheduler – by Sapan Diwakar
The article talks about the Erlang scheduler, which efficiently manages lightweight processes in Erlang to support fault tolerance and high concurrency. It explains how the scheduler works internally, the concept of reductions, process priorities, running on multiple cores, and performance optimization. The scheduler plays a crucial role in Erlang’s architecture, enabling developers to build resilient and highly concurrent systems.
What is Biophilic Design? How to Reconnect with Nature through Web Design – by Jaja Ibifubara David
This peculiar article talks about the concept of biophilic design, which aims to reconnect people with nature through various design elements. It explains the history and benefits of biophilic design, as well as the negative effects of being disconnected from nature. The text also provides examples of how biophilic elements can be incorporated into web design to create a more engaging and soothing user experience.
Popover API lands in Baseline – by Una Kravets
The Popover API has been added to Baseline 2024 and is now available in all major browsers. It allows developers to create layered interfaces such as tooltips and menus. There are different types of popovers, including auto and manual, which have different behaviors. We can compare popovers to modal dialogs.
HTML attributes vs DOM properties – by Jake Archibald
Jake discusses the differences between HTML attributes and DOM properties, highlighting how they can have different values and behaviors. It also explains how frameworks handle these differences and provides examples from Preact, VueJS, React, and Lit-HTML. He shares his opinions on how attributes should be used for configuration and properties for state. He also touches on how React will change its approach to custom elements in version 19.
5 ways to use JavaScript promises – by Matthew Tyson
The article talks about the importance of JavaScript promises in handling asynchronous code. It explains how promises work, how to handle errors and different ways to use promises. It also mentions the upcoming Promise.withResolvers()
method and wrapping up by emphasizing the significance of promises in the JavaScript world.
Why enterprise AI projects are moving too slowly – by Brad Micklea
Our friend Brad discusses the challenges faced in enterprise AI projects, particularly in transitioning from development to production. It highlights the friction between different teams involved in the process and the lack of standard mechanisms for packaging and sharing AI assets. The author also emphasizes the importance of integrating data science and operations teams to improve project success and efficiency.
Deep Dive into Functional Programming in Javascript – by Alex Merced
This other very recommended article talks about various concepts related to functional programming in JavaScript, but that can be applied to other languages such as Elixir and Haskell, such as pure functions, immutability, currying, memoization, and monads. It explains each concept, provides examples, and discusses their benefits and potential drawbacks. The author emphasizes how these concepts can work together to create more reliable, efficient, and clean applications.
How Feature Flags and Role-Based Access Control Can Help Secure Your DevOps Process – by Kayode Adeniyi
The author’s article discusses the importance of Role-Based Access Control (RBAC) in DevOps, particularly in managing security and compliance in the rapid development and deployment of software. It explains how RBAC can help secure DevOps processes, especially in managing feature flagging. The article also provides a tutorial on understanding RBAC, creating roles, assigning permissions, and a use-case scenario to illustrate the benefits of RBAC in managing permissions and avoiding incidents in production.
C isn’t a Hangover; Rust isn’t a Hangover Cure – by John Viega
Our friend Jonh Viega highlights the importance of addressing security issues in programming languages like C/C++. While it suggests that abandoning these languages for new projects would be beneficial, it also acknowledges the challenges and risks associated with replacing existing C code. He argues that while Rust may be safer than C, it is not a guaranteed solution due to hidden complexities. It also mentions that the choice of programming language involves intricate economic considerations, and suggests that languages like Go may be a better alternative to both C and Rust. This reading is worth it!
5 Hidden CSS Properties You Didn’t Know Existed – by Vitaliy Prymak
This post lists five hidden and useful CSS properties that can enhance your web development projects.
–
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!