Saturday, December 31, 2022

Show HN: I Built Sailboat UI – Modern UI Framework for Tailwind CSS https://ift.tt/QJfDvCG

Show HN: I Built Sailboat UI – Modern UI Framework for Tailwind CSS Get start with 150+ Tailwind CSS components , built your website quickly with Sailboat UI. https://sailboatui.com/ December 31, 2022 at 02:18PM

Show HN: lambdaprompt – build, compose and call templated LLM prompts https://ift.tt/Awq8vIE

Show HN: lambdaprompt – build, compose and call templated LLM prompts For the past few months I've been building a lot of things with LLMs (GPT-3, Codex, etc.) as I've been trying to push them to their limits (especially towards applying them to the tabular data domain) When working on this, I've found there are some common patterns for solving problems (templating, chaining, functional-programming style operations, etc.) As I've iterated, I've come to believe that a functional style interface is likely going to power a new wave of systems I'm calling "prompt-machines"(systems where the core new unit of work is a "named" LLM prompt, extending the "function" concept). Additionally, in order to make the code capable of meta-prompting (where the LLM can write its own templated prompts), I aimed to make the interface and library as simple and lightweight as possible. I think I've achieved my goal, so I'm releasing the library to share with others! I mainly use lambdaprompt in two main ways: (1) to quickly try out "map" applying a LLM prompt against multiple inputs, to see how it behaves on a fixed set of inputs (2) to quickly iterate on a prompt-chain (taking the output of a prompt, and passing it to other prompts) to create complex behavior. An example of (2) that worked quite well is a Text-2-SQL prototype: It generates multiple SQL options, then executes each against the database (if it errors, asks `Codex-EDIT` to fix the errors and retry), then takes the most "consistent" answer as the valid answer. Simply by adding this prompt-chain on top of codex, we saw an improvement from ~75% to ~85% on a spider Text-2-SQL benchmark (On just a small sample of N=200). To increase usability it also ships (extras) with a fastapi app that registers any defined prompts as endpoints directly, and hosts the functions to be directly callable via HTTP-GET requests. This makes it easy to build client-applications off of these prompts, while allowing the prompt itself to be arbitrarily complex (composition of prompts) I hope you enjoy using it! Also, I'm super curious to hear if anyone else has been thinking about LLMs (composing them, building interfaces to them, etc.) in similar ways and what learnings have been (even if not though this library) https://ift.tt/WLYnmVS December 31, 2022 at 02:43PM

Show HN: Advent of Code 2022 (only first eight in different langs) https://ift.tt/H0YpXJT

Show HN: Advent of Code 2022 (only first eight in different langs) Tried/revisited/used: Elixir, Haskell, Python, Rust, JS, Rust-WASM, TypeScript, Java. With READMEs for each https://ift.tt/kJWpRV9 December 31, 2022 at 04:06AM

Show HN: Graphic AI Art Assistant for WhatsApp https://ift.tt/1ZgXD8w

Show HN: Graphic AI Art Assistant for WhatsApp https://ift.tt/oK9RUTA December 31, 2022 at 02:57AM

Show HN: Scripting language inspired by JavaScript and GLSL https://ift.tt/HnE2Uq5

Show HN: Scripting language inspired by JavaScript and GLSL I'm working on a scripting-language heavily inspired by Javascript and GLSL. The idea is to use this for a game engine I'm working on. https://ift.tt/5zGMbfd December 30, 2022 at 03:46AM

Friday, December 30, 2022

Show HN: I built a possible alternative to social media RSS https://ift.tt/3s47lKy

Show HN: I built a possible alternative to social media RSS Hi there, I built a chrome extension to grab new posts from social media. Instagram, twitter, Pinterest, etc don't really allow for RSS so I worked on this alternative to get new posts. Hope this might be useful for some of you. https://ift.tt/VgU0fep December 30, 2022 at 10:45PM

Show HN: Distilhn.com – Front-Page Articles Summarized with Machine Learning https://ift.tt/UYtWdv2

Show HN: Distilhn.com – Front-Page Articles Summarized with Machine Learning Hey HN, I've built a little website to show news articles with a summary so that I don't have to RTFA if I just want a rough sense of what it covers :) I also share the summaries in an RSS feed for those who'd prefer to use their own reader. Let me know what you think! https://ift.tt/dxYMArn December 30, 2022 at 06:28PM

Show HN:Every Team Is Building the Same Cache https://ift.tt/4pYJ9NC

Show HN:Every Team Is Building the Same Cache https://ift.tt/FcwphYl June 26, 2026 at 03:10AM