這是什麼? 程式週記主要內容如下: Gihub project 介紹: 主要會貼一些github,但是會盡量寫上一些有用的評語(或是我容易想到的關鍵詞)幫助以後查詢 網路文章心得: 會寫些心得,強迫自己閱讀. “程式週記”並且定期週期性更新. 大部分內容在我的twitter都會有,這邊只是將一些簡單的心得與感想註解一下. 本週摘要 本週花了不少時間在看 Google 論文 Maglev ,算是相當的有收穫.所以這一篇週記整理就花了相當多的時間來整理. Go uber-go/zap: Fast, structured, leveled logging in Go Uber 出的 Log system ,具有結構化資訊並且相當的快速, otoolep/go-httpd: How to organise a Go HTTP service 常常有人想學 Golang 的 Web programming 不知道該如何下手? 想要架設一個網站,卻不知道資料夾該怎麼放? 如何寫一個簡單的單元測試? 如何搭配 CircleCI 做自動化測試? 不仿將這個 Repo Clone 開始做你的第一個 Web Go App. See Python, See Python Go, Go Python Go Andrey Petrov 是 Python Lib urllib3 的作者,他在 PyCon 2016 的講題.其中提到在 Python 中去使用 Go 與 C binding 的 WebServer. 原理是透過 Go 可以輸出成 Shared Library 的方式讓 Python 透過 FFI 來載入.然後再透過 Go 來載入 C binding library.雖然不會比原生的 Go 或是原生的 C 還要快,這卻是一種有趣的方式. 免費MOOC: Learn How To Code: Google’s Go (golang) Programming Language [免費課程][原價 NT:1200 現在免費] 想要學習 Golang 的 Mooc? 這裡有課程教學,透過 Golang 從基礎來學習程式語言,有興趣的可以看看. 這個 promo code 不知道能存在多久,有興趣的建議先註冊下去. 此外,有任何 Golang 問題,歡迎來社團 Go程式語言 發問.. https://viraldeal.net/deal/learn-how-to-code-googles-go-golang-programming-language Go Tooling in Action Francesc Campoy 介紹了一些 Golang 的小工具,包括了: 很基本的樣式控制: goimport IDE: VS Code for vs-for-Go Go-wrk : http benchmark...
這是什麼? 程式週記主要內容如下: Gihub project 介紹: 主要會貼一些github,但是會盡量寫上一些有用的評語(或是我容易想到的關鍵詞)幫助以後查詢 網路文章心得: 會寫些心得,強迫自己閱讀. “程式週記”並且定期週期性更新. 大部分內容在我的twitter都會有,這邊只是將一些簡單的心得與感想註解一下. 本週摘要 這個禮拜有三天請假,因為帶我的小孩去石垣島的 ClubMed 遊玩.雖然當地每天都是 Buffet 吃到飽,但是我跟老婆還是因為照顧小孩子太辛苦而消瘦. 由於只有兩天,本週專案想了很久不知道要寫什麼.於是先把上週的專案加以應用.但是也重寫了好幾次,並且想不到一個很好的處理方式. Go dgryski: best practices for writing high-performance Go code. 大大 dgryski 教導如何寫出高效能的 Go App. Replication of Etcd - Blog With ReeZhou 有介紹 etcd 裡面使用 raft 的 propose 的流程分析. Suffix arrays in the Go standard library 介紹如何使用 Go 內建的 Suffix Array ,其實 Go 內建也有 container/ring 的套件可以用.這裡有篇介紹文章. To create package alias for your #Go tool by using “go list” Application data caching using SSDs Netflix 最新的部落格提到有一個 golang 寫的 application data cache proxy - Rend 決定資料要存放 memcached 或是 SSDs Abstracting S3 for Fun and Profit in Go 試著做一出一個類似 AWS S3 的服務. Practical Golang: Using Protobuffs | Jacob Martin 一些關於 Protobuf 的實際應用. VoV is a high score game for Android 完全使用 Go 開發的 Android 射擊遊戲. Four and a Half Years of Go in Production at goto Chicago 2016 講解 iron.io 在四年半前如何從 ruby 換到 Go 的故事. 當時 Go...
(pic from twitter: https://twitter.com/toddmotto/status/731435248588890113) 這是什麼? 程式週記主要內容如下: Gihub project 介紹: 主要會貼一些github,但是會盡量寫上一些有用的評語(或是我容易想到的關鍵詞)幫助以後查詢 網路文章心得: 會寫些心得,強迫自己閱讀. “程式週記”並且定期週期性更新. 大部分內容在我的twitter都會有,這邊只是將一些簡單的心得與感想註解一下. 本週摘要 本週都在讀臉書的時間序列資料庫 Gorilla 論文,覺得應該有不少地方可以運用這樣的技術.本週專題是一個幫助你處理 bit/byte 的 bit stream helper. Go Essential knowledge for Go debugging | Stack Traces In Go 很有用的舊文章,透過了解 Golang 處理 stack 的方式可以讓你更了解如何 debugging golang app. distatus/battery: cross-platform, normalized battery information library 跨平台的電池資訊顯示工具,挺有趣的 golang app. Comparing Golang with Java 從 Java 轉到 Go 的工程師寫出他心得感想. pierrre/imageserver: Image server toolkit in Go 將一些影像處理可能經常用到的工具 kits 寫成 web services 並且開源. C++ Bindings For A Go Library 講解如何在 C++ 中去使用 Go library 的方式與該注意的地方. 並且有提到 C++ GC 處理方式的 Golang-Nuts The InfoQ Podcast: Uber’s Chief Systems Architect on their Architecture and Rapid Growth Uber 的開發團隊決定從把開發語言從 node.js 搬到 Go 跟 Java Dev Cheney 出的程式小測驗,你能做對嗎? 主要是講解使用 point 指向 slice 要注意到 slice 會因為 cap 變大而 reallocation 位置,造成你舊的指標指向一個已經過期的資料空間. 更多資訊可以參考這篇 https://blog.golang.org/go-slices-usage-and-internals Python 用Python開發Facebook Bot 流程算清楚,先存檔起來 Android/JAVA/NODE.JS devstdio/podq: The Open-source Online Podcast Player for Developers 前端透過 JS 的 pocast player. Docker Using Caddy with Docker 透過 docker...