Category: AI

Layouts in WPF

StackPanel Works the same way as FlowLayoutPanel in Windows Forms. In a vertical arrangement, each item fills the full width of the element it belongs to. Each element is exactly as tall as its content. The default arrangement is vertical. XML<StackPanel Orientation="Vertical"> <!– Vertical is the default –> <Label Background="Red">Red 1</Label> <Label Background="LightGreen">Green 1</Label> <StackPanel …

Read More Layouts in WPF

Associative Arrays (Dictionary-Style) in JavaScript with Integer Values

What do you think the last 3 alert dialogs will show? Those of you who say 1, 0 and NaN are absolutely right. Take a look at this simple code with my comments: JSfunction TestAssociativeArray() { var myArray = new Array(); //-An item can be created using either array notation [&quot;a&quot;] or object notation .a …

Read More Associative Arrays (Dictionary-Style) in JavaScript with Integer Values

The “Bible Google” (a Bible search engine) is finally more or less ready for the world

I don’t know exactly when I started working on it, because I can’t remember what I was doing on May 19, 2012, but give or take, it must have been somewhere around midnight that same night. On May 20 I asked Aspone whether they would grant me Full Trust permissions, even though I hadn’t put …

Read More The “Bible Google” (a Bible search engine) is finally more or less ready for the world