Thursday, October 5, 2017

gCal (google Calendar) subscription for iCal (Apple Calendar)

Follow the instructions here and then be prepared to wait. For at least 15 minutes. Also, add the hotmail, gmail and icloud email addresses permitting them to make changes and view.

Don't freak out if it doesn't sync - give it some time and it will work out.

Monday, June 19, 2017

First wedding anniversary: Yosemite National Park

This is sort of a mind sieve to put into posterity some of places we have been to on our trip to Yosemite.

Check out the website before going is a must to know the most up-to-date news on the trails and crowd. We went during Memorial Day long weekend, so we knew what we were expecting - one tip -  get to the entrance before 9am everyday!!

1) Yosemite Falls
2) Half dome
3) Glacier point
4) Bridalveil falls
5) Yosemite Falls trail
6) Wawona Swinging bridge
7) Bass Lake (it's a resort over there with chalets!)
8) Bass Lake restaurant -- Ducey's on the lake
9) Big Trees Lodge restaurant
10) a meadow trail opposite Big Trees Lodge
11) Yosemite Mountain Sugar Pine Railroad, reserve online here : highly highly recommend this, especially if you have kids.

We stayed at Tin Lizzie Inn. It was pricey but well worth it for our anniversary. The sweetest and most wonderful hosts, Sheran and David. SY loves the bed. Took car rides in David's model T Ford! Sheran's breakfasts and sweet treats. Superb location (Fish camp), just 10-15 min drive from the Yosemite entrance. We just have to follow S and D's suggestions. Thoroughly enjoyed our stay =)

Sunday, March 5, 2017

End of Downton Abbey series

Zingers, especially from Tom Branson, from Seasons 5 and 6 of Downton Abbey - here and here.

Among them, Tom's talk about his marriage with Sybil (to Mary) that was one of the most inspiring:
"It may surprise you, but I agree it's important to be balanced, that one should not be far stronger than the other. I just don't think it has much to do with money or position... To all of you, she had everything and I had nothing. She was the great lady, and I the man who drove the cars, but that wasn't true for us. We were evenly matched, Sybil and I. She was strong in her beliefs, so was I. We were a marriage of equals. We were very happy."

Mary's paraphrase to Henry Talbot:
"Tom and I once talked about how marriage should be equal. It has nothing to do with position or money, simply that a couple should be equal in both strength and passion ... I believe I've met my match. I have. I'm not 20, trembling at the touch of your hand, but I know that if I leave you now I'll never be as happy as we could've been together..."

And the row Mary had with Edith, whom I am extremely glad got her happy ending as well; I never quite agreed with the way Mary ever treated Edith - to tell the truth, sometimes I feel like slapping Mary for being so vicious to Edith:
M: Going away?
E: Do you care?
M: Look, I wasn't to know you hadn't told him. It never occurred to me --
E: Just shut up! I don't know what's happened. Tom has made you feel bad, or Papa, or maybe it's just the same old Mary who wants her cake and ha'penny!
M: I never meant to --
E: Yes, you did! Who do you think you're talking to? Mama? Your maid? I know you! I know you to be a nasty, jealous, scheming bitch!
M: Now listen, you pathetic --
E: You're a bitch! Not content with ruining your own life, you're determined to ruin mine!
M: I have not ruined my life and if Bertie's put off by that, then --
E: Don't demean yourself by trying to justify your venom. Just go.
E: And you're wrong as you so often are. Henry's perfect for you. You're just too stupid and stuck up to see it! Still at least he's got away from you. Which is something to give thanks for, I suppose!

And their reconciliation - speaks volumes of sibling bickering and rivalry, no?:
M: You know I'm sorry.
E: I assumed you would be fairly sorry unless you're actually insane.
M: I'm not insane but I am sorry, I don't know why I did it. Not really.
E: I've told you. Because you were unhappy so you wanted me to be unhappy, too. Now you're happy again, you'll be nicer... for a while.
M: If that's what you feel, then why are you here?
E: Because, in the end, you're my sister and one day, only we will remember Sybil... or Mama or Papa or Matthew or Michael or Granny or Carson or any of the others who have peopled our youth... until, at last, our shared memories will mean more than our mutual dislike.
M: What do you think he'd have made of it? I went to his grave to tell him, which isn't like me.
E: Matthew loved you and wanted you to be happy. I'm sure he'd be very, very pleased. In fact, I know he would. You look nice, by the way.
M: Thank you.

I am sure there are more. But somebody sensible has to put them together in one place - I couldn't find one that has a good repository of quotes from the series. Then again, that's what's about a good script, different lines appeal to different people, and even the same lines can be interpreted differently because of differences in lives.

Tuesday, August 16, 2016

Linux VS Mac OS GNU command line tools

After using the tools on Mac for a while, I realize a number of the tools that I am familiar with in Linux is not the same on Mac.

I found this website:

Apparently, there's a difference as the Mac uses the BSD version of the GNU tools.

The website tells you how to use the Linux version of the tools on Mac.

Tuesday, August 2, 2016

Windows 10 installation in VirtualBox and setting up shared folder

Conversion of SAS file formats seems an unlikely challenge. Unfortunately, the packages from Python and R churned out many errors for my files. So I am trying to install an SDS version. Since I am using a Mac right now, I would need Windows to run SAS and I would need VirtualBox on my OS X. I found 2 ways to get SAS and both use VirtualBox anyway, so I thought I would document the setting up procedure, with the steps to create shared folders.

CREDITS: steps were adapted from here

Host OS: Mac OS X El Capitan 64-bit, CPU-i7 quad core @  1600 MHz, 16GB RAM
VM: Oracle's Virtualbox (VB)
Guest OS: Windows 10

Installation of Windows 10:
1) Download Windows 10 .iso file. I downloaded the 64-bit (amd64).

2) Download VirtualBox. After installation, got through the wizard to install Virtualbox. It's a very straightforward process:
a) OS Type: OS=Windows 10 (64-bit)
b) Memory: I chose fixed storage - it's supposedly faster.

3) Double click on ISO to initiate VM. Follow wizard to install Windows OS using the .iso file from (1).

Set this up to allow access of host files from the guest system.
1) Create a folder, name of your choice. For illustration purpose, the path of my folder is "C:\Shared".
2) Open VB, go Settings > Shared Folders.
3) Click on the 'Add folder' icon, key in the path, and look for folder name from (1).

4) Checking 'read-only' means you will not be able to change anything from the guest machine - guest can only 'download' - so for all practical purposes, we uncheck this.

5) You should also set "Auto-mount", and "Make Permanent", so that the folder is mounted every time you load this VM. A good picture on how this is done, click here. "Make Permanent" box might not be present, if not, do not do anything.

6) Start VM and login. From the VB menu, select Devices > CD/DVD Devices > VBoxGuestAdditions.iso
This ISO contains an image of a DVD that contains essential files. Mount this image (something like putting in a virtual CD/DVD into a virtual drive). Run the image using:
sudo /cdrom/

7) You might need to restart the VM.

Friday, June 24, 2016

The Medici Effect by Frans Johansson

Image credit:

The Medici Effect is a book about innovation. Specifically, the author, Frans Johansson argues that innovation occurs more frequently and extraordinary inventions come to fruition when one tries to hybridize/synergize/combine/integrate/meld ideas from a diversity of more than 1 field; he called it "the intersection". Overall, the book is a simple read with very clean and concise language and a very clear message. While the arguments are not mind-blowing, the book does provide many interesting anecdotes and trivia that support the author's perspectives. If you are looking for a relatively relaxing read, and also increase your knowledge, you should pick up this book.

The book leaves with 3 key points:
1) the future lies in the intersection; if you want to innovate, find your way there
2) expect the unexpected because intersections are everywhere and you never mind what to anticipate when disparate fields collide
3) there is logic to the intersection but the logic is not obvious

>>Why 'Medici' effect? Named after the House of Medici, a politically powerful Italian family that combined the arts and banking during the Renaissance

>>Mick Pearce - Zimbabwe architect combined architecture and ant colonies in ecology
>>Leon Cooper - Nobel Prize Laureate of physics, later decided to combine brain and physics
>>George Soros - combined investment with philanthropy
>>Richard Dawkins - wrote the book "The Selfish Gene", where the word "meme" was coined - "memes propagate themselves in the meme pool by leaping from brain to brain; this is called imitation" - the field of memetics is a hybrid of culture and science.
>>Sequoyah - creation of Cherokee syllabery
>>Yvonne Chu - Kimera fashion boutique (sounds like the mythical mixed creature 'chimera')
>>Steve Jobs - Pixar success in combination of computer graphics with storytelling
>>Marcus Samuelsson - Aquavit restaurant - Swedish of Ethopian ancestry breaks down barriers/associations in culinary world - attributed his success to the cultural diversity of his life

>>RSA cipher - from the codebreakers at Stanford - William Diffie, Martin Hellman, Ronald Rinest, Adi Shamin, Leonard Adleman - allows Internet security when online shopping - the idea is you own the padlock and the key to your data, and then you distribute the padlock, but only you have the key - considered revolutionary because conventionally, keys are distributed to unlock the lock.

>>Magic the Gathering - Richard Garfield - a mathematician - randomly combine ideas, try different perspectives

>>Luis Alvarez = astronomer, combines paleontology - came up with the hypothesis that a meteorite killed the dinosaurs
>>Orit Gadiesh - chairman of Bain and company - she sees trends, patterns and integrate - advocate for being a generalist in consultant
>>Frank Herbert - sci-fi write, book "Dune"
>>Hakan Lars - inventor - invented the Time Division Multiple Access navigation system for air and sea navigation
>>Richard Branson - Virgin Group founder, went from managing a record label to airline - need to for evaluation
>>Imet Prothrow-Stith - a doctor - physician + youth violence - people tell her "you are medicalizing a sociological problem."
>>Clayton Christenson - the innovator's dilemma
>>Deepak Chopra - physician + alternative eastern medicine - popularize meditation
>>Linus Torvalds - Linux creator - bold and dare to stand up to challenges and opposition
>>Mark Twain - "Courage is the resistance to fear, mastery of fear, NOT absence of fear."
>>Glass is not a liquid - that's an urban myth

>>Corning - Lina Echeverria heads the glass research group - created and manufactured glass bulbs for Thomas Edison, color tubes for TV, glass for thermometer and LCD, glass casserole dish (Pyrex) that used directly from freezer to oven without cracking, optical fibers (intercontinental telecommunications) - "have the creativity of van Gogh but lead the life of Michelangelo" - "Do something you are interested in and can get energized about"