frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Get an AI code review in 10 seconds

https://oldmanrahul.com/2025/12/19/ai-code-review-trick/
14•oldmanrahul•2h ago

Comments

Smaug123•40m ago
With not much more effort you can get a much better review by additionally concatenating the touched files and sending them as context along with the diff. It was the work of about five minutes to make the scaffolding of a very basic bot that does this, and then somewhat more time iterating on the prompt. By the way, I find it's seriously worth sucking up the extra ~four minutes of delay and going up to GPT-5 high rather than using a dumber model; I suspect xhigh is worth the ~5x additional bump in runtime on top of high, but at that point you have to start rearchitecting your workflows around it and I haven't solved that problem yet.

(That's if you don't want to go full Codex and have an agent play around with the PR. Personally I find that GPT-5.2 xhigh is incredibly good at analysing diffs-plus-context without tools.)

verdverm•11m ago
I've been using gemini-3-flash the last few days and it is quite good, I'm not sure you need the biggest models anymore. I have only switched to pro once or twice the last few days

Here are the commits, the tasks were not trivial

https://github.com/hofstadter-io/hof/commits/_next/

Social posts and pretty pictures as I work on my custom copilot replacement

https://bsky.app/profile/verdverm.com

Smaug123•5m ago
Depends what you mean by "need", of course, but in my experience the curves aren't bending yet; better model still means better-quality review (although GPT-5.0 high was still a reasonably competent reviewer)!
ocharles•35m ago
I recently started using LLMs to review my code before asking for a more formal review from colleagues. It's actually been surprisingly useful - why waste my colleagues time with small obvious things? But it's also gone much further than that sometimes with deeper reviews points. Even when I don't agree with them it's great having that little bit more food for thought - if anything it helps seed the review
danlamanna•27m ago
Are you using a particularly well crafted prompt or just something off the cuff?
sultson•13m ago
This one's served fairly well: "Review this diff - detect top 10 problem-causers, highlight 3 worst - I'm talking bugs with editing,saving etc. (not type errors or other minor aspects) [your diff]". The bit on "editing, saving" would vary based on goal of diff.
morkalork•12m ago
Not who you're replying to but working at a small small company, I didn't have anyone to give my code for review to so have used AI to fill in that gap. I usually go with a specific then general pass, where for example if I'm making heavy use of async logic, I'll ask the LLM to pay particular attention to pitfalls that can arise with it.
ocharles•3m ago
We're a Haskell shop, so I usually just say "review the current commit. You're an experienced Haskell programmer and you value readable and obvious code" (because that it is indeed what we value on the team). I'll often ask it to explicitly consider testing, too

Show HN: 12k+ Nano Banana Pro Prompts Organized in One Place

https://www.picsprompts.com/
1•moobuilds•1m ago•0 comments

Utah homeless campus takes shape

https://www.ksl.com/article/51408869/utah-has-a-grand-vision-for-homeless-campus-but-plans-ambigu...
1•gscott•1m ago•0 comments

Show HN: An authority gateway that controls AI actions before they execute

https://github.com/malukutty/ai_authority_gateway
1•bhaviav100•3m ago•0 comments

Foundation Models for Scientific Discovery and Innovation

https://www.nationalacademies.org/publications/29212
1•Anon84•4m ago•0 comments

Show HN: Building a 2D Platformer Video Game on an Oscilloscope

https://cameronbryzek.com/projects/oscilloscope-platformer
2•michaelbryzek•4m ago•0 comments

Show HN: Tooly – Developer tools without the ad clutter

https://www.tooly.one/
1•hengery•7m ago•0 comments

Live cameras are tracking faces in New Orleans. Who should control them?

https://www.npr.org/2025/12/16/nx-s1-5616681/new-orleans-live-facial-recognition-surveillance
1•measurablefunc•11m ago•1 comments

YouTube hid the dislike button. Now it's considering a name change

https://www.tubefilter.com/2025/12/19/youtube-dislike-button-hidden-not-interested/
2•gnabgib•11m ago•0 comments

How Did Corporations Get Stuck in Politics and Can They Escape?

https://corpgov.law.harvard.edu/2024/04/03/how-did-corporations-get-stuck-in-politics-and-can-the...
1•alephnerd•14m ago•1 comments

Show HN: DynamicHorizon – Dynamic Island for macOS

https://www.dynamichorizon.app/
1•DHDEV•15m ago•0 comments

Saturn's biggest moon might not have global ocean, but search for life not over

https://www.washington.edu/news/2025/12/17/saturns-biggest-moon-might-not-have-an-ocean/
1•gmays•19m ago•0 comments

Show HN: ToolPipeline – Visually build serverless AI and data pipeline workflows

https://toolpipeline.com
1•radovskyb•23m ago•1 comments

The most complex model we understand [video]

https://www.youtube.com/watch?v=D8GOeCFFby4
1•reqo•24m ago•0 comments

Contextualizing descent in Neolithic northern Europe

https://journals.openedition.org/bmsap/16175
1•bryanrasmussen•27m ago•0 comments

Understanding AI Benchmarks

https://blog.sshh.io/p/understanding-ai-benchmarks
2•sshh12•27m ago•0 comments

There Is Something Faster Than Light [video]

https://www.youtube.com/watch?v=NIk_0AW5hFU
1•ksec•28m ago•0 comments

Show HN: Token-Saving Web Fetch and Search API for Agents

https://quercle.dev
1•liran_yo•29m ago•0 comments

Acting CISA director failed polygraph. Career staff are now under investigation

https://www.politico.com/news/2025/12/21/cisa-acting-director-madhu-gottumukkala-polygraph-invest...
3•apical_dendrite•31m ago•0 comments

Trump admin to hire 1k specialists for 'Tech Force' to build AI projects

https://www.cnbc.com/2025/12/15/trump-ai-tech-force-amazon-apple.html
2•smurda•31m ago•0 comments

A Clever way to store your data and other people's data as a rent

https://sia.tech/
2•bhhhhhhcc•33m ago•0 comments

Twice Accused of Murder, This Writer Later Foresaw the Sinking of the Titanic

https://www.smithsonianmag.com/history/twice-accused-of-murder-this-writer-later-foresaw-the-sink...
2•wjSgoWPm5bWAhXB•34m ago•0 comments

Ask HN: What high impact software to build in 2026?

1•aecorredor•34m ago•0 comments

Moore Threads unveils next-gen gaming GPU with 15x performance, 50x ray tracing

https://www.tomshardware.com/pc-components/gpus/moore-threads-unveils-next-gen-gaming-gpu-with-15...
1•rbanffy•35m ago•0 comments

Canada's $1B Question: Do Property Rights Still Exist in British Columbia?

https://www.wsj.com/world/americas/canadas-1-billion-question-do-property-rights-still-exist-in-b...
4•JumpCrisscross•35m ago•0 comments

WriteFreely: An open source platform for building a writing space on the web

https://writefreely.org/
1•janandonly•37m ago•0 comments

The Year in Computer Science

https://www.quantamagazine.org/the-year-in-computer-science-20251216/
1•ibobev•38m ago•0 comments

CSRF Protection Without Tokens or Hidden Form Fields

https://blog.miguelgrinberg.com/post/csrf-protection-without-tokens-or-hidden-form-fields
3•ibobev•39m ago•0 comments

Control Your XBerry Pi with ZX Spectrum+ Keyboard

https://retrogamecoders.com/control-your-xberry-pi-with-zx-spectrum-keyboard/
1•ibobev•40m ago•0 comments

Canada's First Christmas Without the Hudson's Bay Company

https://economist.com/the-americas/2025/12/21/canadas-first-christmas-without-the-hudsons-bay-com...
1•andsoitis•42m ago•0 comments

SpaceX has filed to trademark "Starlink Mobile," launching a mobile carrier?

https://twitter.com/SawyerMerritt/status/1996735326233260505
1•janandonly•42m ago•0 comments