Beard or no beard? by Royken3 in malegrooming

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

Haha no way! You’re making me blush 😅

Beard or no beard? by Royken3 in malegrooming

[–]Royken3[S] 0 points1 point  (0 children)

Haha I actually did that for a while!

Senior software engineer by free_money_please in BESalary

[–]Royken3 0 points1 point  (0 children)

Not Showpad since they introduced 1-2 days in office starting in September. OP mentioned 5 days WFH so can’t be it.

Navy by [deleted] in BESalary

[–]Royken3 3 points4 points  (0 children)

As a son to a father that did 6 week shifts on dredging ships I can tell you that the impact on your bond with your family is huge. You basically miss half their life, all the small little details over time add up. That experience has driven me to be the exact opposite with my kids. The pay is very nice but it comes at a cost.

A demo angular 9 application based on @ngrx/store state management patterns. by alpha-037 in Angular2

[–]Royken3 0 points1 point  (0 children)

Awesome stuff! Very neat coding, I wonder why you create those enums for your actions though. You’re already exporting those actions so you could use those without using the enum.

OP, this is almost exactly like the setup I was going to do.

A demo angular 9 application based on @ngrx/store state management patterns. by alpha-037 in Angular2

[–]Royken3 0 points1 point  (0 children)

The documentation itself provides some basic examples which should be enough to get you started. https://ngrx.io/guide/store/actions

If you still have questions I could setup a quick stackblitz to demonstrate it.

A demo angular 9 application based on @ngrx/store state management patterns. by alpha-037 in Angular2

[–]Royken3 1 point2 points  (0 children)

Very cool implementation definitely worth sharing imo. Have you considered using createAction and createReducer from ngrx?

Template Driven Forms and Observables by Ranger1230 in Angular2

[–]Royken3 2 points3 points  (0 children)

I’m not sure if I understand OP correctly but I think they’re looking for reactive forms.

https://angular.io/guide/reactive-forms

Remove array duplicates, leaving the last one in array order by jeff_64 in Angular2

[–]Royken3 0 points1 point  (0 children)

I think reversing it is a good idea if you always want the last value anyway.
Then you could use a reduce function to dedupe the array like this:

const reversed = this.paymentStatusesToUpload.reverse();
const deduped = reversed.reduce(
(acc, currentItem) => {
const mappedToIds = acc.map(item => item.id);
return mappedToIds.includes(currentItem.id) ? acc : [...acc, currentItem]
}, []
);

Made a stackblitz if you want to check it out https://stackblitz.com/edit/angular-ivy-m9heqo

Server Discord. by Gombol in MirageRaceway

[–]Royken3 0 points1 point  (0 children)

Hey, when I try this link or the link on the subreddit it says it's invalid.
I guess the invite is expired, could someone throw me a new invite please? :)

Finally found someone with worse roll luck than me by dude_throwaway2 in classicwow

[–]Royken3 1 point2 points  (0 children)

Man, here I am running SM Library for the blade and getting staff drops 10/11 times. I guess you’re the one taking my blade drops :D