I have been building a roguelike game in python for a while now. For those not familiar with this particular type of game, I will point you here. Basically, its, as my girlfriend put it, “About the nerdiest thing you can possibly do with a computer”. Opinions aside, roguelikes are very enjoyable to write, as I’ve found, as you can focus solely on gameplay, and not worry about fancy rendering engines and lots of 3D math.Read on →
I was recently trying to figure out an efficient way to programatically encode or decode a string into an ADFGX cipher, a (by todays standards) simple cipher that involves fractionating the string through use of a Polybius square (using a mixed alphabet), and then performing a columnar transposition on the result. If you want to read more about the cipher itself, Wikipedia has a good write up of it here.
I don’t want to go too far into the specifics of the cipher itself, as this post is meant to focus on the first part, encoding a string using a Ploybius square, and, what I feel at least, is a rather clever way of doing it. i Read on →
I guess you could call this a followup to my last post about deploying Meteor applications to Heroku (found here). I ran into this little error today while trying to get a new Meteor application up and running via Heroku. Basically, my app was crashing, and running:
yielded the following:
1 2 3 4 5 6 7 8 9 10 11 12
Not overly helpful, as it didn’t seem to be a Meteor specific error. And it turns out it wasn’t, at least not wholly. I found that Heroku has a config command where you can set things like the ROOT_URL, and for some reason, in this case it needed it set manually (I’ve never had to use this before, so maybe I’m just doing something wrong). Anyways, I ran:
And, lo and behold, my app stopped crashing and started working.
I would like to know why I had to manually set this in this case, so if anyone knows, give a shout in the comments. I’ll try and figure it out on my own in the meantime.
Recently, while looking into and learning about Node.js, I ran across a new framework utilizing Node called Meteor. Since I just started playing with it yesterday, I’ll not go too deeply into the specifics of it, because I have yet to figure them out. One thing I did figure out though, and which I feel is not immediately obvious (thus why I’m writing about it), is how to deploy a Meteor app to Heroku.Read on →
I’ve been exploring Node.js recently, mainly because I’ve been hearing so much about it from all corners of the web development world. I plan to write a more in depth series of posts about my experiences with it at some point in the future, but for now, I’d like to point out a quick little gotcha (and its solution) that I ran across.Read on →
Recently, my old hosting contract ran out. This did two things:
- Lock down all my old blog content so I couldn’t access it unless I renewed
- Make me re-asses my hosting plan, domain name, and general blog philosophies
The former bummed me out quite a bit, as I had some decent (and decently well travelled) blog posts about various aspects of Android development. It kind of stings to lose those, but, oh well. This led me to the latter: it was probably time to move on anyways. My old blog at advancingbackwards (which now redirects here) was being neglected, and it wasn’t much fun to write on it anymore. Why was that?Read on →