Archive

Archive for 2008

License Info

December 16th, 2008

Quick update:  Until now this has been implicit but now it’s official.  All the material you read on this site will be licensed under a Creation Commons Attribution-Noncommercial-No Derivative, 3.0 license unless otherwise stated.

This license grants you the right to read, copy and re-distribute any of the posts or pages on this site.  In doing so you must attribute the work to me but you must not imply that I endorse your work or the use of my content therein.  You may not alter or build upon the content.  You may not include the content in commercial work.

If you do re-distribute the content you must make clear the license terms of the work.  The easiest way to do that is with a link back to the page.  

Any of the preceding clauses can be waived with my permission.

Self, Web ,

Happy Birthday to GNU

December 13th, 2008

I almost missed this.  Here’s a video of a very smart chap (Stephen Fry) celebrating 25 years of Free Software.  In doing so he provides a clear and simple insight into the meaning and importance of freedom.

http://www.gnu.org/fry/

 

Self, Software , , ,

Headaches:

November 27th, 2008

They’re bad, okay?

Self ,

Joining the 21st Century

November 27th, 2008

Ok, some new stuff:

 

  1. BT sent us a new router
  2. The router actually has useful features like port forwarding
  3. I have the admin details for the router
Based on these facts I figured it should be possible to set up say: Remote SSH access to my laptop.  Moreover, with a little iPhone app called Touchterm (an SSH client for iPhone) I should be able to login from anywhere – even on the road.
So I went through the steps of setting this all up – told the router to forward SSH connections to my laptop and went downstairs to enjoy a cozy session of nethack.
Playing Nethack via ssh on iPhone

Playing Nethack via ssh on iPhone

Regards.

Self , , ,

Fixing Mavis Beacon (Part 2)

November 24th, 2008

Or rather, here are a couple of images. Sweet, Innocent images of Apple keyboards. The first of which has been left blank, for your enjoyment; the second is a rendition of the Dvorak layout on OS X (as best as I can map it – it seems to be correct on my MacBook)

 

These images are fairly harmless.  They go from being harmless to useful if you drop one of them into “/Applications/Mavis Beacon/Resources/English.lproj/Keyboard.png”.  (Substitute the correct path to Mavis Beacon if necessary, and don’t forget to back up the original keyboard image.)

Ok, Part 2 went pretty well.  At least I’m now looking at the correct layout on screen.  I’ll do a bit more work to neaten it up at some point but for now I’m happy it’s there at all.  Now if only it were possible to remap the positions of the keys themselves.  Stay tuned.

Hope this was helpful.

Self, Software , ,

Nethack Settings for OS X

November 22nd, 2008

There is now an update to this post.

This is a quick tutorial post for anyone requiring convenient pre-configured Nethack Files. Nethack comes from a tradition of Hack’n'slash adventure games known as Roguelikes. They are similar to text based adventures in that, originally, grapics were rendered using ASCII characters. This is still a popular way to play the games. This is the end of the similarity, though, as the gameplay is more like that of Dungeons & Dragons or other Role Playing Games.

Personally, I enjoy using ASCII graphics because I think it makes the games more readable, imaginative and because nicely rendered fonts just look better than tiny 16×16 tiles. (How can a mighty dragon be crammed into a small 16×16 bitmap?)

Nethack in Terminal.app

Nethack in Terminal.app

So, here are some things I have done to pretty up Nethack a bit for OS X. Many other people, I’m sure, use a similar setup, and many others probably differ. For added convenience I’ll include my configuration files for download.

  1. Build Nethack from source. There is a good tutorial for this on the Nethack Wiki
  2. Apply the following Source Code patches: hpmon, Menucolors and rebuild. (They provide groovy abilities like menu highlighting for easy reading)
  3. Download a copy of my .nethackrc to configure- this already has decent settings for Menucolors and well as some traditional options: (keybindings, graphics mode, etc). You can get the file here: nethackrc (save it into your home directory as .nethackrc)
  4. Make a custom Terminal.app config ad export it. I use Monaco 18pt font, no-blink cursor, autorun /usr/games/nethack. You can grab a copy of this file here: nethack
Hopefully this has helped a little in setting up classic command line Nethack on OS X (and making it look a little prettier).

Gaming, Self , , , ,

Fixing Mavis Beacon 2008 (Part 1)

November 15th, 2008

In order to cast off the shackles of messy typing I grabbed a copy of Mavis Beacon 2008 for Mac- only to discover on installation that Dvorak support has been dropped since version 5.  The website has this to say:

 
After installing Mavis Beacon Teaches Typing® 16, you want to know if practice lessons for the Dvorak keyboard layout are available in the program. The remainder of this note provides additional information.

The Dvorak layout is an alternate keyboard layout. Mavis Beacon Teaches Typing® 16 does not include lessons for the Dvorak keyboard layout.
 

Notice an interesting use of past tense in this statement but I guess I should have done the research first.  Who’d have known the #1 typing software didn’t support Dvorak?

Here is part one of a solution to fix the problem.  Downloading mb_abcdvorak will give all the lessons (1 – 29) of A Basic Course in Dvorak already converted to The Mavis Beacon custom lesson format.  You can import these by going to the Media Center.  If you wish you can also download txt_adbdvorak which simply contains the text for the lessons.  All I’ve done is the boring work of conversion – Many Thanks to Dan Wood for producing the course.

This is all well and good but when you are actually running Mavis Beacon that little helper keyboard still shows qwerty layout.  How can one get to the stage of learning the Dvorak layout without learn it separately first?  In Part 2 I will provide an alternative keyboard graphic using the Qwerty layout.  (I will peobably also explain how to use this within Mavis Beacon unless the EULA explicitly states not to – but providing a picture of a keyboard violates no EULA!)

Further to that I will investigate changing the positions of the keys used by the animated fingers and highlights which appear in the software.

Self, Software , ,

RSPOD Vol. 2

November 8th, 2008

I just went over and picked up On the Rain Slick Precipice of Darkness Vol. 2 (The new Penny Arcade adventure) from Greenhouse Games. So far I’ve only watched the opening cutscene but it looks like it’s gonna be both awesome and hilarious.

These guys are delivering serious fun for only $14.95! :-)

Gaming, Self, Software , ,

Weak Type Systems

November 8th, 2008

I read an article a while back by Steve Yegge.  In case you don’t know, Steve is a programmer.  He is also a blogger.  A big blogger.  I don’t mean simply that he really likes to blog- I mean he writes big blog entries. He also tends to write very good blog entries and if you have an interest in programming or business or just want a good read then I highly recommend checking him out.

I read an article.  It didn’t leave me with the warm glow of a satisfying read.  It left me with a guilty, hollow feeling.  This article might have been called “Stuart’s Story: The death of typing”, or “Stuart, I know all about your lazy habits.” Or… you get the picture.  The point is, Steve was talking directly to me.

You see, I’m also a programmer.

I’m a programmer and it’s been about 10 years since I fell of the touch-typing wagon.

However, I’m not one to stay disheartened.  As of this moment I intend to take the advice given in the article and re-learn to touch type.  Not only that, but I also intend to do it using the Dvorak layout.  Qwerty isn’t a standard- it’s a widely adopted flaw, designed to slow typists to a speed that wouldn’t jam those mechanical typewriters.

In the hopes that my own short experience so far might benefit others I present the steps I’m taking to re-aquaint myself with touch typing:

  1. I have blanked the keys on my MacBook – and will do so on any other keyboard I own now.  Here’s a fairly cheap and effective way to do it.  Buy stickers from this site (their P&P is reasonable, even to the UK) – 4Keyboard Blank Stickers. The resulting keyboard looks like this: Blanked MacBook
  2. Get a typing tutor, preferably one that will do focussed drills rather than just punching in random strings.  I’m currently trying to demo of Ten Thumbs Type Tutor. Which is rather fun and features a Viking!  (It’s not free but there is a 10 day trial.  So far I’m rather impressed)
  3. Learn the drills and common patterns.  Whether on Qwerty or Dvorak, learn patterns like: the, ion, uous, at, in, etc. Building up a good vocabulary of common use strings will help to build up an acceptable speed early on, allowing you to adopt quicker.  (I think I recall Steve mentioning this in his post.)
  4. Practice.  This is the stage I am at and will probably be at for a good while to come.  I trust Steve when he says that it only takes about 30 minutes a day to get reasonably proficient – but it goes without saying that this takes a bit of dedication.

This was a useful post for me to lay down some goals for the future.  I hope anyone reading found it interesting too.

Peace.

Self , , ,

Document Entropy

November 7th, 2008

While my MacBook typically runs as happily as ever, I have started to notice that various folders are becoming somewhat messy.  There is no explanation other than the laziness of the user.

My ‘documents’ folder, for example, is fully of unclassified .c, .h, .tex, .pdf – all the files of the day with cryptic titles to boot.  Such examples include: al_7.aux and booktest.log.  Months on I can’t remember what happened to the ‘Als’ which preceded number 7, nor can I remember which book I was testing.  In short, I really need to clean up my documents.

I’m somewhat reluctant to start though in case I decide to buy OS 10.5 soon – *gasp* yes, ok… My ‘last-year’ MacBook is still running Tiger.  I will join the 21st century yet!

Self, Software , , ,