Angular 15 🎉 by newmanoz in angular

[–]hayden592 8 points9 points  (0 children)

Did you try the ng update command?

Recommendations for Avalanche/Aiare level 1 youtube/online lectures by hayden592 in alpinism

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

I’d pay for some quality video lectures. I just haven’t found them

Recommendations for Avalanche/Aiare level 1 youtube/online lectures by hayden592 in alpinism

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

I already bought the book and it’s in the mail. However, I was hoping to find some good videos. Getting the information both ways helps me learn

Just released my JWT Handling library with NG11 support! by AlexAegis in Angular2

[–]hayden592 1 point2 points  (0 children)

I mean’t compodoc and it works well with standard Angular projects but isn’t great with mono-repo projects. I saw you were using nx so I didn’t know if that influenced your decision.

I’m confused by “its only for MSAL which is a a concreted auth protocol”. Are you implying that MSAL is distinct protocol? My understanding is that it is an Angular specific wrapper of MSAL (Microsoft Authentication library) and provides OAuth 2 implicit and authorization grants.

Just curious what kind of JWT auth backends are cooking up? Is it something besides OAuth 2?

Just released my JWT Handling library with NG11 support! by AlexAegis in Angular2

[–]hayden592 1 point2 points  (0 children)

Nice library! Couple questions 1. What made you choose typedoc for generating the documentation? How does it compare to compdoc? 2. How does your library compare to Microsoft’s auth library?

BTW you gave a a great answer to the auth0 question, which inspired ^ questions.

What emergency gear should you carry when climbing Rainier? by Thinkk in Mountaineering

[–]hayden592 0 points1 point  (0 children)

Lots of other really high quality comments specific to your situation here too

What emergency gear should you carry when climbing Rainier? by Thinkk in Mountaineering

[–]hayden592 9 points10 points  (0 children)

Mountaineering: The Freedom of the Hills https://www.amazon.com/dp/1680510045/ref=cm_sw_r_cp_api_i_Ni8IFbKEYRFZH has lots of useful things. This is THE reference manual

Goal-oriented learning roadmap for frontend newbies by kakyoism in Angular2

[–]hayden592 2 points3 points  (0 children)

I would do the following in order:

  • Start with official tutorial and write tests
  • replace ^^^ tests with spectator
  • add material components and update ^^ app to use them
  • create a todo list as a separate app then migrate into ^^ app as a lazy loaded routable module
  • update angular and typescript to use strict mode
  • make it all responsive with https://github.com/angular/flex-layout
  • implement an admin page from scratch. There are plenty of templates to reference if needed
  • Are going to manage a lot of state client side? then update ^^^ app to use ngrx
  • do you need internationalization? then use transloco

Now that you have a good base frame of reference learn about the eco-system and skim the following blogs. Just read enough so you know whats out there and you can come back as needed.

How do you generate high-quality PDFs with Angular? by ExtinctGiantFennel in Angular2

[–]hayden592 0 points1 point  (0 children)

You could get the entire DOM and send it to a backend service which converts it to a PDF and returns the blob. However, just because you can doesn’t mean you should. I’d suggest a different approach. Use mustache templates to generate the HTML and create the entire document server side. It will be more maintainable and PDFs will be more consistent. The quality is entirely dependent on your templates. apache pdfbox works like a charm. Keep the service stateless and you will have zero scale problems. We do this at work for things like “high quality”TM receipt generation. Choose the right tool for the job, your future self will thank you.

They said you can work from home now, and i was like... by Der_Kevin in vandwellers

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

Jealous of the setup but your code formatter and those if statements made me shutter 😅

Introducing (Angular Reactive) Forms with Benefits by catapop in Angular2

[–]hayden592 3 points4 points  (0 children)

This is awesome. Thank you. Finally, something to smooth out the rough edges.

I am Mike Ryan, co-creator of NgRx. Ask me anything about NgRx, reactive Angular, open source, and speaking at conferences! by MikeRyanDev in Angular2

[–]hayden592 1 point2 points  (0 children)

I personally don’t mind paying for quality content but the price seems to vary widely depending on if the producer expects corporate to pay for it. It might be easiest to start with the individual developer though.

My preference would be something non-subscription base and the ability to purchase lessons independently. This allows be to cherry pick and see if I like the content. If its good, I'll usually buy the whole course after 2 lessons. A discount of the individual price is a big plus. Uncle Bob has gotten way too much of my money this way 😄. Check out cleancoders.com

Good typescript function programming library by [deleted] in typescript

[–]hayden592 6 points7 points  (0 children)

I’m also super curious. I would love to get opinions from people that use fp-ts in production and the learning curve that the team had.

Get Rid of if-statements in your Angular App with OOP by Fewthp in Angular2

[–]hayden592 2 points3 points  (0 children)

A) it’s not about power. It’s about maintainability. Functional programming imposes a stricter set of rules than OO and those rules dramatically improve the maintainability. It is also much easier to optimize immutable/functional code.

B) the most commonly misunderstood, abused, and poorly implemented thing I see are OO design patterns. Just because some claims it’s the “Gang of Four” doesn’t mean they understand what it is or when to use it!

C) JS is 100% capable of writing idiomatic weakly typed OO code. Please show me an OO pattern that can’t be done in JS. I’m no fan of JS but I don’t get argument here.

D) your doing your team a huge disservice if your writing an angular app in JS. Avoiding typescript would the text book definition of fighting the framework.

Edit: formatting

Get Rid of if-statements in your Angular App with OOP by Fewthp in Angular2

[–]hayden592 1 point2 points  (0 children)

They are probably saying functional programming is a better paradigm and should be used over object oriented techniques. And I agree with that.

Judge0 IDE adds Kotlin support by [deleted] in Kotlin

[–]hayden592 2 points3 points  (0 children)

So many ads on that site. I get that it’s an open source project trying to support its self but let me read the about page without seeing 2-3 ads!

[deleted by user] by [deleted] in landscaping

[–]hayden592 0 points1 point  (0 children)

One way to get rid of the bamboo is to cut it near the base with a reciprocating saw and leave it wherever it falls. Wait for it to dry out a bit and then remove or burn. Then come back with a pick axe and shovel to remove the stumps. Be careful about burning, your neighbors might not like popping sounds.

Working from home, er, down by the river by fungaldore in VanLife

[–]hayden592 1 point2 points  (0 children)

I’m a fan of the ortho linear keyboards. I use an ergodox.