by pjc50 · 6y ago · 0 comments
Aargh. For a while I maintained an app which embedded IE (technically "IHTMLDocument2") on Windows CE, which meant dealing with a lot of this madness. It spawned all kinds of background threads and didn't take kindly to being interrupted, and control over it was limited - ended up drawing a window over its control bar and passing clicks through ourselves.
He mentions "the cultural defeat of Microsoft", which is absolutely right; developers no longer choose the Windows platform, they are only ever forced to by circumstance, and have developed tools like Electron which allow them to ignore the platform entirely.
For whatever reason, the "developer community" of Microsoft was very weak, at least post-dotcom era. You couldn't find many people talking about it openly to learn from. And only recently have they responded to that, especially with Roslyn and the buyout of Github.
I was thinking along the same lines. WSL looks like a half-hearted and late attempt to put some POSIX lipstick on the Windows pig, but for me at least it doesn't really stick. The implementation is as messy and intransparent as usual in Windows. When I have to use Windows, Cygwin is still my tool of choice to make the system usable at all.
There's a third wart, the path length limit of 260 characters. Work on that seems to already be in progress: https://docs.microsoft.com/pt-br/archive/blogs/jeremykuhne/n... (though I see no mention of a related and more annoying wart, which is not allowing some simple file names like "aux.c").
Don't expect AUX, COM1, etc to be fixed any time soon, because that is a huge backwards compatibility issue.
Not sure about CR-only, but Notepad only recently-ish (a year ago, perhaps) gained the ability to work with LF-only text files. Mind you, that's probably not a fix in Notepad, but really in the decades-old Win32 edit control ... (which might give a hint as to why this was neither much of a priority, nor probably an easy fix while not breaking anything else).
Meanwhile a whole community of competing free alternatives appeared - students learnt Java and Python because C# was a paid product that was also not cross platform.
With .Net core you can get by with never touching VS. But that wasn’t always the case.
I also don’t believe MS had a free livense of Visual Studio like they do now.
Package never arrived, so I got him to re-send it. Got the discs a few weeks later.
Some time later I got a call from the RCMP -- Canadian version of the FBI. They wanted me to come to their detachment and answer some questions. When I showed up they took me into an interrogation room and told me they had seized the CD-Rs at the border, that software piracy was a big deal and he had been instructed by his superiors to "make an example out of someone."
They wanted to know who sent them, how I got in contact with him, how much I had paid him, and a lot of other questions. I was 19 and scared shitless. I had seen the warnings at the beginning of Hollywood movies, I should have asked for a lawyer but didn't.
I gave a statement and signed it. I told them that the guy had re-sent the discs and I received them, what should I do? They told me to bring the discs in, and I did.
Never heard from them again. No criminal record. I have no idea what happened behind the scenes, but I thank my lucky stars that I wasn't charged with copyright infringement.
I'm not trying to paint this as some kind of Les Miserables bread-loaf-stealing tragedy, but I am beyond ecstatic at the wealth of free software development tools available to anyone with a $400 laptop.
Also the Windows SDK was always available for free, just you needed to get a C compiler yourself.
Not quite _always_... For the first few versions of Windows, the SDK was a fairly expensive separate product you had to buy in addition to the compilers itself. I'm pretty sure it was MS C/C++ 7 that was first available bundled with the SDK. IIRC, the product was $700-800 (in 1990 money), took a couple feet of shelf space, and shipped with seven or eight thousand pages of documentation.
Visual C++ (really MS C/C++ _8_) democratized it a bunch by shipping with the libraries/tools needed to develop for Windows and offering a basic product at a <$200 price point. That was also the first version of Microsoft C that shipped with a Windows-based debugging UI.
The early 90's also saw the introduction of MSDN - the Microsoft Developer Network. At the time, this was a subscription CD based library of essentially all of Microsoft's developer documentation (as well as a few tools, etc.) It was essential... and to put the timeline in perspective, Microsoft sold a version of MSDN that was bundled with a CD-ROM drive, since they were as uncommon as they were at the time. They quickly added a premium version of MSDN that got you the full tooling also.
Ten or fifteen years after all that, the full version of Visual Studio was a $10k/seat proposition. Between that and all of the API churn, they lost sight of their original goal of staying developer friendly, and it was to their deteriment. (Particularly given the concurrent ascendence of the Web, OS X, Mobile, Linux, and the like.)
Doubly so if you are a newcomer to programming.
In theory, it's just price discrimination; put features that are only valuable to enterprise customers in the $6k/year version, and profit. But then they put key UX features which are useful to _everyone_, like Live Unit Testing, in the Enterprise version too.
The upshot is that they sell a few more Enterprise licenses, but the development experience is worse for 99% of .NET developers on Windows. It's such a weird contrast to their developer tooling strategy in every other area.
Most countries have Microsoft sponsored education programs and all big software shops have MSDN subscriptions anyway.