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.
xslt
define xslt variable and reference it
define:referencePowered by ScribeFire.
Follow the thread
field note
SqlDateTime Limit
<div xmlns='http://www.w3.org/1999/xhtml'>failed: SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.
Follow the thread
jquery
Animation in jQuery
<span xmlns=''><p>jQuery provide an function "animate", it can be extended to add your custom animation. </p><p><span style='font-family:Times New Roman; font-size:18pt'><strong>animate(params, speed, easing, callback) </strong></span></p><ul><li><span style='font-family:Courier New; font-size:10pt'>params (Hash)</span><span style='font-family:Times New Roman; font-size:12pt'>: A set...
Follow the thread
jquery
Some handy feature in jQuery
<span xmlns=''><p><span style='font-family:Times New Roman; font-size:13pt'><strong>attr( key, fn ) </strong></span></p><p><span style='font-family:Times New Roman; font-size:12pt'>Sets title attribute from src attribute. </span></p><p><span style='font-family:Courier New; font-size:10pt'> $("img").attr("title", function() { return this.src }); </span></p><p> </p><p><span style='font-family:Times New Roman;...
Follow the thread
field note
innerHTML, outHTML, innerText, outText
While IE support all 4 properties, firefox only support innerHTML.
<br />
However, innerHTML is not w3c standard. But using it is much faster than standard dom manipualation.
Follow the thread