Trumpscript -- a python variant -- only allows numbers over 1,000,000; has no import statements (all declarations must be homegrown); only has integers because floating-point numbers are un-American (America never does anything halfway); only allows popular words and the names of politicians as variable names; limits error messages to direct Trump quotes; and requires that all programs end with "America is great."
Here is a valid Trumpscript program:
Trumpscript was created in 20 hours by Sam Shadwell and Chris Brown, computer science students at Rice U, for a codeathon.
What about TrumpScript makes you most proud?
Sam: I kind of like the way that it works — if it actually worked, completely, which it…doesn’t —
Chris: There’s some stuff — I’m working out some kinks.
Sam: I’m most proud that the language itself is actually parsed and compiled in a way that sort of resembles how a real compiler would compile a real language.
Chris: In what I would consider proper TrumpScript style: 80 percent of the words you write should probably get dropped by the compiler and be completely unnecessary to the program.
Coders Assimilate Donald Trump to a Programming Language
The first time Merle Rasmussen played Dungeons & Dragons, he thought it was a Halloween game.
“It was October 1975, and I was an 18-year-old freshman at Iowa State University. My roommate got this game filled with skeletons and undead monsters. I had no idea.” The role-playing bug had bitten him, but fantasy wasn’t his genre. So that same year, he started writing a game set in a modern world, the spy game that would become Top Secret.
Janelle Shane trained a recurrent neural network with a data-set of more than 2000 ancient proverbs and asked it to think up its own: “A fox smells it better than a fool’s for a day.”
Jeff writes, “7 years after ‘grassroots mapping’ the BP spill when journalists were denied access, the open source community Public Lab is back with an even more accessible Do-It-Yourself way to take aerial photos: the Mini Balloon and Kite Mapping Kits.”
Although flagship smartphones are unlikely to adopt heavy-duty outer casing anytime soon, you can always prepare your device for the outdoors with a beefy case and and an external battery like this Nomad Tile Trackable PowerPack, available in the Boing Boing Store for $119.95.The Nomad Tile can fully recharge an iPhone 7 over three times […]
Even though credit cards now feature an EMV chip for securing transactions, they still have to include the magnetic strip for compatibility with older point of sale systems. Because of this, there’s no way for the chip’s new security capabilities to protect against card skimmers in the wild.How do you protect yourself from legacy-technology-induced fraud? […]
As the old saying goes, “You should sit in meditation for 30 minutes every day. Unless you are too busy, in which case you should meditate for an hour.” Since most of us have an endless list of things to do and people to see, carving out quiet time can feel impossible, especially when most […]