Articles

You’re Doing Your Tech Interview Wrong – 21 Tips

Here are 21 tips I’ve used when interviewing/hiring hundreds of people over the past 5 years. I hope you find them useful. If you’re asking questions that can be Googled, you’re wasting everyone’s time or you’re lazy. If you’re not asking questions that indicate someone’s attitude, you’re missing about 80% of their ability to succeed. […]

3 min read Scott

Upgrading The Thermostat Bot

The temperature bot a.k.a. the algorithm that controls the temperature in my house underwent a slight upgrade this week. The old algorithm: If (setTemperature > averageHouseTemperature) HEAT, otherwise COOL. Simple right? Not so much. Scenario 1: Let’s say I set the temperature to 70, and it’s currently 71 in the house. According to the bot, […]

2 min read Scott

Alexa / Voice / AI Chat

What does user experience look like without a mouse & keyboard or easy to enter form fields? How do people talk to AI systems to solve problems? These systems can be through devices like Alexa or virtual systems like automated chatbots. Understanding psychology and human behavior become just as valuable as business knowledge when designing […]

2 min read Scott

3 Trends about to take off

2017 is halfway over and while some of these trends started a few yeas ago I think we’re about to see a few of these really catch-on, and by catch-on, I mean go mainstream and get funded. Over the next week I’m going to discuss these three trends in a little more details and provide […]

2 min read Scott

Some Videos From CodeMash 2017

Dave Jansen was kind enough to post these, I’ll repost, since they have me 🙂 Part 1 Part 2

1 min read Scott

Redux’s Connect Method Explained.

Sorry but all the explanations this far have been bad so I thought I’d simplify it. In plain Redux without connect you need to manually bind up your store.dispatch to your components as well as subscribe to updates so you can call store.getState(). But your components are suppose to be dumb. const store = createStore(reducer); […]

2 min read Scott

JavaScript has become Java, sigh…

If I wanted to work with compiled languages, I would have stuck with Java. If I wanted complicated build systems, I would have stuck with Java. If I wanted complicated all encompassing frameworks, I would have stuck with Java. If I wanted complicated unreadable error messages, I would have stuck with Java. If I wanted […]

1 min read Scott

libopenzwave.so error

If you’ve ever seen this error: MinOZW: error while loading shared libraries: libopenzwave.so.1.3: cannot open shared object file: No such file or directory or Error: libopenzwave.so.1.3: cannot open shared object file: No such file or directory Just type this and it did the trick for me (Ubuntu 14.04). sudo ldconfig /usr/local/lib64

1 min read Scott

Simple React Example

So I’ve been trying to find a simple React example, one that uses a flux implementation that works out of the box in a browser without any compilation or node stuff. I couldn’t find one so I built one. Here it is: https://github.com/scottpreston/react-examples. This requires, RefluxJS, ReactJS, React-Dom and a Browser. You can use node to […]

1 min read Scott

Openzwave Binary Sensors

I’ve been struggling a bit with openzwave items because its so poorly documented. I’ve finally figured out how to get results from a door sensors with the node package node-openzwave-shared. If you follow the install script, then just add this event handler below, you can receive updates. zwave.on(’node event’, function(nodeid, nodeEvt) { console.log(new Date(), ’node […]

1 min read Scott