Category Archives: programming

Programming howto’s, tutorials, informative posts about my open source (and closed source) projects, software engineering and design discussions and rants about the industry as a whole.

LaTex: Continous Background Compilation

What I’m about to propose here is a bit unconventional, but it really works for me. I’ve been doing a lot of front and back end web stuff lately and as a result every machine I own or work with … Continue reading

Posted in programming | Tagged | 7 Comments

Scraping Reddit’s Json for Cool Pics

Did you know that you can add /.json to any Reddit URL to get a machine readable JSON document you can screw around with? You can test it yourself. For example, go to /r/vim/.json. It works for pretty much any … Continue reading

Posted in programming | Tagged | 5 Comments

Building a Jekyll Site

Back in 2009 I got a brilliant idea into my head: I was going to build a site on top of Joomla. Why? I still don’t exactly understand my own thought process that lead me to that decision. I think … Continue reading

Posted in programming | Tagged , , | 9 Comments

3 Tiny Vim Plugins That Will Make Your Life Easier

There is a religious movement within the Vim community which emphasizes purity of the environment and rejects superfluous plugins and advises adherents to meticulously prune their .vimrc to keep it nearly empty and thus clean from impurities. I personally do … Continue reading

Posted in programming | Tagged | 7 Comments

Let’s Learn LaTex: Part 7

Let’s talk about embedding code snippets in your LaTex documents. All of us here are programmers (except for those who aren’t) so this is a natural thing we might want to do. Despite being built by programmers for programmers, LaTex … Continue reading

Posted in programming | Tagged , | 2 Comments

About Code Snippets

This will be an exercise in brevity. Originally I wanted to post this thought on Twitter, but I could not figure out how to compress it into 140 characters. I could have posted it on Google+ but I figured I … Continue reading

Posted in programming | 3 Comments

Programmer’s Keyboard

This summer Jeff Atwood (@codinghorror) has designed and helped to release a new mechanical keyboard aimed at programmers. It was intended to be a modern replacement for the venerable, yet beloved Model-M. If you haven’t heard a Model M keyboard, … Continue reading

Posted in programming | 16 Comments

Let’s Learn LaTex: Part 6

In Part 4 we talked about the tabular environment which, as I mentioned, is more or less equivalent to tables in HTML. There is another popular way to typeset tabulated data in LaTex which emulates a feature that simply does … Continue reading

Posted in programming | Tagged , | Leave a comment

What is your favorite config file format?

Very frequently applications you write will need config files. Sometimes said files are going to be used to internally preserve the state of the application and only read or written to by the app itself, never being exposed to the … Continue reading

Posted in programming | 9 Comments

Getting Git

If you visit the internet sometimes, you have probably noticed that every month or so certain “developers” like to have a crying session about git being hard to get. I use the term developers in quotes because it is probably … Continue reading

Posted in programming | 3 Comments

Private Journaling: Reading

Back in March, I more or less definitively resolved my private journal writing problem when I created MarkdownJournal.com. I made it primarily for myself and so it was designed to scratch all of my particular itches. It was made to … Continue reading

Posted in programming | Tagged | Leave a comment

Designing Websites for Programmers

Let’s say you have written a programming library or a framework and you want to put it online for all to see. Chances are you are not a web developer or a designer and perhaps you don’t have much expertise … Continue reading

Posted in programming, random stuff | 4 Comments

Using Vim for writing Prose

Vim is a great text editor for writing code. Anyone who claims otherwise is either an Emacs user (and you should be OK with that, because Emacs is pretty neat) or a “casual” code wrangler who sometimes dabbles in programming … Continue reading

Posted in programming | Tagged | 9 Comments

Ruby Gems and Warhammer

The other day I wrote about my attempts to get back into Warhammer. Today I wanted to touch upon a slightly different aspect of the hobby. The open secret of war gaming community is that models are technically optional. This … Continue reading

Posted in programming | Tagged , | 4 Comments

Source Code Typography

When you run a blog such as this one you usually learn to live with writers block or you quit early. Or perhaps not “writers block” itself but just lack of good ideas for blog posts. My usual way of … Continue reading

Posted in programming | Tagged | 3 Comments

Status Line in Vim

If you are following the recent trends in the Vim community you have probably noted the ever growing popularity of Powerline. As the name suggests, it is a very powerful status line generation plugin, but I don’t think that’s why … Continue reading

Posted in programming | Tagged | 7 Comments

Python: Increase Your Zen, Maximize Your Hapiness

The philosophy of Python can be summed up in a single line: python -m this When I first discovered Python it still had that ugly, pixelated green snake logo all over their website, and the documentation was all like “Monty … Continue reading

Posted in programming | Tagged | 2 Comments

Writing Vim Plugins in Python

There are few things Vim and Emacs users have in common. One of these things is the fact they can talk together about programatically extending their work environment. You can’t really expect to talk to Eclipse of Visual studio about … Continue reading

Posted in programming | Tagged | 3 Comments

Vim: Tabs and Buffers

Lets talk about Vim tabs today, because they seem to be a source of perpetual confusion for new users. Most conventional text editors use tabbed interfaces the same way as web browsers do. You take a file, and load it … Continue reading

Posted in programming | Tagged | 2 Comments

Vim Sessions

Vim, like Emacs and most other decent editors (as if there were any other decent editors out there) is an application that ought to only run in a single session on your machine. When using the console version of vim, … Continue reading

Posted in programming | Tagged | 2 Comments

Spoilers in the age of Social Media and Ubiquitous Time Shifting

You know what really grinds my gears? Folks who complain about TV spoilers in social media. Quite often I will tweet something about an episode of The Walking Dead or Game of Thrones several hours, or even days after the … Continue reading

Posted in programming | 7 Comments

Virtues of a Programmer

Larry Wall once said that the three virtues of a programmer are Laziness, Impatience and Hubris. This saying has become legendary tidbit of software development humor. And as all good jokes, this one is funny because it is mostly true. … Continue reading

Posted in programming | 8 Comments

The Beauty of HTML5

If you are still using HTML4 for your new websites you should stop probably stop. And I’m not saying this because of standards compliance, or some sort of web snobbery. I’m saying this because it is a pragmatic thing to … Continue reading

Posted in programming | Tagged , | 2 Comments

Building Sinatra apps with Dropbox-SDK

When I was building my Makdown Journal app I have noticed that there were no good tutorials showing you how to use the official Dropbox-SDK Gem with the Sinatra framework. Granted, this is not necessarily an issue if you know … Continue reading

Posted in programming | Tagged | 1 Comment

Revisiting Private Journaling

A while ago I wrote about my search for a good private journaling solution. Since then I have tried dozens of different apps and services without finding anything I would like. At one point I even wrote my own little … Continue reading

Posted in programming | Tagged | 17 Comments