木匠的微型博客 Charlie Twitter

    follow me on Twitter

    Friday, June 13, 2014

    Seattle to Victoria trip 西雅图到维多利亚的旅行线路

    应新同事的邀请,写一篇文章,介绍西雅图到维多利亚的旅行线路.

    从西雅图到维多利亚(加拿大)有4条线路,各有优劣。

    (一)
    5号路北上,开车两小时,到 Anacortes 小镇, 搭乘华盛顿州轮渡 到悉尼市,然后开车南下到维多利亚, 坐船3小时, 开车15分钟.
    步行者: $19,
    连车带司机: $68,
    停车费: 每天$10,

    Jun 15, 2014 - Sep 20, 2014

    Anacortes, Sidney B.C.
    8:25  ,    11:05
    2:50  ,     5:00

    Sidney B.C. Anacortes
    Noon ,      2:10
    5:55 ,      8:30

    这条线是我走的最多的一条.
    可以停车在Anacortes码头, 节省船票, 早点上船,抢占联排椅子,可以一直躺着睡觉,跟火车卧铺差不多了.

    2014-06-20 :

    关于停车: 1,2,3号停车场经常会爆满. 私人停车场稍微便宜一些, $7,$8一天.
    山坡上的备用停车场(overflow parking)很大,总有空位,也多走不了几步路.
    从2号停车场南端入口,可以开上去. 还有一条trail小石子路, 从 2号停车场北端入口走上走下, 下了船,除了海关,走一会儿迎面就可以看见.

    停车收费: 记住你的停车位号码, 按照停车时长, 在入口电子收费器 交钱, 可以用信用卡, 收据随身带上, 方便回来找车, 也方便以后超时补缴费.

    卫星地图:
    https://www.google.com/maps/place/Anacortes+Ferry+Terminal/@48.50355,-122.6781428,1148m/data=!3m1!1e3!4m2!3m1!1s0x5485790ea2748ed5:0x5c9a071494b5411f

    轮渡公司网站:
    http://www.wsdot.com/ferries/schedule/ScheduleDetailByRoute.aspx?route=ana-sj-sid

    (二)
    从西雅图市中心,一直向东,开车3小时,到达 天使港 Port Angeles 小镇. 搭乘黑球公司的私营轮渡,航行90分钟,到达维多利亚.
    船上可以带狗金乘客舱.

    镇上的西餐: Next door. 中餐: Tendy's Garden 自助餐, 顶饱.

    缺点:船上停车位特别拥挤, 从 西雅图 到 Bainbridge Island,需要摆渡一次,等船浪费时间.

    票价和时刻表:
    Victoria: 10:30am, 4pm
    Port Angeles: 8:20am, 2pm

    Vehicle & Driver $63, Passenger $19

    (三)
    5号路一直向北,开车3小时,过了美加边境,和平门海关,再到Tsawwassen 小镇搭船,夏天每小时一班,航行90分钟.
    连人带车 $72,
    步行者: $17

    缺点是海关排队时间有时候比较久.
    优点是BC省轮渡公司的班次特别多,从早上7点,到晚上10点. 停车位宽敞. 船上设备精良.

    Tsawwassen Ferry Terminal Parking, 码头过夜停车信息:

    1.  BC Ferries : $16 / day

    2. Park & go,
    1406 Tsawwassen Drive
    Delta, B.C. V4M 4G2
    (604) 943-9991

    For parking near Tsawwassen Ferry Terminal, there is a good option available. The Tsawwassen Ferry Park N' Go is a large lot located at the end of the causeway before the ferry terminal entrance. This parking lot is much larger and the rate is a flat CAD 10/24 hours. Additional hours are charged at CAD 1/hour, up to the daily maximum of CAD 10. A complimentary shuttle runs between their parking lot and the Tsawwassen Ferry Terminal front entrance.

    (四)
    Clipper 快艇.  不能开车. 从西雅图市中心,到维多利亚市中心, 两小时40分钟.
    单程票价每人$100, 往返$180, 提前一周预订,往返大约$120.

    优点是快.
    缺点是贵, 容易晕船的朋友,需要经常走到二层甲板上吹冷风.

    订票:http://www.clippervacations.com/clipper-ferry/

    *******

    从维多利亚到温哥华,有2条线路。

    Swartz Bay 搭船, 车 $55, 人 $17.

    奶磨市 搭船,到温哥华。

    *******

    西雅图到温哥华,只有一条线路,就是5号路一直北上。

    BC / Seattle border wait time, 海关等待时间查询:

    *******

    维多利亚 的游玩推荐:

    我老婆认为室内最好的景观是出海看鲸鱼. 许多外地人喜欢去宝翠花园, 去一次就够了, 毕竟是人工的.

    东边

    近处, 开车一小时,有 East Sooke 公园, 维多利亚该有的景色,这里都有了.
    海滩,海景,山崖,草地,树林,山坡. 好像没有湖泊.

    远一点, 继续沿着14号公路,顺着欢徳福卡海峡向东,有 French beach, China beach, Mystic beach.
    China beach 有著名的黑沙滩.
    French beach 都是粗石子.
    Make Mystic Beach a perfect day trip to Victoria.
    If you want to catch a taste of Vancouver Island’s wild West Coast,
    but don’t have the time to make the trip to Tofino,
    head out on West Coast Road past Sooke to hidden Mystic Beach in Juan de Fuca Provincial Park.

    走到头,是欢徳福卡海峡和太平洋交汇的小镇 Renfrew, 住一天也不错. 尽头有个饭馆,能吃饱,宽敞温馨,有海景.  这里还有必须带小孩探索的 Botanical Beach, 著名的 tide pool, 没赶上退潮而留下的各种小动物.

    北边.

    近处有 Duncan市, 和 Cowichan lake 大湖周边的一些小镇子, 都非常悠闲安宁. 比如: honeymoon bay, 听着就有诗意.
    可以在 B & B (bed and breakfast) 或者 motel 住一两天.

    这一带最令人兴奋的游乐项目就是淡水漂流, Cowichan river. 全世界排名前十位,鄙人评选的.
    水深平均约半米,偶尔会有激流冲击的深潭. 带上充气轮胎,气床,只要是能浮起来的东西 就行. 再专门带上一个冰箱,放满啤酒和大麻,一边漂,一边喝,一边吸,总共漂大约三个小时,缓缓而下,乐不思蜀.

    安全提示: 下游有悬崖激流, 早几百米就开始有多处警告牌,赶紧上岸,小命要紧.

    更详细的漂流介绍, 可以参考 开吻 的博客. 链接在右上角.


    温哥华岛:

    西边: Tofino 太平洋西海岸国家公园: 听涛观海浪, 还有十三公里长的细沙粒沙滩, 大片温带雨林, 4号公路,路过几个巨大的湖泊.

    北边: Parksville 和 Qualicum Beach. 大片的浅水温暖沙滩.

    最北边, 开车550公里, 小镇port hardy, 只有5000人, 规模却很大, 还有著名的野生黑熊公园 Cape Scott.
    北端西头, 有小镇 Port Alice, 翡翠上的珍珠, 一定要去住两天, 在饭馆喝着茶,就可以看到海峡里面的鲸鱼喷水,海豚跃出水面. 珍贵的原始生态.
    小镇唯一饭馆的香港华人老板娘叹息三个孩子不善经营餐馆,远走高飞. 她总想让我继承她家的大业, 不知怎的就看中了我做接班人, 颇为有趣.
    他们家经常夏天出海钓鱼,给我描绘鲸鱼围扑三文鱼的宏观场景,邀请我同去,总是没机会(找借口), 各种石斑鱼,鳕鱼味道好极了. 东南亚人少,华人少, 这里很容易钓到又大又鲜美的生猛野生螃蟹.

    如果看官您恰巧夏天路过 Port Alice, 我可以介绍您给餐馆老板.

    Q&A

    Q: 需不需要预订船票?
    A: 如果赶时间,一般都需要预订,悉尼这条线路不多收预订费. 其它航线需要多收一二十块钱的预订费.  步行者不需要预订.



    未完待续...


    Thanks,
    Charlie 木匠


    Thursday, May 29, 2014

    USA telecom jobs 美国工作机会+获取绿卡: 电信计费业务专家

    -=-=-=-
    咱直接上干货.  有兴趣的请留言. 或者发邮件: dba.myra  at gmail

    1. 美国工作机会+工作签证+绿卡: 电信计费业务专家。 特别适合中国大陆人士 来美国。
    Rate: $80+ / hour.

    雇主提供 H1b 工作签证, 远程电话面试。

    Contact me you or your friends resumes that have System Integration Systems experience in Telecom Billing and Order Management Systems from China.

    Billing Transformation Senior Solutions Architect.


    Ericsson is the world's largest telecom services provider, supporting operators in creating competitive, attractive and appealing offerings to consumers. Our technology leadership, business understanding and extensive experience of managing telecom and IT projects make Ericsson the market leader in telecom services.
    The key to our success is our people, those who have the right mindset, competence and ability to achieve our business objectives. What we look for are employees who are customer focused, have a consultative and entrepreneurial mindset and take great pride in customer satisfaction. We value accountability, flexibility, a sense of urgency, strong team work and the ability to adapt to changes and take ownership.

    The Ericsson BSS CSI Organization works very closely with Engagement Practice and Customer Units. We help drive sales strategies and manage solution design and delivery.
    The BSS CSI Organization provides high value services in the areas of BSS Transformation Programs, Convergent Charging, Billing, and Customer Relationship Management Solutions. Within these areas we deliver product-near and product-far CSI services.
    The team’s mission is to grow revenues in BSS by transforming Ericsson’s business into the System Integration and Consulting domain.
    As a BSS Transformation Solution Architect you are part of a CSI Organization in Region North America responsible for Presales as well as Delivery of Business Support System (BSS) and IT solutions and services across all industries.

    Objectives:

    This is a position as a Senior Solution Architect for Business Support Systems (BSS).
    The successful candidate should be a natural leader capable of building and growing customer relationships at all levels. As a member of the BSS team you will be a leading figure in the Service Delivery capability for Region North America (RNAM).
    A background in System Integration and sound experience in the Solutions Architect role for BSS solutions is essential to this role. Superior interpersonal and communication skills with the ability to communicate at all levels are an absolute must. The candidate must have strong leadership, organizational, and strategic skills, as well as a dynamic and engaging personality.

    The successful candidate will direct, coordinate and administer pre-sales and delivery opportunities. This includes:

    • Actively support the sales and delivery of billing transformation engagements, working with the Customer Units and Engagement Practice organizations.
    • Be responsible for the IT systems architecture for large-scale billing transformation projects in complex BSS environments.
    • Manage solutions with new and existing multi-vendor BSS products for all types of service providers including wireless, wire-line, cable, or utilities. 
    • Work with the customer to develop a vision for billing transformation.
    • Respond to RFIs and RFPs, and ensure quality and consistency of scope, and cost estimates.
    • Map business requirements to functionalities, perform gap analysis and provide solutions for customer business requirements.
    • Scope the project and engineer the desired solution.
    • Drive transformative consulting engagements.
    • Act as the technical lead for solutions, with a high level of Customer interaction and co-ordination with Product Development Units, Operations & Competence Centers and the Customer Technical and Marketing Teams.
    • Lead the project and manage and guide teams as Customer Solution Responsible (CSR).  
    • Drive BSS CSI services business across the telecom and IT domain. 
    • Engage in on-site consulting for BSS system integration projects and ad hoc consulting assignments.
    • Establish a solid relationship with the customer aimed at increasing Ericsson credibility as the primary partner for delivering transformation programs and in doing so clearly articulate the scope and benefits that would be delivered.
    • Find new business opportunities based on expanding existing customer solutions as well as creating new ones.

    Qualifications:

    • BS or MS in Computer Science, or Computer Engineering or acceptable equivalent.
    • Over 10 years of IT experience designing and integrating telecom BSS solutions related to Billing, Customer Relationship Management, and Order Management.
    • At least 5 years of experience implementing solutions involving BSCS or Amdocs as Billing Platform.
    • Any other deep knowledge of COTS billing platforms is an advantage.
    • Strong understanding of BSS components and integration with other systems.
    • Understanding of operational and maintenance issues related to billing systems.
    • Strong knowledge of telecom billing processes and standards for wireline, wireless providers is a must.
    • Good knowledge of cable service providers is an advantage.
    • Ability to drive large scale complex business transformations with processes, solutions and operations.
    • Experience with Business Process Definition and Re-engineering.
    • Established experience and good abilities to communicate and articulate value propositions at customer C-Level.
    • Have the technical expertise to be recognized by the operator as an authority figure.
    • Have the Experience, Ability, Professional and Business Skills to operate comfortably in some of the largest and most strategic business deals Ericsson will have in RNAM.
    • Experience in consulting, business systems analysis, end-to-end solution design, development and implementation of large-scale integrated systems.
    • Knowledge of eTOM, NGBSS, TAM, ITIL, TOGAF and SID framework for designing solutions for service providers.
    • Knowledge of 3GPP standards; CAMEL, Gy, Ro, Sy.
    • Charging mechanisms for emerging technologies: IMS, LTE, VoLTE, M2M
    • Data charging and policy control
    • Offline roaming mechanisms, TAP/RAP etc
    • Product catalogue integration
    • Experience working with Billing Systems and CRM systems for a wireless carrier is a plus.
    • Experience with Mediation or Prepaid platforms is a plus.

    Product Knowledge:

    The more knowledge from the following list of Ericsson /vendor products the better and is a clear advantage:
    • Ericsson MultiMediation, Comptel Mediation or other
    • Ericsson BSCS billing alternatively Amdocs CES or Ensamble
    • Convergys Billing
    • Ericsson Charging System
    • Ericsson Mobile Broadband Charging
    • Ericsson Charging & Billing in One

    Required Personal skills:

    • Exceptional Customer Orientation and Consultative Skills, Consultative Selling Ability. 
    • Exceptional Communication skills (Presentation, Interpersonal and Influencing Skills). 
    • Establish and maintain a solid relation with key BU and DU contacts and provide feedback to R&D.
    • Excellent oral and written English skills.
    • Ability to lead and motivate others and work in a team environment.
    • Problem Solving Ability and Creative Thinking.
    • People-, Team work and collaboration skills. Ability to take a leadership role and lead a team and work under stressful situations, meet tight deadlines and deliver services with high quality. Previous track record within Project Management or Team Leadership experience is a definite advantage.
    • Broad Technical Acumen.
    • Knowledge of market insight and competitor intelligence.
    • Financial Understanding


    Looking forward to hearing from you. 

    Thanks,
    Charlie 木匠

    Tuesday, May 06, 2014

    first day in Bellevue/Seattle 西雅图贝勒府上班第一天

    第一天上班,一片混乱,主要是生活安排方面有点乱。
    (更新:找到两个合适的住处,下午下班以后搬家)

    开吻比我从容多了。

    再说说好的一面,工作不错,领导宽松,好相处,同时融洽,人事部友好,乐于帮助
    公司也不错。比以前极度抠门的公司大方多了,舒服。

    和新领导已经 1o1 一小时了。 一个好领导,比啥都重要。 理解,倾听,心态开放.

    我每两周跑一趟。 比开吻好些,他一边跑,找了个一千块钱的特价机票,就高兴的不得了。要知道,现在加拿大温哥华到中国的往返机票才六七百。

    能够在微信谈这么久,说明比上一家公司 Myra. com 还轻松 淡定 有条不紊。
    我的第一个任务是学习和探索如何在Oracle数据库和Hadoop之间移动数据。

    Thursday, March 27, 2014

    Canada income tax 加拿大人上缴多少税?

    加拿大人的收入税比对表

     一,联邦税:

        第一级:$42,707以下,交15%;
        第二级:$42,707-$85,414,交22%;
        第三级:$85,414-$132,406,交26%;
        第四级:$132,406以上,交29%。

        二, 每个省的收入税略有不同,一般在联邦税的一半以下,以BC省为例,共有5级:

        第一级 : $37,013以下,交5.06%;
        第二级 : $37,013-$74,028,交7.7%;
        第三级 : $74,028-$84,993,交10.5%;
        第四级 : $84,993-$103,205,交12.29%;
        第五级 : $103,205以上,交14.7%。

        以一个典型的单身打工族为例,看看不同年薪在BC省需要交的收入税:

        3万年薪需交联邦税$4,500,省税$1,518,共$6,018;
        5万年薪需交联邦税$8,010,省税$2,873,共$10,883;
        10万年薪需交联邦税$19,594,省税$7,718,共$27,312;
        15万年薪需交联邦税$33,122,省税$14,990,共$48,112.

        2013年加拿大报税政策又有了一些细微变化。联邦政府 宣佈,从2013年1月1日开始,个人免税储蓄帐户(TFSA)每年的免税额由原来的5000元每年提升至5500元。对于大多数加拿大人来说,他们的 CPP可领取最高数额可以每月增长25.83到1012.50元不等,或者每年增长12150元,而OAS福利金,按季度调整,每月可从1.09调升到 546.07元。

    2013年部分税额调整表:

    项目      2013年  2012年
    个人免税额 $11038 $10822
    长者免税额 $6854 $6720
    配偶免税额 $11038 $10822
    薪资抵扣额 $1117 $1095
    残障抵扣额 $7697 $7546
    孩童扣抵额 $2234 $2191
    亲人抚养额 $4490 $4402
    净入息限额 $6548 $6420
    残疾儿童补贴 $4490 $4402
    最低收入门槛 $3333 $3268

    图解:加拿大各省收入税+销售税大比拼

    收入税:联邦最黑拿大头;安省和BC省对8万下收入最有利,5%--9%;阿省对富人最有利统一10%;魁省最坑爹:穷人也要交16%,10万就交富人税。

    销售税:魁省,NS和王子岛15%;安省,NB和NL省13%;卑诗(B.C),曼省12%;萨省10%;阿省和北极3个特区无省税,只交5%GST。

    Tuesday, March 04, 2014

    蒸馒头 Chinese steam bread

    鄙人蒸馒头的名气越来越大,名声远扬,多次被叫到朋友的家里现场操作。

    索性写篇文章,分享鄙人每次100%成功蒸馒头的秘籍。

    * 准备酵母菌:
    40℃温水,50ml, 白糖一匙(teaspoon),发酵粉yeast两匙
    (teaspoon),搅拌均匀,放入烤箱,40℃,生长10分钟。

    * 准备面粉
    :
    面粉900ml, 冷水450ml, 倒入长好的酵母菌,和面。可以用筷子搅均匀,揉成一整团就行了,
    放入烤箱,40℃发酵一小时。

    * 揉面
    :
    均匀撒上干面粉,用手掌压,折叠,再压,...,大约5分钟。压出气泡。
    切成小块,揉成馒头形状,二次发酵20分钟, 室温即可。
    然后放入蒸锅。

    * 蒸
    :
    大火8分钟,
    中火8分钟,
    关火以后,盖8分钟。

    好了,香喷喷的馒头出锅了。

    简单吧? Simple is beautiful !

    Any questions please let me know.  有问题,请留言。

    Monday, January 13, 2014

    SQL Techniques 周六维多利亚 IT Club 分享

    首先祝各位 马年健康快乐,马上来钱,马到成功,龙马精神,万马奔腾, 春风得意马蹄疾。

    公告板:

    SQL Techniques 周六IT Club分享
    ________________________________
    时间: 1月18号 星期六 下午2点半
    地点: 2121 Cedar Hill Cross Rd. EBC church second floor meeting room.

    主讲人: 木匠

    本次主题是: SQL Techniques.

    去年春天回中国,得了一场怪病,颓废了大半年。
    终于康复了70%, 赶紧回来跟大伙分享数据库知识, 为社区做贡献。

    欢迎前来捧场。

    Agenda

    What do you need to write “good” SQL

    The Schema Matters

    Knowing what is available

    Using rownum (yes, to 'tune')

    Scalar subqueries

    Analytics

    Some hints

    Don’t tune queries!

    Other things

    Materialized Views

    With subquery factoring

    Merge

    …

    Access Paths

    There are a lot of them

    There is no best one (else there would be, well, one)

    A little bit of physics

    Full scans are not evil

    Indexes are not all goodness

    How the data is managed by Oracle

    high water marks for example

    IOT’s, clusters, etc

    What your query needs to actually do

    Is that outer join really necessary or “just in case”


    Thanks,
    Charlie 木匠 | Database Architect Developer

    Tuesday, November 20, 2012

    将数据处理逻辑SQL放在数据库后端的存储过程到底好不好? data logic SQL in Database vs in Web Application server


    将数据处理逻辑放在数据库后端的存储过程到底好不好? @诸超_小石头爸爸 是反对的, @OracleAskTom 是坚决推广的.这一点,我和Tom站在一边. 希望有一天和ChaoPing兄弟来个辩论会,互相学习到有益的经验. 两个人辩论肯定比一个人讲更有意思,更能吸引到听众的注意力.

    把问题具体细化一下. (data logic)SQL放在哪里?
    追加一个细化条件: 99% 纯SQL, 基本没有CPU运算 的 数据处理逻辑.

    关于如何区分 UI, business logic 和 data logic :
    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:5662105500346364576

    先谈谈我的亲身体会.

    案例 1,

    当今社会,网络成为瓶颈的机会很大. 我们有个登录事务,4个简单SQL,查序列号,删除旧曲奇,插入新Cookie,COMMIT.一共四次网络传输,如果改成存储过程,只需要一次网络传输,网络立刻畅通. @yong321 @诸超_小石头爸爸 你们怎么看?

    案例 2,

    十年前, Java developer写了一个客户订单查询系统, 没有做分页处理, 随着时间的推移,用户数据量越来越大,查询响应时间越来越长,极大的浪费了数据库资源. 可是开发人员不对数据库负责,总是提不上他们的议事日程.
    这是一个简单而至关紧要的关于控制权和责任的问题, Control and Responsibility.
    Facebook说了, Control and Responsibility是他们成功的最重要因素.

    参考文章: Scaling Facebook to 500 Million Users and Beyond

    http://www.facebook.com/note.php?note_id=409881258919

    案例 3,

    在我们的好多关键业务模块,同一条一模一样的SQL被执行了好多次,连绑定变量值都是一样的.
    Java developer非常依赖ORM, 而且懒得写SQL,或者草草了事,不在乎或者不知道SQL的执行效率.
    同上一个案例一样,除非该模块导致数据库停机,他们懒得修改,也不负责任.

    相对来说, Java developer写出的SQL要比数据库专业开发人员写出的SQL效率低二到十倍.
    (因为鄙人经常能够经过重新设计一些功能模块,提高数据库处理效率五到数十倍)
    所以,很多情况下,你根本就不需要水平拆分split, 一个新的优化的设计,就帮助你解决扩展性问题.
    还节省了购买新软硬件的成本,降低了因为拆分导致的系统复杂性.

    补充一点, 就算是拆分了以后, 你依然可以调用后台存储过程, 中间件应用服务器只需要做一个分发调度器就可以了. 某书店的工作流软件就是这么实施的,大概拆分出十多个数据库.

    案例 4,

    接着 案例1 的上下文, 其实前3个SQL可以简化成一个SQL INSERT,就解决问题了,
    取序列号可以省掉,替代主键索引可以省掉, DELETE可以省掉, 查询配合B+树索引 +INDEX_DESC hint, SELECT 取最新的一条记录就行了, 逻辑读恒定,不会随着数据的增长而增加. INSERT比UPDATE/DELETE引发更少的阻塞锁.
    Java developer一般不在乎或者不知道高效SQL,也不是非常了解数据库是如何工作的.
    而且他们控制了代码,又不对数据库的问题负责任, 这个, 很难...很难!  这个就是普遍的现实,我们不能活在虚幻当中.
    所以要着手解决现实问题. 由数据库专业人员来控制数据库存取的SQL代码.

    备注:

    @yong321 要求拿出Profiling数据,证明网络是瓶颈.
    这一点很好, Critical Thinking: Be critical to what you hear and read. "Critically Analyze What You Read and Hear" 要的就是积极主动的分析思考, 批判性学习. 而不是被动的接受信息.
    我们有完整的 Profiling 数据, 剔除敏感信息以后, 性能剖析分析矩阵会被补充进来.

    @诸超_小石头爸爸 建议用匿名PL/SQL块(Anonymous PL/SQL block), 也能减少网络传输, eBay就是这么做的.

    反方意见:

    @诸超_小石头爸爸: 关于业务逻辑作为存储过程数据库里面:如果database不需要licemse我不反对,如果database和app一样容易scale我不反对,如果我是oracle vendor我不反对。如果是传统企业或者很小业务我不反对,如果注定做不大或者就是尝试快速试错我不反对。如果没有7+24的可用性要求我不反对。如果 (11月4日 22:40)

    @推车老王: 把业务逻辑放在数据库中?不谈别的,从可扩展性来说是增加APP服务器方便,还是split数据库方便?根本就没有可比性啊!从系统运维角度来看,系统规模越大,业务层与数据层分离就越重要。

    @刘德伟goodxp:赚钱不等于正确。没听过技术债吗?欠了多少没人知道,我面试时就遇见过编个理由离开原公司的,因为已经搞不起了,老总还当功臣留他。存储过程效率高,但很难维护,如果逻辑复杂还是应该放在Daemon里,数量多的话可以考虑做一个业务规则引擎。


    @yong321:I agree with 推车老王 and 刘德伟. If logic is or will be complicated, it's better stored at app layer; easier to scale up and make it OO (if needed). Otherwise, put it whichever has free CPU capacity.


    各位老大说了: It depends.
    一定要根据自身条件,设计出能够解决自身问题的合适方案.

    这些反方意见对我们目前的情况来说,都不是问题. 我们目前最大的问题就是命名规范. 如何简洁明了的把相关功能特性组织在一个模块里面,使重用最大化.

    欢迎各位看官猛烈评论, 给出积极的建设性意见.

    -木匠, 2012年冬天

    Saturday, November 17, 2012

    职场软技能 Soft skill

    职场软技能-周六 维多利亚 IT Club 知识分享

    时间: Saturday (Nov 17) 2:30pm
    地点: 2121 Cedar Hill Cross Rd. EBC church second floor meeting room.

    Soft skill. by Neil Han.

    本次主题是: 职场软技能, 及如何与老板谈判加薪.


    Neil今天带给我们的[软技能]知识分享,那是相当的精彩和实用, 鄙人还要再揣摩揣摩,进而结合实践. 


    • take control 行动,并且多走一里路. (一个球友说: 我妈妈讲了,如果让别人控制你的情绪, 你就是失败者)
    • win win (太深奥. 如果不知道怎么做, 直截了当的问对方: 怎样才能让你受益和获利)
    • understand before to be understood. (listen, 继而融洽合作)

    以上三点来自 高效能人士的七个习惯

    (赶紧做笔记, 外加个人体会, 不然明天就会忘记一半).

    希望明年再来一次,弥补一下那些不能够来的人的缺憾.
    华人软技能好的都在中国发展了; 出来靠做技术吃饭的, 厚黑学功底太弱.

    谢谢Neil的精心准备和流畅的演讲.

    最近工作稍忙, 没有来得及在华枫网和BBS上门预告. 不然, 会有更多的人受益.


    - 木匠

    Thursday, September 20, 2012

    2012 Vancouver DBA job 温哥华数据库管理员工作机会

    一个待遇比较好的工作机会. 却是在赌博行业,被一个1997年离开中国甲骨文的维多利亚的老朋友深深的鄙视着.  ;)
    2006年的时候,这个职位给110k基本工资, 现在应该更高了. 全看你个人的薪水谈判能力. 

    如果需要学习提高如何谈判薪水的能力, 看这里: 

    http://blog.wenxuecity.com/myblog/40440/201108/7295.html  -- 职场人心:谈判薪水的艺术

    职位描述如下:

    Client Location: Vancouver
    Duration: Permanent
    Contact:  博客留言, twitter留言, 或者给鄙人发邮件.

    Job Description:
    As a member of the development DBA team, you will be responsible for
    the Oracle database platform central to our software applications and
    Data Warehouse/BI platform. As a technical leader with a strong
    delivery focus, you will collaborate with all levels of the
    organization including software and quality assurance engineers to
    deliver software that is highly available and scalable.

    Responsibilities:
    -Collaborate with data and application architects to determine the
    appropriate logical and physical architecture, including table
    layouts, indexes, data, storage schemes, etc. for OLAP environments
    -Contribute to development of data warehouse from analyzing business
    requirements to development of design, ETL code development and
    testing using standard and in-house ETL tools
    -Technically assess current infrastructure, design and implementation
    of scalable platform to support growing demand of users and processes.
    -Facilitate database design and development through liaising with
    individuals across functional departments to gather knowledge and gain
    a strong understanding of all enterprise systems and business
    processes.
    -Understand business change requests and how to manage stakeholders expectations
    -Communicate objectives and approaches with a variety of audiences
    including: business stakeholders, executive management and technical
    teams.

    Additional Job Info:
    Qualifications
    -Expert knowledge of data warehousing on Oracle 11g/Unix platform (at
    least Oracle 10g) -Hands-on and proven leadership experience in
    designing and building enterprise portal, reports and analytics with
    professional report building software packages -Experience with
    JasperSoft BI Suite or other business intelligence software is
    required -Must have a high comfort level with report terminology and
    concepts such as drill-down, roll-up, aggregation, cross-tab etc.
    -Experience with in-house developed or off-the-shelf ETL tools -Expert
    knowledge and experience in writing complex SQL and PL/SQL code
    -Ability to write Technical specifications, presentations, training
    materials, user documentation, and technical documentation -Proven
    ability to demonstrate initiative, take responsibility for timely
    delivery and ensure customer satisfaction  Software is a world leader
    in online interactive technologies, bringing life to the e-gaming
    experience of thousands of users daily.  is an Agile software
    development shop using Agile Scrum methodologies with a number of
    cross functional teams focusing on the design, development, testing
    and implementation of our expansive software product suite (listed at
    www..ca). We are currently growing our team and have an opening for a
    Development DBA. Founded in 2004,  is comprised of the best and
    brightest professionals from a wide variety of disciplines, including
    software development, quality assurance, database administration and
    product management. The company culture is dynamic, contributing to an
    employee experience of fun and creativity!

    Top 3 Skills (stack ranked) :
    1. Dimensional Modeling 2. ETL 3. Oracle

    Work Environment (culture, deadline intensive, flexible hours, dress code) :
    Very deadline intensive, fast paced environment. Not your typical
    gaming environment - a little bit more on the conservative side, but
    still a very young, keen, motivated group, who work together in a
    collaborative AND team-driven fashion. Business casual dresscode,
    relatively flexible hours.

    Business Challenge Client is Tasked with Solving :
    Software manages 12 Product lines, with consistent upgrades on the go
    for at least 6 of them, at any given time. Their 3 largest products
    are: eCommerce, Management Tools, AND Casino.  runs some of the
    highest traffic websites in the world. Downtime or crashes in the
    system due to scalability issues or defects is not an option. A
    non-functioning gaming site could cause a massive loss in revenue and
    customer loyalty.

    Who is the Internal/External Customer? (i.e., end-user or end-client) :
    The external customers are the participants who play 's online games.
    The internal customers are those at  (developers, marketing, etc.) who
    use the information from the databases.

    Impact to the Internal/External Customer? (i.e., how does the
    end-users job become easier?) :
    By having a DBA, they can liase with other groups at  in order to use
    the data and information to benefit the organization in order to
    create a wider variety of quality gaming platforms and a stable,
    secure ecommerce system for end customers transactions.

    Project Stage/Lifecycle Info :

    Technical Environment :
    Oracle, Java/J2EE, Jaspersoft BI Suite, Apache, VMware, TestComplete)
    and a number of web and open source toolsets/technologies such as
    JMeter, Maven, Hudson Continuous Integration, Subversion, CentOS,
    JBoss, Spring, ActiveMQ , HTML5, etc.

    Non-technical Skills (i.e., communication, problem solving, etc.): :
    - Strong verbal and written skills, and an ability to present within a
    small team - Mature, professional demeanour and work habits -
    Resourceful, ‘can-do’ attitude, ability to identify potential problems
    early and make decisions - Excellent troubleshooting skills - Ability
    to work under minimal supervision - Strong team-oriented attitude -
    Must be flexible in nature, a proven problem solver, and possess a an
    ability to mentor - Strong desire to break software in a creative, but
    controlled manner

    EVP (why would someone take this position?) :
    At  you will be working with a great blend of best-in-class enterprise
    technology (e.g. Oracle, Java/J2EE, Jaspersoft BI Suite, Apache,
    VMware, TestComplete) and a number of web and open source
    toolsets/technologies such as JMeter, Maven, Hudson Continuous
    Integration, Subversion, CentOS, JBoss, Spring, ActiveMQ , HTML5, etc.
    Long term, permanent employment, with lots of opportunity for
    advancement AND career progression. Great location, with exceptional
    benefits, vacation and the promotion of work/life balance. Our
    innovative approach to technology, our outstanding perks and benefits
    and our amazingly talented employee base make  Software one of the
    best companies to work for in Vancouver.


    Thanks,

    Charlie 木匠
    =======
    Database Architect, 汉唐 田园牧歌DBA
    https://twitter.com/mujiang

    Tuesday, September 18, 2012

    九一八 国耻日 回顾历史 展望未来 2012_9_18

    今年的打击日货闹得很凶, 发生了一些失去理智的打砸抢, 深表遗憾, 鄙人就不参与.
    打击日货,贵在坚持. 海外华人可以做出更多的贡献,对中国的经济损失更小.

    https://twitter.com/mujiang/status/247065836853014528

    鄙人只希望您在选择日货的时候,稍微思考一下,回忆一下历史.

    忘记历史的人,没有未来.

    一位加拿大本地白人同事试图帮助我磨灭弱化那悲惨的记忆,说我已经是加拿大人了,何必呢? 
    可我生在中国,流着中国人的血. 这些烙印是我们一辈子没法改变的,只能记住历史,奋发图强,从我做起,自强不息,避免悲剧重演,写出新的文明辉煌的历史.


    1970年12月7日,大雪过后东欧最寒冷的一天. 当时的联邦德国总理维利·勃兰特冒着凛冽的寒风来到华沙犹太人死难者纪念碑下。他向犹太人死难烈士纪念碑敬献花圈后,当他伫立凝视一幅幅受难者浮雕时突然双膝跪在死难烈士纪念碑前湿漉漉的大理石板上, 长跪不起,并发出祈祷:“上帝饶恕我们吧,愿苦难的灵魂得到安宁。”勃兰特以此举向二战中无辜被纳粹党杀害的犹太人表示沉痛哀悼,并虔诚地为纳粹时代的德国认罪、赎罪。

    日本呢? 日本人呢? 他们是不会认罪的. 他们反而颠倒黑白,不承认侵华战争,企图篡改历史.
    对付日本,唯有强大,经济上强大. 然后像美国人一样,靠强大的武力打垮日本,它才会屈服认错.




    好了,希望你抽空,了解一下日本侵华战争. 下次选择日货的时候,不会显得那样麻木.

    *******

    國殤(1937-1945)

    不知國殤是何時出版的.國民党由蔣緯國監制的"–寸河山一寸血"可以此片對照看此紀錄片雖係大陸製作,
    內容尚屬公允 ( 數百名抗日犧牲將領名單中,所有均屬國軍,中共僅有左權一人而已。)

    歷史紀錄片:國殤(1937-1945)歷史是一面鏡子 它能照見過去 也能警惕未來..............
    國殤正是中華民族的一面鏡子會看到中華民族近百年來的苦難!

    This is what every Chinese must see.

    珍貴歷史紀錄片《國殤》

    第一集 - 第四十集(1937年-1945年)

    《國殤》 第一集 重返盧溝橋 http://www.youtube.com/watch?v=dj7lWDz-sY8
    《國殤》 第二集 人為刀俎 http://www.youtube.com/watch?v=5we3Of8I49c
    《國殤》 第三集 四十年長跑 http://www.youtube.com/watch?v=XMjkvzxUMl8
    《國殤》 第四集 槍桿子與政權 http://www.youtube.com/watch?v=wbqvxRSloJo
    《國殤》 第五集 安內?攘外? http://www.youtube.com/watch?v=w73sTeoOHHE
    《國殤》 第六集 焚風滿樓 http://www.youtube.com/watch?v=h4q3bng_8BE
    《國殤》 第七集 乾坤一變 http://www.youtube.com/watch?v=rJHlrtfcQlc
    《國殤》 第八集 最後關頭 http://www.youtube.com/watch?v=04CZUHiu36g
    《國殤》 第九集 淞滬會戰(上) http://www.youtube.com/watch?v=09152P3lzDs
    《國殤》 第十集 淞滬會戰(下) http://www.youtube.com/watch?v=rEHbXbXf5KE
    《國殤》 第十一集 南京保衛戰 http://www.youtube.com/watch?v=uhTSZQGkSZU
    《國殤》 第十二集 南京大屠城 http://www.youtube.com/watch?v=MwSsARS-osc
    《國殤》 第十三集 喋血長空 http://www.youtube.com/watch?v=2Wc0b2-LDBU
    《國殤》 第十四集 破釜沉舟 http://www.youtube.com/watch?v=sTWjy99UbW4
    《國殤》 第十五集 徐州會戰(上) http://www.youtube.com/watch?v=-Tu3qkAjaIM
    《國殤》 第十六集 徐州會戰(下) http://www.youtube.com/watch?v=tU6k4x0Bu9s
    《國殤》 第十七集 大遷徙 http://www.youtube.com/watch?v=W3qWKYoHVlE
    《國殤》 第十八集 武漢會戰 http://www.youtube.com/watch?v=04xQ7qlUCvo
    《國殤》 第十九集 另一個戰場 http://www.youtube.com/watch?v=yfTpEyWeeqM
    《國殤》 第二十集 烽火桃李劫 http://www.youtube.com/watch?v=cJvp1EsjXRs
    《國殤》 第二十一集 中期抗戰 http://www.youtube.com/watch?v=qTbbj_8k9Go
    《國殤》 第二十二集 烽煙再起 http://www.youtube.com/watch?v=XEaXF-mWObY
    《國殤》 第二十三集 長沙會戰 http://www.youtube.com/watch?v=1Nsd93J3lb8
    《國殤》 第二十四集 禍從天降 http://www.youtube.com/watch?v=geC-emXQKi0
    《國殤》 第二十五集 在北风中出击 http://www.youtube.com/watch?v=LKzxwGUtvEM
    《國殤》 第二十六集 突破封鎖線 http://www.youtube.com/watch?v=tkvM7PSm-Qs
    《國殤》 第二十七集 火并大江中游 http://www.youtube.com/watch?v=c3FTSLCmTMM
    《國殤》 第二十八集 赤手空拳 http://www.youtube.com/watch?v=zzxc7W84vFs
    《國殤》 第二十九集 疾风迅雷游击战 http://www.youtube.com/watch?v=-PFI0SGyGC8
    《國殤》 第三十集 血染的历史 http://www.youtube.com/watch?v=xU1mdcko2N0
    《國殤》 第三十一集 死亡工厂731 http://www.youtube.com/watch?v=TLhfAvjEUz4
    《國殤》 第三十二集 苦撑待变 http://www.youtube.com/watch?v=5D2D3Gl47A4
    《國殤》 第三十三集 悲情与豪情 http://www.youtube.com/watch?v=MjLGgo-jRx4
    《國殤》 第三十四集 一狼、二虎、四强 http://www.youtube.com/watch?v=m-faCfKIU7s
    《國殤》 第三十五集 蒋夫人与抗战 http://www.youtube.com/watch?v=d0L6fexCXeY
    《國殤》 第三十六集 长夜漫漫 http://www.youtube.com/watch?v=JE4hm2A367I
    《國殤》 第三十七集 鬼哭神号守衡阳 http://www.youtube.com/watch?v=ZVCdhYzszoM
    《國殤》 第三十八集 山穷水尽 http://www.youtube.com/watch?v=OwxfYbreiTs
    《國殤》 第三十九集 最后的坚持 http://www.youtube.com/watch?v=pa5pY-2KgrI
    《國殤》 第四十集 天亮前后 http://www.youtube.com/watch?v=xPvPxtUrDmA

    Wednesday, August 22, 2012

    Strata BBQ party 小区夏日会餐 - 老爸日记

    上周六我们小区80户人家在树林边进行烧烤聚会. 老爸老妈跟着我们一起参加了, 然后给中国老家的妹子写信介绍, 如下:

    这月19日,星期天 ,下午4点钟,每年一次的小区聚会开始了。提前给各家送了通知,到会60来人。住户多是退休人员,所以老人较多。木匠媳妇说,新近住进一户华人留学青年,往年木匠家是最年轻的。
      地点就在小区的草坪上,离你哥家30来米远,抬脚就到。有热心人提前做了准备,场地放有烧烤机、桌、椅、餐具、开水和饮料、面巾纸、垃圾桶……
      4点前后,人们陆续到来,老年夫妇居多。女的端着自家做的小吃,男的拿着折合座椅,半圆形地排座一起。两张长条桌,分别搁置甜点(洋人爱吃甜点吧,我看甜点很多)与它味小吃;主食是三种烧烤的汉堡包,大小一样,只是内夹肉(牛肉,火鸡)和菜的有别。我们国人会餐是围坐一桌,上几个菜;他们是每人拿一个盘子、叉子(或勺子),依次随意自取所需,后围坐一起,边吃边谈,自如交流,倍增情谊。也有的人拿桌自家做的小吃,热情地敬请与会者品尝。
        我们到场适中,坐在半圆形的一端。先后有四家来和我们交谈。首先来的是我们家 来自芬兰的一个邻居(另两家邻居旅游和外出,未参与)。她单居,已退休,子女忙时,常去照看。她多与木匠用英语交谈。我说了芬兰在斯堪地那维亚半岛上,那里有芬兰、瑞典、挪威三个国家,南边是波罗的海。芬兰的首都是赫尔辛基。木匠译给她,她说她就生长在赫尔辛基。
        其次来的是一个华人移民,木匠说她在省教育局上班,五十来岁,个小精干,多语情挚。你妈刚来时就认识她。我问她来自中国那一省,答曰广东。她端着自家作的油炸海鲜让我们品尝,紧跟的一个洋人热情伸出右手,嘴里说出“你好“,我恍然悟道这是她的丈夫。她介绍,不懂外语交流是困难,当年他母亲来探亲时,很多情况是指着实物跟她丈夫交流。
        接着来的也是一位华人女移民和她的洋丈夫,女的端着小吃,丈夫紧随,一来他就说“你好”。木匠和他用英语交谈。他说他刚从香港回来……
        木匠媳妇这期间忙着去跟别人交谈,以上三者他没参与。
        最后来的是一对老年洋人夫妇,离我们不远,就在我们家斜对面。男的头戴礼帽,一身新衣,个头不高,彬彬有礼,热情有加。我给他拉来一个座椅,他说"Thank you",趁势入座。女的身勢较高,一头修剪过的短白发,和悦多情。我和你妈不会英语,木匠媳妇跟他们交谈。他们说曾经去过中国旅游,家里还有在中国旅游时买的中国商品,邀我们前去欣赏。我们一起走去,进他家门时,说不用脱鞋(洋人习惯是进大门时一定脱鞋,不穿拖鞋。也不备拖鞋,客人或穿袜、或光脚走路)。我们看到,家里的小方桌上,摆放着四个兵马俑像,一辆四马驾的战车,一架由小到大逐次悬挂的古代乐器编钟,未了,女的又拿出了四个小玻璃镜框,里面镶嵌着中文印字,分别是“心爱“、”健康“、”幸福家庭“、……
        聚会持续了三个钟头,各家才依依惜别。

    - 木匠的爹


     老爸老妈,


     老妈,
     

    Thursday, August 02, 2012

    另一个DBA在加拿大的找工作经验 Canada Toronto job hunting


    在下从社交网圈子里认识了原来甲骨文北京研发中心的一个小伙. 我离开甲骨文的时候,他还没有进去.
    我给他介绍过两个美国和加拿大工作. 可是,都是正在面试的过程中,他就拿到了更好的工作的Offer, 真是福将, 不服不行.

    下面是正文:

    我来分享一下多伦多找DBA工作的经历吧,全新出炉。

    2年前找工作被幸运石头砸的有点晕过了头,也就没有可参考的价值。
    这次找工作没那么好的运气,在IBM结交了一堆DB2同事,推荐的工作也不适合自己,自己来吧。

    大概4月份开始投简历,DBA和其他开发或者测试职位不同,整个大多地区也没多少,每周大概能看到几个职位,过滤之后,适合自己的不多。因为多伦多的小公司喜欢的组合是Oracle+SQL Server,有时候是DB2+SQL Server,本人没有SQL Server经验,大部分职位就排除了。市场上很难看到Oracle+DB2的职位。尽管这样,4,5月份也投了不少职位,但都石沉大海。面试只有一个,那个leader印象不错,口头答应给我offer,但后来不知道为何说不行了。
    把简历放在monster和workpolis上,会有公司和猎头主动来找,但基本都是偏远小城市的DBA机会,我虽然喜欢小城市,但受不了那冰天雪地的冬天。

    总之,4,5月份找DBA工作好难。

    到了6月份,突然发现前两个月投的简历开始回音了,有的简历投的久了自己都忘记了。顶峰一天,连续2个电话面试+1个现场面试,这一个现场面试机会我抓住了,找工结束。

    拿到offer后,盼望已久的,木匠和他的球友推荐的维多利亚DBA工作给了电话面试机会,维多利亚是我最喜欢的加拿大城市,虽然至今仍然没放弃全家搬迁维多利亚的想法,但考虑之后,放弃了这个面试机会,当时理由有ABCD,其实归根结底,是自己找了2个月工作,感觉又累又烦躁。

    个人感觉,在多伦多找DBA工作,关键是第一轮电话面试,当然现在很多公司直接就是现场面试。因为语言问题,应付HR的那些讨厌的soft skills还真挺累的,不能像中文那样胡说八道。真正face to face的时候,就是纯技术了,一切感觉就都顺了。


    - 瓅 ‏@lewvip