Harry Cordewener's Avatar

Harry Cordewener

@harrycordewener.bsky.social

Principal Software Engineer with a #dotnet, ( #csharp and minor #fsharp ) focus, architecture aspirations, and a deep love for everything #regex and #textbased. Keeping my skills sharp with niche #developer projects.

64 Followers  |  256 Following  |  33 Posts  |  Joined: 30.10.2024  |  2.3699

Latest posts by harrycordewener.bsky.social on Bluesky

I am admittedly not very familiar with the term 'frontmatter'.

There are similar things for representing Obsidian Markdown if you want a bit more power to your markdown.

18.05.2025 20:20 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
GitHub - erkobridee/astro-starlight-hello: Testing the Astro Starlight Testing the Astro Starlight. Contribute to erkobridee/astro-starlight-hello development by creating an account on GitHub.

If you don't mind just a little bit of config and research, Astro Starlight can likely do what you want.

github.com/erkobridee/a...

18.05.2025 20:19 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Getting Started With ANTLR in C# - Strumenta Getting started with ANTLR for C# is easy: we are going to show you how to configure your system, write your grammar and get your C# parser.

tomassetti.me/getting-star... for a good guide on how to get started with ANTLR4.

There's of course alternatives as well, FParsec or Farkle if you don't mind some F# in your C#.

26.03.2025 23:26 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Spec Markdown

Have you checked out spec-md.com?

Take note that many of the 'other defaults' are usually just the syntax highlighting library they happen to use like highlightjs.org.

You'll want to learn a Parser like ANTLR4 to do this kind of work.

26.03.2025 23:21 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Maybe they'll accept some Frikandel Speciaal instead.

14.01.2025 16:21 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
ImmutableDictionary<TKey,TValue> Class (System.Collections.Immutable) Represents an immutable, unordered collection of keys and values. NuGet package: System.Collections.Immutable (about immutable collections and how to install)

Check out the Immutable collection definitions: learn.microsoft.com/en-us/dotnet...

This may suit your goals even more.

03.01.2025 15:39 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Honestly? Too broad a question to really answer adequately.

03.01.2025 04:21 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I'm with you on how difficult it can sometimes be to figure out what 'implementation' is being used, when dealing with deeper forms of DI etc. And I'm with you on making sure things live somewhere useful. But it feels like most of your complaint comes down to misuse of interfaces and bad code org?

03.01.2025 04:20 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I've generally, in my professional career, seen Interfaces for proper compositing across multiple types and mocking in unit testing -- or be used for implementation by multiple classes. Be the typical repository or adaptor patterns.

03.01.2025 04:19 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

Aside from maybe being a big different to navigate for them, what makes it a 'stupid pattern'?

03.01.2025 02:28 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Thoughts on using libraries like OneOf for (Discriminated) Unions to avoid Nulls in a larger scope of your project?

23.12.2024 15:09 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Neat project, but I'm not sure how to feel about choosing between ad-covered and not-too-great third party documentation, or paying the maintainer $5 for documentation.

17.12.2024 19:32 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Thoughts on using Jupyter or Polyglot Notebooks in VSCode as an alternative, if you've used it -- compared to LinqPad?

17.12.2024 02:32 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Welcome | authentik Bring all of your authentication into a unified platform.

Your app being dotnet doesn't matter too much if you snag something that has OAuth2 capabilities in general.

goauthentik.io is a free OS alternative to Okta.

12.12.2024 19:42 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Next time it does nonsense like that, check the output tab and drop to the test output in there. Could be a variety of things.

12.12.2024 01:03 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Why You Shouldn't Nest Your Code
YouTube video by CodeAesthetic Why You Shouldn't Nest Your Code

I'll also leave you with this - as it introduces some useful concepts around style, nesting, guard clauses, etc.

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

12.12.2024 00:02 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Spectre.Console - Welcome! Spectre.Console is a .NET library that makes it easier to create beautiful console applications.

Check out spectreconsole.net
With a callout to: spectreconsole.net/prompts/text

Even in normal form, you don't need this many if-else statements. You can keep track of this state within a loop, switch statements, etc. Let me know if you need some examples.

11.12.2024 23:42 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

The desire for proper posture.

29.11.2024 02:23 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
GitHub - benpollarduk/NetAF: A C# library that provides a framework for building text adventures and interactive stories in .NET. A C# library that provides a framework for building text adventures and interactive stories in .NET. - benpollarduk/NetAF

I have no experience with this specific library myself, but check out this:
github.com/benpollarduk...

24.11.2024 20:30 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Heavily aligned to that, check out the PeriodicTimer class.
Another way is keeping track of when the last time a deposit or reduction was made -- and any time you check, deposit, or withdraw, calculate the new value based on that moment in time. That way you don't have to keep a Timer.

17.11.2024 19:42 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

There's a few fun ways to implement that. How did you do it?

17.11.2024 04:41 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
SharpMUSH/SharpMUSH.MarkupString/MarkupString.fs at b10023380f9514d9f26a8d7081e097d37e4ffaa7 Β· SharpMUSH/SharpMUSH A dotnet MUSH Server with a PennMUSH compatibility layer - SharpMUSH/SharpMUSH

One of my favorite parts of #dotnet 9 is that the compiler is better at telling me if my #fsharp code has something marked as Tail Recursive when it in fact, isn't.

It is also teaching me that I need to get better at tail recursion!

14.11.2024 17:41 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

Check out the various languages' "TestContainers" packages if you at all intend to use it for testing. They make all that jazz so much easier.

12.11.2024 02:31 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Slowly, she's coming over to the NuGet side...

09.11.2024 19:11 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Discriminated Unions are a blessing.

02.11.2024 00:51 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Are you saying you are a developer, but they don't give you admin privs on your machine?

01.11.2024 22:55 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Scrabble, the Game of Life and Snake are simple ones you could easily implement without too much trouble in under a week.

01.11.2024 19:08 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Spectre.Console - Welcome! Spectre.Console is a .NET library that makes it easier to create beautiful console applications.

I'm a sucker for text based games as well.

Check out this nuget package to spice it up:
spectreconsole.net

31.10.2024 15:07 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

JetBrains Rider actually went free for Non-Commercial teams as well. And they have a few Programs for discounts to help Startups etc.

31.10.2024 03:39 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
BigInteger Struct (System.Numerics) Represents an arbitrarily large signed integer.

Check out BigInteger:
learn.microsoft.com/en-us/dotnet...

30.10.2024 17:40 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@harrycordewener is following 20 prominent accounts