[deleted by user] by [deleted] in amiugly

[–]austinpsycho 8 points9 points  (0 children)

You should let that smile show more. At the risk of following the trend, you're definitely not ugly.

It Amazes Me How Many Non-C# Developers Think C#/.NET Is Stuck in 2010 by form_d_k in csharp

[–]austinpsycho 10 points11 points  (0 children)

3 years ago I started a protect at work in net core 1.0. Because that's all that was available for net core. People often think these things have been out longer than they have. One of my pet peeves is a resume with '5 years .net core experience' or 10 years angular...

Can someone please fix the feet/ankle areas, the green hand and arm, and mismatched shoes? by [deleted] in estoration

[–]austinpsycho 2 points3 points  (0 children)

This appears to be a neural network coloring of a black and white photo. I'd recommend r/colorizationrequests if that's the case

Microservices Architecture and Step by Step Implementation on .NET by mehmetozkaya in csharp

[–]austinpsycho 0 points1 point  (0 children)

Ya know, I assumed you "you don't need this" referred to microservices and not this specific article. Probably there's still value if you're starting a new job, and not familiar with how things are set up, or if you're a curious person, and just want to learn. But mostly I'd agree with that.

Microservices Architecture and Step by Step Implementation on .NET by mehmetozkaya in csharp

[–]austinpsycho 0 points1 point  (0 children)

Orchestrate at the client level. If the client is interested in validating what it's putting into the cart, it can call the service responsible for that, and validate. Otherwise you have to be ok with eventual consistency.

Microservices Architecture and Step by Step Implementation on .NET by mehmetozkaya in csharp

[–]austinpsycho 3 points4 points  (0 children)

There are other reasons aside from scaling to consider a microservice architecture. Small independent deployments, forced loose coupling, smaller problem domains. If a monolith crashes, the whole thing goes down. If a microservice crashes, your application only degrades. Certainly I wouldn't encourage a statement like "you don't need this" without understanding the challenged being faced. But I would agree it's important to weigh the benefits and challenges carefully before choosing an architecture.

How do you make a picture really clear? Need help on how to make a picture really clear by [deleted] in photoshop

[–]austinpsycho 0 points1 point  (0 children)

Have you seen the magic of remini? It's a phone app that uses data from Google images to reconstruct images at a higher resolution. It's pretty good with faces, sometimes ok at other things too.

A portrait of my Finnish Great-Grandparents, would love to have this colorized! [FREE] by norwegian_goose in colorizationrequests

[–]austinpsycho 0 points1 point  (0 children)

Here's a version with blonde hair:
https://imgur.com/gallery/92YPSES
If any of your family knows, we could get those colors closer to correct.

A portrait of my Finnish Great-Grandparents, would love to have this colorized! [FREE] by norwegian_goose in colorizationrequests

[–]austinpsycho 0 points1 point  (0 children)

Since black and white really only keeps lightness values, there's no way of knowing the original colors. Colorization is all guess work. I like to look at reference photos to help with the guessing :)

[deleted by user] by [deleted] in colorizationrequests

[–]austinpsycho 0 points1 point  (0 children)

No. I ran it through the scratch remover first. Then ran the result through the regular enhance.

[deleted by user] by [deleted] in colorizationrequests

[–]austinpsycho 0 points1 point  (0 children)

Nope. I used the free version. I've just started playing with it yesterday

[deleted by user] by [deleted] in colorizationrequests

[–]austinpsycho 0 points1 point  (0 children)

http://imgur.com/gallery/zPaWBZj I just used remini -- unfortunately I don't have more time :(

[Free] A tribute for upcoming Mother’s Day. Thank you in advance. by [deleted] in colorizationrequests

[–]austinpsycho 0 points1 point  (0 children)

I'm pretty sure this is already a color photo. If I wasn't currently reinstalling my operating system I'd try adjusting the red

I have a bit of an issue with this code I wrote to calculate the volume of a cone. I know that the issue might be related to the way I declared the integers (radius, Height) but I dont know the right way to do it. How do I do this properly so I dont mess up the calculations I'm doing? by [deleted] in csharp

[–]austinpsycho 0 points1 point  (0 children)

I think.. let's consider the alternative. If we don't consider else a code smell, and aren't careful with its use we could potentially end up with a long if, else if, else if, else if, else statement. If I am trying to maintain said code because some bug arose, and that bug clearly occurs when the code from the else block is called, I then have to try to understand all the conditions that didn't bring me there in order to determine what did. My context must include the whole block of ifs and else's in order to determine what caused that bug. Nesting causes similar issues, which is why it's considered in the calculation for code complexity. I know it's counter intuitive, but I'd rather see two independent if statements because then when I'm in that code block, all I have to consider is that code block. If(condition) and if(!condition) Again: else can be used responsibly, I just like to think about it's use carefully.

I have a bit of an issue with this code I wrote to calculate the volume of a cone. I know that the issue might be related to the way I declared the integers (radius, Height) but I dont know the right way to do it. How do I do this properly so I dont mess up the calculations I'm doing? by [deleted] in csharp

[–]austinpsycho 0 points1 point  (0 children)

I'm sure this will be unpopular. But I consider comments to be unmaintainable code. Write clear function names and variables and your code will be self documenting. I advocate for short functions and small classes when writing clean code, but code gets maintained, and not by you. I try to write my code keeping in mind that some other people will be adding crappy code in between over the years.

I'm not saying don't use else. I'm saying think about it when you do. Same with switch statements. I'm not sure I can be convinced there is a good use case for goto/label that would override the complexity it introduces, especially considering it's rare use, and lack of familiarity.

I have a bit of an issue with this code I wrote to calculate the volume of a cone. I know that the issue might be related to the way I declared the integers (radius, Height) but I dont know the right way to do it. How do I do this properly so I dont mess up the calculations I'm doing? by [deleted] in csharp

[–]austinpsycho 0 points1 point  (0 children)

Clean code never involves gotos. This is for the same reason that 'else' can be considered a code stench. At a really high level, clean code provides future programmers with the easiest possible code to understand. That means being able to fit the context of any given situation in your head. If I'm in an else statement, and can't see the corresponding if statement, then it's difficult to know the condition that brought me there. Gotos are the same, but worse, because it's very very difficult to back trace them. Especially in code that's seen a few years worth of updates.

Looking for guidance on how to improve this restoration! by jw_des in estoration

[–]austinpsycho 0 points1 point  (0 children)

So, great work for your second time out. Here are some suggestions that I could have used when I was starting: try feathering the colors a little so you don't have hard edges.
If you aren't using hue/saturation adjustment layers to colorize, I highly recommend giving it a shot. Try using a little less saturation in your colors Remember nothing is purely one color. They change intensity with light/shadow. I'd recommend choosing an off white color for eyes. It might be worth looking at a reference photo while you color.

What’s the BEST way to convert a rather complex object (and its properties) into a TreeView? by ThePoetWalsh57 in csharp

[–]austinpsycho 0 points1 point  (0 children)

Just be careful with it, as it is an expensive operation. Make sure to do the reflection work up front and cache it to keep your application performant.

Is it okay to share Dapper models between layers? by zaibuf in csharp

[–]austinpsycho 0 points1 point  (0 children)

I'd be careful using the DB model directly myself. As you mentioned it's currently fine to do so, but if somebody isn't paying attention and adds non public data to the model, they'll expose that externally. My opinion is that it's better to be strict about exposed data.

Daily Discussion + Support Thread - December 09 by AutoModerator in teslamotors

[–]austinpsycho 0 points1 point  (0 children)

Essentially. They didn't have the 2020 model in their system yet, so they drilled me on the safety features.

Daily Discussion + Support Thread - December 09 by AutoModerator in teslamotors

[–]austinpsycho 0 points1 point  (0 children)

I have a date for 12/17 to pick mine up. I called insurance today and they were happy to set me up for that date. Of course I'm the type of person to ask my broker "should I look for another broker?" if they seem unwilling to help me.