旗艦 評價
https://www.mobile01.com/topicdetail.php?f=588&t=5469913&p=2#18
崩壞+傳說問我就對了
我崩壞之神
賣過兩個花費超過40萬水晶帳戶全角色2S大畢業全武器大緊繃,現在退休玩兩隻小號
傳說A牌
堅持尋找真裡的玩家也是我
花費超過三個月時間錄影+上傳youtube驗證U11觸控亂跳問題 堪比HTC外包QC
我用過
ZENPHONE 3隻
HTC 5隻
小米2隻
三星6隻
現在用的IPHONE 8 +
以上都買旗艦
主要需求長時間打GAME
會打到機子燒到需要開冷氣和風扇直吹 繼續打的那種
其次聽音樂、FB、看新聞
給你我的評價
HTCM7 神
M8神
M9垃圾
M9+垃圾
E9+垃圾
HTC10 遊戲神+毛病多(幹裡老換完電池觸控斷點,這隻他媽超級燙)
U11超大神+毛病多(超長2年保固螢幕觸控亂跳已解決,和IPHONE8+遊戲玩起來根本一樣 所以給超大神)
三星 I9100 神 刷機後開起威能
note 4 神+毛病多 (大螢幕遊戲神+WIFI
S6 浮誇神 (造型主觀浮誇小啟智哈味,效能神但毛病小多)
S8 浮誇神 (造型主觀浮誇小啟智哈味,效能神但毛病小多)
S9 神神(錢很多可以考慮 效能神毛病小多小卡小延遲)
Zenphone 2 CP小神(剛出玩遊戲夠用,各種浮誇內建APP)
Zenphone 3 遊戲小神+毛病多(螢幕背光+APP各種小問題+組裝品質)
Zenphone 4 遊戲神+毛病多(自家APP好用但毛病多+遊戲神)
紅米note 5
小米5 評價和ASUS旗艦差不多 CP取勝 但毛病以安卓來說比HTC還多
賈伯斯的遺囑 8+ 用到現在覺得和安卓差異極小,而且人會變智障 下次會換回安卓
結論
崩壞三+傳說+照相
IPHONE8+>S9>U11
U11玩遊戲拍照雖然神,但各種毛病 我只能慘讓給三星
起碼三星品質真的穩,沒有HTC毛病這多
Zenphone5 不在同一起跑點 只能場外休息
以上不是浮誇 而是誠心建議
async await Promise.all
async getaaa()
async getbbb()
async getccc()
=======new way=======
async refreshall(){
await Promise.all( xxxxxx.map(async (value, index) =>{
aaa = await getaaa()
}))
await Promise.all( xxxxxx.map(async (value, index) =>{
bbb = await getbbb()
}))
=======old way=======
async refreshall(){
await Promise.all( xxxxxx.map(async (value, index) =>{
aaa = await getaaa()
bbb = await getbbb()
ccc = await getccc()
}))
}
1. map usually return something, here just throw
2. if use foreach(), get error. Like foreach is not function, can't async await.
old way aaa order is good, but bbb ccc order is bad.
new way all aaa bbb ccc order is ok.
async getbbb()
async getccc()
=======new way=======
async refreshall(){
await Promise.all( xxxxxx.map(async (value, index) =>{
aaa = await getaaa()
}))
await Promise.all( xxxxxx.map(async (value, index) =>{
bbb = await getbbb()
}))
await Promise.all( xxxxxx.map(async (value, index) =>{
ccc = await getccc()
}))
}
=======old way=======
async refreshall(){
await Promise.all( xxxxxx.map(async (value, index) =>{
aaa = await getaaa()
bbb = await getbbb()
ccc = await getccc()
}))
}
1. map usually return something, here just throw
2. if use foreach(), get error. Like foreach is not function, can't async await.
old way aaa order is good, but bbb ccc order is bad.
new way all aaa bbb ccc order is ok.
call by value call by reference object array push
Problem:
array A
A.push(item)
item is object from for or map or foreach....etc
show A all add item is same.......
Solve:
var txxxxx = [] // xxxx is any word
=====loop start=====
txxxx[index] = item //index is from for or map or foreach...etc
ot = {
xxxx: txxxx[index]
}
A.push(ot)
=====loop end=====
array A
A.push(item)
item is object from for or map or foreach....etc
show A all add item is same.......
Solve:
var txxxxx = [] // xxxx is any word
=====loop start=====
txxxx[index] = item //index is from for or map or foreach...etc
ot = {
xxxx: txxxx[index]
}
A.push(ot)
=====loop end=====
vue watch v-for
Very easy things, but need some way to pass this difficult.
Problme is async await if your problem is this, now see how to do
1. template or web html
.any input v-model="filter_keywork"
.<p v-for="r in results"> {{r.aaa}} {{r.bbb}} </p>
2. var app data:{
filer_keywork: '',
resuls: [],
}
3. methods:{
getrows(){
this.axios or any http get
},
async filteredRows(){
this.results = await this.getrows()
}
}
4.watch: {
filter_keywork: function(){
this.filteredRows()
}
}
Watch filter_keywork changed to call method this.fileredRows().
This time methods can us async await get back resuls => this.results Then vue render. No async await .... vue sleep.
Problme is async await if your problem is this, now see how to do
1. template or web html
.any input v-model="filter_keywork"
.<p v-for="r in results"> {{r.aaa}} {{r.bbb}} </p>
2. var app data:{
filer_keywork: '',
resuls: [],
}
3. methods:{
getrows(){
this.axios or any http get
},
async filteredRows(){
this.results = await this.getrows()
}
}
4.watch: {
filter_keywork: function(){
this.filteredRows()
}
}
Watch filter_keywork changed to call method this.fileredRows().
This time methods can us async await get back resuls => this.results Then vue render. No async await .... vue sleep.
[轉]區塊鍊 blockshain bitcoin ethereum
非常好的說明 Block
https://www.youtube.com/watch?v=_160oMzblY8
https://anders.com/blockchain/
https://www.inside.com.tw/2018/05/16/monero-hard-fork-success
[轉]Golang 交叉编译跨平台的可执行程序 (Mac、Linux、Windows )
https://www.jisec.com/application-development/753.html
go env
Mac 下编译 Linux 和 Windows 64位可执行程序
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build main.go
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build main.go
Linux 下编译 Mac 和 Windows 64位可执行程序
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build main.go
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build main.go
Windows 下编译 Mac 和 Linux 64位可执行程序
SET CGO_ENABLED=0
SET GOOS=darwin
SET GOARCH=amd64
go build main.go
SET CGO_ENABLED=0
SET GOOS=linux
SET GOARCH=amd64
go build main.go
OS ARCH OS version
linux 386 / amd64 / arm >= Linux 2.6
darwin 386 / amd64 OS X (Snow Leopard + Lion)
freebsd 386 / amd64 >= FreeBSD 7
windows 386 / amd64 >= Windows 2000
go env
Mac 下编译 Linux 和 Windows 64位可执行程序
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build main.go
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build main.go
Linux 下编译 Mac 和 Windows 64位可执行程序
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build main.go
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build main.go
Windows 下编译 Mac 和 Linux 64位可执行程序
SET CGO_ENABLED=0
SET GOOS=darwin
SET GOARCH=amd64
go build main.go
SET CGO_ENABLED=0
SET GOOS=linux
SET GOARCH=amd64
go build main.go
golang []map[string]interface{} sqlx BUT
Golang often us []interface{} or map[string]interface{}
sqlx.Queryx Alternate Scan Types
rows, err := db.Queryx("SELECT * FROM place")
for rows.Next() {
// cols is an []interface{} of all of the column results
cols, err := rows.SliceScan()
}
rows, err := db.Queryx("SELECT * FROM place")
for rows.Next() {
results := make(map[string]interface{})
err = rows.MapScan(results)
}
So
func Sqlselectall(db1 *sqlx.DB, table string) []map[string]interface{} {
rows, err := db1.Queryx("SELECT * FROM " + table)
if err != nil { }
results := []map[string]interface{}{}
for rows.Next() {
result := make(map[string]interface{})
err = rows.MapScan(result)
results = append(results, result)
}
return results
}
BUT results to json use c.JSON(http.StatusOK, results) get warning value
https://stackoverflow.com/questions/39391437/merge-two-or-more-mapstringinterface-types-into-one-in-golang
sqlx.Queryx Alternate Scan Types
rows, err := db.Queryx("SELECT * FROM place")
for rows.Next() {
// cols is an []interface{} of all of the column results
cols, err := rows.SliceScan()
}
rows, err := db.Queryx("SELECT * FROM place")
for rows.Next() {
results := make(map[string]interface{})
err = rows.MapScan(results)
}
So
func Sqlselectall(db1 *sqlx.DB, table string) []map[string]interface{} {
rows, err := db1.Queryx("SELECT * FROM " + table)
if err != nil { }
results := []map[string]interface{}{}
for rows.Next() {
result := make(map[string]interface{})
err = rows.MapScan(result)
results = append(results, result)
}
return results
}
BUT results to json use c.JSON(http.StatusOK, results) get warning value
https://stackoverflow.com/questions/39391437/merge-two-or-more-mapstringinterface-types-into-one-in-golang
法人
http://stockresearchsociety.blogspot.tw/2018/05/57-1400.html
專業的機構,因為他們夠專業所以他們會創造很多名辭及指標去快速判斷公司是否如他們所預期的方向前進,
對於公司產品的競爭力外資群會看毛利率,
對於公司領導人管理能力外資群會看營利率,
對於公司財務長的能力外資會看業外收入,
很多人都會看財報,但他們就是判斷不出來什麼是好,什麼是不好,為什麼判斷不出來?因為他們不會去以某一個基準點去比較,這種感覺就像甲問乙說你老婆長的怎樣,乙回答說長的很漂亮,此時甲判斷出乙老婆長怎樣嗎?應該不行吧,因為
沒有一個基準去比較
,而且甲也不知道乙的品味是怎樣,所以甲無從得知乙的老婆長怎樣。
看完以上的故事後,我們得到一個結論,那就是
1、要嘛就是乙給甲一個比較的基準
2、要嘛就是甲經由平常的觀察去了解乙的品味
我們把這個故事平移到分析財報上面來,
1、要嘛就是我找一個基準點去比較這一季的財報
2、要嘛就是我平常去觀察外資群及法人對某種財報接受的程度以及會做出的反應
很多人分析財報會輸給我,其實你們是輸在第二點,你們不會觀察外資群及法人對某種財報的接受程度及會做出的反應,這也就是我常說的法人心理面。
宏碁第一季的毛利率是10.5%,營利率是1%,奇怪第一季不是淡季嗎?也不用促銷,正常來說毛利率應該要比去年第四季還要好,怎麼會比去年第四季差嗎?
看完以上的故事後,我們得到一個結論,那就是
1、要嘛就是乙給甲一個比較的基準
2、要嘛就是甲經由平常的觀察去了解乙的品味
我們把這個故事平移到分析財報上面來,
1、要嘛就是我找一個基準點去比較這一季的財報
2、要嘛就是我平常去觀察外資群及法人對某種財報接受的程度以及會做出的反應
很多人分析財報會輸給我,其實你們是輸在第二點,你們不會觀察外資群及法人對某種財報的接受程度及會做出的反應,這也就是我常說的法人心理面。
宏碁第一季的毛利率是10.5%,營利率是1%,奇怪第一季不是淡季嗎?也不用促銷,正常來說毛利率應該要比去年第四季還要好,怎麼會比去年第四季差嗎?
去年第一季營收為560億,營業費用為49.97億,
今年第一季營收為548億,營業費用為52.32億,
疑~為什麼今年第一季營收比去年少,營業費用要比去年高呢?目前我們沒有看到整份的財報,但是
若是給外資群來看,他會下的結論就是
產品爭競力是不是變差了,所以毛利率才下降,
是不是管理不夠好,所以才會造成營收比較少,但營業費用卻上升。
札實的投資能力
札實的投資能力不是一天兩能可以達成,除了閱讀再閱讀,親身經歷一些股市的漲跌,投資沒有捷徑,沒有上帝指標,股市比的就是誰犯的錯少,誰的股市常識、知識足,要在股市中生存下來難度很高要學的東西很多如
1、基本面(財報,看出合理價格)=>每一季閱讀財報
2、籌碼面(看出三大法人心理及散戶心態)=>每天追蹤籌碼
3、技術面(投資人的均價,弱點在哪)
4、資金配置(修正錯誤)
5、風險管控(不融資,不過度放大槓桿)
6、三大法人,散戶心理面
7、自我心理面(強化本身的人性弱點)=>這三本書可以幫助你"投資心理學,金融心理學—驅動股市的真正力量,投資人的大腦革命"
8、了解領導者的能力,風格,誠信
看到這,也許有很多小散戶會說,哪來的這麼多美國時間去研究這個,最好是給我技術圖形,給我進出點,給我指標,給我價格,我簡簡單單的就能低買高賣,但是如果股市這麼簡單,就不會是10個投資人9個輸,投資本來就是不容易的事,就像當醫生要讀醫學院,當律師要讀法學院,當工程師要念工學院,這些職業賺到的錢都沒有在股市中多(如果你資金夠大的話),那憑什麼你什麼都不學就想輕易的在股市獲利?
1、基本面(財報,看出合理價格)=>每一季閱讀財報
2、籌碼面(看出三大法人心理及散戶心態)=>每天追蹤籌碼
3、技術面(投資人的均價,弱點在哪)
4、資金配置(修正錯誤)
5、風險管控(不融資,不過度放大槓桿)
6、三大法人,散戶心理面
7、自我心理面(強化本身的人性弱點)=>這三本書可以幫助你"投資心理學,金融心理學—驅動股市的真正力量,投資人的大腦革命"
8、了解領導者的能力,風格,誠信
看到這,也許有很多小散戶會說,哪來的這麼多美國時間去研究這個,最好是給我技術圖形,給我進出點,給我指標,給我價格,我簡簡單單的就能低買高賣,但是如果股市這麼簡單,就不會是10個投資人9個輸,投資本來就是不容易的事,就像當醫生要讀醫學院,當律師要讀法學院,當工程師要念工學院,這些職業賺到的錢都沒有在股市中多(如果你資金夠大的話),那憑什麼你什麼都不學就想輕易的在股市獲利?
cpu scaling freq cpufreq powersave
apt install cpufrequtils
more /etc/init.d/cpufrequtils
cpufreq-set -g powersave
cpufreq-info
=====
lscpu
cat /proc/cpuinfo | grep -i 'mhz'
grep -E '^model name|^cpu MHz' /proc/cpuinfo
cat /sys/devices/system/cpu/cpufreq/policy7/scaling_governor
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
**performance
for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do [ -f $CPUFREQ ] || continue; echo -n performance > $CPUFREQ; done
**powersave
for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do [ -f $CPUFREQ ] || continue; echo -n powersave > $CPUFREQ; done
echo "powersave" > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
=====
more /etc/init.d/cpufrequtils
cpufreq-set -g powersave
cpufreq-info
=====
lscpu
cat /proc/cpuinfo | grep -i 'mhz'
grep -E '^model name|^cpu MHz' /proc/cpuinfo
cat /sys/devices/system/cpu/cpufreq/policy7/scaling_governor
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
**performance
for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do [ -f $CPUFREQ ] || continue; echo -n performance > $CPUFREQ; done
**powersave
for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do [ -f $CPUFREQ ] || continue; echo -n powersave > $CPUFREQ; done
echo "powersave" > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
=====
資源 成本
公司對內部人員陛升還有外部人員空降這件事,可以決定主管的態度是把人當資源還是成本
資源會成長
成本要控制
不相信人是資源的人,內部的人資系統不太會有培訓的機制,寧願花大錢買不懂你文化的人進來
setio.sh
https://raw.githubusercontent.com/centminmod/centminmod/123.09beta01/tools/setio.sh
https://community.centminmod.com/threads/centmin-mod-09-beta-branch-testing.4128/page-13#post-25695
https://community.centminmod.com/threads/centmin-mod-09-beta-branch-testing.4128/page-13#post-25695
訂閱:
文章 (Atom)