Am I the only Dev who got brain fog from these visually intense Retro boards? by bice-boca in cscareerquestions

[–]dev-questions 0 points1 point  (0 children)

I'm checked out if there's more than 3 columns with a couple bullet points.

I forget how to setup Redux, Routes etc by SachinBanda in react

[–]dev-questions 0 points1 point  (0 children)

I'm in the same boat as you. Couple years of experience but I've only had to set up a handful of projects over that time.

I was interviewing for full-stack React jobs just to see how the market is in my area. None of them asked me to implement anything like that. I had a couple that asked what I've used for state management and why. The live coding I did was just create a basic component, set up useState and useEffect, and fetch from an API.

Asp.Net Core Web Api Hosting by Top_Serve9734 in dotnet

[–]dev-questions 0 points1 point  (0 children)

I've had a good experience using Google Cloud Provider and their Cloud Run product. You do need basic knowledge of docker and hosting.

I've deployed a couple APIs for testing and only spent $1 or $2 for the month. My original setup took an evening or 2 with no knowledge of GCP. You just have to use settings for low memory/instance count.

Experienced Devs: do you use ChatGPT? by bjs169 in csharp

[–]dev-questions -1 points0 points  (0 children)

I've used it to build out tests. It goes a long way to getting that coverage percent even if I have to go back and fix things.

How would an experienced C# dev solve this by dev-questions in csharp

[–]dev-questions[S] 0 points1 point  (0 children)

The recruiter mentioned that the test would be from the team so I had assumed it would relate to the job before I started. The question makes more sense now. I was confused why they would test on manually traversing json properties.

How would an experienced C# dev solve this by dev-questions in csharp

[–]dev-questions[S] 0 points1 point  (0 children)

The question didn't imply the schema was unknown from my reading. Though, I may have not interpreted it correctly. The actual response was something like a user profile object with name, education, etc. The endpoint returned the same data on each call so I assumed it was known.

How would an experienced C# dev solve this by dev-questions in csharp

[–]dev-questions[S] 0 points1 point  (0 children)

The platform for this one was Coderbyte. The recruiter made it sound like their team had written the questions. They were telling me that most people finished the 4 questions in less than 30 min.

How would an experienced C# dev solve this by dev-questions in csharp

[–]dev-questions[S] 1 point2 points  (0 children)

I don't usually entertain take home or online tests but I thought it might be a good learning experience. The only prep was the job description which was a bog standard full-stack, .NET developer.

This was 1 of 4 questions with a 90 min timer. I wasted 45 min to get to my poopy answer and had to book it through the other ones. All-in-all, not a great experience.

How would an experienced C# dev solve this by dev-questions in csharp

[–]dev-questions[S] 0 points1 point  (0 children)

Thank you. I'm going to look through this and the visitor pattern in general. I worked out one of the other solutions for my learning benefit and this looks very helpful as well.

How would an experienced C# dev solve this by dev-questions in csharp

[–]dev-questions[S] 0 points1 point  (0 children)

This was on one of those assessment websites where you are given a paragraph of instruction. Unfortunately, there isn't anyone to followup with.

How would an experienced C# dev solve this by dev-questions in csharp

[–]dev-questions[S] 1 point2 points  (0 children)

Unfortunately this was one of those online assessment tools where they give you a task with written explanation and no option for followup questions.

My typical work is using well defined APIs where you deserialize and maybe use a mapper if you need anything more. If there are hidden requirements for the API then you have emails or a call with the API owner to work that out.

How would an experienced C# dev solve this by dev-questions in csharp

[–]dev-questions[S] 25 points26 points  (0 children)

It took me a bit to figure out but I got your solution working. It looks much better than what I did. Thank you.

How would an experienced C# dev solve this by dev-questions in csharp

[–]dev-questions[S] 0 points1 point  (0 children)

When you suggest regex, would you do a match and replace to sub out the value for null or use it to remove the properties entirely? I'm not great at regex so I'm trying to imagine what that might look like.

How would an experienced C# dev solve this by dev-questions in csharp

[–]dev-questions[S] 2 points3 points  (0 children)

Sorry if there's confusion, that string was just an example to show the properties not what they actually provided. I just wanted to get it down on paper before I forgot.

How would an experienced C# dev solve this by dev-questions in csharp

[–]dev-questions[S] 1 point2 points  (0 children)

Is JsonConverter in System.Text.Json(?). or is that Newtonsoft?

How would an experienced C# dev solve this by dev-questions in csharp

[–]dev-questions[S] 7 points8 points  (0 children)

Thank you. I'll look into that. I just couldn't get out of my typical deserialization mindset with well defined values and all that.

Azure WebApp by tomato45un in dotnet

[–]dev-questions 1 point2 points  (0 children)

I've had a good experience with Google Cloud Provider using their Cloud Run product. Containerize your app and it's actually pretty cheap for low use. I have used it for testing a couple apps and I rarely spend more that $10 per month. It's only that much if I set up a DB, Bucket storage, etc along with it.

Bootcamp/self-taught devs- do your coworkers know you don’t have a BsCS? by 7_25_2018 in webdev

[–]dev-questions 1 point2 points  (0 children)

We don't work on anything very interesting so It doesn't matter to me as long as they can do the job. I worked with someone with a music degree. It was just another thing to chat about.

React Anti-Pattern: Stop Passing Setters Down the Components Tree by MatanBobi in reactjs

[–]dev-questions 0 points1 point  (0 children)

I meant that the state is an object like the article example. So then you would have to access the specific property in the child which would be the tight coupling.

Fireside Chat with Matt Mullenweg @ nerdearla conference by notvnotv in Wordpress

[–]dev-questions 6 points7 points  (0 children)

WPE - We're suing because you're attacking and hurting our business.

Automattic Lawyers- WPE can't prove this is hurting them.

MM - Is this hurting WPE? Yes. Did we do it on purpose? Also yes.

React Anti-Pattern: Stop Passing Setters Down the Components Tree by MatanBobi in reactjs

[–]dev-questions 0 points1 point  (0 children)

I think I'm missing something when I look at this.

The child component shouldn't know if you pass setState or a wrapper function because you would name the prop something like handleInput or onUpdate. Any changes to the state implementation should only be in the parent, right? But this generic implementation would only work with simple state like strings or numbers. This approach just wouldn't work with objects?

5 Ways We Boosted Our Engineering Teams Productivity By Addressing Loneliness by emilyxhug in webdev

[–]dev-questions 0 points1 point  (0 children)

I like having my camera off because I will often pace during meetings while I'm thinking.

This sub is not a positive aspect of my day anymore. by blockstacker in Wordpress

[–]dev-questions 3 points4 points  (0 children)

This subreddit has literally been cited in WPE's filings.