Hacker News new | ask | show | jobs
by tomc1985 2654 days ago
Why all this infra to draw random lines from a text file?
2 comments

Using Firebase to more easily add quotes. However, I did not anticipate this much traffic. As another user pointed out, I am probably going to need to cache the quotes to prevent an enormous amount of reads to the database. Feel free to contribute if you have good ideas :) https://github.com/ajzbc/kanye.rest
Honestly a four-line PHP script that reads a text file or calls `fortune` is probably going to be way more efficient
Fun? It's probably not OPs next serious SaaS startup.
Then don't show it off on HN :/
https://news.ycombinator.com/showhn.html

> Show HN is for something you've made that other people can play with. HN users can try it out, give you feedback, and ask questions in the thread.

> A Show HN needn't be complicated or look slick. The community is comfortable with work that's at an early stage.