Hacker News new | past | comments | ask | show | jobs | submit login
Almost automated code reviews (brainfisheatfishbrain.com)
26 points by tluyben2 on Dec 10, 2022 | hide | past | favorite | 5 comments



I wonder if you could train it to apply a style guide like https://google.github.io/styleguide/cppguide.html . I think that this would be nice problem that static analysis can't necessarily solve but is more defined than general code reviews which are more subjective.


For sometime now, I have been a victim of infidelity and I can tell you vividly that it hurts. The worst thing is if you have no evidence to prove your sanity. Even though I have discouraged my friends severally about hiring a hacker to catch their cheating partners, I resorted to hiring one before my divorce. My partner hid her affair too well and I had no evidence to prove her infidelity to the court. So I had to go back to my friend who I’m grateful for. He referred me to Wizard James, a hacker who he has worked with. I told him the service I wanted from him and why I needed it. His services were topnotch which made working with him very easy. He got me everything I needed within 4 hours and it was amazing. I never knew technology has been so advanced that I can see everything I wanted at the tip of my fingers, with his exceptional service, I was able to convince my lawyer why I should get a divorce and start a new life. You can contact him at wizardjamesrecovery@usa.com or WhatsApp +1 863 254 2842


Ok, at a high level I get it. But there must have been some instructions provided. Could someone provide some example of what the instructions might look like for the case in this article?

I apologize in advance if this is stated in the article.


So like a basic linter.


It is not a BASIC linter, it is a PHP linter.

Anyways, I think it is a better application of current machine learning tech than code generation. The result of my experiments with ChatGPT is that the code it generates is almost right, as a result, it can be dangerous. But I think it is good at telling you "what you wrote here is not what others usually do in that situation", and it can be a valuable indication. If you really mean it, then you probably thought about it and it can be dismissed (or it may be a good indication that a comment is welcome), if you don't, then maybe it is a bug.

For example, if you write resize(width, width), it is weird. It may be a bug, a common one actually, and the AI found it, or it can be deliberate, and in this case maybe you want to clarify it (ex:// make it square-shaped), or just ignore it. Anyways, it something worth pointing out.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: