[-] thicket@programming.dev 2 points 1 year ago

If you're going to use SQLite regularly, you'll need some extra infrastructure. OP's post provides some boilerplate that would help you on your way.

What has really made the difference for me recently though, is Simon Willison's sqlite_utils package. It's heavier weight than OP's wrapper classes, but it's infinitely more powerful and has made using a local database a joy instead of the kludge I usually make of it. I'll be bummed to writing stuff for PostGres when I have to do that

[-] thicket@programming.dev 22 points 1 year ago

+1 for this question. Postman was a thing of simple beauty before they tried chasing the VC money

[-] thicket@programming.dev 5 points 1 year ago

Even more concerning is all the upvotes. That means somebody's not only posting bullshit, they're running bots here too

[-] thicket@programming.dev 3 points 1 year ago

Great question man. This is a big help to see!

[-] thicket@programming.dev 2 points 1 year ago

Wow, the tone here is... really arrogant. When somebody starts off calling their audience idiots, I find it a little harder to read along.

I think I'm glad I did, though. Tone aside, I think it's a worthwhile insight to note that caching is making up for a shortcoming in your data supply, and that fixing that shortcoming if at all possible should be a priority. The author's summary would have helped me in the past:

Caching is a useful tool, but can be easily abused without giving any signs of the abuse.

Don’t get involved with caching till the last minute; find any other way you can first. Optimise your application before you use the blunt tool of caching.

[-] thicket@programming.dev 36 points 1 year ago

While I would love to see Twitter auguring straight into the ground, Twitter’s API changes would explain some portion of this traffic changes. I wonder if there are any other proxy measures for audience engagement as separate from basic traffic

[-] thicket@programming.dev 3 points 1 year ago

For the curious: this is an impressive and meditative ~5 minute video showcasing a simple but flexible recursive drawing system. I found it worth the watch and I’m curious about the code

[-] thicket@programming.dev 3 points 1 year ago

+1. I haven’t used Twilio much, but I was impressed with the ease of use and onboarding when I used it 5+ years ago

[-] thicket@programming.dev 4 points 1 year ago

Does anybody have insight into the design choice away from named arguments? Everything in the article and in the comments seems like different levels of kludge around an unfortunate decision

[-] thicket@programming.dev 3 points 1 year ago

Are you trying to do something programmatic with thousands of calls, or just engineer your own bespoke stuff? Seconding AWS SNS for big things. For small projects things, Google Voice at least used to be free or cheap and let you treat phone communications much more like emails than a standard phone number does.

[-] thicket@programming.dev 3 points 1 year ago

Thanks, those are great examples that illustrate the possibilities in the post well!

[-] thicket@programming.dev 4 points 1 year ago

Thanks. That's a big article, and some extra commentary and streamlining there is welcome!

view more: next ›

thicket

joined 1 year ago