Quotes #5

The hardest part of my life is being nice to stupid people.

-Anonymous

What is Refrigerator

Prior to the invention of refrigerators, food preservation imposed serious constraints. The best options were to suspend food in rivers, wells, or at the bottom of lakes, and absent these tactics, stable foods were heavily salted, spiced, pickled, or dried to prevent bacterial growth. With the industrial age, we began to understand thermodynamic cycles and—through an interplay of pumps, valves, and heat exchange—learned to cool food to arbitrary temperatures with the refrigerator cycle. We just saw that the refrigerator carries out a cycle to move heat out from the food compartment and into the room. This occurs via three main components: A pump that compresses gas. A valve that expands gas. Radiators that allow gas to exchange heat with the …

Did You See How Poor People Can Be?

One day a very wealthy father took his son on a trip to the country for the sole purpose of showing his son how it was to be poor. They spent a few days and nights on the farm of what would be considered a very poor family. After their return from the trip, the father asked his son how he liked the trip. “It was great Dad,” the son replied. “Did you see how poor people can be?” the father asked. “Oh yeah,” said the son. “So, what did you learn from the trip?” asked the father. The son answered, “I saw that we have one dog and they had four. We have a pool that reaches to the …

You will Laugh ?

Five facts about You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You You 1. You’re so lazy You didn’t read all the You’s. 2. You didn’t notice I put a Yoo. 3. You are now looking to find out. 4. You are laughing because you realise there is no ‘Yoo’ and you’ve been tricked. 5. You are going to forward this to others who are …

Android Activity Lifecycle

Willing to develop your own apps? Here i will bring you some basics about it. For me, the most basic thing before doing an android apps is knowing how the screen can be populated with fancy UI like in whatsapp, facebook, etc and destroy it. Android will do couple of actions from you pressed your apps icon till it’s closed again by pressing back or home. In android apps, screen content will be managed by Activity class or its subclass like AppCompatActivity. Android Application can be consisted of more than one activity. Each activity will isolate its state and data from others except you shared them in Application Context. Everything inside application context can be shared between activities in same context (but there’s a better …

Pulse Width Modulation

Pulse width modulation (PWM) is a powerful technique for controlling analog circuits with a microprocessor’s digital outputs. Consider to control a 5V DC motor with linear relation between given voltage and rotation speed with a 5V microcontroller, then you need it to works on 3V for achieve slower rotation. This goal can be achieved at least by 2 ways, DAC, or PWM. By using DAC technique, let say it have 8-bit resolution (256 level), then you need to connect 8 pin of your microcontroller to the DAC, powering the DAC, and takes output of DAC into your motor. it might looks quite simple and easy to understand :). But, using his technique, it will cost you 8 pin of microprocessor output, extra …

Quotes #4

I don’t need a friend who changes when I change and who nods when I nod; my shadow does that much better.

-Plutarch

Git in Nutshell

Git is kind of version control system (VCS) which would keep track every lines of your code so that you can recall specific versions later. Using a VCS also generally means that if you screw things up or lose files, you can easily recover. First thing first, let’s get your git : Git for OS X Git for windows Git for Linux Make sure your git can be recognized by doing git –version git version 2.7.4 (Apple Git-66) Next you need to create a directory where git will keep its eye on your files, it’s called as repository. To create repository, you may create it from scratch or you also can clone from another repository. For first option, let’s create new directory that will contain …

Back to Top