Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×

Comment Re:Obligatory (Score 1) 310

Outside of US territory.

See, within the US or when targeting Americans, the Constitution and other laws apply.

When the US kills non-citizens on foreign soil, there's no US law against it. That's because that's armed combat. (It might also be a covert operation, in which case whether it's legal is up to the country in which it took place. It's probably not legal.) Dealing with other countries killing your citizens within your borders has traditionally been dealt with through this thing called "war", and, more recently, through the UN and other international alliances.

Comment Re:More money does not always buy better things. (Score 1) 288

An Aeropress doesn't make espresso. It makes a good drink, and it does it decently well, but you're comparing different coffee beverages. (Could the beverage made by a $30 Aeropress satisfy many people just as well as espresso. Sure!)

Formica doesn't have anywhere near the mechanical and chemical properties of granite or other high-end countertops. If all you want is something that will hold up cutting boards and room-temperature objects, they do the same thing, yes. But a granite countertop is practically indestructible.

Comment Re:Call me a rock wielding barbarian (Score 1) 127

Because the depth-of-field effect generated by your eyes depends on the distance to the subject, which is largely flat in 3D movies. They can't add DoF blur because they don't know where your eye will focus. They can put the most-obvious object in focus and then the other objects will be blurred, but if you focus your eyes on them, they won't come in to focus, which is not how your eyes normally work. (The same is true in 2D movies, naturally, but there isn't the illusion of the ability to focus in those.) They can make all objects in focus (if they can light the scene enough to use a small enough aperture), but then you won't get the correct DoF blur generated by your eyes.

Comment Re:Call me a rock wielding barbarian (Score 4, Insightful) 127

You know, your eyes have a substantial depth-of-field effect, too. You often don't notice, because your mental ability to pay attention to objects is tied pretty strongly to where your eyes are actually focusing, so anything you look at is in focus (because you focus on what you're looking at). However, you can really notice when you look at images that have deep DoF or, say, 3D movies (where they can't possibly get the DoF right).

Comment Re:I'll stick with my F 1.4 lenses, thanks (Score 1) 127

He seems to be mixing some terms a little bit. Correcting distortion lowers sharpness -- though for any image displayed only at 1080p, it probably makes no difference. Correcting some other aberrations, like chromatic aberration (CA) lowers contrast (and sharpness). Higher sensitivity in a digital sensor lowers contrast a whole lot more, though. That, and poorly-controlled lens flare, usually the major driver of low-contrast images out of smartphones. If you take a picture in daylight, don't point it right at the sun, and have a clean lens, the picture comes out pretty good.

I don't have a good sense as to how good the smartphone lenses are now. But people are now making pancake lenses for interchangeable-lens cameras that are tiny and of very high quality. I suspect that it's not to hard to engineer good smartphone lenses, either.

The problem is that with such a small sensor, you need very bright lenses to get shallow depth of field or good low-light performance, and those are just plain hard to make.

Comment Re:What about a re-implementation... (Score 1) 304

...you can receive that passphrase into a char array on the stack, use it, and zero it out immediately. Poof, gone in microseconds.

Only if you've set that part of your stack to locked. Otherwise it could get paged out to disk. Thanks to the fun of timing on computers, the amount of actual time that passes between "receive [into memory]" and "zero out" is arbitrarily long.

Comment Re:What about a re-implementation... (Score 1) 304

So if C is so bad why should we trust the languages that are implemented in it? You do realize that most of these "safe" languages are written in C, right?

I'm just going to link to a previous comment where I answered the same question.

TLDR: Languages aren't "written in" anything, and the language the compiler is written in has no bearing on the capabilities of the language it compiles. (We're all Turing complete here.)

Comment Re:It's not just the implementation (Score 1) 447

For one, you need to be able to correlate your requests with the other party's responses in a way that is non-replayable (regardless of the encryption used).

The payload is of variable length so that heartbeats can be used for path MTU discovery.

Just because someone "sees no reason" for a design decision doesn't mean there is no reason.

The heartbeat spec isn't necessarily a great design, but it's by no means the problem. If you can't implement what is essentially ping that passes two variable length data fields, what hope do you have of being able to implement anything useful?

Slashdot Top Deals

If you have a procedure with 10 parameters, you probably missed some.

Working...