Details
-
Github
Joined devRant on 5/2/2017
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
-
Early exit to the rescue, these else blocks are disgusting!
-
I'd say debian + xfce
-
@xzvf why do you consider this an Eastern egg? If I can ping something, I'd expect the answer to be pong...
-
This has to be one of the slowest and most CPU intensive ways to set style properties.
-
@linuxxx what was this github-thing that solved the problem? Do you have a link? Just curious because I did a sound driver/codec thing for low end cherry trail laptops
-
Don't install it globally then. Add the CLI to the devDepebdencies of the project you need it for, then run it via package.json-script (using its name like you would if it was installed globally) or from the terminal with ./node_modules/.bin/the-clis-name
-
@brod sounds like something you really don't need a framework for. Why does everyone want to use frameworks based on JS, when JS is already capable of all these things?
Does no one learn the basics anymore? -
Here is a better framework. It can do the exact same thing, but has a smaller overhead compared to ramda: http://vanilla-js.com
-
@Pointer where I work, we call them early exit
-
@jAsE but free memory IS wasted memory. It is not in use while it could be in use to cache things which in turn makes things run faster.
-
@dougheeren absolutely no one uses the space-key for indentation. Everyone who says he uses spaces for indentation does so with the tab-key. Why would you even think that we use the space-key?
I don't hit space 6 times if I need three levels of indentation. I hit tab once, and let the ide make the 6 spaces. -
Because you're more familiar with java than with js. If you would've used js on a daily basis for half a year and never touched java, the feeling would be the other way around
-
Yes, use them.
-
@vikaskr you know what? Sorry for my sassy comment, that was uncalled for. It's nice that you like that Screenshot utility.
-
Is it like the screenshot-utility chrome has in its dev-tools since chrome 59, or ist it more like one of those dozen screenshots utilities you can get as add-on?
-
Not all of them, but there are quite a few who think they know everything, but all they know is from decades ago
-
I got my mum a thick rubber case, and protective glass. She can drop her phone as much as she wants, its basically like new
-
@404response SF Mono
-
When I google a solution, I usually try to understand it, and then implement it myself instead of just copying it
-
@micropi THANK YOU!
When I was reading these comments I was like: do they really think, indenting with spaces means using the space key?
This discussion is purley about the content of the code, NOT about what keys were pressed to create it, because you need the exact same keypresses for both, tab-indentation and spaces-indentation. -
@xxmicloxx lineageOS, but there is no official build yet
-
Android Oreo on Oneplus one here :D
-
@Sukhi as there doesn't seem to be an official lineageOS image for your phone, I'd try this: https://forum.xda-developers.com/gx...
-
@vlatkozelka @vlatkozelka correct
-
@vlatkozelka you are wrong. Cyanogenmod is obsolete, lineageOS is "the New cyanogenmod", made by the same people
-
Yep, i guess you just gained a lot of exp!
-
@s0nic12 the 570 contributions were from automated scripts that worked over 70 repositories
-
I recently did 570 contributions on one day. Now the rest of the year is Light-Green except for a hand full of days
-
@IAmNotARobot
...
let foundExpands;
if (createEntityOption.expandEntity && (foundExpands = createEntityOption.expandEntity.filter((expand) => propertyKey === expand.attribute)) && foundExpands.length === 1) {
const expand = foundExpands[0];
... -
That's just illegal