It's A Binary World 2.0

Insights on fatherhood, technology, culture, photography, and politics

Creating Nice-Looking Buttons in QML on KDE

| March 7, 2013

Back in October I created a GUI for my Python amortization table program.  One of the things I lamented was that the buttons in QML look like crap.  I want my buttons to look like buttons, not blue patches no a white screen.  I don’t really know what made me look, but yesterday (during the [...]

My Second Ever Useful GUI Program

| October 21, 2012

A while ago I wrote about my first ever useful GUI program.  And in one of the series of posts that followed I explained that the reason I hadn’t made a useful GUI program before now is because all the typical stuff has already been made over and over.  We don’t need any more tetris [...]

Developing My First Plasmoid: The QML Code

| June 6, 2012

Back in February I posted the code to the data engine I developed for my plastmoid.  At the time I’d wanted to clean up my plasmoid before posting it on here, however, I’ve become stuck on a key feature so I was hoping that maybe by posting the code I could get some help.  (As [...]

Developing my first plasmoid: The Data Engine (in python)

| February 15, 2012

I figured it’d be neat to show you how my plasmoid works so you could use it when developing your own plasmoids.  Here’s the main.py of my data engine.  The indentation is off, in case you try to copy and past this in. Here are the imports: from PyQt4.QtCore import * from PyKDE4.kdecore import * [...]

Developing my first plamoid Part 2

| January 25, 2012

OK, so it’s been a year since I last blogged about working on this program.  I tried working on the data engine in August and then got stuck right around the time I started my first semester of grad school so I had to drop it, even though it got stuck in my head and [...]

Automatically Posting your Top 3 Artists from Last.fm onto Twitter (with Python!)

| December 20, 2010

I wrote this code a while back because a website that does the same thing seemed to miss my posts every other week.  So I figured I’d write my own in python to do the same thing to me.  Then I just put it into a cron job to automatically run it every Sunday.  I’m [...]

Programming to the Rescue: Amortization Automation

| January 21, 2010

What I love about programming is the instant feedback.  In most programming languages, after you set up a framework for the barest bones of a program you can then run it at every step of the way to confirm that you are moving towards your goal.  What I love second-most about programming is the fact [...]

365 Graph

| January 5, 2010

Today I worked on a python program to create a graph of the views of all my photos in my 365 Project set. Here’s the result:  (click for full size) I was curious how they stacked up and I wanted to see if I could detect any patterns.  Except for a few outliers, they’re mostly [...]

A Novel iTunes Exploit

| April 22, 2008

Brought to us by Randal Monroe of xkcd: Also, you much check this one out both for its mention of Python and the Asus EEE PC.

Philosophizing on the Move can lead to trouble

| April 11, 2008

The plot twist at the end is awesome, but so is the programmer’s debate going on, especially since we were talking about this at work this week. Another great xkcd from Randall Monroe:

FarmerJoe – An easier render solution.

| April 8, 2008

I’ve been very happy until now with drqueue. Developed by Jorge Daza, it’s a very nice render farm management software with a nice GUI. It worked relatively well for me for “Jose’s Dinner” and “Schrodinger’s Cat“. However, there were two big kinks in using drqueue. First of all, Windows support was so sketchy it might [...]

More Flickr Hacking

| March 2, 2008

Over the last two days, between playing Portal and Age of Empires III (both of which are…awesome!), I’ve been doing a little more flickr hacking. This is very closely related to my previous Flickr program where I checked if my pictures were ready to be moved into the next views groups. This time I wanted [...]

Flickr Views Program

| February 27, 2008

I forgot to post this about 1 or so weeks ago when I finsihed up the script. So here’s how the output looks on my flickr views program: Now my next step is to put it on the web. However, the Python API I’m using doesn’t do web-based program authentication. It also doesn’t handle multiple [...]

Hacking Flickr

| February 13, 2008

So, thanks to a problem I had with rigging up Nick in “Sugar“, I’ve temporarily lost interest in animation.  This happens to me all the time, and I think I’ve mentioned it before in previous blog posts that I’m too lazy to look up before that I tend to gain and lose interest in my [...]

Vietnamese Zodiac

| February 8, 2008

In celebration of the new year, and to solve a problem that I explain on the page, here’s a program to figure out which Zodiac animal corresponds to each year: Vietnamese Zodiac I’m still working some kinks out such as the fact that unicode is currently not working on my blog so depending on whether [...]