Live data from Hacker News

Amazon CodeGuru – Preview

aws.amazon.com

161–170 of 209 posts

Re: Amazon CodeGuru – Preview

#161
post #143

Earlier quoted context omitted.

>Before AWS it took thousands of people and billions in capital investment to do so. WhatsApp Stats (2014): - 450 million active users, and reached that number faster than any other company in history. - 50 billion messages every day across seven platforms (inbound + outbound) - 32 engineers, one developer supports 14 million active users - $60 million investment from Sequoia Capital Which they managed their own Free…

I'm pretty sure GP is mistaking valuation for capital. Serving half a billion or more people probably nets you a billion dollar valuation or more these days, but it in no way requires a billion dollars to provide that service in the vast majority of cases. There is a sweet spot where cloud is good and provides some benefit but, once you're serving hundreds of millions of people and have double-digit millions in inves…

This is how we do it. Two on prem datacenters, one colo, and a handful of on-the-ready cloud providers. We serve far fewer users, but we also are getting 20 to 50k per user per year. Needless to say, at the scale we have cloud is out of the question except in catastrophic scenarios.

Re: Amazon CodeGuru – Preview

#162
post #110

One of their screenshot examples flags inefficient code in crypto libraries, and the suggested "fix" is "Evaluate switching to the Amazon Corretto Crypto Provider ACCP". I don't know enough about the subject matter area to know whether that's the right move, but it's interesting that CodeGuru is apparently, among other things, an opportunity to pay Amazon to upsell you on replacing some of your code with one of the p…

Amazon Corretto is their OpenJDK Java distro that is free and Open Source. I don't know if the project was already using Corretto or not, but it makes sense for them to recommend their own, supported, open source solution.

Your point is a fair one, and I admit unfamiliarity with Corretto, specifically. But they're telegraphing, right on the tin, that this new service will indeed recommend solutions of the form "we see a problem pattern in your code; try Amazon _____". The fact that Corretto is actually open source further muddies the waters.

Re: Amazon CodeGuru – Preview

#164

Earlier quoted context omitted.

My hot take is that if you can automatically detect meaningful bugs or author fixes, you need to level up your abstraction. I think these things make the most sense for Java and Go where there tends to be lots of repetition and lower-order programming patterns. Unlike say, Python, Lisp, or Rust.

I’ve never programmed in Java or Go in any serious context. What do some of those repeated patterns look like?

Loops

Re: Amazon CodeGuru – Preview

#165
post #143

Earlier quoted context omitted.

Amazon has made scalable, performant, high-availability systems constructable by a 10 person team that serves millions or even billions of people. Before AWS it took thousands of people and billions in capital investment to do so. Sure, google and Microsoft and IBM joined the party, but AWS was first and remains the best holistically. This is their moment of domination, and eventually something will knock them down,…

>Before AWS it took thousands of people and billions in capital investment to do so. WhatsApp Stats (2014): - 450 million active users, and reached that number faster than any other company in history. - 50 billion messages every day across seven platforms (inbound + outbound) - 32 engineers, one developer supports 14 million active users - $60 million investment from Sequoia Capital Which they managed their own Free…

Back in the day, reddit was definitely serving a couple million users with like three staff and on-prem servers.

and yeah, they were down all the time, but that didn't seem to matter to their growth.

Re: Amazon CodeGuru – Preview

#166
There is ZERO lock-in with this service. If people want to continue to do hand code reviews themselves, they can. There is also ZERO in Amazon's announcement that implies this is just about improving code specific to Amazon's platform. Stop being open source purists and start understanding reality. Many (most?) of the posters about this topic critiquing Amazon live in open source unicorn land, and seem to have almost no understanding of business realities. (Sorry for not saying what I really think but I thought I should be polite.)

Re: Amazon CodeGuru – Preview

#167
post #3

The code review feature seems too expensive to run on every PR automatically (to me): $0.75 per 100 lines of code. From their example pricing: "if you have a typical pull request with 500 lines of code, it would only cost $3.75 to run CodeGuru Reviewer on it." I wonder if it's actually good enough to justify that price.

That’s incredibly cheap, assuming it provides good suggestions. How much time does it take you to review 500 lines of code change, and what’s your time worth? If it takes 10 minutes and your time is worth about $20/hour or more, this service will part for itself immediately.

You really believe this will free you from traditional code reviews? I would treat it as an advanced linter, and from the pictures looks like that's how it integrates itself in github.

Re: Amazon CodeGuru – Preview

#168

Earlier quoted context omitted.

Or a 35,000 line XML configuration file.

Now that I think of it, if it's paid by lines of code, it perversely incentives people to minimize the lines of code, no? Does it count white space and comments? Can I minify my code before passing it to this, then unminify it?

If it is as smart as some people here think it would probably output: "are you f#$king with me?"

Re: Amazon CodeGuru – Preview

#169
post #87

Earlier quoted context omitted.

Now that I think of it, if it's paid by lines of code, it perversely incentives people to minimize the lines of code, no? Does it count white space and comments? Can I minify my code before passing it to this, then unminify it?

Can you just remove newlines from files? In most languages they're optional.

Count semicolons then.

Re: Amazon CodeGuru – Preview

#170

Earlier quoted context omitted.

It's still increasing your dependence on AWS systems and software. (The upsell price may be free for now, but who knows maybe they add a premium version or enterprise features in the future) I imagine that the tool will be used for recommending more amazon services in the future, and this is possibly a poor POC of more to come.

It's not an AWS system or service at all though... This is like saying that using React will lead you to be locked into Facebook?

More like locked out of Facebook. They stated that you can't sue Facebook corporation for any possible reason and can't react to lawsuites by FB to you in any way (even write a post about it), even in unrelated cases to React, or they will revoke your React license. I remember several highly upvoted posts here and on other resources about this.
Post reply on HN