2014年7月11日 星期五

Design pattern - strategy and template

strategy 策略:有不同的做法,臨機應變
strategy也稱為policy
定義一族演算法,將每一個演算法封裝在subclass,定義一致的介面


template 樣版:相同的規劃,交予不同的物件執行

sort(aCollection, compareFunction(o1, o2){return o1.attr1.compareTo(o2.attr1);})



2013年4月27日 星期六

Message queue

一個Integration Platform as Services的範例




Message Broker

Send message to multiple broker with fanout protocol
















2013年3月2日 星期六

2011年6月27日 星期一

We can't ship junk 2007



a question from Molly Wood of CNET:
Is Apple’s goal to overtake the PC in market share?

Jobs said, “Our goal is to make the best personal computers in the world and make products we are proud to sell and recommend to our family and friends. We want to do that at the lowest prices we can.

“But there’s some stuff in our industry that we wouldn’t be proud to ship. And we just can’t do it. We can’t ship junk,” said Jobs.

“There are thresholds we can’t cross because of who we are. And we think that there’s a very significant slice of the [market] that wants that too. You’ll find that our products are not premium priced. You price out our competitors’ products, and add features that actually make them useful, and they’re the same or actually more expensive. We don’t offer stripped-down, lousy products.”

2011年3月15日 星期二

淘金的比較


如果你發現一個金礦?

金礦:
  • Internet: Netscape
  • Search: Google
  • SmartPhone: HTC
Q: 競爭對手是Microsoft,他們如何因應 ?

CTO的能力與經驗

CTO人選的條件

The Rise and Fall of a Software Startup


2010年11月19日 星期五

design pattern的應用範例 - log



requirements:
1. A consistent and simplified interface for logging information to any destination
2. Configuration settings determine When, Where, Format
3. extensible & flexible

example:
LogEntry logEntry = new LogEntry();
logEntry.EventId = 100;
logEntry.Priority = 2;
logEntry.Message = "Informational message";
logEntry.Categories.Add("Trace");
logEntry.Categories.Add("UI Events");
Logger.Write(logEntry);


Specs:
1. Enable control of what and how much information is logged
2. Enable logged information to be consumed b
y different monitoring/analysis applications with 3. little or no
customization
4. Provide useful and rich information in the logged data
5. Support for logging in distributed applications
6. Enable scenarios like metering and workflow tracing for web services







2010年10月14日 星期四

技術經理的工作

Deliver results that meet user needs
Build up a team
Lead team
Manage project & team members
Estimate, plan, execute, control & mediate
Manage risks
Well communicate with stakeholders and team
Have experience in software development and know the domain
Solve problems and resolve conflicts
…

優秀系統架構師的特徵

Expertise
  • In the problem domain and the software engineering
Leadership
  • To earn trust, to motivate, and to drive the technical effort across the various teams
  • To make critical decisions under pressure and make those decisions stick
Communication
  • To persuade, and to mentor team members
Goal-orientation and Pro-activity
  • Focus on results

優秀系統分析師的特徵

Have experiences in the domain and SW dev
Elicit real requirements
Document complete and understandable Specs
Effectively manage requirements
Be alert to new technologies
Advise the project (and customer) of methods, process, and tools that related to requirement development and management tasks
Use metrics to measure, track, and control requirements-related activities and results.
Be able to facilitate discussions and to mediate conflicts.

優秀系統設計師的特徵

Have a solid working knowledge of requirements and architecture
Present your solution systematically & precisely
Use widely adopted metaphor
Be very good at some technologies, such as UI, DB, Web, XML,…
Know the nuts and bolts of implementation
Find available design, components, or library
Coach and enforce coding guidelines
Verify implementations

優秀程式設計師的特徵

  • 負責
  • * Write right code to solve the problems in time
  • * Only part of the job
  • * Test your code
  • * Maintain Code Quality
  • 解決問題的能力
  • * Be good at necessary tools
  • * PL, IDE, platform, Library
  • * Search & Find resources
  • * Learn effectively and quickly
  • * Web, Data Access, XML, ….
  • 良好的溝通能力

2010年3月26日 星期五