Friday, December 6, 2019

ExpressionChangedAfterItHasBeenCheckedError

This suggests this is specifically to do with a ViewChild getting messed up in the AfterViewInit lifecycle hook in an Angular application. It is going to be something like this insofar as you are trying to manipulate a ViewChild that is lacking in some fashion. The first link I provide here suggests it stems from race conditions as many things manipulate the DOM at "once" so to speak.

Thursday, December 5, 2019

the quickest way to make a copy of an array with a new pointer in JavaScript

foo = foo.slice();

 
 

This is obviously different from the way to approach an object like so:

foo = Object.assign({}, foo);

 
 

In TypeScript you would approach the object issue like so:

foo = { ...foo };

 
 

What is the difference between .splice() and .slice() in JavaScript? They both return a chunk of the array, but the slice leaves the original unedited while the splice will remove from the first array the part it hands back from its returning.

Tux is the penguin mascot of Linux.

Puffy is the pufferfish mascot of OpenBSD and Beastie is the demon mascot of FreeBSD.

the creative

This is another word for the mockups or the comps. It's not wireframes. It is stuff with the full Photoshop bake out of how screens should look. One should be able to roll HTML and CSS based on the creative.

Razor in .NET Core

  1. Fluent Validation a library for form validations.
  2. The plain Jane validations in .NET Core's MVC and Razor paradigm are more spiffy than those of the .NET Framework days. Validations can happen at a POST method at a ReST API controller action based on the data annotations at the POCO getting mapped to.
  3. jQuery DataTables is a way to do a paginated list of records and it does support a way to do server-side pagination with AJAX calls.

Tuesday, December 3, 2019

How do I get at someone else's Shelveset in TFS.

Go to your own shelvesets and you will see, at the top of the pane, a place to change the name of party for the shelvesets list.