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.
asp.net
UpdatePanel tricks
<h3>Trigger update from outside of the panel</h3>
Follow the thread
web util
Utiltity to convert htm
<textarea id="txtIn" rows="10" style="width:90%" onchange="onChange()"></textarea> <!-- <br /> <textarea id="txtOut" rows="10" style="width:90%"></textarea> <br /> <input type="button" onclick="convert();" value="Convert" /> --> <script> function escapeHTML (str) { var div = document.createElement('div'); var text = document.createTextNode(str); div.appendChild(text);...
Follow the thread
javascript
escapeHTML
<pre data-sub="prettyprint:_">
function escapeHTML (str)
{
var div = document.createElement('div');
var text = document.createTextNode(str);
div.appendChild(text);
return div.innerHTML;
};
Follow the thread
field note
Relational vs. Object Modeling
<p>
This is an excerpt of Expert C# Business Object.
</p>
Follow the thread
html
Mastering Text
<a href="http://www.htmldog.com/guides/htmladvanced/text/">Mastering Text</a>
Follow the thread