The best Hacker News stories from Show from the past day

Go back

Latest posts:

Show HN: Phobos – an engine extension for Red Alert 2: Yuri's Revenge

Show HN: Cronexpr, a Rust library to parse and iter crontab expression

Show HN: Cronexpr, a Rust library to parse and iter crontab expression

Show HN: Cronexpr, a Rust library to parse and iter crontab expression

Show HN: Fast and Exact Algorithm for Image Merging

I developed the application, `image-stitcher` for image merging by automatically searching for overlap region.

Show HN: Fast and Exact Algorithm for Image Merging

I developed the application, `image-stitcher` for image merging by automatically searching for overlap region.

Show HN: Fast and Exact Algorithm for Image Merging

I developed the application, `image-stitcher` for image merging by automatically searching for overlap region.

Show HN: Fast and Exact Algorithm for Image Merging

I developed the application, `image-stitcher` for image merging by automatically searching for overlap region.

Show HN: Velvet – Store OpenAI requests in your own DB

Hey HN! We’re Emma and Chris, founders of Velvet (<a href="https://www.usevelvet.com" rel="nofollow">https://www.usevelvet.com</a>).<p>Velvet proxies OpenAI calls and stores the requests and responses in your PostgreSQL database. That way, you can analyze logs with SQL (instead of a clunky UI). You can also set headers to add caching and metadata (for analysis).<p>Backstory: We started by building some more general AI data tools (like a text-to-SQL editor). We were frustrated by the lack of basic LLM infrastructure, so ended up pivoting to focus on the tooling we wanted. So many existing apps, like Helicone, were hard to use as power users. We just wanted a database.<p>Scale: We’ve already warehoused 50m requests for customers, and have optimized the platform for scale and latency. We’ve built the proxy on Cloudflare Workers, and latency is nominal. We’ve built some “yak shaving” features that were really complex such as decomposing OpenAI Batch API requests so you can track each log individually. One of our early customers (<a href="https://usefind.ai/" rel="nofollow">https://usefind.ai/</a>) makes millions of OpenAI requests per day, up to 1500 requests per second.<p>Vision: We’re trying to build development tools that have as little UI as possible, that can be controlled entirely with headers and code. We also want to blend cloud and on-prem for the best of both worlds — allowing for both automatic updates and complete data ownership.<p>Here are some things you can do with Velvet logs:<p>- Observe requests, responses, and latency<p>- Analyze costs by metadata, such as user ID<p>- Track batch progress and speed<p>- Evaluate model changes<p>- Export datasets for fine-tuning of gpt-4o-mini<p>(this video shows how to do each of those: <a href="https://www.youtube.com/watch?v=KaFkRi5ESi8" rel="nofollow">https://www.youtube.com/watch?v=KaFkRi5ESi8</a>)<p>--<p>To see how it works, try chatting with our demo app that you can use without logging in: <a href="https://www.usevelvet.com/sandbox" rel="nofollow">https://www.usevelvet.com/sandbox</a><p>Setting up your own proxy is 2 lines of code and takes ~5 mins.<p>Try it out and let us know what you think!

Show HN: Coros – A Modern C++ Library for Task Parallelism

Hello Hacker News.<p>I’m Martin, a graduate student from Prague, and I’ve been working on Coros, a C++ library for task-based parallelism.<p>After spending some time with OpenMP and oneTBB, I wanted to try building a library using modern features from the C++ standard library. I’ve used coroutines for task encapsulation and C++23 expected for exception handling, while trying to maintain good performance.<p>Additionally, I’ve implemented monadic-like behavior to allow easy chaining of tasks, similar to the monadic operations in std::expected.<p>You can check out the project here: <a href="https://github.com/mtmucha/coros">https://github.com/mtmucha/coros</a><p>While this library isn’t fully-fledged or production-ready, I’d really appreciate your feedback!

Show HN: Coros – A Modern C++ Library for Task Parallelism

Hello Hacker News.<p>I’m Martin, a graduate student from Prague, and I’ve been working on Coros, a C++ library for task-based parallelism.<p>After spending some time with OpenMP and oneTBB, I wanted to try building a library using modern features from the C++ standard library. I’ve used coroutines for task encapsulation and C++23 expected for exception handling, while trying to maintain good performance.<p>Additionally, I’ve implemented monadic-like behavior to allow easy chaining of tasks, similar to the monadic operations in std::expected.<p>You can check out the project here: <a href="https://github.com/mtmucha/coros">https://github.com/mtmucha/coros</a><p>While this library isn’t fully-fledged or production-ready, I’d really appreciate your feedback!

Show HN: Coros – A Modern C++ Library for Task Parallelism

Hello Hacker News.<p>I’m Martin, a graduate student from Prague, and I’ve been working on Coros, a C++ library for task-based parallelism.<p>After spending some time with OpenMP and oneTBB, I wanted to try building a library using modern features from the C++ standard library. I’ve used coroutines for task encapsulation and C++23 expected for exception handling, while trying to maintain good performance.<p>Additionally, I’ve implemented monadic-like behavior to allow easy chaining of tasks, similar to the monadic operations in std::expected.<p>You can check out the project here: <a href="https://github.com/mtmucha/coros">https://github.com/mtmucha/coros</a><p>While this library isn’t fully-fledged or production-ready, I’d really appreciate your feedback!

Show HN: Coros – A Modern C++ Library for Task Parallelism

Hello Hacker News.<p>I’m Martin, a graduate student from Prague, and I’ve been working on Coros, a C++ library for task-based parallelism.<p>After spending some time with OpenMP and oneTBB, I wanted to try building a library using modern features from the C++ standard library. I’ve used coroutines for task encapsulation and C++23 expected for exception handling, while trying to maintain good performance.<p>Additionally, I’ve implemented monadic-like behavior to allow easy chaining of tasks, similar to the monadic operations in std::expected.<p>You can check out the project here: <a href="https://github.com/mtmucha/coros">https://github.com/mtmucha/coros</a><p>While this library isn’t fully-fledged or production-ready, I’d really appreciate your feedback!

Show HN: Httpdbg – A tool to trace the HTTP requests sent by your Python code

Hi,<p>I created httpdbg, a tool for Python developers to easily debug HTTP(S) client requests in Python programs.<p>I developed it because I needed a tool that could help me trace the HTTP requests sent by my tests back to the corresponding methods in our API client.<p>The goal of this tool is to simplify the debugging process, so I designed it to be as simple as possible. It requires no external dependencies, no setup, no superuser privileges, and no code modifications.<p>I'm sharing it with you today because I use it regularly, and it seems like others have found it useful too—so it might be helpful for you as well.<p>Hope you will like it.<p>cle<p>Source: <a href="https://github.com/cle-b/httpdbg">https://github.com/cle-b/httpdbg</a><p>Documentation: <a href="https://httpdbg.readthedocs.io/" rel="nofollow">https://httpdbg.readthedocs.io/</a><p>A blog post on a use case: <a href="https://medium.com/@cle-b/trace-all-your-http-requests-in-python-using-httpdbg-9db9110db981/" rel="nofollow">https://medium.com/@cle-b/trace-all-your-http-requests-in-py...</a>

Show HN: Httpdbg – A tool to trace the HTTP requests sent by your Python code

Hi,<p>I created httpdbg, a tool for Python developers to easily debug HTTP(S) client requests in Python programs.<p>I developed it because I needed a tool that could help me trace the HTTP requests sent by my tests back to the corresponding methods in our API client.<p>The goal of this tool is to simplify the debugging process, so I designed it to be as simple as possible. It requires no external dependencies, no setup, no superuser privileges, and no code modifications.<p>I'm sharing it with you today because I use it regularly, and it seems like others have found it useful too—so it might be helpful for you as well.<p>Hope you will like it.<p>cle<p>Source: <a href="https://github.com/cle-b/httpdbg">https://github.com/cle-b/httpdbg</a><p>Documentation: <a href="https://httpdbg.readthedocs.io/" rel="nofollow">https://httpdbg.readthedocs.io/</a><p>A blog post on a use case: <a href="https://medium.com/@cle-b/trace-all-your-http-requests-in-python-using-httpdbg-9db9110db981/" rel="nofollow">https://medium.com/@cle-b/trace-all-your-http-requests-in-py...</a>

Show HN: Httpdbg – A tool to trace the HTTP requests sent by your Python code

Hi,<p>I created httpdbg, a tool for Python developers to easily debug HTTP(S) client requests in Python programs.<p>I developed it because I needed a tool that could help me trace the HTTP requests sent by my tests back to the corresponding methods in our API client.<p>The goal of this tool is to simplify the debugging process, so I designed it to be as simple as possible. It requires no external dependencies, no setup, no superuser privileges, and no code modifications.<p>I'm sharing it with you today because I use it regularly, and it seems like others have found it useful too—so it might be helpful for you as well.<p>Hope you will like it.<p>cle<p>Source: <a href="https://github.com/cle-b/httpdbg">https://github.com/cle-b/httpdbg</a><p>Documentation: <a href="https://httpdbg.readthedocs.io/" rel="nofollow">https://httpdbg.readthedocs.io/</a><p>A blog post on a use case: <a href="https://medium.com/@cle-b/trace-all-your-http-requests-in-python-using-httpdbg-9db9110db981/" rel="nofollow">https://medium.com/@cle-b/trace-all-your-http-requests-in-py...</a>

Show HN: Httpdbg – A tool to trace the HTTP requests sent by your Python code

Hi,<p>I created httpdbg, a tool for Python developers to easily debug HTTP(S) client requests in Python programs.<p>I developed it because I needed a tool that could help me trace the HTTP requests sent by my tests back to the corresponding methods in our API client.<p>The goal of this tool is to simplify the debugging process, so I designed it to be as simple as possible. It requires no external dependencies, no setup, no superuser privileges, and no code modifications.<p>I'm sharing it with you today because I use it regularly, and it seems like others have found it useful too—so it might be helpful for you as well.<p>Hope you will like it.<p>cle<p>Source: <a href="https://github.com/cle-b/httpdbg">https://github.com/cle-b/httpdbg</a><p>Documentation: <a href="https://httpdbg.readthedocs.io/" rel="nofollow">https://httpdbg.readthedocs.io/</a><p>A blog post on a use case: <a href="https://medium.com/@cle-b/trace-all-your-http-requests-in-python-using-httpdbg-9db9110db981/" rel="nofollow">https://medium.com/@cle-b/trace-all-your-http-requests-in-py...</a>

Show HN: King Thirteen: 2048 with chess pieces, in under 13 KB

The game is vanilla JS, with SVG for graphics. Written for the js13kGames coding competition.<p>Notes on the game design: <a href="https://mvasilkov.animuchan.net/king-thirteen" rel="nofollow">https://mvasilkov.animuchan.net/king-thirteen</a>

Show HN: King Thirteen: 2048 with chess pieces, in under 13 KB

The game is vanilla JS, with SVG for graphics. Written for the js13kGames coding competition.<p>Notes on the game design: <a href="https://mvasilkov.animuchan.net/king-thirteen" rel="nofollow">https://mvasilkov.animuchan.net/king-thirteen</a>

Show HN: King Thirteen: 2048 with chess pieces, in under 13 KB

The game is vanilla JS, with SVG for graphics. Written for the js13kGames coding competition.<p>Notes on the game design: <a href="https://mvasilkov.animuchan.net/king-thirteen" rel="nofollow">https://mvasilkov.animuchan.net/king-thirteen</a>

< 1 2 3 ... 27 28 29 30 31 ... 718 719 720 >