There have been some significant developments apropos the Windows Blackcomb/Vienna/7 development timeline, which I've discussed in the comments there.
MT Tech Rally
Yesterday I attended a Tech Rally in Mansfield, hosted by a local reseller-and-servicer business there with the word "typewriter" in its name (or, at least, that's what it used to stand for).
The Sophos presentation on network security was a real eye-opener for me. A lot of what the guy said made sense, on some level, but he was talking mostly about kinds of networking we don't even have at the library. In particular, the whole mindset of the talk was deep in Microsoft think. When he spoke of not allowing a system "onto the network" if it doesn't meet your requirements (e.g., for having certain antivirus software installed), I'm pretty sure he was actually thinking mostly in terms of not allowing it to access certain services on the network, e.g., application servers. There were also a lot of highly-Microsoft-centric things that were fairly central to his talk, not least Active Directory. (As an administrator of OS-agnostic/heterogenous TCP/IP-style networks, I only just barely know what AD even *is*. It's not really relevant to any kind of computer network I've ever worked with.)
This doesn't make everything he said invalid, it only makes it irrelevant to me, at this time. (If I'd known that was the kind of network he was going to be talking about, I wouldn't have attended the talk, but it was just labelled "Network Security", and I work with network security (I write firewall rulesets, for instance), so how was I to know?)
I did catch the presenter in one mistake, which he made presumably because he is thinking at a higher level (specifically, at the application layer on the OSI model) and mostly looking past or ignoring the details on lower layers (notably the data link and network layers). The specific mistake he made (which I swear on Dave Barry's life that I'm not making up) was in speaking of DHCP as an enforcement mechanism. As anyone who understands TCP/IP at even a basic level can tell you, it fundamentally isn't that. (DHCP is a convenience mechanism; it doesn't enforce squat.) If the system doesn't meet your requirements, he was saying, then the DHCP server can hand it a 32-bit subnet mask, and so then it "can't go anywhere" on the network.
Yeah, he really said that. The reader may now laugh heartily at the prospect of an attacker that does not know how to change the TCP/IP settings on his computer. What kind of threat are we protecting against here? Great Aunt Mildred? Dilbert's boss?
However, he also talked about other enforcement mechanisms, including access control lists, among other things. To fully evaluate the correctness of his talk I'd have to know more about things like LDAP and NT's non-DNS "domain"-based networking, but I didn't get the impression that it was all bogus like the DHCP thing. On the whole the talk seemed coherent and mostly sane. Not that any network administrator should ever swallow anything said by any security vendor without a large helping of salt, mind you.
I also got to see one of the Microsoft "across America" vehicles (sort of like a converted bookmobile or mobile home with a lot of computer hardware crammed inside). On feature, of course, was Vista, which I got to see up close and personal for the first time. (Previously I'd seen screenshots on the web and a couple of short promo videos.) The demo guy (whose name I didn't catch) did a really nice job and seemed to be pretty well informed.
First, I want to say that the Aero Glass visual enhancements are quite slick. As someone who generally sets XP systems to the Classic look because it's just less goofy and dumb-looking than the default appearance in XP, I must say I'm pleased this time.
Some of the improvements to the Start menu in Vista also appear to be quite worthwhile. Expanding folders vertically (right into the list, albeit with an indent, sort of like in the left pane of the Explorer view in the Windows Explorer file manager) rather than horizontally seems like it will overall be an improvement (less mouse movement is required, for one thing), and the Start Search appeared to be really slick. I don't know what kind of hardware they were running it on, but it did perform really well. Impressively well, compared with XP on any hardware I've ever seen it on. These are small things, but it's often the small things that determine the quality of the user's experience. I am optimistic now about Vista being a real improvement over XP.
Not that I'm going to rush to deploy it right away, mind you. I'd like to hold out for SP1 if possible, or at least wait until next year when it's been out for a while and the first round of post-release bugs found and fixed. Nonetheless, I'm now kind of looking forward to it.
Lastly, I want to talk about the panel applets. (Microsoft has another name for them, which I forget at the moment, but I'm talking about the little applications that run embedded in that panel on, by default, the right side of the screen, updating the display in realtime.) As I predicted, it *is* more than just a fancier clock: it's a real panel-applet capability, or at least the beginnings of one, and thus a major step forward for Microsoft. I asked specifically about biff, and the demo guy confirmed that yes, there is one. Although he specifically used the word "Outlook" (which suggests to me that it may be specific to that (highly undesirable) mailreader, rather than doing POP3 or IMAP checks itself), it is nonetheless a good beginning. That's one of the major things people use panel applets for, so it's important that Microsoft thought to include it. It means they're thinking in the right directions. Also there was a system monitor of sorts (showing CPU usage and a couple of other things; gkrellm it is not, but for a ships-with-the-OS component it is a worthwhile inclusion) and something that looked like it might have been an RSS reader, though I don't actually know where it was getting its data. I didn't ask about the availability of third-party ones, but I imagine they will appear in time.
The bad news is that these panel applets cannot be placed on the regular panel (the taskbar in Windows parlance), only on the special panel dedicated to them. I asked specifically about this and the demo guy confirmed my suspicion. I didn't get a chance to find out how resizeable it is. Nonetheless, it's a beginning, and a good one. Hopefully now that it's a core feature of the Windows UI it will see improvements in future releases.
Posted by Jonadab at 6/09/2007 08:57:00 AM 0 comments
Labels: conferences, microsoft, networks, security, vista, windows
Vienna Timeline Update
An MS exec has announced that the next version of Windows will be "fundamentally redesigned" to take better advantage of multi-core processors. I discuss this further in my Windows Vienna Development Timeline thread.
Posted by Jonadab at 6/09/2007 08:55:00 AM 1 comments
Turning the Users Loose
You never find all the bugs in anything until you turn real users loose on it.
Yesterday at work, while the library was closed, I made the changes to our network infrastructure that have been in the planning and testing stages for several months now. Instead of one firewall protecting our network from the outside world and the subnets from one another, we now have two firewalls: an outer firewall that protects the whole network from the outside world, and an inner firewall that protects mission-critical systems from the rest of the local network. At both points there is no ethernet path past the firewall, so the isolation is at the physical level, and the only stuff that goes through is what the firewall expressly forwards.
I tested everything I could think of to test, of course. My testing checklist, which I spent weeks compiling, was a full page, and many of the lines read along the lines of "Test foo, bar, and baz on all of the staff workstations". I tested ICMP echo. I tested ssh. I tested the web. I tested the ability to access our web catalog. I tested the ability to access our cgi server, and whether each of several internal databases thereon automatically authenticate the user by IP address (which they *are* supposed to do for staff workstations, and *not* for anything else). I tested ftp. I tested the ability to print, to each printer. I tested all of that on each and every computer in the building.
But I forgot to test encrypted websites (https). Naturally, this morning at 9:30 (we open at 9), about five users discovered this oversight at more or less the same time (within the space of a couple of minutes).
I had to actually go in to find out what was wrong, because my coworker who was describing the problem to me on the phone was too flustered (what with several people hounding her about it at once and everything, and not being very technically inclined anyhow) to explain it very well.
So all the way there I was thinking that the internet was completely not working, and I'm like, but I *tested* that right before I left. I tested *every* computer. They could all access the internet last night...
When I got there, of course, I walked over to a patron, who promptly explained that she could access Yahoo mail, but when she tried to "do anything" (which she demonstrates by clicking a "log in" button), ... Ah, yes. I did indeed forget to test any encrypted sites. (I even tested sites that have you log in, but the ones I tested were low-security sites where the only thing at stake would be a little public profile information, so they didn't bother with SSL...)
Sure enough, port 443, although I had intended for it to be forwarded, wasn't. Well, it was from some parts of the network, but not from the patron subnet. Oops. Fixing it, once I figured out what the problem was, was a simple matter.
You never find all the bugs until you deploy.
Posted by Jonadab at 5/29/2007 10:25:00 AM 0 comments
No, Your Child is Not at the Library
Earth to parents:
No. If you have to call the library and ask if your child is here, the answer is no. I know your child probably told you he'd be at the library, but what that really means is he didn't want to tell you where he was going to be, either because he hadn't decided yet, or because he just doesn't want you to know. This is true for children of all ages, but of course it goes double for teenagers. The library is the number one leading lie American children tell their parents about where they are going to be. This was true even before the Spiderman movie a couple of years ago gave the idea to the other 7% of kids who hadn't already come up with it on their own or picked it up from a friend.
Almost all kids who come to the library come with their parents. If you aren't here, then your kids almost certainly aren't here either.
Yes, we do have kids in the library all the time who are not accompanied by their parents, but it's the same two or three dozen kids all the time. (Some of them are here almost as much as they're in school.) If your child were one of them, you would know.
Let me reiterate that: if your child were one of the ones who comes to the library, you would know. If you have to ask, then he's not here. Please stop calling the library and asking if your child is here. Your child is not here.
Posted by Jonadab at 5/23/2007 05:35:00 PM 1 comments
Most Abused Scripture Passages: Ephesians 5
I have for some time intended to document my frustration with the carelessness and disregard with which some people treat the scriptures and, in particular, certain famous passages. In his Mother's Day sermon, Pastor Simpson used Ephesians 5. He handled it correctly (our church is fortunate), but I was reminded of some of the ways I've seen the passage handled in the past, and of my intention to write about this subject.
Marriage too has been on my mind of late, primarily since this May-July this year see me attending three wedding ceremonies in as many months (which is rather unusually many for me).
Note first of all that this passage (and the entire book of Ephesians, really) is primarily talking about the church. The passage certainly does speak to marriage, but people who ignore the larger context often get confused about what it says about marriage. The worst offenders quote just verses 22-24:
Wives, submit to your husbands as to the Lord. For the husband is the head of the wife as Christ is the head of the church, his body, of which he is the Savior. Now as the church submits to Christ, so also wives should submit to their husbands in everything.
These three verses, out of context, have been used to prooftext all manner of dire heresy. I will not dignify most of it with specific responses, except to say that anyone who quotes just these three verses in isolation from the rest of the context is invariably up to no good.
The bare minimum you can quote at one go and have a reasonable chance of doing the passage anything resembling justice is verses 21-33:
Submit to one another out of reverence for Christ. Wives, submit to your husbands as to the Lord. For the husband is the head of the wife as Christ is the head of the church, his body, of which he is the Savior. Now as the church submits to Christ, so also wives should submit to their husbands in everything. Husbands, love your wives, just as Christ loved the church and gave himself up for her to make her holy, cleansing her by the washing with water through the word, and to present her to himself as a radiant church, without stain or wrinkle or any other blemish, but holy and blameless. In this same way, husbands ought to love their wives as their own bodies. He who loves his wife loves himself. After all, no one ever hated his own body, but he feeds and cares for it, just as Christ does the church— for we are members of his body. "For this reason a man will leave his father and mother and be united to his wife, and the two will become one flesh." This is a profound mystery—but I am talking about Christ and the church. However, each one of you also must love his wife as he loves himself, and the wife must respect her husband.
You can see there the mutual nature of the relationship. It's not entirely symetrical, but it is very much cooperative on both sides. And yes, I have looked at verse 21 in the Greek, and it says the same thing as the English translation I quoted. If there is a word there that someone could reasonably take issue with it is "reverence", which could also be rendered "fear". Doing a detailed study on fearing the Lord would take us far off track, and in any case it would not change the basic meaning of this passage. People have been known to take issue with the word "submit", but again any wording that can reasonably be chosen (e.g., place yourselves under one another) would not change the basic meaning of this passage. "One another" is the part of this verse that we cannot get around, and it is borne out in any case by the verses that follow.
Now with that said, the wording and emphasis are quite different on the two sides of the relationship, because the man fills one role in the family and the woman another. And it is true that the man is to be the head of the household (and this is even more clear in other passages). Yet the relationship is very much reciprocal in nature, and if a man is treating his wife as some kind of servant or lesser partner, he is absolutely missing the mark.
It is worth mentioning too that the very closeness of relationship herein implied is fundamentally alien to popular culture's concept of marriage, wherein a much greater separation and individuality is retained.
But we still have not touched upon the main point of the passage. Paul explicitely states in verse 32 what should be obvious to anyone who has been paying attention to the general flow of the whole letter: he is talking about the church. A proper treatment of this passage really should look at 5:21 — 6:9 as a unit. 5:21, in particular, is a concise statement of the whole passage, which is expanded then in three main parts: 5:22-33 (wives and husbands), 6:1-4 (children and parents), and 6:5-9 (slaves and masters) — all of which is talking primarily about proper relationships among believers within the church, and all of which also ties back into what was said in chapter 4.
So if you see a man use Ephesians 5:22 as an excuse to live his live selfishly, making decisions without consulting with his wife, expecting her to work a side job in addition to doing all the cooking and laundry and whatnot while he sits in a chair, and generally treating her badly, tell him to go back and read it again.
Wow, it feels good to vent. There are plenty of other frequently abused passages in scripture. Perhaps I should write up a few more in the coming months.
Posted by Jonadab at 5/14/2007 05:44:00 PM 1 comments
Lightening and Brightening: Color-Safe Bleach for Digital Photographs
I recently mentioned the technique of using an unsharp mask to brighten a dark image, and someone asked me how "sharpening" can compensate for underexposure. This post is an attempt to explain. First, I should note up front that it's better to get a good clear photo in the first place. For the example, though, I have chosen one that is, in a word, not. The end result would be a bit better if the starting photo were a bit better, but using a really poor photo makes it easier to see what is going on, so for the sake of example, that's what I'm doing. This photo was taken using a cheap old consumer-grade digital camera. Here it is in mostly undoctored form:
I say mostly undoctored because I've cropped it. The curious can see more of the context here (this is part of the second photo there), but this much will do for the sake of explanation.
When a photo is terribly dark like this, the first thing most of us want to do (assuming we don't want to just throw it out) is lighten it up. There are various ways to do that, each with advantages and disadvantages (brightness/contrast, gamma correction, channel curves, ...) but the method I usually use in this kind of situation is the levels dialog box. (I'm using Gimp here, but other photo editors presumably have something similar.)
This photo was so underexposed, a significant band of values at the bright end was entirely unused in the original. So I brought the rightmost of the three sliders left to the point where the graph tapered off into nothing. Additionally, the darkest values are over-represented (note the giant spike on the left side of the graph), so I dragged the middle slider to the left a bit in an attempt to compensate. There is, however, a limit to how far you can go with this. After a little experimentation, these are the positions I ended up with:
The color is now rather dull, especially in the background. It was dark, and we've lightened it a bit, but lightening it too much more would wash it out. Instead, at this point I opted to use the unsharp mask filter. Again, I'm using Gimp, but other photo editors (well, ones serious enough to have filters) probably have something similar. Note that I ran the radius up to 50 pixels:
With a small radius (the default in Gimp is five pixels) the unsharp mask exaggerates changes in color across short distances, which helps blurry edges to seem sharper (though, technically, they aren't actually made sharper as such). With a larger radius like this, though, the changes in color are measured, and exaggerated, over larger distances. Rather than picking out edges, this picks out whole areas of the photo and makes them seem more distinct from one another. This has an overall brightening effect, making the colors seem bolder. Again, it can be overdone, but this image really needed it. Look at the difference in the woodwork around the windows from the image above to the one below. The snowflake also now looks white instead of dingy gray.
Finally, this image, in addition to being dark, was also rather grainy. Fortunately, it was taken at a larger resolution than I needed for the web, so I was able to solve this problem simply by scaling it down to a factor of its original size. Note the use of the cubic interpolation: chintzier scaling algorithms like nearest neighbor are not recommended, as they can actually exacerbate image quality problems. Here is my result:
It's still not the best photo ever, but if you scroll back up and look at the original again, you will notice how much worse it was. This really is an improvement. Of course, starting with a better photo initially will yield better results.
Posted by Jonadab at 5/11/2007 11:33:00 PM 0 comments
Labels: photography
Book Review: Born on a Blue Day
The opening paragraph of this book had me hooked right away. That's usually a good sign.
As the next few pages progressed, I began to worry that the entire book would be a loose collection of examples of synesthesia. Then the first chapter ended, and the second chapter began a chronological journey through the author's life. The book is indeed well organized.
I found this book rather interesting. It is well-written and engaging, and the main character (the author himself) is interesting to get to know. The reader can sympathize with him from fairly early in the book.
I do have a couple of caveats, however. In the first place, the cover is a bit misleading with the tagline, "inside the extraordinary mind of an autistic savant". The author is not, in fact, autistic, and never was. This becomes immediately clear upon reading the first pages of the book. He does have Asperger's syndrome, but although Asperger's is considered to be loosely related to autism, it is certainly not the same. It is a much milder disorder, much less debilitating, and much more common. It is normal for someone with Asperger's to lead a more or less normal life. Several major Silicon Valley CEOs have been diagnosed with it. There was an article on Wired a while back entitled The Geek Syndrome, which seems to cover Asperger's pretty well, at a layman's level, so I'm not going to detail it further here. Long story short, I consider this tagline disingenuous on the part of the publisher.
The more interesting thing about the author's mind is indeed (as was hinted from the first paragraph) his pervasive synesthesia, and it IS fascinating, particularly so because it is a first-person account. The first several chapters of the book, covering the author's early childhood, are particularly interesting.
The other caveat comes to light later in the book, when the author reveals he is a practicing homosexual. This is not by any means the focus of the book, however, and it does not appear to color the remainder. For a discerning adult, I would say that the book is still interesting and, indeed, valuable. But I thought I would be remiss if I did not mention it.
A third caveat, if it can be called such, is that I am writing this review without having actually finished the book. I am writing this now, but I may update it later if I come back and finish the book. Another book has pulled me away from it for the time being, but I intend to get back to it and at least read more of the account of the trip to Lithuania, which was only just starting where I left off. That another book was able to pull me away is not a significant criticism. In the first place, this happens to me all the time, and in the second place, the book that pulled me away is by one of my favorite authors. So this is more a caveat about my review, than about the book itself. Caveat lector.
I have little doubt that a significant portion of the critical acclaim this book has received is due at least in part to the fact that the author is homosexual. Nonetheless, it does not follow that the book does not deserve some significant acclaim. It is rare, in my opinion, to see a non-fiction book about a fascinating subject like this receive any significant attention in the kinds of sources where this one has been written up — library-oriented publications particularly. Normally they focus on much less worthwhile books: formula fiction (lots of this), inane autobiographies by celebrities who neither can write well nor have had interesting lives, incoherent political ramblings, vapid self-help books... in a word, drivel. This book is certainly not that, and although the critics may like it for the wrong reasons, they are not wrong to like it.
Posted by Jonadab at 4/28/2007 10:18:00 AM 3 comments
Labels: literature
Born on a Blue Day
I saw this book at the library, and it looked interesting. Now I'm reading it, and it is interesting. So I've set Stone of Farewell on the back burner and am planning to finish this one first. I'll post a review when I finish it.
Posted by Jonadab at 4/12/2007 05:49:00 AM 2 comments
Labels: literature
