Archive for March, 2008

ASUS M3p

Dad gave me an old laptop to use. It is from 2004! So it needs lots of updating. First up is to get:

# “Java”:http://java.com. So that I can write programs
# “Dr. Java”:http://drjava.com. Which is a simple editor and program
# “Intel 2200 BG”:http://support.intel.com/support/wireless/wlan/pro2200bg/. I couldn’t connect to Apple’s latest Time Capsule and my drivers haven’t been in updated in four years, so got the latest 11.0 version from last year.
* “Intel Pro100/VM”:http://downloadcenter.intel.com/filter_results.aspx?strTypes=all&ProductID=407&OSFullName=Windows*+XP+Professional&lang=eng&strOSs=44&submit=Go%21 The Pro100/VM is OEM only, so you have to download the Pro100/VE drivers, but these are made in 2003, so after five years, I hope there are some improvements.

Wifi Hotspots in Wedgewood, Laurelhurst and Ravenna

OK, I get stuck waiting for meetings around the Childrens Hospital quite a bit. If you don’t want to brave the traffic at U-Village, what are the options. As an aside if you are in UVillage, “World Wraps”: http://seattle.wifimug.org/index.cgi?WorldWraps does have free Wifi and is less crowded than Starbucks by alot.

Well, there are some great ones around the bend in Wedgewood according to “Seattle.wifimug.org”:http://seattle.wifimug.org:

* “Top Pot Doughnuts”:http://seattle.wifimug.org/index.cgi?TopPotWedgwood. A great store. Very library like and the Wifi is of course free. Good hours too. It opens at 6AM and the doughnuts are of course great. There is a Starbucks up the street, but why go there when you have such a good option at NE 70th St and 35th Ave NE. Across the street, there is a “Grateful Bread”:http://seattle.wifimug.org/index.cgi?GratefulBread is you want lunch and free Wifi instead although you do need to ask for a user name and password.
* “Gula”:http://seattle.wifimug.org/index.cgi?GulaCafe. Here is a non-corporate coffee shop that serve bubble tea. Just a few blocks north in Ravenna. Lots of bubble tea at NE 50th and 30th Ave NE.
* “Tully’s 5 Corners”:http://maps.google.com/maps?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=h09&um=1&ie=UTF-8&q=tully%27s+5+corners&near=Seattle,+WA&fb=1&view=text&latlng=47661225,-122293280,12001432388379103107&dtab=2&reviews=1&sa=X&oi=local_result&resnum=1&ct=result I actually don’t like this Tully’s very much as it is very busy and the Wifi is incredibly slow. As an aside, there is Tmobile hotspot next door at the Kinko’s, so stay on the north side of the Tully’s and use that if you have an account.

Puzzles and Computers

Calvin wanted to work with someone to combine a love of puzzles and a love of computers. Here are some ways to do that:

“Cryptogram.java”:http://www.cs.utsa.edu/~wagner/laws/Acryptogram.html are a really fun kind of puzzle. The simplest is the substitution cypher. One letter in English is translated directly into another. Writing a program to do this isn’t too hard as this site shows. You just need to have a Java compiler to use it. Of course this is just the source. To really use it, you have to know how to compile and run it on the Mac. Just the directions listed don’t work. (Of course, nothing is easy anymore, even though Java is supposed to be interpreted!)

“Hello World on the Mac”:http://bioportal.weizmann.ac.il/course/prog2/tutorial/getStarted/cupojava/mac.html. I learn to program everything just from figuring out how to print “hello world”. This probably comes from the dawn of time, but I learned it first when I learned C (I don’t want to tell you how many years ago, OK, 30, there you have it!) where the first program was literally printf(“hello world\n”). It is amazing how complicated folks have made it.

“DrJava”:http://www.cs.princeton.edu/introcs/11hello/mac.html. If Xcode is a little much at Princeton, they use a simplified development environment called Dr Java, this seems way simpler to me. It is only command line, but that is OK for kids really. Otherwise the user interface code is 10x more than the rest of it. As an aside, watch you, Java SE for Windows 6 Update 4 and 5 are incompatible with the exe file, you have to use .jar version of DrJava otherwise you get a strange, “no zip entry error message”

“Java SE”:http://java.sun.com/javase/. If you don’t have a Mac, you have to load Java on Windows first. This is not the standard Java runtime, but what is know as the Standard Edition that lets you compile Java programs. It is required by Dr. Java to compile and run Java.

“Anagram.java”:http://freespace.virgin.net/martin.mamo/fanagram.html. A little complicated, this takes any pile of characters and turns them into an anagram.

“Anagram Solver”:http://nifty.stanford.edu/2006/reges-anagrams/. Something from Stanford, but it includes recursion to solve a program.

FutureWeapon

!

* “A-10C”:http://www.warthogpen.com/a-10c_files/A-10C.html. This is the updated A-10 Warthog. The main thing is the all new electronics and it can use laser guide weapons. It is a complete upgrade of all A-10As in service. It’s slang name is Borg-Hawg. It is slow moving and ugly but it is armored and can loiter longer which is a big advantage in the real “world”:http://www.defenseindustrydaily.com/the-majors-email-british-harrier-support-in-afghanistan-revisited-02661/

AppleTV’s many uses

I haven’t paid much attention to the AppleTV. After all, I watch lots of movies off the internet. Not just the stuff that Apple wants to sell me. However, “iClarified.com”:http://iclarified.com in addition to doing great work on the iPhone also knows how to hack the AppleTV. It is a subsidized device, so for $300, you get a 120GB hard drive and a complete computer if you can unlock it.

Here’s how to do it by using a magic USB flash drive, appropriately “hacked”:http://iclarified.com/entry/index.php?enid=791 to unlock it. Then you can:

# It becomes a general purpose appliance for very cheap
# You can run Asterisk on it for a home PBX which is neat
# You can watch any internet downloadable movie.

Pretty cool

Data Update Kerio, Exchange and Asterisk

Well, spent some time getting Kerio running on my MacBook. It is amazing how small a mail application is. Just 50MB.

* Loading Kerio is pretty easy and then you have to figure the firewall issue.
* I used Dyndns.com to let me direct a DNS name to my laptop behind a comcast router. This works as I can see the web interface
* I also figured out how to tell godaddy.com to point to the dns on bluehost.com and then change the MX record so that hopefully, this will point right, but there is no way to test it.
* Apple Time Capsule let’s you open up ports like the SMTP and others, but there is no easy way I can find to tell it if works. I need some sort of reverse ping, but right now opening the SSL SMTP seems to sort of work, but authentication fails, so there is something strange there. I think something is working, but not clear what.
* Kerio also supports CalDAV so that you can sync iCal and AddressBook into the sky. There is also a connector for Outlook that does the same. Finally you can fool Entourage as well as they have written a WebDAV provider too, so theoretically, Kerio let’s you sync calendars with Entourage, Outlook and iCal. Wow, amazing if it all works.
* This would all be way better hosted, so I sent a note to the few folks who do Kerio hosting. Fingers crossed.

h2. Hosted Exchange

I had previously tried Intermedia, but it never worked quite right, so now trying Applix. Big bummer is that their administrative interface at bizatlarge.net doesn’t support the Mac! You have to use IE to administer. What a bummer!

h2. Asterisk

And you can get “Asterisk”:http://www.asterisk.org/ for the Mac and it is just 20MB. These are tiny programs. There is very little documentation for Asterisk for the Mac.

* The best setup instructions are from “Apple TV Hacks”:http://www.appletvhacks.net/2007/04/02/install-asterisk-on-apple-tv/ that shows you how to build it.
* You can also get “AsteriskNOW”:http://www.asterisknow.org” which includes a Linux build to make an appliance
* you can buy an appliance from the folks who support Asterisk that is called Asterisk Appliance that uses the commercial version and the commercial version of AsteriskGUI
* There are even some folks who have figured out how to get Asterisk to run under DD-WRT on a $100 Linksys WRT54GL. That is amazing. Great for a home PBX system.

In looking this over, John is probably right, getting a hosted solution seems like a good choice. It is complicated but actually fun to learn. You can even buy the box online. For $2K, you get one of these appliances and 4 outbound lines in a subscription, so not terribly awful.

So if I have time, I’ll download SVN and compile Asterisk GUI and see if I can’t get something working. I just need a VOIP provider on the backend like Vonage to see if it works.

Cool Math Testing Website

FreeRice
Cool Site for donating rice to hungry people by answering vocabulary word questions.

Data in the 21st Century

Well, how about handling data traffic in a modern small business. In our shop eight years ago, we ended up quite conventional. We have:

* a 100Mbps Ethernet and a 802.11b/g 2.4GHz Wifi access point outside the firewall.
* In house, we an bunch of rack mounted servers. We’ve got an Exchange Server, a Blackberry Server, a file server, a VPN server and a Firewall and then a Cisco router for all of it. We get into the network over Wifi via VPN, so we have one wifi network outside the firewall and then one inside. There is a tape backup and a Raid array for Exchange.
* Our external website is hosted
* Most of the computers are Windows desktops and most people also have a Windows laptop, usually a Sony. There are a scattering of Macbooks too.
* Finally, there is XO as I mentioned before providing data IP (as well as T-1 for our PBX)

So how would a modern office do it? Well, we had some good lessons from setting up Qiming in Shanghai

h2. Computers

First of all, we would buy only laptops. The cost difference isn’t that much and convenience is great. We are likely to be 80% MacBook and 20% Windows rather than the other way around.

Also with the coming of all flash notebooks, reliabililty should really improve, so we hold off buying as long as possible to let flash prices come down. The biggest failure points for laptops tends to be the hard drives, so the new Intel 120GB flash drives are going to be very important.

For the high end professionals, we get the MacBook Air or MacBook and then a 24″ monitor and Bluetooth keyboard and mouse. For associates, a notebook itself is fine and this is also OK for admins so they can work at home etc.

h2. The Data Network.

Everything is going to be wifi where possible, it saves a wire and Wifi is fast now. So we need lots more bandwidth in the network. That means going to 5GHz Wide Channel so we get a shared 300Mbps. Since there are lots more channels at 5GHz, we get 20 un-overlapped channels there (vs. only 3 in 2.4GHz), we’ll push all the MacBooks up there. The hardware could either be a single big “Cisco 1250″:http://www.networkcomputing.com/channels/wireless/showArticle.jhtml?queryText=&articleID=206901320&pgno=3 or two, or we could use the Apple Time Capsule/Airport Extreme’s.

* To handle all of this, we’re going to need more bandwidth in the wired network, so that means going to Cat 6 and 1Gbps Ethernet (you actually get a true 400Mbps on that kind of network, but it is a better match to the true 150 Mbps or so you get with 802.11n vs. the 80Mbps with 100Mbps Ethernet). That means a 1Gb Ethernet switch which really aren’t that expensive anymore. A 24 port unmanaged switch is really quite inexpensive from D-link or Netgear.
* Also we still need a 2.4GHz 802.11b/g network for devices like the iPhone that are down there and also for guests. Rather than having VPN which is a major pain, we just have two networks. We don’t need a VPN as much because we can access Exchange over HTTP through Outlook Web Access and for files in the network, most folks just use email to store key files. That means we have a separate network for 802.11b/g. That implies another set of Cisco 1250s running down there, but its worth it to have higher bandwidth.

As an aside, we probably want to have two switches or configure 802.11q so that we separate voice from data traffic. Since switches are really cheap, it probably makes the most sense to just separate voice and data jacks and keep it all separate for SIP phones only.

h2. Servers

This seems to me the biggest area of economy.

* First, we can use the Bellevue infrastructure for Exchange and Blackberry servers. We can experiment with hosted Exchange and Blackberry from “Applix”:http://www.asp-one.com. Longer term, it may turn out we can actually use Leopard Server for iCal or even “Kerio”:http://kerio.com for an Exchange swapout if we really decide to go completely all Mac and abandon PC interooperability.
* File Servers. With today’s Time Capsule, I think we can get away with a pair of Time Capsules which can do laptop upgrade. We use the second Time Capsule to just do brute force backup. Copy everything from one to another. Should be pretty fast over Gigabit Ethernet. We configure file servers from the same terabyte store.
* Backup. Rather than an expensive tape system, we buy a dozen 1TB USB Hard Drives and you can plug them into the Time Capsules and again do a simple copy to get a snap shot. We only need to retain data for 90 days, so that means we just have 12 weeks worth or 12 Hard Drives. Get the office manager or admin to plug it in and drag and drop. Nice thing is that you don’t need a PC over there since Time Capsule supports plugging a USB drive in and you can do this from any computer.
* Website. We leave this hosted, but maybe look at bluehost.com or someone else that is lighter weight. Alternatively, if this becomes important, we go to a virtual private server and use TQHosting to get a real server.

h2. Printers and such

Well, we need really two sorts. The first is a workgroup printer for the quick stuff. We’ve been using the HP LaserJet 4250 for the last eight years and they’ve been great. Now the world is moving on to color, so a network color laserjet makes some sense. So here are the needs:

* Color LaserJet. A workgroup version that is the update to the 4250n. Needs to be fast and quiet
* A big Colorjet like the “9500″:http://h10010.www1.hp.com/wwpc/uk/en/sm/WF06a/5043-5527-5531-5531-9400621-10263355.html which is like our Ricoh that lets you make big books well.

Business Phones in the 21st Century

Now that we are trying to setup our Seattle suboffice, we have a chance to do things a bit different. In our original office setup 8 years ago, we went safe. We have:

* An inhouse PBX called Intersat or something like that and have T-1s that connect to it and another T-1 for data.
* The phones are analog and we have voicemail, but in truth, I think for professionals, 99% of the calls are actually on mobile phones, no one uses voice mail and I personally haven’t used my phone for outbound calling in three years.
* We do use Polycoms for conferencing quite a bit and that’s the main reason to use a desk phone although Blackberry’s are great small conferencers (iPhones are not).
* The administrative staff is different, although we have direct dial in lines for everyone, no one uses them, instead, the main thing is the main number and making sure it rings to autoattendent and so that the receptionist can pick up. Ideally, it would ring at all the admin desks in case the receptionist isn’t there.
* We have one of those gigantic mopiers with a fax, scanner, printer and so forth from Ricoh that is networked

So what happens in the modern world? Well, the first thing is to:

* Cell phones for professionals and a Polycom bluetooth speaker phone. These are highly personal devices as are the phone numbers. Since no one expects a company to have numbers that are consecutive, it makes sense to do like the Chinese, just put the main number on your business card and then put your mobile number for everything else. Get everyone to big minute plans. AT&T now has $100 all-you-can-eat voice plans per month and $50 all-you-can-eat-data for Blackberry and $20 all-you-can-eat for iPhones. Seems like a good choice. Actually, for me what works better is a $100 2100 minute per month with free mobile-to-mobile (40% of my calls are to my partners who are also on AT&T) and then I can hang an iPhone off of that plan for a mere $10/month and share the bucket. The voicemail is free, so we don’t need that.
* In each professionals private office, they would get a polycom of some sort so they could do conferencing so this would have an outbound number only and a way to dump a cell phone call to the conference phone. There is a Polycom that apparently knows how to use a cell phone for the call. We need to test that to see if it works.
* For professionals in cubicles, they don’t need a polycom, but need some sort of high quality mini-Polycom again so they can do conference calls. We give associates a new Blackberry or iPhone with a number. If they have a phone already, they can just forward the number over. We need to see how caller id works in that case, but mainly I’m pretty sure most folks will want to merge business and personal phones. When an associate leaves though, we keep the business phone number and phone so we can give to the next person. It’s an easy way to assure continuity. So don’t give out personal numbers, but give out the business number and it rings to a phone we supply or it is forwarded to their personal phone.
* Conference rooms. These should have polycoms (or something of similarly high quality) and they should have their own phone number so people can dial in directly and a way to dial out. You don’t want to depend on a cell phone for that, so these are ideally SIP Polycoms.
* Receptionist and main number. You do need a main number. The ideal thing would be to have a phantom system where it just rings all the admin and receptionist phones. Personally, I don’t think you really and extension dialing, since the only calls we get that way are really salesman or over the transom soliciters, so if you don’t know a professionals mobile number, then you are SOL. So one main phone number that should ring to a bunch of phones. Ideally, there is a receptionist mobile phone, the desk phone for the receptionist and then to all the administrative numbers during business hours. Out of business hours, dump it all to voice mail.
* Fax lines. We need one fax input which is really an ATA (analog telephone adapter) which you hook up to the mopier like the HP 9500 for instance. This thing can convert a fax into email which is the way it should really work or it can just print. That means there has to be a real fax number two (so just two numbers for the whole business).
* Administrative folks. Same plan I think as above, give them a cell phone ideally a Blackberry or something that does email. The only difference is that they have to be able to pick up the main number. Most of these folks would also get a deskphone that is SIP mainly because admins in the US seemed used to having a desk phone. If you think about it really makes no sense if they have a mobile for that. We do the same things as associate, people get a phone number that stays with the job rather than with the person. Same drill, you either carry that business phone around or you forward it over to your personal phone.
* Conference call numbers. We should assign everyone their own dedicated conference call number so we don’t keep swapping them around. They are quite cheap now. But we need to reshop for these as prices are really falling.

Given this, its pretty clear, we need a few things:

h2. PBX

Some sort of IP PBX that is either hosted or where we have our own hardware. Internet Telephony had two 2007 winners for hardware which is

* “3Com VCX Connect 100 IP Communications Platform”:http://www.3com.com/products/en_US/detail.jsp?tab=register&sku=3CRC100A which is a classic rack mounted chassis PBX with voice mail and all the other features. You hook it to a the phone LAN (hopefully, you put all the SIP phones on a separate LAN/Wifi network as an easy way to solve traffic issues) and then you connect it on the other end to XO which has a SIP trunk that takes all the voice traffic out. This thing is expensive at $6K according to “pricegrabber”:http://www.pricegrabber.com/search_getoffers.php?keyword=3Com%203CRC100AUS&search=3com%20vcx%20connect%20100 and might be a little much.
* “EdgeBOX Office”:http://edgebox.net. This is really overkill, it is a server that does file server, PBX and just about everything else. There is a model which if bare CLK-EBAP-WF-40 that seems about right, you handle everything as SIP. Underneath it uses open source Asterisk. “Junction Networks”:http://www.junctionnetworks.com/blog/2008/03/04/connecting-to-the-pstn-gateway-via-edgebox/ has a good review.
* “3Cx IP Phone System”:http://3cx.com. This is software only and there is even a free version that runs on any Windows machine. Kind of cool.
* “Asterisk”:http://asterisk.org. Finally there is the open source project itself, you can actually compile it on a MacBook and run your whole phone system yourself on there if you really want to be a hacker. Not really recommended, but it is way cheaper.

h2. Hosted PBX

There are lots of “bad”:http://www.voipreview.org/Business_Telephone_Systems/compare_business_voip_providers.aspx?zip=98101&features=1,130,30,16,113&country=1&users=10&featuresbiz=0&pg=1 reviews of voip providers that you can see. For instance, Packet8 gets absolutely slammed as do most of the services listed here.

* “Panterra”:http://www.voipreview.org/Business_Telephone_Systems/Panterra%20Networks_reviews_ratings.aspx?users=10 is just about the only decent one I see, but again, it adds a second vendor on top of your ISP to work with.
* “XO SIP”:http://xo.com/smb/voip/Pages/sip.aspx since we are using XO as our underlying provider, then maybe their hosted SIP solution makes some sense. You get analog lines (technically called FXS lines for fax), you get auto attendent and it is bandwidth priced.
* “Speakeasy”:http://speakeasy.net. If we hadn’t signed the XO contract, I would have probably gotten Speakeasy as they are local here and they seemed to have a pretty good service model at least before Best Buy acquired them. They also have a IP PBX offering.

My personal bet right now is to sign up for the XO service and try the Asterisk on the Mac for fun.

h2. Hardware

Well there are lots of choices in IP phone hardware and most are so completely over engineered with buttons that I can’t see anyone ever using them. Frankly, I’d rather everyone just use an iPhone and Blackberry most of the time as the cellular guys networks are more reliable anyway and most folks know how to conference and so forth and caller id works really well. But, since we have to buy something:

* Blackberry. Its still the enterprise choice mainly because we use Exchange and we need it particularly for group calendaring. Also it seems to be the only choice that really knows how to deal with 7,000 contacts without blowing up and the one that knows how to handle long phone numbers (conferencing).
* iPhone. These I really don’t recommend until the 3G version and enterprise integration ships in June. They are fun toys now, but sync of calendars is really broken. I am also praying that one day an iPhone will know how to “wait” and handle things like “pause” in dialing. Right now I can’t autodial conference numbers which is incredibly frustrating.
* “Polycom”:http://polycom.com. Amazingly on the Internet, there don’t seem to be any reviews of these conference call boxes so we will have to try things. The appropriate “small-medium”:http://polycom.com/usa/en/products/voice/small_medium_conference_room/small_medium_conference_room.html models seems to be the “SoundStation IP 4000″:http://polycom.com/usa/en/products/voice/small_medium_conference_room/soundstation_ip4000.html which is SIP based and has a nice LCD screen for the conference rooms and the “SoundStation 2w”:http://polycom.com/usa/en/products/voice/small_medium_conference_room/soundstation2w.html which is a little bit of a hack. It is analog on backend, but if you use a wire, you can plug your headset jack into it and then use it like a speakerphone. Unfortunately, the jack is 2.5mm so it won’t plug directly into an iPhone or a Blackberry which both use 3.5mm. It is also wireless so you don’t need some ugly wires hanging out to the Polycom which is very neat, but it is on 2.4GHz, so will create interference with your Wifi. You also need an ATA since it is analog (on the other hand, it will work on old lines too which is nice).

As an aside, “configuring” a SIP phone is indeed a mess compared with analog. There is a special boot server, so when the phone comes up, you actually have to edit the menus or modify your DHCP server to tell it where to get the configuration file that tells it what is its name and so forth. That means you have to know the Mac IDs of every SIP phone. Doesn’t that sound like fun? That’s because unlike analog phones where each wire is known, in SIP, you are on the Internet, so you have no idea what the devices are. I need to buy a 4000 and see how the defaults work. Makes it more important to have a vendor to install and configure these phones as well.

As an aside, “Speakeasy”:http://speakeasy.net/business/voip/hardware.php has a much clearer web site than XO and they support the Polycom SoundStatio IP 4000. I hope we don’t regret signing that long contract with XO! One nice thing that Speakeasy has is that the receptionist big phone is just a software application so you don’t have to buy a fancy phone, just use the PC that is already there.

All that is necessary for the triumph of evil is that good men to nothing

A wonderful quote from “Edmund Burke”:http://en.wikiquote.org/wiki/Evil