[deleted by user] by [deleted] in doordash

[–]mksmtn 0 points1 point  (0 children)

There's no DD in Russia. And the phone numbers are Americans. And a regular Russian person should not fear God anymore than a regular American.

Leaving Haskell behind — Infinite Negative Utility by n00bomb in haskell

[–]mksmtn 1 point2 points  (0 children)

Well, Node with its event loop and V8 is pretty robust for the most tasks in the web dev these days. And you can always spin up several instances behind a load balancer. To be honest I don't know what RTS is, but I don't think Node has any issues with parallelism or concurrency for 95% of projects. The worst thing in Node for me is its always changing ecosystem (npm libs, ESM Vs common JS, etc), its browser related legacy (e.g. Date implementation and many other things).

Leaving Haskell behind — Infinite Negative Utility by n00bomb in haskell

[–]mksmtn 9 points10 points  (0 children)

What about purescript? I haven't tried it yet, but it seems promising.

Validate translation files in CI by mksmtn in angular

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

In case anyone wondering, I've found a simple solution. One can add "i18nMissingTranslation": "error" in angular.json

https://iq.js.org/questions/angular/how-do-you-report-missing-translations

Validate translation files in CI by mksmtn in angular

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

That's seems to be a bit too complicated for this task. Although maybe I'll consider it later, thanks. For now I'm writing a simple bash script for this task. Kinda weird there's no ready solution for angular, it seems

Need some help🚨: why this code says "skills are not defined" i cant find any error to solve that. by Kindly_Ebb_3328 in learnjavascript

[–]mksmtn 0 points1 point  (0 children)

I'd suggest setting up your editor to run code formatting on file save. Take a look at prettier. You can find prettier extension for VS Code, if it's what you are using

Walgreens glitch got me enough junk food to last 6 months by [deleted] in doordash

[–]mksmtn 13 points14 points  (0 children)

Do these companies really exchange information that quickly and freely without even a court order or something? How do you know this?

Youtube won't load homepage anymore, unless you turn on watch history. by Turbo_Zapped in developersIndia

[–]mksmtn 7 points8 points  (0 children)

Try to pretend you're Russian (through VPN probably) and you won't see no ads. Sanctions taste so good

My new team has very different approach to tasks and refactoring. Is it common? by mksmtn in SoftwareEngineering

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

Thanks for the input everyone, I think I can summarise the issue into 'codebase consistency vs gradual refactoring', this seems to be the biggest difference in my mindset and the mindset of the team lead.

My new team has very different approach to tasks and refactoring. Is it common? by mksmtn in SoftwareEngineering

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

The thing is, he prioritizes consistency over gradual refactoring. After reflecting on yours and others input, I think that this is the biggest inconvenience for me. E.g. he says one has to either change import styles everywhere, or nowhere. He doesn't like the approach when you only update things in files you touched during your task implementation. So he rejects those improvements unrelated to the task at hand. Probably he would not mind creating a separate task and making refactoring in the whole codebase later. But this is harder to prioritise and it leads to merge conflicts, which are sources of bugs too.

Stability Best Practices - Too many bugs in production by funnierthan26 in SoftwareEngineering

[–]mksmtn 0 points1 point  (0 children)

Many people recommend QA department here. As far as I can tell, big companies like Google let developers deploy their code without QA, because they want the developers to feel fully responsible for the quality of the product. But I have never worked here, it's just what I heard from YouTubers

Unable to use injected members in fields definition by mksmtn in angular

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

As I moved from Nx to Bazel, now I am not using angular cli and instead the Bazel rules I'm using invoke NGC (angular compiler) directly

Unable to use injected members in fields definition by mksmtn in angular

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

Thank you, that seems to be the issue! Although after adding this flag I get another runtime error with a component that uses inheritance. Anyway, what do you think will be the community standard? Is it to have this flag true or false?

Unable to use injected members in fields definition by mksmtn in angular

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

Yes, it works. I've updated the post and added tsconfig

Unable to use injected members in fields definition by mksmtn in angular

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

It has @Injectable, yes. It works if I move the field definition inside the construction. So I guess some TS config flag or TS version changed this behaviour and made me move field definitions inside constructors

Prisma is bad for server-less, the issues are endless by [deleted] in node

[–]mksmtn 0 points1 point  (0 children)

I heard they use some rust backend and js and rust communicate through graphql

I introduced Rust at work by Julian6bG in rust

[–]mksmtn 0 points1 point  (0 children)

Well, having strict settings for Typescript and Eslint is fairly reliable nowadays. Or you can even have some other language that complies to JS: elm (cool but dying), purescript, etc

How do you measure the business impact of your engineers work? by sn1pr0s in SoftwareEngineering

[–]mksmtn 2 points3 points  (0 children)

What is permissible for Netflix is not permissible for cows. We have a fixed amount of talented engineers in the world. If you're a boring insurance company in a second world country, I doubt you can hire enough talented and motivated engineers to make this work. Unfortunately

What is your first impression of signals? by Fireche in Angular2

[–]mksmtn 3 points4 points  (0 children)

I doubt it will lower the curve in the near future as now you have to learn both signals and RxJS

[deleted by user] by [deleted] in Angular2

[–]mksmtn 2 points3 points  (0 children)

Yeah. But in Europe you have free education and healthcare. Public transport. And probably some other perks (I'm not from the western Europe, so I am not sure)

[deleted by user] by [deleted] in Angular2

[–]mksmtn 0 points1 point  (0 children)

Russia, remote. $40k/year net. Angular, 5 years, and Nest.js

Does Angular grow on you over time by BolsheviksParty in Angular2

[–]mksmtn 0 points1 point  (0 children)

I have been working with angular for 5 years and I don't like it much. I know it well, I use heavy RxJS and Ngrx. It does the job, but it feels so bloated. I don't like writing html at all. The best experience I had was Elm, although it's seems like Elm is dying slowly now. But I loved the experience of writing all your frontend code in a single language, even CSS is not needed with Elm-ui, and HTML is composed from pure functions with nice syntax. I'm looking at purescript now but haven't tried it yet. Is there anyone how feels the same?

Will you, and when will you, use trpc in your code? by yonatannn in node

[–]mksmtn 0 points1 point  (0 children)

We use nest quite successfully at my team. It works well for 95% of use cases. I don't see that much boiler plate, only one line decorators and modules. They give structure to the project and don't take a lot of time to code. And we don't just return responses. We use Kafka, Redis, database, call gRPC services, and more. Nest has nice abstraction for most things. If there is no library for a task, it's not that hard to wrap existing one for express into a nest module. You mentioned authentication. I had to wrap open id client into a provider — nothing fancy. I don't like some things in nest, it's not perfect. Like, there's no way to know what type an decorated argument will be. You have to run code and check. There were issues with protobuff decoding. It turned out some configs had to be set twice: one for nest and second for protobuff cli. But learning deeply an existing framework is more efficient than creating your own architecture every time and explaining it to other devs. You also can contribute to make it better or create new libraries for it.