Saturday, June 13, 2009
Going back to the Moon
It's time to go back.
I grew up dreaming of the prospect of living and working in space. I was one of the first public members of the Planetary Society founded by Carl Sagan, Bruce Murray, and Louis Friedman in 1980 and the expansion of the SETI program. I wasn't one of those kids who just read about rockets, I actually built several ...and I still dream of retiring in "Luna City" - we just need to build it first.
The great news for all those like minded people out there is that NASA is actually working on it. So are the Japanese, Canadians and British along with supported efforts from a number of associated countries. NASA's "Moon and Mars" site describes a number of initiatives including the Lunar Reconnaissance Orbiter that will help us get there. With the expansion of the International Space Station comes growth opportunities and a chance for a pit stop between Earth and the Moon. The next Shuttle mission (STS 127) is scheduled to add yet more lab space to the station with the Kibo laboratory complex provided by the Japanese.
In November last year, NASA successfully extended the Internet into space and made improvements in the process. The new Disruption Tolerant Network currently only has 10 nodes, but that's quite a few when you consider there aren't a whole lot of humans out there yet. This and other efforts in space exploration centers around the globe point to a near future where many of us will live and work on the lunar surface and beyond.
I can hardly wait. I can have my bags packed and be ready to go in about 20 minutes, just give me the call! In 1972, you had to be a colonel in the US Air Force to even have a hope of stepping onto the lunar surface. In the next decade, I foresee science and commerce reaching out to build entire communities on the moon that will include a variety of professions. Where there is work, there must be play!
I have said to my wife many times - "Bury me in Mare Nubium!" I might actually get my wish.
* * * * * * * * * * * * * * * * * * * * * * *
Find out more at nava.gov, canadian space agency, Japan Space Exploration Kibo Project
Friday, May 8, 2009
Protect and Serve
Got kids? Yeah? So… you have a firewall and antivirus and some kind of content filter on their PC so they can be safe right? Good luck with that.
Here’s a dose of reality for you – every 10 year old, yes even yours, knows how to bypass ALL that protection, and most can do it with out you ever finding out. Kids trade hacking secrets like we used to trade hockey cards. They share key-tools and decrypters passed on USB drives like passing notes in math class. If all the protection you have for them is sitting on a PC that they control, well, think about that for a minute……
OK, that minute’s over, now lets do something about it. There are some fantastic tools available to give you better control in an environment that you as a parent control. The easy path is to buy some retail software for $49 and install on their PC, but we already discussed where that leads. The more difficult, but more reliable way is to build a remote caching filter. This is a combination of hardware and software that sits between your family PC(s) and the internet, it intercepts every page and only passes on the ones that pass your rules, and you can build one for almost nothing.
Step 1: If you don’t have one already, get a router. Even if you don’t follow the rest of this, do yourself a favor and install a router. Linksys and D-Link make decent residential routers in the $100 range that will do everything you need. The router connects between the Cable/DSL Modem and your PC’s. Follow the boxed instructions to set this up, they are usually pretty straight forward.
Step 2: You will need a PC to act as a filtering server. This does not have to be anything huge, in fact, the one I used was a 5 year old P4 that was headed for recycling. It should have 512Mb of RAM or more, bit otherwise nearly any relatively new PC will do.
Step 3: Install Linux. You can download a free copy of CentOS-5 Linux from http://ftp.telus.net/pub/centos/5.3/isos/i386/CentOS-5.3-i386-bin-1of6.iso
This is a 640Mb download, so make sure you have the time and speed before you start. Download this to a different PC, then use whatever CD burning tools you have to burn this iso image to a disk. Place the disk in the new “server” PC and reboot. When the firs screen appears, type ‘linux text’ and press ENTER.
You can choose the defaults, or the obvious for most of the install questions, but when asked about packages and options, de-select everything including the optional packages. If you skip this, it will ask you for a CD you don’t have. Answer all the questions to the end then reboot. After the reboot, log in and run an ‘ifconfig’ and record the IP address – you will need it later.
Step 4: Get Squid. First, make sure your system is up to date by typing ‘yum update –y’
Step 5: Get Dansguardian. Go to http://dansguardian.org/ and read over some of the docs so you understand what it does. Bookmark the page as you may need to come back here for configuration hints later. You can download the latest version from here: http://usmirror.dansguardian.org/downloads/2/ the instructions are pretty straight forward, follow them.
Step 6: Configure web browser proxy. Locate the communication settings for your web browser. In Internet Explorer is it in TOOLS > OPTIONS > CONNECTIONS. Find the PROXY settings and set the IP address to the address of the server you collected earlier. Set the port number to 8080. Now test your web browser with any site. If it works, then you can move on, if not, check to make sure Dansguardian is talking to Squid properly.
Step 7: Close other access with router. When you are able to connect to the internet through the proxy port, then you need to cut off all other access routes. Connect to the router and set the access rules so that the PCs you want to protect are blocked. This is usually done by IP address, so you will need to get these from the PCs you want to protect.
So now your family PC(s) connect to the content filtering Dansguardian that uses the Squid cache that gets the web pages from the internet. You can set a wide range of content filtering rules as well as control application access such as chat programs.
This may be a little more complicated than buying a $49 “nanny” program from Wal-mart, but it gives you more control over more functions with more flexibility all in a package that is separate from the PCs that need to be protected…and keeps it away from the 10 year old hackers.
Tuesday, February 24, 2009
La vida con Vista (part 4) - “Ciao baby!”
This does come with a caveat or two, however. MS Vista is the current operating systems offering from Microsoft and as such they no longer support anything with Windows XP. Going back to XP means the possibility of not being able to find drivers for new hardware. It also means that the 17 year old “tech” at future shop won’t know how to help you if you ask questions because they may have never actually used it before. On the other hand, it also means faster operation, less cryptic weirdness and familiar (yet still useless) error messages.
Moving to a Linux based operating system (Ubuntu) is not for the faint of heart either. This is a community supported, open source set of packages and as a result, not everything… well, actually nothing… is guaranteed to work. What is available has been built by geeks who built their own drivers and interfaces and made them public for you to use as you see fit. This has the benefit of variety, but also there is the lack of quality assurance. For instance, there may be 5 different drivers for your video card and you will need to pick which one is best based on research. People who are used to Linux are okay with this because it only takes a few minutes to do the research and most Linux users are gear heads or programmers anyway. Ubuntu does a pretty good job of picking the best driver for your hardware, but some things are still hard to find – like the finger print reader on my Dell Studio 1735 notebook.
Which way you choose to go depends on how comfortable you are with computers. If you are a geek or wanna-be geek, then try out Ubuntu, you may be surprised at how good a Linux desktop OS can be. If you are a typical user specifically looking for MSN Messenger, Media Player, and other Microsoft specific tools, then you should probably follow the XP path. Either way, don’t dive in without being prepared.
I’ve done both routes and I personally prefer Ubuntu. My wife preferred the XP route. In either case, MS Vista got the boot – “Ciao Baby!”
I hope you get value out of the how-to documents posted here, even if it is to make the decision to keep working with Vista - someone has to keep Microsoft in business.
Sunday, February 22, 2009
I left my heart in San Francisco
If you've never been there, the San Francisco Airport (SFO) is not actually in San Francisco, it's in San Bruno - just south of the Airport's namesake. If you are planning a trip the Bay Area and Silicon Valley, I recommend a stay at the SFO Marriott Courtyard in San Bruno. It's about 5 minutes from the airport, the rooms are clean, people are nice and they serve a wicked omelet for breakfast.
I've spent quite a bit of time in Southern California in the Anaheim to San Diego area, but had not been to the Bay Area for about 30 years. It's changed since then... but then again, I was only about 10 years old. In any case, l really enjoyed my few days there.
My business meetings spanned from San Bruno to San Jose and included Redwood City, Menlo Park, Sunnyvale, and San Mateo. In fact, I covered about 9 cities in the time it normally takes me to get from home to the Calgary airport - about 40 minutes. If I had to live in Cali, I certainly would not complain about moving to any of these locations.
If you happen to be in the Bay Area and you have a hunger for a great bagel, I highly recommend hunting down a "Noah's" Bagel Shop. There is one in San Mateo on 4th that served me quite possible the best bagel I've ever tasted.
For the geeks reading this, a trip past the Oracle complex is sure to impress. This place has six towers that look ironically like old data drums placed around a huge fountain on Marine Parkway in Redwood Shores. I absolutely had to stop and take a picture or two. The Sci-Fi Museum is another must if you are at all interested in that genre of writing. As a Sci-Fi writer myself, just finding it was a thrill.
If you're looking for a quick and delicious lunch I recommend In and Out Burger. To Cali residents this comes as no surprise, but to outsiders looking for a great burger, this is a real find. They make basically two things - hamburgers and cheeseburgers - but they do it very well.
I look forward to the next trip - Maybe I'll actually make it into San Francisco next time.
Friday, February 20, 2009
Leaving Boston...
I’ve never been through Boston airport, so I expected it to be like any other – enter, get your ticket, find your gate then explore and find munchies. Not. On one hand the simplicity is wonderfully handy if you are prepared for it, but on the other hand, there could be at least one warning sign saying that there is virtually NOTHING past the security checkpoint going into the “wing” which cannot be more than about 2000 sq ft in total. I have friends with houses bigger than this.
I get to the airport about 3 hours early and I think, “hey, I’ll be able to explore after I find my gate.” I enter the terminal and take 5 steps to the escalator that takes me up to the second floor where ticketing is. The escalator deposits me right at the entrance to the Air Canada ticketing area – talk about convenient! So far I am blown away with the amazingly well laid out airport.
I process my ticket easily and head toward the security area so that I can enter [what I thought was] the international wing to find my gate. Security was a breeze (usually is if you know what you are doing) and I happily collected my things and carried on.
As I leave the security area, I enter what looks like one of those tiny regional airport waiting areas, but it is completely decorated in Air Canada colors, logos, flags… hey wait-a-minute….. Gate 1… Gate 2… Gate 3… that’s it.
No, really… that’s it. I turn the corner to look for more and find… a wall. There is a nice young lady standing by a till against the east wall beside a row of 2 beverage coolers with a fine selection of water, soda, fruit and either decaf or regular coffee. Period. There is a washroom (singular) and about 200 seats, which is a good thing because all 4 (yes 4) flights expected tonight are delayed and the place is wall to wall full of people.
So four and a half hours later, I am working on my 3rd coffee, 2nd muffin and have exhausted my walking options. Good time to sit and catch up on my blog.
If you do have to travel through Boston Logan Air Port heading back to Canada, don’t expect to explore the “Air Canada” wing for very long – 5 minutes should do it for you. If I had known, I would have stayed and explored downtown Boston for another 3 hours. That’s a whole other blog.
Thursday, November 27, 2008
La vida con Vista (part 3)
It’s been three months since my last “Vista” post [La vida con Vista (part 2)] and I can tell you things have not gotten much better. I thought products were supposed to get better with each new version, like when each new book from an author gets better because the author is more experienced, or how a winery produces better wine each year as the vines mature. So what happened to Windows?
Vista sucks. How’s that for a professional opinion? They can promote their “Mohave Experiment” all they like, but the fact is that after the shiny bobbles get old, we all need functionality and it just isn’t there. Is it just a coincidence that Bill handed the reigns to Steve at the same time Vista was being prepped for market? Is this the shape of the new Microsoft? I hope not.
I work all day with three systems at my finger tips. There is the laptop with Windows XP that I use for client work, the PC with Windows Vista Ultimate that I [try to] use for all my personal stuff, and the CentOS-5 server (RedHat Linux without the support) I do all my software development and testing on. Guess which one gives me the least grief? (hint: it didn’t come from Microsoft) As far as the Windows boxes go, I’ll take the XP one over Vista any day.
There are numerous reasons why I believe XP is better than Vista and this is speaking strictly from experience.
Occasionally I need to reboot my router and switch, bringing the network down temporarily. When it comes back up again, the Linux server is always the first to access it followed closely by the XP box, but the Vista PC can take up to 5 minutes to re-establish a connection. When it does finally establish a connection it always (always) resets my “private” network to “public” which disables file and printer sharing. Talk about frustrating.
Windows has always been able to save username and password credentials for commonly used applications, like mail or secure web sites. When I first installed Vista this worked, but after a “security update” that was apparently mandatory and installed itself without asking, it does not work any more. Not only did all of my saved credentials vaporize, I can’t re-save them again or add any new ones either. Even manually added credentials are completely useless.
Active-X add-ons have taken on a life of their own. In XP, removing a bad or damaged add-on program was as easy as opening the “Downloaded Programs” folder and clicking “DELETE”. Not with Vista. Now it’s next to impossible to remove one even if you are logged in as Administrator will all the security turned off.
And what’s the deal with changing perfectly good terminology? If I click on SAVE, I want the dialog questions to be YES or NO not SAVE or DON’T SAVE. Worse are the moronic questions when you try to copy over existing files. Was “are you sure you want to replace this file” such a bad question that it had to be replaced with three separate equally confusing questions like “ do you want to copy and save the original”?
I believe Vista has drawn its last refresh across my screen as my frustration has reached overload level. After trying to work with Vista (Ultimate) for three months, I’m packing it in and tossing it. If anyone is interested in $298 worth of slightly used Microsoft Operating System, let me know – it’s going cheap.
Wednesday, November 26, 2008
To PHP or not to PHP. Is that even a questions?
Recently I was asked to write a script to inject mail to a Mail Transport Agent (MTA) in order to send several thousand emails in a short period of time (no, this was not SPAM) and I had my choice of languages to write it in. My first choice was PERL because I have had great success with PERL when I need to search and strip text data and access databases quickly. However, this time I chose to test how far PHP has really come so I wrote the script in both PERL and PHP and ran them on the same job data.
To my surprise, the PHP script performed as well, if not better than the PERL script. Both were fed the same information and had to perform the same task and over 25000 iterations, the PHP script may have actually beat the PERL script, by a few nanoseconds – too close to call.
I am currently re-writing a couple of my older web applications and replacing all of the old PERL and JavaScript chunks with equivalent PHP and have been able to actually reduce the code size and increase functionality along the way.
The moral here is… if you are a programmer and have ignored PHP because it is “just for dynamic web pages” then take another look. You might be surprised.