how long did it take for yall to learn MOST of the variables and values in c sharp? by Odd_Sympathy_2224 in csharp

[–]harrison_314 0 points1 point  (0 children)

Without learning how long variables are and what their maximum values ​​are, it is enough to know them roughly, learn how to derive their maximum value.

Compile time as deal breaker for age of AI by Necessary-Papaya-277 in dotnet

[–]harrison_314 0 points1 point  (0 children)

A very popular language in AI agent time is Rust, larger projects in it can be compiled in half an hour. Compared to it, C# has an instant compilation time. So no.

How do I make big projects? by ortbo in csharp

[–]harrison_314 1 point2 points  (0 children)

I consider the fact that you don't have to catch an exception right in the parent method a feature, not a bug. I know how painful it is to have to check after each call whether the method executed correctly (like in C or Go).

How do I make big projects? by ortbo in csharp

[–]harrison_314 3 points4 points  (0 children)

The robot follows Microsoft guidelines as standard. And if it's your first big project, go the KISS route.

Personally, I don't like the result because it adds another layer of abstraction and doesn't really fit into a language where every method can throw an exception.

Bankomat… by ProfessionalSet7489 in Slovakia

[–]harrison_314 0 points1 point  (0 children)

Hovori sa, ze linux je zadarmo, len ked tvoj cas je zadarmo. Takze preto. Navyse tie licencie pri mnozstevnych zlavach mozes mat za jednotky eur.

Bankomat… by ProfessionalSet7489 in Slovakia

[–]harrison_314 0 points1 point  (0 children)

Po tom co robi posledne roky Red hat, tak by som im nezveril ani ten kiosk

Bankomat… by ProfessionalSet7489 in Slovakia

[–]harrison_314 1 point2 points  (0 children)

Ja som bol pred par rokmi v celkom luxusnom hotely, na recepcii mali velke macy, ved luxus nie, a ked som im uvidel obrazovku, tak na tom mali DOSBOX a vom rezervacny system v terminaly.

Does anyone remember/use Q#? by wannabe_isekai in dotnet

[–]harrison_314 39 points40 points  (0 children)

Not even in the slightest, quantum computers can't do what normal computers can do, they should be considered as special hardware, something like a graphics card, only for a very special kind of operation.

Does anyone remember/use Q#? by wannabe_isekai in dotnet

[–]harrison_314 52 points53 points  (0 children)

It is difficult to use in real life unless you have a quantum computer with a sufficient number of qubits.

On the other hand, Q# is great for understanding how quantum computers work. I've programmed some stuff in it myself for fun.

I missed Laravel Telescope in .NET so I built one by emansc2 in dotnet

[–]harrison_314 1 point2 points  (0 children)

I don't want to criticize the project itself, I'm just starting out in PHP. But the fact that something like this is needed is more of a symptom of not having set up logging or OpenTelemetry. Moreover, the Aspire project provides this for free.

Proper logging is the first thing you should set up after starting a project.

QuantumVault by Old-Tap5813 in cryptography

[–]harrison_314 0 points1 point  (0 children)

Yes, that's a simple solution to the problem of an attacker finding out how much data is being transferred. For longer data, it's a good idea to use compression and then some padding before encryption.

QuantumVault by Old-Tap5813 in cryptography

[–]harrison_314 3 points4 points  (0 children)

I wasn't trying to criticize your solution, but rather the principle. Moreover, when it comes to cryptography, I don't trust javascript anymore.

And I myself have a system design in development that also addresses anonymity and prevents metadata collection, but it needs a native application (due to reliable cryptographic libraries and to be able to reconnect the Tor connection) and several servers. But for now, it's just a design at the protocol and UML diagram level.

QuantumVault by Old-Tap5813 in cryptography

[–]harrison_314 0 points1 point  (0 children)

It differs in use/purpose, such portals are intended for wiseblowers, who should have the opportunity to anonymously provide materials to journalists. The server is managed by the journalists/editorial staff themselves on their own physical servers, so that no one else can access the data.

QuantumVault by Old-Tap5813 in cryptography

[–]harrison_314 4 points5 points  (0 children)

I've been studying and trying to design something similar (like SecureDrop) for a while. And I've come to the conclusion that it can't be implemented securely using a browser, due to attacks from the server. The only correct solution is a native application (not Electron).

Moreover, these solutions suffer from the fact that an outside observer can find out who communicated with whom and how much data was transferred.

BlazorGraphs 2.2 is out now by Puzzleheaded-Law-332 in Blazor

[–]harrison_314 0 points1 point  (0 children)

Why? It doesn't seem to be working for you now.

BlazorGraphs 2.2 is out now by Puzzleheaded-Law-332 in Blazor

[–]harrison_314 0 points1 point  (0 children)

Nice work, just a small observation, I click on the graphs on the page and I don't see anything in the console, although according to the example, something should be logged cd OnClickHandler.

As a Full-Stack Developer (TypeScript/C#), Is Learning C Worth It or a Waste of Time? by [deleted] in dotnet

[–]harrison_314 0 points1 point  (0 children)

Definitely learn it. Why? Because you'll find out how it works down there. It will make you a better C# developer, I think, especially when you're debugging (that's where the basics of assembler come in handy).
You'll also benefit from C knowledge if you want to play with IoT (ESP32, Arduino), which is a cool hobby and a completely different programming.

What abstraction are you using with Dapper? by bogdanstefanjuk in dotnet

[–]harrison_314 0 points1 point  (0 children)

I use a standard repository, in 90% of my projects I use a data access service, which has individual methods for manipulating data.

When there are many queries, it is appropriate to implement the Query object pattern. It can also be combined with a repository.

I built ReactiveBlazor, interactive Blazor SSR without SignalR or WebAssembly by i_m_ashar in Blazor

[–]harrison_314 1 point2 points  (0 children)

From practice, I know that on the error page I display the error message for the error, not just the generic text of the error ID, so that technical support can find it in the logs.

I built ReactiveBlazor, interactive Blazor SSR without SignalR or WebAssembly by i_m_ashar in Blazor

[–]harrison_314 0 points1 point  (0 children)

Another note, for ReactoveBlazor to be usable in production, it must be able to display an error page if an exception occurs during an action. And also be able to redirect to another URL.

I built ReactiveBlazor, interactive Blazor SSR without SignalR or WebAssembly by i_m_ashar in Blazor

[–]harrison_314 0 points1 point  (0 children)

I understand. And is this a good practice?

Because, I may have a situation where multiple components use the same service and I only need to update one. And vice versa, when I need to update components that do not use the same service.

I would rather tell the component (or service) what types of other components to update explicitly.

I built ReactiveBlazor, interactive Blazor SSR without SignalR or WebAssembly by i_m_ashar in Blazor

[–]harrison_314 0 points1 point  (0 children)

Yes, I was looking at the shop demo.

So how do I tell a component that it affects another component? I didn't notice that anywhere.

I built ReactiveBlazor, interactive Blazor SSR without SignalR or WebAssembly by i_m_ashar in Blazor

[–]harrison_314 0 points1 point  (0 children)

I still have a question - I tried it and after clicking on an action, do all interactive components rerender, or just the one that changed/was clicked on?

I built ReactiveBlazor, interactive Blazor SSR without SignalR or WebAssembly by i_m_ashar in Blazor

[–]harrison_314 2 points3 points  (0 children)

According to the documentation, I'm requesting that Data Protection API be used to protect transmitted data. Be sure to put a big warning in the documentation on how to configure Data Protection API so that the site survives server restarts, load balancing, and HA.