I came across this post today that talks about how the ViewBox works in WinJS. Meaning, what HTML/CSS are being used to create the ViewBox effect.
The same author has another article that talks about the difference between the ViewBox and the FlexBox. The FlexBox being a CSS thing and the ViewBox being a WinJS control.
Amazingly, if you are using Windows Server Backup, you have no way to delete old backup files. The service is supposed to simply grow your backup data until your drive is full, and then it should start cleaning up the old backups, but that isn’t ideal.
I found that I was able to delete the oldest backup by using the command:
delete shadows oldest f:
Where f: is the drive that is used for backups. There is no way to tell it to keepLatest 100 like you can if you were just deleting the system state, but you can put a bunch of delete commands into a text file and point diskshadow at it.
I’ve had a few of my friends test this behavior and I’m the only one who currently is experiencing it, so I’m not sure what is different about my setup than there’s, but for me, each click of my mouse wheel, whether at work using my wireless logitech, or at home using my USB generic mouse, causes FF to only scroll only a small amount, say 16px give or take.
This isn’t the case in other applications, like IE and Chrome.
If I go into the Windows 8 settings and change the scrolling to be greater, it has no noticeable impact in Firefox. However, I found that if I go to Firefox settings by navigating to the URL about:config, and modify the mousewheel.withnokey.numlines value (even if I just change if from 6 to 7) it “fixes” the issue.
I’m pretty sure that isn’t going to be the case as it seems like it’s hard to make my app not look like a formatted webpage (no duh) instead of a native app. But anyway, the one thing that is cool to see is that MS is making sure that lots of stuff in WinJS uses promises.
A promise is a way to deal with callbacks, but usually in a nicer and more fluent manner. Rather than messing around with timeouts and callbacks, you can write code like something.execute().then(finish()).done(cleanup());
WinJS has it’s own Promise object. There is a very nice write up here:
The best example is this one showing the full life cycle of a WinJS promise: