Sunday, 15 October 2017

Home Temperature and Humidity Automation


Home Temperature and Humidity Reading

             Using Arduino and DHT sensor it reads the current temperature and humidity inside my house. The data readings are posted to the Thingspeak.com and put into math lab analytics. Look below the reading of my temperature and humidity log. 

Humidity







Temperature(Celcius)



Temperature (Fahrenheit)





Heat Index in Celcius




Heat Index in Fahrenheit 


Friday, 9 December 2016

Adobe Photoshop Tools and Their Function


Adobe Photoshop Tools and Their Function

Rectangular Marquee Tool (M)
Use this tool to make selections on your image, in a rectangular shape. This changes the area of your image that is affected by other tools or actions to be within the defined shape. Holding the [Shift] key while dragging your selection, restricts the shape to a perfect square. 
Holding the [Alt] key while dragging sets the center of the rectangle to where your cursor started.

Move Tool (V)

Use this tool to, well, move things. Usually you use it to move a Layer around after it has been placed. Hold the [Shift] key to limit the movements to vertical/horizontal. 

Polygon Lasso Tool (L)
Ok, this should be the Lasso Tool, but I use the Polygon Lasso a lot more often. Use this to draw selections in whatever shape you would like. To close the selection, either click on the beginning point (you’ll see the cursor change when you’re on it), or just double-click. When holding the [Ctrl] key, you’ll see the cursor change, and the next time you click, it will close your selection


Magic Wand Tool (W)
Use this to select a color range. It will select the block of color, or transparency, based on wherever you click. In the Options Bar at the top, you can change the Tolerance to make your selections more/less precise.


Crop Tool (C)
The Crop Tool works similarly to the Rectangular Marquee tool (see above if you have no short-term memory). The difference is when you press the [Enter/Return] key, it crops your image to the size of the box. Any information that was on the outside of the box is now gone. Not permanently, you can still undo. 



Slice Tool (K)

This is used mostly for building websites, or splitting up one image into smaller ones when saving out. It’s kind of an advanced tool, and since you’re in here for the basics, we’ll kind of skip over it. 
Healing Brush Tool (J)
This is a really useful tool. Mildly advanced. You can use this tool to repair scratches and specs and stuff like that on images. It works like the Brush tool (see below). You choose your cursor size, then holding the [Alt] key, you select a nice/clean area of your image. Let go of the [Alt] key and paint over the bad area. It basically copies the info from the first area to the second, in the form of the Brush tool. Only, at the end, it averages the information, so it blends. 

 Brush Tool (B)
This is one of the first tools ever. It’s what Photoshop is based off of. Well, not really, but it’s pretty basic. It paints one your image, in whatever color you have selected, and whatever size you have selected.


Clone Stamp Tool (S)
This is very similar to the Healing Brush Tool (see above). You use it the exact same way, except this tool doesn’t blend at the end. It’s a direct copy of the information from the first selected area to the second. When you learn to use both of these tools together in perfect harmony, you will be a Photoshop MASTA! Not really, it’s just less irritating. 



History Brush Tool (H)

This tool works just like the Brush Tool (see above) except the information that it paints with is from the original state of your image. If you go Window>History, you can see the History Palette. The History Brush tool paints with the information from whatever History state is selected.



 Eraser Tool (E)
This is the anti-Brush tool. It works like an eraser (duh) and erases whatever information wherever you click and drag it. If you’re on a Layer, it will erase the information transparent. If you are on the background layer, it erases with whatever secondary color you have selected.


Gradient Tool (G)
You can use this to make a gradiation of colors. Gradiation doesn’t appear to be a word, but it makes sense anyway. It creates a blending of your foreground color and background color when you click and drag it. 


Blur Tool (R)
The Blur tool is cool. It makes things blurry. Click and drag to make things blurry. The more you click and drag, the blurrier things get. 


Dodge Tool (O)
This tool isn’t as crappy as the car brand. It’s actually used to lighten whatever area you use it on. As long as it is not absolute black. Absolute black won’t lighten. 


Sponge Tool (O)
The sponge tool is an amazing but not a well known tool that is incredibly useful. It allows you to chose a brush to desaturate or saturate a certain area on a picture. for those of you who do not known desaturate is to take color away and to saturate is to add more color or brighten a picture.
Path Selection Tool (A)
You use this tool when working with paths. Since this is all about the basics, I won’t go into details. It’s related to the Pen Tool (see below) though.
Direct Selection Tool (A)
With the Direct Selection tool, you can select individual points and segments of a path. After you select one or more individual points and segments, you can add or subtract items to/from the selection. In addition, you can also use the Direct Selection tool and drag a marquee to select parts of the path or drag over a portion of it to create a selection rectangle.
Horizontal Type Tool (T)
It makes type. Or text. Or whatever you want to call it. You can click a single point, and start typing right away. Or you can click and drag to make a bounding box of where your text/type goes. There’s a lot of options for the Type Tool. Just play around, it’s fairly straight-forward. 

Pen Tool (P)
I mentioned this tool above. It’s for creating paths, in which you would use the Path Selection Tool to select the path. Paths can be used in a few different ways, mostly to create clipping paths, or to create selections. You use the tool by clicking to add a point. If you click and drag, it will change the shape of your path, allowing you to bend and shape the path for accurate selections and such.


Rectangle Tool (U)
By default it draws a Shape Layer in the form of a rectangle. It fills the rectangle with whatever foreground color you have selected. It’s pretty complicated, don’t hurt yourself with this one.




Notes Tool (N)
Like post-it notes, but digital. You can use this tool to add small little note boxes to your image. These are useful if you’re very forgetful or if you’re sharing your Photoshop file with someone else. I’m pretty sure it only works with .PSD files. 



Eyedropper Tool (I)
This tool works by changing your foreground color to whatever color you click on. Holding the [Alt] key will change your background color.


Hand Tool (T)
You can really make short work of your job with the Hand Tool. It’s for moving your entire image within a window. So if you’re zoomed in and your image area is larger than the window, you can use the Hand Tool to navigate around your image. Just click and drag. You can get to this tool at any time when using any other tool by pressing and holding the [Spacebar].


Zoom Tool (Z)
Pretty obvious what this tool does. It allows you to zoom into your image. Don’t be dumb, it doesn’t actually change the size of your image. Hold the [Alt] key to zoom out. Holding the [Shift] key will zoom all of the windows you have open at the same time. Double-click on the Zoom Tool in the palette to go back to 100% view.


For The Sofware Adobe Photoshop.. I gave a Link....


















Philippine Agricultural Engineering Standards Reviewer (Computer base Software Reviewer)


Philippine Agricultural Engineering Standards Reviewer(Computer base Software Reviewer)




                  There are Agricultural standards than are meant for Philippine settings. For example, the location of housing for broiler production, (1) The location shall conform to the land use plan of the area. (2) the site shall be accessible to service roads, water supply and electric lines.(3) the site shall be well drained and allows for free air circulation (4) the building shall be constructed in an east west orientation and the structure for marketable animals shall be near the service road and etc. these are the standards needed for a broiler housing construction. which are made to for some safety of nearby communities and environment. 

                 Anyway, this application is made to be able for a student like me to make it more easier to review and memorize statements. this standards are now in volume 10 in which this application has only volume 1 to 8.

                 Cheers!! for does students like me who are currently taking Bachelor of Science in Agricultural Engineering. you should try this. This application is a our project in Computer application 2.this application is made by me and questions are contributed by my Classmates and Guided by Engr. John Paulo Perido. 


How it Works?

             PAES Reviewer pulls questions from a datebase which are generated randomly. It perfectly works until all questions are answered. in every topic there are numbers of questions which are different in each topics. all questions are based on the PAES. 


Screenshots:
















Video:

Philippine Agricultural Engineering Standards Reviewer 

Please Watch! 


Download:  https://mega.nz/#!94cyRZaA

Please follow me in Google+!


Tuesday, 24 March 2015

Euthanasia

Euthanasia is a practice of direct killing of a patient by a doctor for the benefit of that person while physician assisted suicide is the act of killing oneself by means of lethal drugs provide by the physician.
The concept of these two practices, the Euthanasia and Physician Assisted suicide is analyzed by Callahan. He provides three arguments in favor of euthanasia. First if we are competent, to have the right to control our body as we fit and to end our life if we choose to do so. He state that “individual has the right  to commit suicide, however committing suicide does not involved anyone else’s help, as euthanasia clearly involves another person. Euthanasia is thus no longer a matter of only self determination but mutual, social decision between two people, the one to be killed and the one doing the killing. Second is the we owed to each other in the name of beneficiaries or charity, to relieve suffering when we can do so. Third is that there is no serious or logical difference between terminating of dying patient, allowing the patient to die, and directly killing a patient by euthanasia. He claims that this argument is wrong, as the lethal disease in some point cannot be cured by the treatment as it only extends the life of a patient and the patient will die with the disease.
According to the U.S. catholic Bishops “to destroy the boundary between healing and killing would mark a radical departure from longstanding legal and radical traditions of our country, posing a threat of unforgivable magnitude to vulnerable members of our society, those who represent the interest of elderly persons with disabilities, and persons with AIDS or other terminal illness are justifiably alarmed when some hasten to confer on them the freedom to be killed”. Euthanasia would be a form of killing but in euthanasia a patient gives his permission to be killed by his physician who is right but knowing that physician’s job/function is to cure and prevent pain and suffering of the patient they should not practice euthanasia. “Doctors must not engage in assisting suicide. They are inheritors of a valuable tradition that inspires public trust. None should be even partly responsible for the erosion of that trust. Nothing that is remotely beneficial to some particular patient in extremis is worth the damage that will be created by the perception that physicians sometimes aid and even abet people in taking their own lives" (Bernard Baumrin, PhD 1998).
In this Article, Callahan said that the concept of this two, the euthanasia and the physician assisted suicide is not just a simply ethical debate rather, they point to fundamental turning points of history. For Callahan, there are three fundamental turning points in these issues. First, the legitimate conditions under which a person can kill themselves. He claims the emergence of this issue is in stark contrast to many other efforts to curtail the reasons why one person can take another's life. A legitimate person can kill a person for a reason. For example, those who are attending funerals of suicides will know this such funerals fell relief that the misery of the life leading up to them has now been relieved.
Another is meaning and limits of self-determination. As for self-determination, Callahan claims that such notion simply leads to an “idiosyncratic view of the good life”. Self-determination or suicide is the view of person who is in agony as the way to a good life. As a person who is in misery and suffering, he will find way to scape all this. For Example, a father who has a terminal illness has been bed ridden in the hospital. As he is the father, he is the main source of income of his family. The treatment cost is a big one that led to his sons and daughters to stop in elementary and work to pay for their father’s treatment. To be a father you can’t take this happening in your life. As you know that your terminal disease couldn’t is cure and you will die soon. This will lead to the father to commit suicide, as his view it a way to end the suffering of his family.
Still another, the claim such issues make upon the institution of medicine. For Callahan, forcing a physician to make his talents and skills available to achieve a patient’s private vision of good life is simply wrong, rather he believes that a doctor should be available to “promote and preserve human health”. According to Callahan euthanasia and physician assisted suicide is a social not individual as it requires assistance of physicians. Since a physician-patient relationship had the greatest effect on patient engagement to the hospital activities (Health Services Research 2011). Since the physician- patient relationship is bind with great relationship and they have greater confidentiality.  Physician may influence the decisions of the patient and engaged to the euthanasia and physician assisted suicide. Like what I said above a physician should not take the patient’s life as it is not his duty. Even if it is for the patients good, killing him is not the way to relieve the suffering of the patient. A physician should promote health care and trust not fear to their patients.
. In the survey conducted by Hall, Trachtenberg, and Dugan, there was disagreement by 58% of the participants, and agreement by only 20% that legalizing euthanasia would cause them to trust their personal physician less. The remainders were neutral. These only indicate that not all patients agree to the euthanasia and physician assisted suicide, as it will lessen the trust of patient to his physician. Mark hall stated that “Our study shows that only about 20% of people believe they would trust their physician less if euthanasia were legalized”. For example euthanasia or physician assisted suicide is being legalized, a patient has a terminal disease. The patient lying in his bed would be worried and thinking if his physicians would kill him. The trust for all physicians would decrease as they can stop the treatment and kill patient to relieve its suffering and pain. The fear would administer the mind of patients since this act controls the patient. Legalizing the physician assisted suicide would not help the curing of the terminal disease as it would not downhill course of the illness.
Callahan concluded We cannot allow self determination to run free, rather doctors should focus on comforting and reduce pain and anxiety and physicians should practice caring and compassion, instead of death. For me, physicians should do they’re duties as it is they’re obligation to treat patient as a human. They should increase their trust to their patient to have a strong relationship to their patient and to decrease the fear of people in the hospitals and doctors.


Child Euthanasia

   Child euthanasia is the practice of killing infants with defects, hateful and disabled.  Singer (1993) stated that when the life of an infant will be so miserable as not to be worth living, from the internal perspective of the being who will lead that life, both the 'prior existence' and the 'total' version of utilitarianism entail that, if there are no 'extrinsic' reasons for keeping the infant alive - like the feelings of the parents — it is better that the child should be helped to die without further suffering. A new born life would be killed by his defects? An infant doesn’t know about the outside, his innocent mind doesn’t know about euthanasia. It is not morally right to kill an infant just for his disabilities, defects, and being ill. An infant exist for a reason. That he has a role to this world. His disabilities are a gift. The religion teaches us not to kill nor harm other as it is violating the Ten Commandments. Singer argues that disabled infants may be killed ethically because they are not sentient beings. Sentient or not, babies with disabilities grow up to be children and then adults with disabilities (Bristo 1999). This person might live his life to a doctor not to his parents, as a study shows that the disabled people valued or has the highest perception about life than people that are abled. The abled people have the greater percentage of committing suicide than disabled people. Parents with a disable child will be in shock and will go in certain adjustment and will realize that this child makes their family stronger, as they passed the circumstance of having a defective child. To be able to pass this circumstance parents need the best information on how to develop this individual into an independent adult.