areichert
Surprised to see this on the front page again (hello fellow pottery enthusiasts?), but figured this could be a good chance to address some of the comments from the recent discussion [0] since I missed it last time :P
The most common feedback seemed to be, "this is dumb, just use SQLite", which is definitely valid.
This was actually how I initially started building the app (using SQLite), and it worked pretty well. There were a couple reasons I abandoned this approach though: one, whenever I had to uninstall and reinstall the app, the data would get wiped; two, I still had to deal with migrations and other annoying boilerplate; and three, I wanted to be able to share my results with my friends in a read-only web view.
(That being said, I'm also curious to explore how tools like ElectricSQL [1], PowerSync [2], TinyBase [3], etc. play with SQlite to handle some of these issues. At a glance, it just seemed like these would require more time to setup compared to InstantDB [4].)
Another similar comment that popped up a few times was the idea that if I'm trying to model _relational_ data, it would be ridiculous to use anything other than a _relational_ database.
I think that's fair, but I also think it's fair to say a graph database is also "relational" in some sense, or at least "relationship-centric" [5] :)
Either way, I had a lot of fun with this. And I was definitely optimizing more for speed/scrappiness than for doing it The Right Way, so if anyone has any thoughts on how to build stuff faster, I'd love to hear it!
[0] https://news.ycombinator.com/item?id=40860116
[2] https://www.powersync.com/
[4] https://www.instantdb.com/
[5] https://aws.amazon.com/compare/the-difference-between-graph-...
Graph-Based Ceramics
(There are some annoying technical kinks with this that I'm still trying to iron out, but maybe someone will find it useful in the meantime!)
[0] https://developer.apple.com/design/human-interface-guideline...
One example --
URL: https://newsletter.pragmaticengineer.com/p/zirp-software-eng...
Sanitized output: https://substack-ai.vercel.app/u/pragmaticengineer/p/zirp-so...
Raw markdown: https://substack-ai.vercel.app/api/users/pragmaticengineer/p...
(Would be happy to open source it if anyone cares!)
It's kinda dumb, but it's a quick fix that might help ¯\_(ツ)_/¯
PG-CLI – Read PG's essays in your terminal
Show HN: Generate your own "movie trailer" with AI
This is a toy project I've been hacking on, and it's a bit rough around the edges, but I'd love for people to try it out! https://aitrailers.xyzSome examples of videos people have generated:* An action movie starring a corgi: https://aitrailers.xyz/examples/paws-of-power* A children's movie about a mischievous monkey: https://aitrailers.xyz/examples/cheeky-monkey* And a "thriller" my friend...
Show HN: Generate silly movie trailers with AI
This is a toy project I've been hacking on, and it's a bit rough around the edges, but I'd love for people to try it out! https://aitrailers.xyzSome examples of videos people have generated:* An action movie starring a corgi: https://aitrailers.xyz/examples/paws-of-power * A children's movie about a mischievous monkey: https://aitrailers.xyz/examples/cheeky-monkey * And a "thriller" my friend...
Show HN: Chat between Discord and your website with React
I hacked this together because I wanted a way to embed a chat widget on my website and respond from my Discord server without having to sign up for anything or use a new product (e.g. Intercom, etc)I might set up a simple dashboard to manage the configuration of the chat, or add some AI features (lol), but for now it's just a fairly unopinionated React library that should hopefully Just Work™...
Otherwise, as interesting as this thread is to read through, the amount of recommendations here is a bit overwhelming :P
Show HN: Create email templates with Markdown and JSX
https://mail.booper.dev/templates/examples/sandbox
Hey HN!This is a little personal project I've been hacking on for the past ~week, somewhat inspired by this blog post [0] ("My Wonderful HTML Email Workflow").Basically I just wanted an easy way to create email templates in MDX [1] (Markdown + JSX), using React Email [2] components.It's still a bit of a work in progress (and a bit slow at the moment) but wanted to share in case anyone else...
It’s nothing special, but I like it a bit better than the official MTA app in NYC :)
Show HN: A simple API/CLI for scheduling HTTP requests
Hi HN!This is something I've been tinkering on for the past couple months. It's basically just an API/CLI for scheduling delayed or recurring jobs as HTTP requests.I initially built it as a personal tool to save myself a bit of time on little side projects where I've needed scheduled/recurring alerts, but decided it could be a good opportunity to practice building out a nice landing page [0]...
Just FYI since I happened to be looking into this recently as well :)
[0] https://www.npmjs.com/package/@react-email/render
[1] https://github.com/resendlabs/resend-node/blob/90a7225c21db9...
Show HN: Pg-CLI – Read PG's essays in your terminal
https://github.com/reichert621/pg-cli
Hacked this [0] together for fun this afternoon, mainly because I wanted to play around with the yargs [1] library to build a simple command line tool.It basically just provides an interface to list and read Paul Graham's essays [2] in the terminal as markdown. ¯\_(ツ)_/¯To list all the essays (assuming you have npm/npx installed):``` npx pg-essays list ```To read a specific essay (e.g. "Beating...
At a glance it seems quite similar, so I'd love to understand how the app is better than e.g. downloading a cheaper "wellness" app (with meditations, calming music, relaxation techniques, etc) + going through the exercises in the book [0]?
[0] https://www.amazon.com/Say-Good-Night-Insomnia-Drug-Free/dp/...
Our Chosen Chains
Our Chosen Chains: Smartphones, handguns, and the destructive use of freedom
Weirdly, Ruby was one of the first languages I learned early in my career, and at the time I had no problem with `unless`. But after years of experience with other languages, I similarly feel that `if` statements now trigger the fast pattern matching circuits in my brain, while `unless` makes me do a double-take and basically translate it into `if not`
At first I thought I was just becoming dumber with age, but I like your explanation better :P
Linen Is a Google-Searchable Open-Source Alternative to Slack and Discord
Show HN: Create hundreds of AI-generated profile pictures
https://www.aiprofilepictures.com/
tl;dr: use this to create hundreds of AI-generated profile pictures of yourself!I’ve been meaning to play around with some of the latest trendy AI models (DreamBooth in this case), so I hacked this together over the weekend. I’m not doing anything particularly sophisticated other than providing a simple UI over an API that does most of the heavy lifting, but if people are interested in giving...