- I went from hale and hearty on Monday morning to throwing up and feeling miserable by dinnertime Monday evening. After two days of incarceration on my sofa, I can say a) I blame my commercial flight Saturday for getting me all germed up b) thank you, Instacart, for bringing me needed supplies so I didn’t have to go out in the rain and c) I am thankful for my general good health.
- With the impending death of Google Reader, I’ve switched over to Newsblur. So far I am semi-impressed. It looks good, but it has had terrible performance and uptime problems, brought on by the onslaught of tens of thousands of new users. The iOS client is only OK, and the two Windows Phone clients I’ve found (Feed Me and Metroblur) are both slow and clunky. I hope to see NextGen Reader and Byline support Newsblur; if not I’ll be stuck with the web client, I guess… still, better than nothing.
- I’m loving “The Americans,” although they’re showing signs of falling into the “Game of Thrones” trap of including too much gratuitous sex as a substitute for actual plot or character development.
- My condolences to the families of the seven Marines killed in the mortar accident at Hawthorne Army Depot earlier this week. (And shame on Senator Harry Reid, the shameless one, for linking their deaths to budget cuts brought on by sequestration.)
- It’s funny how Intuit always manages to jack up the cost of TurboTax about 3 weeks before the April 15th filing deadline. They’ll get their extra money this year, as I am in no way ready to file my taxes yet.
- I’ve been accepted as a speaker for TechEd 2013– in both North America and Europe! I’m doing a talk on developing mobile applications with Exchange Web Services. Should be fun; I love New Orleans and haven’t ever been to Madrid.
Thursday trivia #91
Filed under General Stuff
Loading PowerShell snap-ins from a script
So I wanted to launch an Exchange Management Shell (EMS) script to do some stuff for a project at work. Normally this would be straightforward, but because of the way our virtualized lab environment works, it took me some fiddling to get it working.
What I needed to do was something like this:
c:\windows\system32\powershell\v1.0\powershell.exe -command "someStuff"
That worked fine as long as all I wanted to do was run basic PowerShell cmdlets. Once I started trying to run EMS cmdlets, things got considerably more complex because I needed a full EMS environment. First I had to deal with the fact that EMS, when it starts, tries to perform a CRL check. On a non-Internet-connected system, it will take 5 minutes or so to time out. I had completely forgotten this, so I spent some time fooling around with various combinations of RAM and virtual CPUs trying to figure out what the holdup was. Luckily Jeff Guillet set me straight when he pointed me to this article, helpfully titled “Configuring Exchange Servers Without Internet Access.” That cut the startup time waaaaay down.
However, I was still having a problem: my scripts wouldn’t run. They were complaining that “No snap-ins have been registered for Windows PowerShell version 2”. What the heck? Off to Bing I went, whereupon I found that most of the people reporting similar problems were trying to launch PowerShell.exe and load snap-ins from web-based applications. That puzzled me, so I did some more digging. Running my script from the PowerShell session that appears when you click the icon in the quick launch bar seemed to work OK. Directly running the executable by its path (i.e. %windir%\system32\powershell\v1.0\powershell.exe) worked OK too… but it didn’t work when I did the same thing from my script launcher.
Back to Bing I went. On about the fifth page of results, I found this gem at StackExchange. The first answer got me pointed in the right direction. I had completely forgotten about file system virtualization, the Windows security feature that, as a side effect, helps erase the distinction between x64 and x86 binaries by automatically loading the proper executable even when you supply the “wrong” path. In my case, I wanted the x64 version of PowerShell, but that’s not always what I was getting because my script launcher is a 32-bit x86 process. When it launched PowerShell.exe from any path, I was getting the x86 version, which can’t load x64 snap-ins and thus couldn’t run EMS.
The solution? All I had to do was read a bit further down in the StackExchange article to see this MSDN article on developing applications for SharePoint Foundation, which points out that you must use %windir%\sysnative as the path when running PowerShell scripts after a Visual Studio build. Why? Because Visual Studio is a 32-bit application, but the SharePoint snap-in is x64 and must be run from an x64 PowerShell session… just like Exchange.
Armed with that knowledge, I modified my scripts to run PowerShell using sysnative vice the “real” path and poof! Problem solved. (Thanks also to Michael B. Smith for some bonus assistance.)
Filed under General Tech Stuff, UC&C
Thursday trivia #90
- Had my first sample of Vietnamese food yesterday, courtesy of (and thanks to!) Bo Williams. The food and company were both top-notch. For the record, I had the clay pot.
- Damnit, Google. Why couldn’t you have killed Orkut, or one of the other worthless services you offer, instead of Google Reader?
- This morning two of the newspresenters on WAAY-TV were handling a large snake. Is it ratings week, or has the Bay Area just changed my tastes in TV news?
- Just wrapped chapter 6 (Exchange 2013 message hygiene) of the book and sent it off for review. Now I’m working on chapter 4, the client chapter. Lots to say about Outlook and the all-new Exchange 2013 version of OWA.
- Two more books added to my reading queue: The Invisible Gorilla: How Our Intuitions Deceive Us (think: the opposite of Malcom Gladwell’s Blink) and Broken Hearts: The Tangled History of Cardiac Care (which claims, among other things, that most catheterizations and other invasive procedures don’t actually improve survival outcomes). Finding time to read them, of course, is a completely different matter.
- Apropos of which, my reading lately has focused on the study guides for my instrument flight rating…
Filed under General Stuff
Why you should keep multiple backups
I spent the weekend a) in Huntsville with the boys and b) in a fog of cold medication. In fact, I called in sick to work today, which is really unusual for me. A coworker e-mailed me to ask for a couple of documents I’d written, and when I saw her e-mail (I called in sick, not dead, so I was still checking e-mail), I couldn’t find the files in SkyDrive on my Surface Pro. “Oh,” I thought. “I must have checked them in to our SharePoint site.”
Nope.
“Maybe they’re on my work desktop.” A quick RDP connection and… nope.
Now I was beginning to freak out a bit. I knew I had written these documents. I knew right where I’d left them. But they were nowhere to be found.
I went back to my MacBook Pro, which is sort-of my desktop now.… nope.
Then the fog lifted, oh so briefly, and I figured out what had happened.
For some reason, about a month ago, the SkyDrive client for OS X started pegging the CPU at random intervals. It was still syncing, most of the time, but when it started burning the CPU it would kick the MacBook Pro’s fans into turbo mode, so I started shutting the app off until I explicitly wanted it to sync. (This reminded me of the ancient technology known as Groove, but let us never speak of it again.) Eventually I got tired of this and started troubleshooting the problem. The easiest solution was to remove and reinstall the app, so I did. Before doing so, I made a backup copy of the entire SkyDrive folder, renamed it to “Old SkyDrive,” and let the newly installed app resync from the cloud. Then I deleted the old copy.
Fast-forward to today. I realized what had happened: the documents had been in the old SkyDrive folder, they never got synced, and now they were gone.
But wait! I do regular backups to Time Machine when I’m in Mountain View. I looked in Time Machine… nope.
“Oh, that’s right,” I muttered. “I created those files and ‘fixed’ SkyDrive last time I was in Huntsville.”
But wait! I also use CrashPlan! I fired up the app… nope.
Then I noticed the little “Show deleted files” checkbox. I checked it, typed in the name of the files I wanted, and in 90 seconds had all of them restored to my local disk.
So, the moral of the story is: a) make backups and then b) make backups of your backups. Oh, and go easy on the Benadryl.
Filed under General Tech Stuff
Thursday trivia #89
- I spent Sunday with my extended tribe in Seattle– I had coffee with Tim and Julie, then lunch with my old friend John Peltonen of 3Sharp (who looks just like he did the last time I saw him– no aging at all!), then an afternoon get-together with several Exchange MVPs, including Jeff Guillet, Tony Redmond, Michael van Horenbeeck, Steve Goodman, Paul Cunningham, Sigi Jagott, Brian Desmond, and Clint Boessen. Then Tony and I had a very productive meeting with Karen Szall, our editor at Microsoft Press. (On that note I think there will be some interesting news coming from MS Press in the near future… stay tuned!)
- I couldn’t stay for the MVP Summit because I needed to be back in California to help kick off the second class of students for the school we’re doing for the Veterans’ Administration. My first week teaching is next week and I’m looking forward to it; I’ve been in bug-fixing mode for a while and look forward to more classroom time.
- I’m still loving the Surface Pro. I was able to find a Surface 128GB at the Best Buy in Issaquah, and Windows Easy Transfer worked flawlessly to move over all of my settings and accounts. It didn’t transfer purchased apps from the Microsoft Store, but it turns out that swiping down from the top of the screen while in the store app reveals a link that will download all your previous purchases.
- Fascinating article in the New York Times about the junk food industry and the science and technology used to make junk food addictive. It’s interesting to consider this in light of the LDS Church’s “Word of Wisdom“, which says that the famous Mormon dietary law was given “in consequence ofevils and designs which do and will exist in the hearts of conspiring men in the last days.” Purposely making unhealthy foods addictive sure sounds like “evils and designs” to me.
- I haven’t flown much lately, but this weekend I’ll be doing my rental checkout at the Redstone Arsenal Flying Activity, where my instructor is an honest-to-goodness rocket scientist. It’s also about time for me to start learning how to fly the Cessna 182 (and its retractable-gear sibling, the 182RG). After that, once the book is finished, it’s instrument-rating time!
Thursday trivia #88
- Happy birthday to the one and only Julie A. Robichaux! My dear sister is a terrific writer who can tear a strip off of a miscreant or write a sweet paen to motherhood and apple pie, sometimes in the same post, while making it look easy. I’m grateful that her rapier wit, good looks, and artistic sense help raise the family average of same above my own mediocre levels.
- In the third quarter of calendar 2012, Huntsville was the #1 airport in the nation… for airfare, with an average fare of $522. When I only pay $500 for a trip SFO-HSV I consider myself lucky.
- Surface Pro observation du jour: thé Staples in Madison, Alabama has gotten “tons of phone calls” about the Surface Pro 128, and has run out of stock every day on the 64GB model– as soon as they get one or two in, they sell them again. “I could have sold 10 or more on Saturday,” said the manager to me tonight. Anecdotes, of course, but if a smallish city like Huntsville has strong demand…
- Got to do a presentation to a group of MVPs this week on how to get into the publishing business. It was fun– thanks for coming, y’all!
- This article is a decent summary of why I fear the upcoming merger between American and US Airways. I prefer to fly Delta when I can, but American’s schedule from the Bay Area to Huntsville is better, so I often fly them… but if they descend to US Airways’ service level, I won’t.
- Speaking of publishing: the first two book chapters are in Microsoft’s hands, and I’m busily working away on the third. I’ve also edited the first two of Tony’s chapters. More to follow.
- Nice to see the Toledo Blade in the news again.
- Right after I posted my thoughts on auto-kill-drone-scary-things, I saw this article about the “domestic drone industry” pressuring the FAA. Good luck with that, guys; the FAA doesn’t pressure all that well.
Filed under General Stuff
An offer for Tim Cook
[note to readers: I encourage you to repost, retweet, and otherwise spread this offer. It’s legit; I am happy to help Apple in any way that I can. Since I don’t have any Apple execs on speed dial, perhaps social media will get this to the right folks. ]
Dear Mr. Cook:
We’ve never met. You’ve almost certainly never heard of me. But I’m going to make you an offer that I hope you’ll accept: I want to help you quit making such a mess of the world’s Exchange servers. More to the point, I want to help the iOS Exchange ActiveSync team clean up their act so we don’t have any more serious EAS bugs in iOS. The meeting hijacking bug was bad enough, but the latest bug? the one that results in Exchange servers running out of transaction log space? That’s bad for everyone. It makes your engineers look sloppy. It makes Exchange administrators into the bad guys because they have to block their users’ iOS devices.
These bugs make everyone lose: you, Microsoft, and your mutual users. They’re bad for business. Let’s fix them.
You might wonder why some dude you’ve never heard of is making you this offer. It’s because I’m a long-time Apple customer (got my first Mac in 1984 and first iPhone on launch day) and I’ve been working with Exchange for more than 15 years. As a stockholder, and fan, of both companies, I want to see you both succeed. Before there was any official announcement about the iOS SDK, I was bugging John Geleynse to let 3Sharp, my former company, help implement Exchange ActiveSync on the phone. He was a sly devil and wouldn’t even confirm that there would be an EAS client for the phone, but the writing was on the wall– the market power of Exchange Server, and the overwhelming prevalence of EAS, made that a foregone conclusion.
I’m an experienced developer and a ten-time Microsoft Most Valuable Professional for Exchange Server. I have experience training developers in Exchange Web Services, and I know EAS well; in fact, I was an expert source of evidence in the recent Google/Motorola vs Microsoft case in the UK. As a long-time member of the Exchange community, I can help your developers get in touch with experts in every aspect of Exchange they might want to know about, too.
It’s pretty clear that your EAS client team doesn’t know how Exchange client throttling works, how to retry EAS errors gently, or all the intricacies of recurring meeting management (and how the server’s business logic works). If they did, the client wouldn’t behave the way it has. They could learn it by trial and error… but look where that’s gotten us.
I’m in Mountain View, right up the road. Seriously. Have your people call my people.
Peace and Exchange 4eva,
-Paul
Coming soon: do-it-yourself armed drones
I recently finished Daniel Suarez’s excellent thriller Kill Decision. The major plot point: parties unknown have been releasing autonomous, armed drones that are killing people in a variety of ways. The drones are capable of insect-level intelligence and swarming behavior, and of autonomously finding human targets and bombing or shooting them. Suarez asks a fairly provocative question: would America’s love affair with drones change if other countries, or criminal syndicates, or even individuals had them and used them as freely in the US as we use them elsewhere? Great plot, well-written, and solid characterizations– by far the best of his books so far. Highly recommended.
Anyway, with that in mind, I saw an article on the Lawfare blog about a guy who equipped an inexpensive commercial drone with a paintball marker. This video shows it in action, hitting targets easily while maneuvering slowly. The video’s a little fear-monger-y, but the narrator is right: “it seems inevitable” that these drones will be used in ways the manufacturer didn’t anticipate. I sent the video to a couple of coworkers, one of whom asked “I wonder how hard it is to shoot accurately with it?” That got me to thinking… so off the top of my head, I jotted down a few factors that would affect the accuracy of a firearm-equipped drone. Note that here I’m talking about an autonomous UAV, not a remotely-piloted, man-in-the-loop drone.
- What’s it for? What kind of range and endurance do you need? It would be easy to build a sort of launch rack that would launch a drone to check out a target that triggered a tripwire, motion detector, etc. It’d be a little harder to build one that could autonomously navigate, but definitely doable– as Paul proved with his Charlie-following project. See also: the Burrito Bomber, which can follow waypoints and then deliver a payload on target. Drones to sneak into somewhere and snipe a single target would have different range/payload requirements than a patrol or incident-reponse drone. This drives the weight of the drone (since more range requires more fuel).
- What’s it packing? The purpose of the drone dictates what kind of firearm you want it to carry. Some of Suarez’s drones had short-barrelled .38 pistols, which are plenty good enough to kill from close range but wouldn’t be very accurate past around 35 feet or so. A longer barrel and a heavier round would provide better accuracy, at the cost of weight and size.
- How much range do you need? A sniper drone that can shoot targets from 1500yds is definitely feasible— use a .50 Barrett, for example. It would be heavy and range-limited, though, unless you wanted to make it bigger. In general, heavier bullets are more stable and give you better accuracy, but they’re heavier to carry and shoot.
- How stable is the drone? A light drone that’s sensitive to wind, etc. will be harder-pressed to make accurate shots. Gyrostabilizing the gun platform would help, but it would add a weight and cost penalty (including for power for the gyros, plus the gyros themselves). The bigger the drone, the more sensors, power, and ammo you can carry… but the more noise, infrared, and visual signature it creates. A small sneaky drone may be a better deal than a large, more powerful one.
- What can you see? In other words, what kind of sensors do you have for aiming? How good is their resolution and range? Do they have to be automated? If so, you need to be able to either fire at the centroid of the target or track interesting parts, like wheels of a truck or a person’s head), using machine vision.
- Where are you pointing the gun, and how accurate can you be? What kind of angular resolution does the gun-pointing system have? If you’re willing to slow to a dead hover, or nearly so, you can be very accurate (as in the video above). If you want to go faster, you’ll have a more challenging set of requirements– you have to be able to point the gun while the drone’s moving, and changing its aim point means fighting inertia in a way you don’t have to worry about in a hover.
There are lots of other more subtle considerations, I’m sure; these are just what I came up with in 5 minutes. Any engineer, pilot, or armorer could come up with a couple dozen more without too much effort. Of course, you could just buy a pre made system like this one from Autocopter. Isn’t it great to know they’ll lease you as many UAVs as you need? Just for a ballpark figure, Autocopter quotes an 8Kg payload on their smallest drones– figure 3Kg for a cut-down M4 and that leaves you a reasonable 5Kg for sensors, guidance, navigation, and control.
What could you do with such drones? The mind boggles. Imagine that, say, your favorite Mexican drug cartel cooked up a bunch of these in their machine shops and used them to guard the pot farms they run in national forests. Or say the white-supremacy militia guys in Idaho built some for sovereign defense. Or suppose you built 100 or so of them, staged them inside an empty 18-wheeler with a tarp over the top, then launched them into Candlestick Park during a 49ers game. There are all sorts of movie-plot-worthy applications for these drones, to say nothing of the ones Suarez wrote about.
Meanwhile, the February 2013 NASA Aviation Safety Reporting System (ASRS) newsletter is full of safety reports filed after drones got into airspace where they weren’t supposed to be… and these were piloted, unarmed drones. How careful do you think these hypothetical armed drones would be about respecting the National Airspace System? I think I’ll be extra careful when flying around… that smudge on the windscreen might turn out to be an armed autonomous drone.
Filed under aviation, General Tech Stuff, Musings
Surface Pro first impressions
Saturday morning I decided, more or less on the spur of the moment, to try to grab a Surface Pro and try it out. This follows a well-established pattern; I wasn’t going to buy an Xbox 360 when it first came out, or an iPhone, and yet somehow on launch day I ended up with both of those. Anyway…
After some fruitless searching, Tom and I found a local Staples that had a 64GB Surface Pro. This was no mean trick because Huntsville doesn’t have a Microsoft Store (I know, right?) and the local Best Buys got zero stock. In fact, as far as I could tell there were none shipped to stores in Memphis, Nashville, Birmingham, or Atlanta. I’m betting that at least the Atlanta region got a handful but those sold out. Anyway, my local Staples stores apparently got 1 64GB unit apiece, so I went out and grabbed one. Total cost with the Type Cover and sales tax was $1111.
This isn’t a review; it’s more a collection of observations, since I don’t have time at the moment to string together a coherent narrative instead of just giving you factoids and observations. Thus this post is worth what you’ve paid for it 🙂
The hardware build quality is superb. It’s true that the device is thicker and heavier than an iPad, but it’s much lighter and smaller than my 15″ MacBook Pro. I was able to comfortably use it on my lap while on the sofa. One thing I didn’t expect: the Type Cover flexes more than I thought it would. I guess I hit the keys hard or something. This was a little disconcerting at first. The kickstand works very well, and I’ve gotten used to the odd feel of having the Type Cover folded around the back of the unit.
Setup was simple: I signed in with my Microsoft account and it synced all of my profile information. SkyDrive works beautifully, as do all the other Microsoft services (notably Xbox LIVE). I’m glad to have multiple accounts on the device, because the kids cannot get enough of playing with it. They’re used to the iPad and don’t think of it as remarkable, but all of them are fascinated by the Surface. David’s used it for two homework assignments– in preference to his Win7 laptop; Tom is fascinated by the pen interface; and Matt likes that he can play all the Flash-based games that don’t work on the iPad.
The Surface Pro is fast. It boots fast, apps run fast, and the UI performance is “fast and fluid,” to coin a phrase. It does have a fan, and in a silent room you can hear it when it kicks in, but it’s not obtrusive– it’s quieter than the fans in my MBP, for example.
Battery life? Haven’t tested it, don’t much care. If I want to just browse and watch, I’ll use the iPad, with its excellent battery life. The Surface Pro is an adjunct to, and replacement for, my “real” laptop, which means a 4-5 hour battery life will suit me just fine. I do want to see whether I can charge it with my external 10Ah battery (the excellent RAVPower Dynamo), though I’ll need an adapter.
Setting up VPN access to my office network was trivial. Lync MX won’t work until I get some more server-side plumbing set up. I tried to sign in to the desktop version of Lync 2013 and couldn’t because I didn’t have the necessary server certificate– but going to the Windows Server CA page with IE 10 resulted in a message from the server telling me that my browser couldn’t be used to request a certificate, even though all I wanted to do was download the CA chain. I’ll have to look into this.
And speaking of desktop access: I was easily able to turn on RDP access and hit the tablet from my Mac, but there’s a bug in CoRD that makes the cursor sometimes disappear. I haven’t tried Microsoft’s (lame and poorly maintained) RDP client, nor have I tried RDP from a Windows machine. Just to see what would happen, I plugged the cable from my desktop monitor into the Surface Pro’s mini-Display Port and immediately got a beautiful, mirrored 1920 x 1080 desktop, as expected.
As many other reviewers have noted it’s a little disorienting at first to have two separate environments: desktop and Metro. However, since I can alt-Tab to switch between apps, in practice that has been absolutely no problem for me. The lack of a Start menu is a bit aggravating, but again, there’s an easy solution: tap the Windows key and start typing. Problem solved.
One night, I sat on the sofa using Word 2013 on the Surface Pro to revise a book chapter. This worked very well; I much prefer the UI of Word 2013 to Word 2011 on the Mac. I didn’t try using any pen input as part of my editing workflow, although that’s on my to-do list.
The smaller physical size of the Surface Pro compared to the MBP is a great asset; I’m looking forward to using it on commercial flights. The Ars Technica review shows the Surface as having a larger footprint than the MBP, but that ignores the fact that you have to open the MBP to use it, and when you do, the screen won’t be at 90° to the bottom– it’ll be tilted further back, which is where the footprint problem comes from. In that configuration the MBP screen impinges on the seatback space, which is how laptops get broken by reclining seats.
I tried running Outlook 2013, flipping out the kickstand, and using the Surface as a calendar display sitting next to my main screen. It’s a fantastic size to use as an adjunct display like that; I could have multiple browser windows (American, Delta, and kayak.com) plastered all over my man 2560 x 1440 desktop and still have glance-able calendar access.
Bottom line: I’m well pleased with the Surface Pro so far and will be swapping out my 64GB unit for a 128GB unit as soon as I can find one in stock.
Filed under General Tech Stuff, Reviews
Exchange 2010 SP3 released
It’s here!
Microsoft today released Service Pack 3 for Exchange 2010 (available from http://www.microsoft.com/en-us/download/details.aspx?id=36768).
SP3 enables full coexistence between Exchange 2010 and Exchange 2013, plus it adds a couple of new features, such as Windows Server 2012 support. See the full feature list here.
After you’ve upgraded allof your 2010 servers to SP3, you will be able to install Exchange 2013 in your forest. Opinions differ on whether you should– for example, fellow MVPs Tony Redmond, Michael B. Smith, and Jason Sherry all agree that you should wait. For my part, I’m OK with deploying 2013 into production; it does have some rough edges, but I think CU1 is right around the corner, so adding 2013 in your environment now is certainly defensible.
Filed under UC&C
Thursday trivia #87
- My Kickstarter record of late hasn’t been so great. I’m still waiting for the Pebble I ordered, and today I got a notice from the Honey Badger BBQ sauce folks that said “DO NOT CONSUME ANY OF YOUR SAUCE; IMMEDIATELY DISPOSE OF YOUR SAUCE.” Oh well.
- Lots to say about the Surface Pro; I just need to collect and organize my thoughts first. I want one, I think. But with the next generation Intel CPUs promising dramatically lower power usage, I might wait.
- I’m not going to the MVP Summit this year; too much work and too little time. I have to be in Seattle the day before the seminar starts, so I may drop in for a short while on Monday though– hit me up if you want to meet.
- Ross Anderson’s seminal Security Engineering is now available online for free. You should read it (yes, even you, Mom.)
- Lots of events coming up! Next up: I’m doing a three-session webcast on Exchange 2013 at the end of the month. I’ve just sent off session proposals for TechEd North America and TechEd Europe, too.
- The first chapter of my book has gone off to Microsoft Press for editing; the second chapter, on mobile device management, has gone off to my crack team of volunteer reviewers. Onward…
Bonus fun fact: even FedEx isn’t immune to the charms of Mardi Gras.
Filed under General Stuff

