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

 



Forgot your password?
typodupeerror
×
Security

Submission + - Warning: Vista gadgets a potential malware vector

Torodung writes: This in, from the Microsoft Technet Flash newsletter:

A final security note: If you are running Windows Vista Sidebar Gadgets, they are subject to cross-site scripting style bugs. These bugs are extremely serious because script in the Sidebar is capable of running arbitrary code in the context of the locally logged-on user. This article outlines some of the secure programming best practices that should be considered when building Windows Vista Sidebar Gadgets. Check out Inspect Your Gadget for some of the secure programming best practices that should be considered when building Windows Vista Sidebar Gadgets.
In summary, badly coded Gadgets are a potential spyware/malware vector in the Windows operating system, as ActiveX and BHO's were previously, and Gadget input needs to be scrubbed for the same URI problems that Firefox recently fixed in v2.0.0.6, amongst other pitfalls. If you use Vista, you need to keep a careful eye on your Gadgets, and if you code a Gadget, the linked article gives some "best practices" to avoid becoming part of the problem.
Graphics

Submission + - Algorithm That Seemlesly Patches Holes in Images (cmu.edu)

Beetle B. writes: "From the site:

'What can you do with a million images? In this paper we present a new image completion algorithm powered by a huge database of photographs gathered from the Web. The algorithm patches up holes in images by finding similar image regions in the database that are not only seamless but also semantically valid. Our chief insight is that while the space of images is effectively infinite, the space of semantically differentiable scenes is actually not that large. For many image completion tasks we are able to find similar scenes which contain image fragments that will convincingly complete the image. Our algorithm is entirely data-driven, requiring no annotations or labelling by the user. Unlike existing image completion methods, our algorithm can generate a diverse set of image completions and we allow users to select among them. We demonstrate the superiority of our algorithm over existing image completion approaches.'

English translation: The algorithm replaces arbitrarily shaped blank areas in an image with portions of images from a huge catalog in a totally seamless manner."

Slashdot Top Deals

One way to make your old car run better is to look up the price of a new model.

Working...