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 notebook

Working notes / 2026

Recently mapped

Architecture, reactivity, and the hidden relationships that shape frontend systems.

msbuild

property and item in msbuild

In msbuild, there are two way to save variable information, they are property and item. Here is an example how to define properties and items. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> <OutputPath>bin\Release\</OutputPath>...
Follow the thread
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