Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How big are the patterns?

Looks like the author implemented a server-side storage with tiny hash. Why not the data itself as base64? That would make it real serverless!



That's a good point! I did consider this but decided against it since the share URLs would be pretty long.

Instead I went with a S3 based storage solution — still pretty simple, not managing any servers or databases manually.


Thanks! I may be biased but I like Unix composability principles :)

Unless you plan to forever update your credit card on AWS, it can be better to develop without cloud and use one or more url shorteners to share (socials do it anyway).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: