Category Archives: programming
Building your first Jekyll site in 5 minutes
Back in December, I wrote a short post about building websites without server side includes. I used AJAX and magical hasbang url’s to get around the fact that the hosting space I was given on the university servers did not … Continue reading
How do you track your bugs?
I have actually asked this question once before, but it was long, long time ago in the prehistoric days of April 2008. A lot of things have happened since then. So I have figured it would be a good time … Continue reading
Git Cheat Sheet
Few days ago I tweeted, and Google plus-ed (is that a word?) this neat little Git guide. I really liked it, because it was simple, kept things basic, and condensed all the commonly used commands in one place. Unfortunately the … Continue reading
Arguments against abstraction
You know what is the nice thing about Google Plus? Lack of that pesky character limit of Twitter. You can post a full essay as a status update if you want to. Not that you should. I try not to … Continue reading
Using GitHub behind a firewall
When I’m at work, I’m behind a fairly strict firewall. Me and the firewall don’t really get along that well and we have a long, and troubled history. When I sit behind it, I see the web through a peep-hole … Continue reading
Making Ajax Driven Websites without Server Side Scripting
As some of you may or may not know, I teach a introductory technology course at my old alma matter. I have been an adjunct professor then since 2007. Back when I was a student there I had a unix … Continue reading
ScribTex – Learn LaTex in the Clouds
As you know, I am a big fan of LaTex. If you did not know that then you must be new here. Welcome to the blog! I have actually written a fairly large number of posts about this lovely markup … Continue reading
Monetizing
Recently, I had an interesting conversation with a non-programmer. Yes, I know – it is sometimes hard to believe, but such creatures still do exist. I’m not sure how many of them are still out there, but by my last … Continue reading
Bad Habits
I don’t usually steal posts, but when I do I steal them from foreign language blogs. It’s almost like original content, right? Most of you can’t really read it, so I could probably easily get away with plagiarism this way. … Continue reading
Best Online Project Sites / Source Code Repositories
This was officially one of the worst weekends of my life. I have spent the 3 day holiday shopping for a new automobile, and enduring one high pressure sales pitch after another. But you probably don’t want to listen to … Continue reading
MyTPK is now Open Source
If you recall, back in December I put together a nifty public key encryption app for dummies. I never actually made it publicly available, but I did talk at length about the code. I promised to make it available shortly, … Continue reading
Merging .NET Assemblies
I’m not sure if any of you are using Luke’s Setup Assistant tool, but it has been slowly growing and expanding. I stopped posting about it here after every update, because I didn’t want Terminally Incoherent turning to an update … Continue reading
Software Immitating Real Life Solutions: A Design Trap
On Monday, I wrote an extended post on calculators in which I mentioned a common software design pitfall. I wanted to talk about it in some more detail because it is a fairly interesting topic. Software calculators are excellent jumping … Continue reading
Student Webspace in the Cloud: Google App Engine
Do you ever feel that siren call of code that needs to be written? Sometimes I get an idea into my head, and then spend the next few days thinking about little else. I’m thinking about the code in the … Continue reading
Creating Thumbnail Images with C#
The other day I needed to throw bunch of images online and arrange them in a simple HTML based gallery. I didn’t need anything fancy – not light box effects, no formatting, etc… All that stuff was already in place, … Continue reading
Temporary Public Key: Continued
As I mentioned last week, I’m working on a public key encryption tool. Something that requires very little setup, and no cumbersome key management that is usually necessary with established tools such as GPG or PGP. One of the things … Continue reading
Let’s Learn LaTex: Part 4
I sort of neglected my Let’s Learn LaTex series for a while now. The last LaTex related post I made was in April and now it is already November. I figured I might as well get back to it, and … Continue reading
Designing a Tetris Clone: Part 2
Wait, what? Part two? Where is part 1? Did we miss it? Oh, wait… Never mind. I found it. The story here goes like this: back in 2007 I had this crazy idea to make a Tetris clone. I was … Continue reading
Python: Tips and Tricks
As you may have noticed, I have been messing around with python quite a bit lately. I remember trying it out back in college and using it on few small projects and then abandoning it for a while. Then I … Continue reading
I hate websites with light text on dark background
When you browse the web do you prefer websites which have light background and dark text or vice versa? I wrote about it some time ago and it seems to be a polarizing issue. Some people seem to prefer one … Continue reading
Python: Open the Most Recent Log File
Lately I have been on a Python kick. You know, just in case you haven’t noticed it based on the new outcrop of Python centric posts around these parts. In addition to Google App Engine related stuff I’ve been doing, … Continue reading
Generating Random Pronoucable Passwords
Here is an interesting problem: how to generate sufficiently random but semi-pronounceable, and easy to remember passwords. I mean, putting together a random password generator is easy – just pick bunch of random character from a pool of printable symbols … Continue reading
Character mapping must return integer, None or unicode
The other day I implemented a simple rot13 function in python like this: from string import ascii_uppercase as upper, ascii_lowercase as lower, maketrans def rot13(text): rot13_alphabet = upper[13:]+uc[:13] + lower[13:]+lc[:13] rot13_transform = maketrans(upper+lower, rot13_alphabet) return text.translate(rot13_transform) Yes, I know there … Continue reading
Let’s Learn LaTex: Part 3
Welcome back to my Let’s Lern LaTex series. I haven’t done any of these posts in a while, but that doesn’t mean i gave up on the idea. Today I want to show you lists which interestingly enough work very … Continue reading
Exchanging Files Over the Network the Easy Way
The age old problem: how do I send you these files with the least amount of effort. Have you ever been is this situation? You need to send bunch of files to another person sitting 3 feet away from you. … Continue reading