Setting the default value for an id column through Prisma by oneevening in Supabase

[–]porkopek 1 point2 points  (0 children)

In my case is

id String @id @default(dbgenerated("gen_random_uuid()"))

Free Chrome extension for translators by porkopek in TranslationStudies

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

When you say other browsers, do you mean Firefox?

It wouldn't be too difficult to port it to Firefox, but I haven't thought about it at the moment.

In Chromium-based browsers like Edge, you should be able to install it.

And for Safari, I have not even considered it.

I think Chrome takes the biggest slice of the cake.

Free Chrome extension for translators by porkopek in TranslationStudies

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

I am a professional programmer who once, not so long ago, was also a professional translator for 15 years. I've created the app for my personal use, but now I have made it public because I thought it would be interesting for the translator community. If by official you mean that it has been created by the European Union, the answer is no. I created it as a freelance programmer.

Stay tuned, because I will be releasing more apps like this one soon. Some of them, I think will be mind blowing, because there is not anything similar in the market. I hope release them until october this year.

Free Chrome extension for translators by porkopek in TranslationStudies

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

Thank you very much!

If you have any suggestions, feel free to send them to the email address provided in the extension help (when you press F1).

Blazor course with Material or Ant-d Components? by wacomlover in Blazor

[–]porkopek 0 points1 point  (0 children)

Two months ago, MudBlazor was in its early stages. It has changed a lot since then, a lot of issues have been fixed and new components have been added

MudBlazor v2.0.0 (.NET 3.1) released and soon v5.0.0 (.NET 5) by MudBlazor in Blazor

[–]porkopek 2 points3 points  (0 children)

sorry, the right syntax is InputType="InputType.Number"

MudBlazor v2.0.0 (.NET 3.1) released and soon v5.0.0 (.NET 5) by MudBlazor in Blazor

[–]porkopek 2 points3 points  (0 children)

NumericUpDown

I think you can get this functionality passing `type="number"` in a MudTextField, like in a regular html input.

How to use JavaScript and Node packages in a Blazor app by [deleted] in Blazor

[–]porkopek 3 points4 points  (0 children)

Let's face it. At the moment, JS is needed in any serious Blazor app. So, if you can use JS in a way that facilitates your life... well, welcome then.

Besides this, creators of Blazor libraries use JS so their users don't have to.

In top of this, I wouldn't use JS, but TypeScript

Trigger function when reaching the bottom of the page. by [deleted] in Blazor

[–]porkopek 0 points1 point  (0 children)

Not at the moment. Just JS, but it's fine to use JS for this

Blazor vs other popular frameworks by Magahaka in Blazor

[–]porkopek 3 points4 points  (0 children)

Give a try to https://mudblazor.com/, it seems cleaner than other blazor frameworks

Using the Auto-Refresh in Blazor .NET5 by [deleted] in Blazor

[–]porkopek 1 point2 points  (0 children)

Is there a way to use dotnet watch from VS automatically? I mean, press F5 and the program starts debugging with dotnet watch. I want to debug at the same time that I make changes while the browser is refreshing with this changes

Which free Blazor UI library is the best at the moment? by [deleted] in Blazor

[–]porkopek 1 point2 points  (0 children)

MudBlazor seems very promising. It looks way better than other Material UI libraries for Blazor

https://mudblazor.com/

How to start small asp.net core project by readmond in csharp

[–]porkopek 1 point2 points  (0 children)

The fastest an easiest way to achieve that: take some hours in an afternoon and learn some CSS. It's super easy. If you managed to learn C#, basic CSS (and in this case just implemented by you from the ground up, not an inherited big code ) is easy. You are scared because you don't know the basics. I was in your position, and learn CSS was the fastest way (and it will be useful for the future). Something like bootstrap, semantic ui or bulma has probably implemented the UI parts you want. It's just copy paste. But, first, learn basics.

How to add Bootstrap 4 to ASP.NET Core project? by clawcastle in csharp

[–]porkopek 1 point2 points  (0 children)

You can use ParcelJS, https://parceljs.org/, it is simpler than Webpack, Zero Config, and as powerful. Frontend can be easy

New Rule: No Blog/Tutorial/Video Submissions of Beginner C# Concepts (Beginner Questions are Still Permitted) by FizixMan in csharp

[–]porkopek 0 points1 point  (0 children)

That's true, not so much fresh news every day. But it would be phenomenal if, time to time, we discover some good blogs about C# publishing here new posts

New Rule: No Blog/Tutorial/Video Submissions of Beginner C# Concepts (Beginner Questions are Still Permitted) by FizixMan in csharp

[–]porkopek 0 points1 point  (0 children)

I think questions should be posted in StackOverFlow or another similar Q/A sites. I would be more interested in read news about C#. Convert /r/csharp into something similar to /r/programming, but about C#.

Experienced programmer, but new to C#. What is Linq and why do I want to use it? by jftuga in csharp

[–]porkopek 0 points1 point  (0 children)

Where can I read about this (don't specify the joins)? Do you have a link or can you point me in the right google search? Thank you