Details
-
AboutStill student I really like to argue even if I totally agree with you. Don't be offended :)
-
SkillsSQL, nosql, Java, Scala, Python, C, Oz, bash, HTML5, CSS3, JavaScript, PHP, MATLAB, R
-
LocationBelgique
Joined devRant on 7/25/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
-
@setuid0 why ternary?
isReturningFromConfigChange = savedInstanceState != null; -
At least it prevents from having more people trying to make viruses by making it harder. It also limits the reuse of old ones.
I think everyone one should protect their systems, even if it is not perfect... -
If you push PR without testing... Just. Stop.
-
@AdrienNini ten years later, yes I'm from Belgium !
-
And I just remembered having worked with CodeIgniter, a PHP framework that allows to use multiple user languages. It works the same way as explained above. I think most high level programming languages have an existing framework facilitating what you want to do
-
Android has a pretty good system for handling multiple languages for an app (try it with Android Studio, it will yell on you if you don't use it). Try implenting the same system for your environment or find a similar library/workframe.
-
@Jilano The Facebook wouldn't have become what it is today without drink and code !
-
Duvel and Desperados... I have a heartache
-
@Tytanium well he said "number 1", you said "number 2"... Maybe if you said "second" instead it would make sense?
-
@Geoxion What do you mean for PC only? They have apps for iOS and Android, and even Windows can run on ARM
-
@Geoxion I have never coded windows apps, but it depends on the tools MS gives... If you want to code and Android app, you have to import that library, this library, but also those libraries (which all belong to the Android API), which are all included in the APK even if you don't use 1% of it. At least it is the case if you are lazy.
-
@mngr I don't wanna be a douche, but let's take an example :
In decimal, 1234 is (((1*10+2)*10+3)*10+4). I use *10 because I'm in base 10.
In binary, 1011 is (((1*2+0)*2+1)*2+1). Here, I use *2 because I'm in base 2.
I guess you get it...
So for "unary", the only symbol would be 0, and 0000 would be
(((0*1+0)*1+0)*1+0) -
I remember the time when apps on mobile phones were about a few Mb... Now even for the dumbest app, you can't find anything under 100 Mb.
-
@Ashkin I prefer being busy doing nothing
-
You can deactivate updates tough...
-
Wait until one month after the installation, you never know...
-
"Please enter your email address before hitting the subscribe button" would be clearer. When you think it is dumb proof, someone dumber will come...
-
@linuxxx Right now I have 12 tabs with 1Gb memory used... So I kinda doubt that. CPU is at 2% though.
-
Well, if your pseudo-code says "sort the array",... or something like that, there are a lot of ways to do it
-
@nikolatesla I think that no method is perfect... The different possibilities just grow exponentially in most GUI. But testing a lot of user cases can already help a lot. Creating a test doesn't take much time, but if you do something wrong, you will know it before putting it on the master branch/on production :)
If you do correct unit tests on all the functions that need it, you will also reduce errors. -
@Hallelouia i know but you have you guessed that by reading the code? The type handling of JS is really messed up. This was just a small example illustrating that it is a bad language.
-
And also because it is a trend. Firefox also doesn't support basic HTML5 things like date input. But Firefox never gets hate.
-
This is a revolution !
-
Once I had to change a website from a framework to another because the client wanted it.
I remember a specific file of 4000+ lines, with only comments in czech. I could shorten it to 1000 lines only by moving some lines and putting some copy-paste into for loops. So yeah, if I saw that guy, I would say that I would have done it another way even if his worked. -
Truth is Zuckerberg is at the head of a lot of different AI technologies. Musk isn't really. The fact that he designs rockets and cars (and all the rest) doesn't make him expert in AI. The only AI I can think of is machine learning for self driving cars.
Zuckerberg has tons of servers running AI algorithms of all kind day and night.
Although both are just business man in my opinion and Zuck really looks like a ****, I think Musk is overrated. -
@Masta You think JS is good? Have you ever tried to execute
["10", "10", "10", "10"].map(parseInt); ?
There are tons of examples like this... JS should be killed with fire ! -
@SubhrajyotiSen If you can delete the repo from the remote, you can as well do a soft reset before the faulty commit, make a correct new one, delete the repo and then push everything with all the history. The only pseudo advanced command is the reset, and if you are using git I bet you used it more than once.
The real problem is when you cannot delete the remote. -
It is not because you love paintings that you know how to actually paint and get your stuff and gear ready if you want to try it out.
It is not because you love apps on mobile that you know how to (really) use a computer if you want to start programming. (by curiosity or to start a new hobby) -
Functionality testing is a must have in more complex programs. It is especially useful when doing web development where a small change could often break something you wouldn't think of thanks to the type handling of JS and PHP.
-
Every code or text project on GitHub and/or GitLab. Every heavy or important file on an external drive. Why bother with other backup?