News Nug
Use an Android smartphone as a "serial modem" with DOS -- And "without needing to be root." This "solution works using a QEMU VM running a minimalistic install of NetBSD, which acts as a modem and router for traffic to/from the DOS PC." QEMU, termux-usb, and usbredirect are running under Termux.

Published: 2025-01-01 | Origin: /r/programming

The content appears to be a simple reference to an advanced search feature powered by phpBB, along with links to privacy and terms of service information.

One of my papers got declined today

Published: 2025-01-01 | Origin: Hacker News

Of course! Please provide the content you'd like me to summarize.

Exploring serverless architecture in modern web development

Published: 2025-01-01 | Origin: /r/programming

The article discusses the concept of serverless architecture, addressing initial misconceptions about it being a scam due to its name. It clarifies that "serverless" does not mean there are no servers; instead, it refers to not having to manage the servers yourself. Cloud providers like AWS, Google Cloud, and Azure take care of server provisioning, scaling, and maintenance, allowing developers to concentrate on writing code. This paradigm shift enhances performance, scalability, and app development processes. The piece aims to provide a

Compiling JavaScript to WASM with WASI support using Static Hermes

Published: 2025-01-01 | Origin: /r/programming

The content outlines the setup process for Hermes, a C++17 project that supports various compilers, including clang, gcc, and Visual C++. It emphasizes the need for dependencies such as cmake, git, ICU, and Python, and provides instructions for installing these dependencies on platforms like Ubuntu, Arch Linux, and Mac via Homebrew. Additionally, it mentions using libreadline for the Hermes REPL if available and includes options for downloading SDK packages and following instructions for building with Emscripten

Databases in 2024: A Year in Review

Published: 2025-01-01 | Origin: /r/programming

The author reflects on the database industry in their annual roundup, noting significant developments from the past year, including major acquisitions and changes in licensing among database vendors. Despite the closure of OtterTune, where the blog was previously hosted, the author continues their insights on their professor blog. They highlight the increasing diversity of databases available today, particularly focusing on open-source options, while also addressing the challenges posed by cloud services that can overshadow smaller companies. This has led to companies adopting stricter licenses to protect

DOOM CAPTCHA

Published: 2025-01-01 | Origin: Hacker News

A new CAPTCHA has been developed that requires users to play a minimal port of DOOM® as a means of proving their humanity, combining educational and entertainment elements. This project utilizes Emscripten to compile DOOM® into WebAssembly, facilitating interaction between the C code of the game and a JavaScript-based CAPTCHA user interface. Modifications have been made to the game to introduce necessary events for its CAPTCHA function. The project is based on the shareware version of DOOM®, which is available for

Modern Benchmarking Tooling for Javascript

Published: 2025-01-01 | Origin: /r/programming

The content outlines the features and functionalities of the benchmarking tool "mitata." It emphasizes the importance of user feedback and encourages exploration of their documentation for available qualifiers. The tool integrates easily into projects via commands (`bun add mitata`, `npm install mitata`) and can be tested in a browser environment. Key features include automatic garbage collection in specific runtimes, customization options for benchmarks, and support for unique computed parameters without affecting benchmark results. Mitata also facilitates concurrent execution of asynchronous benchmarks, with a

Integrating Metrics and Analytics with Custom GraphQL Plugins : Enhance GraphQL APIs

Published: 2025-01-01 | Origin: /r/programming

The article discusses the importance of GraphQL plugins in Apollo Server for enhancing the functionality of APIs as applications grow in complexity. GraphQL has become a popular solution for managing data flow between clients and servers, and developers require tools for adding features like logging, monitoring, and authentication. GraphQL plugins allow developers to inject custom logic into the server’s lifecycle through various lifecycle hooks, including request initiation, operation resolution, query execution, and response sending. These hooks enable implementations for tasks such as query logging and

Large Concept Models: Language modeling in a sentence representation space

Published: 2025-01-01 | Origin: Hacker News

The document discusses Large Concept Models (LCM), which focus on language modeling using a higher-level semantic representation called a "concept" that corresponds to sentences. These concepts are language- and modality-agnostic and utilize the SONAR embedding space, supporting up to 200 languages in text and 57 in speech. LCM is designed as a sequence-to-sequence model for auto-regressive sentence prediction, employing a model with 1.6 billion parameters trained on approximately 1.3 trillion tokens

How to Manage Flaky Tests

Published: 2025-01-01 | Origin: /r/programming

In an article by Li Haoyi, the author addresses the pervasive issue of flaky tests in software projects, which are tests that pass or fail in a non-deterministic manner. This problem can lead to confusion, slowed development cycles, and disputes among team members. Drawing from experience in creating flaky test management systems at Dropbox and Databricks, the author explores various causes of flaky tests, including issues like race conditions in multi-threaded environments and interference from tests that mutate shared global variables or files.

Happy New Year 2025

Published: 2024-12-31 | Origin: Hacker News

The content consists of various New Year wishes and reflections. One user expresses hope that AI singularity is delayed beyond 2025. Another comments on the new year being a "perfect square year" (2025), referencing past and future such years. Someone shares their New Year greetings in Italian, while another reflects on a recent power outage that sparked their interest in fusion energy development. Others express gratitude for the online community and its informative nature, wishing everyone a happy New Year and a smooth transition into

Déjà vu: Ghostly CVEs in my terminal title

Published: 2024-12-31 | Origin: Hacker News

The content discusses a security vulnerability discovered in Ghostty, a new terminal emulator released by Mitchell Hashimoto in December 2024. This vulnerability is linked to a long-standing issue in terminal emulators initially highlighted by HD Moore in a 2003 paper, specifically regarding the use of in-band signaling and escape sequences. The problem arises when terminal emulators process these escape sequences, particularly those that control window titles, which can lead to unexpected behavior if the terminal application does not anticipate a response. As a

Every Tip I Know For Shipping Products That Match The Spec

Published: 2024-12-31 | Origin: /r/programming

The author discusses various tools and methods used to identify and address discrepancies in code. They employ AI to highlight issues, particularly with complex screens that contain a lot of text. For catching minor differences, they suggest using Kaleidoscope or the free tool diffchecker.com. Before submitting pull requests (PRs), the author runs a tool called commitmsg to check for differences, which then feeds output to a language model, helping to identify minor problems before a human review. They maintain a personal .gitignore

Rust, reflection and access rules

Published: 2024-12-31 | Origin: /r/programming

The Rust programming language is often noted for its lack of reflection, which many users find limiting for tasks like serialization, garbage collection, and interoperability. Despite its absence, there are ongoing discussions about how reflection could work in Rust, considering its unique safety features. These features impose specific rules on any potential reflection API that differ from other languages, where reflection commonly allows access to private fields without restrictions. In languages like C#, Java, Python, and Lua, reflection can manipulate private fields more freely, but this

Static search trees: 40x faster than binary search

Published: 2024-12-31 | Origin: /r/programming

This post discusses the implementation of a static search tree (S+ tree) for efficient searching in sorted data, initially based on ideas from a paper in Algorithmica. The author aims to optimize the existing code and improve throughput, particularly through batching. The search tree will support queries to find the smallest element in a sorted list of 32-bit unsigned integers that is at least a given value, with the option to return the index of that element. The primary focus is on increasing throughput, measured as the

Arnis: Generate cities in Minecraft from OpenStreetMap

Published: 2024-12-31 | Origin: Hacker News

The content discusses an open-source project called Arnis, developed in Rust, which allows users to generate detailed Minecraft worlds based on real-world locations using geospatial data from OpenStreetMap. Arnis can create complex environments that replicate cities, landmarks, and natural features, making it suitable for users who wish to explore or recreate real-life places in Minecraft. To use Arnis, users can select an area with a rectangle tool, specify their Minecraft world, and start the generation process with the required bounding box

DCA3 - GTA 3 Dreamcast port first release (source available + interview with the dev team)

Published: 2024-12-31 | Origin: /r/programming

DCA3 brings the excitement of Liberty City to the Dreamcast by leveraging the RE3 reverse engineering project of GTA 3. This initiative seeks to optimize the game for the Dreamcast, a less powerful platform, while maintaining the technical complexity that made GTA 3 noteworthy. Originally intended for the Dreamcast but ultimately canceled, this project aims to demonstrate the console's ability to run such a sophisticated game. DCA3 offers improved visuals and gameplay, featuring community-driven development with decent performance and compatibility for

Things we learned out about LLMs in 2024

Published: 2024-12-31 | Origin: /r/programming

As of December 31, 2024, significant advancements in Large Language Models (LLMs) have been observed over the past year. In contrast to last year, when OpenAI's GPT-4 was unrivaled, 2024 saw 18 organizations developing models that outperformed GPT-4, leading to a total of 70 models on the Chatbot Arena Leaderboard. A notable breakthrough was Google’s Gemini 1.5 Pro, released in February, which not only matched GPT-

I updated my old Vim Cheat Sheet for Programmers to v2.5 (and moved to a new home on GitHub)

Published: 2024-12-31 | Origin: /r/programming

The feedback from users is valued and taken seriously. A comprehensive documentation for available qualifiers is provided. Additionally, the author has updated their Vim cheat sheet, which includes a color-coded legend to assist users based on their experience level.

Zildjian, a 400-year-old cymbal-making company in Massachusetts

Published: 2024-12-31 | Origin: Hacker News

Zildjian cymbals, renowned in various music genres, have been crafted by the Zildjian family for over 400 years with a secret manufacturing process. The Avedis Zildjian Co. operates in Norwell, Massachusetts, and produces at least a million cymbals annually. Many locals are unaware of this historic factory, which employs a unique method dating back to the Ottoman Empire. Joe Mitchell, the company's director of operations, highlighted the factory's mystique and history as he