Wheel Of Fortune - dubious selection of letters?

, posted: 18-Jul-2008 21:31

Going on from ahmad's posts about Wheel of Fortune conspiracies...

So I was at my gran's tonight and she was watching a VCR recording of Wheel of Fortune from tonight (18th July), it's not something on my regular viewing schedule.

Anyway, in the last game, the contestant spun up the car on the mystery wheel or whatever it is they call it, in order to actually get the car the lady apparently has to solve a wheel of fortune puzzle, but the host, Jason Gunn gives her some help by guessing some initial letters.

Here's the thing, on one of the letters that did come up (ie that Jason guessed correctly), I'm pretty certain that the letter actually was displayed just a fraction before Jason actually announced the letter.

Was I seeing things, I didn't think to reply the tape to have a look while I was there.

I don't think it would have been an editing problem as the other letters seemed to display appropriately later than Jason announced them.

I suspect that the letters are not chosen by Jason at all, or at least, not "live".  A worse consideration is that this somebody knows the answer and is selecting letters to "give" which will make solving the puzzle just that much harder.

As it turns out the lady won the car, to cries from the hosts of "how did you do that!". 

Perhaps they were thinking "who hired that useless letter picker anyway!"



Notepad defuses the BOM.

, posted: 17-Jul-2008 19:37

Yesterday, I converted a rather large collection of asp files which had no actual asp content aside from some includes of other plain html asp files, into a rather large collection of html files with includes of other html files.

Pretty simple operation, one that happens all the time in my world for reasons which are unimportant.

However this afternoon I spend nearly 2 hours trying to work out what the hell went wrong with the new files' layout in Firefox and IE (Opera, no trouble), there seemed to be random margins or spacing in places that there shouldn't be, even though the files aside from the changing of link urls and the file extentions were essentially identical.

I spent ages twiddling in Firebug looking for the damn margin that shouldn't have been, using LiveHeaders to see if any CSS file was getting 404'd, correcting various syntax problems in the source html, putting back mistakes in the source html syntax I had already fixed just to see if there was some combination of errors producing a good result.

Nothing I did helped.  Until I had the bright idea to "View Source" of a badly layed out page in Notepad, and bingo I saw the problem right away, UTF-8 Byte-Order-Marks (well, "This is UTF-8" markers really) were present in the included files.

The Byte-Order-Mark for UTF-8 is actually the "Zero Width Non Breaking Space" character, so in my utf-8 editor (jEdit, on my Ubuntu workstation) I didn't see these at all they were zero width spaces, completely invisible, notepad however didn't know how to display this and just substituted the empty-box character.

Similarly in Firefox and IE they were invisible, but even though they are zero width that non-breaking bit forced the following div's to drop down a line.  Opera either ignored the character, or treated it as a breaking (and thus unimportant) space.

So anyway, a teency bit of PHP to remove the byte order mark (I have glossed over why PHP is involved here, it's complicated and unimportant):

   function strip_bom($string)
   {
     if(@$string[0] == chr(0xEF) && @$string[1] == chr(0xBB) && @$string[2] == chr(0xBF))
     {
       return substr($string, 3);
     }
    
     return $string;
   }

and all was well.

I suspect that the BOMs originated from a designer's use of Dreamweaver to edit some of the files before they were passed onto me to convert, I can't complain too much though at least they are using UTF-8 now.



iPhone in the wild

, posted: 11-Jul-2008 01:08

The first reports of iPhones having been purchased in New Zealand are appearing...

http://www.fifteen.co.nz/blog/

http://live.ifixit.com/



Council Short Sightedness

, posted: 10-Jul-2008 00:34

Henry Wigram was a real forward thinker.  He's the chap that not too long after Pearse (and the Wrights) were doing thier thing who figured out that New Zealand needed aviation, even if the government of the day didn't think so.

He took it upon himself to setup a flying school here in Christchurch on land at Sockburn, land that bears his name to this day.  That flying school became RNZAF Base Wigram when the government finally worked out that, yes, these flying contraptions might win a war.

Time passed on, so did Henry.  In 1995 the National government and the RNZAF in thier infinite wisdom decided that RNZAF Wigram was surplus to requirements, that having an Airforce base down here just wasn't making economic or operational sense.  So they upped stakes and moved out.

For those of you not familiar with Wigram, it's right on the doorstep of Christchurch.  Much closer to the city center than Harewood (Christchurch International).  With it's nice long airforce sealed runway, it seemed like this would have been a perfect GA and domestic airport.

And then Ngai Tahu came along.  You see, this is right about the time that Ngai Tahu were being shown around various properties that they could purchase as part of the then recent treaty settlement.  And they saw Wigram, and they saw how close it was to the city, and they saw houses, or rather, a whole lot of land that would be perfect for houses.

But the people of Christchurch were less than pleased with the idea of losing Wigram as an operational airfield, surveys and petitions abound, and out of that it was found that something like 65% of the population of Christchurch wanted Wigram flying.  So the Christchurch City Council came to an agreement with Ngai Tahu "you can buy this land, but we will lease sufficient land back from you as an airfield, 10 years with right of renewal", the council espoused this move as a wonderful idea, Ngai Tahu is happy, the people of christchurch are happy, the council is happy.

Over the next 10 years, Ngai Tahu slices and dices around the airfield, houses, industry, offices here and there, not to mention livestock.  The airfield kept operating, businesses like the Christchurch Flying School, Pioneer and latterly Southern DC3 setup shop at Wigram as a better, easier, cheaper location than Harewood -- not to mention many private operators.

That brings us to today, the 9th of July 2008 (ok it's the 10th now, but wasn't when I started this), Ngai Tahu annouced that Wigram is to be destroyed in 7 months.  That's it, finito, kaput, no more aviating, they want to build houses on all the land.  And the council?  Not a peep.

Harewood (Chch International) is getting busier, more and more movements every day, it's becoming less of a suitable place for private flying, flight training and small businesses as time goes on, you can't deny that, that's why Wigram WAS being used.  Where are they to go now, Rangiora and Ashburton are the only options, both of which are far from ideal due distance from the city alone.

At some point, a second domestic transport/general aviation airport has got to become necessary but building new airports in this day and age of resource consents is near impossible, and why wouldn't it be, who (aside we aviation nuts) would want to live next to an airport, you say "I'm going to build an airport here" and everybody within 20k's will put up thier hand and say no you're not. 

In Wigram we have a working airport, one that's there, is entrenched and has been for a VERY long time in fact it's a really important part of New Zealand history, nobody living around Wigram has any right to complain about noise or any such nonsense, the airfield was there before ANY of them without any question.  If it wasn't for Wigram, and the many excellent airforce pilots trained there, they might not BE living there.

In short, the Christchurch City Council and indeed Ngai Tahu are sufferng a serious case of short sightedness.  In 10 or 15 years, somebody is going to be really kicking themselves that they let Wigram go without a fight when they try building a new airport to take the heat off Harewood.

Permalink to Council Short Sightedness | Add a comment (2 comments) | Main Index


sleemanj's profile

James Sleeman
Christchurch
New Zealand


PHP Programmer Extraordinaire

All views expressed are held by the poster, not necessarily any person or organisation associated therewith.