News Nug |
---|
The Society in Dedham for Apprehending Horse Thieves Published: 2024-10-12 | Origin: Hacker News The Society in Dedham for Apprehending Horse Thieves is one of the oldest continuously active organizations in the United States dedicated to apprehending horse thieves. Founded in 1810 in Dedham, Massachusetts, it has had over 10,000 members, including notable figures such as heads of state and Supreme Court justices. Initially, membership was reserved for esteemed citizens of the community. The Society arose in response to widespread horse thefts and was part of a broader movement that saw similar organizations form |
Build Systems, Not Heroes Published: 2024-10-12 | Origin: Hacker News Enterprise programming focuses on managing system complexity, with key objectives of reducing bugs, ensuring scalability, and enabling timely releases. Success in these areas is hampered when teams rely on individual skills instead of a systematic approach. The text contrasts high-performing individuals observed in certain job settings—such as assembly lines or construction sites—with the risks associated with depending on these "super-efficient" workers. While these individuals may boost immediate performance, their absence can derail scalability and delivery promises, exposing the fragility of a system that |
🎉 Just Released: Customized Workout Generator Project on GitHub! 🎉 Published: 2024-10-12 | Origin: /r/programming The content describes a database application developed in T-SQL that creates personalized workout plans tailored to user goals and preferences. The application uses business logic implemented through procedures and utility views. Users are guided through a specific process to generate these plans and schedules. Additionally, the project is licensed under the GNU General Public Version 3 License, with further details available in a LICENSE file. Feedback from users is valued and carefully considered. |
Are retrocomputers best left on or off? Published: 2024-10-12 | Origin: Hacker News Stack Exchange is a network of 183 Q&A communities, with Stack Overflow being the most prominent platform for developers to learn and share knowledge. The service now includes AI features for collaborative work within teams, such as enhanced search, an integrated development environment (IDE), and chat capabilities. A user seeks advice on whether to leave a 1998 custom-built computer on or to power it down between uses, as they plan to use it for about an hour daily. They express concerns about stress on the components |
AMD's Turin: 5th Gen EPYC Launched Published: 2024-10-12 | Origin: Hacker News The content discusses a hands-on review of AMD's EPYC 9575F processor, part of the Turin architecture, highlighting its memory subsystem changes. Unlike previous coverage that focused solely on the Zen 5 core differences, this article emphasizes the EPYC 9575F's memory performance metrics. It reports that the processor achieves approximately 52 GB/s for memory reads, 48 GB/s for writes, and 95 GB/s for read-modify-write operations. Notably, a single core |
Every bug/quirk of the Windows resource compiler (rc.exe), probably Published: 2024-10-11 | Origin: /r/programming The content discusses the peculiarities and quirks of the Windows resource compiler (rc.exe), emphasizing that there are numerous bugs and unusual behaviors associated with it. The author aims to explain these issues in detail while making the content accessible to readers unfamiliar with rc.exe, resource script (.rc) files, or Windows development. Motivated by a proposal for the Zig programming language to support compiling .rc files, the author embarked on a project to create a Windows resource compiler in Zig. They initially believed the |
Regular Expression Matching with a Trigram Index Published: 2024-10-11 | Origin: /r/programming In the summer of 2006, the author interned at Google and worked on an internal tool called gsearch, which functioned like grep for the Google source tree by utilizing multiple servers to search through files in memory. Encouraged by Jeff Dean, the author developed a web interface to allow searches of public source code using gsearch, with a launch date pushed to October 5, 2006. Initially, the author used Ken Thompson's Plan 9 grep for demos but aimed to switch |
Hello, everyone! Today, I would like to share a new project I've been working on: ARPA Programming Language and its accompanying ARPA Studio IDE. Published: 2024-10-11 | Origin: /r/programming ARPA is a programming language that utilizes C# syntax but allows programming entirely in Turkish. It is developed using C# and ANTLR4 technologies and operates within the ARPA Studio IDE. Users can edit and execute ARPA code in the IDE, which features the Monaco Editor for coding. The language incorporates Turkish commands and operators, allowing for localized programming. Contributors are encouraged to submit pull requests or raise issues, and the project is licensed under the MIT License. For further details, users can refer |
Started a guide to writing FUSE filesystems in Python Published: 2024-10-11 | Origin: Hacker News As DebConf22 concluded in Kosovo, the author was invited by Eeveelweezel to give a talk for the Chicago Python User Group, although they initially hesitated due to a lack of expertise in Python. Two years later, at DebConf24 in South Korea, the topic resurfaced, and while the author has some experience with Python and uses it for teaching, they were still unsure about presenting. The author has created an educational project involving a simplified filesystem called FIUnamFS for their |
Lm.rs: Minimal CPU LLM inference in Rust with no dependency Published: 2024-10-11 | Origin: Hacker News The content discusses the development of a minimal inference library, lm.rs, for running language models locally on a CPU using Rust, without relying on machine learning libraries. It highlights features such as support for multimodal capabilities with the PHI-3.5-vision model and the PHI-3.5-mini text-only model, building on the inspiration from methodologies by Karpathy. The author notes that they have expanded support to Llama 3.2 models, although image processing currently slows response times |
IMAX Screens, Duck Boats, and Myrtle the Turtle: My SquiggleConf Recap Published: 2024-10-11 | Origin: /r/programming The author served as the opening speaker at SquiggleConf, a web developer tooling conference held at the New England Aquarium in Boston, MA. They shared their 15-year journey of creating Oh My Zsh, discussing its rise in popularity and lessons learned along the way. The experience was unique, as the author's presentation was projected on a large IMAX screen. Unlike past conferences, they didn't know any of the other speakers beforehand. The event featured a packed schedule of talks covering various web development tools |
An experiment in async Rust Published: 2024-10-11 | Origin: /r/programming The content discusses the async/await syntax used in various programming languages like Python, TypeScript, C#, and Rust. It raises the question of how async/await operates under the hood and suggests an experiment to explore its effects when used with ordinary functions that do not involve waiting for events like network requests or timers. The author shares a short Rust program that calculates two number sequences—Fibonacci and squares—and notes that while the program isn't practical for real-world applications, it illustrates the concept of executing independent |
Shipping Threads in 5 months Published: 2024-10-11 | Origin: Hacker News The content provides a monthly overview for architects and aspiring architects, emphasizing key topics in professional software development. It features Joe Rowell's exploration of unified memory on modern GPUs, detailing its realization on x86-64 systems and tools for understanding GPU functionality. The article series covers cell-based architectures and offers practical advice. Additionally, Roland Meertens and Anthony Alford discuss algorithms, particularly the HyperLogLog for probabilistic counting. A podcast segment features Shane Hastie interviewing Adam Kentosh about DevOps and |
Practical session types for structured concurrency Published: 2024-10-11 | Origin: /r/programming The content emphasizes the importance of user feedback and provides a brief overview of a simple WebSocket-based single-room chat server. Users can connect via a WebSocket client, respond with a nickname, and start chatting. It introduces session types in Rust, which describe the behavior of concurrent, message-passing processes, outlining their functionalities such as protocol adherence—ensuring processes behave as specified—and deadlock freedom, which prevents deadlocks through structured connections. The text acknowledges common perceptions about deadlocks not occurring in simpler |
Fast and accurate approximation algorithms for computing floating point square root Published: 2024-10-11 | Origin: /r/programming The article discusses new methods for calculating the square root function, utilizing the Newton–Raphson method alongside Heron iteration. The authors have modified Heron’s formula and optimized the selection of constants to significantly decrease the maximum relative error (MRE). These adaptations facilitate implementations on resource-constrained platforms like microcontrollers and FPGAs, offering variable accuracy. The new algorithms were implemented in C and rigorously tested against various platforms, including Intel, AMD, ARM CPUs, Nvidia GPUs, and Graphcore |
$2 H100s: How the GPU Rental Bubble Burst Published: 2024-10-11 | Origin: Hacker News Swyx's newsletter highlights a recent collaboration with former guest Eugene Cheah, who co-founded Featherless.AI, an inference platform offering access to nearly 2,000 open-source models via a single API for a flat monthly fee. The excitement in the GPU market is fueled by NVIDIA's new Blackwell series, which is reportedly sold out for the next year and may be the industry's most successful product. There is ongoing speculation about GPU infrastructure spending, with a consensus that the capital expenditure on foundation |
Bypassing airport security via SQL injection Published: 2024-10-10 | Origin: /r/programming The Known Crewmember (KCM) program, established by the TSA, allows airline pilots and flight attendants to bypass security screening when traveling on personal trips. Employees use a dedicated lane, present a KCM barcode or provide their employee number and airline information, and must show identification for verification of their employment status through a TSA agent's laptop. If verified, they can access the sterile area without screening. A similar system, the Cockpit Access Security System (CASS), enables authorized pilots to use |
TypeScript: Shaping a new Frontier for Error Management Published: 2024-10-10 | Origin: /r/programming The article discusses the challenges of error management in TypeScript and JavaScript projects, highlighting the frustration developers face when encountering unexpected errors in their code. While the initial project may appear well-organized, an error's extensive stack trace can make it difficult to pinpoint the issue, leading to feelings of disillusionment with the project. The author contrasts JavaScript's dynamic nature and error handling practices with those of more robust languages like Rust, Zig, and Go, which provide clearer guidelines and standards. The lack |
The Copenhagen Book: general guideline on implementing auth in web applications Published: 2024-10-10 | Origin: Hacker News The Copenhagen Book is a free, open-source guide for implementing authentication in web applications, maintained by the community. While it may be opinionated or incomplete, it aims to address gaps in existing online resources and is intended to be used alongside the OWASP Cheat Sheet Series. Suggestions or concerns can be communicated by opening a new issue. The book was created by Pilcrow. |
Show HN: HTML for People Published: 2024-10-10 | Origin: Hacker News "HTML for People" is an accessible guide aimed at anyone interested in creating websites, regardless of their technical background. Authored by Blake Watson, a seasoned web developer, the book is designed to teach HTML in a friendly and approachable manner without requiring prior coding experience. The introduction encourages readers to jump into coding and emphasizes that HTML is a fundamental document format for the web, suitable for everyone. The author also invites support through donations on Ko-fi and promotes sharing the book on social media, while linking to |