Someone on Fosstodon got in touch with me eventually, and we've closed a deal today. I'm starting next month and absolutely stoked to grow into my role and become even better for the next time around! ๐
I had absolutely no idea what would happen or any expectation with this toot. Almost out of desperation, this was me shouting into the fediverse -- yet 76 boosts and dozens of replies and DMs later, here I am, incredibly taken aback by the response and the help extended. Thank you EVERY ONE! โฅ
Hmm, so this Tour of Heroes example app that the docs walk you through is storing it at the module directory level, with the naming convention <feature>.ts.
Is this the recommended way?
https://stackblitz.com/angular/bxrgjaekbdl?file=src%2Fapp%2Fhero.ts
Why I have left DEV and deactivated my Pixelfed account.: https://rusingh.com/articles/2021/02/23/deleting-dev-pixelfed-accounts/
Ahh, so you've got to use the component property while loading the children in the Route config. That component becomes the root/layout component, where you then exercise router-outlet!
Decided to finally give in and make a todo list app in #Angular.
Struggling with the concept of "layouts" at the moment. Maybe I'm approaching this all wrong!
You've probably heard of 10x engineer. If you've been interneting a while, you may know it became a meme. Well, Tierney Cyren set up a somewhat satirical page called : https://1x.engineer/. I think that's pretty neat.: https://rusingh.com/micro/notes/2021/02/23/1x-engineer/
...and this section gives a bit more perspective. Looks like providers might be an advanced topic...?
But at least, it seems, you can see it's just one of three ways to provide a service. But in some situations, a service can be "provided" using *something else* other than Angular's service class... and I don't know when you'd do that, and how.
https://angular.io/guide/architecture-services#providing-services
But there's also this section: https://angular.io/guide/dependency-injection-providers
which clearly goes: "By configuring providers, you can make services available to the parts of your application that need them."
And now I'm more confused -- this goes over my head. ๐
I'm guessing this changed at some point, and either
1. those tutorials are outdated, or,
2. the people writing it for Angular 11 did not keep up?
Hmm, it seems you *don't* need to update a module to tell Angular that that module will use a particular service.
The @Injectable() decorator with its providedIn flag does this.
...which isn't obvious, and is the wisdom being imparted in every tutorial I have read so far. Even one written specifically for #Angular 11!
Am I missing something?
The official tutorial goes:
providers: [
// no need to place any providers due to the `providedIn` flag...
],
So that's the final word then?
@uoya @viv I stumbled on this today: https://blog.container-solutions.com/running-docker-in-jenkins-in-docker
While not an authoritative source for sure, I think "DooD" makes sense and is *probably* the correct term.
Small Is Beautiful
Live, this Thursday, Feb 18, 2021, at 5PM UTC. Paul Frazee (Beaker browser) will join us talk about his new decentralised social network project, CTZN.
Can using an alternative frontend for Spotify get my account locked?
This seems really cool that someone's working on it.
This needs to happen. https://github.com/go-gitea/gitea/issues/569
I've used a ton of blogging software over the years. The one thing that's given me very little pain: file-based storage, or more specifically, Markdown files. An appreciation post.: https://rusingh.com/articles/2021/02/12/markdown-appreciation/
@garritfra All the best for https://github.com/garritfra/FlutterFlux. Excited to see where this goes.
Perhaps one day you make one for #Pixelfed too? ๐
๐ผ Contract/freelance remote web developer. See my website for more!
โณ Away(-ish): Social media detoxing... of sorts. Could be lazy in responding or unresponsive altogether. Please don't be mad at me. I'm tired. Not depressed... I hope.
๐ My site participates on the #IndieWeb. Responses to my toots where it has a link to my posts will show up on my site (eventually).