How to fix nVidia HDMI color issues

•August 31, 2019 • Leave a Comment

For the last few days, the colors on my Windows PC have been muted (e.g. what should be white was washed out) except for the mouse cursor which was still a vibrant, white.

As the video shows (for nVidia cards), create a new resolution and manually drop the screen refresh rate down from 60 Hz to 59.999 Hz.

How to fix Nvidia HDMI colour issues

Is Windows 10 going into sleep mode after a few minutes?

•August 31, 2019 • Leave a Comment

Even with “High performance” selected as the power option and “Put the computer to sleep: Never”, I found my desktop still going to sleep after a few minutes of inactivity. Here’s how I fixed it:

  1. Open a command shell (or PowerShell) window with Administrative rights;
  2. From the command line,

    reg add "HKLM\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0" /v Attributes /t REG_DWORD /d 2


  3. From the Start Menu, go to “Power & Sleep” and click on “Additional power settings”;
  4. Click “Change Plan Settings” for the current power plan;
  5. Click “Change Advanced Power Settings”;
  6. Click on “Sleep”;
  7. Select the new, visible “System unattended sleep timeout” option and set its value to “0 minutes”;
  8. Restart the computer.

Alex Januszkiewicz’s Article On AutoCad Accuracy

•August 26, 2019 • Leave a Comment

Alex Januszkiewicz’s Article On AutoCad Accuracy1

Many designers using CAD today don’t fully realize the magnitude of accuracy provided by AutoCAD. Often in the past I could hear polemics, where Intergraph IGDS and Microstation users were “proving” that “their” software is better in all respects, one of them being accuracy. This was never the truth, as even in its infancy, in early eighties, AutoCAD was using double precision floating numbers to store and process DWG data, where IGDS was using 32 bit integer cube to define space positioning of its elements.

Read on, and once you are through, download SOLAR.DWG and go on your interplanetary trip to witness AutoCAD accuracy 🙂

How much more precise is double precision number than 32 bit integer?

Double precision number uses 64 bits (8 bytes) to represent single floating point number, twice as much as 32 bit integer. Of these 64 bits, one is used for sign, 11 are used for exponent and 52 are used to define mantissa

Graphical representation of such 64 bit number would be:



S – sign bit, 1 means negative, 0 positive
E – each E means one bit of exponent. 11 bit number can represent values from -1022 to 1023
F – each F represents one bit of a mantissa. 52 bit mantissa can represent 4503599627370496 fractions.

32 bit integer cube can represent 4294967296 discrete points in each of three directions.

Below is a translation of what these numbers will mean to processing and storage of CAD entities.

If you try to do a drawing that extends 4 km in each direction, Microstation’s 32 bit format will limit your accuracy to 0.001 mm. The same size AutoCAD drawing can be drawn with an accuracy of 0.000000001 mm, that is one million times more accurate.

One could say “a certain level of accuracy is high enough and more is overkill, so what?”. But be aware that with almost EVERY geometrical operation performed on an entity, the accuracy is reduced. When entities are moved, rotated, scaled and stretched etc., complex mathematical transformations are being applied to their geometry. The results are stored back in the drawing database in AutoCAD with double precision floating point accuracy and in Microstation with 32 bit integer accuracy. Both math transformation and storage, are REDUCING accuracy of a drawing. Where an AutoCAD user can safely ignore 3 or 4 significant digit reduction in accuracy on the drawing that has been modified many times over the years (it still has 12 precise digits), the same cannot be said about Microstation that has maximum of 10 precise digits and loses 3 of them in complex processing.

To showcase the power of AutoCAD, Autodesk included in earlier releases of AutoCAD (up to R12 I think) the simple, yet very impressive, 2D drawing file SOLAR.DWG (drawn in 1983 by John Walker, co-founder of Autodesk). You can download this file below (when you finish reading ;).

I will always remember my first “interplanetary” DWG travel that I did in 1985, after learning how to zoom:

  • After you open the drawing, you are looking at whole solar system from outer space, drawn to scale in kilometers as DWG units.
  • Zooming into blob at the center reveals inner solar system with few orbits, 3-rd of them being Earth’s, Sun in the center.
  • On Earth orbit you can see small flickering dot. Zoom in on it, the larger circle is Moon’s orbit around Earth, the dot in the middle is Earth.
  • On Moon’s orbit you can see flickering dot. Zoom in on it, it’s Moon.
  • On Moon you can see flickering dot. Zoom in on it, you will see the crater.
  • Near the crater (200 meters from it) you can see small green item. Zoom on it, it’s LEM, landing module that brought Neil Armstrong and his colleagues to the Moon.
  • On the leg of LEM you can see 30cm plaque. Zoom in on it and you can read the message: HERE MEN FROM THE PLANET EARTH FIRST SET FOOT UPON THE MOON etc. signed by the three astronauts and President Nixon.

One day, when I have some time I’ll add solar.dwg screen shots to this web page.

Now download SOLAR.ZIP2 (4kb zipped which becomes SOLAR.DWG unzipped ..don’t worry, it’s just 10kB, in 1985 my computer had 20MB hard disk and “huge” CAD files where 200kB). So start your (CAD) engine up and take off on your interplanetary trip. Let me know how it went when you come back. (Sadly this is no longer possible. The Creator in his infinite wisdom has taken Jack to be by His side. -AJ)

For Microstation accuracy believers, with all their tools starting with “ACCU”, for accurate I propose the following form of treatment:

Try to replicate SOLAR.DWG (drawn on AutoCAD in 1983!!!), make it into SOLAR.DGN with today’s latest Microstation. The 20 year old, 64 bit double precision DWG, can have everything in Solar System positioned with accuracy of few millimeters (you can read 3.7mm text on a plaque). While with DGN, the smallest item that can be drawn in this drawing (showing orbit of Pluto, 11916840000 km diameter) is a 3 kilometers line, both endpoints being positioned with 3 kilometer “accuracy” in X,Y and Z direction.

Alex Januszkiewicz
President / Principal Programmer
IntelCAD Systems / DWG Data Recovery Services

PS. Do I have any Microstation background to on which to base these kinds of discussions? Even though I spent the last 15 years programming mostly for AutoCAD, I did a lot of MDL development for Microstation, PDS and Frameworks clients over last 10 years. To this date I develop, from time to time, commercial grade, complex MDL programs, on site of a large company in Calgary that uses both AutoCAD and Microstation/PDS. I know Microstation and its DGN format in and out.

AutoCAD ® is a registered trademark of Autodesk, Microstation ® is a registered trademark of Bentley

Copyright (c) 1999-2001, IntelCAD Systems. The material on this page cannot be published in any form without written permission from IntelCAD Systems.

1 This article is archived here by me before it disappears entirely from the Internet.

2 Due to WordPress limitations and my refusal to link to outside file hosts, here’s the SOLAR.ZIP file in Base64. Double-click the below paragraph and decode it:


•August 20, 2019 • Leave a Comment

The NuGET package (CsvHelper) is extremely powerful and incredibly easy to use:

Step 1: Create your .NET object

public class Contact
public int ContactId { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Address { get; set; }
public string CityStateZipCode { get; set; }
public string PhoneNumber { get; set; }
public DateTime DateOfBirth { get; set; }
public decimal GrossPay { get; set; }
public decimal NetPay { get; set; }

Step 2: Get your CSV file

"1","MICHAEL","SMITH","123 6TH AVE","TACOMA, WA 98406","(360) 337-4443","1/1/1970","125000.00","81250.00"
"2","JUSTIN","THOMAS","123 BAY ST","PORT ORCHARD, WA 98366","(360) 337-4711","1/1/1990","65000.00","42250.00"
"3","JANE","DOE","123 OLD BELFAIR HWY","BELFAIR, WA 98528","(360) 337-4467","1/1/1980","82136.00","53388.40"
"4","WILLIAM","JONES","5501 WERNER RD","BREMERTON, WA 98312","(360) 337-4413","1/1/2000","16384.00","10649.60"

Step 3: Read the CSV into a list of objects

public static List<Contact> GetContacts(string csvFileName)
using (TextReader txt = new StreamReader(csvFileName))
using (var csv = new CsvReader(txt))
var contacts = csv.GetRecords();
return contacts.ToList();

Bonus: It handles dynamic and anonymous types!

// Dynamic
var records = csv.GetRecords<dynamic>();

// Using anonymous type for the class definition
var anonymousTypeDefinition = {
Id = default(int),
Name = string.Empty,
MyClass = new MyClass()

var records = csv.GetRecords(anonymousTypeDefinition);

ref: CSV Parsing In .NET Core – .NET Core Tutorials

Activate Windows Photo Viewer on Windows 10

•August 17, 2019 • Leave a Comment

As I much prefer the Windows Photo Viewer, here’s a guide to activating it on Windows 10 via the helpful folks at How To Geek. All credit goes to them; I’m simply saving it here for my reference.

Step One: Enable Photo Viewer in the Registry

You can use the registry files available from How To Geek or if you don’t trust outside sources, copy and save the following to a UTF-8 registry file (.reg):

Windows Registry Editor Version 5.00

; created by Walter Glenn
; for How-To Geek
; article:









With the registry file saved, find it in Windows Explorer, right-click, and select “Merge”.

Step Two: Set Windows Photo Viewer as Your Default Image Viewer

For any image file type (e.g. PNG, GIF, JPG, TIF, etc.), right-click on one of each type, select “Open With >” and pick “Choose Another App”.

In the “How do you want to open this file?” dialog, select “Windows Photo Viewer” and check the “”Always use this app to open files”.

Vintage Apple Software Repositories

•May 6, 2019 • 1 Comment

A summary from Where to Find & Download Old Mac OS Software

Boot PPC PowerMac from USB

•April 27, 2019 • Leave a Comment

First, familiarize yourself with the following articles:

Now for the fun part:

  1. Have a USB thumb drive handy (I successfully used 512MB, 1GB, 2GB drives)
  2. Download and unzip the 9.2.2 Boot Kit (the resulting file will have a .toast file extension)
  3. Download and unzip HDD Raw Copy Tool
  4. Use HDD Raw Copy Tool to write the Toast file to the USB thumb drive
  5. Turn on the Mac and immediately hold down <Command><Option><O><F> until you see the white Open Firmware screen
  6. Type “boot usb0/disk@1:,\\:tbxi” (without the double-quotes) and press <Enter>

(Be aware you may need to change the port number of the USB device depending on the Mac model and which port the USB thumb drive is plugged into.)

  1. Voila!

Installing Google Chrome for All Users

•December 26, 2018 • Leave a Comment

I find myself repeatedly looking this up so here’s my own link:

Google Chrome for All Users (Windows x64)

Or if you prefer the offline installer, look for “Chrome MSI for Windows 64‑bit” on the Enterprise page.


Mac OS X Software I Install

•October 3, 2018 • Leave a Comment

Mac OS X Lineage

•February 6, 2018 • Leave a Comment


Version Name Released Platform Kernel
10.14 Mojave September 24, 2018 x86-64 64-bit
10.13 High Sierra September 25, 2017 x86-64 64-bit
10.12 Sierra September 20, 2016 x86-64 64-bit
10.11 El Capitan September 30, 2015 x86-64 64-bit
10.10 Yosemite October 16, 2014 x86-64 64-bit
10.9 Mavericks October 22, 2013 x86-64 64-bit
10.8 Mountain Lion July 25, 2012 x86-64 64-bit
10.7 Lion July 20, 2011 x86-64 64-bit, 32-bit
10.6 Snow Leopard August 28, 2009 IA-32, x86-64 64-bit, 32-bit
10.5 Leopard October 26, 2007 IA-32, x86-64, PowerPC 64-bit, 32-bit
10.4 Tiger April 29, 2005 IA-32, x86-64, PowerPC 64-bit, 32-bit
10.3 Panther October 24, 2003 PowerPC 32-bit
10.2 Jaguar August 23, 2002 PowerPC 32-bit
10.1 Puma September 25, 2001 PowerPC 32-bit
10.0 Cheetah March 24, 2001 PowerPC 32-bit
9.0 Mac OS 9 October 23, 1999 PowerPC 32-bit
8.5 Mac OS 8.5 October 17, 1998 PowerPC 32-bit
8.0 Mac OS 8 July 26, 1997 Motorola 68K, PowerPC 32-bit
7.6 Mac OS 7.6 January 1997 Motorola 68K, PowerPC 32-bit
7.1.2 System 7 Motorola 68K, PowerPC 24-bit, 32-bit
7.0 System 7 May 13, 1991 Motorola 68K 24-bit, 32-bit
6.0 System Software 6 April 1988 Motorola 68K 24-bit
5.0 System Software 5 October 1987 Motorola 68K 24-bit
4.0 System Software 2.0 January 1987 Motorola 68K 24-bit
3.2 System Software 1.1 June 1986 Motorola 68K 24-bit
3.1 System Software 1.0 February 1986 Motorola 68K 24-bit
3.0 Macintosh System Software January 1986 Motorola 68K 24-bit
2.0 Macintosh System Software April 1985 Motorola 68K 24-bit
1.0 Macintosh System Software January 24, 1984 Motorola 68K 24-bit