4 ms·
I use Serverless with Lambda. It's even a template in Serverless, so with the CLI you just type `serverless` and select the Node.js/Python Scheduled Task templa
by 65 4y ago
I use Serverless with Lambda. It's even a template in Serverless, so with the CLI you just type `serverless` and select the Node.js/Python Scheduled Task template and everything is set up for you.
I do a lot of web scraping, and Lambdas are very useful for web scraping since their IPs can change for each request.
For deployment, you can just do `serverless deploy` or set up a GitHub action each time you push to main.
- fncivivue7 4y ago
- hoherd 4y agoThe default branch on GitHub has been main for over 2 years. https://github.blog/changelog/2020-10-01-the-default-branch-for-newly-created-repositories-is-now-main https://github.blog/changelog/2020-10-01-the-default-branch-...
- earthboundkid 4y agoI thought the change from "master" to "main" was silly and didn't actually help fight racism, but if you're still butthurt about it two years later, it means you're a racist.
- deleted 4y ago[deleted]
- ignoramous 4y agoIt was admittedly silly, and that's why it matters. Silly things have a way of kickstarting debates, setting a strong precedent, and being very visible. Racism itself isn't a silly thing however, for anyone to throw it around like that. It has centuries of history of relentless oppression, brutal dehumanisation, and systemic marginalization behind it.
- antifa 4y agoEven if you ignore the racism aspect, "main" is shorter, flows more naturally from the fingers, and is more semantically correct. The world is objectively a better place now.
- earthboundkid 4y agoSure. The name of the branch is just a Schelling Point. It's nice to have a new, shorter default.
- dang 4y agoCould you please stop posting unsubstantive and/or flamebait comments? It's not what this site is for, and destroys what it is for. https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html
- earthboundkid 4y agoI'm being flagged for replying to someone who replied to a racist and agreeing that racism is bad? Whatever man, it's your site and you can moderate it how you want, but I don't think it's a good policy.
- dang 4y agoI believe we banned the troll account upthread. But whether you broke the rules has to do with your comments, not anyone else's.
- throwawayacc3 4y ago"Ignore the fact that 'master' has nothing to do with race (came from 'master recording'), there's no concept of 'slave' branches in Git, etc. If you don't fetishize, infantilize, and patronize Black people as much as I do, you're a racist."
- dang 4y agoWe've banned this account for posting unsubstantive and/or flamebait comments. Please don't create accounts to break HN's rules with. https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html