So I've got a Debian machine as a WiFi access-point / file-server, and I decided to plug some speakers in and stream music from my iPhone.
I tried Erica Sadun's AirPlayer, a Python script that, as it turns out, implements version 2 of the AirPlay protocol -- the one that supports video and images. What it DOESN'T support is sound, at least not without the appropriate crypto key.
Which led me to Shairport, vessel of the secret sound-support sauce. Shairport only implements AirPlay v1, which can't handle images of any kind. Which means that the video portion of YouTube can be streamed from my iPhone to AirPlayer, and the audio portion to Shairport, but I have to choose one. Huzaah.
This worked well enough for iTunes, but iOS, ie, my iPhone, didn't work until I disabled IPv6 on my Linux box.
Tuesday, September 27, 2011
Friday, June 3, 2011
Thursday, June 2, 2011
Wednesday, May 4, 2011
Another in a series of brief tests of Wolfram Alpha
If you've spent the last couple of years behind a few inches of lead, protecting you from the nerd-radiation of the Wolfram|alpha launch,well, you should read up on it. It claims to be, not a search engine, but something smarter, a compendium of systematic data (temperature records, physical constants, business data, you name it), and the algorithms necessary to process that info.
I've been disappointed thus far. I tried another reasonable-seeming query today: "kinetic energy of a ring with mass 1 kg and radius 1m rotating at 100 rpm"
(If you're wondering, I was hanging out by a centrifuge, which just begged the question, ya know?)
And what did Alpha have to say? "and (English word)"
It recognized the word "and" as English. That's it.
The answer didn't show up until the 8th hit in google's results, but there it was,
E = 0.5 * I * ω
I = m r2
etc etc. Granted, I still have to do the math, but at least it's something.
I've been disappointed thus far. I tried another reasonable-seeming query today: "kinetic energy of a ring with mass 1 kg and radius 1m rotating at 100 rpm"
(If you're wondering, I was hanging out by a centrifuge, which just begged the question, ya know?)
And what did Alpha have to say? "and (English word)"
It recognized the word "and" as English. That's it.
The answer didn't show up until the 8th hit in google's results, but there it was,
E = 0.5 * I * ω
I = m r2
etc etc. Granted, I still have to do the math, but at least it's something.
Friday, January 28, 2011
The lively faces of poverty
At the risk of sounding like Tom Friedman, the most striking thing about Saigon was the bustling, crowded buzz of the place -- the way every square inch of public space was somehow occupied by a person, streets completely filled with Vespas and every sidewalk a public market.
The average Vietnamese lives on about $3,100 per annum, less than half what her counterpart in China makes, so we're talking about a very poor country. But that poverty doesn't manifest itself as obvious misery--not where we visited, at least. Instead, you see this:
This Hanoi street is lined by key-cutting carts, as could be found on every other street corner in Saigon. These are industrious, hard-working people, but in the US, copying keys must occupy 30 minutes out of the day of a Home Depot employee; the rest of the time, he's off stocking shelves while the machine rests in the corner. American labor is simply too expensive to waste waiting for customers; instead, each worker has a whole stock of capital goods (the key-cutting machine, a forklift, etc) at his command, keeping him occupied each and every minute.
In Saigon, you can find any food or service you need, right there on the sidewalk, because in Saigon, you can make a living cutting keys for one blocks-worth of people. It's actually kinda nice if you don't mind crowds ...
The average Vietnamese lives on about $3,100 per annum, less than half what her counterpart in China makes, so we're talking about a very poor country. But that poverty doesn't manifest itself as obvious misery--not where we visited, at least. Instead, you see this:
This Hanoi street is lined by key-cutting carts, as could be found on every other street corner in Saigon. These are industrious, hard-working people, but in the US, copying keys must occupy 30 minutes out of the day of a Home Depot employee; the rest of the time, he's off stocking shelves while the machine rests in the corner. American labor is simply too expensive to waste waiting for customers; instead, each worker has a whole stock of capital goods (the key-cutting machine, a forklift, etc) at his command, keeping him occupied each and every minute.
In Saigon, you can find any food or service you need, right there on the sidewalk, because in Saigon, you can make a living cutting keys for one blocks-worth of people. It's actually kinda nice if you don't mind crowds ...
Thursday, December 30, 2010
The future is already here – it's just not very evenly distributed. (An open letter to AT&T)
Dear AT&T,
Attached you'll find a picture my wife and I took on a boat traveling through Vietnam's Mekong Delta. Our abilities with our new camera are admittedly lacking, so it's hard to make out the orange life vests lining the boat's ceiling and green jungle in the background, but then, this is my blog, not a court of law. The real crux of this photo is the 5 bars you see on my iPhone: I had good reception throughout the Delta -- much, much better than I get in America's second most density populated big city*.
AT&T, I've loved my iPhone these past 2 years, but long for a phone call that doesn't end mid-sentence, and will be thrilled to move to a network that can compete with the 3rd world the moment my contract expires.
-- kieran
* - These kinds of comparisons hinge on the definition of terms like "big city," of course, but scan through Wikipedia's density stats and look for a city you recognize that isn't NYC. And if you haven't tried AT&T in San Francisco, don't bother.
Attached you'll find a picture my wife and I took on a boat traveling through Vietnam's Mekong Delta. Our abilities with our new camera are admittedly lacking, so it's hard to make out the orange life vests lining the boat's ceiling and green jungle in the background, but then, this is my blog, not a court of law. The real crux of this photo is the 5 bars you see on my iPhone: I had good reception throughout the Delta -- much, much better than I get in America's second most density populated big city*.
AT&T, I've loved my iPhone these past 2 years, but long for a phone call that doesn't end mid-sentence, and will be thrilled to move to a network that can compete with the 3rd world the moment my contract expires.
-- kieran
* - These kinds of comparisons hinge on the definition of terms like "big city," of course, but scan through Wikipedia's density stats and look for a city you recognize that isn't NYC. And if you haven't tried AT&T in San Francisco, don't bother.
Thursday, October 14, 2010
Konichiwa
Hello from Osaka. God knows what's going on with that very uncomfortable rhino up there, but one thing I'll say for Japan: it's dense.
That shot out the window of a train is exurban, far-out Osaka. No sprawl in sight: dense, multi-story housing and ... woods.
That shot out the window of a train is exurban, far-out Osaka. No sprawl in sight: dense, multi-story housing and ... woods.
Subscribe to:
Posts (Atom)





