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)…
Best deal ever? Get 80% off PureVPN and an Uber Eats voucher
A close-up of a computer monitor displaying a generic VPN.

Everyone should sign up to a virtual private network, so if you're looking for VPN deals, here's one that you wouldn't want to miss -- two years plus three extra months of PureVPN's Max Plan at 80% off for just $4 per month, for a total of $108 for 27 months. That's $16 in savings per month for dependable online protection, and to top it off, you'll be getting an Uber Eats voucher worth up to $30. We're not sure how much time is remaining on this offer though, so if you're interested, you're going to have to sign up for the subscription immediately.

Why you should sign up for PureVPN Max Plan
A VPN is a necessity in this digital age because it will protect your data from being accessed by cybercriminals. It will also help you get around any geoblocking restrictions as you can have your device appear as if it's located in another part of the world. PureVPN is one of the best VPNs for these purposes, as it uses a global network of more than 6,500 servers that are located across dozens of countries.

Read more
Razer’s most boring product is also one of its best
The Razer Iskur V2 gaming chair in an office.

Razer isn't exactly known for subtlety. This is the company that released a Bane-like RGB face mask, a headset with haptic feedback, and most recently, a mouse pad that has RGB lighting from corner to corner. The Iskur V2 chair is an exercise in subtlety, however, and a change of pace that pays off for Razer in a big way.

There's nothing special about the Iskur V2 at first glance. It's a gaming chair fit with the usual racer-style back and some green trim to let you know it's a Razer product. But there are no motors promising immersive haptic feedback, and no RGB leaving you tethered to a wall outlet (yes, Razer has done both in a chair before). The Iskur V2 is just a well-designed, comfortable chair, and that's exactly why it's so impressive.
Out of the box

Read more
Best OLED monitor deals: Get an OLED screen from just $450
Marvel's Spider-Man running on the Samsung Odyssey OLED G8.

Up to a couple of years ago, OLED technology only really existed in OLED TVs and very-high-end monitors that cost thousands and thousands of dollars. Luckily, the prices have come down quite substantially, even on the best OLED monitors, especially as the market gets more saturated with options. That means that if you tend to use a monitor for the majority of your content consumption, such as gaming, then you can grab an OLED monitor for a great price and experience amazing visual fidelity and reproduction.

To that end, we've gone out and scoured all the major retailers and brands to find our favorite OLED monitor deals out there and compiled them below. That said, if you haven't quite found what you're looking for, or feel you aren't ready for an OLED monitor, be sure to check out some of these other great monitor deals.
LG UltraGear 27-inch gaming monitor -- $660, was $1,000

Read more