The best Hacker News stories from Show from the past day
Latest posts:
Show HN: The HN Recap – A daily podcast that recaps the top HN posts of the day
The podcast is produced entirely using AI tools. We welcome your feedback on all aspects including the following:<p>Clarity of post summaries: Are the summaries easy to understand? Would you like them to be more or less detailed?
Top 10 focus: Should we continue featuring the top 10 posts or consider covering more or fewer posts?
Background music: Do you enjoy the music in the background, or would you prefer a music-free podcast?
Synthetic voice recognition: Were you able to identify that the voice is AI-generated?
Additional suggestions: If you have any other ideas for improvement, please feel free to share.
Create your own podcast by visiting <a href="https://podcast.wondercraft.ai/" rel="nofollow">https://podcast.wondercraft.ai/</a>
Show HN: Shell-maker, a maker of Emacs shells
Show HN: Shell-maker, a maker of Emacs shells
Show HN: A minimal job board for signal processing engineers
I started <a href="https://signalprocessingjobs.com/" rel="nofollow">https://signalprocessingjobs.com/</a> to organize a couple of side projects I have:<p>- a job board for signal processing engineers
- Journal2MATLAB: a blog that turns academic papers into MATLAB code
- some work on using cocotb for verifying DSP HDL
- and some MATLAB code snippets i keep coming back to<p>Hope others in the community find it useful :)
Show HN: Supavisor – a Postgres connection pooler written in Elixir
hey hn, supabase ceo here<p>this is a postgres connection pooler. it’s similar to pgbouncer, but built with Elixir and specifically designed for multi-tenancy.<p>it’s still under development, but it’s at a stage where we can gather a feedback from the community and you can try it yourself. we aren’t using this in production yet, but aiming to deploy it for a subset of databases in the next 2 months.<p>We have the following benchmarks (details in the readme):<p><pre><code> - Elixir Cluster maintaining 400 connections to a single Postgres database
- 1_000_000 clients connecting to the Elixir cluster
- Sending 20_000 transactions per second
- Consuming 7.8G RAM and ~50% CPU on a 64vCPU machine
</code></pre>
supavisor can be run as a cluster or a single node/binary. It’s handling 90%+ of the throughput of pgbouncer on a local machine (running pgbench)<p>we will place this in front of all supabase databases. It will eventually be able to handle multiple types of connections: traditional TCP connections, and HTTP connections for developers who are connecting to Postgres in serverless environments using Prisma, Kysely, Drizzle, etc<p>the proxy will serve as a connection buffer while we scale databases: scaling up compute with zero-downtime, and for scale-to-zero - triggering a server restart when a connection is initiated<p>finally, i want to shout out to Jose and the Dashbit/elixir team. They were extremely helpful with the design & architecture. they have been valuable partners, and elixir continues to be an amazing language for tools like this and our Realtime server.
Show HN: Supavisor – a Postgres connection pooler written in Elixir
hey hn, supabase ceo here<p>this is a postgres connection pooler. it’s similar to pgbouncer, but built with Elixir and specifically designed for multi-tenancy.<p>it’s still under development, but it’s at a stage where we can gather a feedback from the community and you can try it yourself. we aren’t using this in production yet, but aiming to deploy it for a subset of databases in the next 2 months.<p>We have the following benchmarks (details in the readme):<p><pre><code> - Elixir Cluster maintaining 400 connections to a single Postgres database
- 1_000_000 clients connecting to the Elixir cluster
- Sending 20_000 transactions per second
- Consuming 7.8G RAM and ~50% CPU on a 64vCPU machine
</code></pre>
supavisor can be run as a cluster or a single node/binary. It’s handling 90%+ of the throughput of pgbouncer on a local machine (running pgbench)<p>we will place this in front of all supabase databases. It will eventually be able to handle multiple types of connections: traditional TCP connections, and HTTP connections for developers who are connecting to Postgres in serverless environments using Prisma, Kysely, Drizzle, etc<p>the proxy will serve as a connection buffer while we scale databases: scaling up compute with zero-downtime, and for scale-to-zero - triggering a server restart when a connection is initiated<p>finally, i want to shout out to Jose and the Dashbit/elixir team. They were extremely helpful with the design & architecture. they have been valuable partners, and elixir continues to be an amazing language for tools like this and our Realtime server.
Show HN: Supavisor – a Postgres connection pooler written in Elixir
hey hn, supabase ceo here<p>this is a postgres connection pooler. it’s similar to pgbouncer, but built with Elixir and specifically designed for multi-tenancy.<p>it’s still under development, but it’s at a stage where we can gather a feedback from the community and you can try it yourself. we aren’t using this in production yet, but aiming to deploy it for a subset of databases in the next 2 months.<p>We have the following benchmarks (details in the readme):<p><pre><code> - Elixir Cluster maintaining 400 connections to a single Postgres database
- 1_000_000 clients connecting to the Elixir cluster
- Sending 20_000 transactions per second
- Consuming 7.8G RAM and ~50% CPU on a 64vCPU machine
</code></pre>
supavisor can be run as a cluster or a single node/binary. It’s handling 90%+ of the throughput of pgbouncer on a local machine (running pgbench)<p>we will place this in front of all supabase databases. It will eventually be able to handle multiple types of connections: traditional TCP connections, and HTTP connections for developers who are connecting to Postgres in serverless environments using Prisma, Kysely, Drizzle, etc<p>the proxy will serve as a connection buffer while we scale databases: scaling up compute with zero-downtime, and for scale-to-zero - triggering a server restart when a connection is initiated<p>finally, i want to shout out to Jose and the Dashbit/elixir team. They were extremely helpful with the design & architecture. they have been valuable partners, and elixir continues to be an amazing language for tools like this and our Realtime server.
Show HN: Compress GPT-4 Prompts
Hey HN!<p>I recently built Prompt Reducer, an app that makes it easier to compress GPT-4 prompts. The main goal is to reduce the number of tokens in each prompt, thereby reducing the cost of running GPT-4. I figured since @gfodor tweeted about compressing GPT-4. It’s still early, and it does not work perfectly, but I’d love to hear any feedback or suggestions for how to make it faster or more efficient.
Show HN: Learn Rust 101 – A guide to aid your journey of becoming a Rustacean
Show HN: Learn Rust 101 – A guide to aid your journey of becoming a Rustacean
Show HN: Learn Rust 101 – A guide to aid your journey of becoming a Rustacean
Show HN: Spotify streaming GDPR dump local analyzer
Show HN: Spotify streaming GDPR dump local analyzer
Show HN: Spotify streaming GDPR dump local analyzer
Show HN: A ChatGPT TUI with custom bots
Hi HN! We just shipped a full-featured TUI (Text User Interface) for chatting with your Marvin bots, powered by GPT 4 or GPT-3.5. Like all of Marvin, it's fully open-source and we hope you find it useful. To launch it, upgrade and run `marvin chat`.<p>The TUI is built with Textual (<a href="https://github.com/textualize/textual/">https://github.com/textualize/textual/</a>) and uses some of its newest features including background workers and modals. We've made base TUIs before but this is the first one that's a true "app" with many screens and coordinated global state. Happy to answer any questions about working with Textual - once it "clicked" it was surprisingly similar to building a traditional front end! Small note: Terminal.app on MacOS isn't great for TUIs, so while it'll work, we suggest an alternative terminal.<p>One of our goals with the TUI was to integrate Marvin's bots into the familiar chat UX. Bots can have distinct personalities, instructions, and use plugins, so each one is like a mini "conversational application." You might know about Marvin because of AI Functions, but at its core Marvin is a library for building and deploying bots (in fact, AI functions are actually a bot!). We started building the TUI as a way to quickly explore and assess our bots' capabilities. It quickly became so useful that we decided to make it a first-class experience.<p>We've preloaded several bots, including one that can guide you through an RPG and another that is obsessed with explaining regex, and will add many more. You can even create your own bots just by asking the default bot (Marvin) to help you.<p>We hope the TUI is a fun way to quickly interact with your bots and it was a great way for us to learn Textual. Please check out the code and let us know what enhancements we can add!
Show HN: A ChatGPT TUI with custom bots
Hi HN! We just shipped a full-featured TUI (Text User Interface) for chatting with your Marvin bots, powered by GPT 4 or GPT-3.5. Like all of Marvin, it's fully open-source and we hope you find it useful. To launch it, upgrade and run `marvin chat`.<p>The TUI is built with Textual (<a href="https://github.com/textualize/textual/">https://github.com/textualize/textual/</a>) and uses some of its newest features including background workers and modals. We've made base TUIs before but this is the first one that's a true "app" with many screens and coordinated global state. Happy to answer any questions about working with Textual - once it "clicked" it was surprisingly similar to building a traditional front end! Small note: Terminal.app on MacOS isn't great for TUIs, so while it'll work, we suggest an alternative terminal.<p>One of our goals with the TUI was to integrate Marvin's bots into the familiar chat UX. Bots can have distinct personalities, instructions, and use plugins, so each one is like a mini "conversational application." You might know about Marvin because of AI Functions, but at its core Marvin is a library for building and deploying bots (in fact, AI functions are actually a bot!). We started building the TUI as a way to quickly explore and assess our bots' capabilities. It quickly became so useful that we decided to make it a first-class experience.<p>We've preloaded several bots, including one that can guide you through an RPG and another that is obsessed with explaining regex, and will add many more. You can even create your own bots just by asking the default bot (Marvin) to help you.<p>We hope the TUI is a fun way to quickly interact with your bots and it was a great way for us to learn Textual. Please check out the code and let us know what enhancements we can add!
Show HN: BrowserBox – do stuff with browsers that you can't normally
Show HN: BrowserBox – do stuff with browsers that you can't normally
Show HN: BrowserBox – do stuff with browsers that you can't normally
Show HN: I built a website editor for TailwindCSS