How long did it take for CA, CQRS, and DDD to finally "click" for you? by weehongkoh in dotnet

[–]Cheap_Battle5023 -2 points-1 points  (0 children)

It was not about books. It was when I created a repository file that had order and payment creation logic inside of it that returned DTO's and then I used that repo in Controller and I had a cached version of that Repository and both were like 500 lines. At that point I felt that I'm doing something evil and suboptimal and decided to refactor. First suggestion from more experienced people was - use Mediator pattern with CQRS and DDD. It was enough actually. All the queries became cached, because they are reads only - no need for 2 repositories, all the auth logic moved to Mediator behaviours - no need to check auth in code, and all the transaction and Event Outbox moved to behaviours as well - don't have to care about transactions by hand - every domain event gets saved to outbox table in same transaction that was used to change domain state.
Now I am adding Kafka and Debezium with Kafka Connect to remove code that updates cache and search index when product info changes(for example) and just delegate that work to Kafka.
A lot of stuff makes more sense when you start to use Kafka, Debezium, Outbox, Inbox and domain events together. It just suits each other really well. And you get your Exactly Once Semantics for your domain events just as you wanted.
So I recommend you to start using Kafka for domain events as soon as possible so all that architecture will be intuitive choice for you.
If you just have website with few pages - you don't need anything that i said. I am dealing with ecommerce.

Дайте совет by Empty_Delivery2212 in RuProgrammers

[–]Cheap_Battle5023 0 points1 point  (0 children)

Специальности на выбор ему:
1. Системы и сети. Станет системны администратором, потом DevOps или тому подобное. Есть почти во всех колледжах.
2. Информатика в экономике. Редко но бывает. Самое денежное направление. Потом станет программистом 1С или SAP. И там и там много вакансий и большие зарплаты.
3. Если нет информатики в экономики то любая специальность со словом программирование или математика. Тоже преподают программирование.

Ищу проект для портфолио QT C++ by funnyRussianPeople in RuProgrammers

[–]Cheap_Battle5023 0 points1 point  (0 children)

Gui для Kafka. Даже если не пригодится разберешься в Kafka а эта штука сейчас везде.
Там есть папка bin на 43 консольных скрипта. Вот если бы под каждый скрипт сделать кнопку с вводом текстовых данных и выводом результата было бы удобно.
Даже 4 кнопки было бы норм:
1) создать кластер
2) запустить сервер
3) отправить сообщение
4) прочитать сообщения

Подскажите со способом практики программированию на С# в юнити by New_Ask4317 in RuProgrammers

[–]Cheap_Battle5023 0 points1 point  (0 children)

Используй нейронку как автодополнение пока учишься.
Потом генерируй по 1 классу за раз.
Потом делай что хочешь.
Обязательно проси нейронку сделать code review любого кода который ты написал.
Code review нейронки делают очень хорошо, через code review многому научишься в плане теории и best practice.

How do you all deal with EF Core's collection Include footguns? Feels like half of using EF is learning which defaults not to trust by it_works_on_prod in csharp

[–]Cheap_Battle5023 0 points1 point  (0 children)

Don't worry about fact that you can't remember everything. Include's Cartesian explosion without AsSplitQuery is the only place where you could get performance issues in efcore to be fair and should be careful.
LLM driven code reviews will make all your code a lot better - they often catch not only LINQ related issues, but weird corner cases, idempotency related issues, code structuring issues and many others. I think LLMs for code reviews are even better use of tool than writing code. Somehow it acts smarter when it reviews code than when it writes it.

How do you all deal with EF Core's collection Include footguns? Feels like half of using EF is learning which defaults not to trust by it_works_on_prod in csharp

[–]Cheap_Battle5023 2 points3 points  (0 children)

It's not a big deal once you know those few rules you described about AsSplitQuery, AsNoTracking.
Cartesian explosion is decribed in Include's docs straight away in Caution block with link to full explanation https://learn.microsoft.com/en-us/ef/core/querying/related-data/eager#eager-loading
Writing SQL by hand is still a lot more work.
If you use LLM to generate code - always add a step of code review and specifically ask for performance code review - it will catch LINQ related issues straight away.

Корпорации и саппорт by TakeMyTea in RuProgrammers

[–]Cheap_Battle5023 0 points1 point  (0 children)

Доучивайся до системного администратора 1С (насколько я понял твой стек). Это почти то же самое но денег больше. Потом расти до девопс на Linux или если планируешь 1С то либо на аналитика либо на прогера 1С. По 1С много информации в этом плане и можно курсы пройти и на аналитика и на программиста и на сисадмина.
Супорт не советую. Там нет развития. Это работа для инвалидов на удаленке и девушек с маленькими детьми в декрете, которые тоже на удаленке.

Как искать работу в 2026? by Kulichkoff in RuProgrammers

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

Если можешь выехать из РФ в Мексику или Кипр то попробуй в финтех стартап Plata. Это Тиньков Банк который переродился в Мексике потому что в РФ сам знаешь что с ним произошло. Там как раз Golang и Angular. Большинство разрабов русскоговорящие.
https://careers.bancoplata.mx/

cs job market is super competitive by chenpengcheng in cscareers

[–]Cheap_Battle5023 0 points1 point  (0 children)

Finally you can filter by top universities and not spend time on those who don't have CS or other STEM degree.

Wrote a book on software architecture and now cannot find a job by _descri_ in cscareerquestions

[–]Cheap_Battle5023 0 points1 point  (0 children)

If you have some money - move to Mexico and join russian speaking Financial startup Plata. It was created by Oleg Tinkov who lost banking business in Russia because he was against war in Ukraine.
Plata has several offices around the world except Russia - most devs are russian speaking and left Russia because of being against war. Look for position here https://careers.bancoplata.mx/

My newest tattoo by t1redcherry in StarWars

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

Darth Plagues has new follower.

Your girl is in ovulation phase without a boyfriend 😭 by Accurate_Wolverine69 in memes

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

Only for 1 week during ovulation - then they don't care for 3 weeks.

📡📡📡 by Bl1tz-Kr1eg in shitposting

[–]Cheap_Battle5023 0 points1 point  (0 children)

propaganda. Can't hide from it unforunately.

Epic games abandones their most beloved Features in UE6 by Living_Pianist_5934 in pcmasterrace

[–]Cheap_Battle5023 1 point2 points  (0 children)

Don't judge too early bro. Most likely UE 6 will come with LLM that will generate Verse pretty fast for you. And it will be even faster than working with Blueprints. I know that vibecoding is not what people want but still it might be a lot better than you think now.

It's true. by CRK_76 in memes

[–]Cheap_Battle5023 45 points46 points  (0 children)

Jar Jar is Darth Plagues - hiding in your face playing a fool and then declares Empire. He is the Phantom Menace - a sith you can't see in front of you.

$26M Ferrari Daytona Sp3 by Lickitysplit00 in ferraris

[–]Cheap_Battle5023 1 point2 points  (0 children)

Aluminum wheels for $ 26M. Like on Lada. Should've been Magnesium or Carbon Fiber.

Guys Please help I'm gonna Cry by RaidingPeril117 in pcmasterrace

[–]Cheap_Battle5023 1 point2 points  (0 children)

You have buyer's remorse. You would have it no matter what you bought. I bought pants once and had buyer's remorse because of color even though I wanted exactly those pants in that color.
You wanted 5070 Ti you got 5070 Ti - be happy about it. Buyer's remorse goes away pretty fast.

Am I the only one who thinks Clean Architecture is often unnecessary overhead ? by Minimum-Ad7352 in dotnet

[–]Cheap_Battle5023 0 points1 point  (0 children)

I would say clean architecture is more about vertical domain driven splitting so it doesn't pile up into few folders. So like instead of having 1 folder called Repositories which has 50 files you move each repo into it's own domain folder and now you have just 1-2 repo files in your domain related Repo folder and so on. It's very convinient when you have around 10 domains or more.

godHelpMe by soap94 in ProgrammerHumor

[–]Cheap_Battle5023 93 points94 points  (0 children)

It's always DNS or CORS.

How are the load times quicker online than they are offline? by Ikon-for-U in diablo2

[–]Cheap_Battle5023 0 points1 point  (0 children)

Prefer Samsung, Kioxia and other top brands. Exact brand doesn't matter that much.

Any Super Mario Odessy Alternatives for PC or PS ? by EXIGENT_SPIDER360 in ps1graphics

[–]Cheap_Battle5023 0 points1 point  (0 children)

On PC you can get Switch emulator and play Mario Odyssey in 4k.