{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":111763474,"defaultBranch":"master","name":"awswhatsnew","ownerLogin":"adilosa","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2017-11-23T04:33:54.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/2894907?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1619815800.2561002","currentOid":""},"activityList":{"items":[{"before":"e1ee4c3164317944b687c3492a712aa4a3dce6a3","after":"ea3a2d7aee44b75eef292663bdf8e6311a83dfd1","ref":"refs/heads/master","pushedAt":"2023-11-23T18:10:57.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"adilosa","name":"Andrew DiLosa","path":"/adilosa","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2894907?s=80&v=4"},"commit":{"message":"track rate limit in the hopes it stops counting failed requests against the limit","shortMessageHtmlLink":"track rate limit in the hopes it stops counting failed requests again…"}},{"before":"2ea57866664b151f2d0017dd8c33ee05e07bda51","after":"e1ee4c3164317944b687c3492a712aa4a3dce6a3","ref":"refs/heads/master","pushedAt":"2023-11-22T22:47:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"adilosa","name":"Andrew DiLosa","path":"/adilosa","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2894907?s=80&v=4"},"commit":{"message":"update twitter api\n\npython-twitter appears to not handle the new twitter v2 changes,\nexample usage from twitter is to just call the api directly\n\nhttps://github.com/bear/python-twitter/issues/722\nhttps://github.com/twitterdev/Twitter-API-v2-sample-code/blob/main/Manage-Tweets/create_tweet.py#L51\n\nwhich didn't work, so switched to Tweepy which is working.\n\nAdditionally the new rate limits don't like the bot bulk-posting a whole\nupdate at once, so adjusted to just exit if we hit a rate limit. The\ndynamo cache should make sure we don't miss a post or repost.\n\nLast, the API apparently somehow now doesn't support tweets longer than\n280 chars at all, so making sure we stay under budget","shortMessageHtmlLink":"update twitter api"}},{"before":"757e10302bc656234034708b417166afabc91fbe","after":"2ea57866664b151f2d0017dd8c33ee05e07bda51","ref":"refs/heads/master","pushedAt":"2023-11-17T03:41:16.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"adilosa","name":"Andrew DiLosa","path":"/adilosa","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2894907?s=80&v=4"},"commit":{"message":"update makefile\n\n* `pipenv lock -r` is no more, it is now `pipenv requirements`\n* had to recereate the virtualenv on 3.7\n* don't have SAM installed anymore, now requires a binary download and\n installer (not pip/brew)\n\nshould really move this to CDK & GH Actions","shortMessageHtmlLink":"update makefile"}},{"before":"15b3c15660bf4960179b3808d4b4542270cff03c","after":"757e10302bc656234034708b417166afabc91fbe","ref":"refs/heads/master","pushedAt":"2023-11-17T03:25:47.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"adilosa","name":"Andrew DiLosa","path":"/adilosa","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2894907?s=80&v=4"},"commit":{"message":"remove recency constraint\n\nLooks like the lambda is still running and scraping the posts, but it\nisn't posting them for some reason. The guids are indeed not in the\n'already posted' table so that leaves the other condition - the recency\ncondition.\n\nWithout going back through the logs too much, it's possible that AWS has\nstarted updating the RSS feed more than 180 minutes after the post's\npublished time which would cause the lambda to skip all posts.\n\nNapkin math suggests that at 100 posts per feed and a rate of 5 minutes,\njust querying all 100 to dynamo every time will cost ~$0.21/mo which is\ntotally acceptable. So removing that condition","shortMessageHtmlLink":"remove recency constraint"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADtlWD8wA","startCursor":null,"endCursor":null}},"title":"Activity · adilosa/awswhatsnew"}