Art

vttoth — August 31st, 2010

After a brief commercial break, CTV News showed the following during today’s noontime news show:



No explanation was offered that I am aware of. But, it’s nice.

Categories: Art, Television | No Comments

Homer the scientist?

vttoth — May 28th, 2010

This Homer Simpson is one smart fellow. While he was trying to compete with Edison as an inventor, he accidentally managed to discover the mass of the Higgs boson, disprove Fermat’s theorem, discover that we live in a closed universe, and he was doing a bit of topology, too.

His Higgs mass estimate is a tad off, though. Whether or not the Higgs exists, the jury is still out, but its mass is definitely not around 775 GeV.

Categories: Mathematics, Physics, Television | No Comments

Composition

vttoth — May 25th, 2010

Sometimes, CNN uses a “picture-in-picture” format to show an important live feed while they are reporting on something else. It is important to make sure that the resulting composite picture does not convey the wrong impression. Otherwise, you might end up like this poor gentleman, who was talking on CNN about a new portable power source, but ended up appearing as if he was getting a chest X-ray on live television.

Categories: Television | No Comments

39

vttoth — May 14th, 2010

I was watching the noontime local CTV news today. At around 12:39 (!), in three consecutive reports, the number 39 popped up. First, a report about a youth who is charged with vandalizing 39 tombstones. This report mentioned the number 39 several times, which is probably why I noticed that in the next report, one about the recent terrorism-related arrests in the US, footage shown in the background included the front door of a house bearing the number 39. At this time, I began paying attention. The next report was about Ottawa tourism advertisements in American newspapers; it didn’t seem likely that the number 39 would pop up there until the official being interviewed answered a question about funding and mentioned their 39 member hotels. That’s when I told my wife that this is getting a tad creepy.

The other day, I was watching a Stargate Universe episode in which one of the protagonists was reliving a part of his life while his brain was connected to an alien computer, and a particular number kept popping up as a clue. That number was 46, the number of chromosomes in a human cell. So that’s what makes 46 special. But what about 39?

Or perhaps all this was just a clever form of subliminal advertising for a Web site called The 39 Clues, which happens to be the first hit on Google when one searches for “39″?

Categories: Mathematics, Television | No Comments

Scientific (il)literacy on the History Channel

vttoth — May 3rd, 2010

OK, I don’t usually play the geek game and look for nits to pick in television science programs. But…

Today’s gem comes courtesy of the Canadian History Channel and their Aftermath series, the first episode of which I just watched over the Internet. The show had many eyebrow-raising moments (and I don’t mean the implausible concept itself, about the Earth’s rotation slowing down to zero in a mere five years; I could get over that if the science had been right otherwise). This particular gem of a sentence, complete with fancy animation, especially caught my attention:

“The rotation of the Earth creates constant patterns of east-moving winds in the Northern hemisphere, and west-moving winds in the Southern. This is called the Coriolis effect.”

Oh really. I wonder if pilots flying in the Southern hemisphere know this.

Categories: Canada, Television, Weather and Climate | 1 Comment

Love, Hate and Propaganda

vttoth — April 11th, 2010

I’m watching a six-part CBC documentary miniseries titled Love, Hate and Propaganda, which looks, from a perspective of 70 years, at the role of propaganda during WW2. While the series is enjoyable (though shallow, like most historical documentaries are), I am coming to the conclusion that after 70 years, propaganda is still alive and well.

Take these sentences, for instance, explaining the beginning of The Blitz:

In the beginning, Germans attack military and industrial installations, but as time goes by, bombs get closer and closer to the big cities.

September 7th. They hit London. The Blitz begins.

So how does it compare to a more neutral, factual description of the same from Wikipedia? Let’s see:

In late August 1940 [...] the Luftwaffe attacked industrial targets in Birmingham  and Liverpool. This was part of an increase in night bombing brought about by the high casualty rates inflicted on German bombers in daylight.

During a raid on Thames Haven, on 24 August, some German aircraft [...] strayed over London and dropped bombs in the east and northeast parts of the city, Bethnal Green, Hackney, Islington, Tottenham and Finchley. This prompted the British to mount a retaliatory raid on Berlin the next night with bombs falling in Kreuzberg and Wedding, causing 10 deaths. Hitler was said to be furious, and on 5 September, at the urging of the Luftwaffe high command, he issued a directive “for disruptive attacks on the population and air defences of major British cities, including London, by day and night”. The Luftwaffe began day and night attacks on British cities, concentrating on London. This relieved the pressure on the RAF’s airfields.

In the CBC’s version of events, there is no doubt that the indiscriminate bombing of civilian targets was the invention of the evil Nazi state. Wikipedia’s facts are more nuanced: it appears that the first intentional bombing of civilian targets may have actually been conducted by the RAF! This remains true regardless of the evil nature of the Nazi empire or the fact that it was them, not Britain, who started the most devastating war in history.

So, it seems, Love, Hate and Propaganda is guilty of the very thing that it purports to expose: by skewing the facts, it becomes a work of propaganda.

Categories: History, Television | No Comments

Arctic sun

vttoth — March 5th, 2010

There are times when I like capitalism. Tropicana’s new commercial, bringing the “sun” to a Canadian community north of the Arctic Circle in the middle of January is one example:

Categories: Television | No Comments

Quote of the day

vttoth — February 14th, 2010

Something I heard a few days ago on The Big Bang Theory:

“Where in this swamp of unbalanced formulas squatteth the toad of truth?”

What can I say… I know the feeling rather well.

Categories: Physics, Television | No Comments

CJOH

vttoth — February 8th, 2010

The newsroom and possibly, significant portions of the archives of CTV Ottawa turned into smoke last night. Newsrooms can be rebuilt, equipment can be repurchased, no lives were lost, but the archives may be irreplaceable.

What’s up with all these big fires here in Ottawa this winter?

Categories: Local Ottawa, Television | No Comments

XML, ATI video cards, and sloppy customer service

vttoth — December 22nd, 2009

I have done many things in my misguided past as a programmer, but strangely, I never did much work with XML. Which is why a recent annoyance turned into an interesting learning opportunity.

I usually watch TV on my computer. (This is why I see more TV than many people I know… not because I am a TV junkie who really “watches” it, I am actually working, but I have, e.g., CNN running in the background, in a small window, and I do occasionally pay attention when I see something unusual. Or change to a channel with The Simpsons.) For years, I’ve been using various ATI All-In-Wonder cards. (No, I don’t recommend them anymore; whereas in the past, they used to attach a tuner to some of their really high-end cards, this is no longer the case, the base graphics hardware of their current crop of AIW cards is quite lame. Their current software sucks, too.) The old ATI multimedia program I am using, while far from perfect, is fairly robust and reliable, and among other things, it comes with a built-in program guide feature. A feature that downloads programming information from an online server.

Except that, as of last week, it was no longer able to do so; the server refused the request. Several customers complained, but to no avail; they were not even able to get through to the right people.

So what is a poor programmer to do? I have known about Schedules Direct, the fee-based but non-profit, low-cost replacement of what used to be a free service from Zap2It, providing the ability to download TV guide data for personal use. The information from Schedules Direct comes in the form of XML. The ATI multimedia program stores its data in a Paradox database. In theory, the rest is just a straightforward exercise of downloading the data and loading it into the Paradox tables, and presto: one should have updated programming information.

Indeed things would be this simple if there were no several hurdles along the way.

First, the Paradox database is password-protected. Now Paradox passwords are a joke, especially since well-known backdoor passwords exist. Yet it turns out that those backdoor passwords work only with the original Borland/Corel/whatever drivers… third party drivers, e.g., the Paradox drivers in Microsoft Access 2007, do not recognize the backdoor passwords. Fortunately, cracking the password is not hard; I used Thegrideon Software’s Paradox Password program for this purpose, and (after payment of the registration fee, of course) it did the trick.

Second, the Microsoft drivers are finicky, and may not allow write access to the Paradox tables. This was most annoying, since I didn’t know the cause. Eventually, I loaded the tables on another machine that never saw the original Borland Database Engine, but did have Access 2007 installed (hence my need for a “real” password, not a backdoor one), and with this machine, I was able to write into the files… not sure if it was due to the absence of the BDE, the fact that I was using Office 2007 as opposed to Office 2003, or some other reason.

So far so good… Access can now write into the Paradox tables, and Access can read XML, after all, Microsoft is all about XML these days, right? No so fast… That’s when I ran into my third problem, namely the fact that Access cannot read XML attributes, whereas a lot of the programming information (including such minor details like the channel number or start time) are provided in attribute form by Schedules Direct (or to be more precise, by the XMLTV utility that I use to access Schedules Direct.) The solution: use XSLT to transform the source XML into a form that Access can digest properly.

With this and a few lines of SQL, I reached the finish line, more-or-less: I was able to update the Paradox tables, and the result appears digestible to the ATI media center application… though not to the accompanying Gemstar program grid application, which still crashes, but that’s okay, I never really used it anyway.

And I managed to accomplish all this just in time to find out that suddenly, the ATI/Gemstar update server is working again… once again, I can get programming information from them. More-or-less… a number of channels have been missing from the lineup for a long time now, so I may prefer to use my solution from now on anyway. Perhaps when I have a little time, I’ll find out what causes the crash (I have some ideas) and the program grid application will work, too.

Needless to say, I know a lot more about XML and XSLT than I did 24 hours ago.

Categories: Programming, Television | No Comments