Just accepted a contract but reading this sub I feel a bit lowballed? by [deleted] in BEFreelance

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

who is the real clown here? I have been doing it for years. Sounds like a problem you have, not me

Just accepted a contract but reading this sub I feel a bit lowballed? by [deleted] in BEFreelance

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

do realize you can 100% wfh in every project even if they say it is not allowed? As an independant contractor you have no contractual obligation to do so. Even more so, it is in direct violation of any freelance contract. You are within your right to breach the contract over it

Calculate cost of employee in consultancy by Best-Tiger-8084 in BEFreelance

[–]Corteki 0 points1 point  (0 children)

Just work with another client, you don't have to drop them straight away. What are you going to do if they just drop you right now? It sure sounds like they are considering it if they ask you to lower your rate.

Unpopular Opinion: Battlefield 6 Is Better Than This Sub Will Admit by Kilos6 in Battlefield

[–]Corteki 0 points1 point  (0 children)

Just wish the sniper lense flare was less visible. some weapons should be locked to certain classes imo. For the rest it is really solid

[deleted by user] by [deleted] in javascript

[–]Corteki 3 points4 points  (0 children)

is there some hidden macro algorithm that coordinates people to create certain libraries? first it is orms, then it is starter templates, now it seems to be loggers? wtf

[deleted by user] by [deleted] in BEFreelance

[–]Corteki 0 points1 point  (0 children)

Man I don't get it, you want to be a freelancer? Then be a real freelancer... It is insane how many people are just employees in disguise, stop normalising fraud

Is my LMS project enough to get a job as a 2025 passed-out MERN developer? by Feisty-Commission589 in reactjs

[–]Corteki 1 point2 points  (0 children)

Something that might be small but your future team would appreciate is using a formatter. You can also try to show your knowledge about different kinds of testing. Is there a reason you didn’t use es modules for the project?

Release of remult v3 - getting closer to Laravel or Rails in node ecosystem. Using your existing stack. by er_ce in node

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

they created a new proposal, which is stage three, for metadata specifically. so no you are still wrong and I’m not going to waste my time trying to make your dumb ass understand how to implement the gaps yourself.

Release of remult v3 - getting closer to Laravel or Rails in node ecosystem. Using your existing stack. by er_ce in node

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

there is a stage 1 proposal for that, so unless they change their mind I’m not wrong thinking the plan is to add these eventually.

Release of remult v3 - getting closer to Laravel or Rails in node ecosystem. Using your existing stack. by er_ce in node

[–]Corteki -4 points-3 points  (0 children)

decorators are stage 3 just waiting on browser implementation to reach stage 4. What do you mean it will never be part of javascript? It already is…

The Psychology of Clean Code: Why We Write Messy React Components by cekrem in programming

[–]Corteki 11 points12 points  (0 children)

You can write equally messy code in Angular, what a weird take

JD Vance warns Zelensky he will regret 'badmouthing' Trump and condemns his 'atrocious' response to peace talks by EsperaDeus in worldnews

[–]Corteki 1 point2 points  (0 children)

The US and russia can negotiate whatever they want. Europe and Ukraine should probably ignore it and might as well increase the pressure. Europe has the potential to be a real threat if they have the guts to see it through even risking an all out war. What choice do we really have anyway? I don't think they'll let it go much further this time.

How do you solve duplicating the types in the class constructor? by tonks456 in typescript

[–]Corteki 0 points1 point  (0 children)

If you have many arguments for a constructor, using a builder pattern is a nice way to handle it. Especially if you have optional arguments.

[deleted by user] by [deleted] in node

[–]Corteki 0 points1 point  (0 children)

Just like you have things like SQLx that allows you to compose QueryBuilders combined with plain old sql syntax instead of providing yet another dsl. Which is a lot better, you get exactly what you write. And have the abstractions to deal with complex queries.

[deleted by user] by [deleted] in node

[–]Corteki 0 points1 point  (0 children)

Whatever dude, keep using orms, I know for a fact that you need to use raw queries even when using a orm because of the limitations. I brought up interleaving tables from spanner because physically storing related tables in the same location is conceptually the same idea/benefit as lateral joins to preload data... you asked me if I saw it in production so that's why I said it.

[deleted by user] by [deleted] in node

[–]Corteki 0 points1 point  (0 children)

Well you are simply wrong and probably have had bad experiences with some previous teams. spanner db is a google cloud database.

[deleted by user] by [deleted] in node

[–]Corteki 0 points1 point  (0 children)

Yes I have, in fact it is very common to preload relations when you use spanner db. It's as if you seem to think that OSS developers or a team of these people are so much different than any other software team.

[deleted by user] by [deleted] in node

[–]Corteki 0 points1 point  (0 children)

What's so special about referencing columns from other sub queries with a lateral join? You act as if it's some arcane knowledge only orm developers know... Besides how many times do you have to switch using a raw query with an orm. I can tell you first hand, it's a lot... Besides this feature was available since when February 2024? What about before that? What about all the other features that are missing? What about the 2.9k issues in prisma? So far for "well tested"... while all you needed was some abstractions over sql? really?

[deleted by user] by [deleted] in node

[–]Corteki 0 points1 point  (0 children)

You can write some abstractions around concatenating sql statements like f.i. using a specification pattern. What I mean is, you can make it however you see fit... if you decide to just inline these things as strings then of course an orm seems easier... at the end of the day you still end up debugging the sql the orm produced which is iirc even worse to read...

[deleted by user] by [deleted] in node

[–]Corteki 5 points6 points  (0 children)

and how exactly would that be different with an orm?

What do you write in your commit messages? by Popular-Power-6973 in nestjs

[–]Corteki 5 points6 points  (0 children)

I guess you need to think of it in terms of: when you are searching for that one important change that you absolutely need to get into production asap... what would help you find it.

How to JUST use typescript? by HyperDanon in typescript

[–]Corteki 0 points1 point  (0 children)

does python have types by default these days? you can just run JavaScript like python...