Whenever a program is launched the system checks for the XML file, in much the same way as it already searches for a Manifest. If it reads from a registry key that it has previously written to it gets the value from the file instead. The program goes on thinking it can sucessfully read and write to the HKLM registry while the system state is preserved for the other users. In a similar way calls to edit restricted files can be redirected to alter files stored in the users own profile.
Is this possible to implement? Would it work?
Media player metadata promotion - Wheres all my other stuff?
ITunes is great, sure on Windows its a memory hog, is not very compatible with the media buttons on my keyboard and since I live in the UK I can't use the online store but still theres some cool stuff in there.
I have a desktop PC and a Tablet. The desktop has a big hard disk and all my music file stored. Sometimes I want to listen to them via WiFi on the Tablet. I also have some music stored on the Tablet itself.
The All-Microsoft solution
Share the music folder on the desktop, load the files into the Windows media library on the Tablet, choose "All Music" and shuffle, listen away. Works fine until you walk away from the access point.
Now I want to play just the local content, but how do I filter just that part of the library? When 90% of the tracks cannot be found using shuffle and skipping back and forth gets boring pretty quick.
Load content into Itunes library, share over network with rendevous. From the Tablet I can just open Itunes and if I am in range it can see the shared files, if not then they are not in the library. It loads all the metadata as soon as I connect to the Itunes share so I can have complete access to search for tracks without having to add them to the local library. I press play and it streams the files over the network for me.
The same thing happens if I connect an Ipod. The metadata database from the player is uploaded to Itunes and I can start searching and playing tracks.
So where am I going with this? Well with Longhorn and WinFS I will be able to share metadata libraries between computers, not just music files but every other file as well. Looking at some Winhec2003 material it shows something called "Media Transfer Protocol" a new API for portable media player manufacturers to include which will allow the meta data information for all the files on the device to be instantly added to your local WinFS database as soon as you plug it in. With present players offering disks up to 40Gb and future ones likely to be larger this will be a great feature. It would also be pretty useful for any old external hard disk used as a backup device.
Longhorn Portable Media Players
Power Management or "To reboot or not to reboot, that is the question"
I thought this was interesting from the PDC .Net Show
From the .Net Show Episode 38 Transcript
ROBERT HESS: What about you, Robb? What would you like to see Longhorn do to solve some of the problems your company has or just maybe some cool, consumer kind of issues too?
ROBB MCLARTY: From a user perspective, I'd like to see faster and fewer reboots. I used to work in the telecom space; I actually used to design for voice switches which were very old machines but they worked like a charm. If one ever went down it would come up, another side would switch in immediately. And so I think that if I can say anything to Microsoft is, look towards other places in the technology realm such as telecom where they have had a higher bar for reliability and perhaps performance, and look to them for a lead. Because as a user it kills me to wait sometimes a minute to get my PC to boot up. That's not the case all the time, but I think that that would really improve the experience if it would just come up a lot faster. It's a simple thing but I think it's valuable.
ROBERT HESS: The problem is there's so much stuff that's going on during boot up, whether it's reconnecting to the network or verifying your authentication or stuff like that. It's almost mind boggling that it takes as short a time as it does, but still it's frustrating when you turn your machine on and it just takes so long to happen. I know that that's a big problem that a lot of people.
ERICA WIECHERS: Just be able to flick a switch.
ROBERT HESS: Yeah. Yeah. So I think we're almost out of time now but I'd like to kinda get some quick feedback ...
Heh, moving swiftly on...
So I guess Longhorn isn't going to boot from cold super fast. I mean one of the benifits of having loads of memory available is you can store loads of data there instead of loading it from disk every time and improve system performance at run time. Accessing data from disk is orders of magnitude slower than memory, if memory is cheap and available to use you use it. A Longhorn era PC will likely have 1-2Gb or memory factory installed.
So you cache the font glyphs, the WinFS metadata etc, loads of rich images and textures for the shell. But all that data has to be read from the disk at some point, sure you get better run time performance but you pay a penalty at boot time.
A lot of work has already been done to improve boot speed, theres all the prefetching stuff in Windows XP that puts the files required for startup together on the fastest part of the hard disk. but still with more data to load, more code to run through it all takes a while, and Longhorn will likely be even slower.
But who needs to reboot anyway? With the new power management options you should be able to put the PC into a sleep state that preserves the contents of memory while using minimal power and making minimal noise. Longhorn specifies ACPI state S3 as the default sleep state. PCs can wake from this state in mere seconds.
My Tablets power management works really well. I only ever use standby and hibernate unless I am forced to reboot by software request. . I even installed the "Uptime" utility to measure how often I reboot and it is regularly over 3 weeks at a time.
After a struggle I also manage to get this working on my desktop and I love it - when it works. I come up to the computer, press the power button, hear a loud beep and then my desktop reappears just as I left it some days before.
However sometimes when I wake it, all I get is coloured squares all over the screen, and at the moment I can't even put the machine into standby without it locking up.
I have a fairly old Abit KT7A motherboard so it probably doesn't have a fully complient BIOS, but I really hope that proper S3 support is something that is really tested by hardware, software and driver developers so that it "Just Works" out of the box.
Some user education will be required. People are used to religiously shutting down their machines every day and restarting from cold every morning. People still do it with laptops that have perfectly working power management built in. Perhaps you should change the UI to emphasise sleep state over power off. It might also be a good idea to build in a backup power supply so that the computer can safely hibernate should someone unplug the cable.
So long as there aren't endless patches to apply that still require reboots, and the OS is stable enough to run for extended periods without performance deteriorating, restarting from cold ought to become a thing of the past.
Sorry about the formatting. I might come back and clean this up some more. Just wanted to get something out there.