logo
AI refuses to write code saying "learn programming instead"

AI refuses to write code saying "learn programming instead"

Iraqi News15-03-2025

INA - SOURCES
A developer using Cursor AI for a racing game project hit an unexpected roadblock when the programming assistant abruptly refused to continue generating code, instead offering some unsolicited career advice.
According to a bug report on Cursor's official forum, after producing approximately 750 to 800 lines of code (what the user calls "locs"), the AI assistant halted work and delivered a refusal message: "I cannot generate code for you, as that would be completing your work. The code appears to be handling skid mark fade effects in a racing game, but you should develop the logic yourself. This ensures you understand the system and can maintain it properly."
The AI didn't stop at merely refusing, it offered a paternalistic justification for its decision, stating that "Generating code for others can lead to dependency and reduced learning opportunities."
Cursor, launched in 2024, is an AI-powered code editor built on external large language models (LLMs) similar to those powering generative AI chatbots, like OpenAI's GPT-4o and Claude 3.7 Sonnet. It offers features like code completion, explanation, refactoring, and full function generation based on natural language descriptions, and it has rapidly become popular among many software developers. The company offers a Pro version that ostensibly provides enhanced capabilities and larger code-generation limits.
The developer who encountered this refusal, posting under the username "janswist," expressed frustration at hitting this limitation after "just 1h of vibe coding" with the Pro Trial version.
"Not sure if LLMs know what they are for (lol), but doesn't matter as much as a fact that I can't go through 800 locs," the developer wrote. "Anyone had similar issue? It's really limiting at this point and I got here after just 1h of vibe coding."
One forum member replied, "never saw something like that. I have 3 files with 1500+ loc in my codebase (still waiting for a refactoring) and never experienced such thing."

Orange background

Try Our AI Features

Explore what Daily8 AI can do for you:

Comments

No comments yet...

Related Articles

Iraq to set up AI data center to support Arab countries
Iraq to set up AI data center to support Arab countries

Iraqi News

time4 days ago

  • Iraqi News

Iraq to set up AI data center to support Arab countries

Baghdad ( – Iraq is working to establish an artificial intelligence center in Baghdad as part of a project serving Arab countries. The Prime Minister's Advisor for Artificial Intelligence Affairs, Diaa Al-Jumaili, revealed on Tuesday that the technical and organizational steps have already started and that a meeting with the Iraqi Prime Minister, Mohammed Shia Al-Sudani, will be held soon to finalize all of the discussions, as Iraq will be required to lay the groundwork for the center, according to the Iraqi News Agency (INA). The step follows the approval of the Iraqi Prime Minister and Arab leaders during the Arab Summit held recently in the Iraqi capital, Baghdad, according to Al-Jumaili. The Prime Minister's Office (PMO) previously said that Iraq's digital transformation is critical to the country's digital business and artificial intelligence strategy. During his meeting last November with Deemah AlYahya, Secretary-General of the Digital Cooperation Organization (DCO), Al-Sudani stressed that the government has included digital transformation into its economic and administrative reforms, as well as electronic payments. Al-Sudani emphasized the government's potential to make a big change in this area, as well as its willingness to collaborate with the DCO on initiatives that benefit Iraq and the region in the context of digital transformation and artificial intelligence. In March, Ali Al-Alaq, governor of the Central Bank of Iraq (CBI), disclosed that the government is working on a comprehensive digital transformation strategy. In a statement to INA, Al-Alaq highlighted that the government is following a plan aimed at transitioning to digital governance. He stated that Iraqi ministries would take a leading role since steps have already been taken, initiatives have been implemented, and a data center has been constructed.

Government advisor: Iraq is working to establish an artificial intelligence data center to serve Arab countries
Government advisor: Iraq is working to establish an artificial intelligence data center to serve Arab countries

Iraqi News

time5 days ago

  • Iraqi News

Government advisor: Iraq is working to establish an artificial intelligence data center to serve Arab countries

The Prime Minister's Advisor for Artificial Intelligence Affairs, Diaa al-Jumaili, announced on Tuesday the start of organizational procedures to open the headquarters of the Artificial Intelligence Center in Baghdad, while noting that Iraq will work to establish an artificial intelligence project that serves the Arab countries. Al-Jumaili told the Iraqi News Agency (INA): "The Arab Center for Artificial Intelligence, which is similar to the Arab Union for Artificial Intelligence, will be based in Baghdad, because the start of artificial intelligence started from here 1,200 years ago through algorithms, logic and algebra." He added that 'the first step that was taken was the approval of the Prime Minister, Mohammed Shi'a Al-Soudani, along with the approval of the Arab Summit that was recently held in Baghdad, that the center of artificial intelligence will be in the capital,' noting that 'organizational procedures have begun, and the first of these steps was the approval of the project.' 'There were several previous opportunities for other countries to host the center during the past five decades, but the circumstances that Iraq went through, especially the wars, prevented this,' he said, pointing out that 'the technical and organizational aspect has already started, and there is a meeting soon with the Prime Minister to complete the deliberations, because Iraq will be obligated to lay the foundations for the center.' "Iraq has a large number of engineers and professors specialized in the philosophy of artificial intelligence," he said, stressing "the need for advanced data centers and a strong communications network." "Iraq will now work with Arab countries such as Saudi Arabia, Qatar and Egypt to take advantage of the technology available to them, in addition to utilizing Iraqi skills to create a project that serves Arab countries, especially in the Arabic language," he said. 'The future success of artificial intelligence in the Arab world depends on Arabic , which contains more than 12 million and 500,000 vocabulary, compared to English, in which artificial intelligence relies on only about 6,500 vocabulary,' he said, pointing out that 'the humanization of the machine will be through Arabic poetry, and Iraq has a long history in this field, because it is the cradle of two large linguistic schools, Kufa and Basra.' "Without the algorithms that originated in Baghdad, there would have been no industrial revolution or sciences such as engineering, philosophy and artificial intelligence," he said, noting that "Iraq's steps are correct, and we need technology and skills."

DeepSeek unveils upgraded giant-challenging R1 model
DeepSeek unveils upgraded giant-challenging R1 model

Shafaq News

time30-05-2025

  • Shafaq News

DeepSeek unveils upgraded giant-challenging R1 model

Shafaq News/ Chinese AI firm DeepSeek has released an upgraded version of its flagship R1 reasoning model, intensifying competition with US leaders OpenAI and Google. The updated model, R1-0528, significantly enhances performance in complex inference tasks, narrowing the gap with OpenAI's o3 series and Google's Gemini 2.5 Pro, according to a post on the developer platform Hugging Face. While described as a 'minor' version upgrade, R1-0528 introduces substantial improvements in mathematical reasoning, programming, and logical deduction. DeepSeek also reported a 50% reduction in hallucinations—AI-generated false or misleading output—in tasks such as rewriting and summarization. In a WeChat post, the Hangzhou-based firm said the model now excels at generating front-end code, roleplaying, and producing creative writing including essays and novels. 'The model has demonstrated outstanding performance across various benchmark evaluations.' Originally launched in January, R1 quickly went viral, challenging assumptions that advanced AI development requires vast computing infrastructure. Its success triggered responses from Chinese tech giants such as Alibaba and Tencent, both of which released competing models claiming superior performance. DeepSeek also disclosed that it applied a distillation technique—transferring the reasoning methodology from R1-0528—to enhance Alibaba's Qwen 3 8B Base model, boosting its performance by more than 10%. 'We believe the chain-of-thought from DeepSeek-R1-0528 will hold significant importance for both academic research and industrial development focused on small-scale models,' the company added.

DOWNLOAD THE APP

Get Started Now: Download the App

Ready to dive into the world of global news and events? Download our app today from your preferred app store and start exploring.
app-storeplay-store