News Nug
Microsoft open-sourced a Python tool for converting files and office documents to Markdown

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

The content describes MarkItDown, a Python tool designed for converting various file types and office documents into Markdown format, useful for indexing and text analysis. Users can install it via pip or from the source, and the API is straightforward. The tool can also be configured to leverage Large Language Models (LLMs) for image descriptions, requiring specific parameters. Contributions to the project are welcome, but must comply with a Contributor License Agreement (CLA), which can be automatically processed during pull requests. The project adher

šŸš€ Dynamic Notification System: Open Source Notification Scheduler in Go! šŸŒŸ [Looking for Contributors]

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

The content introduces a Go-based Dynamic Notification System designed to provide a scalable and flexible multi-platform notification solution, catering to the needs of businesses and individuals for effective communication across various channels such as Slack, Email, SMS, and Webhooks. It emphasizes the importance of managing notifications in today's fast-paced digital environment and outlines features like multi-channel support, flexible intervals, database-driven job scheduling, and execution logging. The project is open-source under the MIT License, encouraging contributions and sharing within the community. Users are

25 Years of Dillo

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

In 1999, a group of developers led by Jorge Arellano Cid forked the Gzilla/Armadillo code created by Raph Levien, resulting in the Dillo web browser. As of December 2024, Dillo celebrates its 25th anniversary, having undergone numerous changes and periods of stagnation while remaining active. Jorge led the project until 2019, after which Rodrigo took over to revitalize it, working to preserve its original vision despite lacking a connection

The First 50M Prime Numbers (1975) [pdf]

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

The content appears to be a portion of a PDF file, specifically a section of its binary representation. It includes a variety of objects, such as metadata, page layout information, and references to font encodings. The document is structured using identifiers for objects (like 181 0 obj, 182 0 obj), which contain data on page modes, an OpenAction that specifies how the document should be displayed, and various encoding definitions. The actual content of the PDF seems to be truncated and is

Map of GitHub

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

The author emphasizes the importance of user feedback and provides details about the creation of an "Inspirational Mapping" project, which visualizes over 400,000 GitHub projects. Each dot on the map represents a project, positioned based on shared stargazers. The project involved several phases: 1. Fetching data on stargazers from a public GitHub dataset covering January 2020 to March 2023, resulting in over 350 million stars. 2. Computing Jaccard Similar

Chip Cities Rise in Japan's Fields of Dreams

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

Bloomberg connects decision-makers to a vast network of information, people, and ideas, providing timely and accurate business and financial news globally. The report highlights Japan's ambitious investment in the semiconductor industry, featuring TSMC's new factory in Kumamoto as part of a $33 billion initiative to reclaim leadership in this sector. Despite the potential for significant failure, Japan is attempting to revitalize areas like Chitose, where falling rice paddies are becoming valuable properties due to the industrial surge. This industrial

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