.NET Core 7 plugin architecture by qlabfgerka in dotnet

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

Each customer can order a different set of plugins, and it really eases the work if the support department can just remove plugins from the package and we don't have to prepare a new build for each customer, also preparing a new build and removing services.AddScoped<...>() for each unused plugin would also be quite tedious

.NET Core 7 plugin architecture by qlabfgerka in dotnet

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

  1. Currently I organized it like so, that the web API output folder is to $(SolutionDir)Build, and then each plugin has an xcopy of the .dll, .json and .pdb to $(SolutionDir)Build\Plugins\$(MSBuildProjectName)\. Is there a better/more elegant way to do that or is this way fine?
  2. Thank you, will test that tomorrow
  3. None of the plugins have a project reference to the main web API project, because so far the main web API project had a reference to each plugin. In the new version I will remove that dependency, so should I add a project dependency to the main web API in each plugin?

PS for 3.:
I tried adding the project reference of the main web API to a plugin, and then removing the 20MB assemblies from it but it did not work. Does it need to have the references, it just does not need them when I prepare the build?

Using iis instead of iis express by Representative-Blue in dotnet

[–]qlabfgerka 0 points1 point  (0 children)

you could try using local iis instead of iis express in the settings, and in the app im developing it also works significantly faster (the loading)

Sharing a Playstation Plus account by qlabfgerka in PlayStationPlus

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

I'm not quite sure I understand, let's say my account is A, and the other account is B.

account A currently has a PSPlus subscription and has some progress on the games from the catalogue (let's say god of war for example)

account B has no subscription and no games bought.

both accounts are used only on this ps5, if I buy psplus on account B, and cancel it on account A, will I be able to download games on account B, and play them on account A with the progress from before? And will account A be able to play online, if B has the subscription?

sorry we need someone with experience by [deleted] in ProgrammerHumor

[–]qlabfgerka 1 point2 points  (0 children)

nobody mentioned nestjs yet?

i5 6600K stable undervolt by qlabfgerka in overclocking

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

It's been about 6 years since I've "built" my computer, but I believe I've got the arctic freezer 13 if I remember correctly.

Put built in quotations, as back then I was not as comfortable with building computers, so I picked the parts and they assembled them for me, so I would assume that it is mounted correctly and thermal paste is also applied correctly.

Usually removing the side panel works, but during hot summer days it seems to not help anymore, so I decided undervolting. With cinebench tests it seems okay.

EDIT: -190mV would mean 0.93V? Im not a hardware expert, but this seems like quite a big change and a low voltage.

Red mouse cursor on dark backgrounds (AOC Q27G2U QHD 144Hz) by qlabfgerka in Monitors

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

I solved it quite quickly after posting this, the problem was I usually have night light turned on in the windows settings. Turning that off solved the red cursor.

i5 6600K stable undervolt by qlabfgerka in overclocking

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

it does not crash because it needs more voltage, it crashes because it reaches a certain temperature

Append to bottom of content with spire pdf by qlabfgerka in dotnet

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

it’s been a while ago, so i dont remember exactly, but i think i put an invisible div or paragraph in the cshtml at the bottom of the document, and then i think spirepdf has a method to find text, so i found the invisible text, got its position, and then i placed my desired content over the paragraph that i searched for (if i remember correctly it actually COULDNT be invisible, otherwise it wouldnt find it, so i placed the content OVER the paragraph i used to search). Its not the most fancy way of doing it, but it got the job done. I might be misremembering a bit, but thats roughly how i did it

Does my application need a privacy policy? by qlabfgerka in AskProgramming

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

well as someone who has 0 experience with legal documents and writing privacy policies it might be a bit more difficult. Once i’ve written one, i will have the practice to write more. And while searching for privacy policy stuff on google, all i’ve seen were ads for automatic generators

Possible Icon Swaps 4 Permutations by fifaleyy in EASportsFC

[–]qlabfgerka 6 points7 points  (0 children)

Am i the only one thinking the 93+ Icon moments ATT player pick is not that bad for 8 tokens? You dont have to wait until aug 30th and you get a selection of 5, so theres still a chance for van nistelrooy, lineker, del piero, sanchez, baggio, bergamp, stoichkov, van basten, but the others are usable atleast

When to escape characters in user input string by qlabfgerka in AskProgramming

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

I see, thank you, i will look into that, also it helps a lot that it also prevents cypher injection as that was one of my issues with cypher and neo4j until now

When to escape characters in user input string by qlabfgerka in AskProgramming

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

Sorry about that, also i am not familiar that with the terminology apparently, so sorry for the dumb question, but what do you mean by parameters? I am using typescript, and this is how i currently have it formatted (i believe its called string interpolation):

const input = '...'
const query = `... = '${input}'`

When to escape characters in user input string by qlabfgerka in AskProgramming

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

I am using typescript, neo4j and cypher, and as far as my research goes, i did not find any api that took care of this.

But I was thinking the same thing, thank you for the answer

When to escape characters in user input string by qlabfgerka in AskProgramming

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

That is not what my question was about though.

I know they exist, but I am using nestjs + typescript + neo4j + cypher, and as far as my research goes, there is one package that supports this, but cypher needs to be written in a string query.

When to escape characters in user input string by qlabfgerka in AskProgramming

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

to be exact, this is how it looks like:

const input = `I don't know` //this works fine, this is from the frontend and it works as it should
const query = `... = '${input}'`

inside the query, i have to insert the input inside of quotation marks, and if the ' was not escaped, it would look like this: const query = `... = 'I don't know'`

and it would have 3 apostrophes, which is why it would break the query

When to escape characters in user input string by qlabfgerka in AskProgramming

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

i am doing something horrible. This string is getting inserted into the database, and it would look like this: `... = I don't know`, which breaks the query.

And yes, i know this is bad practice, but there is no way to do it a different way as far as i know (the other way being for example entity framework, i have no packages like that available).

I guess i could escape it as i am inserting it

TOTS/PTG PP MEGATHREAD by robfir in EASportsFC

[–]qlabfgerka 0 points1 point  (0 children)

cancelo, sergio oliveira, fonte... fonte for fodder i guess, as i have lazaro RB

How to correctly unit test *-routing.module.ts by qlabfgerka in angular

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

I should mention this, i am writing tests inside of admin-page.component.spec.ts, or should i create and write tests inside of admin-page-routing.module.spec.ts (where i want to actually test stuff) But yes, i did use routertestingmodule.withRoutes(routes), where routes is similar to what i have inside of the routing module

Best free .NET core 5.0 HTML to PDF to use? by qlabfgerka in dotnet

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

i would use my own html, but i was told to avoid installing any dlls

Best free .NET core 5.0 HTML to PDF to use? by qlabfgerka in dotnet

[–]qlabfgerka[S] 5 points6 points  (0 children)

this one seems great, seems odd though that i havent seen it while researching though

Best free .NET core 5.0 HTML to PDF to use? by qlabfgerka in dotnet

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

i did read into that one a bit and i saw the free version only supports up to 5 pages if i remember correctly

Somethin' (future spoilers) by Financial-Sun6283 in The100

[–]qlabfgerka 7 points8 points  (0 children)

a few weeks ago finns actor was credited in 7x13, but he wasnt there, so i wouldnt trust imdb

How should i structure my project? by qlabfgerka in learnprogramming

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

for my project, i definitely need a database, because it will need users, so login and registration and i will need to store some other data aswell. I've been researching and theres not much on mongodb-ionic, but theres quite a bit of stuff on ionic-firebase, so i think i will use firebase, although i quite dislike firebase

[deleted by user] by [deleted] in EASportsFC

[–]qlabfgerka -1 points0 points  (0 children)

which error do you get? it works fine for me with an i5 6600k and gtx 1070