The best Hacker News stories from Show from the past day
Latest posts:
Show HN: PGlite – in-browser WASM Postgres with pgvector and live sync
Hey, Sam and the team from ElectricSQL here.<p>PGlite is a WASM Postgres build packaged into a TypeScript/JavaScript client library, that enables you to run Postgres in the browser, Node.js and Bun, with no need to install any other dependencies. It's 3mb Gzipped, now has support for many Postgres extensions, including pgvector, and it has a reactive "live query" API. It's also fast, with CRUD style queries executing in under 0.3 ms, and larger, multi-row select queries occurring within a fraction of a single frame.<p>PGlite started as an experimental project we shared on X, and the response to it was incredible, encouraging us to see how far we could take it. Since then we have been working to get it to a point where people can use it to build real things. We are incredibly excited as today, with the release of v0.2, the Supabase team has released the amazing <a href="http://postgres.new" rel="nofollow">http://postgres.new</a> site built on top of it. Working with them to deliver both PGlite and postgres.new has been a joy.<p>- <a href="https://pglite.dev" rel="nofollow">https://pglite.dev</a> - PGlite website<p>- <a href="https://github.com/electric-sql/pglite">https://github.com/electric-sql/pglite</a> - GitHub repo<p>- <a href="https://pglite.dev/docs" rel="nofollow">https://pglite.dev/docs</a> - Docs on how to use PGlite<p>- <a href="https://pglite.dev/extensions" rel="nofollow">https://pglite.dev/extensions</a> - Extensions catalog<p>- <a href="https://pglite.dev/benchmarks" rel="nofollow">https://pglite.dev/benchmarks</a> - Early micro-benchmarks<p>- <a href="https://pglite.dev/repl" rel="nofollow">https://pglite.dev/repl</a> - An online REPL so that you can try it in the browser<p>We would love you to try it out, and we will be around to answer any questions.
Show HN: PGlite – in-browser WASM Postgres with pgvector and live sync
Hey, Sam and the team from ElectricSQL here.<p>PGlite is a WASM Postgres build packaged into a TypeScript/JavaScript client library, that enables you to run Postgres in the browser, Node.js and Bun, with no need to install any other dependencies. It's 3mb Gzipped, now has support for many Postgres extensions, including pgvector, and it has a reactive "live query" API. It's also fast, with CRUD style queries executing in under 0.3 ms, and larger, multi-row select queries occurring within a fraction of a single frame.<p>PGlite started as an experimental project we shared on X, and the response to it was incredible, encouraging us to see how far we could take it. Since then we have been working to get it to a point where people can use it to build real things. We are incredibly excited as today, with the release of v0.2, the Supabase team has released the amazing <a href="http://postgres.new" rel="nofollow">http://postgres.new</a> site built on top of it. Working with them to deliver both PGlite and postgres.new has been a joy.<p>- <a href="https://pglite.dev" rel="nofollow">https://pglite.dev</a> - PGlite website<p>- <a href="https://github.com/electric-sql/pglite">https://github.com/electric-sql/pglite</a> - GitHub repo<p>- <a href="https://pglite.dev/docs" rel="nofollow">https://pglite.dev/docs</a> - Docs on how to use PGlite<p>- <a href="https://pglite.dev/extensions" rel="nofollow">https://pglite.dev/extensions</a> - Extensions catalog<p>- <a href="https://pglite.dev/benchmarks" rel="nofollow">https://pglite.dev/benchmarks</a> - Early micro-benchmarks<p>- <a href="https://pglite.dev/repl" rel="nofollow">https://pglite.dev/repl</a> - An online REPL so that you can try it in the browser<p>We would love you to try it out, and we will be around to answer any questions.
Show HN: PGlite – in-browser WASM Postgres with pgvector and live sync
Hey, Sam and the team from ElectricSQL here.<p>PGlite is a WASM Postgres build packaged into a TypeScript/JavaScript client library, that enables you to run Postgres in the browser, Node.js and Bun, with no need to install any other dependencies. It's 3mb Gzipped, now has support for many Postgres extensions, including pgvector, and it has a reactive "live query" API. It's also fast, with CRUD style queries executing in under 0.3 ms, and larger, multi-row select queries occurring within a fraction of a single frame.<p>PGlite started as an experimental project we shared on X, and the response to it was incredible, encouraging us to see how far we could take it. Since then we have been working to get it to a point where people can use it to build real things. We are incredibly excited as today, with the release of v0.2, the Supabase team has released the amazing <a href="http://postgres.new" rel="nofollow">http://postgres.new</a> site built on top of it. Working with them to deliver both PGlite and postgres.new has been a joy.<p>- <a href="https://pglite.dev" rel="nofollow">https://pglite.dev</a> - PGlite website<p>- <a href="https://github.com/electric-sql/pglite">https://github.com/electric-sql/pglite</a> - GitHub repo<p>- <a href="https://pglite.dev/docs" rel="nofollow">https://pglite.dev/docs</a> - Docs on how to use PGlite<p>- <a href="https://pglite.dev/extensions" rel="nofollow">https://pglite.dev/extensions</a> - Extensions catalog<p>- <a href="https://pglite.dev/benchmarks" rel="nofollow">https://pglite.dev/benchmarks</a> - Early micro-benchmarks<p>- <a href="https://pglite.dev/repl" rel="nofollow">https://pglite.dev/repl</a> - An online REPL so that you can try it in the browser<p>We would love you to try it out, and we will be around to answer any questions.
Show HN: Pixeltune, a nicer chiptune and VGM player
10 years ago I began working on Muki, a web-based MIDI and chiptune player which I eventually announced here on HN[0]. It was a fun weekend project.<p>Over the years I received numerous requests from people that wanted more: more music, more features, more playable formats, you name it.<p>Eventually I began working on a complete rewrite of the app (this time for real), and, realizing that each year another chiptune or MIDI website went offline, I decided to start archiving them for preservation.<p>Today, 10 years after the first release, I think it's finally time for the new, nicer version to hit the shelves. It's now called Pixeltune and yes, now you can actually turn down the volume. :)<p>Hope you like it!<p>[0] <a href="https://news.ycombinator.com/item?id=10305918">https://news.ycombinator.com/item?id=10305918</a>
Show HN: Pixeltune, a nicer chiptune and VGM player
10 years ago I began working on Muki, a web-based MIDI and chiptune player which I eventually announced here on HN[0]. It was a fun weekend project.<p>Over the years I received numerous requests from people that wanted more: more music, more features, more playable formats, you name it.<p>Eventually I began working on a complete rewrite of the app (this time for real), and, realizing that each year another chiptune or MIDI website went offline, I decided to start archiving them for preservation.<p>Today, 10 years after the first release, I think it's finally time for the new, nicer version to hit the shelves. It's now called Pixeltune and yes, now you can actually turn down the volume. :)<p>Hope you like it!<p>[0] <a href="https://news.ycombinator.com/item?id=10305918">https://news.ycombinator.com/item?id=10305918</a>
Show HN: Pixeltune, a nicer chiptune and VGM player
10 years ago I began working on Muki, a web-based MIDI and chiptune player which I eventually announced here on HN[0]. It was a fun weekend project.<p>Over the years I received numerous requests from people that wanted more: more music, more features, more playable formats, you name it.<p>Eventually I began working on a complete rewrite of the app (this time for real), and, realizing that each year another chiptune or MIDI website went offline, I decided to start archiving them for preservation.<p>Today, 10 years after the first release, I think it's finally time for the new, nicer version to hit the shelves. It's now called Pixeltune and yes, now you can actually turn down the volume. :)<p>Hope you like it!<p>[0] <a href="https://news.ycombinator.com/item?id=10305918">https://news.ycombinator.com/item?id=10305918</a>
Show HN: Rust GUI Library via Flutter
Hi, I made a bridge (<a href="https://github.com/fzyzcjy/flutter_rust_bridge">https://github.com/fzyzcjy/flutter_rust_bridge</a> v2.0.0) between Flutter and Rust, which auto translates syntaxes like arbitrary types, &mut, async, traits, results, closure (callback), lifetimes, etc. The goal is to make a bridge between the two, seamlessly as if working in one single language.<p>Then, as an example, I showed how to write Rust applications with GUI by utilizing Flutter. That is discussed in the link in details.<p>To play with it, please visit the GitHub repo, or refer to the end of the article for detailed folders and commands.<p>When I first released 1.0.0 years ago, it only contained few features compared to today. It is the result of the hard work of contributors and me, and many thanks to all the contributors!
Show HN: Rust GUI Library via Flutter
Hi, I made a bridge (<a href="https://github.com/fzyzcjy/flutter_rust_bridge">https://github.com/fzyzcjy/flutter_rust_bridge</a> v2.0.0) between Flutter and Rust, which auto translates syntaxes like arbitrary types, &mut, async, traits, results, closure (callback), lifetimes, etc. The goal is to make a bridge between the two, seamlessly as if working in one single language.<p>Then, as an example, I showed how to write Rust applications with GUI by utilizing Flutter. That is discussed in the link in details.<p>To play with it, please visit the GitHub repo, or refer to the end of the article for detailed folders and commands.<p>When I first released 1.0.0 years ago, it only contained few features compared to today. It is the result of the hard work of contributors and me, and many thanks to all the contributors!
Show HN: Rust GUI Library via Flutter
Hi, I made a bridge (<a href="https://github.com/fzyzcjy/flutter_rust_bridge">https://github.com/fzyzcjy/flutter_rust_bridge</a> v2.0.0) between Flutter and Rust, which auto translates syntaxes like arbitrary types, &mut, async, traits, results, closure (callback), lifetimes, etc. The goal is to make a bridge between the two, seamlessly as if working in one single language.<p>Then, as an example, I showed how to write Rust applications with GUI by utilizing Flutter. That is discussed in the link in details.<p>To play with it, please visit the GitHub repo, or refer to the end of the article for detailed folders and commands.<p>When I first released 1.0.0 years ago, it only contained few features compared to today. It is the result of the hard work of contributors and me, and many thanks to all the contributors!
Show HN: My 70 year old grandma is learning to code and made a word game
Show HN: My 70 year old grandma is learning to code and made a word game
Show HN: Test your WireGuard connectivity and see global stats, no client needed
Hi HN,<p>Some misbehaving networks drop WireGuard packets either by accident or on purpose. Commonly the latter is done with simple DPI rules that block the handshake initiation [1], but it could be applied to other message types as well.<p>We thought it would be great if there was tool for folks to use as a quick litmus test to see if this happening for them, without having to configure a client to send data through a random, functional WireGuard tunnel to an untrusted remote host. So we built probe.sh.<p>How it works:<p>- The probe.sh web app is an Elixir Phoenix app that spawns a few gen_udp servers across a variety of common UDP ports.
- When a user visits the app, Probe starts a LiveView process and generates a unique cryptographic token to use for the test.
- When the user runs the script shown, it first sends an HTTP request to start the test, followed by a series of UDP payloads, and finally either a complete or cancel request to end the test.
- The UDP payloads are crafted to resemble real world WireGuard packets and sent with widely available tools like netcat (Unix) and System.Net.Sockets.UdpClient (Win) already on your OS.
- The gen_udp server receives these payloads, and if they match one of the four WireGuard message types by header, it broadcasts test updates to the LiveView process for that test, and the test is marked as success.
- The user is immediately shown the results of the test.<p>The entire tool is open source at <a href="https://github.com/firezone/probe">https://github.com/firezone/probe</a> (README contains guide for self-hosting) and you can find a FAQ with more useful info at <a href="https://probe.sh/faq" rel="nofollow">https://probe.sh/faq</a>. You can also see our tally of global results organized by country: <a href="https://probe.sh/stats" rel="nofollow">https://probe.sh/stats</a><p>We hope you find it useful for testing your network for WireGuard connectivity issues.<p>Thanks for reading - feedback welcome!<p>[1] <a href="https://x.com/6h4n3m/status/1459462360003919875" rel="nofollow">https://x.com/6h4n3m/status/1459462360003919875</a>
Show HN: Pg_replicate – Build Postgres replication applications in Rust
Show HN: Pg_replicate – Build Postgres replication applications in Rust
Show HN: Pg_replicate – Build Postgres replication applications in Rust
Show HN: Spawn – Build iOS Apps with English
Hi HN,<p>Spawn lets you build apps with human language. You can include images, audio and other files in your app just by dragging and dropping.<p>Here's a demo video where I build the game of Snake in 60 seconds: <a href="https://www.youtube.com/watch?v=qIqp7cvmE_M" rel="nofollow">https://www.youtube.com/watch?v=qIqp7cvmE_M</a><p>As it’s still in alpha, you may need to regenerate a few times to get the app functioning the way you want. So far I’ve found it’s pretty good at generating simple utilities and games. Over time, as both Spawn and the underlying models improve, it will be able to build more complex software.<p>I have a bunch of ideas for future updates, for example:<p>- Allow users to include wireframes that Spawn will follow as it generates their app.<p>- Android support in Mac, Windows & Linux Spawn desktop app. This way, people can use Spawn to build for both mobile platforms using the same app specifications. Imagine someone living in rural India using their Chromebook to build apps for their Android phone, without needing to learn how to code.<p>- Enable people to build apps that have accounts and backend logic by autogenerating and deploying a backend during app generation.<p>Any feedback would be greatly appreciated.
Show HN: Personal Interactive Cantonese Dictionary
Built with Nuxt & MongoDB – a way to preserve language with personal audio, anecdotes and stories. Hope to make a version open source one day so others can preserve their native languages.
Show HN: Personal Interactive Cantonese Dictionary
Built with Nuxt & MongoDB – a way to preserve language with personal audio, anecdotes and stories. Hope to make a version open source one day so others can preserve their native languages.
Show HN: Personal Interactive Cantonese Dictionary
Built with Nuxt & MongoDB – a way to preserve language with personal audio, anecdotes and stories. Hope to make a version open source one day so others can preserve their native languages.
Show HN: I built Mailhub – A scalable API for sending emails with ease not tears