Archive for the ‘Technology’ Category

China Travel — Technical Aspects

Wednesday, July 7th, 2010

Road Warrior Tools

Going to China for two weeks requires a bit of technical preparation. In my sparse luggage, I took with me:

  • MacBook Pro
  • iPhone 3G
  • External Hard Drive with Copy of Laptop Contents

I needed to be able to run my business, have confidential communications and surmount the Great Firewall of China. All of these were accomplished with ease.

iPhone screen in China. Note the service provider is China Unicom (the Chinese characters). 3G is active, as is my VPN service. The page showing is my sister's Blogger page, a page which is blocked in China by the Great Firewall.

Before leaving, I prepared two methods of encrypted communication with my server in Southern California. The first one was a standard VPN (Virtual Private Network). This is the gold standard for private communication. It establishes a direct digital connection between my laptop (or cellphone) and the server, scrambling all of the information using mathematical keywords. I installed PPTPD on my Linux server and tested it before leaving. Both Apple’s OS X operating system and iOS for the iPhone have VPN built-in to their systems.

As a backup, I also tested SSH Tunneling, a technique with is not as clean as VPN, but which I used when living in Budapest two years previously.

Mostly using VPN, I was able to drill through the Great Firewall and maintain posts on Facebook and Twitter while traveling. Further, I was able to do so both on my laptop and on my cellphone.

While in Shanghai, I used a blogger‘s instructions to use a China Unicom SIM card in my Apple iPhone. The SIM card cost 126RMB ($19) to purchase. It gave me a month-to-month billing program of 66RMB ($10) which included voice calls, SMS and 300MB of 3G data connection. I used the data connection extensively in my two weeks.

One unanticipated problem I ran into were locked-down WiFi services. There were several WiFi connections I used which only allowed traffic on ports 80 (standard web traffic) and 443 (secure web traffic, used for https:// connections like banking and shopping). Both VPN and SSH Tunneling require non-standard ports, so they were often useless with WiFi. Fortunately, I always had my cellphone connection, which did not block any ports, as a back-up.

Outgoing international phone calls were done with Skype (both through the laptop and cellphone directly). Incoming calls were routed directly to my Chinese phone number.

Posting to Facebook from China, another blocked service

Trashed by Google

Friday, May 28th, 2010

For the last two or three years, I’ve been running a shadow account through Google’s Gmail. I’ve been doing it primary as a way to filter spam off-site while keeping all mail here on my server.

In running a small business, I can’t trust spam filters. What if it decides to trash an email from a new, important client? Or, more likely, an important translator running off an email account on a spotty server. And Google has run an exemplary spam filtering program, which I use primary to feed to my smartphones.

But as with all things on the internet, nothing stays the same. On Monday, we started receiving notices from Google that the Steussy.com server was going to be listed as a spam server. This would mean that no mail from our server would be delivered to Gmail addresses. While this would not affect client emails, a lot of friends and almost half of our translators run their mail through Google.

I spent a harried morning putting together the standard package for spam filtering for a Linux server. Even the standard installation for a plain vanilla setup like mine required handcoding and tweeking just to get it to work (Amavis-new, ClamAV and Spamassassin). After a day, I had the installation complete. All spam now goes into its own email account for later review, and we get a spam-free output directly from the server.

On a non-busy day like the last twenty-four hours, we get about 50 non-spam emails (“ham”). We also logged some 802 spam messages and 25 virus-laden emails. Since all of those were being forward unfiltered to Gmail, I can understand why an algorithm suddenly decided that we might be a spam server. Testing today on deliveries to Gmail show that email is being delivered. No problem.

Brain Surgery

Friday, April 30th, 2010

The server will be down for part of the weekend as we upgrade it to the latest version. Email, websites and other services will be down for a few hours, probably on Saturday. When it’s up and running — well, you won’t notice the difference. I will.

Have a happy May Day everyone!

State Reports

Wednesday, March 31st, 2010

Daniel and Camilla are working on their state reports. Daniel has Utah, Camilla has Kentucky.

The reports started with handwritten notes, like those below.

Then, everything gets painstakingly typed into the computer (Adobe InDesign C3, for those who are interested). Then pictures are added. Here is Kentucky:

Here is Daniel’s Utah:

And here is the process …

iPhone vs. Droid: The Authoritative Review

Friday, March 26th, 2010

I’ve now had the Droid as my defacto cellphone for two weeks. It’s time for a comparison. Which is better? Why? After all, Google handed me a free $600 phone to do a review like this. I feel honor-bound to present it.

First of all, this is not a post for the ages. 18 months from now, one or even two generations will have passed in the smartphone market. Almost anything available in 2011 will be better than either of the entries we have today.

Screen
Droid +2
The Droid’s screen is precious. At 854×480, it has a greater density than Standard Definition TV and one approaching low end HD TV’s. The Droid’s screen is physically slightly larger than the iPhone’s. If placed side-by-side, the diference is obvious. Further, there is an effective light sensor on the Droid which adjusts the brightness of the screen. No more blinding yourself when turning on the phone in the middle of the night.

On the other hand, this is only a +2 for Droid. While it’s a clear difference, you’ll never pick up an iPhone and say, “Dang! I wish this was the Droid’s screen.” Both phones have adequate screens.

Browser/Web Experience
Droid +3
Really, really fast. Mind you, I’m comparing this to an iPhone 3G, which is an older version. But the speed difference is quite incredible. Further, the Droid’s default web browser uses windows in an effective way, allowing me to comfortably read the Economist. With the iPhone, it’s always a case of load and wait. And wait. And wait.

Call quality
Droid +1
Does anyone use these phones to make calls anymore? I felt very antiquated using the Droid to call Aunt Mary from the gazebo yesterday afternoon. On the other hand, I would not have made the call with the iPhone – the call quality on the iPhone precludes extended conversations. And, yes, we have a strong AT&T signal here – we installed a femtocell in the house just so we could make use of the iPhone. It’s a big, very noticeable difference between the phones but, heck, who uses it anymore?

Network Reliability (AT&T vs. Verizon)
Droid +3
This isn’t big for me, as I only spend four or five days a year outside of urban areas. Here in Southern California, AT&T has an adequate spread. The femtocell we installed means that we have access inside our house. That’s something we wouldn’t need with the Droid, since it works on Verizon. Also, the Droid would work perfectly well in New Glarus, Wisconsin when we make our semi-annual visits there.

eBooks
iPhone +1
I’ve been reading books on cellphones for two years now. iPhone wins for the Kindle app, unavailable at this point for the Droid. Reading a book is marginally easier on the Droid’s bigger, brighter, denser screen, but the iPhone is adequate. I’ve used a series of eReader and eBook apps on each, and in every case the iPhone versions are better supported, cheaper, easier to use. Also, the one that worked best on the Droid did not allow me to increase the font size of the text. This is important as my aging eyes no longer can easily read the smallest print.

Camera
Droid +5
The Droid’s camera is WAY superior to the iPhones. I’ve posted videos and photos taken on the website already. The Droid’s camera is a very workable, always with you picture and video taker. The iPhone is not.

GPS
Droid +2
Really a big difference between the two. The Droid can spot your location in a couple of seconds, with better accuracy and no hiccups. iPhone requires that you wait for one to two minutes for it to determine where you are. Not a big deal for me, but a nice plus for Droid. Note, however, even during the trial phase I used the iPhone for jogging, despite the Droid’s superior GPS. Why? The running app for the iPhone is free and let’s me record and post my jogs. The Droid’s is expensive ($30), without all of the features. Go Runkeeper!

Ease of Use
iPhone +1
Dang, but the iPhone is easy to use. We’ve given ours to toddlers and they can navigate effectively to find games, photos and videos. There is no way that the open software derived Android operating system is going to do this. On the other hand, you get used to the clunky ways of the Droid within a day or two, and then you don’t notice it. In the end, it’s just not a big difference between the two for an actual user.

Email
Driod -8, iPhone -10
Epic failure by both parties. Neither offers a robust, reliable way of receiving and sending email. The Droid tries to do a good job of connecting in real time to Gmail. Often, when I get a new email, the Droid will make a loud tone in less than minute after receipt. The key here is the word “often”. It seems to work about 60% of the time. The other 40%? No tone, no indication that an email has arrived. I have no idea why.

At least the Droid tries. iPhone appears to have purposely hobbled their email system. Arriving emails are indicated within 20 minutes of receipt. The tone produced by the iPhone is so quiet I frequently don’t hear it. And there is no way to change it.

For such an important service, there is simply no excuse for this sloppy work. Let me tell you what I need in a mobile, email client:
-> Loud alerts when receiving emails from clients.
-> Quiet or no alert at all from other emails (I don’t need to see my library notices immediately, guys). This means an editable list of filters for alerts.
-> Ability to set “Reply to” and “From” email addresses. My primary business address is actually an alias on the company server. Neither iPhone nor Droid will support that kind of setup.
-> Reliable, fast notification of arriving emails.

Blackberry does all of these things. Why can’t these other two products from Silicon Valley technology titans? Droid gets slightly higher marks for being more usable and at least trying, as well as opening their system for third party products. Apple has no excuse.

Tethering
Droid +10
Epic failure on the part of Apple. Easy to set up on Droid. For non-techies, tethering is when you use your phone’s internet connection on your laptop. This isn’t something that I need very often (internet failure at home, important project when traveling and no wifi connection is available). When I need it, I need it to work RIGHT NOW. Droid does fine. AT&T and Apple have purposely blocked it on the iPhone. It’s one of the reasons that so many techies jailbreak their iPhones.

Apps Available
iPhone +20
Every app first appears on iPhone, which also has a plethora of inexpensive or free highly useful apps. Apps on Droid are expensive (+$10). I’ve already mentioned Runkeeper, my jogging companion. This is also true of games, utilities and the whole gamut of software for smartphones.

The situation strongly reminds me of the days of when Macintosh computers were built on different chipsets than PC’s. I was always jealous of the availability of games and free downloadable utilities for PC’s, while Mac’s had only expensive, crappy versions. This is one area where I guarantee that each and every Droid user will, once a week, look at his/her phone, sigh, and say, “I wish you were an iPhone.” Guaranteed.

Final Score
iPhone +12 (mostly on apps), Droid +18

Don’t take the final score too seriously. Look at what you will use your smartphone for. Are you going biking across America, like my sister Helen? Droid is the clear answer. Are you chasing the latest videogame and mobile utility? iPhone.

Once my trial period is over with Verizon, I’ll keep the Droid as a wifi only terminal around the house. I’ll be going back to my iPhone at the end of the month. The availability and ubiquity of iPhone apps wins the day at the very end.

Aaron Asleep at Dinner

Sunday, March 21st, 2010

Aaron has been going through some changes. Since we “lost” his pacifiers this week, he has stopped taking an afternoon nap. This means that by dinnertime, he can get a little tired. Throw in some running around outside and he can get real tired. The video is about two minutes long, he wakes up a bit at 50 seconds when I ask if he’s having a dinosaur dream.

On a technical note, this is from the Google Droid phone’s video camera. It’s pretty good on several levels: 1) has about the same image density as our Sony point-and-shoot, 2) actually compresses the video file, so that it is a manageable size (26MB vs. 250MB, big difference), and 3) it’s always with me. Lens, focus and especially colors are not as good, so for any serious photos I’ll use the dedicated camera. But this is way better than the iPhone’s crappy image collector. I used the iPhone in San Francisco to image some business cards I picked up, and could not read the images afterward — it’s that bad.

Green Screen Usage

Thursday, February 18th, 2010

I knew the world was moving toward more digital reality, but I didn’t know how fast. Wow. This is spellbinding!

Taken from Stargate Studios, this is a collage of some of their virtual work. It appears that almost every outdoor scene you see on TV is actually shot with a green screen for later enhancement and embellishment.

Google is Center of the New Post-State World

Saturday, January 30th, 2010

It’s a grandiose title to this post, but I can’t imagine any other way to think about it. Google has more impact in my day-to-day life than my local government. And I trust Google a whole lot more (witness the Obama vs. House Republicans encounter here - hilarious – until you realize these people rule us).

This is a report of the briefing Google gave at Davos on Friday, made by the author of “What Would Google Do?”. While I have my quibbles about the intellectual depth of the book – once you read the title, do you need to read anything more? – I’m completely behind the treatise of the book, and it makes Jeff Jarvis the perfect person to report this.

Apple's iPad

Thursday, January 28th, 2010

Yesterday, Apple unveiled it’s latest creation, the iPad. I am less interested in the technology than in the backroom politics of digital media here. The iPad is essentially a giant iPhone without the two year contract. The new A4 processor does not allow multitasking, the apps will run like the iPhone apps, etc. It’s just bigger and brighter.

My point of interest is if this will really be a book reading machine like the Kindle, with 100′s of thousands of titles available to purchase, download and read immediately. It looks like it might be. The next question is if the files set up for the iPad are also readable by the iPhone. I have no problem reading on my phone, as I’ve mentioned before. And I’d be more than happy to read them on my handy, always-by-my-side cellphone.

Saving our Server

Wednesday, January 27th, 2010

About two weeks ago, our fair server (home to steussy.com, Chris’ IB History Topics, Helen’s new blog, my business websites, etc.) shut down for no apparent reason at 4am. Panic!

I spend the day combing through log files, searching for hints of an intruder. The shutdown scrambled several log files, so I decided to rebuild the system from scratch. Right in the middle of doing so and, coincidentally at 4pm, the computer shut down again. Argh!

Again, assuming a South Korean hacker was coming for my lovely family photos and insightful rhetoric, I downgraded the software to a slightly earlier version, assuming that the bugs would be ironed out of that. Installing the earlier Linux operating system solved the problem. For two days. Then another 4am shutdown.

I got the bright idea that the computer might be overheating. There are sensors already in place inside most computer equipment these days to measure temperature and shutdown if it gets too high. Accessing the sensors is easy with the MacOS, but a bit more complicated with Linux. I installed lm-sensors (a data extraction tool) and sensorsd (a separate tool to query lm-sensors and provide a log). The CPU is showing 67º Celsius (152º for you Fahrenheit people). Is that high? Querying Google, I find an engineering doc from Intel that rates the Celeron processor in the server at a maximum temperature of 67º. Hmm.

I take the casing off the computer. I move the server down to the garage. Winter in Temecula means outside temperatures between 34º and 65º Farenheit, so the garage location should cool it down a bit. I also blow some compressed air around the insides of the computer and particularly around the fan connected to the CPU.

Temperatures go down for awhile – 57º, 59º, 65º, 57º – but then spike again after a few days – 65º, 67º, 69º, 67º. What’s going on? Do I need to get a new computer?

Last night, about 9pm I return home from taking Daniel to his periodic ultrasound exam. He fell asleep in the back of the Toyota before we got back. I check the server. 72º C, right at the edge of shutdown. I go to the garage with a can of compressed air and a flashlight. I tilt the computer over 45º and shine the flashlight directly into the spinning fan that sits on the CPU. What do my eyes behold but a solid mass of lint, plugging every single cooling vent on the heatsink, packing it with dust and lint. The dust and lint were completely invisible when the fan wasn’t running, but under the flashlight with the running fan, they stand out like dog poop on a red carpet entrance. I take five minutes cleaning with compressed air and some tape to remove the larger particles.

This morning, after running for 12 hours, all temperatures are at 38º, with a 4am spike of 56º. Our server is safe again …