Visualize then Realize (TM)

Circa KeyVisions

Questo autore non ha riempito alcun dettaglio.
Finora KeyVisions ha creato 18 post nel blog.
14 06, 2021

T-SQL Bulk editing XML field

2021-06-14T07:48:50+02:00Giugno 14th, 2021|Programming|

TSQL Bulk editing XML field XML fields in MS SQL Server are powerful yet cumbersome; the script below, albeit its limitations, manages effortless insertions, updates and deletions of a simple one level deep XML fragment. Let's see how it works: the function receives two XML fragments, the first [...]

20 01, 2020

Fill DOCX with XML data using Powershell

2020-02-20T04:38:04+01:00Gennaio 20th, 2020|Programming|

Fill DOCX with XML data using Powershell Given a Microsoft DOCX document ("template") sprinkled with @@<tag> constructs, and, XML data that includes elements <tag>, the script below makes a copy of template and replaces, preserving style, the @@<tag> occurances with the XML element contents. The XML data may be [...]

28 02, 2019

RS485 Modbus RTU relay board with PowerShell

2019-03-13T17:06:27+01:00Febbraio 28th, 2019|Programming|

RS485 Modbus RTU relay board with PowerShell Serial comunication with a 4 Channel RS485 Modbus RTU relay board via a universal USB - RS485 dongle using PowerShell. Relevant links: Write-Host "Available ports:" ([System.IO.Ports.SerialPort]::getportnames()); $COM = "COM4"; $SLAVE_ID = 0x03; # Append 2 byte MODBUS-16 CRC [...]

11 04, 2018

Geek timeline

2018-12-21T06:00:40+01:00Aprile 11th, 2018|Blog|

Geek timeline This is my work in process timeline; each milestone lists the hardware, operating systems, programming languages and developments I focused on. I have to thank my father for the Apple ][ plus back in 1979; I asked him why he bought it: "Well, I had no [...]

23 12, 2017

Quantum Computing Notes

2018-12-11T06:25:21+01:00Dicembre 23rd, 2017|Quantum Computing|

Quantum Computing Notes Quantum computing exploits quantum behaviors, such as superposition and entanglement, to perform computations; it is thanks to these behaviors that NP-hard problems can be solved in a reasonable time (NP-hard problems are combinatorial in nature, their solution involves the determination of optimal combinations). It must be [...]

23 12, 2017

Quantum Physics

2022-01-17T10:09:17+01:00Dicembre 23rd, 2017|Quantum Computing|

Quantum Physics Thoughts Electron orbitals are 3D standing waves The nodes of the 3D standing waves are surfaces: they represent position of 0 change (change of what?) The antinodes are also surfaces: they represent position of maximum change (change of what?) Each orbital represent an harmonic Nuclei are [...]

10 11, 2017

Artificial Intelligence Notes

2018-12-11T06:26:20+01:00Novembre 10th, 2017|Artificial Intelligence|

Artificial Intelligence Notes Neuromorphic Start with a neural net with N Inputs, NxN hidden layers and N outputs Choose perceptron behavior Assign weights and biases stochastically [0.0, 1.0] Feed inputs [0.0, 1.0] Observe output [0.0, 1.0] Learn (Gradient descent) Thoughts What is curiosity? A strong desire to know [...]

Torna in cima