Posts

AWS Certification Prep

AWS Certification Prep GENERAL Client/Server = client request and server responds. Containers = faster and lighter than VMs Networking = infrastructure and services working together to host your apps, data, and resources . Virtual private network  encrypts your internet traffic. CDN = Content Delivery Network No SQL databases =  key-value pairs. Authentication = verifies who. Uses locking (encryption) and unlocking (decryption) data. Authorization = verifies can do action Principle of Least Privilege  Federated identity mgmt = A llows users to access multiple applications, services, or domains using a single set of credentials. Multi-factor Authentication = Requires 2+  verification methods to get access. Distributed  denial of service = multiple computers attacking AWS TERMS AZ = Availability Zones.   Regions are encompass  AZ . Choose based on: 1) Comply, 2) Proximity, 3) Features, and 4) Price. Physical region, each with 3+  AZ ...

Different Types of Immutability

Different Types of Immutability  Here are the specific types of immutability in programming: Strict/True Immutability: The object or value cannot be changed at all after it is initialized. Examples include constants, strings, integers, and tuples in many languages. Shallow Immutability: Only the immediate fields or references of an object are immutable, but the objects they reference can still be changed. A "read-only" field might point to a mutable object. Deep/Strong Immutability: The entire object graph is immutable. All fields, and all objects referenced by those fields, are also immutable. Copy-on-Write (Persistent Data Structures): While the data structure appears immutable to the user, any change triggers the creation of a new, updated copy. The original remains unchanged. Compile-time Constants (Write-once): Fields that are assigned a value at compile-time and cannot be changed during runtime, such as const in C# or final in Java.

F# and Immutability

F# and Immutability In F#, everything is immutable except arrays.  In F#, you get immutability "for free" in most cases.

Immutability vs. ReadOnly

 Immutability vs. ReadOnly   The key difference is that readonly restricts reassignment of a reference/variable, while immutable guarantees that the contents or state of an object cannot be changed after creation.   Example (C#): A readonly List<T> cannot be set to a new List<T> instance, but you can still call methods like Add() or Remove() on the existing list.

Immutability and C#

Immutability and C# C# has System.Collections.Generic.Immutable collection that was introduced in .NET Framework 4.5 (around 2012–2013). I went back and revisited Jinaga by my friend, Michael Perry.   https://github.com/jinaga/jinaga.net I investigated the code generators for immutability types by A. Arnott and Nikolay Pianikov: https://github.com/AArnott/ImmutableObjectGraph https://github.com/DevTeam/Immutype

Immutability and Security

Immutability and Security   I have been thinking about immutability and security.  Was thinking about how immutables have better security overall (since cannot modify), but not entire security since security is also visibility.

Prevent Duplicates of Customer Data On Entry?

Prevent Duplicates of Customer Data On Entry? Do you have a way to prevent the entry of duplicate customers in the data entry screens?  So maybe you don't get duplicates like: Customer Member table:  [Bolded are different.] Last Name First Name Member # Phone Number Street Address City, State Wayland Jennifer 201215 2078675309 123 Maine Street Camden, Maine Wayland Jenn 201211 2078675309 123 Main Street Camden, Maine