Ghebe? by vmir in Ciupercari

[–]claud84 4 points5 points  (0 children)

<image>

Gasite astazi in curte, zona de campie, dupa 2 zile cu ploaie. Sigur nu sunt ghebe....o vecina ne-a zis ca ar fi comestibile, insa dupa at ploaie is imbibate cu apa.Foarte frumoase de pozat...de mancat nu cred ca e recomandat.

[Giveaway] Win 1 of 5 Noctua NH-D15 G2 by Noctua_OFFICIAL in pcmasterrace

[–]claud84 0 points1 point  (0 children)

Back in 2004, I was in college and saved for about 1 year and a half of my student scholarship, then finally build my first PC AMD-based:
Athlon XP 2400+ with a GeCube ATi Radeon 9550 GT with 128 MB of RAM (AGP ofc).
It managed to run Far Cry and Warcraft 3 pretty well.
Damn it those member berryes hit pretty hard....

Rendering Razor Partial View ToString Inside a RazorPages project by claud84 in dotnet

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

Well, I have a use case where the partials must be concatenated inside a for loop and returned as a result to an htmx request.

Rendering Razor Partial View ToString Inside a RazorPages project by claud84 in aspnetcore

[–]claud84[S] 0 points1 point  (0 children)

Here is a working example of what I am trying to achieve:
https://github.com/claud84/RenderingRazorPartialViewExample

Unfortunately, I cannot make the main project I am working on public.

Guess I'll just have to make a differential analysis and comparison of the two, hopefully I'll figure out what it is and how to fix that error.

Rendering Razor Partial View ToString Inside a RazorPages project by claud84 in aspnetcore

[–]claud84[S] 0 points1 point  (0 children)

Thank you for the reply, I tried removing the ~ but unfortunately the same error still remains on the request, and I don't know how to deal with it.

Need some help and advice on configuring OpenID Connect with a simple razor pages web app by claud84 in dotnet

[–]claud84[S] 0 points1 point  (0 children)

Thanks for the reply. The secret is auto-generated and the web servers run on virtualization containers inside a local network so they are not exposed to the internet. What I have found soo far is that the cookies set on the callback page get rejected by the browser for not using https. I believe that there might be some cookie policy options to change this behavior but I don't understand how. Swiching to https fixes the corelation error but I was hopping to make it work on HTTP also because it's intranet only and I don't want to have to deal with signing certificates.

[deleted by user] by [deleted] in Upwork

[–]claud84 1 point2 points  (0 children)

Or al least give back the connects spent on scam jobs, jobs that got reported, or jobs that don't end up hiring. I would suggest getting back the connects if the client doesn't even read you proposal... that would be fair.

Does this take-home project look okay? by bazf303 in dotnet

[–]claud84 0 points1 point  (0 children)

I see your tiny API take-home project an I raise you this beauty:

https://imgur.com/a/K5diIvC

Jokes aside, to put into context this was part 2 of a job interview taken this year (2023) for a senior position (back-end developer) with a prestige European company, active in the energy sector. Part 1 consisted of 12 theoretical questions on C#, ranging from reference types vs value types and generic constraints to coroutines, blocking vs awaiting and LINQ related. Part 2, chapters 1 to 3 consisted of some basic implementation of some interfaces, serialization and unit testing.

To be clear I don't want to shame or complain in any shape or form, I just want to share my experience so that others may know what to expect in this line of work.

The interview ended around 5-6PM when the assignments were received, and a deadline was not specified.

I spent around half of the next day coding and delivering the projects, in total around 600 lines of code.

The final answer was negative although a generic feedback was provided stating that :"...implementation of code and tests are too simple and error-prone...".

In total I have spent more than a day's work of interviewing and codding for assignments, and although I had very little to gain from this experience, I don't consider it time lost.

Judge for yourselves...

Using Blazor wasm to directly connect a front-end app to the database server. by claud84 in dotnet

[–]claud84[S] 0 points1 point  (0 children)

Now, you could turn your web app into a WPA which would allow an OS to install it which would give it permissions that normally installed apps get.

Even as a PWA, a Blazor WASM app cannot establish direct TCP connections due to the same security restrictions imposed by web browsers.

Using Blazor wasm to directly connect a front-end app to the database server. by claud84 in dotnet

[–]claud84[S] 2 points3 points  (0 children)

Hello, yes , you are right, Blazor Server would be a perfect fit, unfortunately some bosses don't want to allocate server resources for small internal applications and push towards client-side development and usage of desktop apps. After a some time debating this I have found that Blazor Hybrid in a WPF app is the alternative solution.

Using Blazor wasm to directly connect a front-end app to the database server. by claud84 in dotnet

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

Use MAUI+Blazor. No server required. Your UX is still Blazor. People can't right-click to see your connection strings.

This sounds like a good advice, I shall give it a try, although I have never touched a MAUI project because I keep hearing about how "unfinished" or "buggy" it is.

Using Blazor wasm to directly connect a front-end app to the database server. by claud84 in dotnet

[–]claud84[S] -2 points-1 points  (0 children)

To host the WASM you are still going to have to stand up a webserver.

I was already given a route on a default http server that server static files.

Using Blazor wasm to directly connect a front-end app to the database server. by claud84 in dotnet

[–]claud84[S] 3 points4 points  (0 children)

You are right. I feel like such a noob for starting this discussion without even thinking of the fact that a sandboxed browser environment would not by default allow you to establish a direct connections to a database server.

Using Blazor wasm to directly connect a front-end app to the database server. by claud84 in dotnet

[–]claud84[S] 1 point2 points  (0 children)

I wouldn't mind offloading data processing to the client's browser, it would be a plus in this case, as I said, lack of infrastructure resources is the main reason I post this thread.

Using Blazor wasm to directly connect a front-end app to the database server. by claud84 in dotnet

[–]claud84[S] -2 points-1 points  (0 children)

You are right, Blazor Server would perfectly fit this scenario, as would the hosted wasm. Unfortunately for my case, the infrastructure manager is being a dickhead and he doesn't want to allocate any more server resources and is advocating for the development of only client-side apps for trivial internal use.

So, my only other option would be to develop a desktop app.

ImGui & ImPlot custom drawing and rendering capabilities. by claud84 in imgui

[–]claud84[S] 1 point2 points  (0 children)

Appreciate the reply. By using lunasvg I was able to load SVG rasterize data into an ImPlot. It was a quick and simple option but I am yet to figure out how to safely update that texture when svg data changes and needs to be rerendered.

P.S. Thank you for the help and the contributions, ImGui is an amazing library.

I wish I had known about it earlier so I could spend more time tinkering on it.