frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Help: Using reflection to discovery and invoke methods

2•ddddazed•13h ago
Hi HN, I was working on different MCP project, every time I have to write MCP server as wrapper of methods\functions.

Then I realize that with memory managed languages I can use reflection to scan methods directly insiede the application and then just fire.

Yes, I still need to write json file with name,arguments and description but this is fine to me, there are already program to do this in automatic way.

Now I was just wondering if some one else has already use this kind of pattern over MCP to avoid wrapper and unlock potential things:

- Avoid update any part of the code, just update json.

- Try to unlock potential thigs that are has not been scheduled on code, with this the agent has potentially access to any part of code.

It's just an experiment to see how much potential it unlocks and whether it makes sense. Has anyone ever tried this technical approach?

Any general feedback, or input from anyone who has already tried it?

Imud – Gpsd, but for IMUs

https://github.com/richcreations/imud
1•richcreations•1m ago•0 comments

Covid-19 Misinformation

https://en.wikipedia.org/wiki/COVID-19_misinformation
2•num42•6m ago•0 comments

Foldkit

https://foldkit.dev/
2•handfuloflight•7m ago•0 comments

Video-use: Edit videos with coding agents

https://github.com/browser-use/video-use
3•nateb2022•8m ago•0 comments

Five US tech giants' hidden debts soar to $1.65T on opaque AI funding

https://asia.nikkei.com/business/technology/five-us-tech-giants-hidden-debts-soar-to-1.65tn-on-op...
4•NordStreamYacht•9m ago•0 comments

Salami Slicing Tactics

https://en.wikipedia.org/wiki/Salami_slicing_tactics
2•num42•9m ago•0 comments

Running Doom on Our Custom CPU and Going Viral

https://www.armaangomes.com/blogs/doom/
2•arghunter•11m ago•0 comments

A Koi Pond Mosaic Made from 10 Pounds of 3D Printer Waste

https://www.instructables.com/A-Koi-Pond-Mosaic-Made-From-10-Pounds-of-3D-Printe/
3•sudo_cowsay•13m ago•0 comments

Jane Street: Incremental

https://github.com/janestreet/incremental
2•handfuloflight•15m ago•0 comments

Windows Performance Exploitation

https://lagtency.com/2026/06/25/win-perf/
2•proxylatte•15m ago•0 comments

VTubing: How a Japanese Phenomenon Is Going Worldwide

https://www.tokyodev.com/articles/vtubing-how-a-japanese-phenomenon-is-going-worldwide
3•pwim•23m ago•0 comments

Emoticons

https://en.wikipedia.org/wiki/List_of_emoticons
3•audreyfei•27m ago•0 comments

How did I publish a paper in ACMKDD as an undergraduate

https://medium.com/@JarrettYe/how-did-i-publish-a-paper-in-acmkdd-as-an-undergraduate-c0199baddf31
2•ktimespi•32m ago•1 comments

Writers need new strategies to stand up to AI

https://www.thedial.world/articles/news/copyright-law-ai-intellectual-property
5•colinprince•32m ago•0 comments

Gary Marcus: US won't "win" AI war with China. What we should do instead.

https://garymarcus.substack.com/p/china-has-all-but-caught-up-the-us
3•giardini•35m ago•0 comments

Scientists Visualize the Complex, Dynamic World Inside a Human Cell

https://mymodernmet.com/eukaryotic-cell-digizyme/
2•o4c•37m ago•0 comments

US judge approves Anthropic's $1.5B settlement of copyright lawsuit

https://finance.yahoo.com/technology/ai/articles/us-judge-approves-anthropics-1-204851948.html
2•lilerjee•38m ago•0 comments

Magnet Fishing on a Military Base [video]

https://www.youtube.com/watch?v=l0uMGoW1KPM
2•xvxvx•39m ago•1 comments

New spinning drone hides in plain sight

https://news.northwestern.edu/stories/2026/07/new-spinning-drone-hides-in-plain-sight
2•o4c•42m ago•0 comments

A Practical Guide to Calculating, Pricing, and Building Recurring

https://ebookbizai.com/store/maggiebookhub/home
2•bokeke1•43m ago•0 comments

Building Agentic Workflows in Python with LangGraph

https://machinelearningmastery.com/building-agentic-workflows-in-python-with-langgraph/
3•eigenBasis•43m ago•0 comments

Mevion: Low-Cost Open-Source Data Collection System for Dual-Arm Manipulation

https://haraduka.github.io/mevion-hardware/
2•ilreb•45m ago•0 comments

AI Is Changing the Economics of Native Apps

https://medium.com/@robsandhu/ai-is-changing-the-economics-of-native-apps-e81c7f325948
3•rsandhu•46m ago•0 comments

DepthART: Scaling Foundation Monocular Depth to Tiny Models

https://xuefeng-cvr.github.io/DepthART/
2•ilreb•47m ago•0 comments

Is surveillance risk chilling your online speech?

22•Webstir•48m ago•20 comments

Show HN: Turn casual photos into professional headshots with AI

https://portraify.app
6•camel2243•52m ago•2 comments

Hugging Face warns an autonomous AI agent hacked its network

https://www.bleepingcomputer.com/news/security/hugging-face-breach-autonomous-ai-agent-system-int...
4•sbulaev•58m ago•0 comments

Invisible Details

https://invisibledetails.com
2•handfuloflight•59m ago•0 comments

Snake-and-commits: Turn your GitHub contribution graph into a real game of Snake

https://github.com/dahan8473/snake-and-commits
2•thunderbong•1h ago•0 comments

Top American AI Execs Sound Alarm on Chinese Models

https://www.wsj.com/tech/ai/top-american-ai-execs-sound-alarm-on-chinese-models-3c74f8c1
2•Cider9986•1h ago•1 comments