I tested them with and without on-the-fly compression and measured their real time. I transferred a large size file, archive.log which takes up about 1.1G disk usage from a remote server named “sakura” to local machine.
transfer without on-the-fly compression
executed: scp -p sakura:/var/tmp/archive.log /var/tmp
elapsed time: 9min 23sec
transfer with on-the-fly compression using SCP’s -C option
executed: scp -C -p sakura:/var/tmp/archive.log /var/tmp
elapsed timed: 43 sec
transfer with on-the-fly compression using SSH and TAR
executed: ssh sakura “tar zcpf – -C /var/tmp archive.log” | tar zxpf – -C /var/tmp
elapsed time: 36 sec
Do compress and make the most of your CPU power, then you can finish it In a shorter period of time!
Windows 8 Consumer Preview Build was released last week and became available for download by anyone interested. So like other Windows 8 enthusiasts I gave it a try – installing it in VMWare fusion4 on my Macbook (I installed Windows8 Developer Preview Build in my Macbook as well when it came out last year). To be honest, it is not so excited only to install it on standard laptop PC. Let’s wait for the one installed on some touchscreen computer to come out.
[Watch Out] For this time of Consumer Preview Build, it’s not available on tablets. The preview of Windows 8 will only work on PCs and laptops based on standard Intel Corp x86 chips.
ついつい深夜遅くまで録画したTV番組や映画を観てしまう今日この頃、最近みたのがこの映画 – Good Will Hunting(1997)、言わずと知れたMatt DaemonとRobin Williamsのあの作品ですね。その中でも特にお気に入りなのが、Sean(Robin Willams演じる精神分析医)がWill(Matt Damon演じる心を閉ざした天才青年)に妻の癖を語るシーン。Youtubeを探したら見事アップされていたのでここにそのシーン動画と、スクリプト、ポイントを絞ったオレ訳を載せておきます。Good Stuff!
Good Will Hunting – “Idiosyncrasies”
Will: Yeah, I went on a date last week. Sean: How’d it go? Will: It was good. Sean: Going out again? Will: I don’t know. Sean: Why not? Will: Haven’t called her. Sean: Christ, you’re an amateur. Will: I know what I’m doing. Sean: Yeah. Will: Yeah. Don’t worry about me. I know what I’m doin’. Yeah, but this girl is like, you know, beautiful. She’s smart. She’s funny. She’s different from most of the other girls I’ve been with. Sean: So, call her up, Romeo. Will: Why? So I can realize she’s not that smart, that she’s fuckin’ boring? Y’know–I mean…this girl is like fuckin’ perfect right now, I don’t wanna ruin that. Sean: Maybe you’re perfect right now. Maybe you don’t want to ruin that. I think that’s a super philosophy, Will. That way you can go through your entire life without ever having to really know anybody. My wife used to fart when she was nervous. She had all sorts of wonderful idiosyncrasies. You know what? She used to fart in her sleep. Sorry I shared that with you. One night it was so loud it woke the dog up. She woke up and gone like “oh was that you?” I’d say yeah…I didn’t have the heart to tell her…Oh God…
Will: She woke herself up?
Sean: Yesssss. Oh Christ….aahhh, but, Will, she’s been dead two years and that’s the shit I remember. Wonderful stuff, you know, little things like that. Ah, but, those are the things I miss the most. The little idiosyncrasies that only I knew about. That’s what made her my wife. Oh, and she had the goods on me, too, she knew all my little peccadillos. People call these things imperfections, but they’re not, aw, that’s the good stuff. And then we get to choose who we let in to our weird little worlds. You’re not perfect, sport. And let me save you the suspense. This girl you met, she isn’t perfect either. But the question is: whether or not you’re perfect for each other. That’s the whole deal. That’s what intimacy is all about. Now you can know everything in the world, sport, but the only way you’re findin’ out that one is by givin’ it a shot. You certainly won’t learn from an old fucker like me. Even if I did know, I wouldn’t tell a piss ant like you.
Will: Why not? You told me every other fuckin’ thing. Jesus Christ. You talk more than any shrink I ever met. Sean: I teach this shit, I didn’t say I knew how to do it. Will: Yeah……you ever think about gettin’ remarried? Sean: My wife’s dead. Will: Hence, the word remarried. Sean: My wife’s dead. Will: Yeah.. Well, I think that’s a super philosophy, Sean. I mean that way you could actually go through the rest of your life without ever really knowing anybody. Sean: Time’s up.
I was in a hotel where there was no wired internet access, I had Emobile Internet access which was only internet access at that time but I wanted more than one devices to be connected at the same time. I setup Internet Connection Sharing with my MacBook Pro in order to share emobile connection to the other devices via Wi-Fi. The setup procedure was perfect however it didn’t work somehow – my Wi-Fi connection dropped out repeatedly. After my more-than-an-hour investigation, I finally found the root cause of the issue. It was wireless signal interference – Wi-Fi channel number overlap between me and my neighbors in the hotel.
This below is how I setup Internet connection sharing with my MacBook and How I resolved the issue.
Sharing Emobile Connection to Computers Using Wi-Fi
Assuming that your Macbook is connected to the Internet using a Emobile modem.
1. Open System Preferences > Click Sharing
2. Select Internet Sharing (However don’t turn on Internet Sharing Yet, otherwise you won’t be able to edit Wi-Fi Option)
3. Choose “Share your connection from” and “To computers using” like this:
Share your connection from: Emobile Modem (ex. HUAWEIMobile-Modem)
To computers using: Wi-Fi
4. Click Wi-Fi Options and configure an internet-sharing network. Here is my configurations:
Network Name: mbp-shared-wifi
Channel: 11 (default)
Security: 128-bit WEP
5. Turn on Internet Sharing
That is all need to be done for internet sharing. You should be able to join the shared network “mbp-shared-wifi” if the channel( more specifically one of 11 802.11 channels) that you chose is not interfered by any sources of signals near the network.
Finding Out The Right Wi-Fi Channel
The purpose here is to find out the right channel for the internet sharing, the one which is least occupied.
Airport Command included in Mac OS X
airport is a built-in command line tool that enables you to manage 802.11 interfaces and to get all sort of information for 802.11 interface.
From the result above, it would be good to choose channel 8, 3, or 10. I chose channel 3 this case. I setup the internet sharing again with the channel 3, and confirmed that I was able to to join the shared network “mbp-shared-wifi”.
Also pay attention to RSSI
You may want to pay attention to RSSI. According to wikipedia, RSSI is the relative received signal strength in a wireless environment, in arbitrary units. RSSI is an indication of the power level being received by the antenna. Therefore, the higher the RSSI number (or less negative in some devices), the stronger the signal.
Simply, the channel with lower value of RSSI is less likely to cause interference than the one with higher value of RSSI. It would be good to choose the channel with least value of RSSI for the internet sharing.
Web Based Tool – Wifi Stumbler
There is a local wifi scanning web service, called “Wifi Stumbler“. This service provides you the information to choose the best wireless channel to choose. A good thing about this is that this is free web serivce, you don’t need airport command or any kind of wifi scanning software to install on your computer. See the site for more detail. Here is the scanned output of my wifi environment by Wifi Stumbler.
“Ame ni Mo Makezu” is a great piece of poetry written by Kenji Miyazawa. I believe this is probably one of the most famous Japanese poems. All Japanese who completed compulsory education must have learnt it in school, and might like and still remember it mostly.
English translation ( transliteration using romaji )
not losing to the rain (ame ni mo makezu) not losing to the wind (kaze ni mo makezu) not losing to the snow nor to summer’s heat (yuki ni mo natsu no atsusa ni mo makenu) with a strong body (jyobu na karada wo mochi) unfettered by desire (yoku wa naku) never losing temper (kesshite ikarazu) cultivating a quiet joy (itsu mo shizuka ni waratte iru) every day four bowls of brown rice (ichi nichi ni genmai yon go to) miso and some vegetables to eat (miso to sukoshi no yasai wo tabe) in everything (arayuru koto wo) count yourself last and put others before you (jibun wo kanjo ni irezu ni) watching and listening, and understanding (yoku mikiki shi wakari) and never forgetting (soshite wasurezu) in the shade of the woods of the pines of the fields (nohara no matsu no hayashi no kage no) being in a little thatched hut (chiisa na kayabuki no koya ni ite) if there is a sick child to the east (higashi ni byoki no kodomo areba) going and nursing over them (itte kanbyo shite yari) if there is a tired mother to the west (nishi ni tsukareta haha areba) going and shouldering her sheaf of rice (itte sono ine no taba wo oi) if there is someone near death to the south (minami ni shiniso na hito areba) going and saying there’s no need to be afraid (itte kowagaranakute mo ii to ii) if there is a quarrel or a suit to the north (kita ni kenka ya sosho ga areba) telling them to leave off with such waste (tsumaranai kara yamero to ii) when there’s drought, shedding tears of sympathy (hideri no toki wa namida wo nagashi) when the summer’s cold, wandering upset (samusa no natsu wa oro-oro aruki) called a blockhead by everyone (minna ni deku-no-bo to yobare) without being praised (homerare mo sezu) without being blamed (ku ni mo sarezu) such a person (so iu mono ni) I want to become (watashi wa naritai)
I actually saw the poem after a long interval. It was exactly the same “Ame ni Mo Makezu” as before. But this time I felt something different, something that I haven’t felt before. I read this poem more empathetically than never before. This is absolutely because of what we Japanese have experienced for last few days – Japan earthquake and tsunami. You will see in this poem the author’s ideas about how he should think of nature, how he should live, how he should support people, and whom he wants to be like. It must teach us a lot especially for this time of devastation and suffering, and let us start thinking of what we can do for the victims.