News Nug |
---|
Native visionOS platform support Published: 2025-04-23 | Origin: Hacker News The feedback from the community is highly valued, and contributors are encouraged to engage with the maintainers on GitHub. A member of Apple's visionOS engineering team expresses eagerness to support the Godot engine by contributing visionOS capabilities. They have prepared an initial pull request (PR) to lay the groundwork for this support, adhering to Godot's coding standards and aiming to align their contributions with the project's goals. The team acknowledges that while they have divided their work into smaller PRs, some may |
Why TCP needs 3 handshakes Published: 2025-04-23 | Origin: /r/programming The content discusses the control bits and state machine of TCP, fundamental for understanding its three-way handshake process. TCP control bits manage the connection's status, indicating actions like establishment and termination. There are six main control bits, and since TCP is bidirectional, each side maintains its own sequence (Seq) field. The Seq numbers are dynamically generated to enhance security against attacks such as forged reset packets. TCP ensures ordered data transmission, requiring each segment to include a Seq number. The Seq number for the next |
Gem Permission Manifests: Enhancing Security in Ruby Ecosystem Published: 2025-04-23 | Origin: /r/ruby The proposal highlights the lack of transparency and explicit permission requests in the management of software libraries and gems, contrasting it with the Android Manifest permission system, which ensures users review permissions before app installation. It suggests that just as Android apps must declare their resource access, Ruby gems should also have a manifest system to define and limit permissions explicitly. This would enhance security awareness, improve access controls, and maintain developer experience. The proposal envisions a bundler-level manifest that specifies network permissions, such as allowed hosts and |
Projects for Old OS X Published: 2025-04-23 | Origin: Hacker News The content discusses a personal transition away from modern macOS, highlighting the author's nostalgic experience with OS X a decade prior, which has since diminished. The author explored alternative operating systems but found them unsatisfactory due to a desire for an ideal computing experience. Additionally, the text describes modifications made to various Apple widgets (weather, unit converter, translation) that became non-functional due to API issues, providing alternative solutions using different APIs. It also mentions tools for updating Chromium on older OS X versions, a modified |
CSS Hell Published: 2025-04-22 | Origin: Hacker News Please provide the content you would like me to summarize. |
Atuin Desktop: Runbooks That Run Published: 2025-04-22 | Origin: Hacker News Atuin Desktop combines the functionality of a document with the performance of a terminal, offering features like script blocks, embedded terminals, database clients, and Prometheus charts in one interface. Many teams struggle with outdated documentation and fragmented workflows, often relying on commands that only a few team members remember. Atuin CLI addressed part of this issue by providing synced, searchable shell history, but teams need more comprehensive solutions. Atuin Desktop aims to make workflows repeatable, shareable, and reliable, allowing users to |
MRuby 3.4.0 released Published: 2025-04-22 | Origin: /r/ruby The first stable release of the mruby 3.4 series, version 3.4.0, has been announced. This release includes new features and changes, which are detailed in the documentation. Key changes are highlighted in a specific file, and there are important notes regarding certain modifications. Since the previous version (3.3.0), there have been 1,188 commits across 354 files, resulting in 20,650 additions and 21,537 deletions. More details |
How long does it take to create a new habit? (2015) Published: 2025-04-22 | Origin: Hacker News Dr. Maltz, a plastic surgeon, made an observation regarding habit formation that was misinterpreted as a definitive fact. The widely cited idea that it takes 21 days to form a habit is misleading; instead, a study published in the European Journal of Social Psychology by Phillippa Lally and colleagues found that forming a new habit typically takes between 2 to 8 months, with an average of 66 days. The time required varies based on the habit, the individual, and their circumstances |
Sapphire: Rust based package manager for macOS (Homebrew replacement) Published: 2025-04-22 | Origin: Hacker News Sapphire is an experimental, Rust-based package manager for macOS that is currently in alpha development and may be unstable. Users are warned to use it at their own risk, as uninstalling and reinstalling packages may lead to different installation paths and settings not being migrated automatically. Sapphire is designed to manage ARM architecture packages primarily, with potential plans for x86 support in the future. It includes a core library for tasks like fetching and dependency resolution, as well as a command-line interface. Users need to |
Detecting if an expression is constant in C Published: 2025-04-22 | Origin: /r/programming The content discusses various methods to implement a macro in C that takes an expression as an argument while addressing challenges related to determining if an expression is constant. The solutions differ based on the C standard in use and the allowance of compiler extensions. 1. **C23 and Later**: You can use compound literals with `typeof` to store expressions, leveraging the requirement that static storage duration initializers be constant expressions, which helps ensure the expression is constant. 2. **GNU Extensions**: The `__ |
Bloom Filters: A Memory-Saving Solution for Set Membership Checks Published: 2025-04-22 | Origin: /r/programming The content discusses bloom filters, a space-efficient, probabilistic data structure used to check for set membership. Unlike traditional hashmaps, which store every user request, bloom filters can quickly determine if a user has likely visited a page before, using significantly less memory and eliminating false negatives. However, they may yield false positives, meaning they can indicate an element might be in the set even if it's not. The document will compare bloom filters to hashmaps, which utilize a hash function to store key-value pairs |
Apache Airflow 3.0 released Published: 2025-04-22 | Origin: /r/programming Apache Airflow 3.0.0 has officially been released, marking the most significant update in the project's history. Announced at the Airflow Summit in September 2024, this release comes after four years of incremental updates following version 2.0. The popularity of Airflow has surged, with over 30 million monthly downloads and 80,000 organizations now using it, up from 25,000 in 2020. Airflow 3.0 responds to an expanding range |
ClickHouse gets lazier and faster: Introducing lazy materialization Published: 2025-04-22 | Origin: Hacker News ClickHouse, a fast analytical database, has implemented a new optimization called lazy materialization, which enhances its query performance by delaying the reading of column data until it is actually needed. This approach significantly reduces unnecessary work and speeds up query execution, especially for Top N queries with LIMIT clauses, which are common in analytics. For instance, a specific ClickHouse query showcased a dramatic speed improvement from 219 seconds to just 139 milliseconds—achieving a 1,576× speedup—simply by |
Algebraic Semantics for Machine Knitting Published: 2025-04-22 | Origin: Hacker News The blog post discusses the mathematical rigor necessary for programming languages, focusing specifically on the less-defined semantics of machine knitting. Machine knitting involves programming to control arrays of needles to manipulate yarn into 3D objects. The author explores the importance of establishing clear semantics for machine knitting, explaining their potential applications in error checking, code optimization, and transformation, much like traditional programming languages. To illustrate the significance of semantics, the author presents a "commuting" problem: determining whether the order of two statements in a |
Scaling Rails application Published: 2025-04-22 | Origin: /r/ruby Vishnu M discusses the ease of starting development with Ruby on Rails, noting that it comes with SQLite as a default database, making initial setup simple. However, deploying to production requires changing the database and additional configurations for scaling as traffic increases. Over 13 years of consultancy at BigBinary has revealed various types of Rails applications, each facing unique challenges like memory issues or failed jobs due to misconfigurations. To effectively scale Rails applications, it's essential to understand the underlying mechanisms of Rails, Puma, |
We Interviewed 100 Eng Teams. The Problem With Modern Engineering Isn't Speed. It's Chaos. Published: 2025-04-22 | Origin: /r/programming The content discusses insights gathered by Earthly from interviews with over 100 engineers and engineering leaders from various companies, aimed at understanding their daily challenges and how Earthly's product, Earthfiles, could support engineering teams effectively. Initially focused on developer productivity and CI/CD speed, the team discovered that build speed was not a primary concern for most participants, with only one mentioning it as a significant issue due to a recent incident. Instead, the interviews revealed that the platform engineering industry faces more pressing challenges beyond just |
XRP Supplychain attack: Official Ripple NPM package infected with crypto-stealing backdoor Published: 2025-04-22 | Origin: /r/programming On April 21 at 20:53 GMT, Aikido Intel alerted to five compromised versions of the xrpl package, the official SDK for the XRP Ledger, which has over 140,000 weekly downloads. These malicious updates included a backdoor designed to steal cryptocurrency private keys, posing a significant threat to the cryptocurrency ecosystem due to the package's widespread usage. The suspicious versions released did not align with the official GitHub version (4.2.0). A specific function, checkValidity |
Coding as Craft: Going Back to the Old Gym Published: 2025-04-22 | Origin: /r/programming Shopify CEO Tobi Lütke emphasized the importance of AI in coding, stating that it is now an essential part of work at Shopify. While he encourages everyone to embrace AI, a sentiment shared by some, one Elm engineer expressed a contrasting view in a Slack conversation. This engineer has returned to using vim to reduce AI interference in their coding process, viewing coding as a craft that should be enjoyed rather than automated. They argue that struggling with problems and learning through challenges is crucial for skill development, |
Expose local dev server with SSH tunnel and Docker Published: 2025-04-22 | Origin: /r/programming The article provides a practical guide on how to temporarily expose a local service to the internet, particularly useful for those behind CG-NAT who cannot be reached from the internet. It explains that while services like localtunnel or ngrok are available, they often come with limitations on their free plans. Therefore, setting up your own tunnel can be more efficient. This setup allows users to share local projects easily, especially during remote work, and provides a simple way to access services through a public URL. The |
Short Ruby Newsletter - Edition 132 Published: 2025-04-22 | Origin: /r/ruby The content highlights several updates and events related to Ruby and AI as of April 21, 2025. Key points include: 1. **AI Announcement**: An emphasis on the importance of mastering AI tools to enhance productivity, encouraging readers to sign up for the Superhuman AI newsletter. 2. **New Releases**: - **JavaScript for Rails Developers**: A new book launched, offering a 10% discount for ShortRuby newsletter subscribers until April 25. - ** |