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.

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)…
The XPS 16 is fighting an uphill battle against the MacBook Pro
Dell XPS 16 sitting on desktop with flowers.

It took a few years, but Dell finally updated the design of its two largest XPS laptops. The XPS 15 gave way to the XPS 14, while the XPS 17 was replaced by the XPS 16. The latter gained the ultramodern look of the XPS 13 Plus, complete with a glass palm rest, a hidden haptic touchpad, and a row of LED function keys.

It's a significant update but places the XPS 16 in direct competition with the Apple MacBook Pro 16. That's an excellent matchup with proven performance and battery life and an elegant design that's solid, if a lot more conservative.
Specs and configurations

Read more
These 4K monitors are discounted at Best Buy — from $200
The Sony InZone M9 sitting next to a PlayStation 5.

A 4K monitor is a great way of enjoying an enhanced image as you work with more pixels, higher resolutions, and often better colors too. Over at Best Buy, there are some great monitor deals squarely focused on all things 4K. There are dozens of 4K monitors in the sale so the smart move is to hit the button below to see what’s there for yourself. If you want some help though, we’re here. We’ve picked out a few highlights in the sale so take a look for yourself.

What to shop for in the Best Buy 4K monitor sale
Samsung makes some of the best monitors around so why not start with the ? It’s currently reduced by $150 so it costs just $200. Its IPS panel looks great with AMD FreeSync support effectively eliminating screen tears and stutters. There’s also HDR support which brings with it some great looking colors while wide viewing angles mean it looks great from any perspective.

Read more
9 best processors for PC gaming: tested and reviewed
The AMD Ryzen 9 7950X3D installed in a motherboard.

It's tough to find the right gaming CPU for your next PC. We've benchmarked dozens of processors to find the best CPU for gaming, and there's a clear winner right now: AMD's Ryzen 7 7800X3D. Although the latest chip from Team Red claims the crown, there are still several other great options on the market.

Whatever your needs and budgets, though, we have options from AMD and Intel that will be great performers. We're focused on gaming here, but if you want a processor that can game and get work done, make sure to check out our list of the best processors.

Read more