Hacker Newsnew | past | comments | ask | show | jobs | submit | ivw's commentslogin

just run them through `svgo` and get the benefits of smaller filesizes as well


svgo is a minifier, not a sanitizer.


I should have clarified `svgo + removeScripts`

https://svgo.dev/docs/plugins/removeScripts/


> if the picture in your head looks like a slog, then you will need a bigger expenditure of will to lace up

An alternative solution is to grossly underestimate the amount of work


There's a meme pic I saw on reddit: "We do this not because it is easy, but because we thought it would be easy."


Like Scott Adams says:

> What if laziness is just a habit of thinking about the work instead of the payoff?


I feel like this relates a bit to a quote from Kevin Smith (silent bob)

To paraphrase, you have to be a little bit delusional to think you will succeed, otherwise you won't get started. You won't make the big risky decisions that bring you to success.

Which I relate to a second thought of my own which is, what will I regret if I hadn't at least tried?

Which together, help motivate me to continue game development. There is just so much work to be done, and you have to just assume you'll be good and succeed at half a dozen different disciplines to bring it all together.


I think this is one of the biggest reasons why USA has so many succesful companies. People in there are taught from birth that America is the greatest country and they are great and everything is fabulous and everything is possible.

They are delusional about their capabilities and sometimes that's the magic sauce you need to succeed - infinite confidence.


I've also made a Discord slash commands bot recently in a single AWS Lambda (Node.js) and a DynamoDB table (all free tier). My only dependency is `discord-interactions`, to validate requests, which Discord requires.

I like the serverless approach because if the bot commands are only used a few times a day, the lambda only has to run a few times a day and takes at most 0.5 sec (Discord has a 3 second timeout for slash commands)


Yes, serverless is a great match, especially for human-triggered slash commands.

BTW, Fusebot is not subject to the 3s limitation. We take care of responding to Discord within 3s and then let you run your code for longer than 3s and send any number of responses afterwards.


Did the humans train the same amount as the chimps?

Take chess grandmasters, for a counterexample. Their memory of chess positions and speed of processing them is incredible. Here's an example of puzzle rush, where the puzzles get progressively harder: https://youtu.be/B2ywPhNygM8?t=370


The chimps don’t have jobs that tax mind and attention!


Don't confuse the long term memory which is essentially unlimited (chess example) and the working memory (3-4 items random or ~7 with on-the-fly chunking)


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

Search: