Skip to main content
  1. Home
  2. Computing
  3. Legacy Archives

Obama codes! President kicks off ‘Hour of Code’ by writing some JavaScript

Add as a preferred source on Google

History was made in the U.S. on Tuesday when Barack Obama became the first president to crank out a line of code.

But don’t be mistaken, this wasn’t the American leader flirting with the idea of a post-presidential career in programming, nor was it a man tinkering with the White House’s IT system for a bit of lunchtime fun. This was the U.S. president doing his bit to inspire kids to get involved in computer science.

Recommended Videos

Coder-in-chief

Obama’s stab at programming came on Monday as he launched Code.org‘s annual Computer Science Education Week, a global event aimed at expanding involvement in coding and related fields by increasing accessibility in schools.

At a special gathering at the White House, 20 students from a middle school in Newark, NJ joined the president for an Hour of Code workshop, similar to the ones being held around the world by a host of tech firms and other groups on December 11.

According to Code.org co-founder Hadi Partovi, who was also at the White House to help launch the event, the president completed a tutorial involving the writing of “a few lines of JavaScript” that moved an animation character across the screen.

Mission accomplished, Obama spent some time mingling with the students to see how they were getting on with their own coding exercises.

Encouragement

Speaking in a video posted on YouTube over the weekend, Obama encouraged kids to get involved in Computer Science Education Week.

The president said that “while no one is born a computer scientist, becoming a computer scientist isn’t as scary as it sounds. With hard work, and a little math and science, anyone can do it.”

He went on, “Don’t just consume things, create things. Take an hour to learn more about the technology that touches every part of our lives. That’s how you can prepare yourself with the skills you need for your future. And that’s how you can help prepare our country for the future as well.”

Obama urged both boys and girls to go along to one of the many coding events happening across the country this week, reminding them that the nation is “counting on America’s young people to keep us on the cutting edge.”

[Source: Wired, Code.org]

Trevor Mogg
Contributing Editor
Not so many moons ago, Trevor moved from one tea-loving island nation that drives on the left (Britain) to another (Japan)…
A harmless-looking ChatGPT prompt opened the door to gruesome AI images
The findings show how image safety systems can fail without explicit graphic instructions.
ChatGPT

A harmless-looking ChatGPT prompt pushed the latest public version of ChatGPT into generating sexualized and violent images, AI security researchers told the BBC. The finding puts new pressure on OpenAI’s image safety systems, since the request wasn’t described as plainly graphic.

Mindgard, a British AI security startup, said it reached the results by altering a widely shared instruction that had been used for comedy. OpenAI added safeguards after the BBC contacted it, but the researchers said small wording changes still produced concerning images.

Read more
ChatGPT’s new Scheduled page puts all your automated tasks in one place
The update also brings smarter monitoring tasks that can search the web and connected apps automatically.
ChatGPT Scheduled hub featured

OpenAI is rolling out a dedicated home for ChatGPT's scheduled tasks, giving users a single place to view, manage, and monitor automated work. The new Scheduled page can be accessed from the sidebar, and it shows all active tasks alongside their next run times.

What the update adds

Read more
Claude Design will now stick to your brand guidelines instead of generic AI mockups
Claude Design connects to Adobe, Canva, and more tools now.
Claude desktop.

Anthropic just rolled out a big update to Claude Design, its AI-powered visual creation tool that first launched in research preview. The tool already lets you turn a simple prompt into prototypes, decks, and marketing assets, and now it does even more.

The latest update brings design system support, a smooth handoff to Claude Code, a redesigned editor, and a bunch of new app integrations.

Read more