Programming Test Problems In Typescript

dvis-header

I had a good discussion with friend and fellow developer, Dave, last week.  Dave is a 15-year veteran who does mostly C++/JS programming.  He is the type of guy who can setup his computer in front…

Angular2 Animations, Custom Directives, And More

a2

This demo resulted from two questions that I hope to answer in the context of a single example. The first question was how to choreograph two different animations on two separate DOM elements using only the…

Broccoli Merge Trees Error

I recently updated some code and config files in an older Angular 2 CLI project.  I made a simple change and then executed the usual ng build.  I was greeted with a Broccoli merge-trees compilation error….

Typescript Math Toolkit Line Decorators

Decorator is one of my favorite design patterns.  I like how decoration can be applied at compile-time (see Typescript annotations such as @Component) and at run-time.  A great example of run-time decoration is line decorators.  Suppose…

Angular 2 (RC4) Component Router Demo

I wanted to create a demo with the new (RC4) Component Router since we’ve been waiting for this one for so long  After sketching out a couple ideas and then doing some spiking, it became evident…

Typescript Math Toolkit Function Parser

TSMT

Back in the day, I wrote a C++ function parser for functions expressed in a calculator-style syntax (infix notation).  For example, a function of two independent variables s and t could be described as 2*s +…

Angular 2 Reactive Form Validation

a2

The very recent Angular 2 Release Candidates saw slight changes in forms and expected changes in the A2 Router.  As we expect RC4 to be the immediate predecessor to A2 Final, I thought it would be…

Finish The Typescript Math Toolkit

a2

I have been working on the Typescript Math Toolkit open-source project for a few months now.  Here is the library layout at present. At this point, kinematics and ai will probably not be in the 1.0…