Stacked Diffs with git rebase —onto
Hacker News (score: 32)Description
More from Hacker
Show HN: 30k IKEA items in flat text
Show HN: 30k IKEA items in flat text OP here.<p>I took the unofficial IKEA US dataset (originally scraped by jeffreyszhou) and converted all 30,511 products into a flat, markdown-like protocol called CommerceTXT.<p>The goal: See if a flatter structure is more efficient for LLM context windows.<p>The results: - Size: 30k products across 632 categories. - Efficiency: The text version uses ~24% fewer tokens (3.6M saved total) compared to the equivalent minified JSON. - Structure: Files are organized in folders (e.g. /products/category/), which helps with testing hierarchical retrieval routers.<p>The link goes to the dataset on Hugging Face which has the full benchmarks.<p>Parser code is here: <a href="https://github.com/commercetxt/commercetxt" rel="nofollow">https://github.com/commercetxt/commercetxt</a><p>Happy to answer questions about the conversion logic!
Show HN: Stash – Sync Markdown Files with Apple Notes via CLI
Show HN: Stash – Sync Markdown Files with Apple Notes via CLI
Show HN: Pion SCTP with RACK is 70% faster with 30% less latency
Show HN: Pion SCTP with RACK is 70% faster with 30% less latency SCTP is a low level protocol focused on reliable packet transmission. Unlike hopelessly flinging packets from one device to another, it makes sure that the packets are correct using CRC, removes duplicate packets, and allows for packets to be sent in any order.<p>Going into an established library, I thought that everything was already implemented and that there wasn't anything to do until I went through the existing issues and organized all the tasks and decided on an order. Sean DuBois (<a href="https://github.com/Sean-Der" rel="nofollow">https://github.com/Sean-Der</a>), one of the co-creators and current maintainers of Pion, an open-source pure Go implementation of WebRTC (which uses SCTP), introduced me to a dissertation that was written about improving SCTP from 2021 (<a href="https://duepublico2.uni-due.de/servlets/MCRFileNodeServlet/duepublico_derivate_00073893/Diss_Weinrank.pdf" rel="nofollow">https://duepublico2.uni-due.de/servlets/MCRFileNodeServlet/d...</a>). To my surprise, the features in it weren't actually implemented yet, and generally went unused even though it depicted pretty big improvements. This came as a bit of a shock to me considering the countless companies and services that actively use Pion with millions of users on a daily basis.<p>This led to two things: 1) implement the feature (done by me) and 2) measure the performance (done by Joe Turki <a href="https://github.com/JoeTurki" rel="nofollow">https://github.com/JoeTurki</a>). If you're interested in reading more, please check out the blog post where we go over what SCTP is used for, how I improved it, and the effort that went into making such a large improvement possible.<p>This also marks a huge milestone for other companies and services that use SCTP as they can refer to the implementation in Pion for their own SCTP libraries including any real-time streaming platforms such as Microsoft Teams, Discord screen share, Twitch guest star, and many more!<p>For my personal background, please take a look at a comment below about what it was like for me to get started with open-source and my career related journeys. Thanks for reading!
Production-Grade Container Deployment with Podman Quadlets – Larvitz Blog
Production-Grade Container Deployment with Podman Quadlets – Larvitz Blog
No other tools from this source yet.