News Nug |
---|
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 |
We’ve Been Here Before Published: 2024-12-14 | Origin: /r/programming The quote "Humans are allergic to change" by Grace Hopper reflects the resistance to new technologies, exemplified by the emergence of COBOL in the late 1950s. COBOL was designed to enable non-programmers, like business professionals, to write and understand code in an English-like syntax. This idea unsettled many experienced programmers who feared for their careers, leading to speculative notions that programming might become obsolete. However, rather than eliminating the need for programmers, COBOL increased the demand for |
Avoid interruptions when programming in emacs Published: 2024-12-14 | Origin: /r/programming The author summarizes their experience with a paper on reducing workplace interruptions, particularly for programmers, and their efforts to create a personal version of a device called FlowLight. This device aims to help indicate when a programmer is in a state of "flow," which is characterized by focused work without distractions. The author highlights that disruptions, such as inquiries from coworkers, can hinder concentration and extend the time needed to regain focus. They reference the concept of flow as described on Wikipedia and mention that one key condition for achieving |
Yozefu: A TUI for exploring data of a kafka cluster Published: 2024-12-14 | Origin: /r/programming Yōzefu is an interactive terminal user interface (TUI) application designed for exploring the data in a Kafka cluster. It serves as an alternative to tools like AKHQ, Redpanda Console, or the Kafka plugin for JetBrains IDEs. Key features include the default configuration of the Kafka consumer with auto-commit disabled, meaning offsets are not published back to Kafka. For enhanced visual experience, users are encouraged to install Powerline fonts, and pre-built binaries are available for download. Additionally |
Show HN: A simple web game to help learn chords and basic progressions Published: 2024-12-14 | Origin: Hacker News The content encourages users to learn and practice piano chords and common chord progressions in major and minor keys. It also suggests selecting a MIDI keyboard and the desired key for practice. |
Breaking the Cycle: Solving Circular Dependency Problems in Spring Boot Published: 2024-12-14 | Origin: /r/programming In Spring Boot development, circular dependencies often pose a challenge, as they occur when two beans rely on each other, which leads to an inability for Spring to determine the correct injection order during startup. The article discusses strategies for resolving these circular dependency issues, using an example of two interdependent classes, A and B, which depend on each other through their constructors. A scenario is presented involving an e-commerce application for freelancers, where categories of services are managed. A new feature to softly delete a category is |