frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: YOLO – metaprograming AI decorator generating function code from stubs

https://github.com/stoyan-stoyanov/yololang
1•spstoyanov•6h ago
The other day I was thinking about the future of programming and how our workflows change with AI and I started wondering what would an AI-native programming language look like.

So I got this idea - what if we can just write function / class definitions and let AI generate the actual code for us. One thing led to another and after a fun weekend I got something working.

I made a simple python decorator that uses a function definition to generate the function code. It works for async functions and class methods, and it caches the generated code locally. There are some fun use cases like AI-generated fastAPI endpoints and agent tools.

I also realized that this approach somewhat incentivizes test-driven development because if you write the tests ahead of time you don’t only make sure that the code works but it is generated and cached before the actual program runs.

I haven’t had enough time to do a proper comparison but I wonder if this test-driven approach produces better code vs traditional vibe-coding.

I would love to hear your thoughts.

Cheers!

US Importers Sued for 'Greenwashing' Mexican Avocados

https://civileats.com/2025/07/09/u-s-importers-sued-for-greenwashing-mexican-avocados/
1•gmays•55s ago•0 comments

Milton Friedman – I, Pencil [video]

https://www.youtube.com/watch?v=67tHtpac5ws
2•simonebrunozzi•5m ago•0 comments

US deports immigrants from Jamaica, Cuba to African kingdom of Eswatini

https://apnews.com/article/deportees-trump-africa-eswatini-migrant-africa-8d10c5a1de7ba50cbea9712b6b5fbfbc
1•perihelions•7m ago•0 comments

What Do Commercials About A.I. Promise?

https://www.newyorker.com/culture/critics-notebook/what-do-commercials-about-ai-really-promise
1•bryanrasmussen•9m ago•0 comments

Show HN: Hoff

https://github.com/madprops/Hoff
1•complex_city•11m ago•0 comments

Why One Geologist Thinks We Should All Pay More Attention to Rocks

https://atmos.earth/why-one-geologist-thinks-we-should-all-pay-more-attention-to-rocks/
1•homarp•12m ago•0 comments

Why Women in Tech isn't enough

https://whitep4nth3r.com/blog/why-women-in-tech-isnt-enough/
1•synesthetic•13m ago•0 comments

Employers Pay Problem-Solvers, Not Encyclopedias

https://michaelbastos.com/blog/why-employers-pay-problem-solvers-not-encyclopedias
2•mbastos•14m ago•1 comments

Hyprland 0.50.0 Released

https://hypr.land/news/update50/
1•clemensnk•15m ago•0 comments

Gitplay: Learn how a software project (using Git) evolved over time

https://github.com/pixlie/gitplay
1•indigodaddy•18m ago•0 comments

Google will enable Gemini to harass and annoy businesses with its questions

https://www.theverge.com/news/708210/google-ai-phone-calls-ai-mode-gemini-upgrade
4•bbarnett•20m ago•1 comments

I analyzed 50k+ negative app reviews (from 5k+ mobile apps) to get app ideas

https://www.bigideasdb.com/
1•OmPatel5•22m ago•1 comments

Show HN: Mocksmith.dev – Instantly Generate Relational Test Data

http://www.mocksmith.dev
1•mllev•24m ago•1 comments

Poker Bot

https://pokerbotai.com/
1•energy_floww•26m ago•0 comments

Double Pendulums are Chaoticn't [video]

https://www.youtube.com/watch?v=dtjb2OhEQcU
2•shiryel•26m ago•0 comments

Nihon Hidankyo

https://en.wikipedia.org/wiki/Nihon_Hidankyo
1•simonebrunozzi•27m ago•0 comments

Enhancing COBOL Code Explanations: A Multi-Agents Approach Using LLMs

https://arxiv.org/abs/2507.02182
1•PaulHoule•28m ago•0 comments

Reactive Java Operator-fusion (2016)

https://akarnokd.blogspot.com/2016/03/operator-fusion-part-1.html
1•mfiguiere•29m ago•0 comments

The Rules for Rulers [video]

https://www.youtube.com/watch?v=rStL7niR7gs
1•_feynon•30m ago•0 comments

Deriving Accurate Nocturnal HR, RMSSD and Frequency HRV from Oura Ring (2024)

https://pmc.ncbi.nlm.nih.gov/articles/PMC11644394/
1•wslh•30m ago•0 comments

The next 700 programming languages

https://dl.acm.org/doi/10.1145/365230.365257
1•gnufx•32m ago•1 comments

Man has shoes tattooed onto his feet because he's 'tired of paying' for new ones

https://www.mirror.co.uk/news/weird-news/man-shoes-tattooed-onto-feet-27231125
3•austinallegro•32m ago•0 comments

Typogram Studio: A New Tool for Beautiful Typography Design

https://typogram.co/blog/introducing-typogram-studio-a-new-tool-for-beautiful-typography-design/
2•wentin•33m ago•0 comments

Intel's retreat is unlike anything it's done before in Oregon

https://www.oregonlive.com/silicon-forest/2025/07/intels-retreat-is-unlike-anything-its-done-before-in-oregon.html
3•cbzbc•36m ago•0 comments

Mapping the AI economy: Which regions are ready for the next technology leap

https://www.brookings.edu/articles/mapping-the-ai-economy-which-regions-are-ready-for-the-next-technology-leap/
1•hunglee2•36m ago•0 comments

High-Speed Rail Route Proposed Between Los Angeles and New York

https://www.newsweek.com/high-speed-rail-new-york-los-angeles-2093565
1•geox•36m ago•2 comments

Op against Russian hackers Noname, 5 arrest warrants

https://www.ansa.it/english/news/general_news/2025/07/16/op-against-russian-hackers-noname-5-arrest-warrants_3d878945-6347-47c4-8e5e-b91f3617f12c.html
1•N19PEDL2•37m ago•0 comments

I Got into Deep Learning

https://www.vikas.sh/post/how-i-got-into-deep-learning
2•skadamat•41m ago•0 comments

Steam bans games that violate the 'rules and standards' of payment processors

https://www.engadget.com/gaming/steam-now-bans-games-that-violate-the-rules-and-standards-of-payment-processors-and-banks-164222173.html
7•akyuu•42m ago•2 comments

We Have Made the Decision to Not Continue Paying for BBB Accreditation

https://mycherrytree.com/blogs/news/why-we-have-made-the-decision-to-not-continue-paying-for-accreditation-from-the-better-business-bureau-bbb
3•LorenDB•43m ago•1 comments