I’m now on my third online Coursera course

Cryptography, Game Theory, and now Machine Learning

When I was talking with Scott Martin about Coursera, he shared his experience. Paraphrased: “I actually felt like I was learning a lot. Sure, it was easier than an equivalent course here at Carnegie Mellon, but that’s also partially because they do a much better job of explaining things in terms that everyone can understand”

Because they don’t require or assume that everyone taking Machine Learning has taken years of advanced Calculus and Probability math classes, they’re force to explain everything in a straightforward manner.

That’s it. Straightforward. Instead of confusing you with all sorts of unnecessary terms, they just tell you what it does.

Oh, sure, all the Greek symbols mean something. But nobody learned how to programming by writing their own operating system from scratch.

No, it’s a step-by-step process. You learn the basics, then you expand on them, learn more advanced concepts. You start by making a dog dance, then a simple video game, and you slowly build up to making something people would play. You don’t dive straight into every little detail of one little item – otherwise, you’ll never actually create something useful.

Maybe it’s just Carnegie Mellon, but that’s something that classes here seem to struggle with. What if I want to learn how to do computer vision (say, tracking an object with a webcamera) without bothering with months of extra “theories” and “theorems”.

It’s true, you need to know all of those theorems if you want to push the field forward and develop new algorithms.

But new algorithms don’t do the world any good. It’s the applications of those algorithms that bring us Google, Netflix, smartphones, etc. The fancier algorithms make them faster, but the more you’re taught about all of the fine-grained details, the less you’re able to apply it practically.

The real-world applicability aside, academia seems to have a grave problem: it’s ok for teachers to make things complicated. The topics are complicated, after all! WRONG. I could explain machine learning to an 8 year old. The fact that most college professors can’t is a damn good indicator that they don’t know how to focus on the most important things. This not only slows the education process and forces people away from thinking about practical applications – it also scares people away from entering the field in the first place. That is why we don’t have enough engineers.

Facebook Twitter Reddit Linkedin

Obesity is a huge problem, costing the government and American citizens billions of dollars per year.

Incidentally, the government has a history of taxing things that are bad for society (they’re known as pigovian taxes)

But how do you tax obesity? An annual tax based on your weight would…cause a lot of anger

Something a bit more subtle, then. Perhaps you could just tax unhealthy food. That way, unhealthy foods like McDonals will become more expensive, making healthier foods a relatively more economic option.

But how do you measure the “unhealthiness” of food? That seems vague enough that big food companies will find loopholes.

Incidentally, this is similar to why most people only look at calories when they try to gauge how healthy a food is – because they want a simple number to do their thinking for them (and because, like I mentioned earlier, calculating the overall healthiness of a food is just plain hard).

So, the government could implement a calorie tax – say, a penny for every hundred calories. It’d make calorie-rich foods more expensive, and help fund anti-obesity efforts.

There’s an even more effective tax target, though. A tax on calories in general is problematic, because high-protein foods that are good for you (ie meat) would be put in the same category as sugary things that are bad for you (ie soda).

Ah, there we go. Sugar. A tax on sugar content would narrow the focus. Except that fruit is also high in sugar.

Solution: fruit has natural sugar – the problematic items are all pumped full of artificial sugar. Tax the manufacture of sugar. Then, it becomes more expensive for Pepsi to create their soda, and they’ll pass that cost along to the consumer – driving them towards healthier alternatives without taxing those healthier foods (fruits, meats, etc).

 

Now the fun part – let’s do some math.

America spends/loses $190 billion/year on obesity-related costs (source)

Last year, 9.2 billion 192-ounce cases of soda were produced – aka 1.8 trillion ounces of soda/year (source).

Shockingly, it would take a 10 cent/oz tax on soda to cover the cost of obesity – which would increase the price of a can by $1.20.

However, a 1 cent/oz soda tax (making a can of soda only 12 cents more expensive) would still raise $18 billion/year

And this doesn’t even include other sources of sugar (candy, ice cream, etc) since numbers on those are harder to find.

Not only would this be a fantastic way for the government to fund anti-obesity programs, the taxes themselves would inherently drive consumers towards healthier options. It’s a win-win situation! (After all, if we already tax alcohol, tobacco and gas, why is sugar so different?)

 

Facebook Twitter Reddit Linkedin

The thing about cars that drive themselves is that you don’t really need to have a person inside. Sure, they’re useful to save people the hassle of driving themselves to work, but what else could you do with them?

Google500KmilesLexus

For starters, you could revolutionize parking. Instead of having to park right next to where you work and live, you could simply get out of your car in front of your apartment, and have your car valet itself to a more efficient parking location, perhaps miles away. Then, when you’re ready to leave, just summon your car with your smartphone.

What about shopping? Online grocery shopping may never catch on due to scaling issues, but what if you could send your car to drive itself to the grocery store, have the clerks load your food order into your car, and it would bring your food back to you.

Of course, if you’re going to use your self-driving car to fetch things for you, why worry about all of the design constraints that comes with working with the human form? If you stop worrying about having to protect a human, cars could become a 10th the size and weight. Imagine cars sharing the road with self-guided cargo pods. And, because they’d be so much simpler, they’d also be much cheaper – on the order of $5,000 or less. At that price, it might actually make sense to buy a cargo pod instead of a car, and just take the bus when you yourself actually need to go somewhere.

Another option would be to make an company that’s like ZipCar meets Taxi service. You would be able to summon a rental car, on demand, to any location you need. Currently, ZipCars are fixed to the location that they’re parked at, and taxis are so expensive because you have to pay for a driver. Cars that could drive themselves to your location and then follow your commands would be as flexible as taxis, but as cheap as ZipCars.

And, finally, self-driving cars will significantly reduce traffic. They’ll route themselves more efficiently, and be able to handle intersections at higher speeds. So, instead of needing a space-consuming grid system of roads, with parking on every street, cities might begin to form around large clusters of buildings connected by much simpler roadways. Imagine what we could do with all the space we currently waste with roads – there could be a park on every block!

Facebook Twitter Reddit Linkedin

In economics, there’s a theory known as the “Solow Growth Model” – it states that, for a given economy, additional labor and machinery has decreasing returns. Eventually, any economy will reach the point that more workers doesn’t result in more output – they’ll run out of space for factories or cover all the land in farms, or whatever. At that point, the only way for the economy to grow is to increase its “Total Factor of Productivity” – that is, increase the productive output of machinery and workers. Developed economies have all reached this point – America’s GDP only continues to grow because new innovations like faster machines and easier-to-use tools make workers more efficient.

The actual formula for this is Y = zF(K, N). That is, output equals a function of labor and capital, multiplied by the Total Factor of Productivity (z). As we see in the below graph, the function F(K, N) has marginally decreasing returns:

Image003

(the blue line is the increase in output caused by an increase in TFP from the red line)

What happens if we apply this to technology innovation?

I propose that technology’s “labor” and “capital” might be “engineering” and “design”. That is to say that engineers make things faster and build new functions, and designers make it faster and easier to use. Overall, adding more engineers and designers creates more technology.

Now, if we’re following the Solow Growth Model, that means that early on, lots of engineers and designers will cause technology to advance quickly. And, if you look at the past 20 years, it’s clear that’s what happened. Initially, there were just a few bleeding edge computer programmers working on a few projects. The technology “economy” has grown quickly, to the point where the world hardly notices if another engineer or designer starts working on a new project.

But, then, what’s the Total Factor of Productivity? How does the technology economy continue to grow?

Hardware. Think about it: every time there’s been a major new device (smartphones, tablets, etc), there’s been a huge boon in the technology economy. Suddenly, individual programmers are having a huge difference, and the pace of innovation soars.

Then, slowly, it fills up. Eventually, almost every possible interesting smartphone app has been made.

The only cause for new growth? New hardware. They add a forward-facing camera, or develop a faster cellular internet chip. They develop new accessories, like the Pebble Bluetooth watch. These hardware advances give devices new functionality that developers are able to exploit to advance the industry.

Sure, it might not be Earth-shattering, but it’s certainly an interesting way to think about technology. And, if you’re a developer, it might be a good reminder that if you want to make money (or make a difference), you should always try to work on and build for the newest, least exploited technologies.

Do you agree?

Facebook Twitter Reddit Linkedin

A YouTube video goes viral.

It gets shared on Reddit, on Facebook, on Twitter – each post and tweet sparking its own conversation.

But the original YouTube video will be a ghost town, even as the entire world visits it. Who leaves comments for strangers?

Social networks are amazing for their ability to better connect you with your friends – at the cost of excluding you from the larger internet. Sometimes, it feels like the only people on the internet are those you’ve friended.

And so, as the video acquires millions of views, it gets a few hundred comments – even as hundreds of thousands of conversations about it take place all over the internet (many of them nearly identical)

 

Plus, as a content creator, it seems like nobody is talking about that video I just posted.

 

What if all of these conversations were connected? What if everyone talking about the video could join each other’s conversations as they take place in a global forum – instead of a million quiet conversations in libraries.

Social networks have been about silo’ing the internet into something more personal – but they’ve succeeded too much. Every time someone posts or shares content, they should have the option to make the ensuing conversation be automatically added to the comments of the original content.

Or perhaps the privacy controls should be in the hands of each individual commenter.

Either way, the current system is unacceptable. Comments on social networks aren’t attached to the original content. Thus, years from now, when someone visits my blog, they’ll think it a ghost town – even though many of my posts have stirred up amazing conversations within the private walls of Facebook

Facebook Twitter Reddit Linkedin

Google just announced the Chromebook Pixel, a higher-end version of their original Chromebooks. Only, instead of selling for $300, the Pixel sells for $1,300.

Sure, it does have a Retina display (4.3 million pixels) and a touchscreen – but, like all Chromebooks, it’s really just a web browser. Which means it’s useless offline, and comes with only 32gb of storage.

So, let’s make a few comparisons:

- if the touchscreen is the big catch for you, you can get a 32gb iPad (with a just-as-amazing Retina display and a similar 32gb of storage) for $600 – that’s half the price! No, wait, the PIxel also has a keyboard, so make sure to tack on an extra $50 for an external iPad keyboard.

- if the Retina screen is your top priority, consider getting a 13″ Macbook Retina, which starts at $1,500. For only $200 more, you get 4x the storage, 2x the processing power, and 2x the RAM. The best part? You can still do functional things on it – like, say, run desktop applications

- oh wait, those are the only two things that stand out about the Pixel.

 

Conclusion? The Pixel may look sleek, but it caters to no real-world need. It even loses the only advantage that the original Chromebooks had – at least they were the cheapest laptops around!

Facebook Twitter Reddit Linkedin

You are at a bus stop, waiting for a bus. 

It is cold. 

You are using your phone to get directions with one hand. The other is in your pocket to stay warm. 

You double tap to zoom in to read a street name. Now, you need to zoom out – but how do you do that without taking out your other hand, exposing it to the cold? 

You can’t. I’m sorry. 

Oh wait, as of a few months ago, you can (at least in Google Maps

Just tap and hold, then slide your finger up and down to zoom. Needing two hands has always been one of my qualms with touch screens. No longer! 

(Maybe programmers just aren’t familiar with the issue because most live in sunny California and never have days cold enough to warrant hands-in-pockets, or even jackets)

Facebook Twitter Reddit Linkedin

The way art is taught in schools is very humanistic: it’s an exploration of yourself, there is no wrong answer, but you might try the shot from a different angle next time

 

The way science is taught, on the other hand, is very rigid: here’s the formula, here’s how you use it, there’s an infinite amount you need to learn before you can make any meaningful contribution

 

The difference? The arts teach you how to think and create first. The sciences teach you how to use your tools first.

Imagine taking photography classes – only, for the first two years, you were taught all about how to use your camera, the various optical formulas, how to calculate the correct exposure, etc.

Sounds a bit like your math courses, am I right?

My point is this: they don’t have to be that way. And we just might find more people interested and innovating in these fields if we portayed them as they actually are: places where there are no right answers, only experiments and exploration

Facebook Twitter Reddit Linkedin

Which of these is a more interesting sentence?

“He ran away”

or

“He dashed away from the gruesome zombies”

 

While not everything in life can have zombies, everything in life has interesting details. I’ve seen many people make the mistake of trying to generalize too much: “It was fun”, “we worked hard”, etc.

On one hand, this helps keep your statement short – instead of rambling on, just summarize quickly. After all, brevity is good, right?

Except when it comes at the cost of telling a good story. I recently coached someone who was preparing for a radio interview. As we prepared for questions we thought they might ask, she came up with two responses to the question “how did you come up with your idea?”

- “I read an article online about a female pirate in the 19th century”

or

- “I read an article on CNN about a women who took over her husband’s fleet and ruled the Chinese seas for two decades – she was so good that the government never caught her, and she eventually retired to run a gambling house”

The first one is short and to the point. The second one? Rich with interesting details that draw you into the story, and give your interviewer plenty of details to ask questions about. Instead of just reporting information, you become a story teller.

 

In summary: stay short and sweet by speaking confidently and removing stumbles and pauses – not by getting rid of the story!

Facebook Twitter Reddit Linkedin

The Macbook Retina is an incredible piece of engineering: crushing every laptop display before it, it manages to cram 2880 by 1800 (5.2 million) pixels into a display only 13″ wide and 8.2″ high.

It is truly marvelous.

Except that the camera in your cell phone outdoes it. I own a Galaxy S3, which has an 8 megapixel camera, with a sensor that’s a mere 4.5 millimeters by 3.4 millimeters. Yes, that’s right, my cellphone can take pictures with 54% more pixels than the Macbook Retina’s display, and yet is 4,000x times smaller

Now, it’s known that cellphones are the absolute peak of miniturization – so let’s take a look at a normal DSLR camera that doesn’t have to worry about space. The Cannon EOS 5 is a full-frame camera, meaning that it has one of the largest sensors on the market, capable of taking pictures at 22 megapixels. The size of this sensor? 36 x 24 millimeters – 55x larger than that of a cameraphone - of course, because the sensor is so much larger, it only has 80x the resolution of the Macbook Retina’s display

I think it’s official: cameras are cooler than screens.

Just for fun, let’s imagine that you built a camera sensor (based off the EOS 5′s) the size of the Macbook Retina’s screen.

For starters, it would be able to take pictures at a hilarious 1.2 gigapixels - each photo you take with it would be over a gigabyte! You could take a picture of the entire island of Great Britain from space, and still see 20 pixels per city block in London

Of course, the Canon EOS 5 already cashes in at $3,000, so we could expect this super camera to cost on the order of $165,000. Wait, that’s it?

To be fair, it would be almost impossible to actually manufacture this camera sensor without a tremendous number of defects.

Another problem: the current top-of-the-line memory cards are known as “UHS” for Ultra-high speed. They can write data at 60 megabytes per second – far faster than almost any application today requires. But, that means that it would take more than 20 seconds to save each picture from this camera – better not be trigger-happy!

 

This seems like a cool series to continue, so if you have any ideas for future science showdowns, feel free to email them to me at toddmedema@gmail.com 

This post was inspired by XKCD’s awesome What If blog

Facebook Twitter Reddit Linkedin