Better HN
topnewbestaskshowjobs
Log inSign up

areichert

338 karma · joined Jun 8, 2018 (8y ago) · 126 submissions

Submissions

1.

Finishing projects is hard(alexreichert.com ↗)

3 points · by reichertjalex · 2y ago · discuss

comment 2y ago · link · parent

Does anyone have a good comparison of using Gleam vs Elixir in 2024 (i.e. the pros and cons of each)? I've only used Elixir, but definitely curious to tinker with Gleam...

comment 2y ago · link · parent

Very interesting, I’ll look into it!

comment 2y ago · link · parent

Thanks for the kind words! And yes, I’d love to productionize this… next time I have a free weekend ;)

comment 2y ago · link · parent

Author here!

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

[1] https://electric-sql.com/

[2] https://www.powersync.com/

[3] https://tinybase.org/

[4] https://www.instantdb.com/

[5] https://aws.amazon.com/compare/the-difference-between-graph-...

6.

Graph-Based Ceramics(alexreichert.com ↗)

38 points · by areichert · 2y ago · 17 comments

comment 2y ago · link · parent

I built something similar last year if you're interested! https://www.bktransit.com/

comment 2y ago · link · parent

Shameless plug, but I just recently built my own little simple MTA app because I wanted to play around with Live Activities in Swift [0] to be able to display the next upcoming train on the lock screen of my phone: https://apps.apple.com/us/app/mta-tracker/id6477849271?platf...

(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...

comment 2y ago · link · parent

Nice! I did something similar a while back, but just for substack :)

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!)

comment 2y ago · link · parent

Looks cool! At a glance seems kinda similar to Leap AI [0] which I've been following for a bit now -- I'm curious how you guys differentiate from competitors? Is it mainly the "no-code" aspect?

[0] https://www.tryleap.ai/

comment 2y ago · link · parent

Yeah... DALLE is super annoying about this now. I had the same problem in my little "AI trailers" toy project [0], and it can usually be fixed by just checking for that specific "content policy" error when DALLE fails -> passing this into GPT: "Rewrite this prompt so that it passes the content policy: {prompt}" -> and then retrying with the updated prompt.

It's kinda dumb, but it's a quick fix that might help ¯\_(ツ)_/¯

[0] https://aitrailers.xyz/

12.

PG-CLI – Read PG's essays in your terminal(github.com ↗)

1 points · by areichert · 2y ago · discuss

13.

Show HN: Generate your own "movie trailer" with AI

1 points · by areichert · 2y ago · discuss

14.

Show HN: Generate silly movie trailers with AI

2 points · by areichert · 2y ago · discuss

15.

Show HN: Chat between Discord and your website with React(chat.booper.dev ↗)

1 points · by areichert · 3y ago · discuss

comment 3y ago · link · parent

This might be a slightly more difficult question to answer, but instead of people listing the podcasts they like, I'd love to hear which podcast episodes in particular people would recommend?

Otherwise, as interesting as this thread is to read through, the amount of recommendations here is a bit overwhelming :P

17.

Show HN: Create email templates with Markdown and JSX(mail.booper.dev ↗)

3 points · by areichert · 3y ago · discuss

comment 3y ago · link · parent

I made a little transit app for my neighborhood: https://bktransit.com

It’s nothing special, but I like it a bit better than the official MTA app in NYC :)

comment 3y ago · link · parent

Appreciate the kind words, and love what you guys are doing with Resend! I've been a happy user so far, excited to see what's next :)

20.

Show HN: A simple API/CLI for scheduling HTTP requests(booper.dev ↗)

12 points · by areichert · 3y ago · 3 comments

comment 3y ago · link · parent

fwiw you can use React Email pretty easily with anything by using their @react-email/render package [0] to render your email React components to HTML (this is effectively all Resend is doing in their Node library [1])

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...

22.

Show HN: Pg-CLI – Read PG's essays in your terminal(github.com ↗)

3 points · by areichert · 3y ago · discuss

comment 3y ago · link · parent

Curious how much overlap there is with the book "Say Goodnight to Insomnia"? [0]

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/...

24.

Our Chosen Chains(nationalreview.com ↗)

2 points · by areichert · 3y ago · discuss

25.

Our Chosen Chains: Smartphones, handguns, and the destructive use of freedom(nationalreview.com ↗)

2 points · by areichert · 3y ago · discuss

comment 3y ago · link · parent

Aren’t firebase functions practically free?

comment 3y ago · link · parent

Man, I feel like you hit the nail on the head here... this is definitely the best way I could think to articulate why `unless` throws me off so much.

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

28.

Linen Is a Google-Searchable Open-Source Alternative to Slack and Discord(news.itsfoss.com ↗)

1 points · by areichert · 3y ago · discuss

29.

Show HN: Create hundreds of AI-generated profile pictures(aiprofilepictures.com ↗)

2 points · by areichert · 4y ago · 1 comment

30.

Building a chat app with Next.js and Elixir(github.com ↗)

3 points · by areichert · 4y ago · discuss

12345