Archive for November, 2006

Vista blah

Memory management: Despite running on 256MB (actually 274MB is what it’s set to, to be precise), memory management in Vista seems to be working well. The paging policy is persistently keeping physical RAM usage at around 200MB, +/- 20MB. This isn’t too different from XP.

Disk management: There appears to be some rudimentary non-destructive repartitioning functions like “extend” and “shrink,” much like gpart. The disk is also versioned. Creating and destroying symbolic links, however, is still not exposed in the shell.

Network management: A crapload of changes in network management — too much to figure out what’s going on there right now. Most notable is probably exposing IPv6 support.

Privilege escalation: Windows itself now makes the request for administrative privilege if it is needed, instead of saying the current user privileges are insufficient. So far this is saving a lot of time.

Foreign languages: Display of East Asian languages are enabled by the default installation (I guess that just means the fonts and codepages are installed by default). The input methods I use are still the same, although there are a lot more input methods now, including a half dozen minority languages of China. That’s amazing. But, I can’t believe that the language bar is still having issues, not knowing whether to hide itself on the taskbar or how it’s supposed to be aligned.

Other stuff: There is this “Windows Cardspace” thing which seems to be a online accounts manager. There is also a “People Near Me” function that uses the Messenger social network. Some lame games and a “game manager.” BitLocker and ReadyBoost are nice, but kind of over-engineered. I doubt these will be used extensively.

In general, I think there are many good and needed changes here, but very little that I find compelling. From 2000 to XP, remote desktop, multiple user logon, system restore, and wireless support were compelling. From XP to Vista, the only thing I see is Media Center. But that isn’t in most versions of Vista. Add packet writing of optical discs, also, that might come in handy. Some of the other changes might have been compelling years ago (like Sidebars), but at this point are too little too late. If new applications turn up either from Microsoft or others to make a compelling case for the new graphics subsystem or anything else that has been included (pen input? speech recognition? text-to-speech? imaging/color codecs?), things may be different.

In other trials:

  • RDP 6 works fine. Sound quality seems better. Not much else exciting going on here. I thought there might be application publishing support, but that requires the server OS.
  • Office 12 is fine. XML file format and some UI changes. The thing seems to be the same to me. Outlook doesn’t use the new UI but has improved IMAP support including remote sent-mail folder and auto-purge support, but I had those working with scripts anyway.

Windows Vista

Back during RC1, I requested a key but never got around to installing it. Then RC2 came out. Now of course Vista has RTM’d and the official MIT release is supposed to be coming at the end of this month, but I finally decided to see what’s what and gave RC2 a go. I was not about to blow away any production machine, but there was already a Linux host machine running some OS’s via VMWare, so that’s where the install went.

I had only two small problems. One, I had to repartition the only drive because I believed Vista docs, which said it required a min of 15GB. (The nice tool “gparted” did the trick of non-destructive repartitioning — when it didn’t crap out!) Turns out 15GB is total BS. A clean install of Vista Ultimate took 4-5GB on the disk. (I don’t remember having any choice over which version to install, strange!)

The second problem: The installer also refused to begin on a machine with less than 512MB of RAM since it’s the “minimum requirement.” I was poking around for a workaround online and saw people asking the same question. No answer was ever given (no command switch that I am aware of), only a swarm of trolls boasting about their new machines and how Vista could not possibly be useful on anything less than 1GB. Well, utter BS. It’s running right now on 256MB of RAM … Inside VMWare … On a physical machine that actually only has 512MB of RAM … Rendered over a remote desktop connection with all graphics turned on …. And tunneled over an uncompressed PPTP link. The machine is otherwise a P4 1.7GHz. It does just fine. I’m writing this in Vista right this moment and I wouldn’t be doing it if I felt the slightest bit of inconvenience. On a clean boot, the system eats around 160MB of RAM. That’s a lot more than the typical 60MB/80MB of 2000/XP, but it isn’t bad. The way I got it to install was this: I had to set 512MB of RAM for the virtual machine just to let the setup start (and the machine thrashed a bit — due to VMWare paging, not even due to the setup program), but as soon as setup rebooted for the first time, I switched the VM back to 256MB.

It is working well enough that I’m thinking of putting this on a real machine. The usability improvements are good and the sort that exercise the hardware improvements over the years — the Start menu search among them. The metaphors and idioms are still very much what was seen in XP though, so there is much continuity here. Maybe that’s why people say it’s XP Service Pack 11. But I think that’s a good thing in this case.

Next up, installing RDP 6 client for XP and Office 12 beta.

quad-core processor

Already here in a Dell? That didn’t take long, did it. True, it doesn’t take much to replicate 2 cores to 4, but huh, Intel is really not letting up on AMD. Intel is promising an 80-core teraflop processor within 5 years, with cache stack-intereconnected, or perhaps with optical interconnects. Hardware is moving fast these days. Too bad compilers aren’t doing too well in extracting thread level parallelism yet. They had better catch up soon or they’d be the next bottleneck.

Chip multiprocessors have definitely caught on, realizing the predictions of the Hydra project from some years back. Come to think of it, I was pretty close to going into computer architecture… for old time’s sake, here’s a nice review from Olukotun.

serialism and information

This paragraph caught my eye:

Some music theorists have criticized serialism on the basis that the compositional strategies employed are often incompatible with the way information is extracted by the human mind from a piece of music. Nicolas Ruwet (1959) was one of the first to criticise serialism through a comparison with linguistic structures. Henri Pousseur (1959) questioned the equivalence made by Ruwet between phoneme and the single note, and suggested that analyses of serial compositions that Ruwet names as exceptions to his criticisms might “register the realities of perception more accurately.” Later writers have continued Ruwet’s line of reasoning. Fred Lerdahl, for example, outlines this subject further in his essay “Cognitive Constraints on Compositional Systems” (Lerdahl 1988). Lehrdahl has in turn been criticized for excluding “the possibility of other, non-hierarchical methods of achieving musical coherence,” and for concentrating on the audibility of tone rows (Grant 2001, 219), and the portion of his essay focussing on Boulez’s “multiplication” technique (exemplified in three movements of Le Marteau sans maître) has been challenged on perceptual grounds by Stephen Heinemann (1998).

Although the above paragraph refers to “the way information is extracted by the human mind,” I think the problem is not that the serialist information is encoded in a way that is difficult for the human mind to extract (it may well be), so much as there is possibly insufficient information encoded to begin with, by any reasonable measure. Certainly, the compositional strategies of serialism call for much randomization and uniform dithering, such that most of what appears to be informative content is in fact common randomness coupled with very very little actual musical idea. I mean that’s how this music gets written right? A tiny bit of innovation, then mechanically amplified by pseudorandomness.

I don’t know enough about this, so just pure speculation here. Note to self, read: Cognitive Constraints on Compositional Systems

Contemporary Music Review
Publisher: Routledge, part of the Taylor & Francis Group
Issue: Volume 6, Number 2 / 1992
Pages: 97 – 121
URL: Linking Options
DOI: 10.1080/07494469200640161

Cognitive constraints on compositional systems

Fred Lerdahl
Columbia University, New York City

traffic

This is old, but the humor is timeless.

Just look at these traffic patterns. Madness, or stroke of genius?
(Read the article)

automatic parking

This is interesting, this self-parking car thing. Well, it’s not completely automatic, but it is supposed to take care of the most difficult part. Now I know my driving test required a demonstration of parallel parking ability – not sure about other states, so it is natural to ask, if somebody had this car, should they turn this off for the test?

Are there existing conventions dealing with technological aid in various kinds of skills testing? I can think of some, and they generally seem to fall on the side of accepting technology, with restrictions that can sometimes be arbitrary. For example, on the SAT you could use a graphing calculator, but not one with a “QWERTY” keyboard, so a TI-89 was okay but the TI-92 was not, even though they ran the exact same firmware. Not sure if they changed this. Guess not. The College Board still appears to be living in the stone age with regard to some of these banned calculators:

  • calculators with QWERTY (typewriter-like) keypads arbitrary
  • calculators that contain electronic dictionaries they all do now or can
  • calculators with paper tape or printers cash register? lol
  • calculators that “talk” or make noise right
  • calculators that require an electrical outlet haha
  • etc…

That aside, the car that drives itself has got to be the most popular civilian application touted by sensor networks people. So far, most automated components of the car are not fully automated. There is always some human element in some key part of the chain, unlike in airplanes. There is some human resistance toward giving up control on this matter. The trend toward more automation may be unstoppable, though, if automation creeps in a bit at a time like this.

Comrade Food

This jar of preserved bamboo shoots from the Chinese supermarket here… Comrade Food brand. Hahaha, you chuckle knowingly. Cue the Internationale. Right?

Wrong. Because Comrade Food is made in Taiwan.

“What…?” You say.

Look, on the jar it says it’s made in Taizhong City. (It’s hard to see in this blurry photo, but there it is.) Now, Taizhong is hardly known to be a hotbed of camaraderie. But then again, “comrade” means something else on the renegade island, namely, “gay”. Well, whatever. In the company of “Darkie/Darlie” brand toothpaste, also sold in Taiwan (look it up), I must say branding with Comrade Food is nothing unusual.

world’s largest flower?

http://www.smh.com.au/ffximage/2006/11/02/titan_arum_wideweb__470x311,2.jpg

The titan arum “flower.” Among its properties:

  • It’s big – up to 3 meters. The plant itself can be even larger.
  • It rarely flowers. Its root takes years to store up enough energy, apparently.
  • It attracts flies, so it smells like rotten meat. (It’s not carnivorous.)
  • Its real name is Amorphophallus titanum (I’m not making this up.)

So this thing has been on display at the Australian Royal Botanic Gardens, and one just flowered today, I guess. The one in the middle is what I am referring to. The one on the left is about to flower. The one in the back with leaves is in “growth” mode. I put “flower” in quotes because it’s not really one flower. The stalk and wrap are just appendages. The actual multiple flowers are all on the stalk, and there are two kinds, male and female, which mature at different times to prevent self-pollination.

An Australian paper had this to say:

A native of central Sumatra’s rainforests, the rarely seen flower is said to be the world’s largest flower, standing more than a metre tall.

On the few occasions one does bloom, it produces the stench of rotting flesh, giving rise to its other common name, the carcass flower.

The plant’s powerful pong is matched by its equally unappealing scientific name. Amorphophallus titanum, explained Steve Bartlett, a senior horticulturist at the gardens, “means huge deformed —

— Okay, Steve, let’s cut you off there,

The last time a titan arum flowered in the gardens, in October 2004, 16,000 people queued for a look. It was only the second time one had opened in Australia, and one of the few times in the world, outside Indonesia.

That plant was grown from seed collected in Sumatra in the early 1990s. Sydney horticulturalists later took cuttings, successfully producing two new plants

“It was originally thought they couldn’t be grown from cuttings,” said Mr Bartlett, also responsible for plant propagation at the gardens. To his delight, both new plants produced buds.

It turns out one reason people grow these (besides the novelty) is because they are endangered. And they are endangered because, well let’s see, they waste their time growing a huge root so they can occasionally grow a huge stalk; they try to get insects to pollinate them by deceit instead of mutual benefit; a decade may pass without flowering, and then, when they do flower, they don’t self-pollinate, so they may not ever produce seeds for a new plant unless there are several of them nearby. Clearly, these things are badly evolved. Just like panda bears. Terrible.

p2ptv

p2ptv, fancy acronym for non-point-to-point broadcast of video, I guess? There is not much information around, except that this is supposed to be “based on bittorrent.” I remain confused.

There has been talk of internet tv for at least a few years now, and while the likes of Youtube have caught on in the last couple of years, I distinctly remember reading about p2ptv quite recently – no more than a year ago. It was in the context of some legal shutdown though. Next I heard about it again was sometime this summer, when at least the software development end of it took off – now there are a dozen competing projects implementing p2ptv. Apparently the driving force was the World Cup. Understandable.

What’s surprising at first is that almost all (or all?) of these projects are taking place in China – in Chinese universities, in Chinese startups, by Chinese hackers, you name it. Many of the channels served are also Chinese stations. And, the English in these products is fairly decent.

There are several stories here:

  • Apparently, the lax digital rights enforcement in China has directly resulted in China taking the lead in pushing internet tv toward the mainstream. This is hilarious. This didn’t come out of nowhere, either. For years, Chinese web sites have been offering pirated movies and tv programs for on-demand viewing online – for a fee. There is of course, bittorrent, for downloading movies. And it’s not just movies or tv shows, music, too – the search function is right there on Baidu. I’m glad some good technology is coming out of this legal mess. (On the other hand, some Chinese TV stations already embrace this model, sometimes feeding their own streams.)
  • The Chinese software industry has finally matured to a degree where it can satisfy more than a domestic demand. There has been the likes of KingSoft and Tencent, which dominate their respective niches in China, but this is the first time that Chinese software is serving a purpose that just isn’t being served by any other software.
  • The English skills of this generation of students are good. With regard to this, somebody pointed out that propaganda pamphlets during the Korean War had perfectly good English – why has there been so much Chinglish since then? My answer is that, right after that, there was a generation of people educated in Russian, then a generation of people educated in nothing but political slogans, then a generation of people who learned English on their own by listening to tapes, and finally, now, the generation being properly educated in English courses. The drop-off in quality and the current improvement both make sense.

Anyway, I downloaded TVUPlayer (one of the lesser clients, TVants being the most popular), and took a test run last night. It worked pretty well. Among the channels, NBC, Comedy Central, ESPN, CCTV, Hunan Dish TV, CTI TV, Pheonix TV, etc. Finally I can watch those Taiwan LY fights live, hoho. Now that’s entertainment.

matrix factorization

This question was floating around: can a determinant-1 diagonal matrix be factored into a product of triangular matrices with 1-diagonals, and how?

At least for the 2-by-2 matrix, this is answered in the affirmative here (Section 8.3). Here is a recapitulation.
(Read the article)