Sit in the Corner

I started a blog post about this, but it talked about terabytes NASs, HDTV DVRs, VoIP / SIP, LDAP, DNS caches, NTP strata, and a bunch of acronyms.

So instead I’ll be incredibly precise. This PC, seemingly sold only at Walmart, is really cool. It’s not that fast. Its specs are bad any way you look at them. Unless you look at power consumption. 20 Watts peak power, 2 Watts average. By comparison, my desktop machine has a 300 Watt power supply. For someone who wants to set up an always-on Linux server, this thing is screaming your name. I’m strongly attracted to the idea of setting this thing up with handful of 500 GB drives, to build a network fileserver with a terabyte or two of capacity. And doing software RAID across them. (I’m fairly certain that the hard drives would draw more power than the whole system… Although you could set up power-saving features, since a home fileserver could surely power down the drives periodically.)

There’s also a cheaper one that seems to be the same, except it comes with 512 MB RAM instead of a gig, and comes with gOS instead of Vista. I’m dying to play with OpenFiler, a Linux-based “appliance” software package for some superb fileserver tools.

ShotSpotter

Are you familiar with the Shotspotter system? I’d seen it on a National Geographic TV show, and remembered in the back of my head reading about it being deployed in parts of Boston. It’s actually very cool how it works — it essentially has a big array of microphones, and when it “hears” a gunshot, it’ll compare the exact time of arrival of the sound at each location to triangulate a position, which then pops up on a dispatcher’s screen.

So I’m listening to Boston PD on the radio, and maybe five minutes ago the dispatcher called out for a reading on the ShotSpotter system. “Five, six, seven, looks like eight shots fired.” She figured out the location from the map (apparently, an alley), and started a couple cars. In maybe 60 seconds an officer was on the scene, reported a car leaving, and had confirmed that shots were fired with a witness.

About a minute later, the dispatcher said that they had received a 911 call for shots fired from the same location. (Which means that they had an officer arriving on scene by the time the call came in!) They’ve just pulled over a possible suspect, and another officer found the shell casings. Detectives are en route now for forensics processing.

I’ve got to say, this seems like a pretty impressive system.

Nightmare Playgrounds

Excerpt
MetaFilter, the parent component of my beloved Ask MetaFilter, is quickly earning its place as one of the sites I check daily.

A post there today links to a priceless photo gallery, Nightmare Playgrounds. They’re photos of actual playgrounds, surely designed by people who had disturbed childhoods and wanted to ensure that generations of children to follow would have the same.

What’s scary isn’t just the photos of the playgrounds… It’s that people actually thought it was a good idea to put these things in playgrounds. And that kids actually play at playgrounds with these freaky things in them.

Awesome Radios

So the Project 25 protocol, with its IMBE CAI digital voice, is being rolled out in huge numbers. Motorola’s ASTRO is the most commonly-used, although several other providers make radios that do the P25 standard, too.

They’re calling it interoperability. When you and the next town over both buy $3,000 radios doing a crappy 9600bps digital audio protocol, your radios can talk to each other! I’m really not sure who fell for this, since the existing strategy, analog voice, worked 100% of the time. They’re switching people over to a new, proprietary (kind of: the voice codec is proprietary, but it’s part of an open standard) digital system so that everyone’s radios can talk to each other. This has never made sense to me.

The other big problem is that there are multiple bands out there. In New Hampshire, VHF is most common. You’ll find police, fire, and ambulances between 152 and 161 MHz. (More or less: they expand a bit on both sides.) Massachusetts is big on UHF, with the police usually being between 460 and 490 MHz. But it’s not quite that standard–some municipalities do their own thing. The 800 MHz band is becoming big, too, especially with trunked radio systems. You find that a lot in big cities. (Indeed, I think Manchester and Nashua are on 800, though I don’t monitor either so I wouldn’t swear to it.) And now there’s a 700 MHz band coming out that’s slowly being introduced.

As a ham, we have allocations on VHF and UHF that are both very common: 144-148 MHz and 420 or 430 through 450 MHz. Since both are commonly used, a lot of ham radios will do both bands. So my ham radios merrily transmit on both VHF and UHF. But, for whatever reason, this never caught on with “commercial” radios, like the ones public safety agencies use. If you want your police cars to monitor VHF and UHF, you put two radios in them. God forbid you work for something like a huge city, or a regional task force, where you may need to communicate on VHF, UHF, and 800 MHz. That’s three radios everyone will need to carry.

Vertex (the “commercial” branch of Yaesu, a ham company) made a dual-band radio. Once. The FTH-2070 came out in the 80s (?) and did VHF and UHF in one radio. It was huge, but for people who needed both bands (lots), it was a huge boost. For some reason, no one ever made a radio to follow in its footsteps, and the radio hasn’t been made for several years.

So it’s actually a grand mess. You have four different bands that a public safety agency may be on. They might be using analog voice, or they might using digital. (And this isn’t even counting wacked-out proprietary standards like OpenSky / EDACS / SmartNet, which are all additional technologies that need their own radios.)

Finally, someone saw the light. Thales has announced The Liberty, a handheld that supports P25 digital (and, of course, analog voice), and covers all four major bands. Pricing is rumored to be around $5,000, but you have to keep in mind that it’s doing the job of four radios that would probably cost $2,500 each. It’s SDR-based, front-panel programmable, and supports several different encryption protocols as well.

Thales previous filled a bit of a niche market. It looks like they do a lot of government stuff, and I seem to recall them being bigger overseas (but maybe I’m confusing them with another company). But this radio has a lot of high-end radio afficionados over here drooling. They not only did a dual-band radio, but they did a multi-band radio. It’s got a big color screen. (What the functionality is remains to be seen.) I think a lot of people, not just me, are hoping that this will lead to more competition, which will lead to more innovation.

The Most Awesome Thing…

…Ever.

Hulu. You can watch TV shows online. In (seemingly, I don’t know the exact resolution) high def. That’s pretty cool. Plus, it’s legal. Oh, and, the most important part: there’s no catch… It’s free. You sign up and watch TV shows.

With shows like Arrested Development, The Office (only 9 episodes right now), House (only 2 episodes), Psych (5), Monk (6), Journeyman (13), I Dream of Jeannie, National Geographic Presents, and…

Alright, you know what? I started listing the cool shows to write a nice, proper review. But the truth is, I really don’t want to write this anymore. I have 8 episodes of The Office, and an episode each of House and Psych to watch. And that’s just of the first four series I’ve listed. Paging through the list of shows to list the ones I love, I realized that I’d much rather be watching Hulu than writing about it.

So sign up and come join me in what might be the single biggest blow ever dealt to American productivity.

Yes we can… win Texas

Quoth the votemaster:

Texas finally got the votes counted. The net result is that Obama actually won Texas. Clinton got four delegates more than he did in the primary but he beat her by nine delegates in the caucus. Between Texas, Wyoming, and Mississippi, he now has a bigger lead in delegates than he had before March 4.

As an armchair (business) strategist, I have to say that Hillary’s attempt to claim him as her VP was a clever, if hilariously transparent, attempt to draw attention away from the fact that he is winning no matter how you slice it. Let me be sappy and quote (which itself quotes Obama). It seems quite apropos here:

We know the battle ahead will be long, but always remember that no matter what obstacles stand in our way, nothing can stand in the way of the power of millions of voices calling for change. We have been told we cannot do this by a chorus of cynics… They will only grow louder and more dissonant.

Time

So I’ve mentioned before that I run an NTP server. Stratum 2, which means it gets its time from a “Stratum 1,” which is set directly to something reliable. The main goal of NTP is to keep clocks in sync, and it’s pretty accurate, down to a fraction of a second, which is more accuracy than most people need. All of my computers will now agree on the time down to a second.

The ultimate source, of course, is the atomic clock. But there isn’t an atomic clock, per se. There’s actually an array of them, each using cesium or hydrogen as an atomic reference. Collectively they form “the” atomic clock, which is used as a frequency standard.

It’s all well and good to keep your computer clock (and wristwatch, and microwave, and oven, and wall clock…) synced within a second, but some things need more accuracy. The USNO (US Naval Observatory, in charge of maintaining the atomic clock system) explains one common scenario well: systems for determining one’s location, such as GPS and LORAN “are based on the travel time of the electromagnetic signals: an accuracy of 10 nanoseconds (10 one-billionths of a second) corresponds to a position accuracy of 10 feet.” There are also lots of other scientific uses for extremely precise time, many of which I couldn’t even begin to understand the basic premise of. But suffice it to say that there are actually a lot of times when knowing the time down to the nanosecond is important.

Things like NTP don’t cut it here. You can get down to the millisecond, but you need to be about a million times more accurate. (A millisecond is a thousand microseconds, which is a thousand nanoseconds.) So how do you keep the exact time? It turns out that there are actually several ways. One way (decreasingly common) was to keep an atomic clock of your own. You can buy a “small” (the size of a computer…ish) device that has cesium or hydrogen or rubidium inside of it, which keeps pretty accurate time. Over time it’ll wander, but at least short-term, it’s quite accurate.

One of the first ways is WWV, a shortwave radio station. (And it’s Hawaiian sister station, WWVH.) They run continuously, disseminating the exact time via radio as observed from the atomic clock system. In the past I’ve synced my watch to this source. More notable, in a behind-the-scenes type of way, is WWVB, a low-frequency (60 kHz) radio broadcast. This is what all your “atomic wall clocks” sync to. (Incidentally, I’ve read that most of them are fairly cheaply built, meaning that their time is really not accurate to more than a second.) Another interesting sidenote is the deal with their antennas: a quarter-wavelength antenna at such a low frequency is 1,250 meters tall, or about 4,100 feet (nearly a mile). But with some wacky designs they can overcome this (although pouring 50,000 Watts into it also helps).

The problem with “straight” receivers for WWVB, though, is that you have to figure in the time it takes for the signal to reach you, which is rarely done all that well (if at all). Instead, a more common technology is used: GPS.

It turns out that GPS carries insanely accurate time. Wikipedia has a really good article on it. Each GPS satellite carries an atomic clock onboard, and people on the ground keep it synced (with nanosecond accuracy) to the atomic system. There’s some funky correction going on to keep things perfectly accurate. GPS has a claimed accuracy of 100 nanoseconds, although people have found that it’s actually about ten times better, down to 10 nanoseconds or so.

As an aside, GPS in general is an interesting read. There’s a lot more going on than meets the eye. I recently dug up an old GPS and wondered if it needed an “update” to get new satellite positions: with ham satellites, we get periodic updates for our tracking software to account for changes in their path. GPS has a neat solution, though: the satellites broadcast this data. Actually, more accurately, they broadcast all the data for all the satellites, so that seeing one satellite will fill you in on the whole setup. There used to be Selective Availability, basically a deliberate introduction of error into the signal. The premise was that we didn’t want enemy forces using it: imagine a GPS-guided rocket, for example. So we introduced error of about 30 meters for a while. Ironically, it was ended because our own troops (before Iraq) couldn’t get the military units, so they were just buying off-the-shelf civilian units and incurring the decreased accuracy. So Selective Availability has been turned off, and there are indications that it was permanent. A third interesting tidbit is that the GPS satellites carry much more than might meet the eye, including equipment monitoring for nuclear detonations.

The timekeeping problem is what to do when you get the time at the GPS, though. High-end GPS units will provide a pulse-per-second signal, which you cna hook up to a computer via serial, and achieve great accuracy. But there are all sorts of considerations I never thought of. Between the time it actually charges the pin and the time the operating system has processed it takes a little bit of time, os there are special kernel modifications available for Linux and BSD to basically get the kernel directly monitoring the serial port, to greatly speed up its processing. I also discovered the Precision Time Protocol (commonly known by its technical name, IEEE 1588), which is designed to keep extremely accurate time over Ethernet, but apparently requires special NICs to truly work well.

I’ve also learned another interesting tidbit of information. CDMA (which is a general standard, not just the cell phone technology that Verizon uses) apparently requires time down to the microsecond to keep everything in sync, such as your multiple towers and all the units (e.g., phones) in sync and transmitting at the right times. So the easiest way to keep all of their towers in sync to a common standard was to put a GPS receiver at each tower and sync the system to that. Thus CDMA carries extremely accurate time derived from GPS, which has led to some interesting uses. It’s hard to get a GPS signal indoors, so they now make CDMA time units–they sit on a CDMA network in receive-only mode, getting the time but never taking the “next step” of actually affiliating with the network. This lets people get GPS-level accuracy inside buildings.