Notes on software and the ideas behind it
Find the meaning
behind the code.
I’m Fred Yang. I write about software—how it works, why it behaves the way it does, and the ideas that make code easier to reason about.
Open the notebookWorking notes / 2026
Recently mapped
Architecture, reactivity, and the hidden relationships that shape frontend systems.
silverlight
Application Type in silverlgiht
When you create an silverlight app, by default a App.xaml file is created, and by default the class behind is the class or EntryPointType. This information is saved in the AppManifest.xml, so that when...
Follow the thread
silverlight
XAML is faster than code in silverlight
Parsing XAML is faster than intantiating objects from code, because XAML parser does not create the API objects you use to interact with elements, but instead only create an internal representation. After you start...
Follow the thread
javascript
an another way to do setInterval
In window object, there is a function setInterval which allows your to run a task repeatedly at an interval. setInterval(doSomething; 100); However, if the method last longer than the preset interval, it is not...
Follow the thread
javascript
notes of regular expression in javascript
The simplest way to tell whether a regular expression is find in source string is to use the "test" method. var reg = /a/; var found = reg.test("abc"); console.log(found); In lots of occasion, we...
Follow the thread
Entity Framework
poco fix-up during relation change
I have a poco entity like following. At first I do not have Items navigation property, but it turns out, this property is important. Bascially it makes the following code work. var countBeforeInsert =...
Follow the thread