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.

javascript

A CUSTOM TOOPTIPS

<pre data-sub="prettyprint:_"> function showTip(oEvent) { var oDiv = document.getElementById(“divTip1”); oDiv.style.visibility = “visible”; oDiv.style.left = oEvent.clientX + 5; oDiv.style.top = oEvent.clientY + 5; } </pre>
Follow the thread
css

floating setting affected by the structure

<p> We all want to express our document in a semantic way, but some time the structure of the document does affect the css. For example, </p>
Follow the thread
asp.net

Reference assembly generated in asp.net code file

<%@ Register TagPrefix="msdn" Namespace="MsdnMag" Assembly="__code" %>This is the way that asp.net referring to an autocompiled assembly.Powered by ScribeFire.</div>
Follow the thread
asp.net

tagMapping in asp.net

You can tell the asp.net compile engine to rerount the reqeust to new type.
Follow the thread
xslt

xslt parameter

<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:param name="Age" ></xsl:param> <xsl:template match="/"> <html> <body> <xsl:value-of select="$Age"/> </body> </html> </xsl:template> </xsl:stylesheet> XmlTextWriter xmlwriter = new XmlTextWriter(writer); XsltArgumentList list = new XsltArgumentList(); list.AddParam("Age", "", "108"); xslt.Transform(doc,...
Follow the thread