Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment The most important concept in WinSxS (Score 4, Informative) 433

Hands up anyone who knows what an "activation context" is! If you don't you have no idea what WinSxS does, how it does it or how to diagnose it when it goes wrong.

In my opinion, WinSxS is a good mechanism, or at least as good as Microsoft could have made it while working within the constraints of history. However, WinSxS cannot be used in the real world without properly understanding it, and achieving that understanding is very painful indeed. The MSDN documentation is piecemeal, appears incomplete and inaccurate in a few places and lacks a proper overview. I think the only reason I properly twigged what activation contexts are about is that I had recently written a mechanism that operated on similar principles (a thread-local stack of context-related information).

I wrote a Wiki page at work describing what (I think) WinSxS's motivation is, how it works and some of the problems it suffers from. I'd like to put it somewhere on the public internet - any suggestions? It should ideally be somewhere wiki-like where people can correct its inevitable inaccuracies without me having to maintain it, but I'm not sure it's appropriate for wikipedia.

Comment Re:No - there are plenty of safer alternatives (Score 1) 486

I'm assuming this was due to a typo on the first line (and presumably no code reviews). With memcpy_s and the same development practices, this would most likely become:

char *buffer = malloc(200);
memcpy(buffer,2000,message,2000);
send_message(buffer);
free(buffer);

, which would behave exactly the same and illustrate the point many people here are making about this really not fixing the supposed insecurity. The reason the code you show crashed is not that memcpy takes no destination size parameter. The reason is that the code contained an obvious typo that nobody noticed because there were no formal code reviews.

Technology (Apple)

Apple's SproutCore, OSS Javascript-Based Web Apps 203

99BottlesOfBeerInMyF writes "AppleInsider is running an article about Apple's new SproutCore Web application development framework, utilizing Javascript and some nifty HTML 5 to offer a 'Cocoa-inspired' way to create powerful Web applications. Apple built on the OSS SproutIt framework developed for an online e-mail manager called 'Mailroom.' Apple used this framework to build their new Web application suite (replacing .Mac) called MobileMe. Since SproutCore applications rely on JavaScript, it seems Apple had good reason to focus on Squirrelfish for faster JavaScript interpretation in Webkit. Apple hosted a session last Friday at WWDC introducing SproutCore to developers, but obviously NDAs prevent developers from revealing the details of that presentation. Apple has a chance here to keep the Web becoming even more proprietary as Silverlight and Flash battle it out to lock the Web application market into one proprietary format or another. Either way, this is a potential alternative, which should make the OSS crowd happy." TechDIrt's writeup on the browser evolving towards acting as an OS expands on the theme AppleInsider raises.

Comment MOD PARENT UP (Score 4, Informative) 129

The article is very difficult to read, due to poor English (no offense meant - I don't speak a word of Portuguese!) However, having waded through it, it is clear the parent is correct, and the summary is completely wrong.

The article's author is resigning from the ABNT, specifically because it is not appealing. It is only "protesting", whatever that means. The article claims the failure to appeal is due to Microsoft supporters claiming they did not have enough time to weigh the arguments, which sounds a bit rich in the circumstances.

Sci-Fi

Surviving in Space Without a Spacesuit 481

Geoffrey writes "The recent movie Sunshine features a scene (echoing the famous scene in 2001: a Space Odyssey) in which two astronauts have to cross from one ship to another without spacesuits. But, can you survive in space without a spacesuit? Morgan Smith, writing in Slate, asks whether this is realistic, and concludes: "Yes, for a very short time.""
Music

Download Only Song to Crack the Top 40 391

nagora writes "The BBC is reporting that next week's UK music chart may have the first sign of the end of the recording industry as we know it. From this week (7th Jan, 2006), all downloaded music sales are counted in the official UK chart, not just tracks which have had a physical media release. Now, an unsigned band called Koopa is poised to enter the top 40 without any old-world recording, distribution, or production deals. Band member Joe Murphy says "If someone comes along and gives us an offer, we'll talk to them." before continuing on to add the words the recording industry has been having nightmares about since the introduction of the mp3 format: "If we can get enough exposure and get in the top 40 by the end of the week, do we necessarily need a large label? Probably nowadays, no you don't." Is this finally the crack in the dam we've all been waiting for to wash away the entrenched monopolies of 20th century music production? Or just a sell-out waiting to happen?"

Slashdot Top Deals

"No matter where you go, there you are..." -- Buckaroo Banzai

Working...