News Nug
I made a game in x86_64 assembly!

Published: 2024-10-01 | Origin: /r/programming

The content discusses a Boulder Dash-inspired game created in x86_64 assembly for Linux, which operates without any libraries, relying solely on the Linux system call interface. The game requires installation of git-lfs to access its data files and needs nasm version 2.16.03 (not 2.15 due to a bug). Users must ensure they have permission to write to /dev/fb0 by adding their user to the video group. Before playing, users should switch to TTY mode

Free and open source HTML email editor and template designer.

Published: 2024-10-01 | Origin: /r/programming

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

JRuby 10 due to arrive in early 2025

Published: 2024-10-01 | Origin: /r/ruby

JRuby, a Ruby implementation for the JVM dating back to 2001, is set to release version 10 soon after the new year. This release will be fully compatible with Ruby 3.4.0 and support Rails 7.1 and later versions. Project co-leader Charles Oliver Nutter emphasizes this is the first JRuby version aligned with the latest Ruby updates. JRuby 10 will require Java 17 or Java 21, enabling access to modern JVM features, including virtual

Deno version 2.0 is nearly done – but after over 4 years, the project's big bets have yet to pay off • DEVCLASS

Published: 2024-10-01 | Origin: /r/programming

Deno 2.0, a JavaScript and TypeScript runtime, has reached feature completeness and is now available as a release candidate, four and a half years after Deno 1.0's launch in May 2020. Despite its new features, Deno's adoption remains limited compared to Node.js, suggesting that its focus on TypeScript and ECMAScript modules has not yet gained traction. In Deno 2.0, several important APIs, including WebGPU and FFI

Uber terms mean couple can't sue after 'life-changing' crash

Published: 2024-10-01 | Origin: Hacker News

Georgia and John McGinty from New Jersey sustained serious injuries in an Uber crash and have been denied the right to sue the company due to terms they accepted via the app. A state ruling indicated they confirmed their agreement to Uber's terms on multiple occasions, including a time when their daughter accepted them. The McGintys assert they did not realize this meant they were giving up their right to a legal trial. Uber stated that their terms require disputes to be resolved through arbitration, which typically leads to

Piracy

Published: 2024-10-01 | Origin: Hacker News

The content discusses the disparity between the pricing of physical and digital games, highlighting that digital purchases don't grant true ownership, as services like Steam can shut down, leaving users without access to their games. It raises concerns about the potential loss of older games, citing examples like Atari cartridges and abandoned titles. The author's frustration is directed at companies for their high prices and tendency to monetize games through subscriptions and microtransactions, while also noting that piracy, though not theft, is a reaction to these practices. They emphasize

Dockworkers at ports from Maine to Texas go on strike

Published: 2024-10-01 | Origin: Hacker News

Dockworkers at ports across the United States, from Maine to Texas, initiated a strike on Tuesday over wage disputes and the issue of automation, which could lead to inflation and shortages if prolonged. The strike, marking the International Longshoremen’s Association's first since 1977, began after the contract for about 45,000 workers expired. Following the start of picketing at various ports, local union leaders emphasized their demand for a fair contract that protects jobs against automation. The union, having seen

Matrix-Libera IRC Bridge Temporary Shutdown, a Retrospective (2023)

Published: 2024-10-01 | Origin: Hacker News

On August 10, 2023, the Libera.Chat team announced the deactivation of their Matrix bridge, citing the need for transparency about their decision-making process. They initially hesitated to disclose details to avoid public disputes with a for-profit company. However, they wanted to inform users due to the trust placed in them since the network's launch in May 2021. Libera.Chat exceeded expectations in growth and received requests from communities for a Matrix bridge, which they were initially reluctant to implement

Local Kubernetes Cluster with Automatic kubectl port-forward configurations

Published: 2024-10-01 | Origin: /r/programming

In this post, the author outlines a method for setting up a local Kubernetes cluster using Kind, Terraform, and Kftray. The focus is on keeping all services internal to the cluster, thus avoiding the complexities and security risks associated with exposing services externally. Instead, kubectl's port-forwarding feature will be utilized, automated via Kftray for easy access to internal services. The prerequisites for the setup include Docker, Terraform (v1.9.5), and Kftray (available in

Favor composition over inheritance... with Java?

Published: 2024-10-01 | Origin: /r/programming

The content emphasizes the importance of considering user feedback and highlights the challenges of using composition over inheritance in Java. Despite recommendations in "Effective Java" to favor composition, Java lacks sufficient language support, leading to cumbersome and error-prone coding practices. The text discusses a compiler plugin that aims to facilitate composition features in Java, allowing developers to experiment with more natural alternatives to inheritance. The manifold-delegation project introduces simple constructs, such as @link and @part, to simplify interface implementation and enable true delegation

On consulting with Jamon Holmgren

Published: 2024-10-01 | Origin: /r/programming

The author interviewed Jamon Holmgren, CTO of infinite.red, to gain insights on building a consulting business. Key takeaways from the conversation include the challenges of maintaining work-life balance, particularly in the early stages of a business, which nearly led Jamon to shut down his firm. Partnering strategically helped him regain that balance while still growing his business. The importance of establishing a strong pipeline of work is emphasized, as it is essential for financial stability and the ability to negotiate effectively. Without it,

Boris Vallejo and the pixel art of the demoscene

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

The article discusses the significant impact of Boris Vallejo, an epic fantasy painter, on the fantasy art scene during the 1980s and 90s, particularly in book covers, computer games, and the demoscene. It features a personal project where the author recreates Vallejo's original painting "Gillkarth's Odyssey" as a pixel art piece called "Wrath of the Vallerian," using only four colors. The author reflects on their evolving appreciation for the creative challenges posed

The Silk Road (2023)

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

In 1900, a Daoist monk named Wang Yuanlu discovered a hidden chamber in the Grottoes of Unparalleled Height near Dunhuang, China, while cleaning the entrance to the caves. This chamber, sealed in the 11th century, contained around 60,000 manuscripts that shed light on everyday life along the Silk Road. At the time, the caves, which housed valuable Buddhist art from the 4th to the 14th centuries, had fallen into neglect with

Show HN: qrframe – generate beautiful qr codes with javascript code

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

The content discusses a code-based QR code generator inspired by QRBTF and Anthony Fu's QR Toolkit. It emphasizes the importance of user feedback and provides a link to documentation for available qualifiers. The generator allows customization of both data and appearance, with specific requirements for exporting parameters in order to render as SVG or Canvas. An example illustrates how to structure parameters and the final structure of the QR code matrix, which is defined by its version and dimensions. The document also mentions settings for alignment and formatting.

MusicBrainz: An open music encyclopedia

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

MusicBrainz is an open music encyclopedia that gathers and publicly shares music metadata, similar to Wikipedia, and is maintained by a global community of contributors. It is operated by the MetaBrainz Foundation, a California-based non-profit organization that ensures MusicBrainz remains free and open source. Most data in the MusicBrainz Database is released into the public domain and is freely downloadable. Developers can use its XML web service or libraries to create MusicBrainz-enabled applications. The platform encourages donations and community engagement

Show HN: Facad – A colorful directory listing tool for the command line

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

The content discusses a modern, colorful directory listing tool for the command line called "facad." It emphasizes the importance of user feedback, encourages contributions through Pull Requests, and mentions that the tool can be installed system-wide by running the `facad` command. The tool is developed by Sergey Veneckiy and is distributed under the MIT License. For additional details, users are directed to the documentation.

Don't be afraid to re-invent the wheel

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

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

Stop Trying To Be Right

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

Welcome to Path to Staff Engineering! I'm Sidwyn, here to help you acquire the skills needed to progress to the Staff level more quickly. If you're new, please subscribe for ongoing free content. As engineers, we often insist we're right, whether it’s about using NoSQL over MySQL or prioritizing certain tasks. This stubbornness can stem from fear of being wrong and damaging our egos, leading us to refuse to reasonably accept different viewpoints. To advance in our careers, it's essential

Can any AST be refactored to a purely prefix or postfix execution?

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

The content emphasizes that all feedback is valued and taken seriously. It mentions that documentation can be consulted for available qualifiers. Additionally, the repository contains tutorials and examples of code written in the Oliver programming language, organized sequentially for review.

Beyond multi-core parallelism: faster Mandelbrot with SIMD

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

Itamar Turner-Trauring presents a concept for a cloud-based service, "Mandelbrot-as-a-Service," aimed at providing businesses with freshly calculated Mandelbrot fractals without requiring them to handle the computation themselves. The goal is to leverage cloud computing to scale services for a large customer base, while also addressing high computation costs. Turner-Trauring suggests parallel computing as one way to improve response times, but notes that while using multiple cores can speed up processing, it won't reduce costs since the