Twitter Makes Some of its Source Code Public

Twitter app logo is seen in this illustration taken, August 22, 2022. REUTERS/Dado Ruvic/Illustration/File Photo
Twitter app logo is seen in this illustration taken, August 22, 2022. REUTERS/Dado Ruvic/Illustration/File Photo
TT

Twitter Makes Some of its Source Code Public

Twitter app logo is seen in this illustration taken, August 22, 2022. REUTERS/Dado Ruvic/Illustration/File Photo
Twitter app logo is seen in this illustration taken, August 22, 2022. REUTERS/Dado Ruvic/Illustration/File Photo

Twitter on Friday made public parts of the computer code that decides how the social media site recommends content, with its owner Elon Musk adding that the entirety of the code will be available in the next few weeks.

The announcement will allow users and programmers a peek into its workings and the ability to suggest modifications to the algorithm.

"In the coming weeks, we will open source literally everything that contributes to showing a tweet," Musk said in a tweet on Saturday.

The company said in a blog post it had uploaded the code in two repositories on code-sharing platform Github. They include the source code for many parts of Twitter, including the recommendations algorithm which controls the tweets that users see on their timeline.

The move comes at the behest of Musk, its billionaire owner, who has said code transparency would lead to higher trust among users and rapid improvements to the product.

It also serves to address common concerns among users and lawmakers, who are increasingly scrutinizing social media platforms over how algorithms select the content that users see.

Musk tweeted on Friday that third parties should be able to analyze the open-sourced code and "determine, with reasonable accuracy, what will probably be shown to users."

"No doubt, many embarrassing issues will be discovered, but we will fix them fast!" he tweeted.

According to Reuters, Musk also said Twitter will update its recommendation algorithm based on user suggestions every 24 to 48 hours.

On Friday, Musk and some Twitter employees held a session on Spaces, Twitter's audio chat feature, asking users to bring recommendations and questions about how the platform's code works.

One person questioned why Twitter's code appeared to classify users as Republicans or Democrats. A Twitter employee responded that it was an old feature that was not important to the platform's recommendation system, and the company was looking to remove it.

The repositories on Github do not include the code that powers Twitter's ad recommendations, the company said.

It also said it excluded code that would compromise user safety or privacy, as well as details that would undermine efforts to prevent child sexual abuse material on the platform.

The news also comes after parts of Twitter's source code were leaked on Github, which took down the code last week at Twitter's request.

Twitter asked the US District Court for the Northern District of California to order Github to produce "all identifying information" associated with the Github account that had posted the leaked code, according to a legal filing.



India to Offer $4-$5 Bln in Incentives for Electronics Production, Weaning Off China

A social media influencer uses a phone on the day of the unveiling of Hyundai IONIQ 9, a three-row electric SUV during a Hyundai event in the Hollywood Hills in Los Angeles, California, US, November 20, 2024. REUTERS/Daniel Cole
A social media influencer uses a phone on the day of the unveiling of Hyundai IONIQ 9, a three-row electric SUV during a Hyundai event in the Hollywood Hills in Los Angeles, California, US, November 20, 2024. REUTERS/Daniel Cole
TT

India to Offer $4-$5 Bln in Incentives for Electronics Production, Weaning Off China

A social media influencer uses a phone on the day of the unveiling of Hyundai IONIQ 9, a three-row electric SUV during a Hyundai event in the Hollywood Hills in Los Angeles, California, US, November 20, 2024. REUTERS/Daniel Cole
A social media influencer uses a phone on the day of the unveiling of Hyundai IONIQ 9, a three-row electric SUV during a Hyundai event in the Hollywood Hills in Los Angeles, California, US, November 20, 2024. REUTERS/Daniel Cole

India will offer up to $5 billion in incentives to companies to make components locally for gadgets from mobiles to laptops, two government officials said, in a bid to bolster the burgeoning industry and wean off supplies from China.
India's electronic production has more than doubled in the last six years to $115 billion in 2024, led by growth in mobile manufacturing by global firms such as Apple and Samsung. It is now the world's fourth-largest smart phone supplier.
But the sector faces criticism for its heavy reliance on imported components from countries such as China.
"The new scheme will incentivize production of key components like printed circuit boards that will improve domestic value addition and deepen local supply chains for a range of electronics," one of the two officials said.
The incentives are likely to be offered under a new scheme expected to be launched in two to three months, said the officials, who asked not to be identified as details of the scheme are not yet public.
The scheme is likely to offer incentives totaling between $4-$5 billion to global or local firms which qualify, Reuters reported.
The plan, designed by the India's electronics ministry, has identified components eligible for incentives and is in its final stages.
The finance ministry will approve the scheme's final allocation soon, the first official added, with the sources expecting it to be launched in the next 2-3 months.
India's electronics ministry and finance ministry did not immediately respond to requests for comment.
India is aiming to expand its electronics manufacturing to $500 billion by the fiscal year 2030, including production of components worth $150 billion, according to the government's top policy think tank Niti Aayog.
India imported electronics, telecoms gear, and electrical products worth $89.8 billion in the fiscal year 2024, with more than half sourced from China and Hong Kong, according to an analysis by private think tank GTRI.
"This scheme is coming at a time when it is critical to promote component manufacturing that will help us aim for a global-scale of electronics production," Pankaj Mohindroo, head of India's Cellular and Electronics Association, said.