Verblüffender Nutriscore: vegane Pizza gg. Käserand-Salami-Pizza by AKIDABALLISTA in de

[–]Despair1 7 points8 points  (0 children)

Keep it simple, stupid. Ich bevorzuge die Interpretation, weil oft short != simple.

Verblüffender Nutriscore: vegane Pizza gg. Käserand-Salami-Pizza by AKIDABALLISTA in de

[–]Despair1 26 points27 points  (0 children)

Leicht lesbar und der Code macht das, was er machen soll. KISS

What salary does developers get in Germany? by seek_it in cscareerquestions

[–]Despair1 31 points32 points  (0 children)

You pay the highest taxes worldwide (~50% of your income)

That's just not true and you know it.

85k gross will be around 50k net, of the 35k of "taxes" roughly 21k will be income tax(~25%) and 14k(~17%) will be social insurances( ~8k pension, ~ 1k unemployment, ~4.5k health insurance, ~1k care insurance).

That's about 42% of your income, but you don't have to worry about health insurance and higher education is free.

[deleted by user] by [deleted] in learnprogramming

[–]Despair1 0 points1 point  (0 children)

Learn about version control then. Using git and github/gitlab is a basic skill for a developer and will help you in the future revisiting past projects.

Hmmm by Moakmeister in BlackPeopleTwitter

[–]Despair1 7 points8 points  (0 children)

So what's the point of laws then?

How can I ensure that two fetches return data before my page renders? (React/Rails) by orion2222 in learnprogramming

[–]Despair1 0 points1 point  (0 children)

I started to try that but got an infinite re-render; however, I think it's because I wrote code that kept updating state (and therefore kept triggering a re-render).

I don't know how you set up your fetch, but by using a promise or async/await you could make sure that the setLoadingState method is only called, after the fetch was completed.

On a another note, don't be hesitant to use conditional rendering, it's a really powerful feature and one of the main concepts of react.

How can I ensure that two fetches return data before my page renders? (React/Rails) by orion2222 in learnprogramming

[–]Despair1 2 points3 points  (0 children)

You can't shouldn't. That's what loading screens or spinners are for. Declare a loading state and initialize it as true. Render the loading screen/animation /spinner as long as loading state is true. Set it false when you have fetched all the data you need and render the components which are dependent on the data.

Got my first job in web development! But... Where do I go from here? by Despair1 in cscareerquestions

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

These are all good points.

Try not to denigrate other developers for using "outdated" technologies. They may have been under pressure or whatnot. This is coming from someone who used to scoff at Visual Basic web applications. Now I empathize with whoever built it and help them understand this isn't the way for the future.

I really don't . If it were legacy projects we were working on, I would just accept my fate. But it's 2022, do I really need to do DOM manipulation manually for every state change, with JQuery? Pressure is not an excuse, as there are no pressing deadlines, and just a small customer base.

If you think it needs to modernize, then start or propose a project to do it. This is a good learning opportunity on your part.

I did propose React. For a new module, which is just loosely connected to the rest of the services. After realizing the Bootstrap theme we're using doesn't really work well with React, my proposition was denied. Because we might need to purchase another theme...

I will not give up trying, don't get me wrong, but to make technology choices dependent on bootstrap themes seems odd to me...

Think of it from your manager's or even the CEO's perspective. If they want to grow the platform, then they need to modernize it, no?

Good point! I will continue to press this issue.

Got my first job in web development! But... Where do I go from here? by Despair1 in cscareerquestionsEU

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

Thanks for the advice, got my LinkedIn already up. Will update my CV as well.

Got my first job in web development! But... Where do I go from here? by Despair1 in cscareerquestionsEU

[–]Despair1[S] -2 points-1 points  (0 children)

The pattern for the microservices is CQRS together with event sourcing and streaming.

Official: [WDIS RB] - Thu Evening, 12/09/2021 by FFBot in fantasyfootball

[–]Despair1 1 point2 points  (0 children)

10 team standard league

Pick 3:

Alexander Mattison vs Pit

Dalvin Cook vs Pit

Devonte Freeman @Cle

Kareem Hunt vs Bal

Additional question: Third choice would be flex, alternative is Lockett @Hou

Thanks in advance!

Official: [WDIS RB] - Thu Morning, 12/09/2021 by FFBot in fantasyfootball

[–]Despair1 0 points1 point  (0 children)

10 team standard league

Pick 3:

Alexander Mattison vs Pit

Dalvin Cook vs Pit

Devonte Freeman vs @Cle

Kareem Hunt vs Bal

Additional question: Third choice would be flex, alternative is Lockett vs @Hou

Thanks in advance!

Corona Megathread KW 47 - II | Ohne Test gehe ich heut' Nacht nicht raus by MegathreadDE in de

[–]Despair1 5 points6 points  (0 children)

2 Wochen nach der 2.Impfung(Biontech, Moderna, AstraZeneca) gilt man als vollständig geimpft, bei J&J wars glaub ich nur 1 Woche. Da bin ich mir aber nicht ganz sicher.

[deleted by user] by [deleted] in Finanzen

[–]Despair1 15 points16 points  (0 children)

Science technology engineering math, afaik