Blah Blah Woof Woof

Archived content 2005-2007

Getting my new mac keyboard to work with a PC

Posted by Tim Riley Sun, 19 Aug 2007 23:37:00 GMT

Dear Internet,

I’ve been having some troubles getting my PC to boot while connected to one of the new Apple USB keyboards.

I have it connected with a USB extension cable in order for the keyboard to reach my desk. However, in this state, the BIOS will print a “No keyboard present” error and fail to boot.

When I remove the extension cable and connect the keyboard directly, this error oes not appear and the system boots fine! When I plug it back in through the extension cable after this point, everything is fine also. The problem seems to occur only when the BIOS is loading.

Now ideally I need the extension cable because typing under my desk is just not comfortable. Does anyone have any ideas about how to fix or work around this issue? The USB keyboard support in my BIOS is turned on, for what it’s worth.

You are my only hope!



Posted in Geek | 3 comments

Navigating between tabs in OS X

Posted by Tim Riley Tue, 14 Aug 2007 13:34:00 GMT

To use the keyboard to move to the next tab on the right, for selected apps on OS X:

Safari⌘ + shift + ]
Firefox⌘ + ⌥ + →
Adium⌘ + ]
VoodooPad⌘ + ⌥ + shift + ]

In my time using OS X, I've found it generally to be quite a polished OS, and the application authors on the whole adhere to a consistent or obvious set of behaviours. Keyboard navigation of tabs, however, is one thing that continues to trip me up.

As far as I know, this is something where the Linux desktops are much further ahead, where "Control + Page Down" does the job in the majority of apps I use.

Posted in Geek | 3 comments

Integrating an Apache reverse proxy and Sharepoint

Posted by Tim Riley Mon, 13 Aug 2007 02:13:00 GMT

Recently I have installed an Apache reverse proxy to delegate external requests to a number of different MS SharePoint installations.

It was straightforward to set up and it worked quite well, with one problem -- The reverse proxy accepts HTTPS connections from clients, but all internal traffic to the SharePoint installations is over plain HTTP. At some point during the user signin process, the SharePoint server redirects to a new page using an absolute link beginning with "http://", since that is the only protocol of the requst.

This results in the user being prompted to authenticate twice: once when they hit the HTTPS site, and then once again when their browser is redirected to the plain HTTP site. Worse still is that all secure traffic is taken back to an insecure protocol.

Ideally, it would reload using protocol-independent relative links, but the Windows engineer I was working with said this was not possible.

To fix this, I had to set up a simple RewriteRule for mod_rewrite that redirects all traffic to HTTPS for the virtual hosts listening for HTTP requests:

RewriteEngine On
RewriteCond %{SERVER_PORT} !443
RewriteRule ^(.*)$$1 [R,L]

This fixed the double-authentication problem and has the added benefit of moving all traffic to a more secure protocol.

Here is the whole HTTP virtual host block for the reverse proxy to SharePoint:

  <Proxy *>
    Order Deny,Allow
    Allow from all
  ProxyPass /
  ProxyPassReverse /

  RewriteEngine On
  RewriteCond %{SERVER_PORT} !443
  RewriteRule ^(.*)$$1 [R,L]

Posted in Geek | no comments

Rails Tip: Pointing observe_field to an invalid DOM ID breaks all subsequent observers

Posted by Tim Riley Fri, 10 Aug 2007 07:28:00 GMT

Be careful when use use Rails' observe_field helper. If you point observe_field to an invalid DOM ID, then all subsequent field observers on the page will fail to work.

This is easily avoided if you are using the helper manually. However, if you are programatically generating observers, they do not fail gracefully, so make sure that you only create them if the necessary IDs are present.

Posted in Geek | no comments

Life in Canberra

Posted by Tim Riley Thu, 02 Aug 2007 12:29:00 GMT

It's about time that I update you all on what has been going on lately. At the start of July, I moved to Canberra from Adelaide in order to be closer to my girl, and life since then continues to be as challenging and rewarding as ever.

Things with work have not changed -- I'm still fighting the good fight with the rest of the NetFox crew. In the last few weeks, we've delivered a number of handy improvements to the product (see our blog for info), and we have a long list of enhancements that we will be releasing regularly over the months to come. I feel like we really have begun to hit our straps in terms of getting product improvements written, integrated, tested and released in good time.

I have continued to play volleyball after moving here. I'm playing with the ANU Volleyball Club in the ACT State League. I'm setting for the team, as I was in Adelaide. After a couple of rusty games adapting to the different style of play and getting used to the super cold playing environment, I have found my feet again. The league plays on Wednesday nights here, and last night the team had its first win since I joined. I'm looking forward to playing with the team into the finals.

I've been getting out and about quite a lot in this new city, thanks to Misch's active and welcoming group of friends. In the last month I have enjoyed a couple of benders out on the town (who said Canberra was dead?), a volleyball club quiz night, and lots of gourmet pizza and movies. Tomorrow night I am looking forward to going to the annual law students society Ball at Parliament House!

Finally, since I have come here, I have been reenergised to work more on personal web projects. To start with, I am working on my blog, giving it a new design that incorporates all the microformats and possibly looking at implementing OpenID logins for SimpleLog.

Posted in Life | 1 comment