News for hackers. Stuff that matters.
Re:Ask HN: What code samples should programmers read? by nstart on Monday June 05, 2017 @09:38AM (#14487479)
I had a fun one recently. Just the other day in fact. The elastic beanstalk cli from aws was refusing to accept my branches when I tried to refer to a code push from a codecommit repo. Turns out branches with / in it can't be used because it conflicts with the way the cli parses its parameters.

Basically it expects a parameter along the lines of

codecommit/RepoName/branchName

And then it splits the string and if there are more than 3 items as a result it returns from the function saying invalid value.

I had to correct it to use it myself but I found it fascinating since it suddenly made the somewhat mystical innards of aws seem a little more human. At least that's how I felt :D.

Re:Ask HN: What code samples should programmers read? by pyre on Monday June 05, 2017 @10:08AM (#14487663)
I would submit a bug report. I've reported bugs in aws cli tools before, and they were patched.
Re:Ask HN: What code samples should programmers read? by taormina on Monday June 05, 2017 @12:27PM (#14488893)
They also accept PRs sometimes.