Details
Joined devRant on 8/26/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
-
Never had that problem. Mostly because I've always stored my projects in my secondary hard drive.
-
Why would anyone believe that java is better than python for ML?
-
And here I was bitching about job candidates sending me their challenge .net project folder in a zip file
-
For sleepiness I usually just take a nap.
For consistent productivity I recommend setting very short term goals and work on them. Regardless of your feeling motivated to do it or not. -
What I do is use a thick comb and an electric razor to trim it down once a week. Then shave the neckline and use scissors to shape the moustache.
After a few iterations it starts looking well-kept. -
@billgates I simply use jsDocs to document my functions. IDEs can use that to tell you all you need to know about a module without any hassle.
-
This has "diva" written all over it.
Be professional.
You have a problem with how things are done? Go to the person who can do something about it, explain the problem and why is it a problem; then provide a solution for it. -
I normally prefer using an IDE for coding. Any text editor for local text files is fine. And vim for remote simple changes, such as a config setting.
Vim is a great tool and so long as you know how to edit some text, save it and exit, you can get by just fine.
I can't think of a scenario where I would need to do anything particularly complex on Vim. -
Best. Feature. Ever.
-
I haven't explored the console object as much as I should. Thanks for the extra bit.
-
The whole crux of being a professional is doing what you need to do regardless of your motivational or emotional state.
Tl;Dr work on it anyway. -
Depends. One time I was asked to develop a crypto currency for a group of people I hate with a passion. So I tripled my normal asking price. They said yes. So I agreed.
Mainly because it's the people I hate not the project which I thought was one of the very few non-horrible ideas they had.
Another time I was asked for the formula of a slow burning/high energy compound that would be used to melt a safe open. That time I refused because I oppose theft. -
I've worked on VS nearly all versions. IntelliJ, VSCode, Eclipse and a crapton of text editors.
VS is still my favorite for desktop applications.
VS Code for most light or Web work.
Text editors for light scripting.
Never had issues like the ones you mention. I add a folder VS recognizes it and indexes it. Some times it takes a little while bc it up updates IntelliSense with the new code. -
My 2 cents:
Write a script that takes the string and sets it on fire.
My 2 useful cents:
Make the script check each character.
If it finds "(" or "+" or "," it should add the character to the current string as usual an then add the current string to an array and start a new empty one.
If it finds ")" it should first add the current string to the array and start the new one with ")"
You can then indent it by iterating through your array and adding as many "\t" characters to the beginning of each string as your indentation counter.
A string ending in "(" adds 1 to the counter.
A string starting with ")" subtracts 1 from the counter.
Output the result of stringArray.join ("\n") operation to a file.
This should make your life a lot easier. -
I love JS. Smells like freedom!
-
I'd resolve the ticket once I'm back with "working as intended"
-
That's why I get weird looks when instead of asking those questions I just say "let me see" and run the damn commands myself. I don't trust people saying they've tried my solutions already.
-
"When a mosquito lands on your testicles. You understand that some problems should not be resolved with violence."
-
@bittersweet I like to think that I'm very open-minded towards anything that is not harmful to others. If you feel sexuality attracted to apache helicopters that's fine by me so long as I'm not forced to anything because of it.
Meanwhile I view Google's harvesting of my personal info as payment for using it's many services. (Plus if I'm getting bombarded by ads anyway. I'd very much prefer that it's about thing I might actually purchase) -
Meh I've always just assumed that everything I read or write on an electronic device is being monitored. And act accordingly. I don't have the energy to worry about such things.
-
Unexpected token after last if. No closing parenthesis. This won't compile.
-
Ok It's official. I'm old.
I'm having trouble following the slang "these kids" are using nowadays. -
Es6 is basically the 2015 specification for JS. It basically an improved version. But I see that I'm throwing you into the deep end.
Just use bootstrap for your layout needs and jQuery for this specific issue. -
You can use Ajax to load the file and vanilla Javascript to replace the contents of a DIV with it.
Same thing is more easily achieved with jQuery and/or ES6 -
"Because you don't know how to use it"
-
@C0D4 a bit of social engineering. All humans are intelligent in some form or another. And for each kind of intelligence there are problems that require lots of preparation that needs to be done every time you get interrupted.
I use that to explain how much a meeting bites into productivity until I see his/her face twist in horror.
Result: only 1 meeting maximum per day at first hour in the morning. -
Professionals work regardless of motivation or inspiration. That's just a lazy excuse.
Force yourself to do what you need to do. That's called discipline. -
Looks like he is trying to make sure that if isEnable is truthy, it changes its type to boolean.
I would have done something like isEnable = !!isEnable;
So it also handles falsy => false conversions.
Unless there's a reason you wouldn't want that. -
I don't stay up all night. That causes bad code.
-
What if it's playing dumb so it's plans are not easily revealed?