Entries Tagged as 'Techology'

Faster file copying over a local network

What I started to do was to copy a 460MB file from the computer in the project network into my laptop before I leave in an hour. The problem is that when I started mapping the drive containing the file and copying it using Windows explorer the ETC displayed by the file copy dialog box fluctuates between 2-5 hours. This instability and slowness is a pet peeve I have against the Windows copy process over CIFS/SMB shares. I know copying from the command line is going to be faster but without a progress meter I don’t know when it is going to be finished.

The next option I did was to share it the webserver hosted in the remote box and then tried to download it. The download speed range is between 30-75kbps so the ETC reported by the browser is between 2-3 hours. It may be faster but not fast enough for my needs. Then I realized that I have rsync inside the cygwin install in the laptop. As I have already the network share mapped to Z: drive so the simple command

$ rsync -avp --partial --progress /cygdrive/z/Temp/bigfile.zip ./

started the transfer which was a whopping speed range of 230-420Kbps. ETC is now 15-20 minutes. Problem solved so I am writing this blog while waiting for the transfer to complete. For those interested with the rsync options:

  • -avp : copy the file in archive mode, preserve permissions and increase verbosity.
  • –partial : if the error fails, don’t delete the transferred chunks so it can be used for resuming the transfer.
  • –progress : show the copy progress.

Why didn’t I just use a USB stick? It is because the company has locked down the USB storage drivers and while somebody who amazingly has a strong resemblance to me can do something about it, it would be too troublesome to pursue. FTP might have been a good choice of protocol as this is a secured environment but from experience the antiquated file transfer protocol only has a slight advantage over HTTP in terms transfer speeds.

ciao!

HTC Desire arrives in June 18

According to Yuga, my “current” dream Android phone will start arriving on June 18 but it is expected to fetch a price from Php35-40K.

Ouch. Yuga historically guesses the price pretty accurately or at least off by 1-2K. This one seems like the impossible dream at the moment but between this and the iPad I will opt for an Android phone.

Here is to hoping that Yuga’s guess is over by a big margin, or the Samsung Galaxy S is going to be cheaper….

ciao!

Here comes the Google N1 err HTC Desire

The Google Nexus One (N1) is currently my “it” phone fantasy as the sub-30K price is pretty reasonable considering the features. However the Philippines is not included in the list of supported countries, it would require a bit of work-around to get it delivered here in the philippines. Yuga has the instructions here if you are interested. He also gave it a pretty decent review rating of a “steal”.

The only problem with the above method is that if the unit breaks then you have to RMA it to the the USA as the local HTC service centers will not accept it for repairs. It is a bit of risk taking that I don’t have the luxury at the moment (let’s assume that I have the money to buy it in the first place :) ). This problem maybe no more as the HTC Desire (formerly codenamed as HTC Bravo) has just been announced and there is a strong possibility to come to Asia.

The HTC Desire (pictured above) has the same specifications as the Google N1 except that it has replaced the trackball with a trackpad. It also comes with HTC’s Sense UI which some N1 users are missing.

Time to save for the “unfortunate” case that I need to replace my phone. Hopefully the Desire will also be in the 30K or less range when it gets offered here commercially. :)

More details and pictures here: http://dvice.com/archives/2010/02/htc-desire-andr.php

ciao!

[TipJar] Say What?

Have you encountered an unfamiliar word when reading email or an article in the web? Normally this would require a quick dictionary search but Google may present an easier route. Navigate your internet browser to www.google.com and enter the following in the search box:

define:

If it is popular enough, Google will present the searched definitions.

Popular and upcoming words can also be searched:

Browsers equipped with a Google search bar may offer keyboard shortcuts that will make the process easier. For Firefox, Ctrl+K will send the focus to the search bar.

[TipJar] Rock-a-bye-baby

[Advanced Disclaimer: Use the information in this posting at your risk]

If you want to minimize the amount of electricity used by your computer but dislike shutting down your computer because of the amount of time it need to start it up and open your applications, there is a compromise to be had if your operating system is configured properly to hibernate.

Hibernating an operating system means that all the information in the system memory (RAM to be precise) is written down as a “snapshot image” to the hard disk. The PC hardware is then turned off since the hard disk will not lose its information when powered down. When the machine is turned back on, the booting process of the operating system will look for a store snapshot image and load it back into the system memory. If this is successful, you will have your desktop at the same state as when it was hibernated. The time it needs to resume a hibernated image is relatively small compared to when booting the operating system from scratch (or what is called a cold boot).
All modern operating systems have support for hibernation but not all are enabled by default. To following steps will enable this feature in Windows XP:

  1. Go to Start->Control Panel->Power Options.
  2. Go to the “Hibernate” tab and ensure that the “Enable hibernation” check box is ticked. Click OK to dismiss the dialog and apply the change.
    WARNING: This will reserve space on the system drive equal to the amount of RAM in your computer. If you have 2GB of RAM, 2GB of hard disk space will be set aside for hibernation.
  3. To hibernate, shutdown the machine but select the hibernate option. The machine will be turned off automatically (if this is properly configured).
  4. To resume the hibernated image, turn on the machine. The image will be invalidated after a successful resume.

NOTES:
– Some applications, usually those that have time-bound login sessions, do not like being hibernated.
– The space set aside for the hibernation support is different with the space allocated for the virtual memory.
– If the machine fails to resume or hangs while in the process of resuming, reboot the machine and boot into safe mode (Press F8 after the BIOS screens). Reboot the machine to invalidate the hibernate images and the machine should boot normally after.