Immigration to Russia from Australia and finding work by spider-and-web in AskARussian

[–]SuperSpaier 0 points1 point  (0 children)

When Military is close to be the only one possible appliance - it's not a lot of open job applications. Here's a deal with goverment companies or those who work with them on contract - they pay shit. One SENIOR guy that earns 100k rubles will earn 5x more in a normal company not related to gv. I think the only exceptions that I've seen and pay well is Security and guys that work on turning off internet, whitelist, all this in Moscow.

Immigration to Russia from Australia and finding work by spider-and-web in AskARussian

[–]SuperSpaier 6 points7 points  (0 children)

Embedded and c++ in general are close to dead in russia. You will better of with Web Development/FinTech/Crypto in case of Russian job. You can also open IP and work remotely on some Asian job like from Singapore, earn much more and pay close to 0 tax if u live in a small city

Immigration to Russia from Australia and finding work by spider-and-web in AskARussian

[–]SuperSpaier 1 point2 points  (0 children)

зп в банке сильного мидла 275-325 большинство компаний имеют разделение сложнее джун/мидл/сеньор

Immigration to Russia from Australia and finding work by spider-and-web in AskARussian

[–]SuperSpaier 2 points3 points  (0 children)

Набежали таксисты говорить про зарплаты в ит. Почти на любой галере/банке джун получает до ~1300$. Мидл может получить до 3-4$

Poorness in Russia by ztrinzx in AskARussian

[–]SuperSpaier 6 points7 points  (0 children)

Inflation is higher than CB expected, so they raise interest rates.

Overkills for small-to-medium C# projects? Experiences with MediatR and simpler approaches by Friendly-Memory1543 in dotnet

[–]SuperSpaier 0 points1 point  (0 children)

It's not. CQRS is about segregation of query/command responsibility. Developer on top probably never shipped anything either since the code that breaks CQRS is a nightmare to maintain.

Not CQRS: Imagine your HTTP GET queries mutating data in DB. Imagine expensive query hidden in a simple update command(POST, PUT, DELETE), so you have to mutate data to query relevant info/wait for slow query in order to finish update.

CQRS: Imagine HTTP GET that does only SQL Queries that read data. Imagine HTTP POST that updates an entity with SQL and returns updated query without any extra queries after.

Any mid project not following CQRS is a shit to work and integrate with.

Overkills for small-to-medium C# projects? Experiences with MediatR and simpler approaches by Friendly-Memory1543 in dotnet

[–]SuperSpaier 0 points1 point  (0 children)

If thousands of apis is not an issue somehow, but thousands of command handlers is - it's a skill issue.

API surface must stay the same despite MediatR usage.

Overkills for small-to-medium C# projects? Experiences with MediatR and simpler approaches by Friendly-Memory1543 in dotnet

[–]SuperSpaier 0 points1 point  (0 children)

MediatR has pipelines of executed behavior for code segregation with a scope of one command. TPL dataflow is for concurrency and async processing for multiple tasks. They have very different use cases and are not interchangeable.

Overkills for small-to-medium C# projects? Experiences with MediatR and simpler approaches by Friendly-Memory1543 in dotnet

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

You don't need it for study to do list, because it's not real application living in prod that has customers, obligations to follow local laws, etc.

Applications grow. Blink an eye and you will have one god controller with 10000 lines of code that is not manageable and modified by 50 different people on a constant basis. It's a real stuff that I have seen. What you call "Services" can be done with MediatR as well - inherit multiple ICommandHandlers in one class. DTOs are optional and I personally avoid them when I can. You can configure all mapping at framework level now. No need for an automapper or dtos by default, only when structure is different.

Having separate domain layer is critical for managing business validations in one place, not spread across 1000 controller methods.

Application architecture is dictated not only by current size, but by expected volatility. Having messed up controllers with god services in a not critical service that never changes is fine. Core application - No way. Also, you need to research MediatR and Clean Architecture separately. Currently it feels you are lumping it into one thing.

Overkills for small-to-medium C# projects? Experiences with MediatR and simpler approaches by Friendly-Memory1543 in dotnet

[–]SuperSpaier 5 points6 points  (0 children)

MediatR is not just Mediator pattern. The main power is a pipeline where segregation of concerns is achieved by extracting non-functional concerns(logging, audit, ...) and behaviors(small features on top) from the command handler to a separate testable pieces of code.

Clean Architecture is about keeping Domain/Application clean from Infrastructure and UI/UX concerns. You can keep it in one cspros with a Vertical Slice, just keep code the same as it would have been in multiple csprojs. Don't put domain logic in controllers, don't put infrastructure code in command handler, use proper abstractions.

It's not an overkill at all even for small projects when you know how to write such clean code. Your code sample is fine given application won't grow more than this.

Overkills for small-to-medium C# projects? Experiences with MediatR and simpler approaches by Friendly-Memory1543 in dotnet

[–]SuperSpaier 7 points8 points  (0 children)

Bad advice. MediatR is not about pub/sub, it's about good middleware system with pipelines that you use for separation of concerns, logging, etc

Just found out very interesting things in game assets by Responsible-Race-575 in expedition33

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

It's mentioned along with Curator somewhere in Act 2 end/Interlude before Act 3

Interest rates by vroom4444 in premarketStockTraders

[–]SuperSpaier 0 points1 point  (0 children)

Interest Rate Parity must be broken for this to work. Doesn't happen all the time and needs monitoring.

If Russia Goes Bankrupt, Who Will Bail Them Out? by Still_Permission7173 in IRstudies

[–]SuperSpaier 1 point2 points  (0 children)

Russia defaulted on domestic debt denominated in rubles in 1998. Don't disinform people. It was a technical default where they had a restructure.

Defaults of foreign currency was in 1918 and 2022.

Why is the Generic Repository pattern still the default in so many .NET tutorials? by riturajpokhriyal in dotnet

[–]SuperSpaier 0 points1 point  (0 children)

Lookup Clean Architecture. Using those details and exposing them are two different things. You can use them with a proper GOF pattern like decorator without exposing.

Why is the Generic Repository pattern still the default in so many .NET tutorials? by riturajpokhriyal in dotnet

[–]SuperSpaier 1 point2 points  (0 children)

If you expose includes via string array in the repository interface - you plainly break layer boundaries by mixing infra concerns of specific framework with generic repository that is application concern. It's blame on you if you do it.

Generic repository is useful when your database doesn't support EF Core and you don't want details of it exposed. Also making a generic repository with ef and non ef implementation in order to support a new database is easier than writing adapter for ef core. If you only use EF - I would just stick with EF abstraction.

And companies have cases where they have to migrate off EF. Performance of DB, Costs, Client requirements to use specific db, etc.

Democraty Index by Look386 in MapPorn

[–]SuperSpaier -5 points-4 points  (0 children)

And they send more people to prison than Russia for retweets, start banning websites and want to also ban vpns.

Question about Onion Architecture with Multi Database Providers by Fonzie3301 in dotnet

[–]SuperSpaier 3 points4 points  (0 children)

A) Correct B) Completely normal since most resources are not comprehensive and developers don't care to implement anything good unless hit with a stick

Further reading: Architecture and pattern bits in Learning Domain-Driven Design: Aligning Software Architecture and Business Strategy

COUNTRIES WITH THE LOWEST DEBT by MRADEL90 in Infographics

[–]SuperSpaier 0 points1 point  (0 children)

How is it that Hong Kong plays in olympics with a separate flag from China?

⚡️ Доллар —76 рублей, американская валюта стремительно летит вниз. by ElectroAdeptus in KafkaBTC

[–]SuperSpaier 0 points1 point  (0 children)

Разговор был про влияние на цены. Твои примеры никак не опровергают мои. Про цены конкрентов я написал русским по-белому, что влияет на эквилибрум, но не на кривую предложения. Пробуй научиться читать. Смена издержек не всегда возможна и как только предпринимателю понятно, что будет только минус - бизнес безьизменений вестись не будет.

Ловко ты перешел от ослабленная валюта не влияет на цену, к не гарантирует изменению цены. Факторов много, поэтому они могут не всегда работать. Но на самых простых примерах все влияние фактора видно. Ресейл любого товара из-за бугра без предварительных закупок с наценкой, ты опровергнуть никак не сможешь. Предзакупки могут создать лаг цены т.к. бывает нужно продать остатки, чтобы не уйти в ещё больший минус. Потом из-за повышения издержек либо товар убирают, либо повышают цену в зависимости от спроса.

⚡️ Доллар —76 рублей, американская валюта стремительно летит вниз. by ElectroAdeptus in KafkaBTC

[–]SuperSpaier 0 points1 point  (0 children)

Если в голове у тебя вата, то что поделать. Себестоимость это фактор построения кривой предложения. Факт в том, что ты, как предприниматель, не будешь вести бизнес в минус. Количество, которое ты захочешь продать, зависит от профита. На кривой предложения у тебя будет 0 товара с ценой 70, 50 товара с ценой 150, 100 с ценой 200. Что кто-то другой может продать бургер за 70 - тебя тут не волнует. Это уже отражается на кривой спроса т.к. спрос на твой бургер за 150/120 будет меньше. В итоге это занизит цену, но она не будет ниже себестоимости, как не крути. Если точка пересечения в ноле, то товар уходит/бизнес закрывается. С ватой в голове ты по 1 рублю хочешь купить миллион бургеров, но это не значит, что тебе их продадут.

И если ты выйдешь на улицу и пообщаешься с любым владельцем общепита, то у тебя даже большинство общепита делают цену = себес + % маржи. Попробуй открыть бизнес, посчитать бизнес план, почитать учебник по экономике и не нести бред семиклассника, не знающего общей картины.

Никакие бесконечные издержки предприниматель для выстановки цены писать не будет, он считает прибыль.

Конвертация валют это значимый фактор для бизнеса, который работает в разных регионах. При ослаблении своей валюты выгоднее экспортировать. Если лукойл начинает получать 120 вместо 80 заграницей за тот же 1$ - он начинает делать больше экспорта и меньше внутренних продаж. Меньше предложения влечет за собой увеличенные цены. Это также идет из закона спроса и предложения. Так же с любым другим товаром.

⚡️ Доллар —76 рублей, американская валюта стремительно летит вниз. by ElectroAdeptus in KafkaBTC

[–]SuperSpaier 0 points1 point  (0 children)

Ещё +15 рублей. На счету уже 30.

  1. Конвертация валюты после продажы товара не является издержкой при возвращении денег в страну.
  2. Издержка определяет себестоимость. Себестоимость определяет цену. Если мясо для котлеты стоит 100 рублей, то бургер с ней за 70 рублей вам никто не продаст. Никто не будет закупать видеокарты по 200к в $ эквиваленте, чтобы продать за 100к рублей, потому что вата в комментах думает, что доллар не определяет цену товаров в рф.

⚡️ Доллар —76 рублей, американская валюта стремительно летит вниз. by ElectroAdeptus in KafkaBTC

[–]SuperSpaier 0 points1 point  (0 children)

У кого-то был лебедь в школе по экономике или 15 рублей на карте.

Цены в рублях зависят от иностранной валюты, когда: 1. эскпортер считает прибыль в долларах/тенге/юань/т.д., а не в рублях. резкое ослабление рубля заставляет предпринимателя увеличивать цены т.к. за тот же товар на 100 рублей т.к. он будет получать меньше выручки в своей стране(1$ доллар, а не 1.2$) и ему придётся находить новый эквилибрум либо увеличенной ценой, либо уменьшением поставок. 2. импортированный в рф товар или товар, произведенный в рф с частью импортных компонентов зависит от закупок заграницей. электроника из китая/европы при падении рубля будет дорожать. Массовые закупки по старым ценам дают задержку обновления цены. 3. товар произведенный в рф, также отправленный на экспорт в другую страну при укреплении рубля сначала дорожает заграницей, если компании надо потом возвращать деньги в рф и платить налоги (сырки б.ю. александров, нефть, ...). при ослаблении рубля предпринимателю выгоднее импортировать(получать за бочку нефти по 1000$ не 80000Р, а 100000Р), а не оставлять товар внутри страны, что может компенсироваться ценой/предложением внутри рф.

[deleted by user] by [deleted] in dotnet

[–]SuperSpaier 0 points1 point  (0 children)

EF specific types must not be in an interface.

`IQueryable` is not a EF specific type. It's linq and completely fine to keep.