News Nug |
---|
Advent of Code on the Nintendo DS Published: 2024-12-15 | Origin: /r/programming The author discusses their experience with Advent of Code, a programming event that they find to be a waste of time, as the puzzles are mostly irrelevant to practical programming. They aim to challenge themselves by participating in Advent of Code 2024 using Rust, a programming language they don't frequently use. Instead of opting for standard Rust development, they choose to implement it on an embedded system (the original Nintendo DS) that lacks a runtime and an established ecosystem. The article is lengthy and includes reflections on the learning |
Proof of concept showcasing how a WASM program can access files outside node:wasi's preopens dir Published: 2024-12-15 | Origin: /r/programming The content discusses a proof of concept demonstrating that a WebAssembly (WASM) program can access files located outside the designated "preopens" directory in the Node.js WASI (WebAssembly System Interface) environment. Normally, accessing such files results in an error, but the concept explains that this restriction can be circumvented under specific circumstances, particularly through the use of a symlink that temporarily points to the outside file. Although this behavior indicates that Node.js WASI is not fully compliant with the WAS |
A simple virtual computer to practice writing compilers (crosspost) Published: 2024-12-15 | Origin: /r/programming The document emphasizes the importance of user feedback and outlines the goals of a Simplest Virtual Computer, which focuses on simplicity in understanding instructions, writing machine code, and developing compilers. The virtual computer is designed intentionally without the complexities of real hardware, and users are encouraged to build their own assemblers or compilers. An emulator is provided for running programs, which can be installed via cargo, and users can explore examples in a designated folder. Key features include: - No CPU registers; only a chunk |
In-Depth Ruby Concurrency: Navigating the Ruby Concurrency Landscape Published: 2024-12-15 | Origin: /r/ruby JP Camara presented a talk titled “In-Depth Ruby Concurrency: Navigating the Ruby Concurrency Landscape” at RubyConf 2024. This presentation was a culmination of his writing and research from the past year. He enjoyed the conference and the experience of presenting. To share his slides, he created a short YouTube video due to the extensive animations, as it was the most effective way to maintain the original flow. Additional information about his talk and other RubyConf 2024 presentations is |
Automotive Grade Linux Launches New Expert Group Led by Toyota Published: 2024-12-15 | Origin: Hacker News Automotive Grade Linux (AGL) announced the formation of a new Open Source Program Office (OSPO) Expert Group, led by Toyota, aimed at promoting the establishment of OSPOs within the automotive industry and facilitating information sharing among them. The automotive sector is increasingly adopting open source software for various applications, including infotainment and fleet management, as automakers allocate more resources to software development. Historically, contributions to the open source community were limited due to internal processes, but the rise of Software- |
Google ‘Retrofits’ Spatial Memory Safety Onto C++ - researchers showed they were able to "retrofit" spatial safety onto their C++ codebases, and to do it with a surprisingly low impact on performance Published: 2024-12-15 | Origin: /r/programming Attackers exploit spatial memory safety vulnerabilities, which involve accessing memory outside its intended bounds, posing significant risks to users. According to Google’s Project Zero, these vulnerabilities account for 40% of real-world memory safety exploits over the past decade. Google is addressing memory safety by promoting Safe Coding practices and the use of memory-safe languages in new code, which is expected to significantly reduce vulnerabilities over time. However, this transition is multi-year, prompting the company to also retrofit existing C++ codebases with |
Tech Notes: The Jujutsu version control system Published: 2024-12-15 | Origin: /r/programming The author introduces Jujutsu, a new version control system that serves as a frontend for Git, aiming for a more intuitive interaction with files while still storing data in Git. The author shares their struggle with existing documentation, which they found overly detailed and confusing, leading them to create an alternative, high-level tutorial. This tutorial is designed to convey concepts without overwhelming detail or a heavy focus on commands. The author emphasizes the need to temporarily put aside Git knowledge to better understand Jujutsu’s unique approach |
The No-Feedback Rejection Stings Published: 2024-12-15 | Origin: /r/programming Last week, Jake faced a rejection for a Software Development Engineer (SDE) role after months of preparation, which included multiple interview rounds. While the rejection was hard, what frustrated him most was the lack of feedback, leaving him uncertain about his performance. This reflects a common experience among job seekers, including the narrator, who also prepared extensively for software development interviews across three main areas: behavioral interviews, coding challenges, and system design. The narrator recounts sending out 300-400 applications and |
DOOM ported to run atop AMD ROCm + LLVM libc Published: 2024-12-15 | Origin: Hacker News Michael Larabel is the founder and principal author of Phoronix.com, established in 2004, with the primary goal of enhancing the Linux hardware experience. He has written over 20,000 articles on various topics, including Linux hardware support and performance. Larabel is also the lead developer of several benchmarking software tools, such as the Phoronix Test Suite. Phoronix Premium offers users an ad-free experience and additional features while supporting the site’s operations. Contributions can also be made through |
DragonRuby Game Toolkit - Towers of Hanoi Implementation. Link to source code and playable version in the comments. Published: 2024-12-15 | Origin: /r/ruby Failed to fetch content - HTTP Status - 403 |
Tenstorrent and the State of AI Hardware Startups Published: 2024-12-15 | Origin: Hacker News Irrational Analysis is focused on the semiconductor sector and maintains an updated list of active positions on its 'about' page, with the understanding that opinions expressed are personal and not representative of any employers. The newsletter shares content based on independent research and public information since 2011, emphasizing that it does not offer financial advice and encourages readers to conduct their own research prior to investment. Recently, the author criticized Tenstorrent after their Hot Chips 2024 presentation, leading to a number of Tenst |
School smartphone ban results in better sleep and improved mood: study Published: 2024-12-14 | Origin: Hacker News Psychologists at the University of York conducted a study featured in Channel 4's documentary "Swiped: The School that Banned Smartphones," hosted by Matt and Emma Willis. The study, held at The Stanway School in Colchester, involved Year 8 students who gave up their smartphones for 21 days. Researchers led by Professor Lisa Henderson and Dr. Emma Sullivan tested the impact of this ban on students’ behaviors, sleep, and mood. The findings showed significant positive changes among the students who |
How will quantum programming look? Published: 2024-12-14 | Origin: /r/programming A quantum computer utilizes quantum mechanical phenomena to perform calculations, potentially much faster than classical computers. Classical physics cannot adequately explain how these devices work. The fundamental unit of quantum computing is the qubit, which can exist in a superposition of states, as opposed to classical bits that are strictly binary. This allows quantum computers to process information more efficiently through wave interference. Currently, quantum computers are mainly experimental and face significant challenges in practical applications, including the difficulty of engineering high-quality qubits. Issues like quantum |
Threads Beat Async/Await Published: 2024-12-14 | Origin: /r/programming In a reflection written on November 18, 2024, the author revisits their challenges with async/await-based systems, arguing that these abstractions do not effectively support back pressure. They express a growing conviction that async/await is a poor abstraction for most programming languages and propose that a thread-based model might be a better alternative. The author aims to present familiar ideas from influential thinkers while highlighting how programmers often make implicit assumptions that limit their understanding. They use an example involving a mouse and a |
Llama.cpp Now Supports Qwen2-VL (Vision Language Model) Published: 2024-12-14 | Origin: Hacker News The content expresses a commitment to considering user feedback seriously. It invites individuals to ask questions or report issues about the project on GitHub, where they can sign up for an account for further engagement. The document mentions a pull request (PR) that implements the Qwen2VL model as per request #9246. Key steps include converting the model and its components to GGUF format, as well as building a specific command-line interface (CLI) for usage. Recommendations for image preprocessing are also noted |
Fascinating (and easy) read: Principles of Educational Programming Language Design Published: 2024-12-14 | Origin: /r/programming The content seems to provide statistics related to an article, including the number of views, PDF downloads, and XML downloads. It also includes options to share the article and subscribe to updates via RSS. |
IRATA.ONLINE: A Community for Retro-Computing Enthusiasts Published: 2024-12-14 | Origin: Hacker News The Web terminal, also referred to as the big orange button, is now available as a web application that can be installed directly from the browser menu. The latest version of PLATOTERM for Atari 8-bit users with FujiNet adapters has been released, accessible via the TNFS server at atari-apps.irata.online, by loading the plato.atr file. PLATOTERM 1.3 LITE for Atari 8-bit computers has also been released, featuring a 204 |
Pi modder successfully adds M.2 slot to Pi 500 Published: 2024-12-14 | Origin: Hacker News A commenter on a blog shared success in installing an M.2 socket on the Pi 500, enabling the use of NVMe SSDs and PCIe devices. With additional components and a 3.3V power supply, the M.2 slot functions well. To replicate this, one needs to solder four tiny capacitors to the PCIe lines leading to the slot, which requires precision tools and skills. After proper installation, powering the Pi 500 with specific voltage setups allows for device recognition |
In Search of a Faster SQLite Published: 2024-12-14 | Origin: /r/programming Researchers from the University of Helsinki and Cambridge have explored ways to enhance the performance of SQLite in their paper titled “Serverless Runtime / Database Co-Design With Asynchronous I/O.” They report achieving up to a 100x reduction in tail latency through the implementation of asynchronous I/O and storage disaggregation. This foundational work serves as the basis for Limbo, a rewritten version of SQLite in Rust, with a focus on serverless and edge computing. The paper is succinct and emphasizes key concepts such as |
Making a watch from scratch Published: 2024-12-14 | Origin: Hacker News Failed to fetch content - HTTP Status - 403 |