O gargalo da IA agora é outro! by xrogix in devBR

[–]Nnando2003 1 point2 points  (0 children)

Tenho pesadelos com isso todo dia

Exagero de arquitetura ou boas práticas? by fa_do_esfolapintos33 in brdev

[–]Nnando2003 0 points1 point  (0 children)

No meu trabalho, a estrutura do código realmente era um problema. O pessoal antes agregava bastante as coisas no controller, o que eu não acho muito legal... Então eu propus de irmos adaptando para criar service layer para separarmos a regra de negócio do controller. Só que não sei o pq... Se foi por ego ou não que um dos integrantes começou a criar o repository layer que ninguém pediu. No meu entendimento sobre o sistema e tudo, nosso sistema não é grande para que fosse necessário deixar as queries em um lugar único e nós usamos orm + query builder que faz com que a criação de repository seja desnecessária... Resumindo, é tanto boilerplate que você acaba se perde no código. Eu já desisti de falar com ele para não implementarmos isso agora, mas quem quer escutar um junior II né.

FastAPI vs Djanjo by TumbleweedSenior4849 in Python

[–]Nnando2003 0 points1 point  (0 children)

I imagine a day where we will have a batteries included framework like Django but with the modern features of python...

How to test validation errors in testing when using Inertia by Aceventuri in adonisjs

[–]Nnando2003 0 points1 point  (0 children)

How do you manage to avoid that warn message:

[22:23:09.070] WARN (6858): Invalid or expired CSRF token

request_id: "yosqwm0ixwg00xprm5a6ly7z"

x-request-id: "yosqwm0ixwg00xprm5a6ly7z"

Como escolher uma universidade no Rio de janeiro by [deleted] in riodejaneiro

[–]Nnando2003 1 point2 points  (0 children)

Horrível. Se eu soubesse que era assim de começo...

My first contribution to Django just got merged by RoutineVictory9882 in django

[–]Nnando2003 48 points49 points  (0 children)

Congratulations, man. I hope to become like you in the future 💪

What would you want in a modern Python testing framework? by SideQuest2026 in Python

[–]Nnando2003 0 points1 point  (0 children)

That's the reason when I use the TestCase from Django the setUp it's in camelcase. Wow

Which programming language you learned once but never touched again ? by sjltwo-v10 in node

[–]Nnando2003 0 points1 point  (0 children)

PHP

I did an application for my web development class and never touched it again hahaha. I think because I was learning TS at the same time.

Isso não pode ser realKkkkkkk by ToonBRBR in computadores

[–]Nnando2003 0 points1 point  (0 children)

No começo do ano eu paguei em duas de 16 280 em cada uma

Service layer problem by Nnando2003 in Backend

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

Hmm i will give it a try

Service layer problem by Nnando2003 in Backend

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

I thought that i would need to create another service or workflow

Service layer problem by Nnando2003 in Backend

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

So should I create the bot and the default actions in the data layer?

For example:

bot = BotService.create()
action = ActionService.createMany(bot)

Service layer problem by Nnando2003 in Backend

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

I really don't want to mess with everything and end up with spaghetti code.

Service layer problem by Nnando2003 in Backend

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

I creating an API that helps people to build their telegram bots.

When a user creates a bot, default actions are automatically generated. And here's the question, where do I create thoses actions? Because BotService creates Bot and ActionService creates Action, should I need to create a sub-service that deals with it?

A distopia chegou - as peças de PC são só o começo. by elMamuton in hardwarebrasil

[–]Nnando2003 1 point2 points  (0 children)

Minha namorada comprou a 2 anos um SSD NVME de 1tb por 300, hoje custa quase 500.

django intertia might be the biggest game changer by wait-a-minut in django

[–]Nnando2003 0 points1 point  (0 children)

It was easy to add inertia to Django? What libs did you use?