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


Forgot your password?
Check out the brand new SourceForge HTML5 speed test! Test your internet connection now. Works on all devices. ×

Comment Removing OtherOS was probably bad for piracy... (Score 1) 229

When OtherOS support was removed, a lot of people who were using it for Linux suddenly had an incentive to break open the copy protection in order to run their own code.

I suspect if Sony had not removed OtherOS then the number of people interested in cracking the copy protection would have been limited only to those looking to pirate games and it would have taken a lot longer before piracy became an issue.

Comment Can't get rid of Flash yet (Score 4, Interesting) 172

I tried removing Flash from my SeaMonkey install and that lasted all of 5 minutes before I found a forum post with an embedded YouTube clip that I couldn't play (and wanted to play). So I can't ditch Flash yet (at least not until YouTube comes up with a way to embed YouTube clips into forum posts, blog posts etc etc without needing Flash installed)

Comment Re:boycott star trek (Score 1) 97

I was sort of interested in going to see the new Star Trek film in theaters but wasn't 100% committed to it. Seeing this news, I think I will forget Star Trek and spend my money going to see the other films comming out that I really want to see instead like Independence Day 2, The BFG and Ghostbusters.

Never heard of Columbia Pictures suing anyone for making Ghostbusters fan content...

Comment Re:C99 and C11 (Score 1) 207

Microsoft have said they are working on a clang/llvm port that supports this so that should cover everything LLVM supports including ARM, MIPS, PPC, SPARC, x86, x86-64 and more. And with the spec being open, it should be possible to build a GCC frontend for this that can take advantage of all the many back-ends GCC has.

Comment Re:MS Spyware (Score 1) 421

This stuff is right there in Visual C++ 2015 Update 2 which is most definitely NOT a preview product.
There are some comments regarding telemetry_main_invoke_trigger and telemetry_main_return_trigger in vcruntime_internal.h in the CRT source code.
These reference a telemetry.cpp and a telemetrydefault.cpp (neither of which are included in the CRT source)

I can confirm however that the notelemetry.obj file (the source code for that IS included in the CRT source) does exactly what it says on the tin and will disable the telemetry.

I have also disassembled telemetry.obj (compiled form of telemetry.cpp) in IDA and it makes calls to GetLastError, GetModuleFileNameW, __vcrt_EventRegister, __vcrt_EventSetInformation, __vcrt_EventUnregister, and __vcrt_EventWriteTransfer. Source code for the __vcrt functions can be found in winapi_downlevel.cpp (they are functions designed to wrap the real windows API calls with those names so workarounds can be provided on operating systems that dont support them)

So whatever this "telemetry" actually does, it uses EventRegister, EventSetInformation, EventUnregister and EventWriteTransfer to do it (part of the "event tracing for windows" APIs)

If Microsoft wants to silence critics on this they should publish telemetry.cpp and let people see for themselves what it really does and why it doesn't do anything untoward.

Comment Re:that's 64 bit executable... not 64-bit compiler (Score 1) 359

Its only the IDE that is 32 bit.
Visual Studio 2015 ships with a 32-bit compiler that generates 32-bit binaries, a 32-bit compiler that generates 64-bit binaries, a 64-bit compiler that generates 32-bit binaries and a 64-bit compiler that generates 64-bit binaries. (plus both 32-bit and 64-bit compilers that will spit out ARM binaries)

Comment Re: In other words... (Score 1) 359

I dont know how the speed of a fully-optimized Visual C++ program compares to the speed of the same program if compiled with clang or GCC (since I dont have any code-bases/software that compile with both VS and with clang or GCC to compare with) but I have been using Visual C++ since Visual Studio 6 and the Visual C++ compiler is far superior now than the one included with Visual C++.

Optimized output is far better (when you turn all the optimizations on) than Visual Studio 6 and Microsoft has been putting a lot of developer time into improving the quality of the compiler and runtime libraries (including support for a very large chunk of the newest C++ standards with the intent to support more going forward).

A read of https://blogs.msdn.microsoft.c... clearly shows that Microsoft no longer considers C++ a second-class citizen.

Comment Why not sandbox Office and Office macros? (Score 1) 71

Given the number of viruses out there that use Microsoft Office documents as a transmission vector, why hasn't Microsoft locked down VBA and macros so that macros in an Office document file cant do anything dangerous.

Web browsers sandbox JavaScript code these days to prevent exploits and improve security, why not do the same for Office documents?

That way, rogue macros can't download and install further malware or access data files all over the disk or mess with Windows system folders/files/data.

Comment Why haven't we worked to replace CAs yet? (Score 1) 114

There are a number of proposals out there that would allow you to distribute public keys for web sites in a way that removes the reliance on CAs for security.

Storing things in DNS and securing that with DNSSEC being one. The EFF has a proposal out there (cant remember what it's called) for this as well.

And there is a proposal that replaced CAs with a system where the certificate can be signed by multiple entities and then the client decides whether to trust the certificate based on whether it trusts the entities that have signed the certificate.

Why is it that the browser vendors and others haven't shown any interest in these alternatives to the CA system? Pressure from the CAs not to shut down their revenue? Are these alternative ideas not as good (or as secure) as their proponents claim?

Comment Re:Python/PHP: learn it in a weekend... (Score 1) 369

When I studied computer programming in high school (this was a private school here in Australia and it would have been mid 90s) they were using Pascal (Turbo Pascal 6) and then later Visual Basic.

If I was going to teach kids who knew nothing about programming how to program, Scratch would be a good place to start IMO. Its drag and drop and fun and you can do cool stuff with it but the programming underlying it teaches concepts like loops and if statements and variables and boolean operators and mathematical functions and things.

So you can do all the simple stuff (a gaming TV show aimed at kids/tweens/etc ran a series of tutorials on how to make a game using Scratch) but you can expand it and do some complex things.

If I was going to go further and teach serious programming beyond what a few lessons of Scratch will get you (i.e. people who actually want to get into programming as a hobby or career), I would either start with FreePascal for teaching procedural programming (since its FOSS and produces binaries for so many targets whilst being just as easy to learn as Turbo Pascal and the other Pascal implementations people like me and others here learned with) or C# for object oriented programming (the Microsoft IDE is one of the best IDEs I have ever used, the Community Edition is free for personal use and for use in education and unlike Java, you dont need to learn "advanced" concepts like exception handling to do simple things like file I/O)

Comment Re: corrupt world (Score 4, Insightful) 91

Why not go for a .ag domain name. Antigua and Barbuda has thumbed its nose at the US in regards to protection of copyrighted works (in response to the US refusing to remove its ban on online gambling sites in Antigua and Barbuda) and I dont see them being the sort of country that would be willing to seize a domain name just because the US (or big US media companies) wanted them to.

Slashdot Top Deals

Help stamp out Mickey-Mouse computer interfaces -- Menus are for Restaurants!