•  


Coding Militia

Where are my traces? (weird .NET meets OpenTelemetry gotcha)

Quick post about a weird gotcha I found when using distributed tracing with OpenTelemetry .NET, in a system where not all services have otel setup

May 13, 2024  · 6 min · 1106 words · Joao Antunes

Primitive vs strongly typed dictionary keys (feat. frozen collections and BenchmarkDotNet)

Quick post comparing the usage of different types as dictionary keys, including using custom types instead of only primitive types.

April 13, 2024  · 8 min · 1557 words · Joao Antunes

A .NET parallel Kafka consumer proof of concept (feat. Akka.NET and the actor model)

For some time now, I’ve been thinking about implementing a parallel Kafka consumer proof of concept in C#. I finally got around to it, and this post describes the process.

January 8, 2024  · 19 min · 3954 words · Joao Antunes

Byte array as a dictionary key? Trying out some options

Using arrays as a dictionary key is not really something very common, but I had the need for it, so did some investigation to try and figure out a good way to do it.

December 6, 2023  · 15 min · 3189 words · Joao Antunes

Observing .NET microservices with OpenTelemetry - logs, traces and metrics

Observability has been one of the hot topics, with the increasing complexity of knowing what is going on in our applications. Fortunately, .NET has been investing in making things easier with OpenTelemetry.

September 5, 2023  · 27 min · 5619 words · Joao Antunes

"Parse, don't validate" and other type safety driven shenanigans (plus a C# wishlist)

Making use of the type system is something I feel should be important when working in a strongly typed language like C#. However, I don’t feel like that’s the case, and I would love for the language to push folks in the direction of creating more robust programs, where the compiler provides more help in proving the correctness of the code.

August 17, 2023  · 15 min · 3111 words · Joao Antunes

Enforce conventions (but don't go overboard) with architecture tests

I’ve been trying to flee the over-engineered C# solution structures, with multiple projects, with related code scattered around. Even if an imperfect solution, I’ve turned to NetArchTest to help in guide on following some conventions in a simplified solution structure.

July 28, 2023  · 7 min · 1394 words · Joao Antunes

From domain events to infrastructure - thinking out loud about possible approaches I don’t hate

On the topics of domain-driven design and event-driven architecture, something that’s been on my mind for quite some time, is the process of handling domain events, as well as potentially translating them into integration events.

May 16, 2023  · 16 min · 3237 words · Joao Antunes

Checking out EF Core inheritance options

Recently there was a need to use a hierarchy in a domain model, and there was a question about which of the available approaches to use - table per hierarchy (TPH), table per type (TPT) or table per concrete type (TPC). This very brief post is just a quick look at some benchmarks I created on the subject.

May 8, 2023  · 10 min · 1931 words · Joao Antunes

A reminder to consider that your context, isn’t the only context (.NET 8 TimeProvider edition)

This will be a very brief post, just as a reminder that we need to give things a good thought, trying to limit our biases (I’ll focus on software development, but it’s applicable to everything really).

April 24, 2023  · 4 min · 653 words · Joao Antunes
- "漢字路" 한글한자자동변환 서비스는 교육부 고전문헌국역지원사업의 지원으로 구축되었습니다.
- "漢字路" 한글한자자동변환 서비스는 전통문화연구회 "울산대학교한국어처리연구실 옥철영(IT융합전공)교수팀"에서 개발한 한글한자자동변환기를 바탕하여 지속적으로 공동 연구 개발하고 있는 서비스입니다.
- 현재 고유명사(인명, 지명등)을 비롯한 여러 변환오류가 있으며 이를 해결하고자 많은 연구 개발을 진행하고자 하고 있습니다. 이를 인지하시고 다른 곳에서 인용시 한자 변환 결과를 한번 더 검토하시고 사용해 주시기 바랍니다.
- 변환오류 및 건의,문의사항은 juntong@juntong.or.kr로 메일로 보내주시면 감사하겠습니다. .
Copyright ⓒ 2020 By '전통문화연구회(傳統文化硏究會)' All Rights reserved.
 한국   대만   중국   일본