338 karma · joined June 8, 2018
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-...
(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 ¯\_(ツ)_/¯
Otherwise, as interesting as this thread is to read through, the amount of recommendations here is a bit overwhelming :P
It’s nothing special, but I like it a bit better than the official MTA app in NYC :)
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...
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/...
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
Anyways, it's amazing that this is free! Very clean, very well done... bravo :)
- Mental Health tracking app [1] for tracking my daily activities against my anxiety/depression/well-being
- Web3 Contract Explorer [2] for making it easier to inspect and run methods on Ethereum contracts
- GlobalEntry appointment notifications [3] for making it easier to book last-minute interview appointments
[1] https://mental-h.vercel.app/
Does anyone else have this issue? Curious if there are any good solutions...
I spent about 9 months logging, and found these to be the top 5 activities that improved my overall happiness:
- 1. Strenuous exercise (e.g. going hard at the gym, playing a sport, taking a dance class, etc.) was a clear winner. (Going for a walk or doing light bodyweight exercises at home helped a bit, but not nearly as much.)
- 2. Creative activities (e.g. writing, playing music, programming), particularly when I could get into a "flow" state.
- 3. Reading long-form content (for at least 20 mins).
- 4. Meditating (for at least 5 mins).
- 5. Spending time with close friends (as opposed to e.g. going to parties with acquaintances).
A lot of these things are fairly obvious (and may also vary a bit by personality type) but being able to see concrete, quantifiable results made it much easier to adopt habits that made me happier in the long run!
[0] https://github.com/reichert621/health/blob/master/server/db/...
It seems like some people are commenting that the advice in the article is common sense, but I think when your mindset is to move fast, it can be easy to delude yourself into thinking you understand a problem when you're really just married to an idea but too scared to go out and discover whether it's actually solving something real or not.
One downside of Discord is that we use threads in Slack to manage conversations, and I don't think Discord has great support for threading. But I know some solutions have worked around this by spinning up a new channel for every new conversation... still need to figure out the ideal UX.