LIVE
Rumours that AI labs can break encryption run ahead of the evidence AI-Assisted Search Points to a Possible Dwarf Planet in the Outer Solar System ICE Expands Surveillance Reach Using Flock Safety Camera Network via Local Police Proxies Startups Showcase Body-Integrated Tech with Smart Lenses and Graphene Bandages Nvidia CEO Jensen Huang Set for Congressional Hearings on China Ties and Chip Sales Dating App User Banned After Secretly Recording Dates for AI Analysis RuneScape Developer Jagex Urges Password Resets Following Security Breach Anthropic and OpenAI: how the enterprise AI race has shifted US Federal Cases Trace $974 Million in Banned Nvidia Hardware Rerouted to China Lawmakers to press Nvidia's Jensen Huang over alleged chip smuggling to China Rumours that AI labs can break encryption run ahead of the evidence AI-Assisted Search Points to a Possible Dwarf Planet in the Outer Solar System ICE Expands Surveillance Reach Using Flock Safety Camera Network via Local Police Proxies Startups Showcase Body-Integrated Tech with Smart Lenses and Graphene Bandages Nvidia CEO Jensen Huang Set for Congressional Hearings on China Ties and Chip Sales Dating App User Banned After Secretly Recording Dates for AI Analysis RuneScape Developer Jagex Urges Password Resets Following Security Breach Anthropic and OpenAI: how the enterprise AI race has shifted US Federal Cases Trace $974 Million in Banned Nvidia Hardware Rerouted to China Lawmakers to press Nvidia's Jensen Huang over alleged chip smuggling to China

Developer Rewrites AI-Generated App After Anthropic Ban and Code Quality Issues

🌐 Work & Society 1 min read 👁 12

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.

🌐Work & Society

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/ ↗

Contact the newsroom

Got a tip, a proposal or a partnership question? Write to us and we will reply shortly.