Posts

Showing posts from 2016

Chrome Dev Summit 2016 Day 1

I attended day 1 of Chrome Dev Summit 2016. Here are my notes: Intermission The intermissions between the talks were really entertaining ;) Keynote: Darin Fisher: Chrome Engineering Mission: Move the web platform forward.

Over 2 billion active Chrome browsers.

Bluetooth beacons are broadcasting the URL for the Chrome Dev Summit website.

polymon.polymer-project.org

Mobile web usage has far eclipsed desktop web usage.

Almost 60% of mobile is 2G.

India is experiencing the most growth in people getting online.

A lot of Indian users have so little storage space on their phones, they can't afford to install a lot of apps. They routinely install and then uninstall apps.

The web works really well in emerging markets.

Progressive Web Apps are radically improving the web user experience.

He demoed cnet.com/tech-today. It's a progressive web app. He showed a smooth experience even though his phone was in airplane mode. The icon was added to his home screen.

11/11 is singles day in China…

Books: Self Leadership and The One Minute Manager

Image
I finished reading Self Leadership and The One Minute Manager. In summary, it was short, easy, and moderately useful.Most of the book is written as a story about an advertising account executive who's having a hard time at work and feels like he's right about to lose his job. That made it interesting and very easy to read. There are a few nuggets of wisdom. However, I wouldn't put it on the same level as some of my other favorite books, like "Getting More: How You Can Negotiate to Succeed in Work and Life".Nonetheless, at a mere 140 pages, it was worth reading, and I think it'll impact my thinking going forward. For instance, have you ever experienced being really excited about starting a new job, but then feeling like you were right about to quit (or on the verge of getting fired) once reality hit, and you realized it was going to be a lot harder than you originally thought? It talks a lot about coping with that.Disclaimer: The book was given to me.

My Short Review of Visual Studio Code

Image
I decided to try out Microsoft's Visual Studio Code. I think it's a useful open source project with a lot of potential, and I congratulate Microsoft on their contributions to the open source community. On the other hand, I think I'll still with IntelliJ IDEA Ultimate Edition and Sublime Text 3 for the time being. I used it for a few days after watching some of the videos. What follows is not a full review, but rather a few thoughts based on my experience.VS Code is usable. On the other hand, a few of the extensions that I picked were buggy. They either munged the source code in clearly broken ways, or they caused the editor to go into a weird, infinite loop where it kept trying to edit and then save the text. I think the situation will improve with time--Rome wasn't built in a day.One thing I really missed was being able to search for multiple things at the same time. In IntelliJ, I often start a carefully crafted search as part of a refactoring effort. That search tab…

Having Fun with Linux on Windows on a Mac

Image
I thought I'd have a little fun. Here's a picture of Linux running on Windows on a Mac. I'm running Linux in two ways:In the top left, I'm running bash on Ubuntu inside Docker for Windows.In the bottom left, I'm not actually running Linux. I'm running "Bash on Ubuntu on Windows" using Microsoft's "Windows Subsystem for Linux".I'm running it all on a Mac I borrowed from work because I don't actually own any Windows machines :-P

Ideas: Mining the Asteroid Belt

Image
Disclaimer: I don't even pretend to know what the heck I'm talking about. Feel free to ignore this post.

I've been thinking lately about efficient ways to mine the asteroid belt. My guess is that there's a lot of useful raw materials out there, but getting them back to earth is kind of a challenge.

Now, in my thinking, I'm presupposing that we have a working space elevator. Nonetheless, it's still a challenge because the asteroid belt is so far from Earth's orbit. It would take a lot of time and energy to travel there and back in order to gather materials. Certainly, we'd need some robotic help.

However, the distance (and time involved) becomes less of an issue once you have a system in place. To use an analogy, selling whiskey that's been aged for 10 years is only difficult when you're waiting for those first 10 years to pass. After that, there's always another batch about ready to be sold.

One problem is that it would take a lot of energy …

JavaScript: ForwardJS

Here are my notes from ForwardJS:

My favorite talks were: JavaScript: Mastering Chrome Developer ToolsThe Web meets the Virtual and Holographic Worlds (below)Fireside Chat: Serverless Application Architecture (below) Keynote: On how your brain is conspiring against you making good software
Jenna Zeigen @zeigenvector.

jenna.is/at-forwardjs.pdf

I particularly enjoyed thinking about how this talk relates to politics ;)

She studied cognitive science. She wrote a thesis on puns.

"Humans are predictably irrational." -- Dan Ariely

"Severe and systematic errors."

Humans aren't great logical thinkers.

People will endorse a bad argument if it leads to something they believe to be true. This is known as the belief bias.

"Debugging is twice as hard as writing a program in the first place" -- Brian Kernighan

We tend to interpret and favor information in a way that confirms our pre-existing beliefs.

We even distrust evidence that goes against our prior beliefs. It&#…

JavaScript: Mastering Chrome Developer Tools

I went to an all day tutorial on Mastering Chrome Developer Tools. It was my favorite part of the whole conference. Here are my notes:

Jon Kuperman @jkup gave the talk.

Here are the slides. However, there isn't much in them. Watching him use the DevTools was the most important part of the tutorial. I did my best to take notes, but of course, it's difficult to translate what I saw into words.

He created a repo with some content and some exercises. Doing the exercises was fun.

Chrome moves really fast, and they move things around all the time.

Everything in this talk is subject to change. For instance, the talk used to talk about the resources panel, but that's now gone. Now there's an application panel.

In the beginning, there was view source. Then we had alert; however, you can't use alert to show an object; you have to show a string. Then, there was Live DOM Viewer. Then, there was Firebug. It kind of set the standard. Firefox has completely rewritten their dev to…