iTunes supports AC3 and DTS?

I was just reading this Macworld article on how AirTunes works (the new audio streaming technology built into Airport Express), when I noticed this paragraph…

If iTunes is playing back a digital multichannel file format like AC3 (Dolby Digital) or DTS, those bitstreams are wrapped in Apple’s compression and encryption, and then decoded at the other end. In those cases, AirPort Express would end up streaming the raw AC3 or DTS stream via an optical cable to your home theater receiver for decoding.

blink

iTunes can play and output AC3 and DTS? How does that work — and from what source? Are there standalone AC3/DTS audio tracks out there somewhere? I’ve generally only seen them used on DVDs, though I know that there are some audio CDs made that use DTS, and probably some that use AC3. If I had such a CD, how would I put an AC3/DTS audio track into iTunes?

I don’t have a use for this information right now, I’m just really curious. It’s news to me.

iTunes: “Sweet Surrender (Roni Size v2)” by McLachlan, Sarah from the album Plastic Compilation Vol. II (1998, 4:00).

Airport Express feat. AirTunes

This looks very cool: Airport Express featuring AirTunes, a small wireless basestation that will connect to a stereo to allow music streaming, for only \$129.

Unfortunately, I’m 5 minutes away from the start of my shift, so I can’t explore in detail yet. Grrrrr!

(Okay, I’ve skimmed through a bit more. I want. Of course, I’d need an airport card for my G5 too…but I want. Geeklust yay!)

Bad code! No biscuit!

Codepoet, while discussing ways to quickly edit and preview HTML and CSS code, pointed out a program called HyperEdit, which contains a “live preview” pane to show the rendered code as you type it out. It sounded interesting, so I went to check it out…and cringed.

One of the first things on the page is this screenshot:

HyperEdit screenshot

First — the <center> tag, which is deprecated in current HTML.

Next — the <font> tag — also deprecated.

Next — the use of <i>Fast.</i> rather than the more semantically correct <em>Fast.</em>.

Last — the two closing tags that are both missing their final > character.

Sorry, guys, but if I’m seeing four cringeworthy examples of bad HTML code within the first couple seconds of visiting your page, you could have a program that makes BBEdit look like Microsoft FrontPage and I wouldn’t be able to take it seriously.

But maybe that’s just me.

iTunes: “Tourniquet (Prosthetic Dance)” by Marilyn Manson from the album Remix and Repent (1997, 4:10).

Semacode

Semacode for this website

Here’s a fun little tech toy that I discovered thanks to Jonas: Semacode, a two-dimensional barcode that encodes a URL in the matrix. With the newer breed of camera phones and the right software installed, the phone can read the barcode and automatically open the URL in the camera’s embedded web browser.

For a long time computer scientists have been looking for a cheap, inexpensive way to create a gate between the real world and virtual world of the internet. Semacodes provides such a solution. By means of special symbols, printable by anyone on any printer, and special software, available for camera phones, connections can be built on a wide scale in a totally decentralized fashion.

A semacode is a small symbol that encodes a standard, web-oriented URL. The URL is embedded into a two-dimensional barcode along with error correction information. When the semacode reader software snaps the barcode, it launches the embedded URL on whatever web browser is available.

Software to read the Semacode barcodes is already available on the Semacode website for Nokia 3650/7650, 3600/3620/3660, 6600 or 6620 camera phones.

There are all sorts of potential uses for this. Some of the following examples come from the Semacode website, some from Jonas, and some from me:

  • Bus stop transit information: Grab the Semacode posted on a bus stop sign and go right to the page listing the bus schedule, or if a system such as NextBus is being used, get up-to-the-minute information on when the next bus will be by.
  • Tourist orientation: Post Semacode stickers at landmarks or intersections pointing to MapQuest maps or Yahoo Get Local pages to help people instantly find out just where they are and what hotels, restaurants, or attractions might be close by.
  • Ticket sales: Include a Semacode on an event poster, newspaper, or magazine advertisement that links to the online ticket sales website.
  • Social networking I: Put the Semacode for your personal website on the back of your business cards.
  • Social networking II: Create a webpage detailing just what you’re looking for in a potential mate and then make a shirt with the Semacode pointing to that page prominently displayed to wear to the bar.
  • Advertising I: I’m thinking seriously about updating the designs on the shirts I’m selling through CafePress to include the Semacode for this site (or for a yet-to-be-constructed page specifically for the shirts) on the back of each shirt, logo-style.
  • Advertising II: Include the Semacode for a club or business on the flyers or advertisements.

I’m sure there are a lot more possibilities here.

Of course, the really ironic thing about all of this is that not only do I not have a cell phone, but I have no intention of getting one, as the fool things annoy me to no end (though, really, it’s not the phones themselves that annoy me as how incredibly rude cell phone users can be), so aside from slapping my Semacode around, I can’t really take advantage of the technology. That doesn’t make it any less interesting to me, though.

iTunes: “Dragula (Si Non Oscillas, Noli Tintinnare)” by Zombie, Rob from the album American Made Music (1999, 4:37).

This is just goofy

Okay, so when I had to reinstall my system the other day, I ended up with an older version of iPhoto (2.0). Since I picked up the iLife package a while back with iPhoto 4, which changed the library format, iPhoto 2 couldn’t get into my photo library. Not a big deal, all I need to do is reinstall the iLife package.

Which was where things got odd.

The iLife package comes with two install discs: a DVD that includes iTunes, iPhoto, iDVD, iMovie, and GarageBand, and a CD that has everything except GarageBand (for those poor shmoes stuck in the dark ages of computing). Me being just as organized as ever (in other words, not at all), I wasn’t sure where the install DVD was. No biggie, GarageBand shouldn’t have been touched by the system update (since it isn’t part of a standard system install), so I figured I’d just install the minimal iLife package from the CD installer.

Popped in the CD, launched the installer, and then got this:

iLife won't install from CD

What?

I’d be pissed if it weren’t so damn funny. That’s just goofy, though — because I have a DVD drive, I have to install from the DVD? The install CD is entirely useless to me? Honestly, that’s one of the most bizarre things I’ve seen from Apple to date.

I found the DVD, though, so I should be good to go from here.

iTunes: “Gangster Tripping” by Fatboy Slim from the album Go (1999, 5:19).

It’s still not my fault…

Okay, first things first.

This is a personal website. I speak for myself, and myself alone: not for my employer, my friends, my neighbor, my government, my country, or anyone else. Just lil’ ol’ me. And, me being me, I will occasionally be a bit — or even more than a bit — of a boneheaded, ranting ass. I might even enjoy it. That’s just the way it happens every so often.

Now, I don’t mind at all if someone calls me on it — matter of fact, it’s a good thing that there are people who will call me on it when it happens. I’d hate to see where I could end up with an entirely unchecked ego! ;)

That said, IE still sucks, and it’s still not my fault. ;) However, progress has been made on that front, thanks to the absolutely mindblowingly incredible technical wizardry of Dean EdwardsIE7 hack, which uses CSS and JavaScript wizardry to beat IE into behaving like a modern, standards-compliant web browser. The hack has been installed on the main page of my site (with the rest of the pages soon to follow), and the difference it makes is a beautiful, beautiful thing. Many thanks to bethlet for reminding me of that piece of code.

Last night’s post was written in a fit of frustration (and really, one that I go through just about every time I work on a redesign when I get to the point of battling with IE). While my “screw it” attitude was a bit extreme (and probably wouldn’t really have lasted more than a couple days — I just shot my mouth off this time instead of stewing quietly until a solution was found), I fully stand behind the sentiments behind it. Other people have said it before me, and will say it again later on (though possibly with more tact). Outside of corporate-decreed lock in, there’s really no real reason to be using IE as your primary browser anymore, and there are plenty of benefits to switching to a modern browser.

However, as in the real world IE is (unfortuately) not likely to go away anytime soon, all ranting aside, I will continue to at least make an attempt at supporting it. I won’t code for IE, but I’ll at least do my best not to code against it, either.

That’s my story, and I’m sticking to it. ;)

It’s not my fault IE sucks. Get a real browser.

I expected this, of course, but it’s still a bit disheartening. I spend a lot of time working up a change to my site design, get the basics up and running, just have a bit of tweaking to do…and then I take a few moments on a break from work and take a look at it under Internet Explorer 6 for Windows.

And cringe.

And you know what? I don’t care. I’m not even going to bother fixing the various oddities that crop up under IE. It’s not worth the time, trouble, and headaches that it would entail.

No Internet Explorer

It comes down to this, quite simply: Internet Explorer sucks. It’s buggy, shares responsibility for many of the security issues in Windows, offers far to many ways for people to compromise your system, and doesn’t support modern web standards. Sure, I know that IE makes up somewhere over 90% of the web browser market, and I know that because of that, it’s quite likely that somewhere over 90% of the people who stumble across my site won’t be seeing it the way that they should.

I don’t care.

Thanks in part to the fact that I do pay attention to modern web design techniques and standards, people using IE are quite able to read my site. All the information is there, it’s just not presented how it should be. But that’s not my fault — it’s IE’s fault — and that’s not worth me worrying about.

Use a Better Browser

As proposed by Tim Bray, Eclecticism now joins the “Use a Better Browser” campaign.

If you were looking at this in any browser but Microsoft Internet Explorer, it would look and run better and faster.

Microsoft’s Internet Explorer may currently have the largest market share, but it has been stagnating for a while. There will be no new Internet Explorer version until Microsoft’s next operating system. It won’t be available for several years and you’ll need to pay for Windows to get it.

Meanwhile, other web browsers have been innovating and are becoming more and more popular. Today, these browsers run faster and look better than Internet Explorer.

By using a better browser your experience will be better. Plus, you will help to foster a competitive environment in which browser technology can continue to innovate and make everyone’s web experience more pleasant and exciting.

So that’s that.

Get Firefox. Get Opera. Get Konqueror. Get a Mac and use Safari.

Just get away from IE.

iTunes: “Glory (Cajun Dub)” by K.M.F.D.M. from the album Glory (1993, 5:31).

TypePad IDs are TypeKey IDs!

Has this information been made public yet?

Mark Pilgrim‘s b-links pointed to this post that uses Six Apart‘s new TypeKey comment registration system. Even before reading the post itself, I noticed the “sign in” link for TypeKey, and since I’m curious about how it is going to function, I figured I’d see if I could set up an account.

I hit the sign in link, and then went to the registration page. When I put in my usual login name, though, I was told that that ID was already in use. Since I hadn’t signed up for TypeKey previously, this came as something as a surprise to me.

Suddenly curious, I went back to the sign in page and tried logging in using my TypePad login — and what do you know, it worked! Nifty — apparently, anyone who uses TypePad to run their weblog auto-magically has a TypeKey login.

(Moments later…) Aha — apparently I wasn’t the first person to discover this: Michel Vuijlsteke pointed this out in the comment thread. Damn, and here I thought I was getting a scoop….

(A few more moments later…) Argh — David Ely beat me to it too. ;)

One downside I’m seeing right away: when I leave a TypeKey-authenticated comment, my name shows as “djwudi” rather than as “Michael Hanscom”, and I can’t seem to find a way to change that. Hmmmm….

So now the question becomes, when do TypePad users get to start playing with TypeKey on our weblogs?

Solutions for MP3Concept

Another thing I like about the Mac community — there are a lot of very intelligent and creative people in it. Scant days after the proof-of-concept MP3Concept ‘trojan’ caused such a brouhaha in the Mac community, various approaches to dealing with the potential vulnerability are appearing. MacFixIt highlighted two very interesting techniques today.

First, Rick Bargerhuff has created a small AppleScript Folder Action that will scan for potential exploits using the MP3Concept technique:

The Folder Action will check any files or folders to see if a file’s name- extension corresponds to the file’s Type and kind. If it does not meet this criteria, the script asks the user if they want to quarantine the file. If the file does not have an extension and the file’s type and kind indicates it is an application, the script acts as if the file did not meet the criteria. If the user chooses to quarantine a file, the script creates a folder named ‘Quarantined’ which is created inside the directory the Folder Action is attached to. More info is available in the read me.

Secondly, Jack Pate suggested the simple approach of restricting application launch privileges to the system’s Applications folder, so that any application (and hence, any trojan) outside of the Applications folder simply won’t be able to launch and potentially wreak havoc with the system.

To nip this while thing in the bud, simply change the “limitations” of all your users to only applications in the Applications folder (and OS9 Apps, if applicable. . . ). It’s is an easy ‘check-box’ setting, and should TOTALLY eliminate the threat, because it would prevent any executable code from being run outside these apps, while still allowing .sit files to open normally and EVEN ‘real’ MP3 files, because it would be launching a qualified app in the approved folder to play it.

Good solutions, both of them, especially when used in tandem.

iTunes: “Keep Yourself Alive” by Queen from the album Queen (1973, 3:46).

First OS X exploit: Concept

One of the (many) nice things about being a Mac user is our general invulnerability to the multitudes of viruses, trojan horses, and other exploits that threaten the ‘net on a regular basis. So it’s no wonder that the Mac world is all a-tizzy over anti-virus company Intego releasing news of what appears to be the first Mac OS X trojan horse, wrapped inside an apparent .mp3 file.

This Trojan horse, MP3Concept (MP3Virus.Gen), exploits a weakness in Mac OS X where applications can appear to be other types of files.

The Trojan horse’s code is encapsulated in the ID3 tag of an MP3 (digital music) file. This code is in reality a hidden application that can run on any Macintosh computer running Mac OS X.

Mac OS X displays the icon of the MP3 file, with an .mp3 extension, rather than showing the file as an application, leading users to believe that they can double-click the file to listen to it. But double clicking the file launches the hidden code, which can damage or delete files on computers running Mac OS X, then iTunes to play the music contained in the file, to make users think that it is really an MP3 file . While the first versions of this Trojan horse that Intego has isolated are benign, this technique opens the door to more serious risks.

As it turns out, there are some mitigating factors to this announcement that Intego either didn’t know about, or deliberately chose to ignore in their press release that haven’t been as widely reported, and really should be.

First off — and most importantly — yes, this should be taken seriously, as it does appear to be a very possible source of attack against OS X.

However.

This does not appear to be evidence of someone actually attempting to release a malicious attack into the wild.

Dori Smith was kind enough to point out this usenet thread from comp.sys.mac.programmer.misc where the possibility of this exploit was first broached. During the discussion as to whether or not this was a real possibility, one of the people involved took it upon themselves to create a benign proof-of-concept.

This proof-of-concept seems to be what Intego found, and then proceeded to craft an accurate, but very alarmist press release around. While the concept definitely seems to be sound, and is something that OS X users should keep in mind when accepting files from untrusted sources, there does not appear to actually be a malicious attack of any sort currently propagating across the ‘net aimed at OS X users, now matter how much FUD Intego puts into their Security Alert.

As always, while it’s still very true that OS X is a far more safe and secure system than Windows, no system is entirely safe, and the user has to accept some amount of responsibility for their actions.

iTunes: “Gutter Glitter” by Switchblade Symphony from the album Gothik (1995, 3:50).