Monthly Archives: June 2011

What’s up with this Wave Disk engine?

I say this a lot, but “I’m no expert.” By this I mean that an engineer who specializes in this field would rip my little essay apart for technical inaccuracies and abuse of terminology. Fortunately for me, many people know less than I do and will not be similarly offended by my ham fisted treatment of the subject matter I’m about to attack.

Having said that, I’ve always been a gear head of sorts, and being a hacker, I’ve always been interested in non-traditional engine designs, so the wave disk engine simultaneously interested me and set off my bullshit meter. Most of the press coverage sucks wind. There isn’t a whole lot of appetite for loosely-detailed explanations of complex engineering phenomenon, but that won’t stop me from rambling on here. So, if you’re up for it, get comfortable in your chair and let’s talk about this new fangled wave disk engine.

The wave disk motor has hit “Hacker News”: a few times, so I’ve had some time to look in to it. I’m going to take a few kilobytes of text here explain my understanding of this new technology, which lies somewhere between a complete layman and an actual engineer. Hopefully it will help everyone understand a little more about this motor and why it is, indeed, significant.

*Introducing, the engine in your car*

The engine in your car is the most common type of gasoline powered engine on the planet. The long form description of the engine in your car would be something like: piston-in-sleeve, reciprocating, otto-cycle, internal combustion engine.

Let’s break that down:

_Piston-in-sleve_ – Inside the engine are cylinders, inside which a piston moves up and down. This up and down motion compresses the air/fuel mixture, which is ignited by a spark. The rapid expansion of gasses in this sealed compartment are the basis of energy production in this type of engine.

_Reciprocating_ – The piston that moves up and down is attached to a crank. This is the mechanism that converts the up/down motion of the pistons to rotating motion. It is not unlike a bicycle crank, where the pistons would be your legs moving up and down.

_Otto-cycle_ – Otto-cycle is frequently referred to as 4-cycle. It defines the steps required to draw the air/fuel mixture in to the cylinder, compress it, ignite it, then expel it… repeat.

_Internal combustion engine_ – Basically this means that the fire occurs inside the engine, as opposed to outside. Steam engines are a good example of external combustion engines. Also look up a Stirling engine for more fun times.

Google any of these terms and you’ll get more info than you can read in an afternoon. If you want a good overview, “HowStuffWorks has a nice one”:

For the rest of the time here, I’m going to simply refer to this type of engine as an ICE (internal combustion engine). There are other types of ICE other than otto-cycle, but I’d like to keep it simple.

Despite all the complex engineering elements outlined above, the ICE operates on some basic underlying principles that you learned in primary school science class: if you heat something up, it’s volume increases. The burning fuel/air mixture is a simple means of heating the mass of gas inside the combustion chamber. Because the volume expands as it is heated, it forces the piston down.

The efficiency of this type of engine is limited by certain factors:

* The friction involved with all the moving parts required to regulate the otto-cycle
* The thermodynamic characteristics of the engine’s design

From here, the conversation gets pretty complex. This is where “I’m no expert” becomes very apparent. If you’re interested in further reading, google the Carnot cycle.

Here’s my layman’s understanding of the limits:

_Friction_ – The engines in our cars experience a lot of friction. Ever use a syringe? The principle mechanical operation of your car engine isn’t all that different. The piston experiences friction as it moves up and down inside the cylinder, and in addition, it must force air in and out of the cylinder through small-ish holes regulated by valves. Additional friction is present in all the rotating parts; and there are many. Lots of time, money, and effort has been spent decreasing friction and the resistance of air moving in and out of the engine. Virtually every performance mod you can do to your car’s engine has to do with these two limiting factors. The inherent mechanical complexity of your car’s engine prevents it from reaching high levels of efficiency.

_Thermodynamic characteristics_ – With this type of engine, we’re relying on the fact that we’re going to draw in a (hopefully) cold mass of air mixed with fuel, then light it on fire and harness the energy produced by its expansion. The problem is, we’re doing this deep inside a giant hunk of metal that is constantly soaking up a portion of this heat. This stolen heat energy must be dissipated – lest our engine begin to overheat – so we use a huge fan to blow across a radiator full of water that is constantly pumped through the engine. Both the fan and the water pump require energy to operate. Additionally, the piston moves only a short distance, so we’re not harnessing the entire heat cycle; only a small portion of it. The gasses that come out of the exhaust are still very hot. If you haven’t gotten the picture by now, the ICE leaks energy all over the place.

Despite the major limitations outlined above, this type of engine works well for us because it produces mechanical energy in a range that is easy to use. A typical ICE found in your car “idles” at around 800 RPM and can spin up to 5,000 RPM (much higher in many cases). This rate of rotation is easily geared to match the required traveling speed of an automobile. This is not coincidence. Using gears to change the rotational speed of mechanical energy means additional mass and friction in the driveline. The engine’s energy must be used to accelerate all that mass up to traveling speeds and overcome the increased friction. Overall, the ICE is a good fit for the automobile.

That’s just about all I have to say about the venerable ICE. It’s a fine piece of engineering that has served us well over the years, but I suspect its time is coming to a close.

*Ride the wave dude*

As the wave disk engine is yet to be released, details aren’t exactly plentiful. Although, it does share a lot of commonalities with another type of engine that has been around since the mid-twentieth century: the turbine. It’s probably easiest at this point to explain how the turbine differs from the ICE found in your car, rather than tackle the wave disk head on.

Coincidentally, a turbine is also an internal combustion engine (ICE), but I’m going to refer to it more specifically as a turbine, and continue to refer to your car engine as an ICE. That ought to bring the pedants out in force! Likewise, HowStuffWorks has a good article on “how a turbine works”:

A turbine engine is, in ways, far simpler than a traditional ICE; and in other ways, more sophisticated. In operating principle, a turbine is a series of fans oriented axially inside a housing. Air is drawn in from one end, compressed through a series of fan “stages”, then mixed with fuel, ignited, and shot out the other end, passing through another series of fans.

All these fans are attached to a shaft. The pitch of the fans on the way in progresses to compress the air before it is mixed with fuel and ignited. The fans on the aft end of the turbine are like a windmill that harnesses the breeze. This breeze happens to be thousands of degrees Fahrenheit. The burning fuel air exits the rear of the turbine, rather than the front, because expanding gasses are lazy and generally like to leave through the nearest/least crowded exit. Since all the air is moving toward the back, the pressure at the front of the engine is higher, thus the gasses are happy to exit out the rear.

So you could think of a turbine like a desk fan blowing on a pinwheel, only instead of an electric motor powering the fan, there’s a giant ball of fire in-between, and the pinwheel is hooked up to a shaft that drives the desk fan. I’m probably losing you here.

Let’s talk efficiency and limiting factors. Turbines are generally more efficient than the ICE in your car because of a few mechanical advantages:

_Fewer moving parts_ – Well, maybe not fewer (there are a lot of fans), but simpler. Turbines are typically constructed of one or two shafts with a series of fans, and a burner.

_Conservation of motion energy_ – All the parts inside a turbine rotate consistently. They don’t change directions as the turbine operates. The pistons in your cars engine have to change from up to down in a very abrupt change of direction. This is not efficient.

_Less friction_ – The fans inside a turbine rotate on a shaft. They compress the air as it moves along by having very, very close tolerances with the tube shape of the turbine, but they don’t actually touch. Also, there are no valves and camshafts to operate.

Sounds good, huh? Turbines for everyone!

So why don’t we all drive turbine powered cars? For a few reasons. First, some practical limitations.

_Time consuming to start_ – The raging inferno that powers a turbine only happens when the fans are spinning really, really, _really_ fast. I’m talking hundreds of thousands of RPM here. This takes some time to get going. Not to mention, you don’t just go from cold to spinning 200,000 RPM without some wear and tear. A turbine takes far longer than the ICE in your car to warm up.

_Loud_ – Even small turbines emit a mighty roar. The combustion inside a turbine occurs very close to the outside air, and the exhaust leaving the turbine is traveling at a very high rate of speed. All of this results in a lot of noise. Mufflers for turbines are more complicated because of the forces involved. The rapidly exiting exhaust of a turbine is used to push jets through the air. That should give you some sense of the pressures involved, and remember, sound is just pressure waves.

_Rapid rotation_ – Remember how the ICE operates at a favorable rotational rate (RPM)? Turbines spin much faster. To add insult to injury, smaller turbines typically spin much faster than larger turbines. A micro-turbine may spin as fast as 500,000 RPM. That is 100 times faster than the engine in your car. The gearing required to slow this down to operational speed is heavy and involves a lot of friction.

_Slow rate of change_ – The high rate of rotation means lots of kinetic energy. Throttling a turbine up results in a gradual increase in rotational speed. During acceleration, a tremendous amount of fuel is consumed to little effect. This makes accelerating a turbine relatively inefficient. Turbines like to be run at a consistent speed, and when they are, they’re wonderfully efficient.

_It’s hot in here_ – The pressures and temperatures inside a turbine are extreme. There’s a lot of combustion going on, so the materials used in turbine construction must withstand these high temperatures. This means exotic metals like titanium are required.

_Expensive_ – Turbines are simple in principle, but exacting and demanding in practice. The aforementioned exotic metals as well as the tight tolerances make turbines expensive.

So where does this leave the wave disk? The wave disk is similar to the turbine in operating principle. Air moves in and out of the wave disk in a continuous motion. The mechanical components of the wave disk rotate in a consistent fashion (no changes in direction). The compression of the air/fuel mixture is performed by pressure waves (they call them “shock waves”).

There are significant differences, however. In a turbine, the movement of gasses in and out of the combustion chamber is limited only by air pressure. In the wave disk, the combustion chamber is actually closed for a portion of the rotation. This is a good thing. Trapping expanding gasses gives a greater ability to harness the expansion energy. Additionally, there appear to be no “stages” inside the wave disk. The mechanical construction is much simpler. This should make it less expensive to produce.

One of the greatest questions is rotational speed. The source links on the Wikipedia page for the wave disk indicate that “the rotational speed of a wave rotor is low compared with turbomachines”. They state this in the context of material stresses though, not operational practicality. How much lower is a big question.

That’s about all I’ve been able to gather about the radial flow wave disk at this point. I don’t know of any production units, so information is pretty scarce. It does appear to have some advantages over a traditional turbine, however. The significance of the simplicity of the mechanics involve cannot be understated. One of the primary reasons the ICE continues to dominate automotive applications is because the manufacturing process is well understood and not terribly demanding. Turbines, by contrast, require exacting precision, and the cost of failure is extremely high.

If the radial flow wave disk delivers on its promises, its most likely application will be driving a generator. I suspect that even with its simpler construction, the energy required to accelerate the engine will still be a hinderance. This means continuous, peak operation is where it’s at. Spool the wave disk up to run a genset and capture unused energy with batteries or other energy storage devices.

This is, ultimately, where the wave disk engine may fall flat. With a claimed 3.5x efficiency, it’s got a lot of room to run, but the process of charging batteries is inefficient, and most modern hybrids don’t rely on their batteries and electric motors for all of their propulsion and accessory (hello, air-conditioning) needs. What is the efficiency of the wave disk at 10% to 20% operating capacity? That’s a relevant question if you need the energy to drive things like air-conditioning and power accessories.

In the real world, the wave disk will be part of a greater system. Current hybrid cars still link the ICE directly to the wheels. With newer generations of hybrids, we may see this change. If we do, the climate for the wave disk engine will improve. Until it does, I don’t see it reaching practical, widespread application in the automobile.

Dear Comcast: Why are you not crushing Netflix?

First off, no, I will not call you Xfinity. Sorry, but that name is just silly. I won’t use it. But I digress (already).

Why are you not killing Netflix? And by “killing”, I do not mean, “Whining to Congress that Netflix is not regulated and threatens to commoditize your industry.” I mean, why are you not killing them in the market with the absolutely staggering number of advantages you have?

Comcast, you are poised to go vertical in a way that few companies can. Netflix couldn’t _dream_ of going vertical like this.

* You have a relationship with a huge base of existing customers. You’re one of the few media companies with a subscriber base close to Netflix (who just passed you, btw).
* You have a large last-mile network based on good technology. Sure, it’s not entirely fiber, but it’s a lot better than what most of the RBOCs are sitting on; and Netflix has zero.
* With NBC, you have established relationships with all the major content providers. Not just relationships, but leverage!
* You own the distribution channel from content library, transport, and the end-user hardware. Pst, this is a go to market pathway that others only _dream_ of having.

The problem I have with your service is that the “experience” sucks. Your cable box is a slow, buggy pile of crap. Browsing content on my cable box is only marginally better than the craptastic PPV movie systems in a cheap hotel. The new Xfinity apps for my iOS devices are a huge step up in terms of usability, but I’m not convinced that using my iOS device as a gigantic remote for my television is where I want to be. I don’t want to use the 10″ display in my lap when I have a 50″ display hanging on the wall. Not to mention, I already have four other remotes. Despite appearances, I’m not really interested in collecting these things.

This is what the Xfinity Mobile experience is like:

* Pick up my iPad and browse for “On Demand” content
* Initiate playback from my iPad
* Switch to the Comcast remote to play/pause, ffwd/rwnd
* Experience huge lag in response to my control inputs from any of these devices

I’ve measured it, and it can take up to three full seconds for my cable box to respond to inputs from the remote. Three seconds is an eternity in this context. When you compare it to the Netflix app running on my PS3, it’s just flat out embarrassing. Not to mention, with Netflix, I don’t have to keep my iPad around. I can just use the PS3 remote to browse, select, play, and ffwd/rwnd content. And it’s responsive. Have you ever tried to rewind an On Demand movie ten seconds to see something you missed? All too often, the DVR gets stuck on rewind and I’m left sitting there watching the entire movie in reverse… again. Miserable!

Netflix is kicking your ass because using their service is a pleasure. Have you used it? You should! I’ve got really bad news. If I were able to get network programming through Netflix or an Apple TV, you’d be my brand new _commodity bandwidth_ provider. That’s where you’re headed if you don’t shape up.

If you’re sitting in your executive office right now, looking at a feature list and scratching you’re head, *you are doing it wrong*. I’ll take a product with 3 features that work exceptionally well over 10 features that work like crap any day of the week. Guess what, so will the rest of us. Apple seems to have figured this out, and they’re not exactly struggling to eek out a profit. See also: Apple FY2011 Q2 profits of $5.99 billion.

Comcast, you have only yourselves to blame for this situation. You’re sitting on all the right pieces, and no individual component is a huge weakness. Dedicate yourself to a product that has great content, that’s delivered over a great network, and is accessible on competent hardware with an outstanding interface. Your Xfinity mobile apps are a good start, but pawning the hardware platform off on Apple isn’t the smart choice (for a number of reasons; _hint_, they’re gunning for your seat at the table). I don’t need another player in my living room. Despite our storied past, I’m willing to put it all behind us. I want you and me, alone, in my living room. Only you can make it happen.

Your pal,

Apple: Commies!

Wired is running a piece on “a bit of drama surrounding the release of iCloud”: that probably hasn’t appeared on the consumer radar. I don’t expect that it ever will, and for good reason. This is like a janitor feud at the YMCA (sorry janitors). No one cares. The accusation is that the new WiFi sync feature available as part of iCloud is a feature that was “ripped off” from a jailbreak app developer who sells a WiFi sync product in Cydia, the jailbreak web store. Holy cow, I don’t even understand what I just wrote.

Right now, you’re scratching your head wondering if “jailbreak” is some sort of game. Jailbreaking is something you do to your iPhone so you can, among other things, load software that isn’t available (or allowed) in the Apple App Store. You also may not know, and probably don’t care, that Apple takes 30% of every app sale that is sold through the App Store, kind of like Best Buy makes a margin on every product they sell. Some developers are opposed to this kind of thing, so they set out to build their own methods of distributing and installing software. Ironically, this is all coordinated through an “app store” called Cydia, which also takes a cut from developers and has rules for inclusion.

Still awake?

I know this is enough to put any normal person to sleep, but this is all new stuff for app developers. Under the old PC/Mac model developers were responsible for marketing your own software, and providing a means to download, install, and update it. Apple’s vision for iOS (iPhones, iPads, iPod Touches, etc) is that the software available on their platform should conform to a certain standard and should deliver a uniform user experience. Along those lines, there should be a single, simple mechanism for loading software. This mechanism is the App Store. You use it every time you download a hot new game for $0.99.

Alright, alright, alright, so where’s the drama I promised? Well, there’s an app developer that, long ago, set out to build a piece of software that would allow you to sync your music to your iOS device over WiFi instead of a cable. Yeah, pretty cool idea. I’m sure Apple didn’t really want that as a feature, right? Hrm.

I haven’t used the app in question, so I can’t speak to it’s speed or quality, but when Apple doesn’t deliver a feature, there’s usually a reason for it. Amongst software developers, Apple is known for a development philosophy that spends as much time thinking about what _shouldn’t_ go in to a piece of software, as what should. Apple rejected this WiFi sync app when it was originally submitted to the Apple App Store. This was Apple’s way of saying, “You shouldn’t develop that app.” Probably because they were developing one of their own, but had very specific ideas about how it should work.

For what it’s worth, Apple’s version of “WiFi sync” works a lot differently than the one available for jailbroken devices. Apple’s sync works in conjunction with their free “iCloud service”:, which requires several data centers. Oh, and they cost around $500 million a piece to build. I’m no construction expert, but I’m guessing you don’t drop $500 million data centers over a weekend.

The developer didn’t listen when Apple told him no. He continued to develop the app and started selling it on the unsanctioned Cydia app store, which requires the jailbreaking procedure I mentioned earlier. Bully for him. I hope he made a few bucks. There were certainly enough people who wanted that feature, and wanted it right away, but this whole mess of being surprised when Apple implements WiFi sync is just ridiculous. Apple hasn’t taken any action to shut down the Cydia app store. The jailbreak community is thriving, and outside of locking the device down as best they can, Apple hasn’t taken any direct action to stop it.

The only open question for me was the logo, which Apple also allegedly ripped off from his app. I was a little put out at first, but then I opened my eyes and saw something that should be blindingly obvious to any sighted individual. A good comparison is pictured in the Wired article. Go have a look at it, then check this out.

This is my menu bar. It appears in the upper-right of every computer running OS X, just like the clock and task bar in the lower-right corner of every Windows PC. The two icons that I labeled are relevant here.


Now here’s my menu bar with some hot Photoshop action.


OMG those lazy asses at Apple just mashed up two existing icons rather than creating something new. How dare they!? Oh, wait, they obviously ripped it off from that Cydia-WiFi-Sync-App-guy. Forgot about that.

This whole post was inspired by my reaction to “a post over at Hacker News”:

bq. But why did they ban them then? Just so they don’t have competition when they do launch it? think Apple’s thought process is a bit like a communist’s. Why allow 3rd parties to build something when we can build it ourselves?

Yes, Apple are communists. Despite the fact that they are A) not a government, and B) no one has ever bought an iPod as a result of coercion. Unless of course you count whining children…

Wait, maybe kids are commies!

The Apple Hater Continuum

Ever notice that if you mention how much you love an Apple product, someone will inevitably come along and point out that you could have bought _product X_ that does _task Y_ just as well as your Apple product, plus _task Z_ as well. Oh, and it costs less too!

Yeah, I can hear you groaning from here.

It’s been my experience that these critiques usually come from users who know quite a bit about computers. Often, it’s the kind of person that friends call to fix their computer when it breaks. This type of user might even build their own PCs. In short form: they know more about computers than the average person.

It seems that as someone learns more about computers, the less they like Apple products, but there’s this cross over. Many of the really, really stupidly bright, mega-rockstar type technology people I know use Apple products. There’s an apparent majority amongst the Silicon Valley community who, at a minimum, recognize that Apple builds great products, even if they use something else. Have a look at photos taken at your favorite conference and you’ll see a lot of Apple logos staring back at you.

When plotted on a graph, this pattern looks strangely similar to the “uncanny valley graph”:

! probably wrong view of Apple haters)!

Before you get too excited, let me explain why this is a horrible graph that I probably should have abandoned early on:

* This graph doesn’t work in reverse. E.g., I’m pretty sure John Gruber (and his ilk) isn’t the smartest guy in Silicon Valley. Hell, he lives in Philadelphia. I also don’t think the guy over at the Verizon store is dumb. He’s usually pretty helpful, and I certainly can’t understand Verizon’s product offerings as well as him, so he’s got one up on me.
* Not everyone conforms to this graph; nor do I think that’s a problem. For example, there are a ton of brilliant engineers at Google (and elsewhere) who are more knowledgable about computers than I could ever hope to be. I’m generalizing here. This is _my_ blog. I get to do that. Feel free to yell at me if it makes you feel better.

“Joel Spoolsky expressed”: (far better than I have here) a reason why more savvy users might not recognize the value of Apple products.

bq. Your typical architecture astronaut will take a fact like “Napster is a peer-to-peer service for downloading music” and ignore everything but the architecture, thinking it’s interesting because it’s peer to peer, completely missing the point that it’s interesting because you can type the name of a song and listen to it _right away_.

As a user becomes more familiar with the computer, all of the arcane settings and components that frustrate normal users become a source of mastery. Like a talented guitar soloist, they revel in their own ability to wield their device. I know the feeling. Sometimes I feel like a real badass when I try some new bash hack that I picked up somewhere on the internet, and bash is about as terse and arcane as it gets1.

This leads us to the rightmost portion of the graph. As you move furthest to the right, you get in to groups of people for whom computers are their livelihood. They probably work in the industry, and many of them are developers and technology business entrepreneurs. For this group, tasks like setting up customized notification applications have become minutia. These people play a computer like Chopin played the piano.

Even though some in this group still rabidly dislike Apple products, the appreciation by many reaches a new level. Once you’ve tried to replicate Apple-like simplicity, you recognize how difficult it is. However, if your at this point and you still _like_ the minutia of building a computer, you’re probably not going to be an Apple fan.

I think I just had an epiphany. Time to make some more flame-bait graphs.

p(comment-meta). [1] – Calm down, I love bash, but imagine your mom trying to use it. Yes, I also realize that there are far more arcane technologies. Can we go back to watching the movie now?