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)…
Amazon’s Alexa can now manage shopping lists, subscriptions, and check refund status just by asking
Alexa for Shopping gets 100+ new account management tools ahead of holiday season
Amazon Alexa for Shopping being used to create lists

The Holiday season is upon us, and Amazon is making its AI shopping assistant a lot more useful ahead of major shopping events like Black Friday. The company has announced over 100 new Alexa for Shopping capabilities, letting customers manage subscriptions, create gift lists, change delivery instructions, and ask billing questions simply by asking. The new features are already available to Amazon customers in the US.

Alexa for Shopping could already help you find products, compare prices, and track discounts. Now, Amazon is making it useful for some of the less exciting parts of online shopping, which I think is where an AI assistant could come in handy.

Read more
Doordash is acquiring Instacart. For you, that means one less subscription, eventually.
Doordash and Instacart ona laptop.

DoorDash has announced that it is acquiring grocery giant Instacart at an equity valuation of $17 billion, in a cash-and-stock deal. Subject to regulatory and shareholder approvals, the deal is expected to close by the end of 2027 or in the first half of 2028. DoorDash claims that, thanks to the deal, customers will have the flexibility to buy daily essentials from more stores, which also increases their chances of getting bargain deals and faster deliveries.

“The combined company will offer grocers and retailers of every size DoorDash’s delivery network and Instacart’s grocery and fulfillment technology, in both apps and on stores’ own websites, along with the advertising and AI tools each company has built,” the company said in a press statement. For an average customer, there are a couple of tangible benefits emerging from this multi-billion dollar deal.

Read more
AI has come for the psychics’ jobs and they are not happy about it
Human psychics are advertising AI-free readings, while one startup wants them to train their own digital replacements
ai psychics readings human pushback psychic

AI psychic readings are available around the clock, and human practitioners are having to explain why customers should still pay to speak with them.

The Guardian found psychics responding with AI-free promises and arguments that chatbots lack the human connection central to their work.

Read more