The obstacle of mind in learning

published on March 22, 2015 in Articlesone comment
One of the main obstacles in our learning is offered by our own mind. This is the main difference between the learning of a child and the learning of an adult. When we talk of an adult we generally mean someone over 40, but in many cases even over 30 (or even younger!). As an adult starts learning something new, the first approach to the new is to put a mental barrier between himself and the new subject. He could think “This is too difficult to me” or “Why do I have to learn this thing?” or many other thoughts come up that arise this barrier. So, one important... read more »
Tags:

Packing rectangles into a rectangle

published on January 18, 2015 in Tips and Tricks3 comments
Packing rectangles into a rectangle Once, I have been given the following task: make a JavaScript plugin that allows to fit a variable number of rectangles of different sizes into another rectangle. Or better, you have a variable number of surfaces to cover with iron, iron is provided in panels of size depending on the factory: calculate the minimum number of panels that you need to fulfill the request. In this calculation, you need to include a margin between the rectangles as well – that corresponds to the line of cut. It was a quite interesting challenge. Finding the perfect algorithm in a short time was quite... read more »
Tags:

Physical exercise for geeks: the dough

published on April 27, 2014 in Articlesno comments
Physical exercise for geeks: the dough One important aspect that we cannot neglect is that long periods at the computer can create us physical problems. How many of you have experienced muscle ache of your right/left hand? This comes obviously because we keep our hands in the same position for long time and making the same movements. Of course, those who join gym everyday have probably solved the problem. But those who cannot do that, need to find handy solutions in the day by day life. So, I am here to suggest one handy and yummy solution: a very good way to exercise your hand + to fill your stomach with hand-made food! The idea... read more »

Funny Collection 1

published on April 22, 2014 in Articlesno comments
Funny Collection 1 ... read more »

Quick healthy apple-cake cooked with pan

published on April 9, 2014 in Articlesno comments
Quick healthy apple-cake cooked with pan One of the best thing is to have a good and healthy snack to enjoy between coding and slicing. But as it always takes so long preparing, oven cooking and washing, one prefers to buy ready snacks. So, as I have found an easy quick recipe to cook a delicious apple cake, I want to share it with you all. Oil and yogurt (instead of butter) will make the cake lighter. Preparing our own food is much much better rather than buying ready food, because we do not know how many preservatives and chemicals are in them, things that can compromise our health and so also our concentration and efficiency. ... read more »
Tags:

array_insert for PHP

published on March 24, 2014 in Tips and Tricksno comments
Similar to array_splice, this array_insert function allows to insert an object in an array – thing that unfortunately is not possible with array_splice that deals only with array parameters. This function offers an option for replacing the item correspondent to the offset. function array_insert($array, $offset, $object[, $replace=false]) $array is the array to be modified $offset is the position where we want to insert our object. It needs to be positive and within the limits given by the dimension of the array. If it is less than 0, the object will be inserted as the first element;... read more »
Tags: