“There is no real difference between work and play – it's all living.”

-Richard Branson

Method of Operation

Our modus operandi
We believe software is too complex. Too many features, too many buttons, too much to learn. Our products do less than the competition — intentionally. We build products that work smarter, feel better, allow you to do things your way, and are easier to use.

Revealing Class Documentation in Python

Today I was using Selenium’s Python Client Driver for some automated data-collection tasks.

The Selenium documentation includes a nice example of simulating user input for filling in forms.

WebDriver’s Select class Source Article
1
2
3
4
from selenium.webdriver.support.ui import Select
select = Select(driver.find_element_by_tag_name("select"))
select.deselect_all()
select.select_by_visible_text("Edam")

But I couldn’t find any documentation on the Select class to see what else it can do! Fortunately, Python’s help function can show the source documentation of the class for the object you pass it.

How to Word Wrap in Gmail

That’s right, you can have Gmail line-wrap/word-wrap/text-wrap your outgoing emails and it’s easy to set up! Best of all, you can do it straight from the Gmail web interface.

Boolean Hacks in C

You’re used to Booleans as logical or truth values but you miss them in C. You’d like your code to be more verbose and readable instead of 1’s and 0’s all over the place.

Here are some simple workarounds I’ve found over the years. Most of these take advantage of chars being an integral data type in C (i.e. they are stored as integers).