Tuesday, 19 May 2020

The King of Microsoft Compiler Flags - /std:c++latest

Use this flag if you want to utilise the latest C++ standard features, including some not yet finalized.

Monday, 18 May 2020

Concepts have come to C++ 20

Concepts are an extension to templates. They are compile-time-evaluated predicates on template parameters. Their origins lie in discussions around C++11 and are now a required part of C++20. MSVS 2019 version 16.3 supports concepts and links to their formal description. Stroustrop has also blogged on this topic.

Sunday, 10 May 2020

F# on Azure

F# is being built for the cloud.  Azure Functions supports functions-as-a-service.

Haskell Vs Erlang

Haskell and Erlang are both functional programming languages. Erlang has multithreading built in and has been historically more industry focused with its roots in the telecoms industry. F# is another functional language that supports concurrency through the async computation expression.

Thursday, 16 April 2020

Windows 10 Rotation

Control-Alt-Left   - anticlockwise rotation 90 degrees
Control-Alt-Right   - clockwise rotation 90 degrees
Control-Alt-Up - upright
Control-Alt-Down - upside down

Friday, 10 April 2020

System.Windows.Forms.Splitter

This Windows Forms Splitter control is a legacy component and has been replaced by the SplitContainer class. It can be safely ignored except for compatibility reasons. The SplitContainer is more intuitive to use than Splitter.

Monday, 20 January 2020

Am I up to date with Windows Update? How do I check?

Update History

Type "Windows Update" in the Windows Search Bar and then click on "View your Update history".

Quality versus Feature Updates

There are a wide variety of updates, examples being Feature updates (rare) and Quality updates (common). Quality updates tend to be security fixes. Occasionally you will see Driver Updates as well as Definition updates, that relate to antivirus definitions (Windows Defender).

CVEs

Clicking into specific Quality updates will give details on any CVEs (Common Vulnerabilities and Exposures) which the update is trying to fix.