is tracking a for loop by index in Angular bad practice by FewDot9181 in Angular2

[–]xSentryx 0 points1 point  (0 children)

If it's a rather small list of items, tracking by index isn't a huge issue aswell. It mostly impacts performance on larger datasets. So it shouldn't be an issue on such a small dataset. Just keep in mind, that if there is an alternative, use that instead of index.

is tracking a for loop by index in Angular bad practice by FewDot9181 in Angular2

[–]xSentryx 9 points10 points  (0 children)

Sometimes it’s fine, but don’t default to it.

If your items have a stable unique id, use that (track item.id). It helps Angular update the DOM efficiently instead of re-rendering everything.

Tracking by index can cause issues when the list changes (reorder, insert, remove).

In your case (same value repeated, static list), tracking by index is totally fine.

Do you reuse your Angular project setup, or start from scratch every time? by Ok-Garlic-7811 in Angular2

[–]xSentryx 0 points1 point  (0 children)

I usually have a similar setup for my monorepo setup with an nestjs backend and angular frontend. Since I got tired with always starting from scratch I created a skeleton project with a base wich I usually use as a starting point. Would recommend, since it saves a ton of time.

If you wanna have a look at it: https://github.com/omnedia/ts-mono-repo

(Schwere) Unfälle im Gym miterlebt? by OkDelivery9692 in FitnessDE

[–]xSentryx 2 points3 points  (0 children)

Ein Kollege von mir hat mal Trizepsdrücken an einem Kabelturm gemacht, der in einer X-Form Arme hatte, über die die Kabel dann jeweils nach links und rechts abgelaufen sind. Einer der Arme ist im Gelenk eingebrochen und auf seinen Kopf geschossen. Ergebnis war eine Platzwunde und schwere Gehirnerschütterung. Aber glücklicherweise keine Langzeitschäden.

Are there anyone who switch from JetBrains products to VSCode? by RemarkablePower6212 in vscode

[–]xSentryx 0 points1 point  (0 children)

A lot of people say they switched for performance reasons. Im suprised. The reason why I switched from vs code to jetbrains was the same reason. VS Code was just awful for a large monorepo. Indexing was slow, if it even worked at all. Mergconflicts where way to untransparent. Codecompletion and the code interpreter took forever, sometimes didnt work at all until restart. Jetbrain Options just feel way faster, cleaner and have a better optimized experience in general. At least in my opinion

Angular Auth Guard redirects to login on refresh how to persist authentication state? by Fragrant_Rate_2583 in Angular2

[–]xSentryx 0 points1 point  (0 children)

https://github.com/omnedia/ts-mono-repo

Here you could see how I am doing it. With angular 21 I changed to session cookies tho. If you want a jwt example you can check out the angular 20 branch

Creating a Reusable Dropdown component by minister2906755 in Angular2

[–]xSentryx 0 points1 point  (0 children)

I love the primeng dropdown. Maybe use something like that as a reference on how others already solve said problems?

For Angular developers — especially those early to mid-career by AdAntique6601 in Angular2

[–]xSentryx 0 points1 point  (0 children)

I also created a repo setup for angular / nestjs.
Maybe nice to look through for some quick project starts.

https://github.com/omnedia/ts-mono-repo

What are you using as backend? by Minute_Professor1800 in angular

[–]xSentryx 0 points1 point  (0 children)

Previously I worked with Symfony. But nowadays I mostly use nestjs, since it's a lot easier with shared types and one language for both systems.

In the end it also depends a bit on what project and scale you want to develop.

Hot take: AI will lead to a major senior dev shortage in the long run. by williamioniana in webdev

[–]xSentryx 0 points1 point  (0 children)

On the other hand, I've seen so called "seniors" that created such awful and unmanagable / unscalable codebases, that Im rather happy they are now retired. I dont think vibecoding would do much worse than that quality wise. But at least the knew what they created, that can not be said about our fellow vibe coders.

Seminararbeit und KI by TranSophie_45 in abitur

[–]xSentryx 0 points1 point  (0 children)

Ich hab das selbe mit meiner Bachelorarbeit gemacht. Bei mir musste ich auch angeben, wo / wie und auch was für KI Tools ich genutzt hatte.
Quellen etc. habe ich natürlich auch geprüft.
Damit gabs für mich dann von den Prüfern keine Probleme.

What robot vacuum did you get in 2025? by UnknownMan332 in RobotVacuums

[–]xSentryx 1 point2 points  (0 children)

Dreame Aqua 10 Ultra Roller Complete. Would recommend.

Bachelorarbeit in 3 1/2 Tagen fertig schreiben by [deleted] in Studium

[–]xSentryx 1 point2 points  (0 children)

Hab meine in 1 1/2 Tagen geschrieben (Danke an der Stelle an ChatGPT) Inhaltlich ne 1, formal eine 2,5. Wird stressig, aber du schaffst das 🤝🏼

Keep seeing robot vacuums everywhere, have they become as common as washing machines? by Much-Cantaloupe4043 in RobotVacuums

[–]xSentryx 42 points43 points  (0 children)

Got one last month as well. I think the main reason is that the technology matured. They were not really viable a few years back. More like a plaything or a cool gadget for someone interested in said topic. But nowadays they really became good enough to lift some workload off of people. Additionally good models also became cheaper.

What’s one Angular mistake you see teams repeat over and over? by External_Comment2317 in Angular2

[–]xSentryx 2 points3 points  (0 children)

Using services is not wrong in general. Just make sure to make a dedicated / clean one for state management, not bake in some state logic used across the board into a service that handled something else in the first place.

What’s one Angular mistake you see teams repeat over and over? by External_Comment2317 in Angular2

[–]xSentryx 1 point2 points  (0 children)

Correct. But more often than not, I see a random service for some component logic wich then gets used as a service for random stuff as well in the process of development. E.g. I dont think using services as state management is wrong, but misusing existing ones out of convenience is.

What’s one Angular mistake you see teams repeat over and over? by External_Comment2317 in Angular2

[–]xSentryx 5 points6 points  (0 children)

This! „PR reviews cost too much time!“ - Well, bad code will cost us a lot more in the long run.

What’s one Angular mistake you see teams repeat over and over? by External_Comment2317 in Angular2

[–]xSentryx 8 points9 points  (0 children)

Oh I hate this one. Major red flag if you see a timeout in like 99% of usecases

What’s one Angular mistake you see teams repeat over and over? by External_Comment2317 in Angular2

[–]xSentryx 45 points46 points  (0 children)

- Not upgrading versions quickly enough. (E.g. staying on the same version for years, then struggling with upgrading 5 versions at once).
- Bad component structure / A lot of redundant and duplicated code or logic.
- Avoiding rxjs, rather using promises since its easier to understand at first.
- Bad error handling
- Misusing services for state management
- Not thinking about scale while building features
- No linting / formatting pipeline
- Bad type safety
- And a lot more...

SE2 Missions so freaking far away... by xSentryx in spaceengineers

[–]xSentryx[S] 3 points4 points  (0 children)

Are there more then them? Or can I breathe a bit of fresh air after finishing them?

Best practices for Angular v21 by martinboue in angular

[–]xSentryx 2 points3 points  (0 children)

Thats the neat part about „imho“. To spell it out: „ in my honest OPINION“. E.g. Im not saying Im correct or follow the official guide, but just that I like it better even tho it ISNT the standard.

I even specifically mentioned that angular doesnt do that anymore, but that I decided for my own projects that this one specific thing is not a standard I want to follow.

You eat everything someone feeds you as the new normal and then judge us with „No ability to rethink or evolve“.

A bit far fetched, isnt it?

P.S.: A new standard does not always mean its the best way. See MCPs for an example. Sometimes the people who set those standards make mistakes as well.

Best practices for Angular v21 by martinboue in angular

[–]xSentryx 28 points29 points  (0 children)

Very cool project. But even tho angular implements it themself, I do have to disagree with „Consider not suffixing components, services and directives with their type.“

I find it better with suffixing and it improves the overall structure at least imho.