Best of The New StackNovember 2024

  1. 1
    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.

  2. 2
    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.

  3. 3
    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.

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

    How To Fail at Microservices

    Microservices can fail due to numerous reasons, such as delaying problem fixes, using shared databases, making services too small, relying on manual deployments, and focusing only on unit testing. Success requires automating deployments, using various testing techniques, improving local testing capabilities, creating robust tooling, fostering technical proficiency, simplifying complexity, and developing comprehensive documentation. Regular refactoring and a solid, adaptable architectural vision are also vital.

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

    Playgrounds for Developers: Uses and Design Patterns

    Code playgrounds are websites that let users run and modify small code examples, with the output visible on the same page. They are valuable for showcasing libraries, APIs, or platforms, and are often used in developer relations. While beneficial, playgrounds can require significant management and infrastructure. It’s important for developers to maintain clear policies on usage and versioning to ensure a good user experience. Examples from db-fiddle and Deno illustrate different approaches to implementing playgrounds.

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

    The Hidden Cost of Unused Code

    Unused code in applications can silently accumulate over time, leading to increased maintenance costs, slower development, larger deployment packages, and potential security risks. Regularly monitoring and removing unused code can help streamline development processes, improve performance, and reduce security vulnerabilities. Small, consistent actions in each sprint can manage and reduce unused code effectively.

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

    How Kubernetes Requests and Limits Really Work

    Kubernetes utilizes resource requests and limits to manage CPU and memory within a cluster. This process involves multiple layers, including pod specification, node status reporting, and pod scheduling. Each layer plays a crucial role in ensuring resource allocation and proper functioning of nodes. Understanding these mechanisms can help predict and debug issues with resource management in Kubernetes.

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

    The 10x Developer vs. AI: Will Tech’s Elite Coder Be Replaced?

    AI is revolutionizing the software development industry, challenging the dominance of elite '10x developers.' AI tools like Cosine's Genie are capable of complex coding tasks in minutes, dramatically altering productivity metrics and career paths for developers. In the future, high-performing engineers will need to master AI orchestration and integrate AI tools into their workflows. This shift requires rethinking team structure, skill sets, and career progression in the tech industry.

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

    Why Developers Should Give Next.js App Router Another Chance

    Next.js App Router, introduced as a stable feature for frontend development last year, has faced criticism for its complexities and early adoption issues. Vercel's VP of Engineering encourages developers to reconsider the App Router, highlighting significant improvements such as optimized caching defaults and backward compatibility with React 18. The integration between Next.js and React has been strengthened due to contributions from engineers who previously worked on the React Core team at Facebook. Next.js builds on React's fundamentals, providing additional features like data fetching and server-side rendering.

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

    Platform Engineering: A Workshop to Help Map Your Strategy

    Graziano Castro of Mia-Platform emphasizes the strategic importance of internal developer platforms (IDP) and introduces the Platform Journey Map workshop to align business and technology stakeholders. The workshop helps organizations identify their priorities, create an adoption strategy, and measure success through KPIs. It is designed to foster ongoing discussion and adaptation as the platform matures, integrating various elements such as infrastructure, data pipelines, governance, and API interfaces to enhance developer self-service capabilities.

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

    Best Open Source IDEs

    Integrated Development Environments (IDEs) are essential tools for developers, providing integrated tools for coding, debugging, and more. This post highlights four prominent open source IDEs: Visual Studio Code, VSCodium, Eclipse, and IntelliJ IDEA Community Edition. Each IDE's features and unique benefits, such as customizability, extensive plugin libraries, and support for various programming languages, are discussed to help developers choose the best one for their needs.

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

    Pop!_OS: One of the Best Linux Distros For Creators of All Types

    Pop!_OS is a Linux distribution developed by System76, known for its seamless integration with System76 hardware and strong performance. It is based on Ubuntu LTS and features a customized GNOME desktop. System76 is also developing a new desktop environment called COSMIC, bringing improvements like a better app store and new in-house applications. Pop!_OS is praised for its usability for creators, developers, and data scientists, and is recommended for new and experienced Linux users alike.

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

    Top 7 Tools for Building Multimodal AI Applications

    Multimodal AI leverages large language models to simultaneously process various data types like text, images, and videos. Key models include OpenAI's CLIP, Meta AI’s ImageBind, DeepMind’s Flamingo, OpenAI’s GPT-4o, Runway’s Gen2, Google’s Gemini, and Anthropic’s Claude 3. These models are applied in tasks ranging from image annotation and caption generation to creating promotional videos and processing long-form data.

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

    Tips and Tricks for Clean, Readable Python Code

    Learn essential tips and tricks to improve the readability and elegance of your Python code. This includes using *args and **kwargs for flexible function parameters, list comprehensions for concise list creation, the zip() function for iterating over multiple lists, merging dictionaries efficiently, chaining comparison operators to simplify conditionals, using ternary operators for inline conditional statements, and leveraging decorators for modifying functions without altering their source code. Enhance your coding practices and make your Python code cleaner and more maintainable.

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

    Cloud vs. On-Prem: Comparing Long-Term Costs

    The post compares the long-term costs of cloud vs. on-premises infrastructure, emphasizing that while the cloud offers convenience and flexibility, it may not be cost-effective for sustained use. It discusses scenarios where moving out of the cloud can save significant costs, especially for large-scale operations. The European Data Act’s impact on free data transfer from the cloud and various cost-saving strategies for on-prem setups are highlighted. It also touches on the advancements in hardware and open source software that make maintaining on-prem infrastructure easier.

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

    An Introduction To Developing From the Command Line in Linux

    Developing from the command line in Linux can be straightforward. Instead of relying on complex IDEs, you can use text editors like nano or vi, and compile code with tools like GCC. Programming languages like Python, C/C++, Go, Java, and Node.js can be easily installed from the standard repositories or via straightforward commands. For version control, Git can be managed entirely from the command line. Starting with simpler tools and progressing to more powerful ones as needed can make development efficient and scalable.

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

    Warp Is a Power User’s Dream Terminal for Linux

    Warp is a powerful terminal application for Linux and macOS, built with Rust for speed and featuring advanced AI capabilities. It offers Agent Mode for plain English command workflows, a customizable Warp Drive for saving and sharing notebooks and workflows, and a user-friendly design with modern IDE-like editing, Vim keybindings, and more. Available in free, Pro, Team, and Enterprise versions, it aims to enhance productivity for power users. Installation is straightforward for Ubuntu and Fedora-based distributions, and a version for Windows is coming soon.

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

    How K8s Eviction Works: Resource Management Gone Wrong

    Understanding Kubernetes resource management is key to ensuring stable operations. Kubernetes uses mechanisms like kubelet to monitor node pressure and evict pods that overuse resources. Correctly setting resource requests in pod specs is crucial to prevent container failures and ensure efficient resource distribution. Automation tools like StormForge can help streamline this process.

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

    WebAssembly Won’t Replace Docker Anytime Soon: Docker CTO

    Docker CTO Justin Cormack stated that WebAssembly is not a threat to Docker, as both technologies serve different purposes. WebAssembly excels in code isolation and componentization at a finer granularity, while Docker packages entire applications to ensure environment consistency. He highlighted the value of micro-isolation that WebAssembly offers, particularly for libraries. The post also mentions the new Docker AI catalog initiative to make integrating AI tools easier for developers.

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

    Netflix Engineers Rethink Mock Testing for GraphQL

    Netflix engineers are reevaluating mock testing strategies for GraphQL to enhance production reliability. Creating effective mocks for its complex infrastructure poses significant challenges. Traditional UI testing lacks comprehensiveness for distributed environments, while canary releases and integration testing offer more reliability. An ideal testing solution should realistically model all traffic without disrupting development workflows. Netflix's new approach leverages its DGS framework for customizable and user-friendly mock testing, although it's still in development. Collaboration and understanding diverse team needs are key to success.

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

    Upskilling Engineering Teams for the AI Era

    As AI integrates deeper into software development, it's crucial for engineering teams to upskill and adapt. Organizations need to prepare for new AI roles, invest in continuous learning, and foster a culture that embraces experimentation. Clear communication and alignment between leadership and teams are necessary to navigate the AI transformation successfully.