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.

More from Corey Quinn

You May Also Like

शमशान में जब महर्षि दधीचि के मांसपिंड का दाह संस्कार हो रहा था तो उनकी पत्नी अपने पति का वियोग सहन नहीं कर पायी और पास में ही स्थित विशाल पीपल वृक्ष के कोटर में अपने तीन वर्ष के बालक को रख के स्वयं चिता पे बैठ कर सती हो गयी ।इस प्रकार ऋषी दधीचि और उनकी पत्नी की मुक्ति हो गयी।


परन्तु पीपल के कोटर में रखा बालक भूख प्यास से तड़पने लगा। जब कुछ नहीं मिला तो वो कोटर में पड़े पीपल के गोदों (फल) को खाकर बड़ा होने लगा। कालान्तर में पीपल के फलों और पत्तों को खाकर बालक का जीवन किसी प्रकार सुरक्षित रहा।

एक दिन देवर्षि नारद वहां से गुजर रहे थे ।नारद ने पीपल के कोटर में बालक को देख कर उसका परिचय मांगा -
नारद बोले - बालक तुम कौन हो?
बालक - यही तो मैं भी जानना चहता हूँ ।
नारद - तुम्हारे जनक कौन हैं?
बालक - यही तो मैं भी जानना चाहता हूँ ।

तब नारद ने आँखें बन्द कर ध्यान लगाया ।


तत्पश्चात आश्चर्यचकित हो कर बालक को बताया कि 'हे बालक! तुम महान दानी महर्षि दधीचि के पुत्र हो । तुम्हारे पिता की अस्थियों का वज्रास्त्र बनाकर ही देवताओं ने असुरों पर विजय पायी थी।तुम्हारे पिता की मृत्यु मात्र 31 वर्ष की वय में ही हो गयी थी'।

बालक - मेरे पिता की अकाल मृत्यु का क्या कारण था?
नारद - तुम्हारे पिता पर शनिदेव की महादशा थी।
बालक - मेरे उपर आयी विपत्ति का कारण क्या था?
नारद - शनिदेव की महादशा।
इतना बताकर देवर्षि नारद ने पीपल के पत्तों और गोदों को खाकर बड़े हुए उस बालक का नाम पिप्पलाद रखा और उसे दीक्षित किया।
THE MEANING, SIGNIFICANCE AND HISTORY OF SWASTIK

The Swastik is a geometrical figure and an ancient religious icon. Swastik has been Sanatan Dharma’s symbol of auspiciousness – mangalya since time immemorial.


The name swastika comes from Sanskrit (Devanagari: स्वस्तिक, pronounced: swastik) &denotes “conducive to wellbeing or auspicious”.
The word Swastik has a definite etymological origin in Sanskrit. It is derived from the roots su – meaning “well or auspicious” & as meaning “being”.


"सु अस्ति येन तत स्वस्तिकं"
Swastik is de symbol through which everything auspicios occurs

Scholars believe word’s origin in Vedas,known as Swasti mantra;

"🕉स्वस्ति ना इन्द्रो वृधश्रवाहा
स्वस्ति ना पूषा विश्ववेदाहा
स्वस्तिनास्तरक्ष्यो अरिश्तनेमिही
स्वस्तिनो बृहस्पतिर्दधातु"


It translates to," O famed Indra, redeem us. O Pusha, the beholder of all knowledge, redeem us. Redeem us O Garudji, of limitless speed and O Bruhaspati, redeem us".

SWASTIK’s COSMIC ORIGIN

The Swastika represents the living creation in the whole Cosmos.


Hindu astronomers divide the ecliptic circle of cosmos in 27 divisions called
https://t.co/sLeuV1R2eQ this manner a cross forms in 4 directions in the celestial sky. At centre of this cross is Dhruva(Polestar). In a line from Dhruva, the stars known as Saptarishi can be observed.