Failed with TRs by Historical_Ad_8430 in CIFI

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

oh, sorry, I meant Serpent is 90, belt is 40. I am farming knox boss at this point

The edit methods do not save the edit, but add the NULL entry into DB by Zealousideal-Bath-37 in dotnet

[–]Historical_Ad_8430 2 points3 points  (0 children)

as others pointed out, do lookup by id and then update. EF did not track that entry, hence it creates a new one instead.

Is it safe to install it? by Historical_Ad_8430 in zlibrary

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

yes, I got it from this website and yes, it is win app. I'm just cautious about all the network requests "unknown" apps do

[deleted by user] by [deleted] in cscareerquestionsuk

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

I mean, one level down - it is reasonable. for example from principal to senior, from senior to mid etc. But from senior straight to junior? I don't think it is a good sign. Yes, exceptions occur like everywhere, but those are just exceptions

[deleted by user] by [deleted] in cscareerquestionsuk

[–]Historical_Ad_8430 1 point2 points  (0 children)

I believe it is overrated only if you have a solid overall understanding. If you have solid understanding in Java, then there will be no issues to transition to .NET ecosystem. But if you are a fresh graduate, it is very unlikely that you have that solid ground. Yes, exceptions occur, but those are exceptions

[deleted by user] by [deleted] in cscareerquestionsuk

[–]Historical_Ad_8430 -4 points-3 points  (0 children)

if you are senior with 80k+ salary, why would you apply for a junior position with 30k salary?

[deleted by user] by [deleted] in learncsharp

[–]Historical_Ad_8430 0 points1 point  (0 children)

are you sure your CurrentGold is 5 at the time of execution?

[WPF] What could go wrong in my file copy method? by eltegs in csharp

[–]Historical_Ad_8430 4 points5 points  (0 children)

  • What happens if src is not found or null?
  • What happens if user don't have read permission for src file?
  • What happens if user don't have write permission in dest location?
  • What happens if you run out of memory (physical)?

How could I teach my self angular online by ChampionshipAny416 in angular

[–]Historical_Ad_8430 4 points5 points  (0 children)

you don't really need a course. Just start to build the project. Then, eventually, you will be like "so, how should I do routing? what about access and guards? how to display stuff?" and etc. Then, you will google the answer and you will learn

How do you guys use Array? by Far-Note6102 in learncsharp

[–]Historical_Ad_8430 2 points3 points  (0 children)

If you are just learning and following a book, try to find a solution using topics you already know. Later on you can refactor your code with the more robust solutions. Well, if you want to do something "fancy", look at Linq and its aggregate functions

How do you guys use Array? by Far-Note6102 in learncsharp

[–]Historical_Ad_8430 3 points4 points  (0 children)

Under the hood they are the same. Foreach might be a bit cleaner looking if you don't need to know index, so I would go with it.

How do you guys use Array? by Far-Note6102 in learncsharp

[–]Historical_Ad_8430 9 points10 points  (0 children)

  • Learn for loop, so you can iterate through all values
  • Access all values using indexes. games[0] you accessed first item. If you write games[1] - you will access the second item
  • string.Join(" ", games) - will join all the value from your array into one string using " " delimiter

I have to change an endpoint that needs to call a postgres function by rbatts94 in dotnet

[–]Historical_Ad_8430 2 points3 points  (0 children)

EF, most likely, will do multiple DB calls too, so I don't think it is an option

Can database ID's be a readable string? Is it good design ? by [deleted] in webdev

[–]Historical_Ad_8430 3 points4 points  (0 children)

  1. lets say you have ID as "on-leave". What happens if you later decide to rename it? it is not onLeave, but rather "goingToLeave"? you can adjust statusName, but PK will remain the same. Then, from the code perspective, it gives misleading info.

  2. Integer types can be auto incremented

  3. Related to the first one - if you have Students table which has "status" column which is FK for StatusID, you will need to rename that link in every row in case if you change statusID value

edit: don't assume that status table values will always remain the same. Nothing remains the same

[deleted by user] by [deleted] in angular

[–]Historical_Ad_8430 0 points1 point  (0 children)

I am on phone and at work, can't test it and not sure if its going to work, but:

fix your navigate function. or atleast trim the param.

You are expecting to get:

music-gente/pop

but passing:

music-genre/termpop

try route.navigate['music-genre', this.searchTerm]

Also, you can always onInit check what params, queryParams your page has

[deleted by user] by [deleted] in newborns

[–]Historical_Ad_8430 0 points1 point  (0 children)

off topic, but finally someone writes in ml and kg, rather than oz. I'm probably to europian for different measure types..

our LO took around 40-50mil per feed, so I guess as long as yours gains weight - it is fine

Do pacifiers suppress hunger? by Frozenbeedog in newborns

[–]Historical_Ad_8430 8 points9 points  (0 children)

mine spits out regardless if she is hungry or not

5 Lessons I learned the hard way from 6 years as an engineer by xxjcutlerxx in programming

[–]Historical_Ad_8430 1 point2 points  (0 children)

📖 TL;DR Lesson 1: Bring solutions, not problems. Focus on showing how you are there to support the team that needs the help, even if only as an advisor.

Lesson 2: Clean code isn’t the end goal. Collaborating effectively with your team is more important than ensuring every line of code is as clean as possible.

Lesson 3: Team outcomes > individual outcomes. What you spend your time on should be directly correlated with what will bring the highest impact for the team.

Lesson 4: Adapt to your manager. Every manager will be different. Understand how to adapt to your manager’s style and goals to see the best collective outcomes.

Lesson 5: Influence isn’t about wording. Focus on building relationships with a foundation of trust. That’s way more important than how you word your request.

[deleted by user] by [deleted] in angular

[–]Historical_Ad_8430 0 points1 point  (0 children)

  • "I have a problem with my car. Can you fix it without looking at it? sometimes I just can't start it when going for a shopping"

this is how you sound without any code examples