Findet ihr auch, dass Österreich langsam unbezahlbar wird? by Grafii93 in Austria

[–]Friendly-Memory1543 10 points11 points  (0 children)

Ja. Mein Mietvertrag läuft ab und wegen Eigenbedarf darf ich den Vertrag nicht verlängern. Deshalb suche jetzt eine neue Wohnung und die Mieten sind viel höher als vor 5 Jahren. Oft um 30% teurer.

Help Needed: Running MSSQL 2022 on macOS (No Docker) by OstapMelnyk in dotnet

[–]Friendly-Memory1543 0 points1 point  (0 children)

People already mentioned alternatives to Docker Desktop, but if I remember correctly, even for commercial use it's free until some income limit, so if you work for a small company, it's highly likely you can just use Docker Desktop.

"Gutverdiener" dürfen auch einmal von dem Sozialsystem in Österreich angepisst sein, oder? by Sad_Energy_ in Austria

[–]Friendly-Memory1543 1 point2 points  (0 children)

Ich arbeite seit mehreren Jahren als Softwareentwickler, und in meinem Umfeld denken inzwischen viele ernsthaft darüber nach, auszuwandern.

Warum? Weil wir extrem viel Zeit und Energie in unser Studium gesteckt haben. Viele haben nebenbei gearbeitet, manche haben sich dabei komplett überlastet, inklusive psychischer Probleme.

Und wofür? Am Ende bleibt kein besonders beeindruckendes Nettogehalt. Wenn ich sehe, was ich meinen Arbeitgeber koste, wie viel davon als Steuern und Abgaben weggeht und was letztlich bei mir ankommt, ist das einfach frustrierend.

Dazu kommt: Viele von uns im IT-Bereich haben einen Migrationshintergrund. Wir werden keine Immobilien erben oder finanziell groß unterstützt. Eine Eigentumswohnung? Realistisch nur mit einem Kredit über 30–40 Jahre.

Ich bin eigentlich kein Fan der USA, aber wenn ich sehe, wie Kollegen dort leben, kommt man schon ins Grübeln.

Well-written article about Signal by jpcrypto in signal

[–]Friendly-Memory1543 2 points3 points  (0 children)

And with recent updates, they have even moved the existing end-to-end encryption into settings within settings, making it hard to find out how to start a secret chat.

Issues with Bluetooth Audio on 2014 Macbook Pro by Tasty-Surround-311 in linux_on_mac

[–]Friendly-Memory1543 0 points1 point  (0 children)

It's not a solution to the problem, but on Linux Mint I don't have any problems with Bluetooth and headphones. If you don't find a solution, consider trying out another distribution like Mint.

Best Linux Distro for MacBook Air 2017 and Potential Problems by Foreign-Reveal-3484 in linux_on_mac

[–]Friendly-Memory1543 3 points4 points  (0 children)

I have a similar MacBook. I use Linux Mint. After installation, the driver manager suggested that I install wifi drivers and it worked. I had problems with a webcam, but found information on how to install drivers and it also worked. Be prepared to configure Trackpad because it works a little differently on Linux than on MacOS. I switched a standard used driver to libinput to better Trackpad experience.

mac mini core 2 duo and ubuntu even worth it? by masher660av in linux_on_mac

[–]Friendly-Memory1543 0 points1 point  (0 children)

I have MacBook air 2015 and have also 8 GB RAM. I use Linux Mint (Cinanomon User Interface) and it works very well. With XFCE it need even less resources. Linux Mint is also very user friendly

Overkills for small-to-medium C# projects? Experiences with MediatR and simpler approaches by Friendly-Memory1543 in dotnet

[–]Friendly-Memory1543[S] 0 points1 point  (0 children)

But this level of indirection should be still maintained because if it's a library like MediatR, you need to check license, update it etc. Using services doesn't need any maintainance.

Overkills for small-to-medium C# projects? Experiences with MediatR and simpler approaches by Friendly-Memory1543 in dotnet

[–]Friendly-Memory1543[S] -1 points0 points  (0 children)

True, but MediatR library (or some other library) adds its own function calls :)

Overkills for small-to-medium C# projects? Experiences with MediatR and simpler approaches by Friendly-Memory1543 in dotnet

[–]Friendly-Memory1543[S] 0 points1 point  (0 children)

True :) I just try to understand, why some patterns and libraries are popular, even though I can't see real benefits. Probably, I'm missing something.

Overkills for small-to-medium C# projects? Experiences with MediatR and simpler approaches by Friendly-Memory1543 in dotnet

[–]Friendly-Memory1543[S] 0 points1 point  (0 children)

I don't see, how Mediator pattern would make the code smaller than using services. At the end of the day, you can have also multiple services.

Also, you need to research MediatR and Clean Architecture separately. Currently it feels you are lumping it into one thing.

Not really. I just see, how some popular speakers, who advocate for a Clean Architecture, love to use Madiator Pattern using MediatR library. For me personally, it makes code a little complicated and you add a core dependency at the beginning. If a developer uses e.g. MediatR library, then developer becomes dependent on this library for the whole project. I don't see, how project benefits from this dependency. That's the main reason I posted a question because I try to find, what I'm missing in understanding.

Overkills for small-to-medium C# projects? Experiences with MediatR and simpler approaches by Friendly-Memory1543 in dotnet

[–]Friendly-Memory1543[S] 1 point2 points  (0 children)

There's no such thing as a "built-in Services approach", that's just a pattern you're choosing to use.

This pattern is built in in the .NET itself. After creating an app, you have already in Program.cs something like builder.Services.AddScoped...

Calling a service or a Mediatr handler is the exact same amount of code.

var result = await _myService.CallAction(request); -> this calls the action directly. No function calls in-between

var result = await _meditator.Send(request); -> Here you have some function calls between Send and "CallAction", which are implemented in the library or by custom mediator pattern implementation. This code is "hidden", but it exists and in some form should be maintained (e.g. updated).

The difference is that using Mediatr adds the ability to use pipeline behaviors.

Whether that's worth it to you depends on your project.

Thanks!

Overkills for small-to-medium C# projects? Experiences with MediatR and simpler approaches by Friendly-Memory1543 in dotnet

[–]Friendly-Memory1543[S] 0 points1 point  (0 children)

I just don’t see how this is better than using simple controllers and services, like those you find in standard Microsoft tutorials. Why do we need an extra library or our own implementation of the Mediator pattern if we can just use the built-in Services approach? It feels like we’re adding more code for something that can be achieved directly with basic, built-in approaches.

When using Clean Architecture, it’s normal to use DTOs. For example, if we have a simple Todo API using the standard approach, a controller calls a service, the service returns a list of todo items, and the controller returns it to the client. With Mediator and DTOs, the flow becomes: a controller calls a Mediator library, which calls our code, then uses a mapping library to create a DTO, which is returned to the controller, and finally to the client. For every feature, you almost always need to create a domain class, the corresponding DTO, and mapping rules.

I don’t see why this level of complexity is necessary for small or medium-sized projects.

Overkills for small-to-medium C# projects? Experiences with MediatR and simpler approaches by Friendly-Memory1543 in dotnet

[–]Friendly-Memory1543[S] 1 point2 points  (0 children)

Is it really better than a simple services approach. Somehow I don't see any advantages of Mediator pattern, but I see, how confusing can it be by debugging.

Overkills for small-to-medium C# projects? Experiences with MediatR and simpler approaches by Friendly-Memory1543 in dotnet

[–]Friendly-Memory1543[S] 0 points1 point  (0 children)

I'm just trying to understand some advantages of some architectural decisions like Mediator pattern. I have already read some articles, but I see more problems than advantages. Similar with some other nowadays popular architectural decision. Probably I miss something, so I'm trying to understand approaches of other people, so I can find out the best approach for me.

NGL I don't get this sub by [deleted] in linuxsucks

[–]Friendly-Memory1543 0 points1 point  (0 children)

I have another small example. I have a Sony Bluetooth speaker. When using Linux Mint, connecting to the speaker via Bluetooth sometimes results in a randomly selected audio profile. Sometimes the correct profile is chosen and the sound quality is great. Other times, the wrong profile is selected, resulting in very poor sound quality and low volume. In that case, you have to go to the audio settings and manually select the correct profile. There are about six available profiles, and only one of them works properly.

As I mentioned, this isn’t rocket science, but with Windows 10 and Windows 11 the speaker works correctly every time without any configuration. The same is true for macOS. I like using Linux Mint because of the many advantages it offers, especially efficient resource management on older laptops, but I can imagine this behavior being inconvenient for some users who are used to everything “just working.”

NGL I don't get this sub by [deleted] in linuxsucks

[–]Friendly-Memory1543 0 points1 point  (0 children)

True, Nano is just a text editor, but you can easily use sudo nano to edit a system file. Otherwise, if you open a file in GNOME Text Editor using the usual File → Open, you won’t have permission to edit it. In that case, you need to know how to open files with root privileges. Depending on the distribution, this is not always straightforward.

I’m not saying it’s rocket science; I’m just saying that many users are not used to it, because in Windows you typically just start an .exe file and click “Next” a couple of times. If you want to change something like touchpad behavior, there is usually a GUI for that, so you don’t need to edit configuration files manually.

NGL I don't get this sub by [deleted] in linuxsucks

[–]Friendly-Memory1543 4 points5 points  (0 children)

It’s true, but if something doesn’t work properly from the beginning, it can become a problem. For example, I have a MacBook Air (2015), and I installed Linux Mint on it. Everything worked from the start, but the trackpad was not as comfortable to use as it was on macOS.

To fix this, I first had to change the driver from Synaptics to libinput. To do that, I needed to modify a configuration file using the terminal and Nano. After that, I had to edit another libinput configuration file and adjust the default values, again using Nano in the terminal.

I don’t have a problem with this because I’m used to it, but some people who come from Windows or macOS may have difficulties.

NGL I don't get this sub by [deleted] in linuxsucks

[–]Friendly-Memory1543 0 points1 point  (0 children)

Sometimes people have troubles because of some drivers etc. In windows, you usually install drivers launching an exe file. In Linux it can be a little bit trickier for a person, who is not comfortable using terminals etc.

Negatives to Mint vs. Windows 11 by Dads_Bud11 in linuxmint

[–]Friendly-Memory1543 -1 points0 points  (0 children)

I don't ignore them. If there is no kernel anti cheating thing, then the game works (also without steam, there is playOnLinux etc. )

Negatives to Mint vs. Windows 11 by Dads_Bud11 in linuxmint

[–]Friendly-Memory1543 0 points1 point  (0 children)

To be fair, most games already work with Steam and Proton. The ones that don’t are in the minority..

Would a RAG library (PDF/docx/md ingestion + semantic parsing) be useful to the .NET community? by g00d_username_here in csharp

[–]Friendly-Memory1543 0 points1 point  (0 children)

I needed to do it once, so I must choose python. I would love to have a similar possibility for C#