Microsoft Port 25 interviews Miguel de Icaza 202
Ben Galliart writes "Microsoft's Port 25 blog, the voice of MS Linux Labs and a spin-off from the MS Channel 9 blog, has an interview with Miguel de Icaza where they discuss the Gnome and Mono projects. It is a nice change of pace to see Microsoft go from attacking Novell and Linux to interviewing a Novell employee about a Linux desktop system. Port 25 has come under some fire since they can not always be trusted. Port 25 has on occasion put out FUD such as claiming Microsoft is doing more to improve security than any other vendor and a security guide attacking Red Hat for not providing security updates for Red Hat v9 despite that Red Hat ended support back in 2004. They have also released a password synchronization daemon for Red Hat, AIX, HPUX and Solaris that must run as root and makes several calls to strcpy() (which violates Microsoft's guidelines for doing secure coding)."
Worthless drivel (Score:5, Insightful)
Re:Worthless drivel (Score:2)
Re:Worthless drivel (Score:2)
Re:Worthless drivel (Score:5, Insightful)
Re:Worthless drivel (Score:2)
revelaed (Score:5, Funny)
Re:revelaed (Score:2)
Re:Miguel is the savior of .NET (Score:2)
So why the fuck are they doing a bytecode language?
The rest of your post is equally trollish, but I just thought there was a point to be made there.
Re:revelaed (Score:3, Insightful)
Java's a disease as well (Score:2)
Re:Java's a disease as well (Score:2)
Re:Java's a disease as well (Score:2)
Re:Java's a disease as well (Score:2)
Link to interview doesn't work. (Score:5, Informative)
-Rick
Re:Link to interview doesn't work. (Score:2)
Re:Link to interview doesn't work. (Score:5, Informative)
The link should be: http://port25.technet.com/archive/2006/08/11/Let_
but some ass hat probably pasted it into MS Word to spell check the summary, and word resolves -- to it's funky double wide hyphen character.
-Rick
Re:Link to interview doesn't work. (Score:3, Insightful)
By "funky double wide hyphen character" you mean industry standard UTF-8 representation of em-dash?
Re:Link to interview doesn't work. (Score:3, Insightful)
There's nothing inherantly wrong with the Windows character sets, they're just an encoding!
Server Error in '/' Application. (Score:4, Funny)
Microsoft employee-wannabe (Score:2, Interesting)
Yawn...
Re:Microsoft employee-wannabe (Score:5, Insightful)
http://linux.sys-con.com/read/124218.htm [sys-con.com]
Interesting bit of history there. It really disturbs me that Miguel is leading a column of FOSS enthusiasts into the maw of MS patent enforcement, especially when he could have used his talent on something unencumbered like Parrot.
Re:Microsoft employee-wannabe (Score:3, Insightful)
Re:Microsoft employee-wannabe (Score:2)
I think a large part of at least early gnome was to try to do an MS Windows on linux - complete with the registry (extremely stupid idea) but far worse since you get one per user, and you have a mix of config files and this registry thing. If a use
Re:Microsoft employee-wannabe (Score:5, Insightful)
If there is one Microsoft technology that deserves admiration is the
Re:Microsoft employee-wannabe (Score:2)
Sure the fanbois love it because it's better then the crap they are used to but it's nothing remarkable. Just a ripoff of java with a couple of additions. Yawn. Who cares.
Re:Microsoft employee-wannabe (Score:2)
C# is Java with the power of hindsight. Java is Smalltalk with the syntax of C. Guido Van Rossum has stated that Python owes a lot to ABC. Every computer language has borrowed features from others. It is the way that computer language development work. If you can make a better product by taking features from another and adding and improving then you should do it.
Re:Microsoft employee-wannabe (Score:2)
Because it doesn't support multiple inheritance like the python VM does.
"If you can make a better product by taking features from another and adding and improving then you should do it."
Yes but that doesn't make it admirable does it.
Re:Microsoft employee-wannabe (Score:3)
Re:Microsoft employee-wannabe (Score:3, Insightful)
In contrast, I have had to re-install Windows on various machines about 5 times in the past year due to viruses, spyware, etc. (two college daughters...) and each time it was a full day marathon of insta
Re:Microsoft employee-wannabe (Score:2)
Re:Microsoft employee-wannabe (Score:2, Interesting)
Re:Microsoft employee-wannabe (Score:2, Informative)
1. No select->middle-click->paste buffer.
2. Ctrl-C/V/X behave inconsistently (it is entirely too easy to lose everything on the clipboard).
3. No tools out of the box to automate user tasks like bash or perl.
4. Crappy handling of file types.
5. No virtual desktops. (The powertoy hack called MSVDM doesn't actually work.)
6. Lack of suppo
Re:Microsoft employee-wannabe (Score:2)
Re:Microsoft employee-wannabe (Score:2)
Re:Microsoft employee-wannabe (Score:2)
Nevertheless, the lack of decent email clients for windows is a big problem.
Re:Microsoft employee-wannabe (Score:5, Insightful)
OLE Automation.
(Or whatever they're calling it these days; I think it was absorbed into the ActiveX branding.)
Just about every Unix vendor had this dream of turning their entire desktop environment into a sea of programmable objects.[1] The one I got to laugh at was Sun, with DOE, although you formerly-MacOS-bigots got to see it replayed in AppleScript and OpenDoc.[2]
Well, Microsoft delivered. I can write a script (in my choice of languages) that opens up a Word document, finds any bold text at the start of paragraphs and then HTTP POSTs it to a URL. And if I feel really annoying, I'll increase the volume level on the sound device, and read it to you. In a page of code.
It's really amazing what you can script this way. OK, yes, there's a reason I'm typing this on a Linux box, and why I have cygwin installed on any Win32 box I care about. But through marketing muscle and a desire to create opportunities for small VARs, Microsoft let little software authors poke around inside big applications. And created some nice tools for those little authors to write code with.
Shame it breaks in such obscure ways.
[1]: ARexx doesn't count. That's just DDE.
[2]: Obligatory joke about whether "the" is optional at some point in hypercard syntax here. Apple has been getting better, though.
Re:Microsoft employee-wannabe (Score:2)
You could do this with linux. Not with word docs of course which have propritary formats but with OO docs you can. Hell you could probably do it on a command line with sed and wget.
Re:Microsoft employee-wannabe (Score:2)
Re:Microsoft employee-wannabe (Score:2)
At the Ottawa Linux Symposium in 1999 or 2000, Miguel had a series of slides about why UNIX sucks. Those were his words. Check it out yourself. [ximian.com]
As for why MSFT didn't get the desktop right, I'm not really qualified to answer, because in my entire career, I've used Windows only for a hellish 5-month stint back in 1996 (Win95). The things I hated about the Win95 desktop:
Re:Microsoft employee-wannabe (Score:3, Informative)
~$ help
GNU bash, version 2.05b.0(1)-release (i386-pc-linux-gnu)
These shell commands are defined internally. Type `help' to see this list.
Type `help name' to find out more about the function `name'.
Use `info bash' to find out more about the shell in general.
Use `man -k' or `info' to find out more about commands not in this list.
A star (*) next to a name means that the command is disabled.
The Linux desktop has become quite us
Ceasing support after a year is a valid excuse? (Score:5, Insightful)
Re:Ceasing support after a year is a valid excuse? (Score:2)
What's the big deal? If yours is a small business, you can get basic support for $350. Larger, $2500 gets you a full contract. That's hardly taxing to a company that also has the option of running an unsupported RHEL, or an alternative of choosing another support company.
Re:Ceasing support after a year is a valid excuse? (Score:2)
Re:Ceasing support after a year is a valid excuse? (Score:2, Insightful)
Microsoft? Bashing Red Hat over licensing? Wow. That's rich. I wonder where they find salesdroids with absolutely no ability whatsoever to think critically, so they can spout this stuff with a straight face.
Re:Ceasing support after a year is a valid excuse? (Score:2)
But what if you paid for Redhat 9, standardized upon it, put a huge developer investment into it, and a year later they tell you it's gone and they want more money
If someone did that I guess they made a really dumb decision putting all that money into a product that never had any support guarantees in it. You should have ponied up the few extra bucks and standardized on RHEL 2.1, or even the previous "Redhat Advanced Server".
(since RHEL was basically 9 with minor changes)
Actually RHEL 2.1 was based on Redh
Re:Ceasing support after a year is a valid excuse? (Score:2)
Your an espcially dumb car buyer if you get upset at support ending after a year. Because the company had annouced that the model 9 car would only b
Re:Ceasing support after a year is a valid excuse? (Score:2)
Re:Ceasing support after a year is a valid excuse? (Score:2)
I think you got that wrong. It should read "Consumers were expected to become unpaid beta testers of RHEL on all of their desktop systems."
It's not like they're the minions of satan or anything, but Redhat pulled a classic bait-and-switch on the Linux community and I for one am astounded at how many people are willing to make apologies for them.
Re:Ceasing support after a year is a valid excuse? (Score:2)
related links (Score:2)
Re: Article Text (Score:3, Insightful)
Port 25 has on occasion put out FUD such as claiming Microsoft is doing more to improve security than any other vendor
I'd be curious to hear what vendor the article author thinks is doing more to improve security than Microsoft if this statement is to be decried as FUD, and what kind of metrics/data support this. Amount of exploits patched? Amount of money spent on security?
I mean, even if you think Windows is one giant yawning security hole, that really only says that they have the most room for improvement. I'd be surprised if they're not patching the most holes, affecting the largest number of users, and spending the most money on security -- even if the results are often sad.
Re: Article Text (Score:2)
Re: Are You Serious? (Score:2)
Just about every linux/bsd distro and probably apple too on the desktop.
and what kind of metrics/data support this. Amount of exploits patched?
The problem with this mindset is you think it's okay that the code that is increasingly responsible for running more things that make a country productive is never seen and can't be reviewed except for poking at it in a willy-nilly blackbox
port23? no... (Score:2)
If you're going to convince people you're all about security, you don't do "port23". You do "port22".
If anyone's confused, take a look at /etc/services on your local *nix. Failing that, take a look at the IANA assigned port numbers reference [iana.org].
Re: Are You Serious? (Score:2)
The problem with your mindset is that it's only correct if security is always the most important thing. It's not. The world doesn't work that way.
Microsoft always plays a losing game of catch-up to
Re: Are You Serious? (Score:2)
Back to the article comment - they said MS was doing th emost to improve security. Well, fair enough - they have made great inroads on fixing loads of stuff, it is not a big priority at MS, so yes
Speaking of FUD... (Score:5, Funny)
Port 25 has on occasion put out FUD such as claiming Microsoft is doing more to improve security than any other vendor
Which vendors are doing more to improve their security?
Given what they had to start with, I think it's very difficult to claim anybody's done what they've accomplished between 95 and XP SP2. You tell me one other vendor that's gone so far as using tools like authentication and WGA to combat the worst offenders of security -- the users themselves? Linux users, Mac users, even the *BSD user is free to boot their operating systems without the slightest arbitrary challenge to their right to do so and from there go on to face any number of potential security issues; but with Windows, you need only upgrade your CD drive emulator a handful of times or use Windows Update as directed to find yourself relieved of the concerns users of lesser operating systems face.
They had the most potential with regards to security and they've finally met it, and I say kudos.
Re:Speaking of FUD... (Score:2)
Well, I can say for certain that Microsoft are doing more than Gemini [geminisecure.com] is doing for GEMSOS. But that's only because GEMSOS has been proven free of security flaws, so there's really not much to improve.
Re:Speaking of FUD... (Score:2)
slight misspelling... (Score:2)
I believe it's spelled Kodos.
Why would you trust Port 25? (Score:5, Funny)
Anyone using Red Hat 9? (Score:5, Funny)
Re:Anyone using Red Hat 9? (Score:2)
One of two things comes to mind:
1) Yes. There's a 30% discount for anyone who doesn't install Windows on any machine.
2) Yes. RMS will personally throw money at you if you use GPL 3.0.
Enlighten me (Score:4, Interesting)
Re:Enlighten me (Score:3, Informative)
Re:Enlighten me (Score:2, Informative)
If the source string is longer than the allocated destination buffer then data can overflow into your program code. This could be exploited to execute arbitary code.
strncpy should be used instead as it allows you to specify the maximum number of chars to copy.
Re:Enlighten me (Score:2)
Re:Enlighten me (Score:2)
Re:Enlighten me (Score:2)
Re:Enlighten me (Score:3, Informative)
char foo[10] int authenticated
[ ][ ]
Memory boxes not to scale. Or maybe sizeof(int) on this platform is really large.
Anyway, if you screw up and copy an 11-byte string over foo, the final byte will be written into authenticated. Now imagine that authenticated i
strcpy_s not MS specific (Score:2)
What is interesting, but not really surprising, is that Microsoft chose to replace the unsafe functions such as strcpy with their own safe variants with names like safe_strcpy (though I can't remember the exact name, it's something like that). They could have just recommended people used already-existing functions such as strncpy or strlcpy, instead of adding yet another incompatibility obstacle that must be surmounted when porting software from/to the Windows platform...
Unless I am mistaken, strcpy_s()
Re:strcpy_s not MS specific (Score:2)
Re:Enlighten me (Score:2)
Even if those memory locations are not allocated, memory protection is not per byte, but per page, so you won't get an error. Also many memory allocators will put information (such as how much memory is free and available here and where is the next free block) into the "unallocated" memory, so writing over it will cause the memory allocator to crash.
Please let us know when it's video. (Score:4, Insightful)
Please let us know, in the summary, when an interview is a video file. Some of us don't have time at work to watch videos (today, actually, I've been busy watching specific videos for work, and trying to clean them up so they don't look like crap, at which I have failed) and would like to know before we have to click down into them - especially when you can't just click the link, and have to visit the site, because the primary article link is malformed.
This is one of the crappiest story submissions I've seen in a long time.
not FUD (Score:4, Funny)
That is not FUD, they started so far behind everybody else that they have to do more than anybody else just to keep Windows running
It's not what you say... (Score:2)
More FUD (Score:2)
Why would only 2% consider Linux? I think that's just more FUD. It's higher than that. You are just making an example but disguising it as a fact and hoping people won't notice. You could have picked any number. Why 2%?
FUD, FUD, FUD! Even Anonymous Coward is FUDing. Slashdot is really going downhill...
Slashdot has too much FUD. 99.999% of people woul
Doing more for security? (Score:4, Interesting)
strcpy ok sometimes (Score:5, Informative)
char buf[6];
strcpy(buf, "hello");
In fact, to truly protect yourself from invalid input you frequently need to write a state machine style input parser. It's the parser that ensures all strings are properly terminated which would mean all downstream copies could be performed safely with strcpy.
It's far more important to understand *why* strcpy should not be used. Then you'll know when you *can* use it.
Re:strcpy ok sometimes (Score:2)
<rant>
Programmers are human and they screw up. It is easier to simply outlaw 'strcpy' in favor of 'strncpy' or 'strlcpy' than it is to re-educate the programmers. If you place the code that guarantees the string length does not exceed your predefined maximum buffer size and the code where you do the actual 'strcpy' in different places the chance of a screw up are greater than if you do what th
Re:Or do it my even better way! (Score:2)
It might be better to restrict the length copied to match the destination rather than the source...
Even if you did that right, you didn't null terminate after the call, and even if you added that extra bit of code you'd be wasting time setting chunks of bytes to 0 because strncpy is retarded.
Re:Or do it my even better way! (Score:2)
strncpy(buf, input, strlen(input));
Or even:
(works in the original coder's example because he declares buf in the same basic block).
Not only does this approach avoid calling any functions and may well produce faster code, but if your string is longer than your buffer, it'll zero-fill it for you automatically. One caveat: if your buffer is exactly the length of the string, it won't get zero-terminated and the compiler won't warn you, but habits like:
Re:Or do it my even better way! (Score:2)
Re:strcpy ok sometimes (Score:2)
Because variables never get overwritten with garbage, either intentionally or not. Also, only one programmer ever works on a piece of code, and would never change the length of either the buffer or the input, let alone the content. /sarcasm
In your trivial example, it's easy enough to see it's harmless, true. It's still bad practice. What is the compelling reason to use an unsafe function? To sa
Re:strcpy ok sometimes (Score:2)
I disagree with this- that somehow
Re:strcpy ok sometimes (Score:2)
Use it, but use something like PREfast (Score:2)
There are performance reasons to use strcpy.
I personally feel that strcpy on a buffer allocated by the same function is okay, but doing this across functions is bad because someone else
strcpy? (Score:5, Interesting)
I looked at (some) of the code. They do a malloc(strlen(foo)+1), and, if it succeeds, they do a strcpy() of foo. THERE IS NO VOODOO MAGIC IN STRNCPY TO MAKE IT SAFER IN THIS SITUATION.
Really. There isn't.
Re:strcpy? (Score:2)
(meant to be mildly humorous in a nerdy sort of way)
Re:strcpy? (Score:2)
(Yes, this is theoretically possible in DOS and Win16...)
I hope "foo" is not direct user input from an insecure context, or its size is limited. Allocating hundreds of megabytes is bad even if it doesn't leave to a buffer overflow.
Melissa
FUD? (Score:3, Insightful)
I'm sorry, how does this qualify as "fear", "uncertainty" or "doubt?" Maybe FUD means something else to you? That sounds more like CCS, "calming", "certainty", and "surety" than FUD. I'm not saying their statements are true, simply that it's not FUD.
Re:FUD? (Score:3, Insightful)
Interesting - used MP3 encoding (Score:2, Interesting)
Re:Interesting - used MP3 encoding (Score:2)
Windows Media Player for OS X is half dead too. What they did is acquire global license of a great small companies product, telestream flip4mac and they distribute it as "windows media components for quicktime". While it works better than Wmedia for OS X (surprise!) can't be counted as a true dedicated player.
I wrote these details to show another minor proof that MS didn't change. If they have changed, let them rele
RH9 (non) support no big deal. (Score:2)
Re:RH9 (non) support no big deal. (Score:2)
Full interview (Score:2)
501 Syntactically invalid HELO argument(s)
hello
500 unrecognized command
hey gnome boy
500 unrecognized command
sod off
500-unrecognized command
500 Too many syntax or protocol errors
Connection closed by foreign host.
Text version (Score:2)
Re:Why Port 25 (Score:2)
Oh, and please hand in your geek card at the door.
Re:MS Linux Labs? (Score:2)