I have a project at work were I need to send someone about 120 GB of data. That is the equivalent of 30 DVD's. The sad thing is that I have to pull the data from a system at a co-location facility, put it on my workstation, and then send it to another facility. It would be a lot easier if I could just transfer the data from one site to another, but very restrictive firewall rules keep that from happening.
The the first step of the transfer is actually pretty fast. I have broken the data into 30 different files (all about the size of a DVD) to help streamline the transfer. Each one of the files only takes about 20 minutes to download to my workstation. The slow link in the process is from my workstation to our other office. That takes 8 hours per file. Doing a little math and you can see that it will take 240 hours to transfer everything using the Internet. That is 10 days!
It turns out the best solution is to write the data to a removable hard drive and then ship the drive to our other office. As there is sensitive data we will be shipping, it is necessary to encrypt the data on the hard drive first. I could just zip all of the files together and require a password to unzip them, however that is not really very secure. So instead I am encrypting the files using GPG. It is a free version of PGP, which does an excellent job of encrypting the data. Now if the drive gets lost in shipping, we don't have to worry about data falling into the wrong hands.
So if you ever find yourself transferring large amounts of data, remember that sometimes it is faster to put it on a removable hard drive and ship it as opposed to transferring it over the Internet.
Tuesday, May 15, 2012
Monday, May 14, 2012
I Forgot My Phone . . . Again
I was on my way to the airport this morning and realized I had left my phone at home. I did this once before and just took my wife's phone at the airport. Now my wife uses her phone too much to let me use hers and so I just got on the plane and headed to San Francisco for the week.
I sat on the plan and came up with possible solutions to not having a mobile phone with me for the week. I have a desk phone in my office and can use that during the day. The only time I need to be in contact with anyone is when I am back on my sailboat at night. I wasn't too worried about talking with my family because I have Internet on the boat and can use Skype on my computer.
I was kind of looking forward to being out of contact for a week. Then I realized that if there was a problem at work, they would need to get a hold of me. That left me with one of three possible choices:
I didn't need to buy a new prepaid phone as we have them all over the office and I could have borrowed one for a week. The trick was buying a SIM card with just enough minutes to last a week. I could have picked one up for about $20.
I ended up choosing the first option as it was the path of least resistance. There is something about having your own phone. Now I just hope they don't need me at the office tonight while I wait for my phone to arrive tomorrow.
I sat on the plan and came up with possible solutions to not having a mobile phone with me for the week. I have a desk phone in my office and can use that during the day. The only time I need to be in contact with anyone is when I am back on my sailboat at night. I wasn't too worried about talking with my family because I have Internet on the boat and can use Skype on my computer.
I was kind of looking forward to being out of contact for a week. Then I realized that if there was a problem at work, they would need to get a hold of me. That left me with one of three possible choices:
- Have my wife overnight my phone to the office
- Buy a cheap prepaid phone and just use it for the week
- Go to the AT&T store and replace my old iPhone 3G with a new 4S
I didn't need to buy a new prepaid phone as we have them all over the office and I could have borrowed one for a week. The trick was buying a SIM card with just enough minutes to last a week. I could have picked one up for about $20.
I ended up choosing the first option as it was the path of least resistance. There is something about having your own phone. Now I just hope they don't need me at the office tonight while I wait for my phone to arrive tomorrow.
Monday, May 7, 2012
My iTunes Account Hacked
Several weeks ago I got a receipt from iTunes in my e-mail. I knew that I hadn't made any recent purchases from Apple and so I looked more closely at the transaction. The receipt said that I purchased a $40 gift card for another user. I looked at the e-mail headers to make sure the e-mail really did come from Apple and that it wasn't some kind of hoax. Sure enough, it was legitimate and I knew my iTunes account had been hacked.
The first order of business was to log in and change my password. I was too late. The hackers had already done that and I couldn't even log into my account. The only thing to do was to get a hold of Apple and request their help. If you go to the Apple website and click on the support tab (upper right corner), there are a list of products. As the hack took place on iTunes, I clicked on the iTunes button and it took me to http://www.apple.com/support/itunes. I spent some time going through the various links only to discover they contained information on how to do things, not talk to a real person. There was a section at the bottom of the regarding the "Apple ID Support" with a link that said, "Start here." I gave it a click and there was a link on the next page that said "Contact Support." I clicked it and went to a page with yet another link. By this time, I figured they really were trying to keep people from contacting them by obfuscating how to really get a hold of them.
I kept clicking away and eventually got to https://expresslane.apple.com/Symptoms.do. The page asked for an issue description along with some other questions, which I filled out. I then had the option of signing into my iTunes account. Since my password was changed to something I didn't know, I clicked the "Continue" button. Underneath it had some text that said, "Without signing in." I was presented with 3 options (your mileage may vary depending on time of day): Phone, Chat, or E-mail. I was in a hurry and so I chose the phone option. It gave me a number to call, which I did. I was asked for some information and was immediately put on hold. Furthermore, I was told it would be about 20 minutes before they got to my issue. Not wanting to wait on the phone that long, I hung up. About 10 minutes later I got a call back from Apple and they were able to help me resolve the issue.
None of the money in my account was used to purchase the bogus gift card and so there was no need to re-credit my account. I was able to change my password and security questions. While I never did have any credit card numbers associated with my iTunes account, had there been, I would have made sure to remove them. While you may feel you can trust online merchants to store your credit card information, I reserve the right not to. After this, I will be very careful whom I let store those numbers.
The first order of business was to log in and change my password. I was too late. The hackers had already done that and I couldn't even log into my account. The only thing to do was to get a hold of Apple and request their help. If you go to the Apple website and click on the support tab (upper right corner), there are a list of products. As the hack took place on iTunes, I clicked on the iTunes button and it took me to http://www.apple.com/support/itunes. I spent some time going through the various links only to discover they contained information on how to do things, not talk to a real person. There was a section at the bottom of the regarding the "Apple ID Support" with a link that said, "Start here." I gave it a click and there was a link on the next page that said "Contact Support." I clicked it and went to a page with yet another link. By this time, I figured they really were trying to keep people from contacting them by obfuscating how to really get a hold of them.
I kept clicking away and eventually got to https://expresslane.apple.com/Symptoms.do. The page asked for an issue description along with some other questions, which I filled out. I then had the option of signing into my iTunes account. Since my password was changed to something I didn't know, I clicked the "Continue" button. Underneath it had some text that said, "Without signing in." I was presented with 3 options (your mileage may vary depending on time of day): Phone, Chat, or E-mail. I was in a hurry and so I chose the phone option. It gave me a number to call, which I did. I was asked for some information and was immediately put on hold. Furthermore, I was told it would be about 20 minutes before they got to my issue. Not wanting to wait on the phone that long, I hung up. About 10 minutes later I got a call back from Apple and they were able to help me resolve the issue.
None of the money in my account was used to purchase the bogus gift card and so there was no need to re-credit my account. I was able to change my password and security questions. While I never did have any credit card numbers associated with my iTunes account, had there been, I would have made sure to remove them. While you may feel you can trust online merchants to store your credit card information, I reserve the right not to. After this, I will be very careful whom I let store those numbers.
Tuesday, April 10, 2012
Do Not Call
Lately I have been getting a call on my mobile phone from a number I don't recognize. It happens that I always seem to be in a meeting or tied up during the call and so I have yet to answer. Caller ID is nice as I can see the number. Normally I wouldn't bother calling a strange number back, but it happens to be from a location where I have extended family. Yesterday I decided to try and call the number back just in case it was a long-lost relative telling me I had inherited a bunch of money. Actually I knew it wasn't about any inheritance as I have so many extended family members that any wealth would be spread so thin, my share would only amount to a few pennies, but curiosity got the better of me and so I called.
That was a huge mistake. A recorded message answered the phone at the other end and said something along the lines of, "Thank you for calling this marketing company back." I immediately hung up realizing I made a huge mistake. Now they know my phone actually has a person on the other end. This morning I got another call from the same number. Once I got in front of a computer, I immediately went to the "Do Not Call" registry and made sure to enter my mobile number on the list. Anyone that wants to avoid pesky telemarketers should do the same.
The process if fairly simple. Just enter up to 3 numbers and your e-mail address. They will send you an e-mail with a link to click and complete the process. A second after entering my mobile number I had an e-mail in my inbox asking to confirm my phone number. I clicked the link and was told my number is now on the list. I have to suffer through any telemarketers for the next 31 day, however after that I can file a complaint should I receive a call. Yes, complaints can be filed at the same website. I only wish the list was good for charities, political organizations, and telephone surveyors. They still get to call. Bummer!
That was a huge mistake. A recorded message answered the phone at the other end and said something along the lines of, "Thank you for calling this marketing company back." I immediately hung up realizing I made a huge mistake. Now they know my phone actually has a person on the other end. This morning I got another call from the same number. Once I got in front of a computer, I immediately went to the "Do Not Call" registry and made sure to enter my mobile number on the list. Anyone that wants to avoid pesky telemarketers should do the same.
The process if fairly simple. Just enter up to 3 numbers and your e-mail address. They will send you an e-mail with a link to click and complete the process. A second after entering my mobile number I had an e-mail in my inbox asking to confirm my phone number. I clicked the link and was told my number is now on the list. I have to suffer through any telemarketers for the next 31 day, however after that I can file a complaint should I receive a call. Yes, complaints can be filed at the same website. I only wish the list was good for charities, political organizations, and telephone surveyors. They still get to call. Bummer!
Wednesday, March 28, 2012
Handwriting Recognition
One of the largest uses of the world-wide web is doing genealogy. There are a number of records that exist and are already on the Internet. More information about people is being added every day. Last night I spent some time contributing to that effort.
The LDS Church sponsors a lot of the genealogy and run a site called www.familysearch.org. If you are interested in finding out about your ancestors, please give it a visit and see what information they have. That information does not appear magically. There are many thousands of volunteers that collect handwritten and paper records, scan them into a computer, and provide an index to the scans. The index is used when you do a search for a name and can locate the scan of the image. That way, when you type in the name "John Allen", the computer can look up all records for associated with that name. In case you are wondering, there are a lot of them and so a birth or death date will also be helpful for locating the correct person.
I had a coworker once ask why they just don't use handwriting recognition to index all of the scanned images. If you spend some time looking at old records, you quickly realize that no software in the world will recognize even a small percentage of that writing. Nope, it requires using one of the most powerful computers in the world: a human mind. Remember that the next time you are stuck on a math problem or are feeling less than intelligent. While you may not be able to read your doctor's prescription, at least you can read a note from your mother or child.
The LDS Church sponsors a lot of the genealogy and run a site called www.familysearch.org. If you are interested in finding out about your ancestors, please give it a visit and see what information they have. That information does not appear magically. There are many thousands of volunteers that collect handwritten and paper records, scan them into a computer, and provide an index to the scans. The index is used when you do a search for a name and can locate the scan of the image. That way, when you type in the name "John Allen", the computer can look up all records for associated with that name. In case you are wondering, there are a lot of them and so a birth or death date will also be helpful for locating the correct person.
I had a coworker once ask why they just don't use handwriting recognition to index all of the scanned images. If you spend some time looking at old records, you quickly realize that no software in the world will recognize even a small percentage of that writing. Nope, it requires using one of the most powerful computers in the world: a human mind. Remember that the next time you are stuck on a math problem or are feeling less than intelligent. While you may not be able to read your doctor's prescription, at least you can read a note from your mother or child.
Labels:
genealogy,
handwriting,
LDS church,
Mormons
Wednesday, March 7, 2012
Context Switching
Computers seem to able to do many things at the same time. Before the days of multi-core central processing units (CPUs), this was accomplished with a bit of magic. The computer could never perform simultaneous actions and had to rely on tricks to make it seem like that was happening. Assuming the CPU was trying to work on 3 different tasks at the same time, it would do the following:
The process of "making a note of what was done" is known in computer science as a "context switch." There is a lot that takes place on the computer, but it runs so fast that the user thinks 3 things are going on at the same time.
People are not much different than computers. We also have to perform a "context switch" when we are trying to do multiple things at the same time. During the course of writing this blog entry, I was also on the phone working on solving a computer hardware problem. As long as I didn't have to participate in the conversation, I could add to the post. The moment someone needed my help, I had to stop typing and pay attention to the conversation. There was no need to "make a note of what was done" because it remained on my computer screen. Therefore context switches were fairly painless. There was a little time lost when I was no longer needed on the phone as I had to regain my train of thought, but it wasn't too painful.
Things that make context switching hard for people are the number of simultaneous tasks and the duration allowed to work on those tasks. Typing and talking on the phone worked because I was only trying to do two things. It also worked because I was needed on the phone only for a minute out of every quarter hour (it was a long phone call). Now if I had been on the phone, driving in traffic, and trying to eat a burger, things would not be so simple. While I might get away with it once or twice, eventually I wouldn't be able to context switch fast enough and might cause an accident. That is why I never eat and drive at the same time . . . while also trying to talk on the phone.
- Work on task 1 for a bit and then make a note of what was done.
- Work on task 2 for a bit and then make a note of what was done.
- Work on task 3 for a bit and then make a note of what was done.
- Repeat until all 3 tasks are completed.
The process of "making a note of what was done" is known in computer science as a "context switch." There is a lot that takes place on the computer, but it runs so fast that the user thinks 3 things are going on at the same time.
People are not much different than computers. We also have to perform a "context switch" when we are trying to do multiple things at the same time. During the course of writing this blog entry, I was also on the phone working on solving a computer hardware problem. As long as I didn't have to participate in the conversation, I could add to the post. The moment someone needed my help, I had to stop typing and pay attention to the conversation. There was no need to "make a note of what was done" because it remained on my computer screen. Therefore context switches were fairly painless. There was a little time lost when I was no longer needed on the phone as I had to regain my train of thought, but it wasn't too painful.
Things that make context switching hard for people are the number of simultaneous tasks and the duration allowed to work on those tasks. Typing and talking on the phone worked because I was only trying to do two things. It also worked because I was needed on the phone only for a minute out of every quarter hour (it was a long phone call). Now if I had been on the phone, driving in traffic, and trying to eat a burger, things would not be so simple. While I might get away with it once or twice, eventually I wouldn't be able to context switch fast enough and might cause an accident. That is why I never eat and drive at the same time . . . while also trying to talk on the phone.
Labels:
computer science,
context switch,
multiprocessing
Wednesday, February 29, 2012
Leap Day
Leap Day is one of those events that happens once every 4 years and just happens to be today. It is necessary to keep the calendar from getting out of sync. Of course it would be convenient if every year had the same number of days, but that's not how the universe works.
A few years ago, I had a co-worker propose that we were off on the number of days during the year. He had noticed that the seasons seemed to be starting later and later. I had had a similar thought before and ran through the mental exercise. I realized that while seasons were directly effected by the rotation of the earth around the sun, we really use the length of day to calculate how long this voyage takes. I pointed that out to my co-worker and he agreed with my logic.
Computers are kind of like the earth. It would be nice if they all used uniform time units to represent a day. Unfortunately that is impossible, simply because of tiny differences in how computer clocks are made. So that means that every once an a while you might want to resync your computer's clock with a trusted time reference. What better day than Leap Day to make that adjustment? After all, sometimes it is very important that your computer has the right time.
A few years ago, I had a co-worker propose that we were off on the number of days during the year. He had noticed that the seasons seemed to be starting later and later. I had had a similar thought before and ran through the mental exercise. I realized that while seasons were directly effected by the rotation of the earth around the sun, we really use the length of day to calculate how long this voyage takes. I pointed that out to my co-worker and he agreed with my logic.
Computers are kind of like the earth. It would be nice if they all used uniform time units to represent a day. Unfortunately that is impossible, simply because of tiny differences in how computer clocks are made. So that means that every once an a while you might want to resync your computer's clock with a trusted time reference. What better day than Leap Day to make that adjustment? After all, sometimes it is very important that your computer has the right time.
Subscribe to:
Posts (Atom)
