I wrote this Format dialog back on a rainy Thursday morning at Microsoft in late 1994, I think it was.
We were porting the bajillion lines of code from the Windows95 user interface over to NT, and Format was just one of those areas where WindowsNT was different enough from Windows95 that we had to come up with some custom UI.
I got out a piece of paper and wrote down all the options and choices you could make with respect to formatting a disk, like filesystem, label, cluster size, compression, encryption, and so on.
Then I busted out VC++2.0 and used the Resource Editor to lay out a simple vertical stack of all the choices you had to make, in the approximate order you had to make. It wasn't elegant, but it would do until the elegant UI arrived.
That was some 30 years ago, and the dialog is still my temporary one from that Thursday morning, so be careful about checking in "temporary" solutions!
I also had to decide how much "cluster slack" would be too much, and that wound up constraining the format size of a FAT volume to 32GB. That limit was also an arbitrary choice that morning, and one that has stuck with us as a permanent side effect.
So remember... there are no "temporary" checkins :)
Follow me for more random code musings!
@historyinmemes Kanye West team sent him a report saying that his $0 Production budget Super Bowl ad was a success. The 30 second slot cost $7,000,000 which generated Yeezy 284,357 orders totaling $19.3 Million in sales in less than 24 hours. 😳
bike infrastructure in the Netherlands: we built a bike garage that look like an Apple Store!
bike infrastructure in California: enjoy the new suicide center lane on this highway overpass
By reaching the semifinals in Hamburg, Alexander Zverev has now entered the Top 10 in the Race. He is now a serious contender to qualify for the ATP Finals.
turns out the disabled Twitter employee who Elon publicly ridiculed for asking about the status of his employment sold his company to Twitter for ~$100 million, and the deal was structured in a way which requires payment for the entire deal upon his termination—whoops 🤣
At 2004 Indian Wells, Federer invited a 17-year-old Nadal in his box - inadvertently creating a butterfly effect that would change the course of his career
Let’s go back 19 years… 🧵
(The first time Federer and Nadal shared the court was as doubles opponents, wearing matching outfits...
...and the last time was as doubles partners, also wearing matching outfits)
(brb, gonna cry)