Advertisement ยท 728 ร— 90

Posts by Egil Hansen

The Internet Was Weeks Away From Disaster and No One Knew
The Internet Was Weeks Away From Disaster and No One Knew YouTube video by Veritasium

This video does a great job covering the good and bad sides of open source software. The researcher from Microsoft gets a lot praise for discovering the hack, but the real hero is the sole developer from Finland who has been supporting the XZ library for free for 20 years: youtu.be/aoag03mSuXQ?...

1 month ago 3 1 0 0

Thanks Stacy.

4 months ago 1 0 1 0

Want more of this? Back in October, I did a presentation on this exact topic at @hellostavanger and it covers a bunch of extra details and examples we didnโ€™t get to in the podcast: youtu.be/yT1ckNTCW60?...

4 months ago 1 0 0 0

Yeah Iโ€™ve lost countless hours to build pipelines.
Custom images/runners is the way to go. Basically docker image that runs your pipeline scripts. Then you have much more control over things.

6 months ago 1 0 0 0
Show hosts for .NET Rocks Podcast playfully holding mics.
Text reads: Valuable Testing with Egil Hansen

Show hosts for .NET Rocks Podcast playfully holding mics. Text reads: Valuable Testing with Egil Hansen

You write tests. But are they helping you and your team?
In this .NET Rocks! episode, @egilhansen.com explores how to make tests more durable, insightful, and future-proof. Plus: should AI be writing your tests? ๐Ÿค– #dotnet
๐ŸŽง Listen here: msft.it/63323sFo2T

6 months ago 6 2 0 1

They will be very useful in source generator scenarios.

6 months ago 1 0 0 0

Suffering for your friends I see ๐Ÿ™‚

6 months ago 2 0 0 0

Oh ffs. Spelling is hard. Pleasure. Itโ€™s a pleasure ๐Ÿ˜†

6 months ago 3 0 0 0
Advertisement

Always a please chatting with Carl and Richard on their podcast!

6 months ago 5 0 1 0

It would ๐Ÿ™‚

10 months ago 1 0 1 0

Try LinkedIn, itโ€™s all self-congratulatory posts ๐Ÿ™‚

10 months ago 0 0 0 0

Iโ€™ve also had good success using this package: www.nuget.org/packages/Mez...

11 months ago 2 0 1 0

I am more thinking about what to snapshot test and what not to snapshot test.

E.g., a rule I try to follow is to not include irrelevant (to the test) data in the snapshot, as it makes it harder to validate the snapshot when it changes.

11 months ago 0 0 1 0

@simoncropp.bsky.social do you have a list of does and donts in snapshot testing somewhere? Examples of good patterns and anti patterns with Verify?

11 months ago 0 0 1 0
Getting Forked by Microsoft Three years ago, I was part of a team responsible for developing and maintaining Kubernetes clusters for end user customers. A main source for downtime in customer environments occurred when image reg...

If the facts are as the article lays them out, I hope one of my friends from #microsoft will make this right. Adherence to OSS licenses is important!

philiplaine.com/posts/gettin...

11 months ago 0 0 1 1

Yep, saw this live. Huge respect for people that dare to be vulnerable; itโ€™s such a powerful thing.

1 year ago 5 2 1 0
Advertisement
Preview
Egil.StronglyTypedPrimitives 1.9.7 A source generator for creating strongly-typed primitive types that makes it easy to avoid the primitive obsession anti pattern. Add a [StronglyTyped] attribute to a partial record struct ...

Need a cure for that primitive obsession in #dotnet? Take a look at www.nuget.org/packages/Egi...

First real attempt at a source generator library. Happy with the result. A key feature is that itโ€™s very easy to overwrite the default generated code, just as it is with C# record classes and structs.

1 year ago 4 0 1 0

Going live with @steven-giesel.com for the first #bUnit dev session of this month. We may even get a visit from @scottsauber.com :)

Join at twitch.tv/egilhansen and www.youtube.com/watch?v=jZrZ...

1 year ago 0 0 0 1

Congrats Scott. You are living the dream!

1 year ago 0 0 0 0

This could be said about the internet in general.

1 year ago 3 0 0 0
bUnit dev session #28
bUnit dev session #28 YouTube video by Egil Hansen

Hey folks, @steven-giesel.com and I just went live with another #bunit dev session. Come hang and lets build v2 together.

www.youtube.com/watch?v=fvBn...

and

twitch.tv/egilhansen

1 year ago 2 1 0 0

Actually, I think I usually do a `git clean -fdx` for a "reset the world" operation.

1 year ago 1 0 0 0

There is a git command that does it, just canโ€™t remember it when I need it, so have to search the web. If your tool had a -all option that would be great ๐Ÿ˜Š

1 year ago 0 0 2 0

Could it also have an option that does the same a clean git clone?

Sometimes deleting e.g., the .vs folder helps with weirdness in vs.

1 year ago 0 0 1 0
Advertisement

By using Aspire and related client libraries you get basic telemetry out of the box (without solution specific context), so Iโ€™ll do that and then add some/few end-2-end tests for basic protection against regressions.

1 year ago 1 0 0 0

Solve different problems, so itโ€™s like comparing apples and oranges.

1 year ago 0 0 1 0

@captainsafia.com does (or will) #dotnet's OpenApi generator have a way to declare a custom schema transformer for type as an attribute, like we can with JsonConverter?

E.g.:

[OpenApiTransformer<MyIdSchemaTransformer>()]
public record MyId(int Value);

1 year ago 1 0 1 0
Preview
Creating an incremental generator: Creating a source generator - Part 1 In this post I walk through how to create a practical .NET 6 incremental source generator: an enum extensions class with a fast ToString() implementation

Itโ€™s not trivial for sure.

@andrewlock.bsky.social has all the details here: andrewlock.net/creating-a-s...

1 year ago 4 1 0 0

They do, but we have something called incremental generator, that ensures a generator only runs when the code itโ€™s targeting has changed, so that helps quite a bit. @captainsafia.com can speak to this quite a bit better than I can.

1 year ago 0 0 1 0

Thanks, appreciate your efforts here.

1 year ago 0 0 0 0