Tuesday, November 03, 2009

Cupertino Election 2009

Well, it's November again and that means it's time for another election. This time it is all local to Cupertino. I voted a couple weeks back, as I am a permanent absentee.

Let's go through the various issues:

Measure B

Measure B is an update to the Utility User Tax, which is not supposed to change anything about our current taxes, but simply to define terms to correspond to current usage. In skimming through the proposed changes, the only thing that stood out to me was that VoIP was specifically included as a telecommunications service in this tax, but I guess that is already the case.

Verdict: YES

Measure G

Measure G is an update to an existing $98 per parcel additional property tax assessment which expires in 2011. The changes are to allow this additional tax to increase by 2% per year (or the rate of inflation, whichever is higher), and to no longer have an expiration date.

The argument against this is that this is an unfair tax and that it will go up too quickly. The tax will go up a minimum of about $20 in 10 years. There is an exemption for seniors already in place that is carried over to Measure G.

Personally, I believe that our schools deserve funding, and to have a small tax which keeps up with inflation does not seem unreasonable at all. In fact, I believe it will benefit the property value and the schools to have this funding secured. A few extra dollars a year is not a big deal to me but will make a big difference for our Cupertino schools.

Verdict: YES

Cupertino City Council

There are three open seats for Cupertino City Council, and seven candidates running. This is definitely the toughest decision I had on this election. I watched two debates with all the candidates, and read a lot of campaign mailings and websites.

In the end I decided to vote for Daniel Nguyen, Darcy Paul, and Marty Miller.

Daniel Nguyen is a Cupertino native who went to Cupertino public schools. He brings a different perspective than many other candidates, being the youngest candidate this time around, and I was impressed that he has a facebook page in addition to the usual candidate website.

Darcy Paul impressed me in two ways: 1) he only sent one campaign mailing on a small card (pointing out that this was to reduce environmental impact), and 2) he was the only candidate that in the debates suggested implementing a school bus program. Growing up in Texas and taking school busses for granted through most of my years in school, I am amazed that in one of the top school systems in the Bay Area we don't have bus service. This creates huge traffic problems at our schools when all the parents have to come pick up the kids at the same time. An additional benefit of a bus program would be that parents would not have to adjust their schedules to pick up and drop off kids, except if the kids needed to get to school early or stay late.

Marty Miller has many years of experience on the planning commission. He seems focussed on ensuring our sales tax revenue is increased and that we keep costs in check. Revitalizing Vallco and filling up our empty office and retail space appears to be his top priority, as well as controlling spending.

Verdict: Daniel Nguyen, Darcy Paul, Marty Miller

Cupertino Union School District Board

This one was easy. There are four candidates and you can vote for three of them. Three of the four provided information in the sample ballot and one did not. Also, apparently two of these three are already on the board and one is heavily involved in the PTA.

Verdict: Gary McCue, Ben Liao, Anjali Kausar

Cupertino Sanitary District Director

Again, an easy choice as only two of the four candidates provided any information in the sample ballot packet. These were also the only two candidates which mailed information to me.

Verdict: Don Sun, Steve Andrews

Sunday, May 17, 2009

How to set up port mapping for iChat video chatting

Here's how I set up to be able to receive incoming connections for iChat for video chatting (or audio chatting or screen sharing). These instructions should work for a Time Capsule, AirPort Extreme, or AirPort Express.

Step 1 - Set up static IP addresses

The first step is to make sure that all computers on your home network have static IP addresses. The easiest way to do this is to simply have the AirPort Base Station/Time Capsule hand out the same IP address via DHCP each time. You can do this using AirPort Utility. Select your base station and go to Manual Setup. Under Internet -> DHCP -> DHCP Reservations you should add an entry for each computer.

You will need the Ethernet MAC address for each computer, which you can get in System Preferences -> Network. Go to the interface you use to connect (AirPort or Ethernet) and click Advanced... and go to the Ethernet tab. There will be an Ethernet ID listed which is a sequence of numbers and letters A-F with colons. This is what you want.

Copy and paste this into AirPort Utility, or retype it as appropriate. Then assign an IP address which is below your starting DHCP range. In my example, the dynamic range starts at 200, so anything under 200 would be fine. I use 100, 101, etc. for the statically assigned addresses.


Repeat this process for each computer on your home network that you want to use iChat video chatting/audio chatting/screen sharing with.

An alternative to this would be to use the use DHCP with manual IP address option in System Preferences -> Network. This option works best with desktop machines, since laptops may move to different networks and the static IPs you assign will likely not be valid on other AirPort networks.

Step 2 - Set up port forwarding

Now that you have the IP addresses assigned, you can redirect incoming connections to these static IP addresses as appropriate. This is done in AirPort Utility as well, under Advanced -> Port Mapping.

The port range for iChat is UDP ports 16384-16402. Starting with Mac OS X 10.5 Leopard, iChat will first try 16402, and then continue with the lower numbered ports down to 16393. Earlier versions of Mac OS X use 16384-16392 as well. If you just have one machine you can map the entire range, but if you have more than one, just assign one port to each and then the remaining ports to the computer that is most likely to be used for chatting. Here are some examples:





As you can see, you can enter both ranges of ports with a dash, or a list of ports with commas, or a combination.

Other routers

For other routers, such as LinkSys, you have to use the web configuration interface (which is usually just the router's IP address). As far as I can tell the standard LinkSys firmware does not support static DHCP reservations, but custom firmwares like HyperThibor do.

Port mapping on the LinkSys is done under Applications & Gaming -> Port Range Forward. It is not as flexible as the AirPort, so you will need one line for each continuous range of ports.

Saturday, November 15, 2008

Time Capsule update

Last weekend I went ahead and completed the switchover from my old LinkSys WRT54G to the new 1GB Time Capsule as the primary router for the home network.

On the Time Capsule, I had to set up port mapping to match the previous configuration of the LinkSys. I also set up static DHCP mappings to match what was already set up. Enabled PPPoE client and DHCP server.

LinkSys changes:
- reset to defaults
- disabled WiFi
- disabled internet/WAN connection
- disabled DHCP server

I also needed to connect one of the LAN ports of the LinkSys to one of the LAN ports of the Time Capsule.

After setting all this up, I noticed the AirPort menu extra started showing the connected time for the PPPoE connection, which is a bit annoying. Luckily I was able to figure out that you turn this off from a submenu that shows up from the network name in the AirPort menu.

Another discovery I made was that with Leopard it is now possible to have multiple computers on the home network set up to do video chats. The secret was to map different incoming ports to different computers. In Leopard, iChat will try port 16402 and then continue trying lower port numbers down to 16393. Given that the Time Capsule is more flexible with port mapping, it was easy to set aside 16401 and 16400 for the laptops, while leaving all the old iChat ports for the Mac mini.

Wednesday, October 15, 2008

Already Voted

I've been a permanent absentee voter in California since the switch to electronic voting machines... given a paper trail for accountability and recount purposes I'm no longer opposed to electronic voting, but I just preferred the level of privacy and ease of referring to my sample ballot that the old method allowed.

This election is the first time I am actually turning in my ballot before election day, however. Kathy and I went through the propositions today and made our decisions. It's tough when there are 12 statewide propositions and 4 local propositions. Seems like we are doing the legislature's job for them sometimes.

In the end, I voted no on most of the propositions, though I did vote for a few. I also found a cool new website called Ballotpedia with lots of information for anyone who hasn't voted yet.

http://ballotpedia.org/wiki/index.php/California_2008_ballot_measures

Sunday, August 10, 2008

How to transfer local Time Machine backups to Time Capsule

I was able to successfully transfer the backups from our 500GB external FireWire drive to our new 1TB Time Capsule. This was not easy, so I decided to document the process for anyone who is interested.

1) Connect the external hard disk and the Time Capsule (via gigabit Ethernet) to the same computer.

2) Complete a backup to the hard disk, then turn off Time Machine while doing the conversion.

2a) If you have other computers backing up to the same hard disk, make sure those have a current backup as well before continuing.

3) Unmount the external hard disk.

4) In Disk Utility, create a new disk image from device from the external hard disk. Select the partition rather than the whole disk. I saved the image directly to the Time Capsule. This will take a long time. In my case, it took over 12 hours.

5) Unplug the external hard disk.

6) At this point, you have a .dmg with the complete contents of the external hard disk. This needs to be converted to a .sparsebundle image. This can be done using "hdiutil convert -format UDSB harddisk.dmg" on the command line. The sparse bundle will be smaller than the .dmg since free space is not copied into the sparse bundle image. In my case, I had enough space on the Time Capsule to fit both images at the same time.

6a) After the conversion was completed, I removed the .dmg file, and made another copy of the .sparsebundle. This is because I was backing up both my MacBook and Kathy's MacBook to the same external drive. In a single computer case this is not needed.

6b) Next, the two images need to be fixed up to only contain the relevant files and free space on the Time Capsule. I mounted each image and deleted the inappropriate set of backup files. This seemed to work best dragging the top level folder under Backups.backupdb to the trash and then doing rm -rf in Terminal on the files. Emptying the trash might work as well but seems to be slower.

6c) After removing unneeded files, to free up space on the Time Capsule, unmount the disk image. Then run "hdiutil compact image.sparsebundle" in Terminal. This will remove unused band files from the sparse bundle.

7) Configure Time Machine to use the Time Capsule and start a backup. Once a disk image is created, stop the backup. The image should be named <computer>__<uuid>.sparsebundle. Remove this image and rename the sparsebundle you created to match the name. Then do a backup again. You should still be doing this over Ethernet.

8) After the first backup, wireless backups should be fine.

The only other consideration is that the image size may not be correct (500GB vs. 1TB), but I don't suspect to run into that limit any time soon, and it is easy enough to resize using hdiutil.

Wednesday, August 06, 2008

Time Capsule arrived

We finally took the plunge and got a 1TB Time Capsule to replace our current 500GB Maxtor hard disk which has been backing up Kathy's and my MacBook since we upgraded to Leopard (around the time of my last blog post actually - yes I am lame for not blogging for so long).

So far I am liking the Time Capsule. Right now I have it set up in bridge mode and am still using the LinkSys WRT54G as the main router. Here are some of the tradeoffs between the two routers:

* Time Capsule has a built in hard disk which can be used for wireless backup
* Time Capsule supports USB printer sharing (thinking of moving the inkjet printer to be shared this way - it's currently shared by the Mac mini)
* LinkSys supports dynamic DNS which I am currently using... Time Capsule supports Back to My Mac, but doesn't seem to support dynamic DNS
* LinkSys has 4 100Mbit ports plus 1 uplink port, Time Capsule has 3 Gigabit ports and 1 uplink port
* LinkSys is 802.11g, Time Capsule is 802.11n
* Time Capsule requires a reboot for any configuration change, which takes 30 seconds or something. Config changes on the LinkSys happen much faster.

Overall, I think I should be able to totally replace the LinkSys with the Time Capsule, but the first challenge is to transfer our last 9 months of backups over to the Time Capsule. This is not as simple as you might think because the Time Capsule needs backups in sparsebundle disk image format, and the backups we have are just stored as files on the hard disk directly. I have an idea for how to get this working which is taking a while. If my plan works I will post an update on how to do it for anyone who's interested.

Tuesday, November 20, 2007

Thanksgiving preparations

We're having Kathy's family over for Thanksgiving again this year so today was spent doing a lot of preparation work... we did the big Safeway trip (got there around 5 so the store was not crowded yet - yay), and last night I replaced the dimmer switch that burned out recently with a better one that has a separate slider and on/off switch, plus replaced the bulbs in the track lights. I wasn't able to find CFLs that would work so I just went with 60W halogens for now. Maybe later I will get some different fixtures for the track that can hold a dimmable CFL flood (which seem to only come in the long neck versions of the bulbs).

Also, is it just me or is it really, really annoying that everyone seems to have forgotten about waiting until the day after Thanksgiving to start the Christmas music and decorations? In some cases, Christmas stuff was out even before Halloween.

Saturday, November 10, 2007

Recent upgrades

Since my internal hard disk in the Mac mini indicated it was failing two months ago, I switched over to running it off an external hard disk. The internal drive wasn't giving me any problems, but I also wasn't using it. Recently I noticed some strange noises coming from the internal drive so I decided to go ahead and replace it. It seems the best option for the old ATA/100 2.5 inch drives is a 160GB Seagate, so that's what I got. I figured since I was going to have to open up the machine I might as well max it out by getting an 8x dual layer SuperDrive and 1GB of memory (good preparation for upgrading to Leopard as well). I also had to pick up a putty knife to pop the top off.

The upgrade turned out to be both easier and harder than I expected. Getting the top case off was fairly easy, but dealing with the bluetooth and AirPort antennas and the plastic cage that holds the optical drive and hard drive was harder than I expected. Still it didn't take too long and now the mini is running nicely from the internal hard disk.

The other upgrade I did recently was to switch over compact flourescent bulbs from incandescent for most of the lights at home. The 60W and 40W equivalent bulbs work pretty well now (come on instantly, no noise, soft white light). And, they aren't that expensive. A 4 pack was about $7 at Home Depot. This is still more than conventional incandescent bulbs, but the 75% savings on power consumption and longer life end up making them cheaper over the life of the bulb. And less power consumption is better for the environment given that a large percentage of our power is generated from coal power plants.

The only remaining lights that are still not CFL or regular flourescent are two 75W flood lamps on a dimmer switch and a 30/70/100W 3-way bulb in the lamp by the bed. I have yet to find a 3 way CFL that is anything other than 50/100/150W equivalent, which ends up being really huge to be able to put out the top light level. That would be fine except it won't fit in the lamp I have. Dimmable flood CFLs exist as well but it looks like they may not fit exactly in the track light fixture I have.

Sunday, November 04, 2007

Daylight Savings

It's cool to get the extra hour of sleep and all, but I am always annoyed by the lack of daylight in the evening after the clocks are set back. To top it all off, the nice "set and forget" wall clock I got last year is now obsolete due to the brilliant idea Congress had to move the dates when Daylight Savings Time changes. Now instead of just having to set the clock twice a year for a dumb clock, I have to change it four times a year since it changes to and from DST on the wrong days now. Lame.

Thursday, September 06, 2007

Not a good way to start the day



Arg. My Mac mini internal hard disk is on the way out. By some miracle I happened to run Disk Utility in time to be able to back up all the data. I guess it's time to upgrade it a bit.

Saturday, July 28, 2007

Schmap Dublin Guide


One of my pictures from my trip last year to England, Ireland, and Scotland was included in the new Schmap Dublin Guide. It's a picture of Eddie Rockets, a restaurant I thought might have some relationship to Johnny Rockets.

Apparently Schmap looks through lots of flickr pictures to find those they like the best to make up their guide. Pretty cool!

Saturday, June 16, 2007

Big News

Some of you have already heard, but I am now engaged! I proposed on Memorial Day weekend. I planned a "mystery" getaway and took Kathy to the Point Reyes National Seashore area and we stayed in a little town called Olema. I proposed after dinner at the Olema Inn and Restaurant.

The date is set for June 21, 2008. More information to come!


Wednesday, May 16, 2007

OK, I'm officially surprised

So, it turns out the Warriors were not able to execute down the stretch in any of the close games with the Jazz, and they lost the series 4-1 last night. It was sort of painful to watch all those times when they came so close to winning and weren't able to come up with it. What made it even worse was the fact that the Warriors lost their cool in several situations in the playoffs and got themselves fined or ejected. There's just no excuse for that, regardless of what is happening in the game.

On the plus side, I'm still hoping the Spurs can pull it together and advance past the Suns and then eliminate the Jazz on their way to the NBA finals. Assuming the Spurs are out, I would rather see the Suns in the finals.

Friday, May 04, 2007

Warriors make history

After blowing a late lead in game 5 Tuesday, the Warriors came home to Oracle Arena and put together one of the most dominant third quarters I've seen to close out the series and send the Mavericks home.

Everyone at the game got a yellow "We Believe" t-shirt and sign and the effect of this looked quite intimidating for the visiting team. I hope they continue this in the second round. They even hung a huge version of the t-shirt on the outside of the arena.

Apparently the entire crowd stood for the second half and at times it was so loud that it was difficult to hear the announcers' commentary.

At this point, I think it's fair to say I would be surprised if the Warriors did not make it to the Western Conference finals.

Monday, April 30, 2007

Warriors vs. Spurs in Western Conference Finals?

I'm going to go out on a limb here, but is it possible we could see the Warriors in the Western Conference finals? It looks like the Mavericks have their backs to the wall at this point since the Warriors have gone up 3 to 1 and still have a home game left (plus yet another win in Dallas would not be that surprising given recent history).

So, the Warriors would play either the Jazz or the Rockets in the second round. In either case they would have to win on the road but they were 2-1 against the Rockets this year and 2-2 against the Jazz. More importantly they won their most recent game against both teams which was after the big trade.

Assuming the Spurs capitalize on their 2-1 lead and put away the Nuggets in the first round, they would most likely face the Suns in the second round. The Spurs were 2-1 against the Suns this season, winning the most recent matchup. Assuming defense prevails over the Suns high scoring offense, we could see my two fave teams in the Western Conference finals.

At that point I think I would have to give the edge to the Spurs though I did see the Warriors lay down a major blowout earlier in the season against the Spurs at Oracle Arena. Probably sealed the Spurs fate on that one by talking them up to Kathy before the game.

New movie theater

The new Cupertino Square 16 AMC theater opened this weekend so Kathy and I decided to check it out.

I'm not usually a Nicolas Cage fan, but I went ahead and saw "Next" anyway since it's based on Philip K. Dick story. The movie was pretty entertaining and Cage wasn't annoying enough to bother me. I'm not sure why the movie is getting such bad reviews. The ending was not quite what I was looking for, but I don't think that's a reason to skip the movie.

The theater is pretty nice, and only a few minutes drive from home. Maybe even walkable if I was feeling ambitious. I'm looking forward to the former Vallco Mall coming back to life, which hopefully the theater will jump start.

Sunday, April 22, 2007

Warriors shine, Spurs disappoint

Well, it was a night for the road teams, at least in the two NBA playoff series that I'm interested in. The Spurs couldn't quite come up with a win. You know it's not a good sign when the big three of Tony Parker, Tim Duncan, and Manu Ginobili all can't come up with more than 20 points (especially Tony). Hopefully this will be a wake up call and things will change in game 2.

Luckily for me, the Warriors continue to stun the rest of the league, toppling the Mavericks in their first playoff game. So, apparently whatever the Warriors secret was to get three wins against the Mavs in the regular season (two of which were not "given" to them like the last one was), is still working for them. Go Warriors!

Thursday, April 19, 2007

Warriors in the playoffs!

Hard to believe, but the Warriors beat Portland last night in the regular season finale to get the last playoff spot. It's their first time in the playoffs since 1994. To give you an idea of how long ago this was... I was still in high school when the Warriors were last in the playoffs.

The more impressive thing is the Warriors beat the Mavericks in all three of their meetings this season, which is something no other NBA team was able to do. I think a lot of that success has to be due to Don Nelson's coaching and previous experience as Mavericks head coach. I'm hopeful the Warriors can upset the Mavs in round one of the playoffs and clear the way for the Spurs to win the championship.

Wednesday, April 18, 2007

Apple eWaste Recycling Event this Saturday

FYI... free computer and electronics recycling at Apple this weekend.

Community Recycling Event
Saturday, April 21 - Cupertino

Apple is sponsoring a public eWaste recycling event on April 21 from 9 a.m. to 2 p.m. in the parking lot behind De Anza 3 (10500 De Anza Blvd Cupertino CA.). Tell all your friends and neighbors about the Saturday event so that they can take advantage of this free recycling opportunity.

All are invited to drop off and recycle their unwanted home computers, monitors, related computer peripherals, TVs, stereos and other small home electronics such as fax machines, printers, DVD players and cell phones (no home appliances please).

Note - Local, state and federal hazardous waste laws prohibit us from taking computer or TV monitors with cracked or broken screens and batteries of any type that are not integral to a computer system.

Sunday, April 15, 2007

catching up on flickr

I'm working my way through the last few months of photos to get flickr up to date on everything that's happened. Here's some of the recent photosets that I've added.

Thanksgiving 2006

Christmas 2006

Bethlehem 2006

Ohlone Nursing Christmas Party 06

Texas Trip 2006-2007

Tahoe Jan 2007

Hopefully I can catch up the rest of the way in the next couple days.