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

 



Forgot your password?
typodupeerror
For the out-of-band Slashdot experience (mostly headlines), follow us on Twitter, or Facebook. ×

Comment: Re:Wrong setup (Score 1) 296 296

Absolutely positively do not use a lot of #ifdefs, you're asking for a lot of hurt.

Move the platform specific code into files, and then use abstractions in the main code, pull in the different implementations in the make file. You'll have just a few #ifdefs in the main code for the right header files.

Do frequent compilation across the platforms, because you will screw it up. Make sure to have plenty of tests for the different behavior between platforms.

Comment: Re:Customers dont want obnoxious ads (Score 1) 618 618

The point of ads is to bring awareness of new stuff to customers, not show old stuff.

No. The point of ads is to sell you stuff. If that's selling different stuff by showing new, well and good, but selling something "hey, I forgot I was going to get that" works too.

Comment: Re:Quotes (Score 1) 94 94

I wonder how many still have that subsystem, since it became optional. But then again, that's something that might reasonably be installed on a server. If I had it installed, I'd give it a try. .Net definitely fails on a normal system, I don't feel like fudging around enough to try NtCreateDirectory.

Comment: Quotes (Score 5, Insightful) 94 94

Quotation marks are used in the shell environment to make sure that the data inside the quotes is not interpreted by the program as a command.

Except in the cases it triggers the exploit. IMHO, that's the newsworthy bit of this.

Not quoting causes issues is news along the same level as "water is wet". Trying to be secure and breaking things? That's big. At least it's not possible with filenames.

When someone says "I want a programming language in which I need only say what I wish done," give him a lollipop.

Working...