News for hackers. Stuff that matters.
Re:A ChatGPT mistake cost us $10k by steelbrain on Sunday June 09, 2024 @07:53PM (#40628615)
FWIW, we host on Cloudflare and use their API to resize images on the fly and we're fine. Not so much a "lock-in" if other vendors can fill-in, is it?
Re:A ChatGPT mistake cost us $10k by nicce on Sunday June 09, 2024 @08:02PM (#40628657)
You likely needed to do more extra work than needed, when compared to some other options.

The lock-in here is the added developer time and complexity vs. just paying premium.

Re:A ChatGPT mistake cost us $10k by steelbrain on Sunday June 09, 2024 @09:38PM (#40629288)
I disagree with your threshold for what makes something a lock-in but I admire your ideology of less friction in portability
Re:A ChatGPT mistake cost us $10k by winterrx on Monday June 10, 2024 @12:14AM (#40630061)
What API do you use to resize images? Cloudflare? I know Vercel and NextJS have an <Image> resizing/optimization component that gets pricy.
Re:A ChatGPT mistake cost us $10k by steelbrain on Tuesday June 11, 2024 @05:59PM (#40652096)
Yes, Cloudflare through the `loader` prop in `Image` component.

See CF docs for what the url should be https://developers.cloudflare.com/images/transform-images/tr... Next.js docs should tell you how to write the loader

Re:A ChatGPT mistake cost us $10k by RamblingCTO on Monday June 10, 2024 @01:23AM (#40630439)
If you need to change it when switching vendors and only they offer it/it's proprietary, it's vendor lock-in.