frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Python Code Harmonizer – Semantic analysis for clean maintainable code

https://github.com/BruinGrowly/Python-Code-Harmonizer
1•bruinmeister•6h ago
I've built a tool that performs semantic analysis on Python code to detect inconsistencies between function intent and actual implementation.

What it does: The tool analyzes your Python functions and identifies cases where: - Function names/documentation promise one type of operation - The actual code implementation does something different - There's a semantic gap between stated purpose and execution

How it works: 1. Parses Python AST to extract function names, docstrings, and implementation logic 2. Uses semantic analysis to map both intent and execution to conceptual spaces 3. Measures the distance between these spaces to flag significant mismatches 4. Generates a report showing which functions have the largest intent-execution gaps

Example findings: - A function named `calculate_score()` that actually just fetches cached values - A `validate_input()` function that secretly sends analytics data - A `update_user_prefs()` function that uses destructive delete/recreate patterns

What else it provides:

Team collaboration benefits: - Objective metrics for code review discussions - Clear evidence when renaming functions or refactoring - Shared vocabulary for discussing code quality beyond "this feels wrong"

Code quality trending: - Track semantic consistency across versions - Measure improvement after refactoring efforts - Identify areas where documentation needs updating

Architectural insights: - Spot patterns where certain concepts are consistently misrepresented - Identify modules with high semantic confusion density - Find where your codebase's actual architecture diverges from intended design

Integration ready: - Simple CLI output for CI/CD pipelines - Machine-readable results for custom reporting - Extensible framework for adding new semantic rules

I made a tiny macOS CLI to instantly check and remove quarantine flags (OSS)

https://github.com/jurek-zsl/homebrew-antiQuarantine
1•jurekdev•4m ago•0 comments

Palantir sues former employees for allegedly stealing company secrets

https://www.wsj.com/tech/ai/palantir-lawsuit-jain-cohen-trade-secrets-6aedc42c
1•hhs•4m ago•0 comments

Show HN: VoiceBrief – Turn textbooks into 1-hour audio lectures with AI

https://voicebrief.io/
1•dm118•5m ago•0 comments

Portableapps.com – Portable software for USB, portable, and cloud drives

https://portableapps.com/
1•notRobot•6m ago•0 comments

Midori Browser – Built-in ad and tracker blocking

https://astian.org/midori-browser/
1•nmridul•7m ago•0 comments

Scientists can't define consciousness, yet we think AI will have it

1•f_of_t_•7m ago•0 comments

Escape from Duckov is not what I was expecting at all

https://www.eurogamer.net/escape-from-duckov-is-not-what-i-was-expecting-at-all-and-its-another-s...
1•PaulHoule•9m ago•0 comments

All Qwen3 VL versions now running smooth in HugstonOne

https://old.reddit.com/r/Hugston/
1•trilogic•10m ago•1 comments

Exposing the Gambling Epidemic

https://www.youtube.com/watch?v=9Ii1ROzeSwU
2•indigodaddy•11m ago•1 comments

Show HN: Fed Market Watch – Live FOMC Odds from CME, Kalshi, and Polymarket

https://www.oddpool.com/fed-market-watch
1•codelemons•12m ago•0 comments

Interstellar Comet 3I/Atlas: Evidence for Galactic Cosmic Ray Processing

https://arxiv.org/abs/2510.26308
1•bikenaga•13m ago•0 comments

Google Maps is working on an minimalist power saving mode

https://www.androidauthority.com/google-maps-power-saving-3611409/
2•jmsflknr•13m ago•0 comments

Maryland's new privacy law puts strict limits on how companies use your data

https://technical.ly/civics/maryland-data-privacy-act/
2•Philadelphia•13m ago•0 comments

Vercel AI SDK 6 Beta

https://v6.ai-sdk.dev/docs/announcing-ai-sdk-6-beta
1•rbitar•14m ago•0 comments

How did the Windows 95 UI code get brought to the Windows NT code base?

https://devblogs.microsoft.com/oldnewthing/20251028-00/?p=111733
1•Aloha•14m ago•0 comments

Optical Single Red Blood Cell HbA1c measurement and glycemic history assessment

https://www.science.org/doi/10.1126/sciadv.ady1318
1•PaulHoule•15m ago•0 comments

Everything You Need to Know About Building Software That Plays Well with Others

https://medium.com/@DocTaco/multi-tenant-apps-101-everything-you-need-to-know-about-building-soft...
1•0dj0bz•15m ago•1 comments

Expanding Access to XR: Google Cardboard Comes to Monado

https://www.collabora.com/news-and-blog/blog/2025/10/31/expanding-access-to-xr-bringing-google-ca...
2•losgehts•16m ago•0 comments

Time to Privatize U.S. Air Traffic Control–Copy Canada's Model

https://marginalrevolution.com/marginalrevolution/2025/10/time-to-privatize-u-s-air-traffic-contr...
2•bikenaga•18m ago•1 comments

I am looking to work or partner with Startups as a Product Designer

1•anas_ahmed•18m ago•1 comments

Ask HN: What are you using for Semantic Monitoring?

1•harlequinetcie•19m ago•1 comments

Arduino UNO Q 3-D Printed Case

https://makerworld.com/en/models/1941082-arduino-uno-q-case
2•hasheddan•19m ago•0 comments

"Unexpectedly, a deer briefly entered the family room": Living with Gemini Home

https://arstechnica.com/google/2025/10/unexpectedly-a-deer-briefly-entered-the-family-room-living...
1•Jtsummers•20m ago•0 comments

Build to Last – Jeremy Howard and Chris Lattner

https://www.fast.ai/posts/2025-10-30-build-to-last.html
1•g_host56•21m ago•0 comments

Show HN: Magic Animal Generator – create realistic hybrids of any two animals

https://animalgenerator.net
1•SiliconGen•25m ago•1 comments

The Biro turns 80: How a simple pen rewrote everyday life

https://newatlas.com/technology/biro-pen-80th-anniversary/
2•Brajeshwar•25m ago•0 comments

Why zero is the most important number in all of mathematics

https://www.newscientist.com/article/2501465-why-zero-is-the-most-important-number-in-all-of-math...
1•Brajeshwar•25m ago•0 comments

Young T. rex or new species? 'Duelling Dinosaur' fossil might end 40-year debate

https://www.abc.net.au/news/science/2025-10-31/new-research-t-rex-nanotyrannus-debate-duelling-di...
1•Brajeshwar•26m ago•0 comments

How to mentally calculate logarithms base 2

https://www.johndcook.com/blog/2025/10/29/estimating-log-base-2/
1•ibobev•29m ago•0 comments

An ancient generalization of the Pythagorean Theorem

https://www.johndcook.com/blog/2025/10/30/apollonius-theorem/
1•ibobev•29m ago•0 comments