This can be switched on from the screen accessible by typing "developer settings" in the Windows Search Bar. Some details on developer mode features can be found here.
From Azure Autoscaling to Next Gen Desktop Development not Forgetting Firmware on the Way
Saturday, 21 November 2020
Tuesday, 27 October 2020
Programming Computers to Work Backwards from a Goal
This is known as backward chaining. This technique is used by automated theorem provers and inference engines. It was used in the expert system Mycin, a famous AI case study.
Monday, 26 October 2020
Scope to View in Solution Explorer to Simplify and Focus
If you want to focus on a specific file in Solution Explorer, you can right-click and select "Scope to View". To disengage, either click the Back button in Solution Explorer, or the Home icon.
Build does Not Support Previewing in WinForms in Visual Studio 2019 (MMDG Response)
This error can cause a form to disappear from the main viewport. The fix is to right-click and select "Move to Main Document Group".
Friday, 23 October 2020
Eliminating the Need For Escape Sequences with @
Prefixing a string with @ in .NET resolves the need for using backslash to denote an escape sequence. In other words it says: "interpret the string literally".
If you need to include speech marks in the @-prefixed string you can use double speech marks.
Where are we with .NET Core?
Saturday, 3 October 2020
Saturday, 29 August 2020
Monday, 10 August 2020
Control.BackgroundImageLayout in Windows Forms
This property of a control takes its values from the ImageLayout enum which is WinForms specific. Its values are Center, None, Stretch, Tile and Zoom. Tile is the default setting but can be memory-intensive. This property was in .NET 2.0 and remains true in .NET 5 preview 7.
Sunday, 9 August 2020
Static Single Assignment-Based Compilation Explained
SSA refers to Static Single Assignment.
It is a naming convention for storage locations such that the value of a variable is independent of its location in the program. This is known as referential transparency.
An example of an SSA-based compilation toolchain is LLVM which has an associated Project Blog here.
Sunday, 12 July 2020
Understanding Ampere Hours and Milliampere Hours (mAh) in Battery Technology
Tuesday, 30 June 2020
Windows 10 ARM Strategy
Monday, 8 June 2020
Order files by Time
dir /o:d is the way to sort by date - oldest first. Newest appear at the end.
If you add a prefix "minus sign" you can reverse the sort order.
dir /o:-d
Tuesday, 2 June 2020
Output of ildasm == CIL (directives, opcodes et al).
CIL (Common Intermediate Language) is the "mother tongue" of the .NET platform.
The first types of tokens present in a CIL program are directives e.g. .class, .method, .assembly etc. They convey structural information. Next are various opcodes, such as loadstr which is short for LoadString.
Footnote 1)
Strictly speaking, MSIL has been renamed CIL (Common Intermediate Language), which is the instruction set defined by the Common Language Infrastructure (CLI) specification.
However, MSIL is still colloquially commonly used.
Fun Fact 1)
System.Reflection.Emit allows you to generate in-memory .NET assemblies in CIL.
Monday, 1 June 2020
What is a ProcessModule? Ans: An Abstraction of a DLL or EXE file.
ProcessModule
- Has interesting properties including BaseAddress which returns an IntPtr (representing the memory address where the pointer was loaded).
IntPtr is defined in System.Runtime dll.
Thursday, 21 May 2020
Camera Application in Windows 10
Tuesday, 19 May 2020
CPU Pinning for Multicore Champions
The King of Microsoft Compiler Flags - /std:c++latest
Monday, 18 May 2020
Concepts have come to C++ 20
Sunday, 10 May 2020
Haskell Vs Erlang
Thursday, 16 April 2020
Windows 10 Rotation
Control-Alt-Right - clockwise rotation 90 degrees
Control-Alt-Up - upright
Control-Alt-Down - upside down
Friday, 10 April 2020
System.Windows.Forms.Splitter
Monday, 20 January 2020
Am I up to date with Windows Update? How do I check?
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.