ohai.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A cozy, fast and secure Mastodon server where everyone is welcome. Run by the folks at ohai.is.

Administered by:

Server stats:

1.8K
active users

#code

65 posts49 participants8 posts today

3 simple tips for beginners to get started with using Autofac in CSharp!

Autofac is one of my favorite NuGet packages for all of the work I do with plugin-based architectures.

This article contains 3 simple tips for getting you up and running with Autofac if you're a beginner!

Have you tried using Autofac in your projects? What was your favorite and least favorite part about using it?

Check out the article:
devleader.ca/2024/02/25/using-

#CSharp#DotNet#Code

Scrutor or Autofac for CSharp dependency injection... Who wins?

Which one comes out on top between these two solutions for dependency injection in dotnet?

TL; DR:
- Scrutor easily integrates with IServiceCollection
- Scrutor supports lightweight assembly scanning
- Autofac is extremely feature-rich (may be overkill for many)
- Integrates with IServiceCollection but not as elegant

Have you used either of these libraries for dependency injection? Share your experiences, or if you use something else!

Check out the article:
devleader.ca/2024/02/23/scruto

#CSharp#DotNet#Code

Working on some #code written by an #intern a few years ago and it's taking all of my energy to just add the feature and not refactor the whole thing. What's the point of having an intern and not reviewing their code as they go to prevent these issues? So verbose, so much duplication 😡😡

I guess I've been writing tools all by myself here with no review either, hopefully whoever takes them over eventually feels like I designed them reasonably 🤷

Continued thread

Oh and don't get me started on just how difficult it is to use the mac #Terminal, now you wouldn't use this to actually #code with, but sometimes its useful to know how to use... if you could easily navigate the damned thing, but no, Apple just has to make it the most terrible experience ever. I don't know how sighted people do it, because as a #blind person, I hate every second of it, and I really only use it to play muds via #tintin++ if I have no other options.

1000 Meisterwerke: Der Softwarecode von Herrn Parasit – Markscheids Meister der digitalen Leere

Willkommen zu einer weiteren Folge von 1000 Meisterwerke, in der wir uns heute nicht etwa einer Leinwand, einer Skulptur oder gar einer spärlich belegten Pizza widmen, sondern einem Kunstwerk der digital
markscheid.com/1000-meisterwer
#Code #Hommage #MamM #markscheid #Meisterwerk #Programmierung #Quelltext

#Linux #Editors #Code #Dev

What are the editors available these days that *do not* use Chromium/Electron/Atom/etc?

On my system, in vscodium (and I tried zed too) there's a maddening bug where scroll-wheel events are accrued and when you switch-back to the editor, ZIP! you end-up at the bottom (mostly) of your code. 😡 💢

It makes it totally impossible to use, hence looking for other editors.

I even tried gvim again, but it's just so painful to use!

Save me!

🦇

DHS contracted Avelo for disappearing people to foreign camps w/o due process:

apnews.com/article/avelo-airli

How hard to make a publicly available website that:

⑴ tracks planes (Boeing 737-700: N701VL, N702VL, N703VL, N705VL, N706VL (parked), N707VL, N708VL, N721VL, N801XT, N802XT, N803XT, N804VL, N805VL, N806VL, N807VL, N808VL, N809VL, N812VL, N814VL, N815VL)
⑵ plots on map
⑶ marks as commercial flight or a DHS flight?

Bonus: mobile friendly, hosted outside US & accessible in US.

AP News · Budget airline Avelo to fly deportation flights for ICE from ArizonaBy Susan Haigh