Internet Radio

I still remain a fan of SomaFM, a network of awesome streaming music.

Two interesting things I’ve come across, though:

The first is AACPlus. The webpage makes it look like a minor little project. But it’s being used by a number of streaming stations, and it’s supported by VLC and WinAmp, among others. What makes it notable is that I’m listening to a 48 kbps stream of one of Soma’s stations right now… And it sounds better than a 128 kbps stream. You can apparently drop it to 32 kbps and drop to just slightly less than CD quality, and at 24 kbps it’s still on par with MP3 streams. It works out great: it delivers high-quality audio to me, and instantly doubles (at least) the number of listeners they can handle, since bandwidth is almost always the “limiting reactant” with streaming audio.

In other news, the RIAA is apparently having luck getting Congress to raise webcasting rates enormously again… In some instances they’ll apparently go up by more than 1,000%. If you check out the Soma site, they’re coming up short on funding every month, pleading for donations to stay online. This is the case with a lot of streaming radio sites, too. They’re barely staying online as it is. Raising their rates by a factor of ten is going to kill Internet radio.

Pollution

I don’t consider myself a ‘hardcore environmentalist,’ but I’m not sure there’s anyone on the planet who wouldn’t agree that this is absurd.

It could be easily fixed, too, if someone (Indonesian government? UN? Environmental groups?) were willing to pay a bit. Hand out nets, and offer a nominal amount of money for each pound of garbage pulled out of the river. 5 cents a pound? Figure that they can get at least 100 pounds of garbage in a big net, in probably twenty minutes of work. You just need to drag it behind you until it’s full.

I’m sure that pulling all the garbage out of the river won’t instantly cure it of its problems. (Currently, even fish can’t live in it.) But I’m also pretty confident that pulling all of the garbage out of the river would be an improvement over leaving it in…

Obama Wins…

A quick recap of Obama’s wins this weekend:

  • Maine
  • Louisiana
  • Nebraska
  • Washington (State)
  • Virgin Islands
  • The Grammys

What’s interesting isn’t so much that Obama won a Grammy, but that he was competing with Bill Clinton for the award, and that both Clintons and Obama have previously won Grammy Awards.

Another interesting trend, mentioned here (among many others) is that Obama wins in a landslide in every caucus. We saw that he can win plenty of primaries, too, but he really shines in the caucuses, which tend to be poorly-attended. Combine that with him having very enthusiastic supporters, the type of people that will spend hours at a caucus, and it’s not too surprising.

The Votemaster” (at Electoral-Vote.com) has an interesting cartogram up. The Hillary states (pink) versus the Obama states (purple) almost seem to resemble the general 2004 vote: most Kerry states went for Hillary, and most Bush states went for Obama. We still have Wisconsin and Virginia this month, with 23 delegates up for grabs. Texas is coming up in March, and the latest polls (late January) show that Clinton has a lead. Whether this will remain the case or not is to be seen.

Deciphering the Madness

A lot of people (myself included, until recently) are really confused by the discussion of delegates and superdelegates and all that. They refer to the complex manner in which the Democratic Party selects its candidate.

Normal delegates are much like people in the Electoral College system, except that the Democratic Party awards them to a proportional vote: if Obama gets 60% of the votes in a state, Obama sort of gets 60% of the delegates. (It’s actually more complicated, and is awarded by precinct, but I digress.)

The other element is superdelegates, which is a bit of a made-up word referring to “PLEOs” — Party Leaders and Elected Officials. The Wikipedia page Superdelegate gives a helpful explanation. They include DNC members and current governors, senators, represenatives, past and present Presidents/VPs, and a few others. (Thus Bill and Hillary Clinton, and Barack Obama all count as superdelegates, as does Bill Richardson, and probably some others.)

The theory is that these people are more experienced and less subject to whims, although the system has been rightfully criticized as being anything but democratic, giving a small cadre of people enormous sway in the process. There’s a list of all the current superdelegates. It’s on another site in a more organized form, but is split up into multiple pages, and it includes those who haven’t yet endorsed a candidate.  You can also view superdelegates supporting Obama and superdelegates supporting Hillary.

Tweaking SQL

I was thinking last night about solid-state drives. In their current form, they’re really not that much faster in terms of throughput: a decent amount are actually even slower than ATA disks if you measure them in terms of MB/sec throughput. Where they shine (100 times faster, at least) is seek time, though. So where they’re ideally suited for in a server environment right now is something with lots of random reads, where you might find yourself jumping all over the disk. For example, a setup with lots and lots of small files scattered across the disk.

Many implementations of a database would be similar. Something like the database for this blog will have a lot of sequential reads: you’re always retrieving the most recent entries, so the reads tend to be fairly close. But there are lots of ways to slice the data that don’t result in reading neighboring rows or walking the table. (And what really matters is how it’s stored on disk, not how it’s stored in MySQL, but I’m assuming they’re one in the same.) Say I view my “Computers” category. That’s going to use reads from all over the table. Using a solid-state disk might give you a nifty boost there. So I think it’d be fun to buy a solid-state disk and use it in an SQL server. I wager you’d see a fairly notable boost in performance, especially in situations where you’re not just reading sequential rows.

But here’s the cool link of this post. I’m not sure exactly what goes on here in a technical sense, but they use solid-state drives, getting the instant seek time, but they also get incredible throughput: 1.5GB/sec is the slowest product they offer. I think there may be striping going on, but even then, with drives at 30MB/sec throughput, that’d be 50 drives. The lower-end ones look to just be machines with enormous RAM (16-128 GB), plus some provisions to make memory non-volatile. But they’ve got some bigger servers, which can handle multiple terabytes of storage on Flash, and still pull 2GB/sec of throughput, which they pretty clearly state isn’t counting stuff cached in RAM (which should be even faster).

I want one.

Yes We Can!

I didn’t think it could be done, but I just got choked up watching a music video on politics, the .

Yes we can heal this nation. Yes we can repair this world. Yes we can. 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.

Bringing Down the Web

Engadget (but strangely, no mainstream news sites?) is reporting that a fourth underseas fiber cable has been pierced in the Middle East.

People are now starting to draw the conclusion I draw the second time: something fishy is going on. (Err, no pun intended there…)  Underseas cables don’t get cut that often, but for four of them to get cut in a week, and all to a war-torn region?

Someone is pretty clearly trying to cut off the Internet to that part of the world, and they’re doing a pretty good job. Fortunately, the Internet has always been designed to route around failures like this, but it seems like they’ve taken out a huge chunk of the backbone to some parts of the world. There was an earthquake to that region, too, though. But still, I’m suspicious.

Of course, some are saying that the fourth line wasn’t actually cut, but apparently just suffered technical issues not related to the underseas line itself. But still, I’m calling shenanigans. I’m just not sure which motive is at play: are they resisting Western influence? Trying to prevent technology? Obsessed with censorship? There are multiple motives, just as there are many, many possible culprits.

Although I have to hand it to them: those underseas cables look incredibly resilient, and I can’t imagine that too many people know where every single one is located.

Hey Oh!

Song of the night: “Snow (Hey Oh)” by the Red Hot Chili Peppers. Incredibly awesome musically, the music video is pretty neat too: I’m not really sure who we’re seeing, but, among the cliche video of them singing on stage, you get ‘video portraits’ of probably hundreds of seemingly-random people. Simple, and yet strangely novel.

Unlike some of their other songs, this one didn’t find its way into Guitar Hero or Rock Band. I think that the first people in charge of making the decision of what songs made the cut got distracted and are still in an office somewhere, playing the video over and over again, singing along quietly. Unable to break them from their trances, the others decided the song was simply too awesome to be fit for general consumption.

I’m on my fourth time in a row. And when it’s done, I’m probably going to go for #5. Roommates, I apologize in advance if I advertently wake you up tonight while I mumble about snow and the cover of another public wonder in my sleep.  You might play this song to drown me out.

Do you have the time?

I’ve been running an NTP server on this host for quite some time now. But as of yesterday, I’m a member of the pool.ntp.org group. pool.ntp.org is a round-robin-ish DNS service where requests for pool.ntp.org are given IPs from a huge block of listed nameservers, balancing the load across a pool of about 1,500 NTP servers across the world. The official “entry” for this server is my IP (72.36.178.234), but ntpd is actually listening on all IPs right now, so using blogs.n1zyy.com or ttwagner.com will work.

I’m currently synced to Stratum 2 servers, but I think that, after I finish up some open tasks (“real work,” versus playing with time servers), I’m going to look at requesting permission to sync to Stratum 1 servers. (Stratums, err, strata, are basically tiers. “Stratum 1” refers to a server directly connected to something like a GPS (which obtains extremely accurate time: having the correct time is an important part of how GPS works, so GPS actually broadcasts the time from the atomic clock) or from WWV (transmitted over HF radio). Stratum 2 servers get their time from Stratum 1 servers, and so on. As I sync to a network of stratum 2 clocks, I become a stratum 3 server. Moving up a stratum generally implies more accurate time, as there are fewer intermediaries to skew results. (Although we’re talking milliseconds of difference.) There aren’t an awful lot of stratum 2 servers, so syncing to a stratum 1 server would help to round out the stratum 2 list. (It would be fun to become a stratum 1 server, but as a stratum 2 host says of his data center, “they’re not going to let me drill a hole in the ceiling to run an antenna [for the GPS] to the roof.”)

For those of you with UNIX systems, take advantage of this! You can sync to me directly (72.36.178.234), or indirectly (the pool.ntp.org cluster). (Windows can sync to an NTP server as well, it’s just not a standard feature.)