Best of The New Stack2024

  1. 1
    Article
    Avatar of newstackThe New Stack·1y

    5 JavaScript Libraries You Should Say Goodbye to in 2025

    As JavaScript continues to evolve, some older libraries like jQuery, Moment.js, Lodash, Underscore, and RequireJS are becoming obsolete. Modern frameworks, native JavaScript features, and better alternatives such as ES6+ syntax, date-fns, and modern bundlers can significantly improve performance, reduce bundle sizes, and make your code more maintainable. It’s time to update your projects and embrace these newer technologies by 2025.

  2. 2
    Article
    Avatar of newstackThe New Stack·2y

    5 JavaScript Security Best Practices for 2024

    JavaScript applications face numerous cyber threats in 2024, including cross-site scripting (XSS), man-in-the-middle (MitM) attacks, and denial of service (DoS) attacks. Key security best practices include securing APIs, implementing Content Security Policies (CSP), input sanitization, and performing regular security audits. Tools like Snyk, ZAP by OWASP, and the Cypress Testing Framework are essential for maintaining robust security in JavaScript development.

  3. 3
    Article
    Avatar of newstackThe New Stack·2y

    Learning Linux? Start Here

    Learning Linux has never been easier, thanks to numerous resources and user-friendly distributions. The key areas to focus on include mastering the command line, learning access control methods, managing hardware and services, selecting and deploying a distribution, system maintenance, and configuring networking. Hands-on experience with virtual machines and using tools like Vim, Nano, systemctl, and ssh is essential. Efficient user and permission management, along with understanding package managers and firewalls, are crucial skills for Linux administration. Start with a structured learning plan to become proficient in this versatile operating system.

  4. 4
    Article
    Avatar of newstackThe New Stack·2y

    How To Master JavaScript Performance Optimization

    JavaScript optimization is crucial for ensuring fast and responsive web applications. Techniques include measuring performance with tools like Chrome DevTools, implementing code splitting using dynamic imports and webpack, using lazy loading to defer nonessential resources, and leveraging web workers for heavy computations. Additional methods like minifying code, asynchronous loading, and using CDNs further enhance performance. Adopting these practices helps meet user expectations and improve overall user experience.

  5. 5
    Article
    Avatar of newstackThe New Stack·2y

    Top 5 Underutilized JavaScript Features

    Explore underutilized JavaScript features such as hooks for detecting malicious websites, generating reports in Node.js, controlling execution flow with generators, improving date management with Temporal, and creating reusable code with high-order functions.

  6. 6
    Article
    Avatar of newstackThe New Stack·2y

    The 5 Worst Anti-Patterns in API Management

    API management poses unique challenges, especially when scaling services across different developer teams. Key anti-patterns to avoid include centralizing too many responsibilities, choosing over-complicated solutions prematurely, neglecting fully infrastructure-as-code practices, inconsistent versioning, and poor dependency management. Following best practices for API governance, gradual implementation, consistent versioning, and meticulous dependency management can ensure more predictable, reliable, and efficient operations.

  7. 7
    Article
    Avatar of newstackThe New Stack·2y

    Most Dangerous JavaScript Vulnerabilities To Watch For in 2025

    JavaScript remains a top programming language but is vulnerable to various security threats. These include advanced XSS attacks, CSRF, server-side JS injection, formjacking, prototype pollution, IDOR, and supply chain attacks. To mitigate these risks, developers need to implement secure coding practices, including correct input validation, use of security tokens, and regular integrity checks.

  8. 8
    Article
    Avatar of newstackThe New Stack·2y

    SysLinuxOS, A Linux Distro for System Administrators

    SysLinuxOS is a Debian-based Linux distribution tailored for system integrators and administrators. It boasts a variety of pre-installed networking and system tools, supporting multiple languages and offering GNOME or MATE desktops. Developed by Milan-based Franco Conidi, SysLinuxOS aims to provide a robust, feature-rich OS with enhanced security and monitoring tools. Notable inclusions are advanced firewalls, network analysis tools, and monitoring solutions like Nagios4 and Zabbix. SysLinuxOS is designed to work out of the box, offering extensive hardware support and a wide range of software for various administrative tasks.

  9. 9
    Article
    Avatar of newstackThe New Stack·2y

    Need To Know Git? Start Here

    Git is a widely-used revision control system created by Linus Torvalds in 2005. It helps manage changes to files and projects by tracking commits, branches, and merges, and supports both local and remote repositories for efficient collaboration. Despite its complexity, understanding key terms and workflows like pulls, pushes, and branches can make Git an invaluable tool for developers and even non-developers. Git is available for Linux, macOS, and Windows, and while command-line usage is common, GUIs are also available.

  10. 10
    Article
    Avatar of newstackThe New Stack·2y

    Netflix Open Sources Maestro, a Next-Gen Data Workflow Engine

    Netflix has released Maestro, an open-source workflow orchestrator under an Apache 2.0 license. Designed for scalability and extensibility, Maestro supports hundreds of thousands of workflows and millions of jobs daily. It integrates with various open-source technologies and handles tasks such as retries, queuing, and task distribution. Originally announced in 2022, Maestro was developed to address performance limitations of Netflix's previous system, Meson, and is optimized for large-scale data workflows in various formats.

  11. 11
    Article
    Avatar of newstackThe New Stack·2y

    13 Practical Updates to Optimize Website Performance

    Gcore.com enhanced website performance, security, SEO, and accessibility through a series of strategic updates. Implemented improvements include SSO authentication for streamlined access, WAF and bot protection to reduce security breaches, Gcore DDoS protection to achieve 99.99% uptime, and automatic pod scaling to improve stability. SEO initiatives like structured data markup, special HTML tags for lists, and image optimization significantly boosted search rankings and organic traffic. Accessibility advancements were made via color scheme adjustments, font-size changes, and better alt texts. These efforts resulted in improved user engagement, SEO metrics, and overall website performance.

  12. 12
    Article
    Avatar of newstackThe New Stack·1y

    Rhino Linux Is One of the Most Innovative Linux Distros

    Rhino Linux is an innovative distribution based on Ubuntu, featuring a rolling release model for continuous updates. It includes Ulauncher for efficient searching and application launching, and offers support for various universal package managers like Flatpak and Snap. Additionally, it utilizes Pacstall, similar to Arch's Pacman, for managing packages from the AUR. The Xfce-based desktop, called Unicorn, combines modern looks with the traditional speed and customization of Xfce.

  13. 13
    Article
    Avatar of newstackThe New Stack·2y

    Learn the Go Programming Language: Start Here

    The Go programming language (aka Golang) is a versatile and fast compiled language used for various applications. It has simplicity, concurrency, fast compilation, built-in testing, and eliminates the distinction between synchronous and asynchronous code. Installing Go on Ubuntu Linux is possible using Snap or apt. The first Go application is a 'Hello, World' program.

  14. 14
    Article
    Avatar of newstackThe New Stack·1y

    Elasticsearch Was Great, But Vector Databases Are the Future

    Keyword matching, represented by Elasticsearch, has been the standard for information retrieval systems. However, as AI-powered semantic search technology advances, vector databases are becoming central to a new era of search. Combining both approaches, hybrid search uses a mix of vector and traditional search methods, balancing semantic relevance with exact keyword matching. Milvus is highlighted as a vector database offering efficiencies and performance improvements over Elasticsearch, particularly in handling dense and sparse vectors. This unified approach simplifies infrastructure and enhances search capabilities, making vector databases a promising solution for future advanced search needs.

  15. 15
    Article
    Avatar of newstackThe New Stack·2y

    My 5 Favorite Command Line Tools

    Discover five essential command-line tools to boost your productivity: SDKMAN for managing multiple SDKs, eza for an enhanced ls experience, ffmpeg for comprehensive audio and video processing, pueue for managing long-running tasks, and find for efficient file searching and processing. Learn how to install and use each tool with practical examples.

  16. 16
    Article
    Avatar of newstackThe New Stack·2y

    What Is OpenTelemetry? The Ultimate Guide

    OpenTelemetry is a vendor-neutral, standardized approach to capturing observability data like metrics, logs, and traces. It allows integration of various observability tools into a unified system, providing a consistent framework for capturing and analyzing telemetry data. Key components include the API/SDKs, automatic instrumentation agents, and the widely used OpenTelemetry Collector. Fundamental to observability are the golden signals: latency, traffic, errors, and saturation, which are essential for effective system performance analysis. OpenTelemetry's future development aims to enhance client-side instrumentation and extend its capabilities across diverse platforms.

  17. 17
    Article
    Avatar of newstackThe New Stack·2y

    Vercel Makes Changes to Next.js To Simplify Self-Hosting

    Vercel has made significant updates to Next.js to simplify self-hosting. This includes new documentation and video resources explaining self-hosting steps, improvements to the cache API with the introduction of 'use cache', and replacing the WebAssembly-based image optimization library with Sharp. These changes aim to make Next.js more efficient and easier to configure, ultimately enhancing developers' ability to self-host applications.

  18. 18
    Article
    Avatar of newstackThe New Stack·2y

    Frontend Strategies: Frameworks or Pure JavaScript?

    Frontend frameworks in JavaScript provide essential features for modern web development, such as data binding, routing, and modular code organization. They offer benefits like simplified syntax, reusable components, a rich ecosystem of libraries, and efficient rendering through virtual DOM. Frameworks also support advanced strategies like code splitting and lazy loading, making them suitable for projects of all sizes. Despite these advantages, simpler projects may not require a framework and can be built using pure JavaScript.

  19. 19
    Article
    Avatar of newstackThe New Stack·2y

    Why PHP Usage Has Declined by 40% in Just Over 2 Years

    PHP usage has declined by 40% in just over 2 years, with WordPress moving away from PHP and into JavaScript being a major reason for the decline. The PHP Foundation has been formed to address PHP's public image and continue active development.

  20. 20
    Article
    Avatar of newstackThe New Stack·1y

    Mastering Progressive Hydration for Enhanced Web Performance

    Progressive hydration is a technique to enhance web application performance by gradually loading interactive components. It improves user experience, particularly in large applications, by prioritizing essential parts for immediate interaction and deferring non-critical elements. Unlike lazy loading, which delays resource loading, progressive hydration focuses on a specialized hydration process after server-side rendering. This approach optimizes key performance metrics and ensures a responsive interface. The post provides detailed steps for implementing progressive hydration in a React app and suggests using performance monitoring tools for evaluation.

  21. 21
    Article
    Avatar of newstackThe New Stack·1y

    5 Technical Trends To Help Web Developers Stand Out in 2025

    Stay ahead in web development by leveraging Vanilla JavaScript's simplicity, showcasing skills with Three.js for interactive resumes, enhancing security knowledge, using local AI coding assistants for better privacy and customization, and integrating no-code and low-code tools to accelerate development and expand digital creation. Embrace these trends to stand out and stay nimble in the evolving web development landscape.

  22. 22
    Article
    Avatar of newstackThe New Stack·2y

    Top 5 Cutting-Edge JavaScript Techniques

    Explore five cutting-edge JavaScript techniques that can help developers create more effective and user-friendly web applications. Topics include monads, declarative programming, server-side caching, immutability, and pattern matching.

  23. 23
    Article
    Avatar of newstackThe New Stack·2y

    Golang Pub/Sub: Why It’s Better When Combined With GoFr

    Modern systems require reliable, scalable, and real-time communication, often achieved using pub/sub (publish-subscribe) architectures. Golang, with its simplicity and efficiency, combined with the GoFr framework, offers an optimal solution for building these systems. GoFr simplifies pub/sub setups by abstracting boilerplate code, supporting multiple message brokers, providing built-in monitoring and security, and optimizing for IoT with MQTT. This makes it ideal for high-throughput, low-latency communication necessary for IoT and other real-time applications.

  24. 24
    Article
    Avatar of newstackThe New Stack·2y

    7 Technical Updates to Boost Website Performance

    Learn how to boost website performance with 7 technical updates, including lazy loading, DOM size reduction, caching strategies, font loading optimization, image size management, and blog architecture restructuring.

  25. 25
    Article
    Avatar of newstackThe New Stack·2y

    Golang 1.22 Redefines the For Loop for Easier Concurrency

    Golang 1.22 introduces changes to the for loop for easier concurrency, including improved variable scoping and the ability to range over integers. It also previews a feature that allows users to range over functions as iterators.