Wednesday, October 19, 2011

Port to Coffeescript

A new part of the v7 plan is a port to Coffeescript. I'd like to jump directly to Dart, but that's a long way off. I'm also looking to write some test code using some of the JS/CS testing frameworks: http://macwright.org/2011/10/18/adventures-in-testing.html, http://docs.jquery.com/Qunit. Refactoring has become more difficult and error prone, and I can't put off best practice forever.

Friday, September 2, 2011

Resumption of Activities

After a long hiatus, development of the Player's Companion has resumed:

http://charmgr.stepnext.net

This version (0.7) is a port to the Pathfinder rules. The Ranger class is complete, and Sorcerer is coming along. Also damage reduction and special saves (eg v petrification, poison, etc) is now implemented.  Skills with subtypes (eg. Knowledge, Perform, etc) are now correctly handled.

The application is hosted on a Amazon EC2 instance, served by node.js. The code is now hosted on Github, using (predictably) git for SCM. Development has been massively simplified by these changes.

Also, I got a Macbook Air. It is wunderbar.


Friday, March 18, 2011

SharePoint via Java

God bless you, sir!

http://davidsit.wordpress.com/2010/02/10/reading-a-sharepoint-list-with-java-tutorial/

Saturday, February 12, 2011

Another Scintilla Editor

http://caladbolg.net/luadoc/textadept/manual/1_Introduction.html

require 'textadept'

local keys = _G.keys
local b, v = 'buffer', 'view'
local gui = gui

keys.can = { new_buffer }
keys.cl = { 'char_right', b }
keys.cL = { 'char_right_extend', b }
keys.cal = { 'word_right', b }
keys.caL = { 'word_right_extend', b }
keys.cj = { 'char_left', b }
keys.cJ = { 'char_left_extend', b }
keys.caj = { 'word_left', b }
keys.caJ = { 'word_left_extend', b }
keys.ck = { 'line_down', b }
keys.cak = { 'line_down', b }
keys.cK = { 'line_down_extend', b }
keys.caK = { 'line_down_extend', b }
keys.ci = { 'line_up', b }
keys.cai = { 'line_up', b }
keys.cI = { 'line_up_extend', b }
keys.caI = { 'line_up_extend', b }
keys.ch = { 'vc_home', b }
keys.cah = { 'vc_home', b }
keys.cH = { 'home_extend', b }
keys.caH = { 'home_extend', b }
keys['c;'] = { 'line_end', b }
keys['ca;'] = { 'line_end', b }
keys['c:'] = { 'line_end_extend', b }
keys['ca:'] = { 'line_end_extend', b }
keys.cd = { 'clear', b }
keys.caN = { gui.switch_buffer }
keys.cn = { 'goto_buffer', v, 1, false }
keys.cN = { 'goto_buffer', v, -1, false }
keys.ce = {
function()
buffer:line_end_extend()
buffer:cut()
end
}

Monday, January 3, 2011

Installing a Bluetooth Headset on Windows 7

Thanks to Komeil Bahmanpour I can use my LG HBM-235 bluetooth earpiece with GMail phone calling.

(Windows will install the device but can't find the driver.)