Forgot your password?

Comment: Re:Nonsense (Score 2) 286

by godefroi (#46779165) Attached to: Ask Slashdot: System Administrator Vs Change Advisory Board

The OP doesn't see the procedure as a liability. That's a lie. The OP sees the CAB as a threat to his authority. He sees the servers as "his", and this will remove some of the power he has over them.

The OP needs to understand that the servers belong to the company, and that the company gets to decide how patches are approved and administered. If the job changes into something he's no longer interested in doing, then he needs to move on.

Being an asshole administrator might seem like fun, but usually, in "normal" businesses, it gets you fired.

Comment: Re:Interoperating with invalid data (Score 1) 196

by godefroi (#46573889) Attached to: Python 3.4 Released

Well, yeah, but that would completely change the way these things work. What if your split() worked on code units, and you broke up a code point? That certainly wouldn't produce results that anyone would consider optimal, or even useful.

You can continue to pretend that byte arrays are strings, and strings are byte arrays, but you're not going to get anywhere. The rest of the world decided that we want a useful abstraction over the underlying data structure. When we're working with strings, we care about characters, not bytes.

Comment: Re:Interoperating with invalid data (Score 1) 196

by godefroi (#46534143) Attached to: Python 3.4 Released

Hey, I figured out what your problem is, where you went wrong. You think that a string and a bunch of bytes are the same thing. They're not. If you have a bunch of bytes, treat it as a bunch of bytes. If you have a string, treat it as a string.

Java, for example, stores strings internally as UTF-16 (or UCS-2, opinions differ). .NET stores them internally as UCS-2.

This is also why there's a difference between CHAR and NCHAR in databases.

There is not a one-to-one mapping from a given string to a given set of bytes, because it depends on how you encode the string. Furthermore, some encodings have constraints on what input can produce a valid string. ASCII (plus non-standard high-ASCII) is not one of these encodings. UTF-8 (and all other Unicode encodings) are.

However, PEP 393 should've solved your particular problem (in Python 3.3), by allowing you to store these unicode-invalid "strings" internally as ASCII. Have fun in code-page land.

Comment: Re: and... (Score 1) 196

by godefroi (#46533865) Attached to: Python 3.4 Released

There's your problem right there. There are no "tiny mistakes" in UTF-8. Either it's valid UTF-8, or it's not. It's valid XML, or it's not. It's valid JSON, or it's not. It's valid HL7, or it's not. There is no "graceful" handling of invalid data, not in the general case.

Physically possible arrangements of bytes will appear in files, yes, but those files are not necessarily UTF-8.

Oh, and all *my* serious software can handle Unicode just fine (in all its various encodings), because I use a platform that was designed FROM THE START to handle it correctly. It does fail gracefully, which is nice, in the invalid-data case, but nonetheless, garbage-in, garbage-out.

Comment: Re:Greenspan's right (Score 1) 516

Well, sure. Just as, however, you (apparently) can't legislate morality (we tried, see prohibition), I believe that you also can't legislate equality.

Even if we pulled down the "1%", we'd simply have a new set of ultra-rich replace them. The fact that the new ultra-rich came from the old ultra-poor would be small comfort. It's human nature to attempt to get wealth and power.

If you're a religious sort of person, of course, you likely have a particular perspective on all this.

Comment: Re:Greenspan's right (Score 1) 516

So, if the ruling class makes a mess of things, it's their fault, and if, in response, the working class makes a mess of things, it's still the ruling class' fault? Does the working class have any responsibility for their actions?

It seems to me that you're making the case that the working class is inferior, and thus can't be held responsible for their actions, and yet, should be equal to the ruling class. I'm not sure you can have it both ways.

Comment: Re:Until you experience the speed ... (Score 1) 338

by godefroi (#46080989) Attached to: Google Fiber Launches In Provo — and Here's What It Feels Like

I download my TV shows wirelessly. It's very high bandwidth, too. I *NEVER* wait more than an hour for a one-hour 1080i episode (though I never wait less than an hour either), and I can download several episodes at once without slowing down or impacting other users of the network in the house.

The best part? There's no monthly fee, and it's *LEGAL*.

OTA, it's the future.

You are in a maze of little twisting passages, all alike.