這是什麼? 程式週記主要內容如下: Gihub project 介紹: 主要會貼一些github,但是會盡量寫上一些有用的評語(或是我容易想到的關鍵詞)幫助以後查詢 網路文章心得: 會寫些心得,強迫自己閱讀. “程式週記”並且定期週期性更新. 大部分內容在我的twitter都會有,這邊只是將一些簡單的心得與感想註解一下. 本週摘要 這個禮拜花了太多的時間再弄自己的jekyll blog.本來想migrate到hugo去,但是因為hugo import jekyll有太多的問題(即便已經改了一些)還是有不少部分需要改. 後來還是把jekyll 3.0產生的樣板相關問題修復,也另外換了一個主題來使用. 好像jekyll又可以再戰十年? 本週持續NSQ的學習,先透過上週的Disk queue來改寫之前寫過的PubSub. Go Introduction Go 1.6 Go 1.6剛在02/17正式release,Brad Fitzpatrick馬上在GopherCon India發表了這篇.裡面不僅僅有介紹了Go 1.6的功能也有順便預告了Go 1.7 ~ 1.10的產品規劃.當然也有一些笑話很有趣. PlanB: a distributed HTTP and websocket proxy inspired by Hipache 透過Redis來架設的HTTP websocket proxy,可以拿來好好學習其中的作法與應用方式. Google Cloud Vision API on Golang 在上週Google 總算開放Cloud Vision API給一般人申請使用,這篇文章有講解該怎麼做,當然也有提供他寫好的Golang Package GOPHERCON INDIA 2016 Summary 2016最早開始的Gopher Con 有不少關於Go 1.6的相關議題. nsq的使用與一部份介紹 最近幾週都在學習NSQ,這篇文章有不少的探討從技術層面跟他的設計理念都有提到. Open-Source Phishing Toolkit 網路釣魚的工具給企業做測試與訓練用的. Handling Database Migrations in Go 由gophish網路釣魚的package公司發的DB migration 介紹文.裡面使用的是goose,但是比較多人推薦migrate goose: A database migration tool DB migration tool,可以在無痛的狀況下變更你得資料庫schema.並且查看有無任何問題也可以快速的rollback. A Go library for carefully refactoring critical paths and code. lightweight port from github scientist 精簡版的scientist用在golang上面. gago is a genetic algorithm written in Golang 基因演算法的golang套件,會隨機產生數個解法,評估後挑選最適解法. Building binary executables for Android in Go 在Android系統上面跑go的excution,由於Go 1.6支援x86的Android系統,這篇文章的應用又更多了. HOW WE BUILT UBER ENGINEERING’S HIGHEST QUERY PER SECOND SERVICE USING GO Uber 如何透過Go來打造高效率的查詢系統.不少架構與內容的討論. Python gRPC Practical Tutorial — Magic That Generates Code 這篇主要講解如何使用grpc.很詳細地講解從protobuf開始,到一些簡單的應用. Ruby scientist: A Ruby library for carefully refactoring...
Issue hugo import jekyll is very easy to import your blog post from jekyll to hugo. However it has some issue, original you have change you permallink ex like: permallink: /:title/ permallink: /:categories/:title/ I just file a issue#1887 on Hugo project, detail as follow: I try to use it to convert my blog from jekyll which run over decade and contain over 1000+ posts. I found it will force to add “url” in every post which is /year/month/dat/postname. for ex: --- date: 2016-02-18T00:00:00Z description: "" tags: [] title: '[Visual Studio] Using Visual Studio 2015 to remote debugging C++ on linux' url: /2016/02/18/vs-debug-linux-exe/ --- However it will conflict with my configuration of “permallink”, I found it force to store the same “url” no matter your jekyll “permallink”. Here should be two approach of “url” generation rule: Load config from jekyll and parse “permallink” configuration to apply it. Just not use “url”,...
這是什麼? 程式週記主要內容如下: Gihub project 介紹: 主要會貼一些github,但是會盡量寫上一些有用的評語(或是我容易想到的關鍵詞)幫助以後查詢 網路文章心得: 會寫些心得,強迫自己閱讀. “程式週記”並且定期週期性更新. 大部分內容在我的twitter都會有,這邊只是將一些簡單的心得與感想註解一下. 本週摘要 過年後開工的第一天,花了點時間思考要怎麼繼續我的Project 52.一開始的幾天也都在玩Docker 1.1 跟其他的部分. 接下來應該會努力地學NSQ的Diskqueue,來練習徒手打造NSQ. 此外,本週也玩了一下蕃茄鐘工作法,覺得相當有意思.詳細的新的應該會另外寫成一篇文章. Go sarama: Sarama is a Go library for Apache Kafka 0.8 建立與Kafka溝通的Log client for Go 這篇文章有提到Kafka與相關應用. TritonHo/meow: It is a demonstration of writing a powerful but simple framework for RESTful service 類似Java Spring一樣的完整framework。 目前已經整合的功能: 身份驗證的middleware(jwt) 阻擋重覆請求的intercepter database session manager validator http binding(支援partial update) ORM(垂直整合binder,能完整支持partial update) meshbird/meshbird: Distributed private networking http://meshbird.com 可以在server間,VM間,甚至是container之間建立私有網路.讓所有的單獨節點可以串在一起.就像有一個私有網路一樣. doug-martin/goqu: SQL builder and query library for golang http://godoc.org/github.com/doug-martin/goqu Golang 的SQL Builder,支援Postgre, MySQL跟SQLite3.不錯使用.整個很容易上手.不過MySQL 要求sql_mode=ANSI_QUOTES先去問問看原作者吧. Go Mobile: next generation mobile apps 裡面很有趣的點子是透過Go mobile 作為跟Go Server溝通的底層或是傳送給Server前的資料處理. Python dbcli/pgcli: Postgres CLI with autocompletion and syntax highlighting 可以console下面做到postgres autocompletion, syntax highlight.. 很酷的工具. Android/JAVA/NODE.JS ParsePlatform/parse-server: Parse-compatible API server module for Node/Express Parse 官方的Server code.這個要搭配一下這篇文章Parse 2.0 Docker Docker 1.10 Highlights and Demo 不少Docekr 1.10的功能介紹跟一段demo 影片. iOS/Swift Running Swift within Docker 建立一個可以baked-in Swift的docker image alanfeng99/firebase-image-uploader 範例 (in Swfit):透過 Firebase 儲存以及讀取圖片 網站文章 HOW TO SURVIVE AN ACQUISITION: 被收購後如何生存 由Parse的PM寫來的血淚史,轉述著被Facebook收購後的想法. 首先收購都是具有破壞性的,不論是任何一種.試著調整心態來適應新的文化與環境....