Cleaning Up a Gmail Inbox
Using Python and the Gmail API

I’ve been getting increasingly frustrated by my overflowing Gmail inbox lately. I’ve been using Gmail as a primary e-mail service since 2005 and have collected tens of thousands emails over the years.

Lately, I’ve been finding it increasingly harder to quickly find an e-mail using Gmails otherwise …

Read more

Word Spellchecking in Python

In case you’d ever want to integrate Word’s spell checking capabilities on top of your Python app, here’s how you would do so:

The only requirement is having Word installed (with the language packs installed for the languages you want to check), as well as the Python …

Read more

Some Games to Look Forward to in 2017
Most of these are indie titles, again

2016 turned out to be a great year for gaming, with Dishonored 2, The Witness, Doom, Overwatch, Superhot, Thumper, Hyper Light Drifter, Cogmind, Devil Daggers, Furi, Brigador, Age of Empires 2 HD keeping me entertained throughout most of the year.

Which games am I looking forward to in 2017? Below …

Read more

SmoothLife in Processing

Conway’s Game of Life is one of the most popular examples of cellular automaton. However, did you know that Stephan Rafler proposed a version of Game of Life in 2011 which works over a contious domain, called SmoothLife?

Cool, isn’t it? The basic idea is that the grid …

Read more

How-to: Send HTML Mails with OAuth2 and Gmail in Python

If you’ve been trying to send e-mails from a program using your Gmail account, you’ll probably have encountered the following error message:

SMTP Error: Could not authenticate. Error: SMTP Error: Could not authenticate.
535 5.7.1 Username and Password not accepted. Learn more at
535 5.7 …

Read more

Fun with Audiosurf 2 and Mitmproxy

I enjoy firing up Audiosurf 2 from time to time to have some rythmic musical fun. One of the things that has been bothering me, however, is the fact that Audiosurf 2 only integrates with Soundcloud for its music streaming. You can use local files, but since I stream all …

Read more

Replacing BibTeX References with DBLP Entries, Updated

This blog post is an update for this one. I was recently contacted regarding the original post no longer working. Indeed, the scholar.py version used there is being blocked by Google Scholar.

Looking at the scholar.py GitHub page, we do find an updated version from about 8 months …

Read more

Programming Languages to Try

I routinely use Python, R and Java during my day-to-day tasks, but have been itching recently to get up to speed or try out some of the following languages.

This list basically serves as a note to myself to start experimenting with some of them:

  • Haxe — basically in combination with …

Read more

Fixing Flask url_for when Behind mod_proxy

Imagine you have an Apache server set up with a virtualhost configuration listening to some domain, e.g.

my.domain:8080

You have a Flask app running at:

localhost:5000

You want to add a mod_proxy directive so that:

http://my.domain:8080/app_location/  --->  http://localhost:5000

Most resources will …

Read more

« Prev Page 1 of 10 Next »