Showing posts with label dash. Show all posts
Showing posts with label dash. Show all posts

Reducing Blood Pressure Through Omni Heart: A Variation of DASH Diet

Maintaining good health is one of the core criteria for a good quality of life. Unfortunately, in this modern society, convenient access to all basic necessities, unhealthy life style, and overly intake of processed food leads to all sort of health risks. More so for those who are genetically susceptible to these risks. In Chinese, these health risks are known as "三高症", literally translated to "three high diseases" which includes "高血压" (high blood pressure), "高血糖" (high blood sugar), and "高脂血" (high blood cholesterol).

The typical answer to prevent this is, just lose weight. Yes, this is possible if you're young, having good genetic (be grateful to your parents), and have an active life style which allows anyone to pamper themselves with those processed food which are high in sugar, sodium (use interchangeable with salt but there are other food sources that produce this as well), and fat. What if you're not belongs to the former group of people that is impossible to achieve weight loss? Nothing but eating a healthy diet.

What is the most effective diet for reducing blood pressure then? The Omni Heart diet, which is a variation of DASH (Dietary Approaches to Stop Hypertension) diet. The core principle of DASH diet is to consume high nutrients foods mostly consists of vegetables, fruits, nuts, and low-fat dairy with small amounts of saturated fat, trans fat, and cholesterol. The OmniHeart diet recommends on taking more proteins instead of carbohydrates to reduce blood pressure even further. A comparison of three different diets have shown that OmniHeart is the most effective approach. The screenshot (Source: Harvard Health Publishing) below shows the DASH as well as the variation of Omni Heart diet plan for a daily 2000 calories intake.


As for any behaviour changes, following OMNI Heart or DASH diet turns out to be quite a challenges, especially you're from other parts of the non-western world. What is the equivalent menu items for those living in Asia? The menu was catered for those living in the western world. Certain food sources like berries, yogurt, nuts, and others are quite expensive. Furthermore, those who are lactose intolerance have to find other replacements. For any diets, planning ahead is essential and home cooking is not possible for those who have a daily busy schedule.

The recommended approach is to take the first step and follow this guide. Make adjustment along the way and replace with local ingredient if possible.

Unity Dash Online Video Search in Ubuntu 12.10

I was learning how to use ngrep, a command line tool that let you search and filter all the network traffic coming in and out from our machine. While testing to see what being transfer from and to port 80 ( see command below), I notice my newly upgraded Ubuntu 12.10 keep on making HTTP request to videosearch.ubuntu.com.
$ sudo apt-get install ngrep
$ sudo ngrep -d any port 80

It seems, default settings in Ubuntu 12.10 enables unity video lens to periodically connect to this server to search information for video recommendation. It is advisable to remove or disable this unused and unnecessary feature. Just type this command and logout and re-login your session.
$ sudo apt-get --purge remove unity-scope-video-remote

I was curious of the content in the JSON file. So we going to make a manual HTTP query to capture the file. Note that direct browser query will return empty result (suspect user agent checking) so we have to use curl or wget.
$ curl -o videosearch.json http://videosearch.ubuntu.com/v0/search?q=&sources=Amazon

The returned JSON file contains a list of YouTube videos. Changes to the request parameters(q and sources) returns almost similar result. Nothing interesting here. Let's inspect the HTTP response header instead.
$ curl -D header videosearch.json http://videosearch.ubuntu.com/v0/search?q=&sources=Amazon

Note that I removed the timestamp and added some comments
$ cat header
HTTP/1.1 200 OK
Date: .....
Server: gevent/0.13.0 gunicorn/0.13.4

The response is coming from gunicorn, a lightweight Python WSGI HTTP server using gevent, a coroutine Python networking library.
Vary: X-Geo-Country

What HTTP request header fields (in this case X-Geo-Country) to be used in caching decision either to regenerate from application server or reload from proxy server.
Content-Type: application/json
Content-Length: 10309
Expires: ......

Age: 203

The age in seconds of the JSON file in the proxy cache.
X-Cache: HIT from alkes.canonical.com
X-Cache-Lookup: HIT from alkes.canonical.com:3128

Requested content is found in the cache (HIT) of the caching server.
Via: 1.0 alkes.canonical.com:3128 (squid/2.7.STABLE7)

Squid, popular web caching server.
Via: 1.1 videosearch.ubuntu.com
Connection: close

The HTTP request has gone (back and forth) through these two servers. Note that alkes.canonical.com is Ubuntu music search API server.