2006年3月29日 星期三

愛貓宣言

【愛貓宣言】
‧我愛貓咪
‧我願意與大家共同推廣愛貓文化
‧我願意發展貓咪生活創意雜貨文化

2006年3月28日 星期二

Google Dance

一直以來有不斷注意Google的消息,

Google Lab也推出不少的計畫,也有一些RSS的消息可以訂閱,

當然,除了Microsoft,最讓人注意的就是Google了

但是Google風行至此,不知道為什麼,開始讓我有了反感的感覺,

感覺好像是另一個Microsoft,不像以前一樣親和,

中國的Google Dance舉辦的蠻大的,

當然他們內部的設備,也不是一般的小公司可以比擬的....

這會讓我想到當年的遊戲橘子......

不過不管如何,我還是需要Google Search Engine,GMaill 等等 服務

就當我是杞人憂天吧..

2006年3月27日 星期一

四不像....

ASP.NET+.NET Remoting+User Interface Process Application Block=JSP+EJB+Structs ?
除非你老爸變成兔子........

2006年3月22日 星期三

What .NET Developer should know

What Great .NET Developers Ought To Know
  • Everyone who writes code
  1. Describe the difference between a Thread and a Process?
  2. What is a Windows Service and how does its lifecycle differ from a "standard" EXE?
  3. What is the maximum amount of memory any single process on Windows can address? Is this different than the maximum virtual memory for the system? How would this affect a system design?
  4. What is the difference between an EXE and a DLL?
  5. What is strong-typing versus weak-typing? Which is preferred? Why?
  6. Corillian's product is a "Component Container." Name at least 3 component containers that ship now with the Windows Server Family.
  7. What is a PID? How is it useful when troubleshooting a system?
  8. How many processes can listen on a single TCP/IP port?
  9. What is the GAC? What problem does it solve?
  • Mid-Level .NET Developer
  1. Describe the difference between Interface-oriented, Object-oriented and Aspect-oriented programming.
  2. Describe what an Interface is and how it’s different from a Class.
  3. What is Reflection?
  4. What is the difference between XML Web Services using ASMX and .NET Remoting using SOAP?
  5. Are the type system represented by XmlSchema and the CLS isomorphic?
  6. Conceptually, what is the difference between early-binding and late-binding?
  7. Is using Assembly.Load a static reference or dynamic reference?
  8. When would using Assembly.LoadFrom or Assembly.LoadFile be appropriate?
  9. What is an Asssembly Qualified Name? Is it a filename? How is it different?
  10. Is this valid? Assembly.Load("foo.dll");
  11. How is a strongly-named assembly different from one that isn’t strongly-named?
  12. Can DateTimes be null?
  13. What is the JIT? What is NGEN? What are limitations and benefits of each?
  14. How does the generational garbage collector in the .NET CLR manage object lifetime? What is non-deterministic finalization?
  15. What is the difference between Finalize() and Dispose()?
  16. How is the using() pattern useful? What is IDisposable? How does it support deterministic finalization?
  17. What does this useful command line do? tasklist /m "mscor*"
  18. What is the difference between in-proc and out-of-proc?
  19. What technology enables out-of-proc communication in .NET?
  20. When you’re running a component within ASP.NET, what process is it running within on Windows XP? Windows 2000? Windows 2003?
  • Senior Developers/Architects
  1. What’s wrong with a line like this? DateTime.Parse(myString);
  2. What are PDBs? Where must they be located for debugging to work?
  3. What is cyclomatic complexity and why is it important?
  4. Write a standard lock() plus “double check” to create a critical section around a variable access.
  5. What is FullTrust? Do GAC’ed assemblies have FullTrust?
  6. What benefit does your code receive if you decorate it with attributes demanding specific Security permissions?
  7. What does this do? gacutil /l | find /i "Corillian"
  8. What does this do? sn -t foo.dll
  9. What ports must be open for DCOM over a firewall? What is the purpose of Port 135?
  10. Contrast OOP and SOA. What are tenets of each?
  11. How does the XmlSerializer work? What ACL permissions does a process using it require?
  12. Why is catch(Exception) almost always a bad idea?
  13. What is the difference between Debug.Write and Trace.Write? When should each be used?
  14. What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not?
  15. Does JITting occur per-assembly or per-method? How does this affect the working set?
  16. Contrast the use of an abstract base class against an interface?
  17. What is the difference between a.Equals(b) and a == b?
  18. In the context of a comparison, what is object identity versus object equivalence?
  19. How would one do a deep copy in .NET?
  20. Explain current thinking around IClonable.
  21. What is boxing?
  22. Is string a value type or a reference type?
  23. What is the significance of the "PropertySpecified" pattern used by the XmlSerializer? What problem does it attempt to solve?
  24. Why are out parameters a bad idea in .NET? Are they?
  25. Can attributes be placed on specific parameters to a method? Why is this useful?
  • C# Component Developers
  1. Juxtapose the use of override with new. What is shadowing?
  2. Explain the use of virtual, sealed, override, and abstract.
  3. Explain the importance and use of each component of this string: Foo.Bar, Version=2.0.205.0, Culture=neutral, PublicKeyToken=593777ae2d274679d
  4. Explain the differences between public, protected, private and internal.
  5. What benefit do you get from using a Primary Interop Assembly (PIA)?
  6. By what mechanism does NUnit know what methods to test?
  7. What is the difference between: catch(Exception e){throw e;} and catch(Exception e){throw;}
  8. What is the difference between typeof(foo) and myFoo.GetType()?
  9. Explain what’s happening in the first constructor: public class c{ public c(string a) : this() {;}; public c() {;} } How is this construct useful?
  10. What is this? Can this be used within a static method?
  • ASP.NET (UI) Developers
  1. Describe how a browser-based Form POST becomes a Server-Side event like Button1_OnClick.
  2. What is a PostBack?
  3. What is ViewState? How is it encoded? Is it encrypted? Who uses ViewState?
  4. What is the element and what two ASP.NET technologies is it used for?
  5. What three Session State providers are available in ASP.NET 1.1? What are the pros and cons of each?
  6. What is Web Gardening? How would using it affect a design?
  7. Given one ASP.NET application, how many application objects does it have on a single proc box? A dual? A dual with Web Gardening enabled? How would this affect a design?
  8. Are threads reused in ASP.NET between reqeusts? Does every HttpRequest get its own thread? Should you use Thread Local storage with ASP.NET?
  9. Is the [ThreadStatic] attribute useful in ASP.NET? Are there side effects? Good or bad?
  10. Give an example of how using an HttpHandler could simplify an existing design that serves Check Images from an .aspx page.
  11. What kinds of events can an HttpModule subscribe to? What influence can they have on an implementation? What can be done without recompiling the ASP.NET Application?
  12. Describe ways to present an arbitrary endpoint (URL) and route requests to that endpoint to ASP.NET.
  13. Explain how cookies work. Give an example of Cookie abuse.
  14. Explain the importance of HttpRequest.ValidateInput()?
  15. What kind of data is passed via HTTP Headers?
  16. Juxtapose the HTTP verbs GET and POST. What is HEAD?
  17. Name and describe at least a half dozen HTTP Status Codes and what they express to the requesting client.
  18. How does if-not-modified-since work? How can it be programmatically implemented with ASP.NET?
  19. Explain <@OutputCache%> and the usage of VaryByParam, VaryByHeader.
  20. How does VaryByCustom work?
  21. How would one implement ASP.NET HTML output caching, caching outgoing versions of pages generated via all values of q= except where q=5 (as in http://localhost/page.aspx?q=5)?
  22. Developers using XML
  23. What is the purpose of XML Namespaces?
  24. When is the DOM appropriate for use? When is it not? Are there size limitations?
  25. What is the WS-I Basic Profile and why is it important?
  26. Write a small XML document that uses a default namespace and a qualified (prefixed) namespace. Include elements from both namespace.
  27. What is the one fundamental difference between Elements and Attributes?
  28. What is the difference between Well-Formed XML and Valid XML?
  29. How would you validate XML using .NET?
  30. Why is this almost always a bad idea? When is it a good idea? myXmlDocument.SelectNodes("//mynode");
  31. Describe the difference between pull-style parsers (XmlReader) and eventing-readers (Sax)
  32. What is the difference between XPathDocument and XmlDocument? Describe situations where one should be used over the other.
  33. What is the difference between an XML "Fragment" and an XML "Document."
  34. What does it meant to say “the canonical” form of XML?
  35. Why is the XML InfoSet specification different from the Xml DOM? What does the InfoSet attempt to solve?
  36. Contrast DTDs versus XSDs. What are their similarities and differences? Which is preferred and why?
  37. Does System.Xml support DTDs? How?
  38. Can any XML Schema be represented as an object graph? Vice versa?

Riya beta

Riya beta以經開始可以使用.....
有興趣的快去試試看.....

2006年3月21日 星期二

Technology List

ASP.NET 'Atlas' March 2006 CTP
XNA Framework Mar CTP
Windows Workflow Foundation Beta 2.2
Microsoft Expression Interactive Designer March 2006(CTP)
Microsoft Expression Graphic Designer March 2006 CTP
Windows Presentation Foundation Feb CTP
Windows Communication Foundatioon Feb CTP

2006年3月16日 星期四

Algorithm

今日進度
Definition of algorithm
Recursion algorithm
1.Math
(1)n!
(2)Fibonacci Number
(3)Binomial coefficient
Bin(n,m)=Bin(n-1,m)+Bin(n-1,m-1)
(4)Ackerman's Function
A(2,2)=7
A(2,1)=5
A(1,2)=4
(5)G.C.D
明日進度
other
Permutation
Tower of Hanoi
Data Type and ADT
Time Complexity

2006年3月13日 星期一

Google火星之旅

19世紀天文學家Percival Lowell 繪製了火星地形圖
今天為了要紀念他,Google推出火星之旅
沒事做的人可以去火星來個探險喔...

2006年3月11日 星期六

RSS訂閱

開始用我的Safari訂閱RSS,bookmark的blog那麼多,
我總是沒辦法時時刻刻去關心哪些blog有新消息,
這樣工作效率會變很低,改用Safari就比較輕鬆點,

不過卻也發現我好像得了資訊焦慮症,
沒有新消息,就會有點不知所措,

網路時代應該很多人會有這樣的通病,
每個人害怕自己接受的不是新的訊息,怕自己落伍了,
讀資訊的應該更有這總感覺吧.....

2006年3月7日 星期二

果兒精彩寫真....








斷章取義...

一個Mac mini入侵的訊息,我訂閱的RSS中,有四個報導...
卻只有 老地方冰果室詳細的報導來由..
其他的完全忽略事件經過,只報導事件結果....
最好大家都他媽的流行斷章取義啦.....