Monday 23 September 2024

Show HN: Interactive Noise-Level Map https://bit.ly/4gC8Jnx

Show HN: Interactive Noise-Level Map https://bit.ly/4gPlhIz September 23, 2024 at 06:22PM

Show HN: Trakk.js – Real-Time Code Monitoring and Docs Generation https://bit.ly/47zaWw3

Show HN: Trakk.js – Real-Time Code Monitoring and Docs Generation Hello HN, I’ve developed an npm package called trakk-js, designed to help frontend developers while they're developing their applications locally. It provides a clean UI panel that loads on top of your web application, and presents all of the below in real-time : - Tracks function calls, errors, requests, and user interactions (with screenshots) with detailed insights. - Filters unimportant events and shows app stats (slowest/fastest loops, frequent calls, etc.). - Generates automatic documentation with a single click. Why use it? - Debugging: Clean UI to trace your app’s code flow in real-time. - Onboarding: Newcomers can easily understand app behavior by tracking event flow. - Documentation: Generates accurate, up-to-date docs automatically after code changes. It's framework agnostic, works with .js, .jsx, .ts, .tsx files, and doesn’t modify your code. It's currently in test mode so feel free to check it out. Looking forward to your feedback! https://bit.ly/47yoIyV September 23, 2024 at 12:01PM

Sunday 22 September 2024

Show HN: I built a tool to roast landing pages using AI agents https://bit.ly/3Ba6R58

Show HN: I built a tool to roast landing pages using AI agents I built a tool to roast landing pages with AI agents. I was gathering feedback from watching landing page roast videos, and figured out I could prompt LLMs to analyse a screenshot and roast based on the same criteria. It's not 100% accurate yet, but it has been really insightful when I've tested it on my own websites. Let me know what you think! https://bit.ly/3B8mk5K September 23, 2024 at 02:05AM

Show HN: PlayCodeAI – A tool I created to let my kid create their own videogames https://bit.ly/47DT1UI

Show HN: PlayCodeAI – A tool I created to let my kid create their own videogames Hi hn, Its been a while since my kid has been dreaming to make videogames, as you know, the entry bar is high, too many technical details are involved. A few months ago, we started making games, we have tried many different ways, from dragging blocks to write code with a high-level library to make it simple, it is still too much work. Getting into the AI boat, I decided to give it a try for making games, turns out that it works super nicely, still, you still have many technical concepts involved, what language should the game be written in? where do you store the file/assets? how do you run it? I decided creating a simple playground where most of the tech details are already defined, html/javascript due to the portability they provide, we can get the code and see the result right away, same way, we can easily export it and upload it to a server. So far, the results are amazing, my kid has managed to create 10 simple games in a few hours with no help at all (the landing page includes screenshots from these). I strongly believe that this can help many other people to bring their ideas to life. As of now, the tool is simple, it runs on the client side, requiring an OpenAI API Key to interact with the models, it has the problem that only paid users can access this and I hope to remove that barrier soon but this was the simplest/fastest way to get things done. A big limitation relates to image loading, many images have CORS limitations that chatgpt can't detect, games without images aren't fun and I hope to solve this soon (suggestions accepted). I'd also love making it simple to share the results with others. Anyway, if your kid is willing to make a videogame, I encourage you to try this out, any feedback should help me to polish this to be usable for others. Thanks. https://bit.ly/3BhumJJ September 22, 2024 at 09:19PM

Show HN: Inbound Email (SMTP) to Webhook https://bit.ly/4ee73yU

Show HN: Inbound Email (SMTP) to Webhook Here's my first (hopefully of many) open source release. A minimal script to receive emails via SMTP, parse content (including headers), store attachments in Amazon S3, and forward email content to a webhook. I use it to power DMARC report storage and email content testing. Some of the big email API providers have inbound APIs but costs can rack up fast if you're using them at scale. Hence why I built this. https://bit.ly/3MVyTnK Features - SMTP server to receive emails concurrently - Parses incoming emails using mailparser - Uploads attachments to Amazon S3 - Forwards parsed email content to a specified webhook - Configurable via environment variables - Handles large attachments gracefully - Queue system for processing multiple emails and webhook requests simultaneously https://bit.ly/3MVyTnK September 22, 2024 at 07:19AM

Show HN: Formulaer – Free, simple and clean forms https://bit.ly/4gwfaIT

Show HN: Formulaer – Free, simple and clean forms https://bit.ly/3BmVAys September 22, 2024 at 08:04AM

Saturday 21 September 2024

Show HN: PDF to MD by LLMs – Extract Text/Tables/Image Descriptives by GPT4o https://bit.ly/4dio75H

Show HN: PDF to MD by LLMs – Extract Text/Tables/Image Descriptives by GPT4o I've developed a Python API service that uses GPT-4o for OCR on PDFs. It features parallel processing and batch handling for improved performance. Not only does it convert PDF to markdown, but it also describes the images within the PDF using captions like `[Image: This picture shows 4 people waving]`. In testing with NASA's Apollo 17 flight documents, it successfully converted complex, multi-oriented pages into well-structured Markdown. The project is open-source and available on GitHub. Feedback is welcome. https://bit.ly/3MSbO58 September 22, 2024 at 03:05AM

Show HN: A tool to easily convert any web page into an eBook https://bit.ly/47CBjkt

Show HN: A tool to easily convert any web page into an eBook I’ve built a tool that allows you to convert any web content into an ebook with just a few clicks. The idea came from my need to frequently save articles or web pages as ebooks for offline reading and sharing. However, I found existing tools either too complex or lacking flexibility, so I decided to create something simpler, faster, and that supports both EPUB and PDF formats. Key Features: - Quick Conversion: Input a list of URLs, with each URL treated as a chapter, and the tool will automatically generate an ebook in either EPUB or PDF format. - Content Optimization: It automatically optimizes the content for better structure and readability in ebook format. - Multilingual Support: It works with web pages in multiple languages. EPUB or PDF Output: You can choose the format you prefer. - Send Directly to Kindle: You can send the generated ebook directly to your Kindle device from Ebookany. I’d love to get feedback from the community to help improve the tool and add new features. Feel free to try the tool here: https://bit.ly/3MSTCZf . Thank you for reading, and I look forward to your thoughts! https://bit.ly/3MSTCZf September 21, 2024 at 07:59AM

Friday 20 September 2024

Show HN: Container Desktop – Podman Desktop Companion https://bit.ly/3XTvlJ3

Show HN: Container Desktop – Podman Desktop Companion https://bit.ly/4enTay8 September 20, 2024 at 07:08PM

Show HN: Turn your dreams into reality with this life planner app https://bit.ly/3TDDBKF

Show HN: Turn your dreams into reality with this life planner app Hi, this is Ygee, and I'd like to share the story of Y-Pod. Most people believe their big dreams are impossible to achieve, so they settle for less—not because they can’t, but because they feel overwhelmed and disconnected from that distant future. I felt the same way. It was a struggle juggling multiple apps like notes, to-dos, and calendars to plan my goals. I realized a dedicated app to organize my life goals would not only help me but also allow me to showcase my technical and creative skills. That’s how Y-Pod was born — to bridge the gap between big lifelong dreams and small daily actions, empowering users to turn their dreams into reality. My hope is that it will help others live their dream lives and, in doing so, make the world a better place. https://apple.co/3BdZHgi September 21, 2024 at 01:54AM

Show HN: Free Chrome extension to bring your knowledge base where your work is https://bit.ly/4d9vX1j

Show HN: Free Chrome extension to bring your knowledge base where your work is We have built a free extension for Chrome that integrates with your knowledge base on Zendesk, HelpScout, or HelpCenter.io so you can access your content from anywhere and integrate it with OpenAI for instant answers. The extension also works inside Gmail to automate writing emails and email replies using the content of your help center. https://bit.ly/3Bdnptd September 20, 2024 at 10:45AM

Show HN: Compare iPhone costs around the world in your currency https://bit.ly/3TySw8E

Show HN: Compare iPhone costs around the world in your currency https://bit.ly/3Tx1p2L September 20, 2024 at 09:28AM

Thursday 19 September 2024

Show HN: ts-blank-space – fast TypeScript type-stripper https://bit.ly/4ev9zAu

Show HN: ts-blank-space – fast TypeScript type-stripper We've built a new type-stripping compiler for TypeScript source: `ts-blank-space` It's: * 5.6x faster than `tsc` due to zero-codegen * Written in TypeScript * Uses the official TypeScript parser * Accurate/preserved source locations * In used in production It uses the same novel approach that inspired Node 22.6.0's `--experimental-strip-types` functionality, released last month https://bit.ly/4gzx2m0 September 19, 2024 at 02:45PM

Show HN: LeanRL: Fast PyTorch RL with Torch.compile and CUDA Graphs https://bit.ly/3MRVf9B

Show HN: LeanRL: Fast PyTorch RL with Torch.compile and CUDA Graphs We're excited to announce that we've open-sourced LeanRL, a lightweight PyTorch reinforcement learning library that provides recipes for fast RL training using torch.compile and CUDA graphs. By leveraging these tools, we've achieved significant speed-ups compared to the original CleanRL implementations - up to 6x faster! Reinforcement learning is notoriously CPU-bound due to the high frequency of small CPU operations. PyTorch's powerful compiler can help alleviate these issues, but comes with its own costs. LeanRL addresses this challenge by providing simple recipes to accelerate your training loop and better utilize your GPU. Key results: - 6.8x speed-up with PPO (Atari) - 5.7x speed-up with SAC - 3.4x speed-up with TD3 - 2.7x speed-up with PPO (continuous actions) Why LeanRL? - Single-file implementations of RL algorithms with minimal dependencies in the spirit of gpt-fast - All optimization tricks are explained in the README - no heavy doc, just simple tricks - Forked from the popular CleanRL library Check out LeanRL on https://bit.ly/3XTi3MI now! https://bit.ly/3TC4lei September 20, 2024 at 01:27AM

Show HN: Real-time election betting odds and forecasts https://bit.ly/3zenI6x

Show HN: Real-time election betting odds and forecasts https://bit.ly/47x5mtT September 19, 2024 at 12:57PM

Wednesday 18 September 2024

Show HN: ts-remove-unused – Remove unused code from your TypeScript project https://bit.ly/4deCOGK

Show HN: ts-remove-unused – Remove unused code from your TypeScript project ts-remove-unused is a command line tool for TypeScript projects that auto-fixes unused `export`s. It removes the export keyword from the declaration or the whole declaration based on its usage in the project. There are some similar tools but they are focused on "detecting" rather than "removing" so I've built one myself. I wanted a solution that's as minimal as possible; config files to specify the files in your project shouldn't be necessary because that info should be already configured in tsconfig.json. All you need to do is to specify your entrypoint file. Feedback is much appreciated! https://bit.ly/47Bl3k2 September 16, 2024 at 09:39AM

Show HN: High-Level Synthetic Data Generation from Verbal Descriptions https://bit.ly/4epH1sj

Show HN: High-Level Synthetic Data Generation from Verbal Descriptions Hi all! In statistics, synthetic data benchmarks are important for understanding the strengths and limitations of competing algorithms. For example, in clustering – the art of identifying groups of data points that are similar to each other – researchers typically study how algorithms perform on mock scenarios like “five oblong clusters in 2D with some overlap.” Unfortunately, creating these scenarios typically involves a lot of work. You have to design entire data sets so they match the scenario description. In clustering, this involves selecting cluster centers, tuning covariance matrices, etc. As part of my PhD at Caltech, I have developed a high-level synthetic data generator for clustering that automates this process. You only have to describe your desired scenario in English, and the algorithm takes care of creating data sets with suitable clusters. This means researchers can easily set up benchmarks by passing scenario descriptions as a list of strings. We have put up a demo here: https://bit.ly/4d9ip61 . Curious to hear your thoughts! Mike https://bit.ly/4d9ip61 September 19, 2024 at 04:17AM

Show HN: Poker over SSH https://bit.ly/47vP70m

Show HN: Poker over SSH I've been interested in making a TUI application and learning Rust for a while now. Since some friends and family started playing poker, I found it a good opportunity to make my "learning Rust" project a poker TUI app. Inspired by https://bit.ly/4gwM8Ja , I also wanted to make something that could be connected to and played with just using SSH. For me, poker is usually with friends and family, so I focused the app's target audience to be private, small-scale games, avoiding the headaches associated with scaling to some massive web-based platform. Big thanks again to the folks that've already taught me some cool things about Rust and UI design. https://bit.ly/4gJxOgD September 19, 2024 at 02:54AM

Show HN: Tipsy simulated tic tac toe https://bit.ly/4esuc0a

Show HN: Tipsy simulated tic tac toe Wanted to try out Cursor and was inspired by a recent podcast by Greg Isenberg/Jason Fried to make "weird" tech experiences. Fun little https://bit.ly/4ddlK3U September 14, 2024 at 05:43PM

Show HN: Parse your Postgres queries into a fully-typed AST in TypeScript https://bit.ly/4eL5k4j

Show HN: Parse your Postgres queries into a fully-typed AST in TypeScript Hey all, I'm the creator of @pg-nano/pg-parser. I'm using it in pg-nano[1] to statically analyze Postgres schemas spread across multiple SQL files for a couple of reasons: 1. Each CREATE statement needs to be in topological order, so pg-nano's dev command can execute them without issue. 2. pg-nano has a plugin system like Vite that allows SQL generation based on the parsed schema. Probably to the surprise of no one, working with an untyped AST feels like you're back in the days of JavaScript, because well... you are. Most of you know by now just how great TypeScript and static types in general are, especially if you appreciate SQL. So why is this project worth sharing with you? Well, writing the AST type definitions by hand would have taken me way too much time. It would also be a bear to keep up-to-date as Postgres continues to evolve. To my surprise, I discovered that libpg_query, the C library used under-the-hood, includes JSON definitions in their /srcdata/ folder. I figured I could use them to generate the type definitions. Genius, right? Okay... maybe not genius , but still cool, I think. You see, those JSON definitions provided by libpg_query? They don't exactly contain the TypeScript definitions (was that obvious?). No, no. I had to translate them into TypeScript definitions. (I'm sure you could have done it, yes yes. But did you? No siree bob) It was pain-staking, but overall really not too hard. Time-consuming? Yes, but not as much as writing the type definitions by hand. So... was it worth it? Only time will tell. I hope you find it as useful as I do. And that's all I've got, so thanks for reading. P.S. The build for Windows is broken, so if anyone could lend a hand, you would be a true hero. [1]: https://bit.ly/3zqP7SH (not ready for production use) https://bit.ly/4eL5kRR September 18, 2024 at 08:49AM