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.
javascript
set textbox's next button click
<pre data-sub="prettyprint:_"> string script = @" function clickButton(e, buttonid) { var bt = document.getElementById(buttonid); if (typeof bt == 'object') { if (navigator.appName.indexOf('Microsoft Internet Explorer')>(-1)){ if (event.keyCode == 13){ bt.click(); return false; } } else...
Follow the thread
javascript
clean up the white-space text
<pre data-sub="prettyprint:_">
document.documentElement.firstChild.nextSibling.firstChild;
</pre>
Follow the thread
misc
digital tv standard
ATSC (Advanced Television System Committee)
used in North America, Japan, Korea, Taiwan, and parts of Latin America
Follow the thread
c#
delegate asyn call
class Program
{
static void Main()
{
AsyncCallback callback = new AsyncCallback(Callback);
Func f = Console.ReadLine;
f.BeginInvoke(Callback, null);
Thread.Sleep(Timeout.Infinite);
}
Follow the thread
Security
windows 2003 authentication
Protocol Used For Kerberos version 5 Network authentication. Provides mutual authentication between user and resource. Secure Socket Layer/Transport Layer Security (SSL/TLS) Network authentication. Based on X.509 public-key certificates. Microsoft Windows NT LAN Manager (NTLM)...
Follow the thread