BlogHide Resteemsmammadmortaji (27)in cooking • 4 years agobutter chickenMarinate a cut and salted chicken with a mix of ginger paste and garlic and a half tablespoon of chili powder for 15 minutes. Put a little bit of oil on the pan and put the chicken on the pan and…mammadmortaji (27)in programming • 4 years agopure functionIs a function that only depends on the input parameters, not on what you have on the disk, your internet connection or anything else. You just give it a parameter and you can predict what it gives…mammadmortaji (27)in machine-learning • 4 years agonotes on normality test gathered from machine learning mastery websiteHere is the source: 1- The parametric models assume that the data has Gaussian distribution. If they are not, we should use non-parametric models. 2- However, there are some middle points that…mammadmortaji (27)in science • 4 years agoChallenge 2Think about the situation in which you need to prove something. For example ('cause we are talking about programming) you have implemented a solution and now you want to somehow test it. Do you…mammadmortaji (27)in programming • 4 years agoThe downside of codingYou write a big amount of code, there are some errors and you fix them, and run the code for a long period of time. Then you go take a bath, play some video games or eat a cup of coffee, then come…mammadmortaji (27)in programming • 4 years agoHow to make the user give you the right amountLet's assume you are writing a program in which user can input the amount of meat they have, and you give them what recipe they can cook. Of course, the user should not give you a negative number.…mammadmortaji (27)in programming • 4 years agoThe nasty thing about Java syntaxThe braces (I mean {}) are just semantically important. In other words, if you don't put them, it will not raise any error and the only thing which will be considered by the compiler inside the loop…mammadmortaji (27)in java • 4 years agoChallenge yourself: guess what would be the answer?Here are 2 pieces of Java codes: What do you think will be the output of right and left codes? Do you think they will be identical?mammadmortaji (27)in java • 4 years agoAn interesting fact about java branchesIf you don't have an else in your branching statement, you may face an error. The reason is, the program might or might not execute the statement inside second if. Here is the example from the…mammadmortaji (27)in programming • 4 years agoTheoretically, all about programming is this two thingsBranching and looping are fundamental blocks for programming. All of the basic books about programming claim that if you know branching and looping, you can solve any problem that a computer can…mammadmortaji (27)in loop • 4 years agoWhile loop"Hey joe; go to the town and don't come back until you find the doctor" Well, we call it a while loop. It says something like while the doctor is not foundkeep searching In other words, it first…mammadmortaji (27)in java • 4 years agoA difference between Python and Java blocksYeah; I am learning Java as one of my university courses. But I was using Python since two years ago. So there are plenty of differences that come to my eye when I am reading the [textbook] ( Here…mammadmortaji (27)in learning • 4 years agoThe key is to keep it simpleThe number of things to learn about, books you are reading, and most relevantly, job positions you are going to send your CV: they should be as few as possible. Here is what I am reading right…mammadmortaji (27)in learning • 4 years agoWhat I am going to do hereI hate social media. Each decade a hit of drugs will blast the population and gets as bad as possible. Maybe your grandma doesn't want you to smoke, but she doesn't care if you spend plenty of time…