Thursday, May 6, 2010

Whoosh!

I'm not a big fan of the iPad, but even I can see that whoever designed this device absolutely missed the point.

Sunday, May 2, 2010

Bluetooth for the car

When I bought my car, I had them install the iPod integration (it was a dealer-installed option). Well, it turns out that the stupid thing emulates a CD changer, so you get no track names, you only get forward-back control, it can only deal with 6 playlists... It was substandard in every way imaginable.

Meanwhile, I was pretty happy with XM anyway. But XM is really expensive, and it's been annoying in various ways lately, so it's time for a change.

Well, I've discovered Pandora. The Pandora app works far, far better than the XM streaming app (which they charge $3 extra per month for), and has the advantage that if you don't like the song playing you can thumb it down and move to the next one immediately.

So, XM is fired.

Now, how to get Pandora everywhere I want...

Well, for the alarm clock, it's pretty easy. Just use osascript to launch the URL of the channel displayed on the channel's page. But it is a little silly using a laptop as an alarm clock. But it turns out that the Chumby supports Pandora, and it's an alarm clock. Done.

Next, the car. Well, I took my car to the local car stereo place and got them to change out the iPod integration gizmo for one that has a aux input jack. It turns out that the new gizmo also emulates a CD changer, so it's really not any better than it used to be, but with the aux input, and a Bluetooth A2DP receiver, it doesn't really matter.

For this application, the best A2DP receiver is actually the Belkin Bluetooth Music Receiver. It's a good choice because it doesn't require any button pushes to turn on. As long as it is powered from the accessory bus of the car, there's nothing to do to get it working other than tell the phone to connect to it. Finally, this device supports A2DP only - it doesn't support the handsfree or headset profile, so in principle, you can still use a headset to take any phone calls that come in while still listening to music through the car.

The only problem now is that the Belkin device is designed for home audio. So it comes with a AC power supply. Even if it had a car cord available, plugging that into the power port in the dash would be ugly. I had the car stereo folks wire in a set of Anderson PowerPole connectors in the glove box where the new Aux input plug was. So now, I just needed to go from 12 volts to 5 with the tiny coaxial power connector that mates with the jack on the device.

Radio Shack actually came through for me. The had the correct connector set up to mate with a universal power supply jack, and the related universal power supply jack on the end of a pigtail, ready to be wired to your own power supply! They also had an LM7805 5 volt regulator, and I also bought a small electrolytic capacitor to put on the input to smooth the power.

To house the whole thing, I bought a small tin of Altoids, cut a couple of slots in each end for the power input and output wires (using some electrical tape as a makeshift grommet), and a hole in the bottom to screw down the regulator (making the whole tin into a heatsink). I soldered all of the leads together and closed the tin on the wires (with knots tied in them as a strain relief) and taped it shut with electrical tape. After verifying that it worked on the bench, I installed it in the glove box. With everything hooked up, turning the volume on the stereo almost all the way up results in a little bit of alternator whine and some other distortion, but playing music at that volume would be way, way too loud. At normal volume levels, you can't hear anything bad.

MiFi status dashboard widget

I've created my first Dashboard Widget. It's a MiFi signal strength / battery state widget. Whenever the mac is connected to the MiFi, this widget will display the signal strength and battery state. It's marginally easier than opening up a web browser.

I'm not a graphics wizard. All of the graphics in here I stole off the net using Google. Mea culpa.

You can download the widget here. Just unzip it and double click to install.

Enjoy!

Saturday, May 1, 2010

MiFi 2372.... FTW!

While the old portable hotspot solution I had was nice, it wasn't very portable. The idea of taking that rig with me on the train just wasn't going to be an option. So when I heard that Novatel Wireless had an AT&T friendly HSUPA network quad-band MiFi available, I decided to look into it.

AT&T doesn't offer the 2372. The only reason I can think of why they wouldn't is that perhaps Verizon negotiated some sort of exclusivity with Novatel. You CAN get the 2372 from either Bell Canada or Rogers... if you don't mind moving to Canada.

But that doesn't really matter. Because I already bought the Quicksilver card, I'm on a subsidized contract with AT&T anyway. Even if AT&T sold them, I'd have to buy one at full price.

So Google to the rescue. You can find places on the Internet that sell the 2372, and if you don't mind having the device airmailed to you from the Ukraine, you can get a reasonably good price.

The device itself is slightly smaller than an iPhone 3G/3GS. It has one button on the front that turns it on and off. It has a micro USB connector on the back for charging and for use with a single device without WiFi. In this mode, the device appears exactly like a standard USB 3G modem. It even can be used in Snow Leopard as a standard wireless WAN device.

There's only one problem I have had with the device so far. Its built-in DHCP server refuses to respond if you have a DHCP Client ID configured:



You have to leave the DHCP client ID space blank or you won't get an address configured. The other minor issue is that the router doesn't support uPNP or NAT-PMP, so the Back-to-my-Mac pane of the MobileMe control panel complains that it can't be reached by your other registered machines. This might mean other issues as well for apps as well if they require setting up port maps and stuff like that. Of course, IPv6 would be the perfect fix... someday.

When you're connected to the device, you can connect to http://www.mifi/ to get status on or reconfigure the device. This is also the place where you can talk to the file sharing component that serves up the files on a card in the microSD slot. I haven't tried that feature of the device, however.

Lastly, the device purports to have a GPS receiver built-in that allows you to query for location information. Unfortunately, it requires cooperation from the carrier to allow it to be turned on, and only the Sprint MiFi currently has this feature enabled.

Sunday, April 18, 2010

And away we go!

I like the FTP Steps Tournaments. I like to play Super Turbos, which are incredibly high variance. But the steps tournaments generally pay something to at least 2/3 of the field. So I bought into a total of 8 of the Step 2 tournaments ($8.30 + $0.40) over the course of today, and turned one of those buy-ins into a Step 6 ticket, which I've used to buy in to the FTOPS main event



Another one currently is a Step 5 ticket ($216).

Anyway, generally, the top two finishers advance to the next step, 3rd and 4th place tread water, 5th and 6th move down one level, and depending on the step 7th or 8th either get a boobie prize, or go down two levels or something like that. At the bottom 2 levels, the payouts start at 6th, but higher up, all you have to do is not come in dead last.

There is a 7th step. It is a $2100 buy-in tournament. 7-9 get nothing, 4-6 move down a notch, 2-3 tread water and 1st place gets a $18,000 WSOP tournament buy-in package.

UPDATE! I finished in 223rd place out of 4534, for a payout of $1500.

Playing around with microcell data

I have an AT&T Quicksilver card and the cheap, limited data plan for it. I don't use it much, but since it is a 3G device, I thought I'd play with it and the microcell, just to see how it compares to the iPhone data throughput.

To recap, the microcell, unlike the Verizon one, supports both data and voice. If you do a speed test with an iPhone (via the speedtest.net app) through the microcell (this is with the microcell hooked up to 6 MB / 768 kB DSL), you wind up getting about 2 MB down and 50 kbps up. With WiFi, it's 4.5 MB down and 610 kb up.

Data only devices, like the Quicksilver USB "card" still have phone numbers, despite the fact that they can't place or receive actual phone calls. They can send and receive SMS messages, in theory, but unless you buy an SMS messaging plan, it would be expensive, and if you're using the thing, you're on the Internet anyway. It's this phone number that you register with the microcell so that it can connect.

Sure enough, registering the device with the microcell and powercycling it (that is, removing and reinserting it into my laptop) worked. When I hooked up using the GlobeTrotter connect software, the network had changed from "AT&T" to "AT&T MicroCell".

Of course, the unlimited calling plan I have on the microcell does nothing for data. This is something I think AT&T really ought to address - if I'm using a microcell, why shouldn't I get unlimited data for free? This is why I don't normally have the card registered with the microcell - it doesn't do me any good, and frankly, I'd expect to do better just using my own wifi anyway.

And the speed tests seem to back that up. Running the speedtest on my laptop with wifi, I get 5.1 MB down and 610 kb up. This alone suggests that the phone is actually doing pretty well with its own use of wifi. The laptop has a bit of an edge over the phone given that it's got 802.11n and the phone only has g.

Well, the laptop going through the microcell has almost exactly the same results as the iPhone - 2.1 MB down and 60 kbps up.

I'm not sure why data uploads through the microcell are so heavily capped, compared to the native bandwidth available through the DSL connection.

There is a trade-off at work here - albeit only for the iPhone. If you use WiFi, it's a little faster, but if you use 3G, you get a publicly routable address - even with the microcell. For the data card, since the data counter still runs, there's much less incentive to use the Quicksilver through the microcell, however.

Sunday, April 11, 2010

3G Microcell launches in bay area proper

And, sure enough, if you put a Bay Area zip code in, the list of AT&T stores carrying the microcell is now at least twice as long as it was before, and includes stores in Fremont, Santa Clara, San Francisco... basically all over the bay area.

It's now somewhat annoying that if you put in 95050, you get listings in Hanford, Sacramento and the like when there are a half a dozen stores within a 20 mile radius. Never mind that, as has always been the case, it's incredible that one of the primary audiences for the Microcell are iPhone owners... and the whole page is one gigantic Flash app, which is useless on the phone.

Thursday, April 8, 2010

3G Microcell + PoE

I've blogged before about my attempts to get a PoE solution set up for the Microcell. The idea is that all of the network infrastructure in the garage is on a UPS, so it would be good to have the Microcell get its power that way as well. I tried making my own PoE breakout cable. It gave the appearance of working, but when the Microcell got to the point where it normally would start working, it just never came up all the way. There was no error indication on the front panel, it just wouldn't work. My guess is that somehow the transmitter caused enough voltage drop to screw it up. But I wasn't actually using the OEM power supply.

Well, long story short, I bought a passive PoE injector/splitter block off eBay, and it arrived today. Unlike my solution, it had the correct connector on it to use the OEM power supply out in the garage. I'm not sure if that made the difference, or maybe their wiring is somehow better, but it works perfectly. You can buy them here.

I didn't have much hope for the passive solution, so while I was at it, I bought a used DLink DWL-P200 PoE injector/splitter kit. Unlike the passive solution, this one is 802.3af compliant, which may give it more margin against voltage drop (since 802.3af uses a 48 volt supply voltage instead of just passing along the OEM supply's 12 volts).

UPDATE The DLink DWL-P200 arrived today, and it too works perfectly with the Microcell. My guess is that the DLink is the better solution, since it uses a higher voltage down the Ethernet wiring, with signaling between the two ends to enable the supply voltage, which offers some protection to all the devices involved. It also means that the supply voltage going to the device is better regulated than when the power supply was on the other end of 50 feet of twisted pair. The downside, of course, is that the DLink DWL-P200 is much more expensive than the passive solution. Though I was able to get a used set on eBay for cheap. Oh, and it turns out the DWL-P200 is not 802.3af compliant, since it actually pre-dates the 802.3af spec. Still, the higher voltage feeding into a low voltage regulator is likely to work better over long lines.

Tuesday, April 6, 2010

Microcell is back

4 months later, and the 3G Microcell is back.

Nothing really changed between then and now, except that now the activation web site flow doesn't reject our home address.

As I noted yesterday, punching in a Bay Area zip code gives you a list of AT&T stores in the Central Valley from Sacramento to Fresno. The rep in the store in Tracy said that they'd be available in the Bay Area for real on Sunday.

One thing I've discovered is that my "There, I fixed it" PoE cabling doesn't work. The device never starts working properly. I want to get it working with remote power supplied from the UPS in the garage, if possible, so that we won't lose our coverage during power outages. Now it looks like a real PoE solution will be required. The good news is that I got a really good deal on a used D-Link DWL P200 on eBay this morning. More on that once it arrives.

In the meantime, we're trying the great experiment once again - seeing if the combination of unlimited cell phone calls while at home, plus the Cell2Tel and our cordless phones >= Vonage. Fingers crossed.

Monday, April 5, 2010

Microcells come closer



The microcells are now available for purchase in the Central Valley. Tracy appears to be the closest store.

Gentlemen, start your engines!

Sunday, April 4, 2010

Concrete anchors - lessons learned

Scarlet bought us a 10' x 10' gazebo for the patio. It replaced our patio umbrella, and is nicer in that it's bigger, anchored down (and so, permanent), and has mosquito netting that can be zipped shut, if desired.

As for that "permanent" part of the equation, the disclaimers on the packaging actually don't imply that at all. They warn against leaving it up during extreme weather, and it comes with 6" long spikes that are intended to be driven into the ground. Well, we want to set ours up on our concrete patio, so we decided to permanently affix it with concrete anchors.

So, I've learned a thing or two having done it now.

The basic procedure is that you use a hammer drill to drill a hole in the concrete, then you hammer the bolt in and then put whatever it is you're attaching over the bolt and then tighten the nut hard so that you pull the expansion wedge through the sleeve to lock the bolt in permanently. If you ever change your mind, your only option is to cut the bolt off flush with the surface of the concrete.

So the first bit of advice I've learned is that before you start bashing away at the head of the bolt with a hammer, thread a couple of the nuts on and lock them together. This will protect the threads from the hammer and insure that you'll have no trouble threading the nuts on later. This is particularly important if you need to bash on the side of the bolts to 'adjust' them a little to line up with whatever you're trying to attach. I wound up having to cut the top 1/8 of an inch off one of the bolts with a hacksaw to get past the bit I damaged a little too much. And some of the other bolts were a little hard to thread.

Another bit of advice was that if you happen to drive one a little bit too far, don't worry too much - they are designed to pull back out a little bit as you're tightening them. Just thread the washer and nut on without the thing you're attaching and tighten. You'll get maybe 3/16 or 1/4 inch that way, which hopefully will be enough to let you thread the nut on properly with the attached object back in place.

Lastly, if you're using these things with a tensioned load, you'll want to periodically check to make sure they're still tight, since a varying tension load (like the wind acting on our gazebo) may make them pull out slightly as they wedge themselves in harder. I'll be visiting them periodically to make sure they're tight for the first few months at least.

Friday, March 26, 2010

Netflix WatchNow for Wii

We got our Netflix WatchNow disk for Wii today in the mail.

Surprisingly enough, it was in the form of an actual disk. I suspect that Netflix would have preferred to make the app available for downloading as WiiWare. But my guess is that Nintendo would have insisted on charging too much for the privilege. So a disk it is. And sure enough, you pop the disk in and select it from the "Disk channel" and fire it up.

The first time it phoned home and presumably noticed that it wasn't activated, so, like all Netflix devices, it put up an activation code and directed you to type that code into the Netflix website. It then immediately displayed the Instant queue, just like on the Roku.

The first surprise was that, though it wasn't obvious, it is possible to see other lists besides the instant queue. In fact, there are multiple lists, some genre based, others of various suggested titles... It was a nice surprise.

The navigation is fairly natural too. All in all, the whole solution is very Roku-like (as opposed to how TiVo works).

Sunday, March 21, 2010

Fancy or ugly Spring wiring? po-TAY-to, po-TAH-to...

One situation we have run across at work is the need to be able to, at configuration, time, choose between two alternate ways to construct an object, depending on the runtime configuration. In a lot of cases, this sort of thing winds up being a datasource configured within the container, meaning that you can use JNDI to your advantage, but this case wasn't really amenable to that.

So once you've split your application context into three pieces (the main piece and each alternative piece), then what?

Spring presently doesn't have any sort of conditionals for application contexts. It does have an <import> statement. You can use property placeholder syntax to conditionalize the import, thusly:


<import resource="${whichOne}ChoiceContext.xml"/>


And that works, as long as the whichOne property is a system property. But what if you're using PropertyPlaceholderConfigurer to get placeholder material from a property file? That won't work on <import> tags, because imports take place before bean creation, which is where the configurer gets loaded.

The workaround for that, it turns out, is to rephrase your <import> like this:


<bean id="myChoiceBeanFactory" class="org.springframework.context.support.ClassPathXmlApplicationContext">
<constructor-arg type="java.lang.String" value="${whichOne}ChoiceContext.xml"/>
</bean>
<bean factory-bean="myChoiceBeanFactory" factory-method="getBean">
<constructor-arg value="myChoiceBean"/>
</bean>


That is, create a ClassPathXmlApplicatioContext object out of the correct context file, then call getBean("myChoiceBean") on it, and cache the resulting bean in this context as "myChoiceBean".

Monday, March 8, 2010

Spring JCE / PKCS11

At work we have a need to integrate JCE with network crypto boxes. Turns out, with Spring, it's almost completely trivial.

If you're going to be using either a smart card or a network crypto provider, what you're likely to wind up with is a PKCS11 module for your platform. Sun provides for JCE a PKCS11 JCE Provider shim.

First, there is a very handy Spring idiom for adding providers to JCE at runtime. Here's how you can load BouncyCastle, for example, in a Spring application context as a throw-away bean (from this post at the SpringSource forums):


<bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="staticMethod" value="java.security.Security.addProvider"/>
<property name="arguments">
<list>
<bean class="org.bouncycastle.jce.provider.BouncyCastleProvider"/>
</list>
</property>
</bean>


You can add the PKCS11 provider in almost exactly the same way. The only change is how you declare the actual provider bean within the <list>:


<bean class="sun.security.pkcs11.SunPKCS11">
<constructor-arg>
<bean class="PKCS11ConfigFactoryBean">
<property name="modulePath" value="path/to/pkcs11/module"/>
</bean>
</constructor-arg>
</bean>


The PKCS11ConfigFactoryBean's job is to spit out an InputStream, which it creates from a mock configuration file that it creates from various properties. You can check the PKCS11 provider's documentation for the complete list of the contents of the config file, but at the very least, it has to contain a line that says "library=path/to/pkcs11/module". After filling a StringBuffer with the configuration options (don't forget to separate each line with \n), the getObject() method should return new ByteArrayInputStream(string.toBytes()).

Once you have the provider, you'll want to obtain a keystore. Your actual working code should be in the form of a bean that has a java.security.KeyStore property. You'll use the KeyStore to obtain the certificates and keys that are stored in the hardware. Spring provides the KeyStoreFactoryBean to fetch, load and initialize the keystore and plug it into your code. Just specify that you want a type "PKCS11" keystore and use the PIN as the password. You can then look up the certs and private keys and use them as normal. Of course, the PrivateKey object you get back won't actually be the key - calling getEncoded() on it, for example, won't work - it'll just be a sham object that provides a pointer to the actual key when it comes time to use it.

Monday, March 1, 2010

ATK Rice pudding

ATK has done it again. I modified the recipe a bit. It makes a bigger batch, but is just as tasty.

Rice Pudding

1½ cups medium grain rice
3 cups boiling water
1 tsp salt
1 cup sugar

3 cups cream
4 cups skim milk
or
3½ cups half-and-half
3½ cups whole milk

flavorings of your choice

combine rice, salt and water in a larger pot than you think you need. Bring to a boil, reduce to a simmer and cover for 15 minutes.

Add dairy and sugar, return to a boil and simmer for 30 minutes uncovered, stirring occasionally. After 30 minutes, continue to simmer for 15 more minutes, stirring more frequently to avoid scorching. Continue until the pudding can hold a wooden spoon standing straight up.

For flavorings, I like vanilla and cinnamon. There are a plethora of other options, including rose water, raisins, pistachio, walnuts, almonds.....

Sunday, February 28, 2010

Nissan LEAF - just one thing missing

I just saw an ad on TV for the Nissan LEAF, which apparently is an EV car for 2010. It has a 100 mile range, which is respectable. I think my next car is very likely to be an electric car. And a 100 mile range is probably fine, but it means we'll never take the car on a long trip.

The solution, however, is the concept of the "pusher trailer." These typically are made from old Volkwagen Rabbits. They're front wheel drive cars, which means that everything behind the firewall can be removed and thrown away. You attach a trailer hitch to the front, lock the steering, provide remote control for the throttle, etc and you're done.

With a pusher, an EV becomes a hybrid. They generally can run in a few modes:

1. The pusher can be off and in neutral for city driving.
2. The pusher can be pushing and the EV can be in neutral. This preserves the battery of the EV, and maximizes the fuel economy of the pusher.
3. The pusher can be pushing and the EV can be in drive and coasting. In this mode, the regenerative braking of the EV charges the battery with some of the energy delivered by the pusher.

Now, hackers have achieved this, so there's no reason at all that manufacturers couldn't make pusher trailers for EVs. In fact, if they were available for rent, there's no reason I'd want to buy one. If I was able to rent a pusher for taking a long trip, everybody would win:

1. I'd get to take a long trip without worrying about the batteries.
2. Whoever rents them would be able to maintain them properly, which is good for the environment.
3. I'd do the vast majority of my driving on pure electricity, which is good for both the environment and my pocketbook.
4. As fuel cell technology improves, I can foresee the pusher trailers eventually being replaced by fuel cell generators that would just plug into the car and keep the batteries topped up over a long trip.

The auto manufacturers could, in fact, create a standard for a pusher trailer interconnection with an EV. Making it different from a traditional trailer hitch would have some advantages, in fact, since it's fairly clear that the manufacturers wouldn't want to encourage folks to attempt to tow trailers with EVs (their range is short enough without adding more weight to them). Plus, there needs to be additional control signaling from the cab to the trailer. Finally, the software running the EV, were it aware of the potential availability of a pusher trailer, would no doubt make better battery management decisions when it detected one was hooked up.

The biggest problem I see with this concept being productized is not, in fact, technological at all. It's regulatory. One hacker can lop the ass-end off a VW rabbit, call it a trailer, and probably get it licensed as such simply because the DMV staff won't know how it could be anything else. But that doesn't really fly when a manufacturer tries to make n dozen thousand of them and sell them. Moreover, they would need to be able to say with a straight face that pusher trailers are safe. That means all sorts of testing and on and on and on.

Still, the concept is just too good for it not to be considered. The big question is, who will be the first auto manufacturer brave enough to embrace the concept and lead the effort to bring it to fruition?

Friday, February 26, 2010

Seriously, there's nothing better they can do with their time?

News comes to us via the MurkySnooz that the state assembly has declared next week a no cussing week.

Fuck that bullshit!

Thursday, February 25, 2010

Hey Scott...

Here's a clue for Scotty Lago:

Dude! If it was a gold medal, then maybe I'd say you could dangle it from your johnson for the chicks. But you do it with the bronze and you're just going to get bitch-slapped by the guys with silver and gold.

Wednesday, February 24, 2010

Note to self...

Next time you're at the grocery store, and you see someone with WIC checks...



Move immediately to a new line. Doesn't matter if you're next. You'll still get out of the store faster by starting over at the end of another line.

Just sayin'.

Monday, February 22, 2010

Import private key into java keystore - an easier way

If you ask google how you import a private key into a Java keystore file, the answers you get back all have source code for opening a DER file, reading it in and writing a keystore file programatically.

That works, but I've discovered a much, much easier way.

The -storetype argument to keytool allows you to translate key material. In fact, jarsigner can take the argument -storetype pkcs12, meaning you don't need to keep your signing key in a JCE keystore at all. But I digress.

If you can make a pkcs12 file with your private key and certificate - which should be easy with openssl's pkcs12 command - then you can use the following command to turn that into a java keystore:

keytool -importkeystore -srckeystore file.p12 -srcstoretype pkcs12 -destkeystore file.jceks -deststoretype JCEKS

Sunday, February 21, 2010

I have climbed the mountain

When Sir Edmund Hillary reached the summit of Mt. Everest, he closed the books on the record for the highest altitude a mountain climber could achieve. The only thing anyone could ever do from then on was tie.

And thus it is with me today. I have climbed the mountain.

There is no worse beat possible in Hold'Em. You cannot be in a worse situation than having exactly two cards in the deck that save you - and needing them both to come out on the turn and river (obviously not counting drawing dead).

My luck being what it is, I am, of course, on the losing end. So yet another achievement for my badge list, to go along with losing with a straight flush and catching under-quads.

Full Tilt No-Limit Hold'em, 6.25 Tournament, 20/40 Blinds (2 handed) - Full-Tilt Converter Tool from FlopTurnRiver.com

Hero (BB) (t2173)
SB (t827)

Hero's M: 36.22

Preflop: Hero is BB with 9♦, 9♣
SB calls t20, Hero bets t120, SB calls t80

Flop: (t240) 4♣, 9♠, 6♠ (2 players)
Hero checks, SB bets t707 (All-In), Hero calls t707

Turn: (t1654) 6♥ (2 players, 1 all-in)

River: (t1654) 6♦ (2 players, 1 all-in)

Total pot: t1654


Results:
SB had 6♣, Q♥ (four of a kind, sixes).
Hero had 9♦, 9♣ (full house, nines over sixes).
Outcome: SB won t1654

He went on to win the tournament - I got it in with top set again, but this time was fucked over by a mere flush draw.

Wednesday, February 17, 2010

Adventures in bad marketing

Saw this ad on the side of a Samtrans bus today:



Now, I can't read Hindi, but I can't possibly imagine what this text might say that would be a reasonable attempt to market beef to Hindus.

Either that, or McDonald's is implying that there is no beef on their dollar menu (never mind there is a prominent picture of a double-cheeseburger in the ad). This is, in fact, the case in India - the McDonalds' there serve mostly chicken sandwiches, I am told. But this is Redwood City, not New Delhi.

Either way, it seems like dumb marketing to me.

Tuesday, February 16, 2010

Ancient firmware updates

It's not every day that you set out to upgrade the firmware of a 10+ year old device.

One of the oldest pieces of gear still operational at our house is the fax modem out in the garage. It waits patiently for the phone to ring and receives faxes. Most of them are for Scarlet. The few that aren't are junk. But every once in a while sending an image of a signature or form or some such is necessary, and e-mailing a PDF won't work, so it's nice to have the option to use the old methods.

I was poking around the Internet looking for something else, when I managed to wander down the path towards US Robotics, which was bought some time ago by 3Com. In fact, they still have a USR website, including a support section for a lot of their obsolete products. I was able to root around and find my model of Courier V.Everything. I bought it sometime in, oh, 1997 or 1998 or so. I don't remember.

I opened up the serial port and did a ATI7 and, in fact, it informed me that the firmware was out-of-date, and that they had a DOS based updater for it. Ew. Well, I read a little further, and believe it or not, they had a mechanism for updating the firmware for folks running without DOS/Windows. If you send AT~X! to the modem, it starts doing an XMODEM receive for a firmware update. How convenient! Well, I was using kermit as a modem terminal program, but shelling out from kermit's command mode allowed me to use the lrzsz package from the ports tree to send the firmware. And it was done.

I'm not sure if the update did a lot. The same set of AT commands appears to be present. Hopefully it might have a positive impact on the fax reliability. I don't really use the modem for anything else.

Sunday, February 14, 2010

Chocolate Chip Cookies, the final word

My favorite two cooking shows are America's Test Kitchen and Good Eats. I love them both because they really take a proper scientifically educational tack. What I mean by that is that they do more than tell you how to do something, but they show you why you should take their advice. They both do this by taking a dish we all know, and may not be entirely fond of, and prepare it, all the while explaining why they do it the way they do.

It's particularly interesting when both shows cover the same topic, as they recently (or in the case of Good Eats, not so recently) did for one of the quintessentially american dessert recipes of all times: The Chocolate Chip (aka Toll House) cookie. This recipe was made famous by the Nestlé company, which printed the recipe on the back of every bag of chocolate chips they've sold since the end of the pleistocene.

I grew up with these cookies. My mother used to bake them and mail them to me in care packages when I was at summer camp. And they were good. But I never had particularly high standards for them.

What changed my mind was the Good Eats episode, "Three Chips for Sister Marsha," where he took the original recipe and demonstrated how to tweak the recipe to send it in three different directions, resulting in caky cookies, thin crispy cookies, or - my favorite - chewy cookies.

I've been making Alton's Chewy recipe for years now, with great success. Until a few days ago, I figured it was the last word on the subject. But I just watched the latest episode of ATK, called "The Cookie Jar," where they made chewy toll house cookies.

So now we have my two favorite cooking authorities weighing in on the same subject. Let's compare and contrast.

Alton specified bread flour, ATK was content with AP. Alton used the customary 2 and 1/4 cups, ATK reduced it to a cup and 3/4.
Alton replaced the 2nd egg white with 2 tbsp of milk. ATK simply omitted it.
ATK doubled the vanilla quotient. Alton left that alone.
While Alton melted the butter, ATK went to the extra trouble of actually browning it.
ATK used 14 oz of butter - 10 browned and 4 added whole to cool - Alton stuck with 16 (two sticks).
ATK used 3/4 cup of brown sugar and half a cup of white. Alton used 1 and 1/4 cups of brown and 1/4 cup of white.
ATK used 1/2 tsp of baking soda, Alton stuck with 1 tsp.

Rather than go to the ATK website and print out the recipe or try to use the pause button and get the ingredients, I decided to simply use the same Alton "chewy" recipe I've been using all along, but to brown 3/4 of the butter first, cooling it with the remaining butter before combining the result with the sugar. I also let them cool on the pan (as ATK suggested) rather than moving them straight to a plate to cool.

The other ATK recommendation concerned the chips. They recommended Ghirardelli bitter-sweet chips, rather than the Netslé milk chocolate chips I usually buy.

So how did they turn out?

I'm very happy with them. I actually think that the change to the bittersweet chips made the biggest difference. The cookies have a powerful chocolate flavor that they never really had before. Cooling them on the pan crisped up the bottoms, giving them a sort of half crunch, half chew consistency that is nice. I think the chocolate flavor of the chips overwhelms whatever other differences there may have been in the batter, but Scarlet disagrees with me there - perhaps my palate isn't discriminating enough.

Setting up the Netgear MBR624GU 3G router

I went through the setup process for the MBR624GU taking screenshots as I went. You'll want to click on each one to be able to actually read them.

Incidentally, here's the Quick start guide and the manual.

Here's the process.

1. Connect up to the router and open up a browser. Go to http://routerlogin.com/ . You'll actually be redirected into the router (this is a magic domain Netgear has setup for this purpose). If it doesn't start the wizard automatically, click on 'Setup Wizard' in the left frame.



2. If the firmware is not the latest one (as of this writing, it's what is shown in the screenshot), then disconnect from the router, go fetch the latest firmware from Netgear and come back to this page. Click the 'upgrade' button, supply the firmware to the router, let it reboot and start over.

Otherwise, click 'next'.



3. Wait



4. Enter 'ISPDA@CINGULARGPRS.COM' in the username field and 'CINGULAR1' in the password field. Click 'next'.



5. Wait



6. Wait



7. Enter a name for your WiFi network. Click 'next'



8. Unless you feel like suicide by phone bill, click 'yes'.



9. Unless your computer doesn't support it, you should pick the WPA-PSK + WPA2-PSK option.



10. Enter in a fairly lengthy, mixed case passphrase for your WiFi network. You'll need to enter this in once in order to connect your computer to the new network being created, but your computer should remember it. Of course, anyone else who you invite to connect will also need to type it in, so it should be easy for you to either remember or look up.



11. At this point, you're done.

Thursday, January 28, 2010

SMS over IP?

One answer for improving cell phone coverage is to leverage local internet connectivity and use VoIP. T-Mobile had phones a while ago that had that as a feature. AT&T and Verizon's answer to this is microcells, which provide regular cell phone connectivity with the Internet as a backhaul. Of course, AT&T's microcell isn't available yet in most places. Adding the ability for phones to fall back to WiFi for phone calls is complex because of the relatively demanding requirements of full duplex voice conversations.

Most providers have a web page that can be used to at least send SMS messages.

I bet most of you are now way ahead of me.

It would be far, far easier to provide for SMS messaging over IP, because there are no demands for low latency or jitter. It would be simple for a phone to make a secure connection over an Internet connection provisioned with WiFi and use that connection to send SMS messages and poll for message delivery.

The carriers could even sweeten the deal by not charging for SMS messages sent over WiFi. Of course, given the obscene profits the carriers are making with SMS, the prospects of that actually happening are dim.

Wednesday, January 27, 2010

iPad

Ok. I've seen the video.

The iPad represents the arrival of the viewscreen technology portrayed in 2001: A Space Odyssey. Specifically, the scene where Bowman and Poole were watching themselves being interviewed on a BBC chat show. The devices they were watching look far more like iPads than any other device that has come along so far.

I can see the iPad serving one particular role for me, personally.

Right now, I use a macbook as an alarm clock. A cron job spawns Pulsar to play Squizz Octane.

There's no reason in the world that this job couldn't be done by a lesser device. Hell, there's no reason in the world that this couldn't be done with an iPod Touch. XM needs to make it possible for their app to automatically start playing your favorite channel when it is launched, and Apple needs to add the ability for the alarm clock to launch an app at a particular time.

Alas, until those two features exist, I have no choice but to keep using a laptop. Because it is an open platform. I have access to cron. cron may or may not be running on the iPhone / iPod Touch / iPad OS variant, but I'll never know because it's not accessible in any meaningful way. And because Apple has such control over the platform, all I can do is patiently wait for them to do what I want them to do (if they ever do).

The closed platform has advantages. There's no malware, for instance. But the flip side of that coin is that there is no Full Tilt client for the platform. Not because Apple would have anything against online poker, per se, but because of the legal quagmire surrounding online poker, there's no way that Apple could approve an app to be in the store without getting dragged into legal hot water. And since there's no other (reasonable) way to get software onto the device, that's the end of it.

I don't mind a closed platform for my phone. The advantages in terms of making the device both resilient and safe far outweigh the limitations. But once we're not talking about a phone, I think the disadvantages of the closed platform loom too large to be ignored.

Happy Birthday to me... times a thousand

So it's interesting how sometimes technology can lead in unexpected directions.

The authors of phpBB included a spot on their account creation form for you to put your birthday in. This is, more or less, required by federal rules about websites tracking minors and stuff. They decided it would be fun to use that information, since they have it handy, and send you an e-mail wishing you happy birthday.

It's a nice thought.

This morning I opened my e-mail and had 24 of them. Almost all of them worded exactly the same. A bit of a Sorcerer's Apprentice broomstick pailfull of birthday cheer. It gave me a bit of a chuckle. At least now I know how many phpBB forum accounts I've managed to create over time.

I guess if there's a lesson here, it's to check the default settings in any software you install - particularly any software that automatically generates e-mail.

Tuesday, January 26, 2010

Now THIS movie, I'd go see...

I'm glad to see Tom Hanks branching out.

Avatar, IMAX 3D

Scarlet and I saw Avatar this evening. We went all-out and saw it at the IMAX theter at the AMC multiplex at Cupertino Square.

I was under the misinformed impression that IMAX movies were shown on domed theaters. This theater was just like any other theater I've been in in the last year. I thought perhaps the screen was a bit bigger, and the aspect ratio looked to me to be more square.

As for the 3D part, that doesn't really do anything for me, because my left eye doesn't really work. I've always had trouble with 3D movies. 3D movies are universally designed to present slightly different images to each eye. The first such systems attempted to do this with red and green colored gels, and systems in the 80s and 90s used LCD light shutters to present alternating frames to each eye. Both of those systems really sucked for me. The colored lenses wound up giving me nothing but green, and the alternating frames just halve the frame rate, effectively, which just introduced unacceptable levels of flicker.

Invariably, whatever glasses they hand out for such presentations are required, otherwise your eyes see both images, which results in horizontal blurring.

Well, I'm happy to say that for the first time, I was able to watch a 3D movie without any of the problems I've had in the past. The new systems use simultaneous projection of light with different polarization. So long as I kept the glasses on, it looked, well, just like any other movie does. Occasionally, the polarization didn't exactly meet up and I saw a faint ghost of the view for the other eye, but if I adjusted my head slightly, I could minimize it.

Meanwhile, Scarlet said that the 3D effects in the movie were amazing. She felt like things were flying towards her, like she could have caught them. I was a little envious. But it's a little like listening to tetrachromats describe what they see. If you don't see what they see, it can't really be properly described.

The movie was good. It can, however, be rather fairly described as Pocahantas meets Halo.

Monday, January 11, 2010

Well, here's a first



Runner-runner, no less.

The money went in post-flop. I normally wouldn't play this way, but against these bots, you wind up playing far more aggressively. And besides, when the money went in, it was still the best hand.

Why, it's a major award!

Look what Scarlet bought for me!



We spent the late part of an evening and a little time in the morning to finish it. I'm undecided as to whether to take it all apart again or shellack and frame it.

Sunday, January 10, 2010

Netgear MBR624GU review

As promised yesterday, I've got ahold of a Netgear MBR624GU. The purpose of this box is to turn a mobile Internet access modem into your own personal WiFi + Ethernet hot spot. It took some doing to get it set up, and it's not quite as perfect as I had anticipated it would be, but I think it's largely close enough.

The first thing I noticed when I got the thing out of the box was that the USB port was recessed somewhat. In fact, the entire back panel is about a quarter inch in from the surface of the top and bottom plastic parts of the case. This means that you can't directly attach the USB modem. That means the thing isn't quite as portable as you would hope / expect, but it gets worse than that. Netgear includes a weighted USB port "base" to hold your modem at the far end of a 3 foot USB cable. Having played with the thing briefly, it's clear that they really expect you to put the modem effectively at arm's length away from the box itself. If you try and use a shorter cable / distance, the reception of your modem begins to suffer, probably because of RFI from the box itself. This is somewhat disappointing, but it does open up the possibility of, for example, putting the modem on the back shelf of your car while the box itself sits on the back seat.

The firmware version included in the unit as it came in the box was not compatible with the AT&T Quicksilver (Option iCon 322) modem. Fortunately, there is a firmware update you can download from Netgear's site that does support this device. With the firmware update, the modem was recognized, but still could not automatically connect. You need to supply an account name and password - "ISPDA@CINGULARGPRS.COM" and "CINGULAR1". Having added that, and used the supplied USB cable/dock, the device connected up all by itself and began working perfectly.

Speed tests show I'm getting about 1.5 MB down and 500 kbps up here at home. I was getting a little bit better upload speed from my laptop connecting directly, but I wasn't getting quite as much in the download direction. Of course, this is with a fairly small sample size, and in only one location. If nothing else, configuring my laptop to connect up to a WiFi access point is a whole lot less trouble than setting up the device was.

Having to separate the modem from the unit is a minor peeve - one that might have been overcome by better shielding. But apart from that, I can't find any faults with the device.

UPDATE: I got the Netgear "official" car cord for the router. It's a bit of a disappointment. It seems to be very, very sensitive to the voltage available. So much so that with the engine running in my VW, it works correctly, but when I switch the engine off, it reduces the USB bus voltage enough to make the card stop working. Using a car AC inverter and the router's AC adapter works fine, though obviously this will result in more draw on the battery. But if you intend on using the hot spot while parked, it's the only option that will work, apparently. On a long drive, however, the car cable should work just fine.

Saturday, January 9, 2010

AT&T QuickSilver USB laptop "card" review

It amuses me a little bit that AT&T has still not enabled tethering for iPhones. My central argument is that just because iPhone users use more bandwidth on their phones does not necessarily imply that that "excess" usage would carry over to tethering. All AT&T has to do is price it they way they price tethering on other phones/devices. For instance, the Laptop Connect plan they offer on the USB dongles is either $35/mo for 200 MB, or $60/mo for 5 GB. If they priced tethering like this, then it wouldn't really matter that they used an iPhone or, like me, got a USB dongle.

I decided to go with an AT&T Quicksilver dongle. These are actually rebadged Option iCon 322s, so operationally they're equivalent. I was able to get it working 3 ways... Under VMWare Fusion with Windows XP, under Snow Leopard with their GlobeTrotter Connect software, and "semi natively" using the built-in networking.

If you just plug the Quicksilver into a mac without loading any drivers, nothing happens. If you then go and download the drivers that would appear to be the correct ones, you get mac kernel panics, which are otherwise known as the "grey screen of death." Not a good way to start. Googling around finally led me to relatively new Snow Leopard compatible drivers, which worked. With those drivers, and the GlobeTrotter software, I got a connection fairly quickly.



What's somewhat less wonderful about this is that behind the scenes, their software accomplishes this by setting up a whole new Networking "Location" with nothing but the laptop connect card in it. This can conceivably cause issues with VPN configurations. It would be much better in such circumstances to configure the network stack yourself. Fortunately, I found this blog post that has the instructions for setting it up.

As for the device itself, AT&T offers refurbished units free of charge with a 2 year contract. You can, instead, buy a new one for $99 and get a $100 mail-in rebate. For a device that is completely devoid of any user controls, I can't imagine why a refurbished unit wouldn't be perfectly acceptable as opposed to a new one.

The speed is just as good with each method. I was able to run some speed tests and got about a megabit up and down for the most part. The advantage of using the Globetrotter stuff is that you get a signal strength indicator. The advantage of using the control panel is being able to use a menu item icon to connect and disconnect, and potentially being more compatible with VPNs.

But potentially the best option is yet to come. I have a Netgear MBR624GU wireless router on order. If this combination works, then it will be the exact equivalent of a coffee house wifi hotspot that you can take with you anywhere you like. I'll revisit that topic when that device arrives in the mail.

Tuesday, January 5, 2010

Mophie Juice Pack considered harmful

I've been using a Mophie Juice Pack Air on my iPhone for a while now. It performs very well in most ways - with it, the iPhone's internal battery stays at 100% most of the time. This is good for the longevity of the battery, which is good because replacing it is a gigantic pain. With the battery in place, however, I've noticed that the phone has much worse over-the-air performance. Places that have 5 bars with the naked phone have no coverage with the battery in place. This is particularly the case at home, where the cell repeater gives 5 bars in the living room without the Mophie, but only 0 or 1 with it. The same happens on CalTrain just north of San Antonio. And at my office desk.

There are, however, lots of places where I get 5 bars even with the Mophie. So perhaps it can still serve a purpose. But the worry is that if the battery makes reception worse, then it makes the transmitter work that much harder, negating the battery life gains.

So despite this post's title, I guess I can't entirely write off the Juice Pack. But if you are considering it, be aware that you're wrapping the antenna with a layer of battery.

Sunday, January 3, 2010

NFL - final week 2009

The ability to receive KCBA has given the biggest benefit of the season today.

Because the Raiders are playing at home today, KTVU cannot air the Eagles / Cowboys game, which is one of the really pivotal games being played today. The winner largely determines the seating order for the NFC playoffs - never mind the fact that Eagles / Cowboys is a storied rivalry.

On behalf of everyone in the bay area who cannot get KCBA, I'd like to send a message to Al Davis:

Please, please, please for the love of God, move your pile of shit team back to LA. Or Reno. "Reno Raiders" - that has a great ring to it.

If you don't like that, try Montana or Wyoming. Just anywhere but here.

Thursday, December 31, 2009

3G Microcell - fun while it lasted

As you're aware, if you've been following along, when we went to the AT&T store in San Diego, we told them we were from out of town and the sales unit typed our home address here in Santa Clara into the computer and assured me that when I got the unit back home I could put in that address and it would be fine.

And, for a week, it was.

Apparently, that was a bug. A bug that AT&T fixed sometime before last night. As of now, I am no longer allowed to register our address here in Santa Clara with the microcell. And without it being located at the address to which it is registered, the GPS check fails and it emulates a doorstop.

I called up AT&T this morning and their plan of record is now to have me ship the unit back to San Diego for a refund.

Idiots.

There is a 30 day refund policy. If the unit is going to be made available in less than 3 weeks, I'd rather just keep it. But naturally, they refuse to "discuss future availability." I could understand not issuing advanced press releases, but these are extenuating circumstances. I cannot possibly believe that there is nobody up the food chain that has a clue as to even approximately when they'll roll these out.

Besides, they've been "testing" the microcells for, what, 9 months now? They work. Really well. Just flip the goddamn switch, AT&T!

Wednesday, December 30, 2009

3G Microcell, more day-to-day info

So it's been a few days since we got home and the microcell is still working perfectly. We haven't tried really abusing the upload bandwidth while a call was in progress. The same carve-out that was in place for Vonage on our server is still in place, so that should be sufficient.

I had an opportunity to test the call hand-off this morning. I called the USNO master clock (202-762-1401) in the driveway while the M-Cell logo was on the phone. I stayed on the call (via bluetooth, not with the phone up to my head) until I had driven about a half mile away. The call got a little spotty very briefly as I got a little bit away from the house (mostly because the coverage near our house is not so good), but the call was handed off. While the call was still going, the M-Cell logo stayed in place on the screen, despite the fact that the phone was well out of range and had handed off to the network proper. As soon as I hung up, and the call was ended, the logo reverted to the usual AT&T one. This likely is the phone's way of letting you know that if you have the unlimited calling plan that the call is still free.

When you fire up the Google maps app on the phone and then click the 'location' button, typically what happens is that the phone uses cell tower triangulation to get an approximate fix, then the assisted GPS functionality refines that down to a point. When the phone is in range of the microcell, it's clear that the microcell's GPS receiver has an impact on that initial triangulated fix - the dot starts up being in the right spot with a house-sized circle around it, then when the phone's GPS kicks in, the circle shrinks down to nothing.

One thing that's a little bit of a let-down for a techie guy like me is that the microcell is a bit of a black box. The status lights on the front don't ever change, and so far as I have found, the box has no open TCP listening ports, so it doesn't have an HTTP server or anything of that sort. It's the quintessential Internet appliance in that regard. It would have been slightly more fun had it had some sort of configuration or status UI. Apart from the blinking status indicators while it's booting up and activating, it doesn't do anything visible at all. Since there's no way to configure the box, it's likely that it requires a DHCP server in order to function (this is in contrast to lots of appliances that use DHCP by default, but allow manual overrides with a configuration GUI). This would have been an issue a while ago had I chosen to deploy the box to the outside network instead of behind the NAT, since it used to be that the outside LAN had no DHCP server. That has since changed, but if you have a completely manually configured network (likely a rarity nowadays), you may have some trouble.

It has had no trouble receiving a GPS signal, so far as I can tell, despite being pretty close to the center of the house. There is a window nearby, so it's conceivable that that helps, though probably the bigger factor is that above the unit is just a drywall ceiling, a layer of cellulose insulation, and a plywood and asphalt shingle roof. Wandering around inside with a Garmin tends to work most of the time. The box has a GPS antenna jack on the back, though at the moment there's no documentation about it, nor is there any mention on AT&T's site about an accessory antenna you can buy and situate closer to a window, if required. I assume that when the nationwide roll-out happens they might offer one.

Since the box plugs into AC power, it will die if there's a power failure. The network infrastructure here is on a UPS, but unfortunately it's also located out in the garage. I wanted the microcell a little bit more centrally located than that, since the path from the garage to the office goes through a lot of walls. One workaround I have used before is to cobble together a power-over-Ethernet solution - a pair of specially modified Ethernet cables that break out one pair to pass power. Then just set up one continuous Ethernet path from the back of the garage to the dining room (this is easier than it sounds), plug the power plug from one hack-cable into the microcell, plug the wall-wart into the socket hooked up to the other hack-cable, and then plug the wall-wart into the UPS.

Thursday, December 24, 2009

3G Microcell

The AT&T 3G Microcells are for sale in San Diego, and coincidently, we're down there for the holidays. I went to one of the stores that was selling them, and despite being told we were from out of town, they were happy to sell us one. Registering it online was simple, although it did take about a half an hour for it to complete its setup and become active. During that time, you can't help but wonder if it is going to succeed. It needs to get good GPS reception before it will fire up. But once it did, the coverage at our parents' house was quite good upstairs. It was a bit more spotty downstairs, but once we get home I am fairly confident that the coverage should fill our smaller house. The web page at the AT&T site that manages the microcell allows you to put multiple physical addresses in and pick which one is the active one. You must put an address in, and the device's GPS will verify that it's accurate or it will refuse to work.

Normally you'd install the microcell someplace where you already have WiFi, so the fact that the microcell does 3G data is kind of moot. There are some points of interest, however, that make pondering the trade-off worthwhile. With WiFi turned off, I get a fairly consistent result from speed tests: a little less than 1 MB/sec down and about 60 Kbps up. WiFi here at my parents' house in San Diego gets easily 5 MB down and 2 or 3 up (their cable modem service is amazing - like, 15 MB down and sometimes 5 up). However, with WiFi, you're typically behind a NAT, and if you use 3G, you get a public address - even though you're using the microcell. Of course, apps that require local connectivity, like the iTunes remote app, won't work through the microcell because of that (you'll have to use WiFi).

I've made a number of calls through the microcell now, and they all sound as good as a cell phone can get. When we get back to Santa Clara, the uplink bandwidth will be a bit more constricted than it is here, but given that Vonage works ok, I would think the microcell will work just as well.

Update - 12/27

We got back tonight. Before leaving San Diego, I powered off the microcell and changed the address on the unit to our home address here in Santa Clara. When we got back home, the microcell took about a half an hour to come back up. When it did, we got the activation text message again, just like after the first activation. As I predicted, the coverage is just what I had hoped - 5 bars throughout the house and all around our property. Unfortunately, there is no unlimited minutes offer outside of the test markets, so we're not getting any breaks on our plan minutes. But hopefully that will change when the nationwide rollout starts. I suspect that the various test markets are really about testing the price points for those plans rather than any technical issues.

Sunday, December 20, 2009

Really, NFL?

We're close to the playoffs. And of all of the games this weekend, there is one that is the most important.

The Chargers are hosting the Bengals at home. The Chargers are one game ahead of the Bengals in the drive for the 2nd AFC playoff seed - which means a first round bye.

In the latter part of the season, the NFL and the networks have the opportunity to "flex" the schedule - to make a more important game the Sunday night game, relegating what was scheduled in the pre-season back to Sunday afternoon (or morning).

So it didn't occur to anybody that this crucial game is worthy of being played on Sunday night? They think Vikings - Panthers is more important somehow? Really?! The Vikings are almost assured of either the #1 or #2 seed in the NFC and the Panthers are all but mathematically eliminated. Who gives a shit?

The only other game even close to how important that game is is the Eagles and 49ers. The 49ers need a win to even have a chance at a wildcard spot, while the Eagles are almost assured of the number 3 seed in the NFC. Of course, since the 49ers are the home team here, it'll be on Fox for sure.

The wrinkle is that the weather has screwed up the game schedules on the East coast. So potentially, the CBS morning game might have been the Chargers', but now that game will be played at the same time as the Raiders @ Broncos. Another "who cares?" game. But it's moot - Fox got the doubleheader today anyhow. Their rejiggered schedule today will give us the 49ers game in the afternoon, and of all of the remaining morning games to show us, they picked... Cardinals / Lions?! Does anybody honestly think the Lions have a shot at their third win this week?

Perhaps the single most important football game of the entire season. None for you!

Saturday, December 19, 2009

Epic win

Look what I saw today:



The bumper sticker is available at I Park Like An Idiot.com. I can neither confirm nor deny any information concerning how the sticker got there.

Friday, December 18, 2009

Crossing the anti-spam Rubicon

I've resisted it for a while now, but it's time.

I have added the first DNS TLD to my spam filter.

I have yet to get a single e-mail that wasn't spam from any domain under .info. Not one. It's proven to be one of the best positive indicators of spamminess I've seen in a while now.

There are some .info websites out there that are, well, informative. Which is good. But if anyone can list any legitimate source of e-mail in the entire .info zone, then list it in the comments. Because I ain't seen one yet. And as things stand now, I never will.

Saturday, December 5, 2009

There! I fixed the backyard gate!

We used to have a nice handle and lever style latch on our backyard gate. It was very attractive, and allowed operation from both sides. The problem was that it turns out it wasn't dog proof. Our new dog, Luna, was able to "bonk" into the gate and get it to flip open. She escaped into the world a couple of times, only to have neighbors return her. That's rather embarrassing, so that gate latch had to go.

Everyone has seen the standard kind of gate latch. It consists of a horizontal bar that attaches to the door (if it's inward-swing), and a metal bracket with a slot for the bar to fit into and a hinged metal piece that goes up and down to lock the bar in. It's serviceable, and (at least in our case) dog-proof. The difficulty is that it has no provision for operation from the outside.

Well, not quite. There is a small hole in a tab on the latch that you're supposed to tie to a piece of string run through a hole in the fence. We've all seen those, and the various failure modes.

If the string in any way restricts the free movement of the latch, the whole mechanism is bound to fail. And, of course, in this case, the failure mode is unlatched, dog-roaming mode. Even if the string works, it won't work for long - the wood fence material will no doubt shred the string before too long.

Well, you could attach a wire instead of the string. The problem there is that a solid wire is even more likely to impede the free movement of the latch.

No, what you need is a frictionless, low profile linkage between the cable and the latch.

What you need, is a fairly standard part from the RC model hobby industry: A clevis linkage. A clevis linkage is a small pair of long, thin metal plates that normally sit parallel to each other. At one end of each, there is a round grommet through which you run the cable and either crimp or solder to permanently attach the linkage to the cable. At the other end of one of the parallel plates is a pin, and at the end of the other plate is a hole inside which the pin sits.



Solder a foot long (or so) piece of 1/16" braided cable in the clevis, and use a crimp coupling to form a finger loop at the other end. Drill a 1/4" hole right behind the top of the latch. Run the clevis coupling end of the cable through the hole and attach the clevis pin to the latch.

I have to admit, I didn't come up with this idea myself. We used to have this same problem on our other gate - the string wore out almost immediately, and I was just used to reaching over the fence (I am tall enough) and flipping the latch by hand, but that didn't help Scarlet. So one day while I was in our local hardware store, they had a display for a gate latch improvement kit. It was virtually identical to what I've described above, except that their kit also included a very, very large spring intended to go between the gate and the latch to help insure closure, and a washer with a flange that was meant to sit in the hole and hold the base of the spring centered around the cable hole.

I'd heartily endorse that kit, except that the local hardware store doesn't carry that product anymore, and nobody else has ever heard of it.

The other problem is that while that kit worked flawlessly on the gate where I installed it, a quick test shows that it wouldn't have worked quite so well on this gate. The issue here is that the latch is installed on a 2x4, but the hole you drill for the cable is above that 2x4. That means that the washer / spring base would sit a good two inches behind where it's designed to. I'd either have had to build up the face of the fence at that spot so that the hole emerged "at grade" or modified the kit's spring somehow. But that implies I would have had the kit to start with - I didn't.

Instead, it appears that, at least in this case, the spring is unnecessary. Of course, YMMV.

Wednesday, December 2, 2009

That didn't take long

They kept telling me that if I voted for John McCain that we'd seen escalation in the US military presence in the middle east. I did vote for McCain, and sure enough!

Sunday, November 29, 2009

Trivia: World's first powered vehicle?

In the modern world, people and goods are transported across distances by a wide variety of power systems, from internal combustion, to electrical, to rocketry, and animal (including human) power.

The first non-human powered transport was domesticated animal power, of course, reaching back into pre-history. Potential energy machines, such as spring powered engines simply store human power (when you wind up the spring), so they don't change the timeline at all.

No, to find the first example of a non-animal powered transportation system, we have to look for the first such system that operated under its own power.

If you count systems where all of the energy is expended at the beginning of the journey, then we can include the development of firearms. But if we restrict the field to systems where motive power is applied throughout the journey, then the Chinese experimentation with rocketry in the 13th century is where we have to begin. If we further restrict the field to vehicles that aren't single-use (I don't believe the Chinese ever flew a refuel-able rocket), then we will arrive at steam powered vehicles. And the first one ever was a toy built for the Chinese emperor in 1672. Once again, China figures into the history of transport.

Saturday, November 28, 2009

Power outage

Well, the electric power has been out for, oh about an hour now. I'm able to do this because I have a UPS on the wifi and a battery in my laptop.

I tried calling the electric department at the city to get more information. They had the usual byzantine DTMF phone tree, which led to two recordings that said absolutely nothing whatsoever, except that there was a power outage. Which I knew, or I wouldn't have called in the first place. To quote Bill Murray in the movie Quick Change, "you could have been helpful, but you've been... so much more."

It's almost 2010. With all of the computer technology available, you want to tell me that when there's a power outage the utility has no way to know immediately where it is, at the very least?!

Wednesday, November 18, 2009

Money down the drain

The Capitol Corridor folks spent nearly a million dollars retrofitting one of their locomotives to emit less particulate matter.

You want to really do something about diesel locomotive emissions? How about electrifying the lines? Not only would that eliminate locomotive emissions (yes, there would be power-plant emissions instead, to the extent that non-emitting power sources - like solar, wind and nuclear - don't get used to generate the power), but it would allow deployment of EMU consists that would be able accelerate much better, meaning a faster journey, making the trains more attractive for commuters.

But instead, that's a million dollars we now don't have to electrify the lines or, better yet, to start high speed rail service. Congrats!

Saturday, November 14, 2009

FreeBSD 8.0

I upgraded quack to FreeBSD 8.0 RC3 this evening. I also re-enabled the journaling on /home. The last time I tried the journaling for UFS, it was very unstable. Hopefully in the interim, things have gotten better. If I don't post bad news, then you'll all know it went well.

The only other minor upgrade gotcha was that the APC daemon that monitors the UPS failed. All I had to do was change the device name and rebuild the port and it worked once again.

Wednesday, November 11, 2009

Apple and China

So, how is it that the same company that did this is responsible for helping the Chinese government spread propaganda?.

So 1984 wasn't like 1984. How about 2009?

The Chinese people have a long, storied and glorious history. They deserve so much better than the Maoist goon squad they have running the place now.

Sunday, November 8, 2009

And now, the portfolio is complete

Over the course of a poker lifetime, I think all players who play enough can expect to experience every possible way they can get cold-decked. It doesn't take too long for the nut flush to be beat by a full house. With a little more experience, you're bound to wind up getting hit by set-over-set. But the really esoteric ones are much less likely. Specifically, winding up with the sucker straight-flush (that is, a 3 card straight-flush on board, you have the bottom two, your opponent has the top two), or with the under-quads.

I've already experienced losing with a straight-flush. And last night, I got fed the under-quads.

Now, to be fair, I was playing Chinese Poker with Evan. When you get dealt a quarter of the deck, quads are a bit more likely to happen. But this was quad Jacks under quad Queens.

I just don't know. It's a cruel universe that gives me the skill set to understand the game as well as I do, and then continually feed me shit sandwiches.

Saturday, November 7, 2009

What exactly is being safeguarded here?!

It's commonplace nowadays to buy bottles and jars of stuff from the grocery store and find a seal attached to the top of the bottle underneath a screw-on top.

Now, it's annoying to have to remove the spout from the jar, remove the seal an reattach the spout the first time you use it (as opposed to removing, say, a shrink-wrap plastic wrapper around the spout/cap). But you can sort of understand it. The seal is like the lid of a canning jar - it's a hermetic seal that preserves the contents from spoilage.

The trend sort of started with the Tylenol poisoning scares in the 1980s, and what became a seal against spoilage gained a second purpose as a protection against product tampering.

But the concept falls really, really flat when the product being protected is DISHWASHER DETERGENT!!!!

Thursday, November 5, 2009

Ordinary ergonomics

I'm continually astonished by the poor ergonomics of every day items. It's as if people don't actually try the things they create and put into the marketplace.

Today's example, believe it or not, is Betty Crocker's Dark Chocolate brownie mix.

If you've been living in a cave your entire life, I'll briefly describe this product. It's a box with a pouch of powder, and a second pouch of chocolate syrup inside. You mix the powder with a measured amount of water, vegetable oil, and eggs; pour it into a pan; throw it in the oven and bake until done. The result: a pan of brownies.

So what ergonomic issues could I be talking about? Well, the box has the instructions on the back. The instructions include the amounts of the ingredients you need to add to the mix, the temperature of the oven and the baking time.

That's pretty important information. In particular, the amount of water and oil you need to add is a particularly important piece of information, I'd guess.

So why the hell is that information in the smallest font on the box?! The font showing that you need to use ½ cup of oil is positively miniscule. So small that it's actually hard to tell whether it says ½ or ⅓ cup. Hell, it may even be hard to see the difference in your browser on this page, depending on your setup.

So, what? Could they not spare the extra few micrograms of ink?!

Wednesday, November 4, 2009

2012

So I just saw a clip from the new disaster movie 2012.

There's a certain give and take that an author and his audience have. The name for it is Suspension of Disbelief. We can watch Roxanne and set aside whether it's plausible or not that someone with a disfiguring birth defect on his face could not get it repaired because of an allergy to anesthetics. Some folks can even watch Star Trek movies without theorizing about how the warp engines work.

But I'm sorry: if you're in a small twin-engine aircraft over the city of Los Angeles while it's undergoing a catastrophic apocalypse, wouldn't the first thing that comes to mind be to perhaps attempt to gain some altitude so that you don't have to navigate between the buildings that are toppling over?

Tuesday, November 3, 2009

Any damn time now, AT&T

Ok, AT&T, it's been more than a month since field trials have started for the AT&T microcell 3G. How long does it really take? You're running out of 2009. Now, while Verizon is hammering AT&T directly about poor 3G coverage, would be an excellent time to roll out a solution to the problem (even if it's a stopgap one).

By the way, this is how stupid AT&T is: the prime market for the microcell is likely iPhone owners. The Microcell web site? A giant flash page. Which doesn't work on the iPhone. Brilliant!

Sunday, November 1, 2009

Stupid Android ad

Let's look at the new Android ad one line item at a time:

iDon't have a real keyboard.



Um... That's the whole point - it doesn't waste the real estate for a keyboard when most of the time you don't need it. Those few occasions where it's necessary to type in text, you can have a portrait or landscape one - your choice.

iDon't run simultaneous apps.



I'll admit - it would be nice to be able to stream XM in the background, but that's the only thing I can actually think of that I'd want to multi-task on my phone. The notifications take care of everything else that I might want to have in terms of background processing, without completely trashing my battery.

iDon't take 5-megapixel pictures.



iDo take 3 megapixel pictures, which is more than adequate for most folks. Besides, if you're taking video, then that's irrelevant.

iDon't customize.



What does that even mean? You can choose from a huge variety of 3rd party cases, accessories... you can rearrange the home screen.... not to mention adding the widest variety of 3rd party software you can get on any mobile device...

iDon't run widgets.



You'd rather run "widgets" (what the hell are those, anyway), than real Objective C applications?!

iDon't allow open development.



That's disingenuous.

1. The developer tools for the iPhone are free.

2. Developers can upload their own apps to their own phone. This means that there can indeed be open source iPhone apps that people could download and install themselves, if they wanted.

3. Anyone is free to give away damn near any app they want.

iDon't take pictures in the dark.



And since I'm not hunting ghosts, that doesn't really bother me any.

iDon't have interchangeable batteries



Which means it's smaller and lighter for the same abilities, since the case doesn't have to support latches and friction-fit battery terminals. Besides, in all the time I've owned cellular phones, I've never replaced the batteries in a phone. Usually, I've replaced the phone first.

Magic Mouse review

I've been saying for a while now that Apple needed to do something to bring multi-touch to its desktop lineup. Well, now they have. I bought a couple of Magic Mice - one for the mac mini in the living room and one for Scarlet's desktop machine. It works more or less exactly like it's depicted on its website. The scrolling with momentum is particularly welcome. It's a great way to scroll through big web pages and documents quickly. I actually hope that they add that feature to the multitouch laptops as well.

The two finger swipe gesture works with Safari as a "back" and "forward" nav action. I didn't think that would be useful at first, but I've actually found myself using it a few times.

The one gesture that's missing is a pinch gesture to zoom in and out (the pinch in Safari makes the text size larger or smaller). A close second best is the control-scroll gesture to magnify the screen. That works really well for the mac mini in the living room as a nice compromise - 720p is too low in resolution, but 1080p makes the fonts generally too small.

If I have one complaint, it's the packaging. They used tape to secure the mouse inside its box, but that tape doesn't come cleanly off - it leaves a nasty, sticky residue behind, and that residue was keeping the mouse from moving smoothly on a mouse pad. I had to break out the Goo Gone to get rid of it.