News for hackers. Stuff that matters.
Re:Why was .NET called .NET? by 0x0 on Sunday May 06, 2012 @03:31AM (#3934430)
I'm imagining a bunch of suits getting together deciding "Time to start working on the next generation of COM... COM2!".

And then the first developer gets ready to write some code, and goes "Explorer->Right click->New folder->COM2".

After a few attempts and some head scratching:

"Uhh.. I think we need another name"

Re:Why was .NET called .NET? by cek on Sunday May 06, 2012 @01:01PM (#3935577)
You have a good imagination.

I worked on COM at Microsoft. We had a project to add managed run-time capabilities to COM. This was ~'96.

Internally we thought of the Component Object Model that shipped as part of OLE as "COM version 1". The version that supported distributed capabilities (aka DCOM) as "COM version 2".

When we started working on adding managed runtime support we started talking about "COM 3". But that talk stopped quickly when I tried to create a directory named COM3 for some specs.

Creating the directory wasn't a problem. But putting anything in it or deleting was.

We quickly settled on the name "COR" for Component Object Runtime instead.

We actually released the COR at the '96 (I think) PDC as an alpha. But it never actually shipped because .NET won the internal battle (full IL based managed runtime to replace COM vs. incrementally adding garbage collection and other managed capabilites to COM ala Objective-C).

Later on, as the MS Transaction Server group was merged with the COM team, the name COM+ was invented to cover "DCOM + Transaction Server + MSMQ". This led to the fabled Project42 which I have chosen to forget.

Re:Why was .NET called .NET? by acqq on Sunday May 06, 2012 @05:37PM (#3936409)
I remember reading articles about COM+ which didn't mean MSMQ but looked more like something close to what .net framework became. Then I've read that Msmq and thought "what?" Wasn't then COR the first mentioning of what you name COR?
Re:Why was .NET called .NET? by 0x0 on Sunday May 06, 2012 @04:33PM (#3936231)
Wow, haha, thanks for sharing that. My old suspicions finally confirmed! :)
Re:Why was .NET called .NET? by quink on Sunday May 06, 2012 @03:44AM (#3934460)
They should have just incremented the last letter of COM to create the new version CON.

Explorer->Right click->New folder->CON...

Oh.

Re:Why was .NET called .NET? by chris_wot on Sunday May 06, 2012 @03:33AM (#3934436)
That's interesting. But try creating a folder called .NET in Windows explorer... :-) Hint - you can't!
Re:Why was .NET called .NET? by steverb on Sunday May 06, 2012 @07:39AM (#3934849)
Sure you can.

Create a folder.

Rename it to ".Net.". The dot at the end of the folder name is important.

Re:Why was .NET called .NET? by chris_wot on Sunday May 06, 2012 @08:42AM (#3934963)
Interesting. But they didn't call it dot-net-dot :-)
Re:Why was .NET called .NET? by Dylan16807 on Sunday May 06, 2012 @11:57AM (#3935409)
Explorer silently strips the trailing dot and is tricked into doing the right thing.
Re:Why was .NET called .NET? by 0x0 on Sunday May 06, 2012 @03:42AM (#3934458)
Nice! So when they couldn't use a reserved folder name, they went for the next best thing ;)
Re:Why was .NET called .NET? by mkopinsky on Sunday May 06, 2012 @10:05AM (#3935139)
This becomes quite annoying when I try to create a .htaccess file. (Command line rename is the only solution I've found.)
Re:Why was .NET called .NET? by rbanffy on Sunday May 06, 2012 @11:27AM (#3935324)
Cygwin. Don't use the Windows command line. Just don't.

And while you are at it, use PuTTY-based Minterm instead of the Windows console.

Re:Why was .NET called .NET? by mkopinsky on Sunday May 06, 2012 @12:49PM (#3935547)
Can you explain why? I use cygwin when I need GNU-like tools (sed, grep, etc.) but for something like renaming a file I don't see the point of using a slower terminal that requires more typing (

    cd /cygdrive/c/Doc<tab><wait>/mkop<tab><wait>/Desktop/bla
vs

    cd \Doc<tab>mkop<tab>Des<tab>bla
) just so I can type "mv" instead of "rename".

I've never used minterm. What does it do better?

Re:Why was .NET called .NET? by rbanffy on Sunday May 06, 2012 @08:15PM (#3936944)
With Cygwin, your home directory should be your WINHOME (I'm doing this from memory, bear with me), so, in fact, your cd would be

    cd Desk<tab>bla
or, worst case,

    cd ~/Des<tab>bla
Running programs is also a tiny fraction of what bash can do - it's a full (well... almost) fledged scripting language and you can do things like loops, conditionals and other stuff. Before I discovered watch, I'd do things like

    while true; do df -h ; sleep 10 ; clear ; done
Also, the PuTTY-based console has a lot of niceties when compared to a plain console window - it's prettier, you have better font controls and better clipboard integration.
Re:Why was .NET called .NET? by mkopinsky on Monday May 07, 2012 @03:15PM (#3940508)
In my default cygwin install, my home directory was C:\cygwin\home\mkopinsk. I just changed it (in C:\Cygwin\etc\profile) to /cygdrive/c/Documents and Settings/mkopinsk so hopefully it should be a bit less painful now. I will consider switching to a non-cygwin solution in the future.
Re:Why was .NET called .NET? by rbanffy on Monday May 07, 2012 @08:56PM (#3941684)
That's odd. What version of Windows are you using? Last time I used Cygwin (XP or Vista, can't remember), the home defaulted to the Windows home.
Re:Why was .NET called .NET? by mkopinsky on Monday May 07, 2012 @10:26PM (#3941912)
XP. I don't remember changing any options in setup.exe, but who knows. Bottom line it's fixed.
Re:Why was .NET called .NET? by tom9729 on Sunday May 06, 2012 @03:36PM (#3936065)
Use MSYS (part of MinGW) and Console2 (set bash as shell).

cd /c/Doc<tab>/mkop<tab>/Desktop/bla

Re:Why was .NET called .NET? by mkopinsky on Sunday May 06, 2012 @04:10PM (#3936156)
This doesn't answer my main question, which is WHY? What do these tools do better (enough to matter)?
Re:Why was .NET called .NET? by tom9729 on Sunday May 06, 2012 @04:20PM (#3936191)
I prefer the Unix command line everywhere. MSYS gives you a Unix shell, and all the Unix tools, built right on top of win32. I haven't used it in years, but I understand Cygwin is quite a bit heavier.

The cmd.exe terminal is atrocious. Even if you don't want to use Bash, Console2 gives you things like tabs, and you can resize the window normally.

tldr; It's not slower, it doesn't involve more typing, it gives you a sane Unix command-line experience on Windows.