Admin, Author at SDET.US's Posts

YouTube will probably ban my account… here’s why

Who I Am For those just finding this YouTube post, you might wonder who I am.  I’ve been in the QA industry with regards to software companies for the past 14 years.  I’m a blogger who tries to give back to the Tech community in the form of online help, video tutorials and blogs pertaining to subjects about tech topics: Software QA Development (front end, back end) Security What’... »

Node: Inheritance

Using the events and util classes in the core Node library, we can define inheritance: var Events = require(‘events’); var util = require(‘util’); function hello() { this.greeting = “Hi!”; } util.inherits(hello, Events);   »

Node: Prototype Inheritance

Function construction in Node is pretty straight forward: function someFunction(){ console.log(“hi”); } Functions can also be assigned to an object like so: var greeting = function someFunction(){ console.log(“hi”); } You can also follow a class type pattern doing something such as: function Car(make, model, year){ this.make = make; this.model = model; this.year = year; } v... »

Heart Rate Tracking with Angular2 & Fitbit

Heart Rate Tracking with Angular2 & Fitbit

The Goal I’ve always wanted a monitor of bio data… specifically data related to heart rate and GSR (Galvanic Skin Response) and if possible EEG data as well. I’d love to have some giant monitor set up with streaming data on a variety of subjects.  For now… baby steps. Tracking Data with Fitbit Fitbit is a nice little wearable monitoring system that helps people keep track o... »

Getting DESC order with Angular2 and Firebase

I never thought this would be an issue… But I found that this simple need to get data from a db in DESC order was not “out of the box” with Firebase. One comment on a Github question on this subject worked for me.  It’s one line of code and it simply works… way better than other more complex solutions. Basically, you take your Observable, such as the one below: this.p... »

Routing in Angular2

In frameworks like Rails we are required to set routes to each controller or view we want to display to the end user.  It’s a great security practice. What Are Routes? What routing allows us to do is to give a path (such as ‘/home’) and send it to a logical component (Controller in Rails speak.)  Let’s say we have a component called “Dashboard” but we don’... »

Angular2 – Dynamic Search Boxes

This particular recipe was taken from a course at Udemy: https://www.udemy.com/angular-firebase-application One of the most common examples given on Angular2 is to make a real time filtered list of notes or todo messages. There’s many tutorials on this, including some at Udemy. For my own benefit I’m documenting the process to help digest this. In my test application, I have a value of... »

Angular2 @Input Examples

In taking Vasco’s Udemy Course on Angular2 & Firebase, I worked through a tutorial project of pulling in data from a Firebase database.  The lessons were rendered to the view like so: <table class="table lessons-list card card-strong"> <tbody> <tr *ngFor="let lesson of lessons"> <td class="lesson-title">{{lesson?.description}}</td> <td class="duration">... »

Calling Length on Object Arrays in Angular2

I came across an oddity with Angular2 development.  I had a case where I was pulling data into my application.  The data came in as a list of objects.  I wanted to get a count on these objects returned and I wanted to display that count into a view. Normally in a language like Ruby, Groovy or Python you would use a variation of a method like length.  Sure enough, there was such a method available ... »

Angular2 Best Practices – Using Services

Angular2 is built around the concept of “components” which might be likened to something similar to Controllers in a MVC framework like Rails or Grails.  How they differ, is that the component is a tag that is put into a page that will be rendered by the browser/user.  The business logic that is in the component is then rendered via its single tag. 1)Large part of this content was lear... »

Page 1 of 30123»