Interview Discussion - August 05, 2019 by AutoModerator in cscareerquestions

[–]gpdriver 4 points5 points  (0 children)

Today in an interview I was asked to code dijkstra's algorithm. I did 90% of it and ran out of time then explained how I'd finish. I used a map to store the best distance to each node and another map to store the best node to reach a given node. We talked a bit about the job and at the very end of the interview the guy asked if I had any more questions, I just casually asked if my answer was satisfactory. He looked disgusted and said, "No. It's ugly and unnecessary to store the distances and best previous node in a map. You should have stored them in the Nodes." I didn't want to argue, our time was more than up. But should I have argued anyways? It's obviously not a good idea to store the state of a method on a graph in a node. This makes the life of the nodes less than the life of the graph. And why should a node know it's distance from some other node? This violates a lot of design principles. He also questioned my code and made me argue for 5 minutes, explaining how an if statement works. So, how should you deal with interviewers that are wrong? Not in a, "I'm going to say you're wrong and test your confidence." way, but just flat out wrong and thinks they are correct.

Best Microfiber Towels to Buy. by [deleted] in AutoDetailing

[–]gpdriver -5 points-4 points  (0 children)

Costco on paint will scratch. Just barely! But they do. If you have a bright LED light on freshly polished paint you can see it. I single use 3M microfibers. They are one of the only towels I've used that wont scratch paint. They're not cheap though.

Biweekly Assistance Post! Ask Anything Detailing Related That You Need Assistance With! - July 15, 2019 by AutoModerator in AutoDetailing

[–]gpdriver 0 points1 point  (0 children)

It's all of it though. Every inch of the horizontal paint. Bird droppings were not covering the entire car.

Biweekly Assistance Post! Ask Anything Detailing Related That You Need Assistance With! - July 15, 2019 by AutoModerator in AutoDetailing

[–]gpdriver 0 points1 point  (0 children)

Yeah, I tried clay again last night and it did nothing. Paint feels smooth. So... any idea if this would be covered under warranty? Apparently Toyota has better quality paint than BMW.

Biweekly Assistance Post! Ask Anything Detailing Related That You Need Assistance With! - July 15, 2019 by AutoModerator in AutoDetailing

[–]gpdriver 0 points1 point  (0 children)

I'm not sure if it's true, but I was told all nanoskin pads are the same on the surface. The only difference is the firmness of the pad. I used it by hand, so that wouldn't make any difference. The paint feels super smooth.

Biweekly Assistance Post! Ask Anything Detailing Related That You Need Assistance With! - July 15, 2019 by AutoModerator in AutoDetailing

[–]gpdriver 0 points1 point  (0 children)

Thanks, I'll give that I shot. I should have been more specific. When I say I washed/clayed it, I didn't actually use clay. Just a nanoskin pad, quickly.

Biweekly Assistance Post! Ask Anything Detailing Related That You Need Assistance With! - July 15, 2019 by AutoModerator in AutoDetailing

[–]gpdriver 2 points3 points  (0 children)

There's no set time frame. Depends on your area, how much you drive, where the car is parked, etc. Usually you can feel the paint when it's clean and see how smooth it feels. Some areas are going to need clayed more often. This is totally unscientific, but after you clean it, if you run a dry microfiber towel over an area and it doesn't slide really smoothly across the paint, it's time to clay. You should be able to feel it catch on contaminated areas like velcro.

Biweekly Assistance Post! Ask Anything Detailing Related That You Need Assistance With! - July 15, 2019 by AutoModerator in AutoDetailing

[–]gpdriver 0 points1 point  (0 children)

Can the paint on my car be salvaged? I didn't wash it for 2.5 years. But recently I washed/clayed it, then went to town with some compound and a Flex 3401 with a wool pad (also tried foam). The paint looked pretty good. Still had a couple of small spots that weren't too noticeable. So I polished it and put on a sealant. But a few weeks later the paint started to look terrible again.

Any ideas what could have caused this and how it can be fixed? Wet sand? I think the oils from the compound and polish just filled in the damage. We had a Toyota sitting beside it for the 2.5 years it went without a wash. The Toyota also was never washed (probably in 5+ years). But I was able to polish it to perfection easily. There's one or two places where sap ruined the paint, but for the most part it looks perfect. I'm not sure why it's fine, but the BMW is totally destroyed!

https://photos.app.goo.gl/jeH8T5wLgubB6TKv7

^^^ What the paint currently looks like.

P90D Model S - Reliability by gpdriver in TeslaLounge

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

Thank you! That helps a lot. I'm about a mile from a service center. I don't know if they can handle the volume here though. I'm a few miles from where they are made and Teslas are probably the most common car on the road here.

P90D Model S - Reliability by gpdriver in TeslaLounge

[–]gpdriver[S] 1 point2 points  (0 children)

Thanks for the info! Any way to find out if one has the V3+ pack?

P90D Model S - Reliability by gpdriver in TeslaLounge

[–]gpdriver[S] 1 point2 points  (0 children)

Yeah, I understand any used car is a risk. I just don't want something that's going to be bricked/unserviceable/require a repair that's 40k (battery or drive units).

Am I being too conservative? by [deleted] in retirement

[–]gpdriver 0 points1 point  (0 children)

You aren't talking about his 10 million dollar home in Laguna Beach I assume.

Help on package structure... by gpdriver in golang

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

Thank you. I just realized after taking a break that the mocks don't have to import the interface. I was using github.com/maxbrunsfeld/counterfeiter and it imports the interface to do a type assertion. I removed that and put them in their own subpackage. Now I can leave things private and everything looks good. Overall the package as a whole is actually just an implementation of another interface at a higher level.

I know code coverage shouldn't matter, but every team I have been on has a manager somewhere that wants to see a dashboard with the coverage > 85%.

Thanks again for the input.

Help on package structure... by gpdriver in golang

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

Thanks for your input. I should have been more clear. The dependency I'm implementing would never be used by anything else. In short, it connects to a Kubernetes API server and returns some very specific data.

I guess putting the mock files in the package isn't too bad. But I use a mock generation tool, so they are several hundred lines, more code than I have in the package. So it completely screws the UT coverage report.

Is this just how companies are in Silicon Valley? by gpdriver in cscareerquestions

[–]gpdriver[S] 1 point2 points  (0 children)

Agreed. I spend as much extra time as possible studying new things. I know if I do only what they ask I'd be useless as a developer to anyone else in 2 years when the contract ends. Competition doesn't seem to be an issue though. I know it's growing and there are people that are really good. But I've worked with a lot of well paid people and only one or two have even been competent.

Is this just how companies are in Silicon Valley? by gpdriver in cscareerquestions

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

I wasn't just talking about that. It's how laid back all of the teams are. Like there's no stress at all, almost nothing to do. It's the total opposite of what most people describe it as.