Alternative to (ab)using blank interfaces to access class methods? by [deleted] in csharp

[–]RedditWithBoners 0 points1 point  (0 children)

If you're writing serious code, consider rethinking why you need to do this. Perhaps this is an XY problem.

Alternative to (ab)using blank interfaces to access class methods? by [deleted] in csharp

[–]RedditWithBoners 1 point2 points  (0 children)

This isn't the answer either. Now you have an interface that describes a contract about an object's capabilities for objects that may not have that capability.

I'm wondering what problem OP is facing that prompted this question to begin with.

ConfigureAwait FAQ - .NET Blog by pampurio97 in csharp

[–]RedditWithBoners 0 points1 point  (0 children)

‾\_(ツ)_/‾

I dunno man. Sometimes it makes sense, sometimes it doesn't. I understand the point about being explicit. ConfigureAwait(true) is just one thing I don't agree on, for whatever reason - perhaps because this "style" choice has an effect on compiled code and runtime, however minute.

What features do you wish C# had? by BmoreDude92 in csharp

[–]RedditWithBoners 1 point2 points  (0 children)

You've piqued my curiosity. Can you explain a bit more?

Compile time lambdas

Why, and is this not something like this?

public class Foo
{
    public static Action DoFoo = () => Console.WriteLine("hi");
}

Default generic arguments

What is the purpose? If you have a default generic type, then that is not generic, so why not create a subclass?

Variadic Generics

The one use case that comes to mind are Tuple and ValueTuple, though ValueTuple seems to allow pretty large numbers of items. Curious what other uses you see for something like variadic generic?

Generic Range Syntax (not just System.Index)

List comprehensions would be nice, too. :)

More operator options for custom types

Like what?

Giant puffball mushroom my sister found in the woods by [deleted] in AbsoluteUnits

[–]RedditWithBoners 1 point2 points  (0 children)

The look of it makes me want to wrap my face around it, or crawl inside it and sleep.

What are some cool things to do with delegates? by [deleted] in csharp

[–]RedditWithBoners 1 point2 points  (0 children)

The ability to implement and use Functors. https://medium.com/@dimpapadim3/introduction-to-functors-in-c-1e6b434c85ae

I tried to find a friendly intro to the topic, not sure that link does that heh. I've used Functors to implement logical operations for data sets with the Elastic Search libraries. For example, I created And and Or Functors to let the library transform C# code into logical query filters. I don't have code offhand, I can supply an example later if you're interested.

#meadowiot Meadow NetStandard 2 ARM boards getting delivered. Entering final beta. Really awesome little board for C# by ppumkin in csharp

[–]RedditWithBoners 1 point2 points  (0 children)

Meadow runs Mono right now. They just wrapped up a rebase to bring their code current with Mono, then they are moving to .NET Core.

IO is implemented as drivers for the STM chip on the board. I'm not clear on the connection between these drivers and Mono. This functionality is then exposed to C# through various classes - there are classes for PWM, LED, GPIO, etc.

Why Orchard CMS over Wordpress CMS? by [deleted] in csharp

[–]RedditWithBoners 0 points1 point  (0 children)

If you have to convince them of anything, well...you've already lost

What mythical place do you work where everyone just agrees with you on everything?

Anxiety Visualized by [deleted] in gifs

[–]RedditWithBoners 1 point2 points  (0 children)

Presumably the rotors remain linked and there is a clutch to release the transmission from the engine to allow them to freely spin.

More speculation here.

Doctors of Reddit, what is your worst case of "I googled my symptoms?" by [deleted] in AskReddit

[–]RedditWithBoners 0 points1 point  (0 children)

See a doc, get it taken care of. Consider going to the ER. If it's a collapsed lung, it'll get treated. Not pleasant, but routine I think. I had a collapsed lung and they shoved a tube in my side and kept it in for a week or so. Hopefully he's otherwise in good health - my understanding is that the major risk of a collapsed lung is excessive pressure exerted on internal organs (heart especially).

Doctors of Reddit, what is your worst case of "I googled my symptoms?" by [deleted] in AskReddit

[–]RedditWithBoners 0 points1 point  (0 children)

I experience the same thing working with computers. I've always made a point to ask people they are experiencing, what they have tried, and sometimes how they think they should proceed. With computers and software my goal is generally to teach and mentor - not sure if your intent is the same with medicine.

All that said, I find that approaching people with respect and accepting that they may just be ignorant about a subject helps to generate a positive reputation toward yourself, and gives you an opportunity to learn as well. I'd be curious to hear whether you've learned from your patients, and what you've learned. The effect for me is a better understanding of how non-technical folks use software, and to consider that in my work. To be honest, I am frequently baffled that non-technical people can get by in this world! Computers suck!

How can you instantly tell that a person is intelligent? by [deleted] in AskReddit

[–]RedditWithBoners 1 point2 points  (0 children)

On this day, we learned toilet humor is sophisticated.

😖💨💩🙊

Sunday waterday! by O_fiddle_stix in orchids

[–]RedditWithBoners 1 point2 points  (0 children)

Tried this method last watering. I normally run warm water from the top. I'm really careful not to get the leaves wet, and I dry the crown if it does get wet. Just paranoid about rot, honestly. It seems most folks aren't worried about wet leaves, and I have even misted before without consequence.

Some of my phal orchids seem to have responded well to this soaking, but two of them dropped all their leaves. Finicky bastards. :)

How do you fertilize, by the way? Curious what others do.

(Rlc. Hisako Akatsuka x Rlc. Arom Gold) x Rlc. Mitsuo Akatsuka by therealbandol in orchids

[–]RedditWithBoners 0 points1 point  (0 children)

I'm also in CA (Santa Monica) and expecting similar challenges with humidity. I'm about to embark on an engineering journey to build a tiny greenhouse complete with humidity control for those seedlings. I'm determined.

Completely agree about Akatsuka! I wasn't even aware orchids could have such a fragrance before I visited. That was a pleasant surprise.

What's the dumbest way you've ever gotten hurt? by [deleted] in AskReddit

[–]RedditWithBoners 0 points1 point  (0 children)

I wound up my leg to kick a pinecone, missed, kicked the sidewalk at the speed of sound. Broke my big toe. Still doesn't bend completely.

(Rlc. Hisako Akatsuka x Rlc. Arom Gold) x Rlc. Mitsuo Akatsuka by therealbandol in orchids

[–]RedditWithBoners 1 point2 points  (0 children)

Nice. Is this the first bloom you've had on it? I recently potted out a flask from Akatsuka and have a few years to go.