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.

css

Using user style sheet to modify the style of a web site

I tried to modify the style by using user style sheet. But some of style just could not take effect. I seemingly forget the basic rule of css cascade. The cascade works in the...
Follow the thread
asp.net ajax

Function.createDelegate

function greet(message) { alert(message + ", " + this.name); }
Follow the thread
asp.net ajax

Function.createCallback

var createCallback = function(method, context) { return function() { //the arguements is passed in when the this callback //method is call //if there is parameter passed //package the parameter with the context //into an...
Follow the thread
SharePoint

Create a SharePoint Solution

SharePoint use solution file to deploy solution. There are some tools to create a solution file automatically, like stsdev. But it still important to understand how the solution deployment works
Follow the thread
asp.net

ContentPlaceHolder trick

ContentPlaceHolder in master page is reference in Content control in content page Content control's Id can be empty, but the ContentPlaceHolderID need to be filled. The position of Content control in content page does...
Follow the thread