In Through The Out Door

Diving Through The Information Barrage

Browsing Posts published in March, 2006

An Introduction to awk:Not everyone learns or uses awk these days, so here's a quick review of what the language can do and some of its features.

They are already installed on Mac OS X, and most linux / unix servers.Step 1 – Create a folder to store your backups on the remote servermkdir backupMake sure that your SSH user has permission to write to this directory.Step 2 – Setup automatic authentication OptionalThis step allows the backups to run without prompting you for a password when it runs. You can omit this step but you will have to type in your ssh password each you run backup.I wrote an article called Setting up public key authentication over SSH that will guide you through this step.If you own the server you might also want to create a user specifically for this process.Step 3 – Use rsync to backup files incrementallyrsync -e “ssh” -rca –delete-after ~/test/ pete@myserver.example.com:backupNow lets break it down a bit: rsync – this syncs the local directory to with the server directory. -e “ssh” – this tells rsync to use ssh if your want to pass in other ssh options such as port you can do that in the quotes: -e “ssh -p 12345” -rca recursive, checksum, and archive –delete-after – this will delete files on the server if you delete them locally…. Excluding directoriesSometimes you might want to exclude a directory from being backed up, perhaps your Music directory since that is already backed up on your ipod.rsync -e “ssh” -rca –delete-after –exclude=Music –delete-excluded ~/test/ pete@myserver.example.com:backupStep 4 – Schedule it with cron OptionalNow lets create a cron job (scheduled task) to run this script every day. First make a new file called backup.sh in your home directory.#!/bin/shrsync -e “ssh” -rca –delete-after ~/test/ pete@myserver.example.com:backupNow sure make the file is executable: chmod ug+x backup.shNext type crontab -e this will open up your scheduled tasks list, in most cases it will open an empty file.

Consolidating several small machines into one powerful one has advantages in administration and resource usage. It also has implications for security and encapsulation. FreeBSD’s jails feature allows you to host multiple separate services on a single machine while keeping them securely separate. Dan Langille shows how.

When you take a photo with a digital camera, a boatload of background information is embedded into the file (called EXIF metadata)

Testing OpenLDAP:If you ever need to test LDAP stuff the OpenLDAP project runs a test server at ldap.openldap.org. It only has a few entries in it but it can be handy for building examples, or testing.Here’s how you would query/search the server in ColdFusion with cfldap:<cfldap server=“ldap.openldap.org”action=“query”name=“results”start=“dc=openldap,dc=org”attributes=“cn,sn,givenName,mail,st,l,ou”><cfdump var=“#results#”>Here’s some more info about the service.

Nazi Code Is Cracked After 60 Years:

Better Networking with SCTP:IBM DeveloperWorks has an interesting look at the key features of SCTP in the Linux 2.6 kernel and the ability to deliver multi-streaming. “SCTP is a reliable, general-purpose transport layer protocol for use on IP networks. While the protocol was originally designed for telephony signaling, SCTP provided an added bonus — it solved some of the limitations of TCP while borrowing beneficial features of UDP. SCTP provides features for high availability, increased reliability, and improved security for socket initiation.”

Free Weekend Wi-Fi for T-Mobile Customers:T-Mobile has launched a promotion for its voice customers: If you’re a T-Mobile voice subscriber, they’re now providing free Wi-Fi service from midnight Saturday morning to Monday at 3 a.m. at their thousands of hotspots. They’re using a system that reminds me of the failed Excilan process: you enter your cell phone number, and, if you’re a T-Mobile subscriber, you get an SMS with a passcode. You only need one passcode for the entire weekend if you’ve got cookies enabled and use the same machine; otherwise, you need to request a new passcode for each session. The terms of service are pretty straightforward and quite nicely broad. The SMS message you receive is free.

Connexion Connects the Pacific:Satellite broadband from California to Bangladesh. With Friday’s entry into service of the SES Americom AMC-23 satellite, Connexion by Boeing now offers satellite broadband over the Pacific. The AMC-23 will provide television delivery between the USA and East Asia, communications for several branches..

Canon EOS 30D First Impressions Review at Digital Camera Info:Digital Camera Info has posted a first look review of the Canon EOS 30D. They write – ‘Canon’s EOS 30D is numbered as if it were a major upgrade to the popular and excellent EOS 20D, and Canon marketing plumps it up even higher than that – the line is that it really has more in common with the 5D than the 20D. Really? With the same 8.2 megapixel CMOS sensor, the same DIGIC II image processor, the same…

T-Mobile USA Has Record 4th Quarter Results:Looks like Deutsche Telecom is lovingtheir T-Mobile USA subsidiary more and more – T-Mobile USA had a record-breaking 4th quarter of 2005, adding over 1.4million new customers, having added 4.4 millions customers for all of 2005. Looks like T-Mobile USA is content to be amarket follower, as they are now the fourth-largest player in the U.S. with over 20 million customers, while Congular,Verizon Wireless and Sprint Nextel round out the top three.An interesting note is that T-Mobile says 9.6%of their ARPU (Average Reveneu Per User) is now made up of data services. That’s almost 10 percent, and admittedlyT-Mobile’s wireless data network is rather dated (GPRS for most of 2005 and EDGE came along during the year and is nowwidely available). One would think "data usage" includes SMS bundles, picture messasing and other multimediafeatures as well, which is probably where the bulk of this data use comes from. All in all, a good 2005 for T-MobileUSA, and with another J.D.

MacBook Pro:Apple’s portables were stuck in a system bandwidth mire for years with the G4. Now the MacBook Pro is here. Was the wait worth it? Ars reviews Apple’s latest laptop and compares it not only against a PowerBook G4, but a Dell Inspiron running Mac OS X.We at the Orbiting HQ were able to have some benchmarks run on an acquaintance’s Dell Inspiron 9100 with a 3.2GHz Pentium 4 HT chip running OS X 10.4.4, and decided that including the benchmarks from this machine would prove to be both interesting if not illustrative of what non-Apple x86 machines may be capable of if they could run Mac OS X (legally). Read on to find out how well the MacBook Pro fared against the other two machines, as well as just about everything else you want to now about Apple’s first Intel laptop.

Bad Behavior has blocked 95 access attempts in the last 7 days.