Monday, May 16, 2016

Programing the indoor drone for a "SAD" System


This instructable will give you an EXTREMELY simple and quick way (< 15 minutes) to have an AR Parrot Drone 2.0 fly autonomously with code written by you! The best part of this project is it only requires the drone and a laptop(mac or windows). No modifications to the drone. I will also show you how to stream the video from the drone onto your laptop. Check out a sample program I wrote for my drone:


People have done CRAZY stuff with this, including having a drone that can follow peoples faces or be attracted to objects that are red. This guide is a step-by-step on how to use Felixge's node library to control your drone. Definitely check out what he's done. I did this through trial and error and pared it down to the essentials, best of luck!

Picture of The Drone

To program your drone, you will first need a drone! I am using an AR Parrot Drone 2.0. The first version may work, but no promises. You can find them atRadioshackAmazon, etc.

First you will need to get comfortable just controlling the drone with you smartphone/tablet. Download one of the apps such as 'AR.FreeFlight 2.4' to control it. It might be a good idea to leave the indoor bumper hull on at first to minimize damage from collisions. I also suggest flying in an open field or park. 

Create A Quick Ad Hoc Wireless Network Connection

*I skipped the ad hoc and simply created a homegroup, basically serves the same purpose.

Do you want to create a quick network connection between two computers or laptops to share some files? Or maybe you want to share an internet connection? Windows 7 and Vista have a build-in feature to create a quick ad hoc wireless network connection, this means you can connect directly with another computer or laptop without the need of a router.
To begin, click Start and select Network. Now click on Network And Sharing Center as shown in the screenshot below. If you can’t find Network, then type Network in Start Search and hit Enter.
Now in the left sidebar, click Set Up A Connection Or Network. From the list select Set Up A Wireless Ad Hoc(Computer-To-Computer) Network option and click Next.
set up wireless ad hoc network connection
Click Next again and it will ask you to type a Network name and select the Security settings as shown in the screenshot below.
network name and security coptions
Make sure you select a good password, if you don’t know which security type to select, click on Help Me Choose link next to it. After you are done click Next and the Network connection will be ready.
Now in the Network And Sharing Center you can choose what to share as you can see from the screenshot below.
sharing and discovery
To Share an Internet Connection, click View Status next to the connection that you want to share. Now click on Properties button which you will find under Activity.
Click on the Sharing tab and tick the checkbox where it says Allow Other Network Computers To Connect Through This Computer’s Internet Connection. Under Home Networking Connectionselect Wireless network Connection and click OK.
network connection sharing properties
Now your connection is ready to to shared. To enable the wireless network connection you just made, go to Start and click Connect To.
connect to a network
You will see your wireless connection listed there. Select your connection and click Connect.
wireless network connection
You will see a success message as shown below.
Wireless is ready to be used
You will see your connection listed under Wireless Network Connection on the other computer. Simply connect from there and you are done sharing the internet connection.
Note: To connect successfully make sure the wireless hardware is enabled on both computers or laptops.
*This original post has some age yet it will work as long as you don't attempt it on a CrApple product.


The Asian Diet:

Simple secrets for eating right, losing weight, and being well

For the best diet advice, look to the East. Compare the shapes of the average American to the average Asian and you will be quickly reminded that America, with all of its diet fads and super foods, is the most obese nation in the world. Chinese culture, on the other hand, has adhered for over 4,000 years to a diet plan of balance and moderation and simple principles that we can all practice to live healthier.

If we eat like the Asians, we will look like the Asians (thin). When they start eating like us, they start looking like us (not thin). The overriding principles are Balance and Moderation. You don’t need to eat Chinese food or any Asian cuisine every day. The various countries cuisines are very different; but they all adhere to the same principles; a diet of simple whole grains, slightly cooked vegetables, and a little bit of everything else.  Too much or too little of any one thing is not good.

All foods have upsides and downsides. A good diet should be like a good stock portfolio, diversified. If you have the same thing every day, you are overloaded in one sector. This makes you more prone to the dangers of that sector, and at the same time you are missing out on all the other good things happening in the market. So like with a good portfolio, you should hedge your bets. Have smaller amounts of more foods, then no single one can have too great an influence.

White rice is better than brown. Brown rice is white rice with a thick hull around it. It is kind of like eating a walnut and not taking the shell off. There are nutrients in the hull, but they have a very poor bioavailability. Our bodies spend a lot of time and effort trying to break down the shell, which will use up energy and slow our metabolism. But since moderation and balance are the principles, don’t have white rice all the time. Rotate between all the grains (including brown rice). The more processed a food is, the harder it is for us to un-process; so simple grains should be taken more than breads and pastas.
Cooked vegetables are better than raw. It is true that cooking slightly will destroy a little of the nutrients (about 10 percent), but that remaining 90 percent is then unlocked and available. Whatever you put in your stomach that is cold and raw, you have to heat and cook. This takes your time, your energy, and slows your metabolism. We get all our energy from our digestion. We want to get the energy and life out of the food and excrete that which we don’t need. Cooking outside the body lightens the load and then our digestive tract can simply act as a filter: send the good stuff to the tissues, the bad to the tissue paper. We should eat a wide variety of vegetables, mostly locally grown and organic.

Calories don’t matter. The average person in China consumes between 25–40 percent more calories than the average American. Even the sedentary office workers have more calories and less obesity. This is because of the kinds of calories they consume and how they are prepared. Calories ingested from natural sources will give you a more steady release of energy, satisfy your hunger, and facilitate appropriate elimination of waste. Eating cookies, snack foods, artificial sweeteners, sodas, etc, will spike our blood sugars, make us hungrier, and slow our digestion. You should never be hungry. Just keep yourself full of good, natural food.

You should eat a little red meat. Most Americans have too much red meat and that is clearly associated with myriad health problems. Vegetarians almost have it right, they just go a little to far. Giving up meat usually will show a short-term improvement, but almost always will lead to a long-term deficiency. The Chinese recommend that we get two ounces, twice a week of specifically mammal meat. A little bit of fish and fowl are good as well, but we do need a little mammal in the rotation. White meat is not better than dark, chicken is not better than beef, egg whites are not better than yolks. We should have a little of everything. One famous Chinese medical doctor wrote the “Vegetarianism is best suited to monks, living in the shelter of a temple, spending their days in seated meditation”. Those of us with a more active lifestyle need a little more of an active food source.
Regarding the ethics of meat eating, I believe that God loves carrots too. Everything has a life force and wants to grow and reproduce. So it is not possible to “do no harm” and survive. Everything has to eat something. We should always be grateful and mindful for the lives that are given so ours may continue.

Stay away from Dairy. Dairy is designed by nature for infants to turn into substance in the body. Humans are the only animals that have dairy after infancy. Dairy does have calcium, but it is overwhelmed by the protein Casein, which seems to rob the bones of calcium. Green leafy vegetables are a much better source of calcium for our bodies, with less ill effects.

Chinese medicine teaches that in adults, dairy turns into a substance called Phlegm. Phlegm can manifest in many different ways: fat, mucus, sinus infections, mental fog, respiratory problems, skin conditions, and even fibroids and tumors. A little dairy won’t kill you, but a lot of it is not good. Your primary beverage should be water (room or body temperature), number-two should be green tea. Everything else, including coffee, should be occasional.

Try and put these principles to use in your and your family’s diet and you will see the benefits. Trust what has worked for millennia. Keep it simple, balanced, and moderate.

To order your copy of "The Asian Diet: Simple secrets for eating right, losing weight, and being well"  click here.

Principles
All of these principles are explained in detail in the book

For diet
  • Balance and Moderation are the keys
  • Eat whole grains (the less processed the better)
  • Caloric science in inherently flawed- Calories don't matter
  • Eat organic
  • Eat local
  • Cooked vegetables are better than raw
  • Eat fruit in moderation
  • Your diet should be like your portfolio- diversified
  • Eat a wide variety of food.  Too much or too little of any one thing is not good
  • Juices and sauces are not moderate
  • You should eat a little red meat
  • White meat is not better than dark; egg yolks are not worse than egg whites
  • Dairy is for infants and is not good for adults, despite what the commercials and billboards tell you
  • Sugar substitutes are not good
  • Don't go hungry
  • Don't microwave
  • You don't need to take supplements
  • Chew your food well
  • Fill your stomach half way with food, one-quarter with liquid, and leave one quarter empty for processing

Lifestyle
  • Should be balanced and moderate
  • Don't always be "doing", spend some time just "being"
  • Get some exercise every day.  Tai Chi is the best exercise
  • Get enough sleep; and sleep at the right time (night)
  • Don't overdo any one activity
  • Take time every day to recharge

Attitude
  • Keep a wide perspective - Don't sweat the small stuff
  • Forgive yourself and others
  • Keep an open mind
  • We are not here to just accomplish; we are here to learn and to teach
  • Your emotions should be like the wind
  • Have compassion for all creatures great and small
  • Don't be too quick to judge things
  • Look for, and enjoy, the humor in life

Home       Principles / Free report       Testimonials / Reviews       Recipes       Order       Author / Contact       New

   




20 minute home / office network

*I've been running since my feet touched the ground here in Cambodia. The most difficult aspect of doing a quick home network was finding a computer store with the appropriate connecting patch chords.




I have been told the vid is blocked in some countries, screw the filters and youtube it.

*The craptop display settings have been blogged a couple of times.

Sunday, May 15, 2016

Animals die as Cambodia is gripped by worst drought in decades


Behind a clutch of huts that hug the major route between Cambodia’s capital and its famed Angkor temples, rice farmers Phem Phean and Sok Khoert peer into a cement hollow.
It is several meters deep, and one has to crane over the top to see all the way down. At the bottom, all that is left is a small pool of warm, dirty-looking water; it has run all but dry, along with two other wells, meaning the farmers and four other families have just one working well left from which to drink. And that, too, is fast running out.
Behind them, hundreds of acres of parched earth bake under an unrelenting sun in a relatively cloudless sky. If a rice harvest is even possible this year, they fear it is set to be poor and their main concern right now is being able to get enough water to drink.
Cambodian prime minister Hun Sen delivers drinking water to villagers in drought-hit northwestern Banteay Meanchey province.
Here in Kompong Thom province’s Kampong Svay district, about 200kms north of Phnom Penh, Phean and Khoert spin a familiar narrative being repeated and lamented the length and breadth of Cambodia, which is currently in the midst of its worst drought in decades.
ccording to Keo Vy, spokesman for the National Committee for Disaster Management, the severity of this drought cannot be overestimated.
“Previous droughts only affected parts of the country, but the current drought is affecting the whole,” he said on Tuesday.
Nineteen provinces have been classified as in a serious condition requiring “immediate intervention” from the government, he said, and while the authorities have held off on making an appeal for international aid, “ministries, military units, NGOs, and everyone capable of helping” have been asked to step up.
Vy also warned that people are now more exposed to illnesses such as cholera, but insisted that the government “will not allow any Cambodian people to die of thirst.”
In Ratanakiri province in the northeast, Unicef has found that 136 out 203 primary schools are facing water shortages, with “high absenteeism” of both students and teachers being reported.
Cambodian men use a net to catch fish in a nearly dried pond at a village in Kandal province.
Cambodia’s rainy season, as it is known, typically arrives in May and continues in earnest through to October. This year, Vy said the ministry of water resources is forecasting that the season will not begin until July. This, coupled with a poor wet season last year, has put farmers in a difficult bind.
Over the past few weeks, the toll on animal life has been significant. First, in Siem Reap province, came the death of a female elephant, which collapsed from heatstroke after years of carrying tourists around Angkor Wat.
In Battambang province in the northwest – one of the hardest-hit regions in the country – Radio Free Asia reported that at least 30 monkeys died after the heat claimed the last tracts of water in their flooded forest habitat. RFA also said at least 200 water buffalo and cows have perished in the northern province of Stung Treng.
A Cambodian farmer prepares a pipe to pump water from an almost dried-up lake in Kandal province, Cambodia.
Back in Kompong Thom, Stoung district governor Prim Ratha told The Guardian that the loss of 70 tonnes of fish in the Boeng Tonle Chhmar lake, about 40kms west of Stoung town, was a “great upset”.
Fishing is banned at the protected lake, meaning fish numbers are dense, but with the water level now teetering at the 20cm mark, authorities have been trying to cool what is left by introducing more plants in a bid to save those that remain.
Ratha also said he and other local officials used their own “pocket money” to fund emergency relief measures, including the purchase of water bottles and water pumps, because bureaucracy has stymied the release of funding from central government. Reserves have been released into the local river, but the reservoir is now running low.
In spite of all this, Stoung district rice and chicken farmer Hean Sokkhim has still had to borrow money and pawn belongings to pay for bottled water. A pond at the back of her property is nearly empty and she is saving whatever rice seeds she has left for eating. Last year’s yield was poor. She and her family have enough to eat, she says, but her worry is acute. About two chicks are dying every day.
The few patches of rain that have passed over this scorched land in recent days have done little to mitigate the impact of months of drought. Next door to Pheam and Khoert, vegetable farmer Kin Tai points to a recently dug well behind her hut. Her efforts were in vain, as it yielded no water, and her cucumbers and pumpkins have all died. She said the loss is worth about $100 – a significant sum in a country where the gross national income per capita is about $1,020, according to 2014 World Bank figures.
Pheam and Khoert say they have not even been approached by the Kampong Svay authorities, let alone offered any help.
“We don’t know what our fate will be; we don’t know what to do.”

Simplified explanation conveying that time doesn't exist




I have written a book (A Brief History of Time-lessness ) on a possibility that no one else interested in ‘time’ seems to have considered, let alone considered and carefully dismissed at the start of their inquiries into ‘time’. 

If you consider the possibility i suggest, carefully as you look around the world it may make more and more sense to you. 
 
This question gets asked a lot on Quora in different forms, and you will get a lot of varying answers – the main problem you will find is that people will tell you what they ‘think’ or guess about ‘time’, and almost invariably won’t even start by ‘defining’ what they mean by the (ambiguous) word, nor will they give actual evidence or experiments to support the opinions. 
 
This means you may end up endlessly accruing more and more conflicting or aligning ‘ideas’ apparently about this ‘time’ thing. The problem being, that like ‘ghosts’, they probably don’t exist – but the more of a speculative discussion you have about ‘ghosts’, the more you use the word, and the more ideas you have, so the more you may (wrongly) think you are talking about something.
 
The possibility...
 
 
Try this ‘thought experiment’, to understand a key part of reality in a very different way that may answer all your questions about ‘time’.
 
Instead of assuming the thing ‘time’ exists, and endlessly trying to define ‘it’ and wonder what ‘it’ is, try sitting where you are and checking for yourself what you actually do and do not see.
 
You should see things existing, moving and interacting in all directions. 
 
Now here’s the ‘trippy’ thought experiment, 
 
Ask yourself the following question, and don’t give up until you are satisfied.
 
“IF everything in the universe “just” exists, moves and interacts in all physical directions, would this be enough to wrongly mislead me into thinking a ‘past’, ‘future’ and thus thing called ‘time’ exist?”
 
 
Bare in mind, that your own apparent thoughts about a ‘future’, are just matter existing moving and interacting in your mind, and your own apparent ‘memories of the past’, are just matter in a formation in your mind.
 
If you ask yourself the thought experiment question carefully, you may find that matter just existing and interacting is all you see, and all that is needed to explain all you observe.
 
So you may conclude, like me, that therefore that is probably all there is, and we may be wrong from the outset to assume any such ‘things’ as a ‘past’, a ‘future’ or ‘time’ actually exist in any way at all.
 
And the universe may be literally and genuinely ‘timeless’ ( to use a thus misleading word : )
 
yours 
Matthew Marsden
 
Ps – if you check out the main video it addresses the points you ask. Re ‘aging’ be careful you are not confusing ‘appearance’ with something else. And check your facts with experiment.
 
Eg – place one apple in a fridge – where it ‘is’ ‘changing in all physical directions ‘slowly’, and place another in a warm damp place.
On may ‘change’ more rapidly, and ‘look’ old or decayed or dead... but logically the matter is all just there or in the surroundings... to claim either has ‘aged’ you need to prove – not just assume – but prove – there really is a past, and future, and thing called time... otherwise you don’t see any thing ‘age’ – you just call things that are firm young, and mushy old.
 
Consider buying a ‘new’ car – do you think they really make things ‘new’ in the factory – or just smooth and shiny?
 
Consider a 4 month ‘old’ baby, eating a 6 month ‘old’ tin of beans... does some of the baby apparently become 6 months old... or do all of the matter that makes up the baby, its surroundings and the beans just exist and interact with varying appearences?
 
(Auth "A Brief History of Timelessness")
A Brief History of Time-lessness
A Brief History of Timelessness: Why it's always now, everywhere.
A Brief History of Time-lessness (r2): "Does Time exist?", "What is Time?","Is Time-Travel possible?"
 
more general aspects of 'time' v ‘Time-lessness’
Does Time exist? How 'Time travel Paradoxes' can't happen without "the past".  




Related Questions


Featured Posts

Beautiful American Bully Pups for Sale

 

Popular Posts