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


Forgot your password?
Slashdot Deals: Cyber Monday Sale! Courses ranging from coding to project management - all eLearning deals 25% off with coupon code "CYBERMONDAY25". ×

Comment Re: Yeah (Score 1) 747

The best source of information about Windows internals is probably the book Windows Internals. The newest edition is apparently split into two parts, but I've got the 6th edition and it's fantastic. One of the authors is Mark Russinovich of Sysinternals fame and it gets into the gritty details, including the startup and shutdown processes.

Comment Re:To do list (Score 2) 323

Alternatively, you can just use AdBlock to block their AdBlock blocking.

According to this post, you can avoid their blocking by adding this custom filter:


I can't test it since they aren't blocking my ancient Yahoo mail account, but unless they're doing some heavy server-side detection, a combination of custom AdBlock filters and/or a NoScript surrogate script should take care of things. And it's just a matter of time before the former gets added to a list like Easylist's AdBlock Warning Removal list.

Comment Re:No problem. (Score 3, Insightful) 199

Every time Mozilla releases an update, I have to search through the config settings for new ".enabled" things to disable.

Don't forget the part where you hope to hell they haven't removed even more "about:config" settings you rely on since "nobody uses the feature we intentionally hid behind an obscure configuration setting (surprise!)".

Comment Re:Is it really a waste of time? (Score 1) 304

Given that C has shorthands like ++, I've always wondered why K&R chose && for logical-and and & for bitwise-and. If it were the other way around, you'd save having to write the second & most of the time since one tends to write far more logical-and expressions than bitwise-and expressions.

I was curious about that too a while back so I looked into it. Turns out that C uses & and | for bitwise operations because its predecessor B did. Why did B use & and |? Because it was derived from BCPL which used words such as and and or for bitwise, and logand and logor for logical. When creating B K&R seem to have decided to directly convert those words to their symbols, & and |. B originally had no logical operators other than not (!) with False and True being 0 and !0, which was also carried into C (later versions of B coerced the bitwise operators into a logical operation if a truth value was expected).

So why does C use && and || for logical operators? Because & and | were already taken, and from a historical standpoint && actually does save typing, since && is shorter than logand :)

Comment Re:Is it really a waste of time? (Score 5, Insightful) 304

We could say ">", "GT" or "gt", or perhaps even "greater than."

I disagree. I believe > is easier to parse while reading code since it separates it from identifiers, control statements, constants, numbers, and other keywords. It's the same reason && is better than "AND" in C syntax derivatives.

I'd be quite pleased with a language that understood all three to be the same thing, with similar broad expression capabilities for everything else as well.

Please, no. Syntactic sugar is one thing but creating multiple equivalent ways to express the same thing is just a readability, support, and maintenance nightmare.

explicit and English-like for the newcomer.

Which is how we got COBOL. It turned out that just making source code use lots (and lots) of English words isn't enough to allow laymen to understand it or make changes, so all you end up with is a language that programmers find exhausting to read and annoying to write.

Comment Re:The browser wars are over (Score 1) 140

I have now, but obviously hadn't when I posted my original comment. I saw the icon, but for all I knew it was just a custom version of ghostery that they'd added to the browser. Of course even your link says "it supports the majority of extensions published for Google Chrome", so who knows what works and what doesn't (though they do say uBlock appears to function, so that's good).

So perhaps it's on par with Chrome when it comes to extensions, but that almost makes me wonder even more what the point of Vivaldi is. Seems like it's just Chrome with an ugly theme and some built-in extensions.

Comment Re:Why does every site try to open video now? (Score 3, Informative) 134

Yeah, audio indicators are a good first step, but can we just block all auto-playing videos outright?

You can try the about:config setting media.autoplay.enabled, but that seemingly-benign feature has it's own long sad story. As of version 41 this setting finally applies to HTML5 video, preventing the video from playing unless there's been "user interaction", but it makes some sites behave a little oddly (for example, YouTube thinks the video is playing even though it's not).

Comment Re:The browser wars are over (Score 4, Insightful) 140

Especially not one that looks like the UI was designed with MS Paint. Seriously... this is what passes for a modern and aesthetically pleasing application these days?

The Notes feature sounds marginally useful, but that's already in Firefox via one of a dozen addons. Actually, all of their "killer features" exist already or could easily be implemented as addons for Firefox. Remind me again why I should change to an ugly Chromium clone without advertising or script blocking features?

Don't get me wrong -- Firefox is going to hell too, but it seems to be running a slightly slower race than other browsers. I'm not going to switch to a front-runner.

Comment Re:Do your due dilligence... (Score 1) 217

Do your due dilligence...

...and you do yours by RTFA.

I've done this before, and this server was configured perfectly: not on any blacklists, reverse DNS set up, SPF, DKIM and DMARC policies in place, etcetera. (Side note: mail-tester.com and Port25 are great for checking your setup.)

This is absolutely a case of the big guys using strong-arm tactics to try and fight spam. Sure, it might be effective to block 100% of mail coming from mail servers which haven't existed for more than 6 months, but it's also completely unreasonable and goes totally against the ethos of the Internet.

Spam detection is just like any other kind of testing. You can have a very powerful test with almost no false negatives but if you start racking up the false positives then the usefulness of the spam filter becomes marginal. This is especially true of the big email providers like Google, Microsoft, and Yahoo. Have a problem with their servers? Good luck finding someone at one of those companies to help you. They don't care about you and your cute little mail server -- especially since you're trying to compete with them.

A faceless tyrant may be the most terrible kind. But get used to it, because that's what we've got with the Corporate Internet.

Comment Re:Good. (Score 3, Informative) 235

Treating a 30g copter with a 10m range the same as a 5kg copter with a 1km range will mean the death of whole industries that pose no threat to anybody.


I have no problem with trying to put some safety measures in place to prevent some catastrophic accidents or serious injury to bystanders, but trying to impose a mindless blanket regulation for everything is simply the wrong way to govern.

This toy is not the same and should not be regulated the same as this quadcopter.

Current aviation regulations are filled with rules that apply based various criteria. The type of aircraft, the weather, the number of passengers, the geographical location, the time of day, etc, etc. The rules are not there to stifle -- they are applied as needed where appropriate. Regulation of consumer items such as RC airplanes and quadcopters should be handled the same way.

Comment Re:Cultural? (Score 5, Insightful) 479

I need to agree. Germans take a lot of pride in Engineering as a culture. To say the German Engineers took short cuts just to pass US tests seems more unlikely than a strict Wink-Wink-Nudge-Nundge from the Bosses to the engineers with the side effect of or-else.

Completely agree. Not to mention that most engineers work to a functional specification. The software controlling what the emissions control computer reports is a pretty simple concept: pull readings from the on-board sensors and push them onto the output bus. Anything that deviates from that would need to have been driven explicitly by somebody. Code that detects emission testing equipment and conditions doesn't just get added by a couple of engineers on a whim.

I'm sure that a program manager was given the EPA requirements and told "You must meet these (by any means)." That PM passed them on to the engineering team with clear instructions that the limits must be met, one way or another.

Comment Re:Well if this is true (Score 2) 100

Then both those companies are shitbags.

Well, at least Verizon is telling people about it (albeit discreetly). Who knows how much sharing goes on behind the scenes?

There should be strict industry regulation of this kind of thing (ads, tracking, etc) a lot better than currently is.

If you even pretend to care about your privacy or reject this kind of advertising, it's better to just assume the worst. Block all advertising. Block all third-party scripts. Strongly consider blocking unknown first-party scripts.

And finally, next time someone in advertising or marketing whines about ad-blockers, consider following my wildly successful three-step program:

1) Explain that it's their own greedy-ass fault that people block this shit.
2) Punch them in the face.
3) Remind them that they should probably just commit seppuku.

Pound for pound, the amoeba is the most vicious animal on earth.