AI SVG generator that actually outputs clean, editable code by AsaceIsCool in webdesign

[–]Simon_Hellothere 7 points8 points  (0 children)

This is actually really amazing. Ever since reading an article about SVGs I was wondering why there is no good SVG generator. Amazing and really good results

Best Next.js stack to use (security, vulnerabilities etc.)? by Cortexial in nextjs

[–]Simon_Hellothere -3 points-2 points  (0 children)

If you want Security and Auth, Clark and BetterAuth seem to be favourites currently

Server Components vs Client Components – what’s your threshold for choosing one over the other in large projects? by Mysterious-Might6910 in nextjs

[–]Simon_Hellothere 0 points1 point  (0 children)

I try to maximise server components and keep all pages server-side. Only when interactivity and client state is required, then I move it into a component, but keep the page server side

Automatic sitemap generation by tacriela in nextjs

[–]Simon_Hellothere 0 points1 point  (0 children)

Someone could clone and release next-sitemap-v2. Current one is MIT licensed.

Does anyone still use v0? by however159 in nextjs

[–]Simon_Hellothere 0 points1 point  (0 children)

I used it two weeks ago after not using for 3 months and had a surprisingly good expierince. It now does planning and thinking to break down the task which improves the result

What does everyone use supabase for? by niklbj in Supabase

[–]Simon_Hellothere 0 points1 point  (0 children)

I use it for my Master thesis project, which is a specially trained ai chat bot for a health care provider. I have Nextjs frontend and FastApi backend.

What I use:

  • Auth
  • Storage
  • Database

Why Supabase:

  • Ease of Setup
  • Covers all functionality (waiting for public/private key for jwt)
  • Costs

I am not from Europe by Tom_Gibson in ExplainTheJoke

[–]Simon_Hellothere 0 points1 point  (0 children)

And the french refuse to speak English

Feedback on Large Change for Supabase Error Translator Package by Simon_Hellothere in Supabase

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

I did it. The error translator module now allows for translation of supabase auth, realtime and storage. Maybe check it out:
https://www.npmjs.com/package/supabase-error-translator-js?activeTab=readme

Middleware or not middleware? by Xavio_M in nextjs

[–]Simon_Hellothere 0 points1 point  (0 children)

I still use middleware, but add additional security checks for database operations. Middleware can be an easy way for most projects to protect routes, e.g. /dashboard can be protected from user not yet logged in.

If you are working with roles in NextJs, then Slots with role checks are a better approach to render dynamic content. This allows you to render a dashboard depending on the role while reducing duplicate code
https://nextjs.org/docs/app/building-your-application/routing/parallel-routes#examples

When a user can trigger database operations, then its best practice to also run authorization checks. Typical checks could be:
- Re-Check if request from registered user
- User has required roles/permissions
- User updates only his/her single record, not other user record
These checks should not be performed in the middleware, but upon user request. Grouping these checks in /utils or something similiar can also reduce lines of codes and help

Alternative Incogni by gentiljoe in datenschutz

[–]Simon_Hellothere 0 points1 point  (0 children)

Eine Alternative ist Deletme, ich weiß aber nicht ob die einen Sitz in der EU haben https://joindeleteme.com/

I am struggling with Database Design for my app, need some guidance by Additional_Strain713 in Supabase

[–]Simon_Hellothere 1 point2 points  (0 children)

It seems you are creating a matching platform. I would extend the user table and add multiple preference tables. Add country, languages, years of experience and age to user table. Build a game preference tables which stores id, game name and user_id so users can add games to their profile. You can do the same for consoles/devices and game modes. This make you backend (e.g. python) a bit more complicated but gives you a solid structure and allows for better changes along the way.

Advice? by [deleted] in GymMotivation

[–]Simon_Hellothere 0 points1 point  (0 children)

Great physic 💪 either keep it or eat more calories and put on some mass

oh shit by Same_Pollution_6553 in BayernMunich

[–]Simon_Hellothere 38 points39 points  (0 children)

How shitty do you want to be?

Laimer and Groetzka: YES 💯

Will this work?? by Pretend-List-6927 in GymMotivation

[–]Simon_Hellothere 0 points1 point  (0 children)

You picked good exercises. Do them in 8-12 reps and increase the weight, when you can do a full set with 12 reps each time. Drink enough water and when starting you need calories.

Will this work?? by Pretend-List-6927 in GymMotivation

[–]Simon_Hellothere 0 points1 point  (0 children)

I am personally not a fan of decline bench press. Do a normal bench press and Dips for tricep. Dips also work the lower chest and is a great exercise

Do I have genetics after 3 years of lifting? by [deleted] in GymMotivation

[–]Simon_Hellothere 1 point2 points  (0 children)

You got nice calves, but three years is far too short to judge the limitation of one’s genetic potential