News Nug |
---|
Scaling Sidekiq at Gusto (2022) Published: 2024-09-25 | Origin: /r/ruby Over the past year, Gusto has significantly transformed its use of Sidekiq, a Ruby-based background job queueing system, resulting in reduced costs, fewer outages, and improved usability for engineers and customer experience. The company utilizes Sidekiq for various tasks, including sending emails and processing large volumes of data for over 200,000 customers. Amid the economic challenges of March 2020, Gusto focused on cost-cutting measures and discovered inefficiently underutilized compute resources used for Side |
XBill for PalmOS receives an update after 25 years Published: 2024-09-25 | Origin: Hacker News In the late 1990s, the SlackWare Linux distribution included a game called xBill, where players prevent 'Bills' from spreading Windows, reflecting concerns about Microsoft's antitrust practices at the time. In 1999, a version called pBill was released for Palm OS, but it did not work on color devices and could cause reboots on the latest models. As the market shifted towards color PDAs with the release of the Palm IIIc, pBill did not gain significant popularity. |
Hack GPON – how to access, change and edit fibre ONTs Published: 2024-09-25 | Origin: Hacker News Most Optical Network Terminals (ONTs) use customized firmware tailored to vendor and ISP requirements, leading to locked functionality. The performance of ONTs can vary based on the Optical Line Terminal (OLT) and ISP settings, making it difficult to switch between external ONTs and SFP modules due to the numerous checks performed by OLTs. The wiki offers resources, including links, codes, and tutorials for accessing and modifying ONTs. The content is distributed under the MIT License, with external references remaining |
Show HN: Hosting my website using my C web server Published: 2024-09-24 | Origin: Hacker News The content discusses a custom web server designed to host a personal blog, emphasizing its robustness and capability to operate without reverse proxies. The server is built from scratch, and the creator has invited hacking attempts from Reddit, leading to the collection of amusing and malicious request logs. The server is designed to be fast and is compared to nginx in terms of performance. It supports HTTP by default, with an option to enable HTTPS through the integration of BearSSL. Users can customize server configurations and serve static content from a |
Cringey, But True: How Uber Tests Payments In Production Published: 2024-09-24 | Origin: /r/programming The content emphasizes that most engineers waste time testing software and tend to prefer testing in controlled staging environments over production due to fears of introducing errors. However, it argues that testing in production is essential and advocates for a combined approach: extensive pre-deployment testing followed by early production testing. The piece highlights that while testing in a staged environment can identify easy bugs, legacy systems—which are often seen as problematic—actually improve over time if maintained correctly. Ultimately, the best way to ensure high-quality software is to |
What I tell people new to on-call Published: 2024-09-24 | Origin: /r/programming The author shares their experiences with on-call responsibilities as a software engineer, highlighting a transition from initial excitement to eventual appreciation of the role. They emphasize the importance of understanding that being on-call involves assessing and addressing issues rather than trying to fix everything alone. Key advice includes asking critical questions about affected systems, their impact, and whether users are affected to determine the best course of action. The author encourages engineers not to feel pressured to handle problems alone and to call for backup when necessary, stressing that collaboration improves |
Rust panics under the hood, and implementing them in .NET Published: 2024-09-24 | Origin: /r/programming The author is developing a Rust to .NET compiler named rustc_codegen_clr, focusing on implementing Rust features using .NET APIs, particularly the concepts of panicking and unwinding. This article is the first in a series discussing Rust panics and unwinding, with a focus on the compiler's handling of unwinding. The project serves as a compiler backend that replaces traditional native code generation with .NET Common Intermediate Language (CIL), stored in .NET assemblies for execution by the .NET |
On Impactful AI Research Published: 2024-09-24 | Origin: Hacker News We carefully consider all feedback and value your input. For a complete list of available qualifiers, please refer to our documentation. |
Staticky v0.2.0 with a new Sequel/Roda style plugin system Published: 2024-09-24 | Origin: /r/ruby Staticky is a static site builder designed for Ruby enthusiasts, providing robust support for Phlex components. It aims to offer a more scriptable alternative to frameworks like Bridgetown and Jekyll while enhancing the developer experience for static sites, similar to Rails. It is currently being used on the website https://taintedcoders.com, with a setup template available in the site_template folder. Installation requires adding the gem to the Gemfile or executing a command if not using Bundler. A command-line |
Beyond the route: Introducing granular MTA bus speed data Published: 2024-09-24 | Origin: Hacker News Failed to fetch content - HTTP Status - 403 |
Xkcd 1425 (Tasks) turns ten years old today Published: 2024-09-24 | Origin: Hacker News XKCD 1425 (Tasks) celebrates its tenth anniversary, highlighting how a once complex task—identifying whether a photo depicts a bird—has become trivial with advances in AI tools like vision LLMs and ResNet+ImageNet. However, the underlying challenge of discerning easy versus hard tasks in software development remains significant and has arguably intensified with the advent of LLMs. These models struggle with math and fact-checking, making it difficult to gauge their capabilities. As more individuals use |
Measuring Developers' Jobs-to-be-done Published: 2024-09-24 | Origin: Hacker News We will suggest the best publications tailored to the topics you choose. |
98% of companies experienced ML project failures in 2023: report Published: 2024-09-24 | Origin: /r/programming The provided content is a partial representation of a PDF file encoded in the PDF format. It includes a series of objects and streams that contain metadata, content descriptions, and other properties associated with the document. The content appears to be binary, with compressed data likely representing images or other multimedia elements embedded in the PDF. There are several object references and stream identifiers, but no coherent textual content is available in this excerpt. Overall, this content does not convey a clear narrative or specific information but rather serves as a |
I wrote a terminal dungeon crawler game with pure Ruby in less than 150 lines Published: 2024-09-24 | Origin: /r/ruby The article discusses the creation of a simple terminal-based real-time dungeon crawler using Ruby, with a goal of keeping the code under 150 lines. The project begins with establishing a Game class to manage the game state and display the screen. It first focuses on rendering a level map, sourced from a `map.txt` file, and introduces five types of objects to populate the map. A class is provided for parsing the map file and rendering trees and empty spaces, while placeholders for start and end locations and |
How Propshaft Works: A Rails Asset-Pipeline (Visual) Breakdown Published: 2024-09-24 | Origin: /r/ruby Jon Sully celebrates the recent launch of Propshaft v1.0, emphasizing its role as the new default for asset delivery in Rails 8. He explores the underlying functionality of Propshaft, particularly in the context of the Model-View-Controller (MVC) architecture that Rails employs. Sully explains how MVC operates by using a blogging application as an example, illustrating the interaction between controllers, models, and views when handling requests. He also highlights the distinction between dynamic requests (which require processing) |
LevelDB Explained - How to implement SkipList Published: 2024-09-24 | Origin: /r/programming The content discusses skip lists, a data structure used in LevelDB to store data efficiently in memory. Skip lists, introduced by William Pugh, are probabilistic structures resembling ordered linked lists with multiple levels, allowing for fast operations like insertion and deletion with an average time complexity of \(O(\log n)\). They are favored for their simpler implementation and stable performance compared to balanced trees. The article outlines the foundational principles of skip lists, their implementation in LevelDB, and highlights optimizations that support single |
The Python Package Index Should Get Rid of Its Training Wheels Published: 2024-09-24 | Origin: /r/programming In a blog post by Loris Cro, the author discusses the significance of the Python Package Index (PyPI) and its reliance on corporate sponsorship for operational support. Highlighting staggering statistics, PyPI currently hosts 570,000 projects and serves 1.9 billion downloads daily, with its bandwidth sponsored by Fastly. Concerns arose regarding future support if Fastly withdrew its sponsorship, considering the estimated annual cost of traffic could exceed $12 million, significantly more than the Python Software Foundation's current |
Picking Glibc Versions at Runtime Published: 2024-09-24 | Origin: /r/programming In a recent work discussion, the argument emerged that setting up containers on developer machines was necessary to test against a modern version of glibc, due to perceived limitations with using LD_LIBRARY_PATH or static linking. However, the author challenges this notion, questioning the need for containers, given that glibc developers must have historically tested changes without them. The author suggests that running a program with a different glibc version than installed on the system is a common requirement. The discussion transitions to clarify how |
Tracy: A real time, nanosecond resolution frame profiler Published: 2024-09-24 | Origin: /r/programming The content highlights the importance of user feedback for improving the Tracy Profiler, which supports CPU and GPU profiling across multiple programming languages, including C, C++, Lua, and Python, with additional third-party bindings for languages like Rust, C#, and more. Tracy Profiler can monitor various performance metrics, such as memory allocations, locks, and context switches, and can automatically associate screenshots with captured frames. The document also references video resources discussing new features introduced in different versions of the Tracy Profiler from v |
Conway's Law: The Hidden Force Shaping Your Software Architecture Published: 2024-09-24 | Origin: /r/programming The content discusses Conway's Law, which posits that software architecture reflects the communication and organization of teams within a company. It suggests that the way teams are structured often leads them to create components that mirror their organization, potentially resulting in suboptimal solutions as teams prefer to work independently rather than coordinate with others. This phenomenon can distort the initial software vision and architecture. To counteract the effects of Conway's Law, the content recommends restructuring into cross-functional teams that focus on product features rather than technical layers, |