Skip to main content
  1. Home
  2. Computing
  3. News

TrumpScript programming language wants to make Python great again

To inspire the youth to deal with mathematics and programming, it’s important to have role models, both good and bad. It seems then that the efforts of two students from Rice University, Chris Brown and Sam Shadwell, provide an excellent example of this. Their recently released TrumpScript is a heavily modified version of the Python programming language, created in 20 hours during a hackathon. And as you probably guessed, it’s based on the Internet’s favorite presidential candidate: Donald Trump.

Small tidbits of Trump’s political views and his character can be found, not necessarily discretely, strewn about in TrumpScript. Numbers with a value lower than 1 million are not allowed to be used in the code … because bigger numbers are better, period. This language also prevents users from using import statements. So there’s no foreign code in these programs, because who’d want to promote digital immigration? In addition, the programming language quite ingeniously forces programmers to use only certain words as variables. Included are the most popular English words and Trump’s favorite words, as well as names of current politicians.

Recommended Videos

The creators go off on a note regarding dismissing failure towards the end of their GitHub page. “ … Most importantly, Trump doesn’t like to talk about his failures. So a lot of the time your code will fail, and it will do so silently. Just think of debugging as a fun little game.”

Incidentally, you won’t even be able to take part in this code if you’re from China or Mexico because, as the creators puts it, the code won’t comply. After all, who knows what crucial technological secrets foreigners might get their hands on?

You might be thinking “I wish I really knew how to program.” An understandable sentiment. But having studied programming for a little less than five months now, I’m already convinced that having a program not tell you when something’s wrong is a critical flaw.

Dan Isacsson
Being a gamer since the age of three, Dan took an interest in mobile gaming back in 2009. Since then he's been digging ever…
Your next MacBook could use an iPhone-class chip
Leaked Apple engineering files point to an A18 Pro-based MacBook that reads more like a shippable configuration than the A15 test entry.
The Apple MacBook Pro 14 M5 sitting on a woman's lap at the airport.

Apple may be inching toward an iPhone-class chip MacBook, and the trail starts in a place most people never see: internal kernel debug kit files used by its engineers. MacRumors reports that Apple accidentally posted the kit on its website earlier this year, then pulled it after details began leaking.

Inside the Mac-related listings, the files reference two unreleased MacBook setups. One uses the older A15, the other points to A18 Pro. The split matters because it suggests Apple tested the concept with whatever worked, then moved on to something that looks closer to a real product candidate.

Read more
It just got a lot easier to control a Windows 11 PC with your Android phone
Android smartphones now act as a multipurpose remote control for Windows 11 devices, offering instant locking, seamless file transfers, shared clipboard access, and easy screen mirroring.
microsoft-Phone-Link-app-windows-11

Microsoft has rolled out a significant upgrade to its Phone Link system and the "Link To Windows" app for Android, improving cross-platform connectivity with Windows 11. First and foremost, there's a new "Lock PC" toggle that lets you lock your Windows device remotely from your smartphone (provided the devices are connected).

According to a new report by Windows Latest, locking a Windows 11 PC from an Android phone takes a couple of seconds. Once unlocked, the PC reconnects to your phone. Besides that, the app also gets a "Recent Activity" feed that shows file transfers and clipboard history shared between the devices. There's a dashboard of the recent cross-device transactions.

Read more
AI chatbots like ChatGPT can copy human traits and experts say it’s a huge risk
AI that sounds human can manipulate users
phone-showing-ai-chatbots

AI agents are getting better at sounding human, but new research suggests they are doing more than just copying our words. According to a recent study, popular AI models like ChatGPT can consistently mimic human personality traits. Researchers say this ability comes with serious risks, especially as questions around AI reliability and accuracy grow.

Researchers from the University of Cambridge and Google DeepMind have developed what they call the first scientifically validated personality test framework for AI chatbots, using the same psychological tools designed to measure human personality (via TechXplore).

Read more