Self-hatred

Archive for the ‘programming’ Category

[MUD] Muddy mudness

I’ve thrown a lot of idle thoughts at the concept of the MUD project, and it keeps coming back to me that I would be literally out of my depth. I have, to date, scarcely finished one barely-working shooter, let alone delved into the intricacies of a graphical multiplayer role-playing game. I am going to [...]

[Bash] Sort files by geometry with Imagemagick

I just spent thirty minutes writing and testing a shell script. This shell script searches a folder, analyzes a photograph’s geometry using mogrify, and then, if the image is square, move it to another folder. I’ve eyeballed the folder, and found three matching images. This script will take approximately twenty minutes to execute. I’m not [...]

[MUD] The World

The greatest and most important part of any MMOG is the game’s world, that is to say the 2D or 3D environment that the player character roams through. Monsters live in the world, quests take place in it, and players from across the world come together to call it Home. And because of it’s encompassing [...]

[MUD] The Game

To start with a verbatim quote from an email: As some of you know, I Fell Off The Face Of The Earth toward the end of last year, and beyond some consulting HTML and CSS work, I haven’t touched code about the end of last August. I am in need of some kind of project [...]

[Bash] Batch renaming files

Despite (or perhaps because of) the fact I’ve been using Linux for more than a decade, I’ve done a great job of avoiding sed. I have done my best to make up for it in the recent past by learning how to at least find and replace, either within a file or in a filename. [...]

Is the hackerspace open?

This started as my own tongue-in-cheek take on 091 Labs’s Lo-lo project, an open/closed state indicator for the hackerspace. It has the dangerous potential to become something moderately more obsessive, because the four lines of jQuery at its core don’t fucking work in Internet Explorer (shocker). The page, the CSS? Validates perfectly. The JavaScript I [...]

jQuery “hello world”

Yay, milestone. <head> <title>JSON Test #1</title> <style type=”text/css”> #test { position: absolute; width: 500px; height: 100px; top: 25%; left: 25%; color: black; } </style> </head> <body> <div id=”test”></div> <script> var data={ “firstName”:”Mark”, “lastName”:”Grealish”, }; document.getElementById(“test”).innerHTML=data.firstName+” “+data.lastName; </script> </body> </html>