Free Shadowsocks server

31 May

Server: 138.128.222.73

Port: 443

加密方式:AES-128-CFB

Password: 因特网的英文翻译

Time to extract text from images: RaspberryPi, Pi2B, Laptop and VM in cloud

26 May

Summary: If Raspberry Pi computing power is 1, then Pi 2B computing power is 2, laptop with i5-3320M (in this simple experiment) is ~20 (all for a single core).

For a task to extract text from image file, I tried it on four different devices I have at hand: Raspberry Pi, Pi2B, a laptop (with intel CPU i5-3320M), and a virtual machine in cloud. Below is the result:

Raspberry Pi:

$ time tesseract testpng/en1.png stdout
Tesseract Open Source OCR Engine v3.02 with Leptonica

real 0m5.355s
user 0m5.160s
sys 0m0.170s

Raspberry Pi 2B:

$ time tesseract en1.png stdout
Tesseract Open Source OCR Engine v3.02 with Leptonica

real 0m2.618s
user 0m2.510s
sys 0m0.100s

Laptop:

$ time tesseract testpng/en1.png stdout.txt
Tesseract Open Source OCR Engine v3.03 with Leptonica

real 0m0.316s
user 0m0.304s
sys 0m0.012s

a virtual machine (VM) in bandwagon:

$ time tesseract testpng/en1.png stdout.txt
Tesseract Open Source OCR Engine v3.03 with Leptonica

real 0m0.352s
user 0m0.320s
sys 0m0.028s

Calories burned in 1 hour of running/swimming/walking…

19 Jan
  • Running, 6 mph (10 min mile): 590 – 930 (depends on body weight and other factors)
  • Swimming breaststroke: 590-930
  • Cycling, 10-11.9 mph, light: 354 – 558
  • Hiking, cross country: 354 – 558
  • Walking 3.0 mph, moderate: 195 – 307
  • Walk/run, playing with children / animals, moderate: 236 – 372
  • Playing soccer: 413 – 651
  • Stretching, yoga, ping-pong: 236 – 372
  • Downhill snow skiing, moderate: 354  – 558
  • Mowing lawn, walk, power mower: 325 – 512
  • General housework: 207 – 325

Source:

http://www.nutristrategy.com/caloriesburnedrunning.htm

为什么奢侈品在中国比美国贵

29 Nov

22 Nov

运动需要有个度,过多了也不好,尤其是很久没有运动的,千万不要一口吃个胖子。。。
7 Signs You’re Exercising Too Much

Search “most common sports injuries”:
Top 10 Sports Injuries

Sugar is really bad for you

30 Oct

Sugar is really bad for you

Eat less sugar if you want to live longer.  

The end.

A Short Walk After Meals Is All It Takes to Lower Blood Sugar

30 Oct

Statistics of Diabetes:

Age 20 years or older
25.6 million, or 11.3% of all people in this age group have diabetes

Age 65 years or older
10.9 million, or 26.9% of all people in this age group have diabetes

Men
13.0 million, or 11.8% of all men aged 20 years or older have diabetes

Women
12.6 million, or 10.8% of all women aged 20 years or older have diabetes

Data source: American Diabetes Association

Regular short walks after eating fight off diabetes

A Short Walk After Meals Is All It Takes to Lower Blood Sugar