夏威夷欧胡岛6天5夜深度游

时间:2019.11.27 – 2019.12.02

住宿:Outrigger Reef Waikiki Beach Resort

行程:

第一天:早上从旧金山起飞,下午一点到了欧胡岛。下了飞机打个Uber到酒店check-in,我们就到附近的面馆(marukame udon)吃了个面(味道一般,但价格便宜),补充了下能量。下午在酒店附近的海滩上,玩了会🌊,附近走走。我们住在waikiki,又叫小拉斯维加斯,晚上也充满了人气(商业气息)。

第二天:下飞机坐Uber去酒店的时候,司机就跟我们说要开车沿着海岸线一路开到北面的North Shore才算是领略真正的欧胡岛风光。所以当天晚上,我们就临时调整了下安排,第二天租车一路向北(再加上考虑到是感恩节,人文的景点大都不开,所以正好游览环岛风光)。我们从Waikiki出发,一路沿着东海岸,开到了north shore – 途径:大风口,Byodo-In temple,Kualoa Regional Park,拉耶点(Laie Point),Turtle Bay Resort,Sunset Beach,Banzai Pipeline,Sharks Cove。

  • 平等院

  • 平等院正对着的山坡上,是张少帅的墓地。墓碑上刻有以马内利,无论是非功过,愿先生安息主怀。

  • 园内喂食的父子

  • Kualoa Regional Park(侏罗纪公园🎬地),这里的海水格外好看。远处是中国人帽子岛(名字来源于岛的形状很像第一批移民来的中国人带的帽子)。

  • 拉耶点的Kukuiho’olua l.岛,是个大拱门。

  • 海龟度假村和鲨鱼湾都很适合浮潜,我们提前买的装备也算是物尽其用。这两个湾的特点是🐟小而多。

  • 浮潜时老公拍到的大家伙(应该是海豹?)。

第三天的主题是历史。我们上午去了珍珠港,参观了密苏里号和亚利桑那纪念馆。下午去了Iolani Palace。

  • 密苏里号舰上共装备9门大炮,前六后三。图为前面的6门大炮。

  • 1945年9月2号,日本在密苏里号受投,宣告二战结束。可以看到代表中国的时任中华民国国防部部长徐永昌的签名。

  • 夏威夷国王款待来宾的地方。

  • 皇室举行重要典礼的厅。

wiki 知识点:“1893年1月17日,夏威夷王国的最后一任君主——莉莉乌欧卡拉尼女王试图对宪法进行修订,却引发了一场美国居民领导的政变。政变之后,女王被软禁在伊奥拉尼宫之中,夏威夷的君主统治被反叛者的临时政府取代,夏威夷进入共和国时期,在1898年成为美国领土的一部分,在1959年夏威夷州成为美国的第50个州。”

第四天:Dole plantation和Polynesian文化村。Dole plantation是一位名为Dole的先生创建的,这里本来是菠萝种植园,可他预见了菠萝的巨大商业价值,建立了加工工厂来进行规模化生产。这里有个世界上最大的迷宫,可以由于时间有限,我们没有来得及去玩。波利尼西亚文化村也很值得一去,可以亲身去感受6个村子的文化活动。文化村的商店里有ukelele的课,感受了下,就顿时喜欢上了这个乐器(好听又简单好上手),想着回去要入一把。

  • Dole plantation里的小植物园。

  • 偶遇大蜗牛

  • 香蕉树

  • 应该是木瓜树

第五天:Hanauma Bay和Diamond Head。恐龙湾是岛上第一推荐的浮潜地点。和上面提到的其他两个点相比,这里的鱼会少一些,但是都是大鱼。

  • 恐龙湾鸟瞰,礁石很多。

  • 下午我们去了钻石山,那里可以360无死角俯瞰waikiki bay。我们住的酒店可以凭房卡坐观光shuttle前往。

就餐推荐:

  1. Yoshisune Restaurant。是岛上人气很高的一家日式餐厅。我们点的煎鳕鱼、sashimi和三文鱼、鳗鱼sushi 很棒。就是价格有点小贵。
  2. Ramen Nakamura。牛尾汤很好喝。
  3. 虾饭:强烈推荐岛上虾饭第一家Giovanni’s Aloha Shrimp,虾很新鲜,感觉就是比别家好吃。

知识点:

  • 这几天的行程唯一有点小亏的地方是没有充分利用度假酒店的服务。我们住的Outrigger Reef Waikiki Beach Resort每天需要多交40刀的resort fee,最后一天临走时才发现去各种景点可以打折,特别是去Polynesian文化村,如果是夫妻,可以省150刀。所以以后入住的时候一定要问清楚,可以享受哪些优惠。
  • 如果是住在waikiki,只需一两天环岛游的时候租车,平时打车比较好。因为在waikiki停车费很贵,一天40-45刀。

 

特别感谢HiHonolulu和Chris的攻略,给了我们很大的参考(附链接如下):

https://you.ctrip.com/travels/hawaii251/2416920.html

https://bbs.qyer.com/thread-537778-1.html

西雅图-旧金山三日自驾游

2018.07.27 – 2018.07.29

七月底,借着老公出差的机会,自己也在西雅图工作了几日,然后从周五开始进行为期三天的自驾游。总路线是:西雅图 – 雷尼尔雪山 – 火山湖 – 拉森火山公园 – 旧金山。

第一日:雷尼尔雪山

头一天晚上,我们就住在雷尼尔雪山附近的copper creek cabin(溪边小木屋),因为怕第二天出西雅图的traffic。

C5BDB4A3-4226-459D-9B7B-3B264D4CB7CC
小木屋旁边的小溪 有种魔戒森林的感觉

第二天一大早,享用过松软的pancake,驱车前往最有名的天堂景区去爬雪山。

45F9517B-106E-4F0E-A994-6AF78115224A

5A770FC0-13BF-4387-BEA2-466477A9F642

4C11B6FA-49F8-48B5-B48A-DC1E8EC8D8F2
雪山近在眼前
F3C6480C-6C9B-4D88-B678-7456A0DFB9A9
先来个小惊喜 Narada Falls

A57E8FB4-97F7-4B59-8BCF-BB4A5227793DF4DC1200-112D-4AC2-B9D1-B1AFFBF87895

93169B6A-00C7-4981-8288-CBC70D4C6E7A
Reflection Lake 可惜我们没有看到湖里的雪山倒影 但是很静谧的感觉
E1D4FCC9-A3F3-48C5-B3A2-B4A5D2A71864
雷尼尔景区很大 这次我们只是走走看看 玩了四方形的一条边 但是最有名的
EAE6D36D-B5E1-47F1-84CB-105F679BB98D
晚上在Eugene南 找了一家古色古香的B&B住
4AABF387-600B-47E9-84C3-7DC3553C878F
女主人是个老太太 把房子布置的很有特色
481EA4A5-389E-47AB-A65E-BD64FB329F78
房子外观 – 木屋在山上 大晚上找去 很有寂静岭的感觉~~

第二日:火山湖公园

F91918B6-2AFF-40FA-9594-85154CC1F952
一望无尽的路 此处应放一段后会无期的主题曲
DE4E9B11-EF3D-4069-A1E1-00491FBBD6C1
火山湖 游玩攻略就是从各个角度拍湖
3691658F-63AF-4DE6-AC82-347E372F28C8
Vidae瀑布 没有昨天看的帅 水龙头太小了
F9D5F0F4-FDA0-4D73-B6A6-77F13D8FC60F
火山灰被腐蚀风化形成的石林
3C8F4736-1181-4C8C-B905-627CA1EF5600
Pumice Castle 也是被腐蚀形成的城堡状岩石
FF9E69A1-288A-4380-9C52-BC54F648F7A4
山顶的百年老店 拍一张 要提前好几个月再能预定
AC8C2E49-8CC3-4CDC-97B8-D09691F8F8C1
回去的路上 夕阳西下

第三日:拉森火山公园

拉森本来要玩两个景点:Bumpass和Cinder Cone。可是Bumpass关了,所以我们就直接去了Cinder Cone。从公园入口到Cinder Cone,我们找了一个小时,因为需要出园上高速,并从另一个入口进去。顿时和王安石同学游褒禅山感同身受 – “夫夷以近,则游者众;险以远,则至者少。而世之奇伟、瑰怪,非常之观,常在于险远,而人之所罕至焉,故非有志者不能至也。”

3B56B579-0697-4133-9E07-EB868604C2EC

34312CB6-EF78-4E7E-B7D1-7DAB94ED41A5

7E41B56B-4AE3-4B79-9A3E-80501F274E5E
火山口
12CF1B24-B873-4426-A583-57E3F35391DD
能看到底
09342E69-2673-494F-B3AA-C93BAB6FE4E5
小火山湖
9D774136-C1CE-465E-A78E-E8BCB5AC53C8
Sulphur Works 扑腾的岩浆 想和你一起泡温泉 然后融为一体 😄
D485CB2B-A5D8-4E30-9751-2A1CB1324713
山顶的薰衣草 不期而至

[Learning Note] Java RMI – proxy pattern

Java RMI is a typical proxy pattern, equivalent to RPC(remote procedure call). It allows an  object running in one Java VM to invoke methods on an object running in another Java VM.

Components:

  • Client Object: talks with client helper, but thinks client helper is the thing that can actually do the real work.
  • Client helper: the “proxy”
  • Service Helper: get the request from the client helper, unpack it and calls the method on the real service
  • Service Object: the real service that does the real work

Hands-on experiment:

  • Generate  stubs skeletons and solve “error: Class procypattern.MyRemoteImpl not found.”
  1. Put server class(MyRemote.java) and the implemented class (MyRemoteImpl.java) in a folder, name it x
  2. Add this package on top of each class package x;
  3.  javac x/MyServer.java and javac x/MyImpl.java from the directory that contain the x folder.
  4. Write rmic x.MyServer from the directory that contain the x folder.
  5. You should have now a MyServer_stub.class
  • run rmiregistry
  • start  service x.MyRemoteImp (may need include package name)

 

Ref:

https://en.wikibooks.org/wiki/Java_Programming/Remote_Method_Invocation

http://stackoverflow.com/questions/10054795/class-not-found-error-in-rmic-compile

Click to access HeadFirstDesignPatterns.pdf

 

Move Semantices and Unique pointers

take-away points:

  1. for some stl container, if passing by rvalue, it will call move constructor.
    vector v;
    v.push_back(string("hello"));   // pass rvalue, call move constructor
    string s("hello");
    v.push_back(move(s));           // element of v takes ownership of v and set s to be null. 
    
  2. unique pointers and shared pointers.
    It’s encouraged to use smart pointers, when doing memory allocation. so we don’t need to worry about memory leak when it goes out of scope.
  3. unique ptr: exclusive ownership; shared ptr: shared ownership.
  4. for shared ptr: delete happens when last ptr that owns the object goes out of scope

Source: Lesson #5: Move Semantics

How to install the linux-firmware package in Gentoo

Thanks! very helpful!

Fitzcarraldo's avatarFitzcarraldo's Blog

The microcode image (a.k.a. firmware) file for a driver can be installed from the distribution’s package manager. For example, in Gentoo the microcode package for the Intel Wireless WiFi 5100AGN, 5300AGN and 5350AGN controllers is named sys-firmware/iwl5000-ucode. However, microcode files are also available in a single package named sys-kernel/linux-firmware and can be installed using that package instead. However, to me at least, it was not obvious how to do this and the elog output when you merge the linux-firmware package is not particularly helpful:

* If you are only interested in particular firmware files, edit the saved
* configfile and remove those that you do not want.
>>> sys-kernel/linux-firmware-20120816 merged.

In other words, I used to enter the following command to install the microcode for the Intel 5300AGN WiFi controller:

emerge sys-firmware/iwl5000-ucode

and that command installed only the microcode files needed for that WiFi controller, but the following command also…

View original post 512 more words

javascript Vs. jquery for innerHTML replacement

Problem: make the page dual-unit (si, ip)

javascript solution:

<!–div>
<select class=”span2″ id=”input_unit_id” name=”input_unit” onChange=”convertUnit();”>
<option value=”default”>–choose units–</option>
<option value=’ip’>IP</option>
<option value=’si’>SI</option>
</select>
</div–>

<script>
function convertUnit(){
var inputunitid = document.getElementById(‘input_unit_id’);
var unitid = inputunitid.options[inputunitid.selectedIndex].value;
//var architecture_section = document.getElementById(‘replace’);
var cont1 = “”;
var cont2 = “”;

if(unitid==’si’){
cont1 = “m²”;

cont2 = “m”;

document.getElementById(“architect-replace1”).innerHTML=cont1;
document.getElementById(“architect-replace2”).innerHTML=cont2;
document.getElementById(“architect-replace3”).innerHTML=cont2;
}else if(unitid==’ip’){
cont1 = “ft²”;

cont2 = “ft”;

document.getElementById(“architect-replace1”).innerHTML=cont1;
document.getElementById(“architect-replace2”).innerHTML=cont2;
document.getElementById(“architect-replace3″).innerHTML=cont2;
}
}
</script>

Jquery solution:

<span class=”unit”>m<span>

<div class=”pull-right text-right”>

<input type=”radio” name=”unitoption” value=”si” checked=”checked” onclick=’$(“.unit”).html(“m”);$(“#si-ip”).val(“si”);’/><font color=”yellow”> SI</font>
<input type=”radio” name=”unitoption” value=”ip” onclick=’$(“.unit”).html(“ft”);$(“#si-ip”).val(“ip”);’/><font color=”yellow”> IP</font>

</div>

apache2 – installation and available sites setting

1. Installation apache2 in Ubuntu

sudo apt-get install apache2

default webpage location: /var/www/

ln -s /var/www/ /home/bitnami/

sudo chmod 777 -R www/

2. start apache: sudo /etc/init.d/apache2 start

3. enabled sites setting:

configuation: /etc/apache2/apache2.conf

available sites: /etc/apache2/sites-enabled/

Create a free website or blog at WordPress.com.

Up ↑

Create your own website, free on WordPress.com.Create your own website.
Start free