Archive for the ‘free advertising’ Category

Dynamic Streaming Development

Tuesday, July 19th, 2011

I recently acquired an inexpensive tool that’s proven invaluable for development and testing of dynamic streaming using a Flash media server (or Wowza, or whatever multi-rate streaming solution you might use). For a long time, I had a hard time simulating suboptimal network conditions so I could test how a media player designed to adapt to those conditions would behave. The best I could do was to IM some friends with bad internet connections a link to a video and see if they could get it to play under different configurations. (Thanks especially go out to Lauren, whose apartment has ubiquitous wi-fi which ran at a crawl because some drunk butt-head smashed up all the antennas.)

I’d been looking into seeing whether I could set up some kind of an emulated machine (like VirtualBox or vmWare) to test rigorously on, something with which I could dynamically re-allocate the network resources to the emulator. It turns out that there’s already a product out there that does precisely what I need and more directly that is descriptively called Net Limiter.

Net Limiter is developed by a Czech company called Locktime Software and sells a single-user license to the current Pro version for $30. The basic feature of the application is that it monitors how much bandwidth each application on your system is consuming. I think the free version of it does just that, but the Pro version allows you to set limits on how much bandwidth each process running on your machine can consume, and you can change that limit on the fly.

That’s useful for development and testing of dynamic streaming implementations on both sides of the RTMP pipe. You can load a player that’s loading a multi-rate stream and throttle the available bandwidth down and up to observe how smoothly the player adapts and at what network connection quality the video will fail to play entirely. On the other end (and I haven’t yet done this myself), you could set up an FMS development version on your workstation, publish a multi-rate stream, then connect to it from as many other clients on different machines as the dev license allows. Then if you throttle down the bandwidth to the FMS process that publishes the stream, you can simulate what would happen if your production server would reach its bandwidth availablility, presumably by dropping some connections down to lower bitrate streams to free up more network resources.

That’s what in theory we figured it would do under extremely high-traffic situations, and we believe that we saw it in practice during the Titan Arum stream. I’ll have more on the details of that in a few days once the pseudo-time-lapse is published, but for the purposes of this discussion, we were sending out two streams, one at 1500kbps (at 960X540 or half of full HD resolution) and one at 350kbps (640X360), and we were saving both streams to disk for the time-lapse. When the flower was opening, viewership hit around 1200 simultaneous connections, most on fast University or corporate networks that would support the 1.5mbps stream. I loaded the video on a few computers around the office and all were picking up the 350kbps stream. And that is exactly how it was intended to work: reliably.

Butter

Friday, March 5th, 2010

When I was a young fella, I remember my aunt keeping a saucer of butter on her counter. It was great having room-temperature butter to spread on your breakfast toast, but I was unaccustomed to this and unsure about contamination issues. Don’t get me wrong, I wasn’t a prissy kid, but I was an adventurous enough eater to have encountered my share of poorly chosen meals and the unpleasant after-effects thereof.

My roommate recently brought home a butter keeper from T.J. Max for six bones that’s improved my breakfast experience well in excess of that cost. It’s a little two-piece ceramic device, one piece a crock and the other a lid with a dish extending down into the crock. You stuff some butter into the lid, fill the crock 1/3 with clean water, and when you drop the lid down into the crock, the water seals the butter off from the air. Brilliant.

Looking forward to summertime when I don’t keep the nightly home temperature at 54 degrees and room temperature at 6am is a little more toasty.

Stick it to The Man

Thursday, January 22nd, 2009

If you read this page last year, which would’ve been something like fifteen posts ago, it would seem, you’d know that I find the whole idea of the government banning smoking tobacco in bars to be about as sensible as banning organ music at baseball games: some people may find it old-fashioned (but so is the game of baseball and drinking in public, I’m sad to say on both counts), but it’s an integral part of the deal to the purists. Busch stadium isn’t Busch stadium without Ernie Hays, and more glaringly, a bar without a bit of a smoky haze is just a noisy room with a chicken-fryer stinking up the joint.

Illinois passed a state-wide smoking ban last year after perhaps the greatest three months of perfection ever experienced: the city of Champaign repealed their own local ban until the state-side ban took place. Some bars allowed smoking, some didn’t: everyone was happy—every business profited by catering to the two different sorts of bar customers as demarcated by the Line of the Tavernacle Purity.

It’s not bad in the summertime—good conversations are had outside. It’s pretty awful in the winter. I’m am not surprised that no statistics are being made public about the incidence of GHB-related assaults from women leaving drinks unattended while going outside for a breath of fresh air, but my guess is they’re up.

I got a Christmas present that’s a nice stopgap between now and the return of civility (ha.). I got a Pee-Wee nicotine vaporizer from PureSmoker.com. The device looks like a large batty (one-hitter, whatever the kids are calling it nowadays). The front half (that which looks like the white paper of a cigarette) is a battery pack; the back half (that which looks like the brown paper warpping the filter of a cigarette) is a plastic case that houses the vaporizer coil—they call it an “atomizer” so I will, too. The device is used by putting a drop of “juice” on the atomizer; when you replace the case and inhale on it, the atomizer boils the juice into a mist which you can inhale and blow out like smoke. The vapor definitely contains some nicotine: I’ve used the 11mg/ml and the 24mg/ml juices and find the latter to be adequate for maintaining desired nicotine levels. The devices are kinda cute, too: the tip glows red when you’re inhaling, which draws stink-eye from time to time. A friend who has one enjoys “putting it out” in her palm or on her forehead when she’s attracting undesired attention. The vapor’s satisfyingly thick, too. I can blow smoke rings with it as well as I can with tobacco smoke.

The key is that there’s no smoke, no tobacco, no incineration at all involved with the device’s operation, which means it’s not regulated by the smoking ban at all. It also means that it doesn’t deal with the whole hyperventilation symptom of smoking withdrawal—that CO binds with hemoglobin more tightly than CO2 or O2, so that after it’s been a while without a smoke, your body’s cells are being delivered more O2 than they’re intended to. That’s kind of a good thing if you want to use one of these things as a smoking-cessation aid. No tar, too, eh?

A bottle of juice costs $10 at the website listed above. A friend who’s replaced his cigarette usage with these tools estimates a bottle lasts two months, which is a silly discount compared to cartons. I’m recruiting friends to do some analysis on the compounds emitted from the atomizer under controlled conditions, but I can’t report any adverse effects from the intermittent direct exposure I’ve had with it.

Update: The student newspaper wrote a story about some of my friends using these. I chose not to attend that night since I can’t stand reporters (outside of sports and business news), the useless, ignorant self-important little wretches.

World of Goo

Wednesday, October 29th, 2008

Over the weekend, I used my Wii’s encrypted wireless connection to my home network to download a bunch of old school games {Y’s Book I & II; Mega Man 2; Metroid) for the Virtual Console and also one new-school game that had been rated highly for the WiiWare doo-hickey.

And what an excellent game it is: World of Goo, by the two-man development team at 2D Boy. It’s a physics-based game, something like Fantastic Contraption, except where all the building blocks are gooballs of varying structural properties used to create structures needed to solve tasks. (So far, none of the gooballs have any kinetic powers aside from undulating like the wheels in FC.) The motion-sensitive controls with the Wiimote work admirably well. The music’s excellent and the quirky visuals definitely grow on you. Reminds me quite a bit of a Tim Burton cartoon.

Some of the puzzles are pretty tough to figure out. I’m stuck on one at the moment that’s challenging enough to take around with you. Kindly, the game lets you skip puzzles so you don’t get too frustrated.

Great game, for fifteen bucks, I couldn’t recommend it more highly.