Developer Rewrites AI-Generated App After Anthropic Ban and Code Quality Issues
A developer working under internet restrictions in Iran used frontier large language models to build a music player, only to face an account ban and a lengthy rewrite process to clean up the codebase.
Key points
- Developer built a music player named AMP using Zig and AI assistance during internet blackouts.
- Anthropic account ban and platform policy shifts forced a manual code rewrite.
- Manual auditing reduced the codebase by nearly half while preserving functionality.
A software developer has shared their experience of building a local music player named AMP, initially turning to AI tools during a prolonged internet blackout and severe regional restrictions. Facing high costs for black-market connectivity and needing a way to pass the time, the creator utilized a gifted Claude subscription to rapidly generate thousands of lines of code for the project over several days.
The workflow hit a wall when Anthropic banned the developer's account upon discovering their location in Iran, compounded by Codeberg introducing a strict policy against AI-generated content. Unwilling to leave the repository in its AI-assisted state, the programmer embarked on a months-long manual audit to review and rewrite the entire codebase.
The resulting cleanup drastically reduced the codebase by nearly half while maintaining and improving the application's original features. The creator concluded that while large language models can handle basic text manipulation and repetitive tasks akin to advanced editor features, relying on them to generate entire applications leads to bloated and unmaintainable code.
Source Hacker News Front Page — alichraghi.github.io/blog/how-not-to-build-a-music-player/ ↗
Read next
🤖AI ModelsRumours that AI labs can break encryption run ahead of the evidence
A rumour that AI labs have a fast way to factor large numbers has spread, but no break of RSA has been demonstrated.
🤖AI ModelsAI-Assisted Search Points to a Possible Dwarf Planet in the Outer Solar System
A team that used a Claude model in its analysis reports a candidate dwarf planet, roughly 590 km wide, traced through Rubin Observatory data and 2013–2019 archival images…
⚖️Regulation & PolicyICE Expands Surveillance Reach Using Flock Safety Camera Network via Local Police Proxies
US Immigration and Customs Enforcement is increasingly utilizing AI-integrated license plate readers from Flock Safety by routing requests through local police department…
🚀Startups & FundingStartups Showcase Body-Integrated Tech with Smart Lenses and Graphene Bandages
Startups Xpanceo and Grapheal presented next-generation wearable technology at Dubai Future Week, featuring smart contact lenses and graphene-based biosensor bandages des…
🔌Chips & HardwareNvidia CEO Jensen Huang Set for Congressional Hearings on China Ties and Chip Sales
Nvidia CEO Jensen Huang faces a series of closed-door and public congressional hearings this week regarding chip sales and ties to China.
🚀Startups & FundingDating App User Banned After Secretly Recording Dates for AI Analysis
A New York hedge fund manager has been banned from Hinge after using a transcription app and Anthropic's Claude to secretly record and analyze his romantic dates.