Blog by Sumana Harihareswara, Changeset founder

Tag
Hacker School

23 Nov 2013, 12:59 p.m.

I Cannot Be The First Person To Quip About Quantified Self-Loathing

After the first week I spent at Hacker School, I worried that I wasn't spending enough time on improving my programming skills. So I started using Project Hamster to track chunks of time that I …

Read More
23 Nov 2013, 10:40 a.m.

How Comprehensive Are Your Unit Tests? Coverage.py Knows

I've been writing and maintaining unit tests for my project. But only on Thursday did a colleague's presentation remind me that I could run a code coverage tool to check which code paths my tests …

Read More
16 Nov 2013, 21:58 p.m.

A Little Design Thinking Can Go A Long Way

I was playing with stdin/argv because Leonard suggested I improve Missing from Wikipedia to make it more Unixy and interoperable with other scripts and systems present and future. Right now it demands that you tell …

Read More
16 Nov 2013, 20:45 p.m.

Accidental Quine

On Friday, while trying to work with standard input (stdin) and command-line arguments (argv), I accidentally wrote an almost-quine (a program that produces its own source code as output). I've removed a few debugging print …

Read More
15 Nov 2013, 14:44 p.m.

Code4Lib, Open Data, Open Access, and Fighting Systemic Bias

"Missing from Wikipedia" (code) makes me happy. I presented about it yesterday at Hacker School, asked a fellow HSer to discuss his critique of my code, and - live! on stage! - merged his pull …

Read More
13 Nov 2013, 7:38 a.m.

Missing From Wikipedia: Tool to Help Fight Systemic Bias

This week I wrote a tool I currently call "missing from Wikipedia" although the name may change. You feed it a list of people's names and the language Wikipedia you want to check, and it …

Read More
06 Nov 2013, 7:06 a.m.

Top, Iterators and Generators, and Git, Emacs, and REPL Tips

Dumping into a post some things I've learned recently, trying to disregard the potential "you didn't know that already?!?!" surprise, feigned or genuine, that people might impose on me.* How did I never use top …

Read More
04 Nov 2013, 8:30 a.m.

Comprehensions

It's autumn. I spent a bunch of September in San Francisco, trying to tie up loose ends at work so I could go on my sabbatical with a free heart. My notebook says things like: …

Read More
01 Nov 2013, 11:06 a.m.

PEP 8 Compliance

It's easier to read and contribute to code when it's stylistically consistent. This is a reason why we have PEP 8, the style guide for Python code. It says things like: Avoid extraneous whitespace in …

Read More
28 Oct 2013, 23:59 p.m.

On Ability

Someone discovered "that the addition of 'Harry' to almost any Plato quote makes it seem legitimately like a nugget of wisdom out of the mouth of Albus Dumbledore." This reminded me to look up my …

Read More