Categories
Articles C# Developers

The 4 pillars of OOP (Object Oriented Programming) summed up in my own words.

Encapsulation – The process of hiding internal data away from other classes.

Abstraction – The process of hiding irrelevant details while providing a feature.
(with the side effect of reducing the code complexity.)

Inheritance – The process of providing properties and methods to derived classes.

Polymorphism – The ability of a derived class to take on different behaviors than the parent class provides.

Categories
Utility

RoboCopy – Exclude existing files.cmd

robocopy.exe d:\Sourcepath e:\Destpath /E /XC /XN /XO
The command line switches:

/E makes Robocopy recursively copy subdirectories, including empty ones.

/XC excludes existing files with the same timestamp, but different file sizes. Robocopy normally overwrites those.

/XN excludes existing files newer than the copy in the source directory. Robocopy normally overwrites those.

/XO excludes existing files older than the copy in the source directory. Robocopy normally overwrites those.

With the Changed, Older, and Newer classes excluded, Robocopy will exclude files already existing in the destination directory.
Categories
Utility

An explanation of CHKDSK and the new /C and /I switches

via An explanation of CHKDSK and the new /C and /I switches

Categories
Utility

Find Duplicate Images with VisiPics

I’ve been using this utility for years. It scans folders and matches up duplicate images, from a strict match to “similar” matches (such as the same image, but in a lower resolution).

It seems to not have been updated since 2013-02-04, but it works really well with Windows 10 (64-bit)., up to tens of thousands of images.

It does have an upper limit (20,000+), but I have not determined it exactly yet..

http://www.visipics.info/

Categories
Driver

Samsung NVMe 3.1 Driver

Download Here: Samsung NVMe 3.1 Driver
Password: “Samsung“.

I created this because sometimes the windows executable from Samsung won’t install if a temp folder is not set correctly.

This archive is the 3 files from the official Samsung NVMe 3.1 driver download page with no modifications, just zipped up.

Remember: Always create a Restore Point before you install, and keep your antivirus ENABLED.. just to be on the safe side.

Here are my results before installing this driver.
nvme standard 1GB

And the results after installing this driver.
nvme samsung 1GB

Conclusion: only slightly better than Microsoft’s NVMe driver on this computer.
Both results are within the margin of error of each other.

Categories
Benchmarking C#

Big-O Algorithm Complexity Cheat Sheet

via Big-O Algorithm Complexity Cheat Sheet (Know Thy Complexities!) @ericdrowell

Nice! Thanks!

Categories
Rant

Open Letter from this Developer to Other Developers about Installers

A request from this Developer: Please make your installer’s default installation folder to use the %temp% environment path variable I have configured on my computers.

My system drive (C:) is an SSD disk is reserved for the Windows 10 and Program Files.. and not your installer’s temporary files.

Categories
GitHub Rant

EU wants to censor GitHub.

via EU wants to require platforms to filter uploaded content (including code) | The GitHub Blog

Categories
Rant

Dear Developers: BUTTONS

Please make the hitbox around your close icons larger than 1 pixel.
And please do not make the X itself the only clickable part!
Make the entire button clickable!

Sigh. It’s like some programmers never actually use the user interface that they design..

Categories
Browser Extension

Google Chrome: Fix to remove all ‘Other Search Engines’.

Found via Google Chrome: Remove all ‘Other Search Engines’ – Super User.

Finally! I’m so tired of every little site I visit adding baggage into my Chrome browser.
There really should be an option to add a site, WHEN I DESIRE TO DO SO.

Freakin’ chrome design team. Grr.

Meanwhile, there is a chrome extension that blocks these silent custom search engine additions: “Don’t add custom search engines“.