Lest people think I've become too far lost in the Talking Head weeds this past #reinvent week, it's now time for me to livetweet my use of a new AWS service that was announced this week.
You probably get my re:Quinnvent newsletter. Here's the system I built that generates it.
Now that CodeGuru supports Python, let's turn it loose on the "build" subservice. This is a @goserverless stack. The subcomponent features 8 Lambdas function fronted by 11 APIs Gateway.
Yes, let's get started with it!
It starts with the correct option selected. Good for it, bad for CodeCommit's veneer of legitimacy.
Always always always use at least a 'project' or similar tag. Future you will thank you when you're attempting to figure out what the hell is costing money.
It's hanging out in "associating" state long enough that I"m starting to wonder if that's an ML term of art. GitHub's API is lightning-fast.
Bit of a UX fail here. To scan the entire repository I have to hit "code reviews" in the left nav bar. There's no direct shot from this window.
"Sure, I want security." Now after a bit of headscratching I see that it's overloading the term "repository" to mean an artifact bucket as well.

Much like a typical customer, I ignore that nonsense and disable the thing with the word "security" in it.
"master" is my feature branch because I was told to hold off on converting it to "main" until some GitHub tooling made this easier.

No, I'm not misusing the term "feature branch."
Much like I do, @awscloud's CodeGuru names code reviews / commit messages by smacking a keyboard a few times. In this case, "nextweekinaws-master-6p394lx6vgx92drp"
We're now in state "pending." It claims to take 5-10 minutes.

Github tells me this app is 60.6% Python, 39.4% HTML.

98 commits, dating back to my initial commit in October of 2017.
And according to @awscloud CodeGuru Reviewer, my Python is perfect with no improvements possible.

This is of course a screaming red flag that this service is fake, or else my code is so bad that it's not even recognized as Python.
I have an unstaged commit; I'm ripping out legacy access tokens for @Pinboard and @Pocket because I don't use them anymore. The actual keys were stored in Parameter Store because at one point I liked to cosplay as a responsible engineer.
I create a pull request for that change, and find it's already analyzing it.

This is worrisome.
Because CodeGuru charges 75¢ per hundred lines of code in a pull request. Think of, say, massive version updates to packages, you add a new module, etc. These can get large--and you never had to think about it that way before. Now it's spendy.
And no recommendations to the pull request, which isn't a big surprise.

I add two more repos and start analyzing them.
(These are my custom anonymizing clicktracker for aggregate data only, and my "render Snarkdown into HTML" bits.)
Rude, @awscloud.
I kid. It found no issues in any of my code. That's terrifying and now I know something's afoot.
Okay, *none* of my repositories are showing issues. I have a theory. Let's check the CodeGuru documentation.
Aha! Found it!
Remember, this is "Machine Learning," which is a polite euphamism for "bias laundering." Nobody knows how the algorithm works.

I suspect that it wound up looking at a bunch of code and making some assumptions, like "if the author is 'Stephen' the code is shitty."
That is of course a joke. This is ML in tech in 2020. The actual author name would of course be something typically female-presenting.
So yeah. I don't honestly know how to evaluate this service. I assure you my code is far from perfect, but I can't seem to convince @awscloud of that.

I'll be expecting a job offer early next week.
One final note: if I weren't in the 90 day trial period, I would have paid @awscloud $5 to tell me nothing at all via this experiment.
Oh, and even the pep8 linter has Some Thoughts on my shit tier code.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Corey Quinn

Corey Quinn Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @QuinnyPig

5 Dec
So this #reinvent eve, I want to talk about "The Mug: A thread featuring this glorious bastard."
I've gotten a few questions to the tune of "what's @awscloud Hambone," "what's this mug you keep talking about" and "what the hell is wrong with you?"

That last one is from my parents, so we'll disregard it.
For #reinvent, AWS is "particular about slides" in the same sense as "an exploding sun is slightly warm." They send out a standardized PowerPoint slide deck template that all speakers are to use. It's usually fairly zany. This year's featured a rando line art drawing of a ham.
Read 15 tweets
3 Dec
*opens LinkedIn*

*sees 218 connection requests*

*closes LinkedIn*
You aren’t helping.
Heavy representation from:
* people I’ve never heard of
* recruiters trying to sell me candidates
* vendors who are convinced I’ll fall in love with their unicorn product
Read 4 tweets
3 Dec
And we're up with the sun for another #reQuinnvent livetweet thread, this time the #reinvent Partner Keynote.
The music is *GREAT*, which is fortunate because when you're an @awscloud partner you absolutely will dance to their tune.
I should disclaim here that neither I nor the Duckbill Group are @awscloud partners for a variety of excellent reasons and a few bad ones, ranging from "elimination of perceived conflicts of interest in bill negotiation" to "I don't like shakedowns."
Read 56 tweets
3 Dec
For tonight's #requinnvent unwind thread:

Post a picture of something. An animal, a common object, etc–and I will tell you what an @awscloud Namer would call it.
Read 37 tweets
2 Dec
Slow #reinvent news day, so I will now do a #requinnvent livetweet of a panel: "Boldness Matters in Critical Moments."
This features Mai-Lan Tomsen Bukovec (@awscloud VP of Storage), Eva Chen (@TrendMicro) co-founder and CEO, @ShelArchambeau (@Verizon board member), and @juliecordura(Thorn.org CEO).
Mai-Lan was one of my favorite Screaming in the Cloud guests. Sadly the other four folks haven't appeared. YET. Image
Read 38 tweets
2 Dec
In this #requinnvent thread, ask me anything about @awscloud's #reinvent releases and I'll do my best to answer them. Let's see how I do at being an unpaid Cloud Whisperer!
Multiple AWS folks have said that this was widely considered to be impossible even a few short years ago.

This feels like a combination of "a lot of engineering work" and "a breakthrough or two."

There are many more announcements yet to come.

Read 14 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!