Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Comments

top

Linus Torvalds: 'I Still Want the Desktop'

shutdown -p now Re:Linus does not understand the size of the effor (573 comments)

Just because they are signed by Microsoft, doesn't mean that Microsoft wrote them. For Vista, and even more so for Win7, large number of drivers was included out of the box to cover a wide range of hardware without needing driver CDs as often as XP did. Most of those are third party drivers, but because they are redisted by MS, they have the MS signature on them.

Basically, if you see MS certificate on some binary, it means that someone at Microsoft has built that binary. It doesn't mean that they wrote the source code for it.

8 hours ago
top

Linus Torvalds: 'I Still Want the Desktop'

shutdown -p now Re:Linus does not understand the size of the effor (573 comments)

Note that only 65k are in "engineering". This is across the entire company, working on numerous products (many of which you probably don't even know exist), and also internal infrastructure like build systems, test automation, and internal dev tools.

Quite obviously, one third of that cannot be working on the drivers, and even one tenth is an unreasonably high estimate.

8 hours ago
top

Linus Torvalds: 'I Still Want the Desktop'

shutdown -p now Re:Linux could own the desktop... (573 comments)

To be more specific, what they need to do with Android is what Microsoft is doing with the next version of Windows (for store apps): put a full-fledged multi-window desktop there, complete with a taskbar/dock, and allow it to run existing Android apps in resizable, closeable windows. They already have fairly decent mouse support in Android, in fact (and the browser even understands hover), and most apps aren't that bad with a mouse, either. They just need to make the core UI around the same, and make it an official Android platform, so that people writing apps keep it in mind when doing UX design.

8 hours ago
top

C++14 Is Set In Stone

shutdown -p now Re:Oh god so what? (189 comments)

C99 support there is still more like 50% (no VLAs, no "restrict", and no complex/imaginary).

yesterday
top

C++14 Is Set In Stone

shutdown -p now Re:Oh god so what? (189 comments)

It didn't make it for C++14, right? My understanding is that C++17 is where the "big things" are supposed to be happening - are you now aiming for that?

yesterday
top

C++14 Is Set In Stone

shutdown -p now Re:Why do we need Auto? (189 comments)

I believe this kind of polymorphism is already possible, between std::function and boost::any (and, of course, they're planning to add "any" as part of the standard in a future version).

yesterday
top

C++14 Is Set In Stone

shutdown -p now Re:Oh god so what? (189 comments)

C++ IDEs have also gotten much better, as well. In Visual Studio these days, you can hover over an identifier, and it'll tell you its actual type, regardless of how many levels of auto there are between it and the actual named type. And it works reliably on anything that is valid C++, no matter the complexity.

yesterday
top

C++14 Is Set In Stone

shutdown -p now Re:Back to the future (189 comments)

In fact, B had it as early as 1969, and it was 100% correct even on arbitrarily complex programs!

(It always inferred type "machine word", which was the only one that the language had.)

2 days ago
top

C++14 Is Set In Stone

shutdown -p now Re:Why do we need Auto? (189 comments)

The alternative might be polymorphic lambdas, which would require dynamic typing.

Polymorphic lambdas (which were added in C++14, in fact) don't require dynamic typing. They only require the ability to use template parameters for lambda arguments. In case of polymorphic lambdas, this is implicit (i.e. basically you can elide the type of the function parameter, and it will become a template parameter on the operator() for the type generated for that lambda).

2 days ago
top

C++14 Is Set In Stone

shutdown -p now Re:Oh god so what? (189 comments)

You can definitely over-do auto typing to the point where a human can't figure out the types involved

Thing is, in most cases the human doesn't particularly care about the types involved. Provided that variables are named descriptively, I can look at a piece of code and figure out what it does, without having to determine whether "files" is a vector, a list or a deque, and whether the elements are raw, shared or unique pointers.

2 days ago
top

C++14 Is Set In Stone

shutdown -p now Re:Oh god so what? (189 comments)

Every lambda is of its own unique type. Even if you have two lambdas with the same capture-list and parameters, they're still of different types.

2 days ago
top

C++14 Is Set In Stone

shutdown -p now Re:Oh god so what? (189 comments)

It's a crying shame that C and C++ still haven't added safe arithmetic as part of the standard library (or in case of C, maybe even as part of the language, for the lack of operator overloading). Back when I first saw "checked" in C#, I wondered what this was supposed to be about, but I have since learned the wisdom of having it in the language.

2 days ago
top

C++14 Is Set In Stone

shutdown -p now Re:Still... (189 comments)

This is not entirely true - they have added a bunch of C11 features in VS 2013.

2 days ago
top

C++14 Is Set In Stone

shutdown -p now Re:Still... (189 comments)

VC++2013 added a bunch more stuff from C99, aside from the library. On the language side, it's mixing declarations with code (C89 mode was strict and would bark at any variable not at the beginning of the function), _Bool, compound literals, and designated initializers.

The main things still missing are "restrict", _Complex and VLAs. However, the official target is now C11 rather than C99, and C11 made VLAs an optional feature of the language, because of lackluster support and use.

2 days ago
top

Feds: Red Light Camera Firm Paid For Chicago Official's Car, Condo

shutdown -p now Re:our presidents origin story (115 comments)

It all depends on how bad and how accepted corruption is in any given society. In many, a public office is basically accepted as a seat in which to take bribes - it's the major perk of the job.

2 days ago
top

Two Years of Data On What Military Equipment the Pentagon Gave To Local Police

shutdown -p now Re:No (264 comments)

Nevertheless, this one came with the M2.

3 days ago
top

Two Years of Data On What Military Equipment the Pentagon Gave To Local Police

shutdown -p now Re:No (264 comments)

I don't think it really matters much who does it, so long as it's not the force that has to be maintained in the permanent state of thinking of other citizens as their potential enemy (since when they're deployed, it's always in the country). I suppose from a Constitutional perspective, National Guard makes sense since you want it to be a state-level force, otherwise it will be shot down as Federal overreach. There are also State Defense Forces, at least in some states.

3 days ago
top

Two Years of Data On What Military Equipment the Pentagon Gave To Local Police

shutdown -p now Re:No (264 comments)

For those very rare kinds of scenarios, I would actually be okay with just calling in the military (they should have some people trained in crowd control etc anyway, since that's a large part of overseas deployments these days). The problem with police SWAT teams is that they're, well, police. They don't have anything else to do, but you have to keep them around, so you find them something to do. And if you don't, they'll do it themselves.

Reducing the number and making one responsible for a larger geographic area would work in theory (so long as it's large enough that they are not out of proper work), but then people might start complaining about reaction times.

3 days ago

Submissions

top

Microsoft adds Node.js support to Visual Studio

shutdown -p now shutdown -p now writes  |  about 8 months ago

shutdown -p now (807394) writes "Coming from the team that had previously brought you Python Tools for Visual Studio, Microsoft has announced Node.js Tools for Visual Studio, with the release of the first public alpha. NTVS is the official extension for Visual Studio that adds support for Node.js, including editing with Intellisense, debugging, profiling, and the ability to deploy Node.js websites to Windows Azure. An overview video showcases the features, and Scott Hanselman has a detailed walkthrough.

The project is open source under Apache License 2.0. While the extension is published by Microsoft, it is a collaborative effort involving Microsoft, Red Gate (which previously had a private beta version of similar product called Visual Node), and individual contributors from the Node.js community."

Link to Original Source
top

Python Tools for Visual Studio 2.0 Beta Released

shutdown -p now shutdown -p now writes  |  about a year ago

shutdown -p now (807394) writes "My team at Microsoft, which works on Python Tools for Visual Studio — a free, open source extension for Visual Studio that adds support for Python to that IDE — has just shipped a beta version of the upcoming 2.0 release with numerous new features and improvements.

PTVS supports most Python interpreters including CPython, advanced code completion, debugging, and profiling. Some highlights of this release are mixed-mode debugging of Python and C/C++ code with integrated call stacks, stepping and breakpoints; the ability to remotely attach to and debug Python programs running on Linux and OS X; and Django support with ability to conveniently deploy Django websites and services to Windows Azure.

PTVS works with Visual Studio 2010, 2012 and 2013 Preview, as well as the free Visual Studio Shell."

Link to Original Source
top

Code from Microsoft submitted to jQuery

shutdown -p now shutdown -p now writes  |  more than 3 years ago

shutdown -p now (807394) writes "Microsoft has previously announced its support for jQuery JavaScript client framework when it started bundling it with Visual Studio back in 2008. Since then, Microsoft developers, in direct cooperation with the core jQuery team and the community, have developed three new plugins — Templates, DataLink and Globalization. Today, this contribution has finally found its way upstream into the main jQuery code base, and will be included into the upcoming 1.5 release. As all other jQuery code, the plugins are dual-licensed under MIT and GPLv2, making it another rare case of Microsoft contributing code to an Open Source project under the GPL."
Link to Original Source
top

Windows Phone 7 Series - Developer Perspective

shutdown -p now shutdown -p now writes  |  more than 4 years ago

shutdown -p now writes "As previously promised, at MIX10 developer conference, Microsoft has released details about the development side of the upcoming Windows Phone 7 Series.

It is now confirmed that two frameworks for application development will be XNA for games and game-like fullscreen, high-performance applications, and a subset of Silverlight 3 for everything else. Both frameworks support managed .NET code only — no native (C++) code support. Furthermore, the applications are sandboxed, and "unsafe" functionality, such as P/Invoke, is not available. A fairly detailed set of UI guidelines for developers has been made available as well.

The integrated web browser is claimed to be based on Internet Explorer 7 engine with some extra features, such as proper XHTML support.

An single centralized store will be available, called the Marketplace. It will include both applications and other media (such as music). The Marketplace will be the only way to install applications onto the phone (though, supposedly, "enterprise customers" will have some workaround). There will be an approval process for publishing applications on the Marketplace, and, aside from filtering out malware, it will also require that applications are "generally good taste excluding pornography, hateful/inflammatory speech, and gratuitous violence".

On the hardware side, the specifications will be tightly controlled for the benefit of developers. A standard set of hardware buttons is mandated on all phones ("Back", "Home" and "Search"). Screen size is limited to two standard resolutions: 320x480, and 480x800, and touchscreen must be capacitive, with at least 4-point multi-touch. Other requirements hardware requirements include 3D acceleration, GPS, and accelerometer.

Unlike past mobile SDK releases from Microsoft, a free version of development tools for Windows Phone will be available, named "Visual Studio 2010 Express for Windows Phone". A preview of that is presently available, complete with an emulator. In the future, a mobile-oriented version of Expression Blend 4, a designer-centric development tool, will also be available."

Link to Original Source
top

Microsoft Office 2007 SP2 Released, Supports ODF

shutdown -p now shutdown -p now writes  |  more than 5 years ago

shutdown -p now writes "On April, 2008, Microsoft has released service pack 2 for Microsoft Office 2007. Among other changes, it includes the earlier-promised support for ODF text documents and spreadsheets, featured prominently on the "Save As" menu alongside Office Open XML and the legacy Office 97-2007 formats. It is also possible to configure Office applications to use ODF as the default format for new documents.

In addition, the service pack also includes "Save as PDF" out of the box, and better Firefox support by SharePoint."

Link to Original Source
top

ISO publishes final Open XML specification

shutdown -p now shutdown -p now writes  |  more than 5 years ago

shutdown -p now writes "ISO/IEC 29500:2008, better known as Office Open XML, is now a published ISO International Standard. Major changes since last public drafts include splitting the standard into "strict conformance" and "transitional conformance" parts, with all the Microsoft Office compatibility hacks going into the latter, "for Office Open XML consumers and producers that comply to the transitional conformance category ... provide support for legacy Microsoft Office applications". The complete standard, including the transitional part, is still rather unwieldy at 7,228 pages; of those, the transitional elements take up only 1,475 pages.

In addition, the ISO press release explicitly references something called "Microsoft Office 2008" at least one time. Presumably, it would be a Microsoft Office release fully compliant with the newly released specification in its final form; however, there haven't been any announcements from Microsoft about a product named "Office 2008" yet."

Link to Original Source
top

Exploits generated autpmatically from patches

shutdown -p now shutdown -p now writes  |  more than 6 years ago

shutdown -p now writes "A group of researchers wrote a paper (PDF) on automatic generation of exploits from security patches. It works by performing flow analysis on the code that is changed by the code to find the boundary conditions that lead to vulnerability in an unpatched version. It's not just theory, either: they have successfully generated exploits for 5 known vulnerabilities in Microsoft products using their algorithm. The authors note that a successful attack using this method is particularly likely when vendor deliberately delays releasing security patches to the general public, to push them in a single bundle on a regular schedule — as is the case with Windows Update and its infamous Patch Tuesday."
Link to Original Source

Journals

top

Contact me

shutdown -p now shutdown -p now writes  |  more than 2 years ago

If you want to contact me without spamming article discussions (i.e. if you're new here), just reply to this post.

Slashdot Login

Need an Account?

Forgot your password?

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>