[Duncan's Home] Duncan's Jotter
faq -  feedback -  home 
Members
Logon   -   Sign Up
smeed >> duncan.smeed.org | Duncan's Jotter
duncan.smeed.org | Duncan's Jotter

Day Link Icon 1/28/2002

Speedpool2

(by Duncan, @ 3:10 PM)

via hbwt - Speedpool2:
"Speedpool2 is a revolutionary new and exciting approach to the classic pool game creating a potent symbiosis fusing the logic and grace of billiards with the raw bloodsport and confusion of full-contact hockey.

It is also an outstanding way to get thrown out of bars."

The rules for the game conclude with:

"The most important thing to remember about Speedpool2 is that it is a fluid game and nobody's going to sit back while you wiener around with your cue chalk. The game starts, you run around like a freak whooping and shouting, the game ends. Enjoy!"

I reckon some of my students play regular pool like this too ;-)

Comments: 0 | Reply | Categories: None

The Register: Intel's Yamhill - Itanic on ice?

(by Duncan, @ 3:19 PM)

The Register: Intel's Yamhill - Itanic on ice? -
A fine scoop by the San Jose Mercury apparently confirms the existence of Intel's 64bit Plan B, codenamed Yamhill.

According the Merc, Yamhill adds 64bit instructions to the existing x86 architecture, and may appear in the Prescott chips, "with an option to turn the features on or off." The emphasis is on 'may', as according to the former Yamhill engineer, no decision has been taken to proceed with Plan B.

Comments: 0 | Reply | Categories: None

Weekend lost

(by Duncan, @ 3:22 PM)

This past weekend was the first time for ages that I missed updating this site two days in a row. Primarily because I was busy with other things including work: exam marking and undergraduate admissions.

Normal service has now resumed ;-)

Comments: 0 | Reply | Categories: None

Q209354 - HOWTO RTFM

(by Duncan, @ 3:41 PM)

Warning: adult humour ahead. Here's a great spoof link - Q209354 - HOWTO RTFM:
The information in this article applies to:

* General Lamers

Prerequisites:

* The ability to Read
* Basic Brain Function

Update: as soon as I posted this message it dawned on me that it sounded familiar. A quick search of DJ confirmed my suspicion. I'd linked to this almost a year ago in http://duncan.smeed.org/894 ;-) How time flies.

Next time I'm going to SMFW - Search My Weblog - before posting!!

Comments: 0 | Reply | Categories: None

Apple Unveils Dual 1-GHz Power Mac G4

(by Duncan, @ 4:19 PM)

Apple Unveils Dual 1-GHz Power Mac G4
January 28, 2002 -- Apple (R) today announced the ultimate digital powerhouse for creative professional - the new Power Ma G4 featuring dual 1-GHz PowerPC G4 processors, the industry's first NVIDIA GeForce4 graphics card and a DVD/CD burning SuperDriv, priced at just $2,999(US).

Comments: 1 | Reply | Categories: None

Frontier, BBEdit, guest databases, and Radio

(by Duncan, @ 11:45 PM)

Frontier, BBEdit, guest databases, and Radio

Skip to the last few paragraphs to see why I am so chuffed this evening...

In the summer of '99 I extensively reworked the old Frontier bbsite suite and converted it into a guest database - akin to a tool in Radio parlance. Like the old bbsite suite, the new framework used the BBEdit app verbs - see system.verbs.apps.BBEdit.changeNotes for historical interest ;-) - to integrate BBEdit into a workflow not totally unlike that used in Radio today. Since '99 was a time when Frontier guest databases were all the rage I decided that reworking the BBSite suite for GDB deployment would be an excellent way to come up to speed on this new feature of Frontier.

To cut a long story short, the text files of my static websites reside in the filesystem as normal. Associated with each (sub-)site is a .root file that contains all of the site-specific details such as glossaries, images, preferences, etc. For example, my work website is contained in #dunc.root in the top-level directory that contains the files and sub-folders of all my work-related pages. The new guest database version of the bbsite suite - called, unimaginatively, bbsite.root - contains the site independent data, macros, etc.

Until BBEdit 6.5 (or was it 6.1?) came along, pages that I edited in BBEdit could be rendered through the Frontier/gdbbsite combo by invoking the relevant script - normally renderFrontWindow() - using a shared-menu, single keystoke invoked, command. The latest version of BBEdit broke that so I was able to replicate most of the functionality with AppleScripts (or was it UserTalk) in BBEdit's Script folder.

I found this to be a highly productive way to work - edit in BBEdit, render and preview. The render/preview cycle took just a few seconds. Once happy with the rendering the files were FTPed to their final destination. Imagine my disappointment when I found out that Frontier running in Classic mode under Mac OS X crashed and burned Mac IE 5.1 In my changeover to Mac OS X a couple of weeks ago, I had resigned myself to the fact that I might have to reboot into Mac OS 9.2.2 in order to use my beloved Frontier/BBEdit combo. I had even begun to think the unthinkable - abandon this way of working altogether!

So, now that I found myself with a few(!) hours to spare I thought that I might as well investigate the feasibility of using Radio instead of Frontier. I expected that I'd be in for a mammoth debugging session but, hey, nothing ventured nothing gained right?

[Prior to the following steps, BBEdit was open and a text files was open in the frontmost window]:

  1. Duplicated the Radio folder so I could back out of any disaster.
  2. Copied bbsite.root into the RU Tools folder
  3. Launched Radio - which opened up bbsite.root along with the other 'tools'
  4. Made bbsite.root visible and opened the gdbbbsite.renderFrontWindow() script
  5. Manually ran gdbbbsite.renderFrontWindow()
  6. Was totally gob-smacked when the file was rendered properly and previewed in Mac IE 5.1

Eureka! Was I delighted? "You bet your sweet bippy!" I was. It had worked first time. I must have made a better job of the conversion than I thought considering it was now running in a different location to the original file!!

Alas, none of the scripts that used to work in BBEdit 6.5 under Mac OS 9.2.2 worked in Mac OS X. I think they may have originally been UserTalk rather than AppleScript but UserTalk is not (currently) recognised as a valid option in the drop-down 'dialect' menu in the Script Editor window. So, next task was to write an Applescript to do the deed from the BBEdit script menu. Now, I know enough AppleScript to be dangerous but not enough to work out why things go wrong when they do. Or at least I thought I didn't.

My first attempt at the AppleScript was simply:

tell application "Radio UserLand™"
	Do Script "gdbbbsite.renderFrontWindow()"
end tell

This looked promising when it was run from the Script Editor and actually worked. However, when invoked from the BBEdit script menu, BBEdit went deaf and eventually timed out with some sort of appleevent timeout. So, it was not looking good. Then in the dim recesses of my memory I seemed to recall that the call should be wrapped in a thread.easycall. I tried the obvious incantation but of course this didn't work. So if all else fails read 'the source' or RTFM ;-) So a quick jump to thread.easycall in Radio revealed all and would you believe the script:

tell application "Radio UserLand™"
	Do Script "thread.easycall("gdbbbsite.renderFrontWindow\",{})"
end tell

actually works!

So, there you have it! BBEdit invoking an AppleScript which in turn invokes a Radio script to render the frontmost window though the new and improved bbsite suite framework. Tomorrow the world!

Comments: 2 | Reply | Categories: None



Day Link Icon 1/25/2002

Liberated Learning Project (LLP)

(by Duncan, @ 1:01 AM)

via SiT - Stanford U. Will Test a Computerized Transcription System
Students testing the Liberated Learning Project (LLP) at colleges and universities in Canada, Britain, and Australia find they no longer need note takers at lectures where LLP is used.

Although LLP adds some extra work for the lecturer, students, including those without disabilities, give the innovation positive reviews.

Using voice-activated software, the system immediately converts a teacher's words into print that is flashed onto a large screen.

BTW, there's a wee bit of discussion going on over at SiT about this.

Comments: 0 | Reply | Categories: None

Where to start?

(by Duncan, @ 10:44 AM)

Where to start? - the announcement of fantastic news for the Roepcke family:
"I'm proud and relieved to announce that Cheryl delivered, by swift and tidy C-Section, a 10 pound, 22 inch boy!..."

Warmest congratulations to Cheryl, Jim, and Cyan (the proud big sis!)

Comments: 0 | Reply | Categories: None

Radio UserLand : New Feature: Home Page category checkbox

(by Duncan, @ 11:40 PM)

Oh yes!! Radio UserLand : New Feature: Home Page category checkbox:
Today, we added a new feature for people using categories in Radio UserLand: A category checkbox for the Home Page. Using this feature, you can make posts which appear in categories you check, but don't appear on your weblog home page. This feature is especially useful for people who want to use Radio to manage multiple weblogs, or who want to route posts to an RSS feed upstreamed to a password-protected location.

Excellent! Just what I needed for my Radio-controlled Weblog router. And just in time for the start of the next teaching semester. I'll be replacing my old - labour intensive - way of creating my news pages with this great new feature.

The next thing I will do after posting this is to pay for Radio - it's that good an upgrade!!

Comments: 0 | Reply | Categories: None



Day Link Icon 1/24/2002

The Rules of Open-Source Programming

(by Duncan, @ 11:32 PM)

Comments: 0 | Reply | Categories: None

Jim Roepcke's News

(by Duncan, @ 11:44 PM)

IJim' Roepcke's news has been in my thoughts a lot today. He must be experiencing extremes of emotion right now. Very best wishes Jim.

Comments: 0 | Reply | Categories: None

Copyright © 1999-2005, Duncan Smeed. All rights reserved.
 
January, 2002
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31  
Dec  Feb
Tell ICANN to keep their hands off .org!


Run the HTML validator for this page
Webmaster: web at smeed.org