Wednesday, August 29, 2018

import this

Fun stuff ...

$python main.py
The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
Hello World!

////
# Hello World program in Python
import this

print "Hello World!\n"

Saturday, August 25, 2018

只倚仗他豐富的財物 、 在邪惡上堅立自己。」

許多當今企業、
掙了大錢以後、不少 flex it's own financial muscle:企圖左右--倫理道德/標準價值,公開支持這個、鼓吹那個、
「說、看哪、這就是
那不以神為他力量的人。
只倚仗他豐富的財物 、
在邪惡上堅立自己。」
~诗篇 52:7
且看 邪惡的結果

Monday, August 20, 2018

More 5G cities ... from AT&T and Verizon announcement.



Verizon, AT&T Reveal Additional 5G Launch Markets

What's on TOP of your mind? :)

When it comes to Linux, people who are used to Windows or GUI-rich OS, often find Linux commands or command output a bit of encrypted at first look.
Take "TOP" for instance:
top - 23:01:42 up 101 days, 19:29, 6 users, load average: 0.40, 0.34, 0.23
Tasks: 1810 total,  1 running, 1807 sleeping,  0 stopped,  2 zombie
Cpu(s): 0.2%us, 0.1%sy, 0.0%ni, 99.6%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 264401092k total, 130649152k used, 133751940k free, 1245060k buffers
Swap: 33554428k total,    0k used, 33554428k free, 95522700k cached
 PID USER   PR NI VIRT RES SHR S %CPU %MEM  TIME+ COMMAND       
12782 mysql   20  0 24.1g 12g 9564 S 4.0 5.2  3142:56 mysqld       
51796 root   20  0   0  0  0 Z 1.7 0.0  0:00.05 perl    
51795 root   20  0   0  0  0 Z 1.3 0.0  0:00.04 perl    
51783 localgrp  20  0 16380 2592 944 R 1.0 0.0  0:00.07 top         
45469 qui    20  0 11.4g 472m 22m S 0.7 0.2 103:35.57 java        
46019 qui    20  0 9678m 640m 22m S 0.7 0.2 262:27.61 java 
NO worry; google can help. Or Here is a quick cheatsheet ...
us: user cpu time (or) % CPU time spent in user space
sy: system cpu time (or) % CPU time spent in kernel space
ni: user nice cpu time (or) % CPU time spent on low priority processes
id: idle cpu time (or) % CPU time spent idle
wa: io wait cpu time (or) % CPU time spent in wait (on disk)
hi: hardware irq (or) % CPU time spent servicing/handling hardware interrupts
si: software irq (or) % CPU time spent servicing/handling software interrupts
st: steal time - - % CPU time in involuntary wait by virtual cpu while hypervisor is servicing another processor (or) % CPU time stolen from a virtual machine
What if I want to save my TOP output to a text file for later debugging?
1) top -n 1 -b > /tmp/myTop_output_mmddYYYY.txt
2) top -n 10 # run 10 repetition

Tuesday, August 14, 2018

Go Green!!


LG jumping on 5G wagon...:))

LG jumping on 5G wagon...:))

What about Samsung? iPhone? Huawei? Moto? 小米/大米/紅米?

https://www.fiercewireless.com/5g/sprint-lg-promise-first-mobile-5g-phone-coming-next-year


Monday, August 13, 2018

The Kubernetes Effect


https://www.infoq.com/articles/kubernetes-effect


Friday, August 03, 2018

💤

Z3 / not 💤:))

https://www.fiercewireless.com/5g/verizon-moto-intro-z3-smartphone-5g-clip-modem

Thursday, August 02, 2018

h1b-visa-fraud-in-us

How many???? H1-B???
>>>>>>>>>>>€
"According to the USCIS, between 2007 and 2017, it received the maximum number of 2.2 million H-1B petitions from high-skilled Indians." 

This is *insane*!!!
其中、不乏鋌而走險的(印度)人、
還真是不少!:))
https://m-economictimes-com.cdn.ampproject.org/c/s/m.economictimes.com/nri/visa-and-immigration/all-unselected-h-1b-petitions-returned-us/amp_articleshow/65210192.cms

可是 抓不勝抓?許多借著'空殼公司' 幹些違法的 visa-for-sale 勾當?
(1) https://m.hindustantimes.com/world-news/indian-origin-man-sentenced-to-prison-for-h1b-visa-fraud-in-us/story-NXxmaXZcHK1QBMRoZcLX0M_amp.html

(2) https://www.hudsonvalley360.com/article/virginia-man-behind-20-million-h1-b-visa-fraud-faces-deportation-after-prison

5G 版圖消長

目前這個是 5G contract 

錢數金額最高的一筆囉~ $3.5 billion!! :))

北美地區這塊 5G 大餅、

究竟誰能搶下剩餘的部分?

Ericsson? Samsung? 

Huawei? (Oops, may not be here soon:)))

Error: 404?!! :)))

An international software company made such a laughing mistake ...:))

Error: 404?!! 

https://us.mindhub.com/product-p/azure_exam_pack.htm

慧眼獨具、匠心識微!

So much to learn from Design Architect ~~ at least their view point 

https://design-milk.com/mathieu-lehanneur-designs-lounge-space-makes-want-miss-flight/

客服 ~ 乃是一步一腳印

客服 ~ 競爭激烈、又是 free WiFi, free coffee, magazine, clean interior , etc...;)