/Hackletter July 22, 2024
Your Daily HackerNews Brief

Mermaid Gantt diagrams are great for displaying distributed traces in Markdown (2023)

Bryce Mecum highlights that Mermaid Gantt diagrams are highly effective for visualizing distributed traces, an alternative to JaegerUI, and are well-suited for Markdown. Gantt diagrams, typically used for scheduling tasks, can be adapted for tracing by using a time scale and distinct sections for different services. Examples of Mermaid Gantt syntax show how to represent trace events with critical, done, and other tags for better visualization.

No More Blue Fridays

In "No More Blue Fridays," Brendan Gregg discusses a significant global outage on July 19th, 2024, caused by a faulty kernel update from a security company, resulting in widespread system crashes. Gregg advocates for the adoption of eBPF, a secure kernel execution environment that prevents such crashes by running code in a sandbox and undergoing rigorous safety checks. He highlights that with eBPF support in both Linux and upcoming Windows systems, future software updates will be safer, reducing the risk of similar catastrophic outages.

Jiff: A brand new Datetime library for Rust, from the author of ripgrep

Jiff is a Rust library for handling date-time, aiming to be intuitive and minimize misuse while offering features like time zone integration, Serde support, and RFC3339 parsing. It is inspired by JavaScript\'s Temporal proposal and is designed to blend performance and high-level functionality with minimal dependencies. The library is available on crates.io, and extensive documentation, examples, and usage instructions are provided.

Show HN: A Source Available billing system I\'ve spent 18 months building

BillaBear offers a comprehensive billing and subscription management solution with deep Stripe integration, a powerful tax system, and robust workflow processes. It allows users to completely manage taxes, subscriptions, branding, and team permissions, while providing out-of-the-box SDKs for easy integration and features like LTV reports, quotes, and customizable templates. Customers can start with a free trial or book a demo, with options to self-host for ultimate control.

Wide angle lens distortion correction from lines

The text explains methods for correcting wide-angle lens distortion in images, focusing on making straight lines in the 3D world appear straight in the image. It discusses a simple radial undistortion model using polynomial functions, and describes an iterative optimization process involving edge detection and the Radon and Hough transforms to estimate and correct distortion. The text also compares different distortion models and provides code for converting between them and implementing the correction using popular libraries like OpenCV.

© 2024 Hack Letter. All rights reserved.

Report Bugs to @Kylejeong21 on X