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

 



Forgot your password?
typodupeerror
×

Comment Signed integer overflow being defined. (Score 1) 427

Screw ancient architectures and minor compiler optimizations. I'd rather have my binary math work like all of us were taught in discrete math classes. Not to mention not have my machine pwned by the mob because a programmer didn't realize that their security check was removed for being undefined behavior.

Comment Signed integer overflow and security holes (Score 1) 427

Signed integer overflow is undefined. That is, in C++, overflowing a signed integer is considered to be equally bad as dividing by zero. Combined with modern compilers, this is resulting in exploitable security bugs in many programs.

Programmers have been taught for decades about two's-complement integer arithmetic and how it overflows. As a result, many of us who don't know about signed integer overflowing being undefined are making "mistakes" like assuming that it wraps as we were taught.

The reason that C++ considers signed integer overflow to be undefined is because of non-two's-complement machines. Such machines pretty much don't exist anymore. Why does C++ insist upon keeping such requirements around, when it is wreaking security havoc on everyone else?

Comment 100% on Ishihara (Score 1) 267

I do Ishihara every time I renew my aviation medical certificate.

To respect the spirit of the test I make a point of not memorizing the numbers, and always call the number at a glance.

Some years ago I had a colleague who chose such odd colour combinations for her clothes we wondered if she had issues in this area. This is indeed unusual in a woman, but it happens.

...laura

Comment Soft-focus world (Score 1) 550

I'm nearsighted and have worn glasses on and off since I was about 10. I wore contacts through most of my 20s, but returned to glasses in my 30s.

Now that I'm in my 50s I'm in that stage where my near vision is starting to deteriorate and I'm slowly becoming far-sighted. The first real manifestation of this was when flying at night, when I was experiencing massive eyestrain reading charts in my lap, but could see outside the plane just fine. So I got progressives the last time I got new glasses, and I'm fine.

I don't wear glasses when I'm not driving or flying. I prefer a soft-focus world. :-)

Am I a candidate for laser eye surgery? According to the web sites, not really. I could get good distant correction, but would then need glasses for reading. Since I need glasses to drive and to fly anyway, I'm not sure this would buy me anything.

...laura

Comment Too secure == insecure (Score 1) 280

The problem with crazily-complex passwords is that if you can't remember them you write them down, and, at a stroke, have compromised security. One of the worst I've encountered is the U.S. Customs eAPIS web site, for sending advance information when you want to fly a private plane or sail a private boat to the U.S.

The other issue is that you risk locking out legitimate access.

My bank does the password plus security question thing. My security questions (you can make up your own) are more than a little interesting. :-)

...laura

Comment Colour temperature vs CRI (Score 1) 278

This was an educational experience for me, learning the difference between colour temperature, which is really only valid for continuum sources, and colour rendering index, more applicable to spectral line sources. Low CRIs don't necessarily have a low colour temperature, but they definitely distort perceived colour, whether they're too blue, or the weird orange of sodium vapour lights.

The most stringent CRI requirement in my home is my makeup mirror. Which is the last incandescent bulb...

...laura

Comment Three years and counting (Score 1) 278

I installed my first CFLs in 2011. They're still going strong.

The choice I made at the time was between startup behaviour and colour temperature. They either come on immediately but have a blue cast, or take a minute to warm up but have a warmer colour. I have the former in my kitchen, the latter in my living room and bedroom.

LEDs are interesting but their "white" is such a weird colour I'll pass on them for now.

...laura

Comment Safety. Always. (Score 1) 468

I'm intrigued.

The visibility from the cockpit of many planes is actually quite mediocre. This was an issue, for example, for American flight 191. The pilots couldn't actually see the DC-10's engines from the cockpit, and did the wrong thing in response a perceived engine failure. Anything that helps pilots process and interpret information is A Good Thing.

Another bit of fictional prior art: the Far Star's control system in Foundation's Edge.

...laura

Comment Not all that new, but what is personal? (Score 1) 206

As another pointed out, Russia isn't anywhere near the first country to do this; in fact, doesn't the European Union require it Union-wide?

Anyway, I'm most curious how the Kremlin defined "personal". Being that a lot of us are software industry programmers, product managers, etc., it'd be useful to know what kind of changes we need to make to our respective companies' international back-end infrastructure.

Comment Moderately, I suppose... (Score 1) 163

Funny you should ask: I just got back from a trip to London. Eight time zones worth of jet lag.

I find the first night there or back is no problem to get to sleep, because I'm so totally wasted I can't hold my eyes open anyway. It's the second night that's the killer. After that I'm fine. Getting up at the right time is a challenge on flights to the east coast, but is rarely an issue for Europe.

Unless you're making a phone call or having some other sort of live interaction, the time at home is irrelevant. Don't even think about it. The time where you are is the time that matters.

...laura

Slashdot Top Deals

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...