Skip to main content

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

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)…
Nvidia’s latest driver gives your GPU a performance boost, but there’s a catch
The RTX 5090 sitting on a pink background.

If you own one of Nvidia's best graphics cards, the latest driver update might be an interesting one for you. According to users who downloaded the patch, the drivers bring an up to 8% boost in synthetic benchmarks. But, seeing as most of us don't spend all of our time benchmarking our GPUs, what are the actual benefits of the 572.02 graphics driver?

The first reports of these driver improvements showed up on Reddit and were then picked up by publications like VideoCardz. Some users have found that they saw performance gains in synthetic benchmarks, ranging from 3% to 8%.

Read more
Google demos its smartglasses and makes us hanker for the future
A screenshot from Google's TED Talk on its smartglasses.

At a recent TED talk, Google’s exciting XR smartglasses were demonstrated to the public for the very first time. While we’ve seen the smartglasses before, it has always been in highly polished videos showcasing Project Astra, where we never get a true feel for the features and functionality in the real world. All that has now changed, and our first glimpse of the future is very exciting. However, future is very much the operative word. 

https://www.ted.com/talks/shahram_izadi_the_next_computer_your_glasses?utm_campaign=tedspread&utm_medium=referral&utm_source=tedcomshare

Read more
The HP Victus gaming PC with RTX 4060 is under $1,000 with this deal
The black version of the HP Victus 15L gaming PC.

Replacing your aging gaming desktop doesn't have to leave a huge dent in your wallet, as there are affordable options like the HP Victus 15L. The price for this configuration with the Nvidia GeForce RTX 4060 graphics card is even lower right now, following a $350 discount from HP. Instead of $1,200, you'll only have to pay $850, but only if you hurry because this offer may not last much longer. A lot of gamers are looking for a budget-friendly upgrade from gaming PC deals, so secure your purchase as soon as possible before stocks run out.

Why you should buy the HP Victus 15L gaming desktop

Read more