Randomness in Tests

By Eric — 4 minute read

Wouldn't it be cool if a few uses of the random module in your unit tests could discover bugs in your code? Meh.

The problem is that random tests are non-deterministic, meaning they lack the highly desirable property that if they pass in my local development environment, they'll also pass …

Read more...

The Impossible World

By Eric — 3 minute read

Sometime when I was a teenager, my step-dad gave me a box full of sci-fi and war novels. I'm not sure where he got them -- maybe in bulk at a garage sale or something. Years later, many of them are still sitting on a shelf, mostly unread. I thought I'd …

Read more...

Origin of the Name of the City of Lehi

By Eric — 7 minute read

Introduction

Most people believe that the city of Lehi, Utah was named after Lehi, the first prophet and patriarch of the Book of Mormon who fled Jerusalem with his family prior to the city falling under siege to the Babylonians around the beginning of the 6th century BC. Both the …

Read more...

UI Baffler: Outlook Reminders

By Eric

Why is it that in the Outlook reminders dialog, the "Dismiss All" button is disabled if there are no reminder items selected?

Dismiss All disabled

Well clearly it is because that button is supposed to dismiss all of the selected reminders, right?

No, because if there is any selected reminder, clicking "Dismiss All …

Read more...

I'm concerned about using Python

By Eric — 10 minute read

xkcd Python

But...

Python is slow

  • Is the CPU the bounding factor for the project's performance?
  • How much time has been spent trying to optimize performance?
  • Which is currently more important, raw execution speed or time to create features?
  • Is Python fast enough for the project?
  • It is an often used strategy …

Read more...

Review of "Don't Make Me Think"

By Eric — 2 minute read

Steve Krug's Don't Make Me Think is a quick, easy to read introduction to usability, especially as it relates to web design.

Book Cover

Some sections are very web-specific, but you'll also find plenty of things that apply to any kind of user interface. He also doesn't try to be comprehensive, often …

Read more...

The Feedback Meeting Game

By Eric — 3 minute read

We hold lots of meetings with the intent to gather feedback from members of a team. These can be architecture reviews, requirements walkthroughs, sprint or release retrospectives, and others. How do you conduct meetings like these in an efficient and productive way?

Some challenges that arise in meetings like these …

Read more...

PyCon 2016 - Day 3

By Eric — 5 minute read

Wednesday was the final day of the main PyCon 2016 conference in Portland, Oregon.

Pioneer Square

Lightning talks

One of the interesting talks was about Web accessibility. It isn't always top-of-mind for me since I do little Web front end currently, but the speaker mentioned the Accessibility Developer Tools for Google Chrome …

Read more...

PyCon 2016 - Day 2

By Eric — 10 minute read

Today's PyCon was a lot about meeting people. I hadn't really anticipated that, but it was a nice surprise nonetheless. But first things first...

Convention Center

Lightning talks (AM)

There were two sets of lightning talks today, book-ending the rest of the events. One interesting one was about using Minecraft to teach …

Read more...

PyCon 2016 - Day 1

By Eric — 8 minute read

PyCon is in Portland, Oregon this year, which is not only more accessible to me than eastern Canada (the previous location), but also the area where most of my extended family lives. Those facts combined to make it a great time to attend for the first time.

Willamette River

In a way …

Read more...