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.



US Govt Calls for Breakup of Google and Chrome

FILE - The Google building is seen in New York, Feb. 26, 2024. (AP Photo/Seth Wenig, File)
FILE - The Google building is seen in New York, Feb. 26, 2024. (AP Photo/Seth Wenig, File)
TT

US Govt Calls for Breakup of Google and Chrome

FILE - The Google building is seen in New York, Feb. 26, 2024. (AP Photo/Seth Wenig, File)
FILE - The Google building is seen in New York, Feb. 26, 2024. (AP Photo/Seth Wenig, File)

The US government late Wednesday asked a judge to order the dismantling of Google by selling its widely used Chrome browser in a major antitrust crackdown on the internet giant.
In a court filing, the US Department of Justice urged a shake-up of Google's business that includes banning deals for Google to be the default search engine on smartphones and preventing it from exploiting its Android mobile operating system, reported AFP.
Antitrust officials said in the filing that Google should also be made to sell Android if proposed remedies don't prevent the tech company from using its control of the mobile operating system to its advantage.
Calling for the breakup of Google marks a profound change by the US government's regulators, which have largely left tech giants alone since failing to break up Microsoft two decades ago.
Google is expected to make its recommendations in a filing next month and both sides will make their case at a hearing in April before US District Court Judge Amit Mehta.
Regardless of Judge Mehta's eventual decision, Google is expected to appeal the ruling, prolonging the process for years and potentially leaving the final say to the US Supreme Court.
The case could also be upended by the arrival of President-elect Donald Trump to the White House in January.
His administration will likely replace the current team in charge of the DOJ's antitrust division.
The newcomers could choose to carry on with the case, ask for a settlement with Google, or abandon the case altogether.
Trump has blown hot and cold in how to handle Google and the dominance of big tech companies.
He has accused the search engine of bias against conservative content, but has also signaled that a forced break up of the company would be too large a demand by the US government.
- Too extreme? -
Determining how to address Google's wrongs is the next stage of the landmark antitrust trial that saw the company in August ruled a monopoly by Judge Mehta.
Google has dismissed the idea of a breakup as "radical."
Adam Kovacevich, chief executive of industry trade group Chamber of Progress, said the government's demands were "fantastical" and defied legal standards, instead calling for narrowly tailored remedies.
The trial, which concluded last year, scrutinized Google's confidential agreements with smartphone manufacturers, including Apple.
These deals involve substantial payments to secure Google's search engine as the default option on browsers, iPhones and other devices.
The judge determined that this arrangement provided Google with unparalleled access to user data, enabling it to develop its search engine into a globally dominant platform.
From this position, Google expanded its tech and data-gathering empire to include the Chrome browser, Maps and the Android smartphone operating system.
According to the judgment, Google controlled 90 percent of the US online search market in 2020, with an even higher share, 95 percent, on mobile devices.
The US government currently has five cases pending against big tech over antitrust concerns after the Biden administration adopted a tough stance on reining in the dominance of the companies.
If carried through by the Trump administration, the cases against Amazon, Meta, and Apple, as well as two against Google, could take years to litigate.