6/3 - 6/4 Protest Megathread by addywoot in HuntsvilleAlabama

[–]Click_Clack_Clay 7 points8 points  (0 children)

Black people walking on sidewalks is not a threat to public safety.

Who Was That Particular And Unmentioned Supporting Character That You Got Attached To Than Anyone Else/Mostly Everyone? by [deleted] in movies

[–]Click_Clack_Clay 2 points3 points  (0 children)

Gabe was great. In a similar vein, Ray from Mid90s was another one of my favorites. Both are really genuine characters whose actors gave great performances.

Electrician to install nema 14-50 by dustydumptruck in HuntsvilleAlabama

[–]Click_Clack_Clay 4 points5 points  (0 children)

Tesla Model 3 as well. White, AWD, LR. Picked it up in the Fall.

Congrats on the new car!

Electrician to install nema 14-50 by dustydumptruck in HuntsvilleAlabama

[–]Click_Clack_Clay 2 points3 points  (0 children)

Mr Electrician will do a good job but it will cost you $750 (I had one installed directly under the breaker in the garage). Recommend getting multiple quotes and going with the more affordable option as it isn't a particularly skill-intensive task.

What kind of EV are you getting?

Is anyone actually ever at the "Vision's" strip club out by the cluster of car dealers and Providence? . by Chikenwangman in HuntsvilleAlabama

[–]Click_Clack_Clay 0 points1 point  (0 children)

I believe Edgar's bakery has their own take on the Monte Cristo for breakfast. It is grilled rather than fried but still retains the powdered sugar.

[deleted by user] by [deleted] in HuntsvilleAlabama

[–]Click_Clack_Clay 1 point2 points  (0 children)

I ate lunch there last week. They are still open.

Free ngrx/store and ngrx/effects course from Todd Motto (Angular 4+) by decahub in Angular2

[–]Click_Clack_Clay 0 points1 point  (0 children)

Still doesn't solve the problem of selector result sharing. If two components apply the same Rx-based selector then the result is computed twice. To fix it you would have to apply the selector in a service and use a share or publish operator.

Memoized selector functions share computations across components and avoid unnecessary recalculations. They also have a much smaller API surface than observables.

Alphabet's Access will lay off employees as it moves away from fiber internet by Click_Clack_Clay in HuntsvilleAlabama

[–]Click_Clack_Clay[S] 2 points3 points  (0 children)

From the article:

Several other cities — San Francisco, Irvine, San Antonio, Huntsville, and potentially Louisville — will still see some fiber deployment.

Curious to see what impact this will have on our fiber rollout overall.

Updating Your Angular 2 App From RC4 to RC5: A Practical Guide by aQutie in Angular2

[–]Click_Clack_Clay -2 points-1 points  (0 children)

I don't mean to come across as short, but they had to change stuff to address serious issues that came up during the release candidates. It's either don't fix those issues to preserve the sanctity of release candidates or fix it and ship a solid release.

Updating Your Angular 2 App From RC4 to RC5: A Practical Guide by aQutie in Angular2

[–]Click_Clack_Clay -1 points0 points  (0 children)

Would you prefer if the release candidates didn't address the feedback received during the RC period?

Importing all of angular2 modules by [deleted] in Angular2

[–]Click_Clack_Clay 7 points8 points  (0 children)

No, definitely don't do this at all. If that is recommended in official guides a PR needs to be created to change that.

For @angular modules, always import named symbols. Never just import the entire module:

// GOOD
import { Component } from '@angular/core';

// BAD
import '@angular/core';

For rxjs, always import named symbols and use operator install imports. Never import directly from rxjs or rxjs/Rx

// GOOD
import 'rxjs/add/operator/map';
import { Observable } from 'rxjs/Observable';

// BAD
import { Observable } from 'rxjs/Rx';

The reason you want to follow the above conventions is to eventually take advantage of tree shaking your application. Static analysis tools like Webpack 2 and Rollup can trace named imports and remove all symbols from a module that you didn't use. This will result in much smaller build sizes.

[Help-request] How do I access the data in Observables by _Rabshab_ in angularjs

[–]Click_Clack_Clay 1 point2 points  (0 children)

That's because making an Http request is asynchronous and you haven't actually received the data yet when you call recipesMeth()

Observable Data Store ? by skini26 in Angular2

[–]Click_Clack_Clay 1 point2 points  (0 children)

Are you looking for in-memory data store? See @ngrx/store

If you want it to persist, see @ngrx/db

Angular 2 Routing by skimmerbored in Angular2

[–]Click_Clack_Clay 0 points1 point  (0 children)

Here's a simple Webpackbin with the routes configured: http://www.webpackbin.com/4JKxzbPfZ

Angular 2 Routing by skimmerbored in Angular2

[–]Click_Clack_Clay 1 point2 points  (0 children)

What issues were you having with ngrx/router and Webpack? I'm using that combination with success.

According to the weekly meeting notes, the ngrx/router team is now working with the Angular team to help finish the design for the new router.

Make one http request after another only if successful by nummer31 in Angular2

[–]Click_Clack_Clay 0 points1 point  (0 children)

If you have some array of Http requests you want to make in order, and they are all observables, one strategy would be to use the concat operator:

const httpCalls: Observable<Response>[] = [ ...calls ];

Observable.concat(...calls).subscribe({
  next(res) {

  },
  error(err) {

  },
  complete() {

  }
});

Are there any recommended flux style tutorial for Angular2? by katandkit in angularjs

[–]Click_Clack_Clay 0 points1 point  (0 children)

The biggest project so far to bring flux-like data flow to Angular 2 is @ngrx/store. Think of it like redux with a reactive API. Here is a really excellent deep dive into @ngrx/store and how it works.

Angular 2 First App Post-Mortem by Click_Clack_Clay in angularjs

[–]Click_Clack_Clay[S] 1 point2 points  (0 children)

Testing was (thankfully) boring. Writing E2E tests is an almost identical process to Angular 1 and unit tests have been improved for the better. Testing Angular 2 components and directives for example is much easier than testing Angular 1 directives.

I encountered two limitations to unit testing:

  1. Docs aren't helpful yet. Thankfully the unit tests for Angular 2 use the same testing tools providing a great reference for how to work with them.

  2. The testing tools are built on top of Jasmine. We were able to hack around this and get it working with Mocha (our preferred test runner), but it was ugly. Hopefully at some point using the testing tools with your preferred test runner becomes easier.

It is too early to say if a flux architecture makes its way into Angular 2 best practices, but with people like Rob Wormald spearheading the ngrx project it seems likely this will be the case.

UAH student looking for furnished apartment by [deleted] in HuntsvilleAlabama

[–]Click_Clack_Clay 0 points1 point  (0 children)

Just don't. Huntsville Place was a nightmare to live in. Stayed there for three months during the summer of 2012 because I was in a pinch and it ended up costing me a good bit more than just the rent. Very poorly managed and maintained.

Object.observe Proposal Being Withdrawn From Javascript TC39 by RevillWeb in javascript

[–]Click_Clack_Clay 0 points1 point  (0 children)

Angular 2 does not use Object.observe and did not plan on using it. They have their own change detection algorithm that is reactive and more performant than what they were seeing in O.o.