technology and me_

Before EndGame, before Waza, before any of it, there was a Blogger blog called Technology and Me, with the tagline “Hitting it with a brick till it works.” That’s about right.

These 49 posts run from 2008 to 2014 — FreeBSD upgrades, Emacs configs, a repeating-timer implementation I dug out of Python’s own source rather than trust the internet, a couple of side projects (Star Tracker, Ruminate, Context Free art), and one post about losing 57 pounds that has nothing to do with software at all. Reconstituted here from a Blogger export, warts, dead conventions, and all.

Setting up Mercurial on IIS

I have just set up a Mercurial server using IIS to serve the requests. I found that the following blog post was a great step by step guide to setting it up http://blog.schuager.com/2010/03/how-to-setup-mercurial-server-on.html. However I had a few issues that were not covered in the blog post: The …

Simple Python Command to generate a random GUID

Every so often I need to generate a GUID for a MS Proj file. The simple python command will create one for me: python -c "import uuid;print uuid.uuid4()" Changing that to a emacs function so I can insert them where ever I need we get: (defun genUUID () "Generates a UUID" (interactive) (shell-command …

Remember to just read the code

The problem that I had was that I needed a repeating Timer object in python. I googled, but the answers that I found didn’t sit right, and then I remembered that I could just read the code for the threading module and see how the Timer object was implemented, then just use that. Below is the code I …

Installing org-googlecl.el on Windows

Here is how I installed org-googlecl.el (found at http://www.emacswiki.org/emacs/org-googlecl) onto my Windows 7 box at work. I droped the el file into my emacs extentions directory I added the following to my .emacs (setq load-path (cons "C:/emacs/org-googlecl" load-path)) (require 'org-googlecl) …

N900 - now with Emacs!

Thanks to this post. I have installed and configured emacs 23.1.1 onto my N900. The only problem was that the minibuffer wasn’t displaying, I found that the fix for this was to specify a max-height to the maxframe configuration mentioned in the post. I added the following line to my .emacs: (setq …

A simple solution to downloading matching instance files in CC.net

At Serverside we use Cruise Control .Net as our continuous build server. I have found it to be easy to use and it integrates with NAnt and NUnit really well. Today I hit upon a interesting problem in one of our builds: We needed a instance code line to be updated every time the base code line was …

Inserting the BOM into a file

I have been working with Windows UTF-8 files a lot today, and I found that just saving the file as UTF-8 isn’t enough for ASP.NET (well 1.1 at least). Even though emacs says that it will save the buffer with the BOM (Byte Order Mark) it doesn’t seem to if the file doesn’t start with one. So I wrote …

My first SSG blog post

I just posted my first blog post over at http://www.ssgl.com/blog. Its just a short comment on why my development team is better than the rest! You can see it here

Why didn't I follow the checklist!?!

Today I upgraded our Subversion server to 1.6.5. It was a nightmare and all because I tried to do it from memory. It seemed simple, just uninstall and install a few services and then I would be away laughing. However I was shown why pride comes before a fall. All was going well till Apache wouldn’t …