Friday, 28 April 2023

Show HN: ChatGPT Plugin that semantically searches Google Maps https://bit.ly/3Vda2z6

Show HN: ChatGPT Plugin that semantically searches Google Maps https://bit.ly/3LDbDeb April 28, 2023 at 08:35PM

Show HN: Use Terraform Modules in Pulumi https://bit.ly/3NkXWBU

Show HN: Use Terraform Modules in Pulumi Use your battle-tested or 3rd party Terraform modules directly in your Pulumi workflow. https://bit.ly/41M4IoV April 27, 2023 at 09:18AM

Show HN: Code-Narrator: Automating Documentation with GPT-4 https://bit.ly/3AzzRzO

Show HN: Code-Narrator: Automating Documentation with GPT-4 As a solo developer on a sizeable project, I found myself facing the challenge of creating documentation, a task I admittedly do not enjoy. Fortunately, ChatGPT arrived just in time. After experimenting with it, I discovered that it generates high-quality documentation for code files, even better than what I could produce manually. This realization led me to develop Code-Narrator, a client that simplifies the documentation process. Code-Narrator ( https://bit.ly/3VmcxPB ) utilizes GPT-4 to analyze your code files and automatically generate documentation. The tool is language-agnostic and has been tested with TypeScript, GraphQL, Solidity, C#, Kotlin, and more. As long as the files are in plain text, Code-Narrator should work seamlessly. The primary goal of Code-Narrator is to ease the documentation process for developers, transforming them from writers to editors. While developers are still responsible for verifying the accuracy of the generated documentation, the initial writing is handled by the AI. If GPT-4 produces incorrect documentation, it typically indicates that the code needs clarification, or a brief comment should be added to guide the AI. A general rule of thumb is that if GPT-4 cannot comprehend the code, it may be too complex for the next developer. However, Code-Narrator is constrained by GPT-4's 8192-token limit, which can be problematic for extensive code files. Those with access to the gpt-4-32k variant should expect better results. Upon its first run, Code-Narrator creates a configuration file by analyzing your project, and then prompts you to review it for accuracy. The key configuration aspects include the "include," "config_files," and "source_path" settings. In its second run, Code-Narrator generates documentation for your entire project. The process is time-consuming, taking approximately 45 minutes to complete from scratch. However, the tool is: - Flexible, allowing for the creation of custom pages such as How-To guides, tutorials, FAQs, READMEs, and other bespoke content. - Multilingual, supporting 25+ languages (as many as GPT-4 supports). - Versatile, capable of generating documentation in various formats (LaTeX, HTML, with the default being Markdown). For a demonstration on transforming a few lines into a How-To guide, watch this video: https://www.youtube.com/watch?v=uJtVCUOTkvw . Remember that brevity is key, as the more concise the input, the more GPT-4 can contribute. Code-Narrator also supports custom plugins, with tutorials available at https://bit.ly/3LCk49z... . In terms of size and cost, Code-Narrator consists of 45 files and 1712 lines of code. The total cost of generating documentation for the entire project is approximately $2.5, a significant savings compared to manual documentation. During the development of Code-Narrator, I noticed several benefits: - Improved function naming: Reading the generated documentation led me to revise vague or overly general function names, resulting in better code and documentation. - Concise input: Focusing on reducing the size of the input file (liquid) became a fun challenge, helping to optimize the process. - Enjoyable interaction: Working with ChatGPT proved more enjoyable than manually writing documentation, and the more I experimented, the better the results. - Minimal input for tutorials: I was pleasantly surprised by how little input was required to create How-To guides and tutorials using GPT-4. - Encouragement to refactor: The 8K token limitation may be restrictive, but it also encourages developers to refactor their code for improved readability and structure. As a prototype and proof of concept, Code-Narrator has some limitations. I'm excited to see where Code-Narrator goes from here, and your feedback is invaluable. Thank you for taking the time to explore this project! https://bit.ly/3VmcxPB April 28, 2023 at 11:19AM

Thursday, 27 April 2023

Show HN: ScrapScript – A tiny functional language for sharable software https://bit.ly/3VsZyMh

Show HN: ScrapScript – A tiny functional language for sharable software Hi friends, I started casually working on scrapscript in 2015. I built a few compilers over the years to test out various ideas/implementations, and I think I'm finally happy with the overall design. The code is not public yet. Email me at hello@taylor.town if you're interested in joining the core team later this year. Let me know if you have any questions or feedback :) https://bit.ly/3Hn52lH April 26, 2023 at 12:45PM

Show HN: Codeium-Chrome: Free open-source AI autocomplete Chrome extension https://bit.ly/3Hkiwi7

Show HN: Codeium-Chrome: Free open-source AI autocomplete Chrome extension https://bit.ly/3Hj0Rr7 April 27, 2023 at 09:44PM

Show HN: A Bel compiler to Emacs Lisp bytecode https://bit.ly/3LamoDz

Show HN: A Bel compiler to Emacs Lisp bytecode In his classic Lisp in Small Pieces, Christian Queinnec actually suggested this project: compiling Scheme to Emacs Lisp byte code. I took up the challenge with Bel instead of Scheme. Much of the code actually comes from the book but adapted to the problem at hand. https://bit.ly/3oFAZPC April 27, 2023 at 08:53PM

Show HN: Karrio – Open-Source Multi-Carrier Shipping API https://bit.ly/41Hx9nH

Show HN: Karrio – Open-Source Multi-Carrier Shipping API Hey HN! Daniel and Delali here; we are working on Karrio, an open-source shipping infrastructure. Our focus is on making it easy to integrate shipping into platforms. With Karrio’s open-source and universal shipping API, you can set up connections to a worldwide network of shipping carriers for national, international and last-mile services but also build your own network of local carriers. You can seamlessly add built-in shipping functionalities to your platform, enabling users to fetch live rates, buy labels, track packages, and more. You can check out our Github repo here: https://bit.ly/428gp9b . For developers in the logistics space, carrier integration is often a painful experience. We believe that an open-source solution is a viable alternative to building a shipping system from scratch in-house or getting locked in with a Saas multi-carrier API. Karrio aims to put you in control of your shipping network with lower engineering costs. (see how to get started here: https://bit.ly/421YO2p ). So far, we’ve built a unified shipping API compatible with most major carriers, such as FedEx, UPS, DHL, USPS, Canada Post, and more. With the flexibility of open-source, Karrio has interoperability with other multi-carriers and 3PL (EasyPost, Freightcom, etc.). And we plan on building more integrations. Karrio is evolving with the help of our community of early adopters, and we want to keep that going. Checkout our README to get involved with the project, file issues and request or contribute carrier integrations We currently offer a managed cloud service in private beta, with a pay-as-you-go plan for platforms and custom prices for enterprise customers. Don’t hesitate to reach out if you have any questions. We would love to hear your feedback and how Karrio can help with your project. https://bit.ly/428gp9b April 27, 2023 at 01:29PM

Show HN: Scrawl-canvas filter functionality demo https://bit.ly/443jQzP

Show HN: Scrawl-canvas filter functionality demo The Scrawl-canvas library's filters functionality is inspired by SVG filters. Filter operations can be ordered in ways to combine different sets of operations to achieve complex effects. The library comes with an extensive set of pre-built filters, including: color and alpha channel manipulations; matrix, pixellate, blur; compositing and blending operations; palette reduction and dithering; image and noise asset upload (for use with composites and blends); gradient, and displacement, mapping. Filters can be applied to individual graphical objects, to Groups of such objects, and also to Cell displays. Additional links: - A gallery of SC compound filter effects - https://bit.ly/3n6HpHh - SC stencil (background) filter functionality - https://bit.ly/3LCEWxL https://bit.ly/41Y1uy0 April 27, 2023 at 04:15PM

Show HN: E2EE iOS Keyboard Calendar Built in React Native https://bit.ly/3Lk9raq

Show HN: E2EE iOS Keyboard Calendar Built in React Native https://bit.ly/3Lk9sLw April 27, 2023 at 12:47PM

Show HN: A Truly Terrible Text Editor https://bit.ly/3L3Mp7q

Show HN: A Truly Terrible Text Editor https://bit.ly/3NgyY6M April 27, 2023 at 07:17AM

Wednesday, 26 April 2023

Show HN: Web app turns your text into p5js (graphics) code using GPT https://bit.ly/3HhJmqZ

Show HN: Web app turns your text into p5js (graphics) code using GPT Text → GPT → p5 | An app that turns your text prompt into p5js code (computer graphics) using OpenAI's GPT and displays it. Under the hood: Nextjs, React, CodeMirror, p5js I got into programming through arduino and processing. I've always thought about how to lower the barriers for people to start programming. With GPT, we can now turn plain text into code, allowing people to start coding without knowing code. OpenAI APIs don't come cheap! If you like the project, consider sponsoring access for others here: https://bit.ly/3ng3yTk Cheers! https://bit.ly/40MPgYa April 27, 2023 at 04:28AM

Show HN: I built an online programming language https://bit.ly/3HjS34d

Show HN: I built an online programming language https://bit.ly/40HsHUI April 27, 2023 at 01:38AM

Show HN: I'm working on an open source writing app https://bit.ly/41CAPXS

Show HN: I'm working on an open source writing app Hey Hacker News, I'm a writer who sometimes misses the fancy features of a code editor, so I started building Chisel. What can Chisel do? - Command palette like VSCode - Git-like history to keep track of your writing journey - Writing feedback ala Hemingway or Grammarly - And it even integrates with ChatGPT I've tried out some other apps like Bear and Obsidian, but Chisel has been a better fit. It's more about writing and less about note-taking. Head over to https://bit.ly/3LcdWnn to check it out! April 26, 2023 at 02:07PM

Show HN: An interactive map showing live wind farm generation in Great Britain https://bit.ly/3VnyYEh

Show HN: An interactive map showing live wind farm generation in Great Britain GB Renewables Map an energy experiment created entirely in my free time (day job is visualisation at Octopus Energy). It's an interactive map showing live generation for major wind farms in Great Britain, showing what each wind farm is generating both now and in the past, and where that generation is physically located. Animated weather data is from WeatherLayers and shows current and historic wind conditions on the map, providing context to wind generation around the country. History mode allows you to go back in time and see wind generation and weather conditions for a particular date and time. It's great for exploring days of record generation, such as the 21.6GW record on January 10th, 2023! Prediction mode lets you see what wind farms are estimated to be generating using current wind conditions and model based on historic generation and wind speeds. Is a wind farm generating as you expect, or is there something to look into? An experimental feature allows you to see what future wind farms could be generating today (or in the past!) if they were already built and operational. If you click the "sparkle" button on the map you'll get to see what the upcoming 3.6GW Dogger Bank wind farm is estimated to generate if it was operational today. There's an "About" section on the site that goes into detail on the various public data sources and how some of the features work. I also document a lot of this on my Twitter @robhawkes if you're curious. This is just the start and there are many more features to come! Please let me know your comments and suggestions. https://bit.ly/3mXgVYM April 26, 2023 at 12:53PM

Tuesday, 25 April 2023

Show HN: Google Meet, Zoom, Teams alternative Source code https://bit.ly/441FVi4

Show HN: Google Meet, Zoom, Teams alternative Source code https://bit.ly/443Lnkj April 25, 2023 at 11:13PM

Show HN: Introducing Palacio Albums – Create, Share and Explore Photo Albums https://bit.ly/3V915Ha

Show HN: Introducing Palacio Albums – Create, Share and Explore Photo Albums https://bit.ly/3H9iEB1 April 25, 2023 at 08:02AM

Show HN: Killport – CLI tool to kill processes running on a specified port https://bit.ly/40BQa9R

Show HN: Killport – CLI tool to kill processes running on a specified port https://bit.ly/41CXzqR April 25, 2023 at 10:38AM

Show HN: rpgGPT, RPG with LLM-Powered NPCs https://bit.ly/3oG03pK

Show HN: rpgGPT, RPG with LLM-Powered NPCs https://bit.ly/3mWpdQF April 25, 2023 at 04:08PM

Show HN: I made PromptWatch – LangChain tracing on steroids https://bit.ly/41DgDFh

Show HN: I made PromptWatch – LangChain tracing on steroids As I was building my first few chains, I noticed how difficult it was to understand what was going on, why GPT was responding the way it was, and how I could improve it. Tinkering with my prompts was so tedious - I had to either update the prompt template and rerun the whole chain, or grab the actual prompt, take it to OpenAI playground, tweak it there, and then make a template out of it again. That's why I decided to build something better! PromptWatch allows you to tune your prompt templates in the browser in a format appropriate for LangChain, decoupling template from parameters data. It also allows you to track your sessions and costs per your project and tenant, track template versions and more. Best of all, it's completely free! I would be thrilled to hear any feedback you have. Thanks so much for checking it out! https://bit.ly/44deRN0 April 25, 2023 at 07:11AM

Show HN: We Built an Open Partnerships Platform with Crypto Remittance https://bit.ly/41AQeYP

Show HN: We Built an Open Partnerships Platform with Crypto Remittance https://bit.ly/3Lu5uRA April 25, 2023 at 12:28PM