Details
Joined devRant on 10/18/2016
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Don't be entitled. Just because you implemented a feature doesn't mean the maintainers think it's a good idea or that they want to maintain it. Form validation is clearly out of scope for a component library.
-
@ravijojila such a micro-optimisation, can't see a real-life situation where that would have any impact
Yeah, definitely ask your team lead. Worst case scenario, you'll learn something. My guess is that it's just to follow a general good practice of avoiding magic string, it's not strictly necessary for empty strings but might as well apply the same principle everywhere to prevent sloppiness -
I've tried Travis, Jenkins and Circle, the latter is miles ahead I find
-
@cannonau with mocking libraries, like unittest.mock in Python or jest.mock in JS
-
If you doing unit tests, you probably shouldn't have IO anyway, you use mocks (and get your mock to throw in your case).
I usually prefer mocks rather than using dependency injection, as the latter leads to using factories or this kind of pattern that adds indirection. Plus, with DI you still have to mock the dependencies you want to inject (even if they aren't used, as they are required by constructor). -
@bahua ah, yeah makes a bit more sense. I'd be very surprised if the company said yes though, and they certainly aren't obligated to
-
@calmyourtities your last name doesn't count as IP no, I don't think. And I don't see why you would have a right to the TLD if it has been previously registered.
-
I'd probably go with prestashop or Shopify
-
Deploying after a year of implementation is terrible project management :/
That being said, good luck! -
@C0D4 this absolutely isn't why you version lock and upgrade manually... It wouldn't help at all here
-
Crying over semicolons tells me that you're not using a linter, which means that semicolons are the least of your worries.
Get a fucking linter (or even a beautifier, woah it adds semicolons for you woah) -
@tokumei really? All classical guitars are nylon stringed
-
Don't think of databases as having a fixed designed schema, that's waterfall bullshit. Whatever orm you're using probably handles migrations.
Don't build layer per layer, build feature per feature always in the simplest way possible. That's how to "get shit done" -
@chaoticdenim what's the school and the company? And yeah, negotiate with the school (and go in person, nothing will move through email). Maybe it won't count as internship and you'll do another one, but is it such a big deal
-
I like the honesty
-
I'm working with one 13" and happy about it! Just set up shortcuts, it's faster than moving the mouse around
-
My own 2c: don't only do tech. Learn sale, learn how to talk to clients, learn how to manage a team, learn a how to run a company, define and plan a roadmap and measure measures. That's so many things that will make you *invaluable*, way more than "this guy is kinda technically more skilled than the his other guy"
-
1. Git checkout --ours package-lock.json
2. Npm install the package again -
Shit I'm midway through S1 and I find it pretty bad, characters are unbearable and so much pseudo-philosophical bullshit that doesn't make any sense. If S2 is worse I'll just stop now
-
Can't wait for RN 1.0 but I don't see that coming anytime soon...
-
@walid upload the video as is and have another worker/process do the conversion. Django is here for answering http requests, not for big processing.
So, upload using Django => add a job in a queue => have another worker picking up the jobs in the queue
That means you need a more complex infrastructure though. If by chance you're using AWS, SQS and a worker environment would work -
Aaah, waterfall, well known for making projects succeed!
-
@piehole most people configure that in their git config
-
@-ANGRY-CLIENT- it's fairly basic maths and physics. Also, a 4th "flat" dimension (is not tightly curled up on itself) wouldn't allow for stable particles and forces as we observe them
-
Jack is an amazing dev but nobody cares, because he can't deliver a project on time.
-
I can't even imagine the kind of shady stuff you'd have to do to have a JS identifier breaking your program because of bash.
Alternatively you can configure you editor to make '_' a word delimiter (like '-') -
I don't see how the $ could fuck anything up. An identifier is an identifier
-
@hndk use an extra-strict linter. Saves so much time and frustration
-
git-amend, which does a fixup of any commit. Kinda like "git commit --amend", but not necessarily on the last commit.
-
That's exactly what git is for