News Nug
Fable at 20: a uniquely British video game with a complex legacy

Published: 2024-09-18 | Origin: Hacker News

In 2004, the fantasy role-playing game Fable made a significant impact, garnering attention for both its achievements and shortcomings. Created by brothers Dene and Simon Carter at their studio Big Blue Box, in collaboration with Peter Molyneux of Lionhead Studios, Fable aimed to provide players with a unique, reactive experience in a living game world—a vision the Carters had since 1985. However, upon its release on the original Xbox, Fable was criticized for not delivering

Is There Interest in Technical Mentorship?

Published: 2024-09-18 | Origin: /r/ruby

Failed to fetch content - HTTP Error - Failed to open TCP connection to :80 (Connection refused - connect(2) for nil port 80)

How to build authorization like Netflix with Open Source?

Published: 2024-09-18 | Origin: /r/programming

The blog discusses how Netflix effectively manages user authorization for its vast user base of over 220 million, utilizing Open Policy Agent (OPA). As the company evolved from a DVD rental service to a major streaming platform, the importance of securing user data and permissions grew. Authorization, which ensures users have appropriate access to content based on their identity and permissions, is highlighted as crucial for Netflix to protect paying customers and maximize revenue. The article suggests learning from Netflix's approach to authorization, encouraging readers to adopt similar

CRuby switches the default parser from parse.y to Prism

Published: 2024-09-18 | Origin: /r/ruby

The content discusses feedback from users, inviting them to view documentation and sign up for GitHub to connect with project maintainers. A recent commit changes the default parser to Prism, addressing Feature #20564. While 33,554 tests passed, some tests failed due to issues related to the rbs-gem, specifically a RuntimeError involving AST compilation. The suggested approach is to skip these failing tests. Additionally, there are discussions about the typeprof test suite encountering issues on a specific SHA and plans

Please stop – putting cookie pop-ups on your website (2022)

Published: 2024-09-18 | Origin: Hacker News

Mike Oliver's article discusses the prevalence and ineffectiveness of cookie pop-ups on websites, particularly in the U.S. He notes that while no current U.S. law mandates these pop-ups, some European sites are required to comply with the EU "cookie law." However, the vast majority of U.S. websites fail to meet these legal standards by often storing cookies before obtaining consent and providing inadequate options for users. Oliver argues that these cookie notifications do not effectively enhance user privacy protection, as websites may

Scramble: Open-Source Alternative to Grammarly

Published: 2024-09-18 | Origin: Hacker News

Scramble is an open-source Chrome extension aimed at improving writing through AI, offering a customizable and privacy-focused alternative to Grammarly. It is currently awaiting approval on the Chrome Web Store. Users must provide their own OpenAI API key for the extension to work. The extension includes pre-configured text enhancement options, with planned features for the future. Feedback is encouraged, and contributions are welcome under the MIT License.

Apple Mobile Processors Are Now Made in America. By TSMC

Published: 2024-09-18 | Origin: Hacker News

TSMC has begun production of its first chips in Arizona, with Apple's A16 SoC being the first product manufactured using the foundry's 5nm process. Currently in limited production at TSMC's Fab 21, the A16 chips are expected to see increased volume once the second stage of the fab is completed by mid-2025. These A16 chips utilize TSMC's N4P process, which is considered an enhanced version of the 5nm family, albeit sometimes

Entire Independent Board of Directors of 23andMe Resigns

Published: 2024-09-17 | Origin: Hacker News

On September 17, 2024, the independent directors of 23andMe Holding Co. submitted their immediate resignations to CEO Anne Wojcicki. They expressed that after months of waiting, they had not received a fully financed, actionable proposal that served the interests of non-affiliated shareholders. Despite supporting the company’s mission, they cited significant differences in strategic direction and Wojcicki's concentrated voting power as reasons for their decision to resign. The directors believe their departure is in the best interest

Window Functions for Data Analysis with Postgres

Published: 2024-09-17 | Origin: /r/programming

The content discusses advanced features of PostgreSQL in cloud environments (AWS, Azure, GCP), including a fully managed service and integration with cloud object storage for efficient analytical queries. It covers high availability deployment options using Kubernetes and traditional infrastructure, as well as securing PostgreSQL to meet stringent security needs. Additionally, the text introduces SQL window functions, emphasizing their value for data analytics. While window functions can be complex, they allow users to analyze and compare data across rows without needing advanced tools. The tutorial aims

LLVM 19.1.0 Released

Published: 2024-09-17 | Origin: /r/programming

The LLVM 19.x series has officially launched after six months of development, with contributions from 1502 unique authors resulting in 18925 commits. This release includes the main LLVM project and its subprojects such as clang, lld, libc++, and MLIR. Official binaries aren't available yet but will be released later, while third-party binaries will be shared in a designated forum thread (with a caution that they are not verified by release managers). The next release, version 19.1.

Scientific Visualization: Python + Matplotlib (2021)

Published: 2024-09-17 | Origin: Hacker News

The content outlines an open-access book by Nicolas P. Rougier on scientific visualization using Python and Matplotlib, published in November 2021. It emphasizes the vast array of tools available for scientific visualization, highlighting Matplotlib's unique position as a versatile and powerful library for creating high-quality figures suitable for scientific publication. The book is structured into four parts: 1. **Fundamental Principles**: Covers the components of a figure, coordinate systems, scales, projections, typography, and color concepts

OpenTelemetry Tracing from scratch in 200 lines of JavaScript

Published: 2024-09-17 | Origin: /r/programming

Developers often view tracing libraries, including OpenTelemetry, as enigmatic tools due to their complexity and evolving nature. As these libraries mature, they become increasingly opaque, designed to handle various edge cases and environments while maintaining performance. Auto-instrumentation, which automatically wraps code, exacerbates this mystique, leading developers to treat these libraries as black boxes, hoping for useful insights during critical moments. However, tracing can be understood as a combination of "fancy logging" and "context propagation," where tracking

macOS Sequoia 15 may bypass DNS encryption

Published: 2024-09-17 | Origin: Hacker News

When you enter a hostname in a web browser, it needs to be translated into an IP address through a DNS lookup, which is typically unencrypted and visible to third parties. Little Snitch 6 introduces DNS encryption to protect these lookups by routing them through a DNS proxy it registers. However, a bug in macOS 15 Sequoia causes certain DNS requests, particularly those from low-level legacy APIs, to bypass this proxy and revert to unencrypted lookups using the system's default name

Swift 6

Published: 2024-09-17 | Origin: /r/programming

Swift 6 has been officially released, enhancing the language's capabilities across various platforms beyond app development, such as libraries and high-performance services. This major update introduces low-level programming features, improved support for Linux and Windows, and new cross-platform APIs, including the Swift Testing library. A key highlight in Swift 6 is the introduction of a new language mode that extends safety guarantees by diagnosing potential data races in concurrent code as compiler errors, making data-race safety easier to achieve. This builds on previous

GraalPy – A high-performance embeddable Python 3 runtime for Java

Published: 2024-09-17 | Origin: Hacker News

GraalVM is available for Linux, macOS, and Windows platforms. It is developed by Oracle, with a copyright spanning from 2018 to 2024. Oracle and Java are registered trademarks, while other names mentioned may be trademarks of their respective owners.

Rails adds the ability to ignore counter cache columns while they are backfilling

Published: 2024-09-17 | Origin: /r/ruby

The author is a full-stack Software Engineer specializing in React, JavaScript, and Rails, with two years of remote work experience. Prior to becoming a Software Engineer, they founded Kwiq, a hyperlocal delivery startup for remote villages. The content discusses the N+1 query problem in typical Rails applications, specifically when trying to retrieve counts for associated records, which can degrade performance as the number of records grows. The Rails feature "counter_cache" helps mitigate this issue by storing the count of

Opik: Open-source LLM Evaluation Framework

Published: 2024-09-17 | Origin: /r/programming

Opik is an open-source platform for evaluating, testing, and monitoring LLM (Large Language Model) applications, developed by Comet. It allows users to automate the evaluation process, store test cases, run experiments, and leverage the platform's LLM as a judge for metrics like hallucination detection and moderation. Additionally, Opik integrates with CI/CD pipelines via PyTest for continuous evaluation and production monitoring to track application performance and errors. Users can choose between a fully open-source local installation or a

Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, etc.

Published: 2024-09-17 | Origin: Hacker News

The content discusses "rga," a line-oriented search tool based on ripgrep that enables users to search for regex across various file types, including PDFs, E-Books, Office documents, and archives such as zip and tar.gz. It allows for recursive searches in multiple file formats by integrating with ripgrep's functionalities. Users can find detailed instructions on integrating rga with fzf and available binaries for Linux, macOS, and Windows on GitHub Releases. Installation methods include using package managers like pac

Enabling ChatGPT in a TI-84 calculator

Published: 2024-09-17 | Origin: /r/programming

Sure! Please provide the content you would like me to summarize.

The HTTP QUERY Method

Published: 2024-09-17 | Origin: /r/programming

The document introduces a new HTTP method called QUERY, characterized as safe and idempotent, capable of carrying request content. It mentions that this draft will be reviewed and discussed on the HTTP working group mailing list and provides links for further information, including a summary of changes and the working group's resources. It clarifies that Internet-Drafts are temporary documents valid for six months and that this specific draft will expire on March 18, 2025. The copyright and legal provisions related to the document's publication