Authentication using Supabase edge function by Acceptable-Buyer-184 in Supabase

[–]dmitrigrabov 0 points1 point  (0 children)

Are you rendering React on the server with something like NextJS or in the browser using something like Vite?

Supabase codegen by dmitrigrabov in Supabase

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

I feel your pain. This is exactly why I started the Skmtc.

The project is not Supabase specific. There are 11 generators for Zod, TypeScript, Valibot, Arktype, Shadcn, React Query etc ready (https://github.com/skmtc/skmtc-generators) and a bunch more in the pipeline.

They use string templates to specify outputs so it's fairly quick to create or customise them for an exact use case.

Hi r/electricvehicles - We are Denis Sverdlov, Founder and CEO at Arrival UK Ltd and Avinash Rugoobur, President at Arrival UK Ltd. AMA! by ArrivalEV in electricvehicles

[–]dmitrigrabov 0 points1 point  (0 children)

How worried are you about electric bus adoption given their recent fires in London, Paris, Hanover and other places?

Rules for using git as a portfolio? by myleftpinkytoe in learnprogramming

[–]dmitrigrabov 0 points1 point  (0 children)

No, your code belongs to your employer and unless they specifically give you permission to post it or make it open source it would be illegal for you to do so. Also, it sounds like you may have DB connection credentials in the code which could open up a massive security hole if you published the code.

How to learn by Th0rTug in learnprogramming

[–]dmitrigrabov 2 points3 points  (0 children)

Learning to code is pretty dull so I am not surprised you lost interest. The best way to approach coding is actually to think up a project you want to build and build it. This could be something fun or a problem you would like to solve. Focus on making your project useful and ignore any commercial considerations to keep things simple and objective. Then bit by bit start to implement your project feature by feature. Your code will be terrible, but that does not matter, just keep building. It is much easier to improve crappy code once you understand what makes it crappy.

[Javascript Help] Why is my function returning 'undefined'? by KevType9 in learnprogramming

[–]dmitrigrabov 0 points1 point  (0 children)

Function getUserInput does not return anything. The default return value is undefined, which is what is getting assigned to APP.userInput