Anything


7
Mar 10

My friend’s blog

A friend appreciation post.

Last year we were skiing on a ski resort of Zakopane, Poland. Usually, if you are open and friendly enough (and we definitely are), you may expect to meet new interesting people on such trips. Sometimes new people stay in your life or just a few days – like these interesting Swiss girls we met on Sziget fest in 2008, but it may happen that you continue to talk over long time since you met. What, actually, happened in that particular Poland trip.

Gubalowka

Let me introduce friend of mine, fellow Englishman Boaz Odier. Boaz lives in London, prefers to travel light, speaks several languages and plays ukulele for fun. And, if I recall our beer chats correctly, he also spent plenty of time living in Brazil once. I am looking forward to see some travel notes in his blog soon.


3
Mar 10

Quote of the hour, status update

Пара слов о Quote of the hour – приложение работает, делает большую часть действий правильно, но на прошлой неделе не хватило времени привести его в товарный вид и оформить пост. Постараюсь исправиться в ближайшее время, а пока вам пару хороших слов о системных администраторах от xkcd.com


22
Feb 10

Quote of the Hour, дизайн интерфейса

В результате создания парсера на Python у меня на руках появилось около 3 тысяч разнообразных цитат, и теперь пришло время их использовать.

Идея для прототипа – приложение под Windows, которое будет периодически показывать всплывающее окошко со случайной цитатой. В качестве бонуса пользователь сможет заменить цитаты на любой текст. Усложняем задачу – окно с текстом я хочу видеть красиво оформленным.

Немного прототипирования в Balsamiq Mockups, несколько неудачных вариантов интерфейса и вот набросок готов.

Interface sketch

Continue reading →


19
Feb 10

Quote of the day parser

I constructed a small parser in Python which extracts different quotations from MotivatingQuotes.com (not too much for a start, take it as of Python learning course and general practice). I’m going to use these quotations in the next small utility, so stay tuned.

Parser is able to extract quotations from pre-fetched html pages (use wget or any other similar tool) and store them in output file in CSV format (Category, Quote, Author). Fancy details like color highlight for console output, automatic encoding detection and command line options are included.

Source code is generic enough to adopt it for any format with little help of regex tweaking.

Usage: motivatingquotes.py [options] [-h]

Options:
  -h, --help            show this help message and exit
  -q, --quiet           Quiet mode
  -f WILDCARD, --from=WILDCARD
                        Files to extract quotes information from, e.g "*.html"
  -o FILE, --out=FILE   Save extracted qutoes to file in CSV format, e.g
                        "quotes.csv"

Downloads for this app


16
Feb 10

F = ma

Have just created 2 stickers for MacBook, inspired by magnificent MacBook cover art.

Newton's Apple

Creation of Apple


5
Feb 10

Welcome aboard

Welcome, reader.

Since I’m not a blogger-type person, don’t expect to see much updates here. This site was create mostly to serve as placeholder and testing range for my personal projects.

And now a word of appreciation to my hoster – WebFaction. I tried a number of hosting solutions over the years, and was impressed with price, speed and convenience of WebFaction solution. If you’re looking for hosting for small to medium website which is based on Python or Ruby and don’t want to spend a fortune on dedicated server – this might be your Holy Grail.