herman.asia
Diary of Building an iOS App with React Native
http://herman.asia/building-a-flashcard-app-with-react-native
Herman Schaaf is writing on the Svbtle. April 3, 2015. Diary of Building an iOS App with React Native. When news broke that React Native was open sourced on Friday, I felt elated. This was the moment I had been waiting for. Ever since the React.js conference videos. Introduced React Native in late January, I couldn’t wait to get my hands on it. I downloaded a copy, followed the instructions for creating an app, and within minutes after learning about the launch, I had my first React Native iOS app running.
blog.patw.me
[Node.js] 使用 Node.js 來達成電腦網頁與手機網頁即時互動 - Partner Studio
https://blog.patw.me/archives/566/node-js-using-node-js-to-achieve-interaction-between-web-and-mobile-web-pages-in-real-time
淺談 Google App Indexing. Web][JavaScript] 有安裝 App 便開啟 App (透過 App URL scheme),若無則導去下載 (Google Play/App Store) 的 workaround. Web][JavaScript] 有安裝 App 便開啟 App (透過 App URL scheme),若無則導去下載 (Google Play/App Store) 的 workaround. PHP] cURL 進入需要 Basic Authentication 的網址取回資料. Android] 好用的 Chrome 瀏覽器之開發人員工具 - USB 網頁偵錯功能 (Chrome for Android Remote Debugging). Facebook] Facebook FB.init 登入後跳出空白視窗與 FB.XD.resolveRelation 錯誤的解決方法. 在 [ASP] Base64 字串轉存成 JPG. 在 [ASP] Base64 字串轉存成 JPG. 在 使用 Sketch 改善網頁前端與設計的標註與合作方式. Root@pa...
herman.asia
Solving Regex Crosswords using Go
http://herman.asia/solving-regex-crosswords-using-go
Herman Schaaf is writing on the Svbtle. December 13, 2014. Solving Regex Crosswords using Go. I first discovered regular expression crosswords two weeks ago, when RegexCrossword.com. Appeared on the Hacker News front page. My first instinct was to solve this with brute force, by iterating over every possible answer to the puzzle, until a solution is found. This would work fine for small puzzles, like when the grid is 2x2. The solutions always use upper case characters, but they may also contain n...It wo...
herman.asia
Excellent Open Source Go Projects
http://herman.asia/open-source-go-projects-to-learn-from
Herman Schaaf is writing on the Svbtle. January 26, 2015. Excellent Open Source Go Projects. I participated in Gopher Gala. A 48 hour-long worldwide hackathon for Go. Our team built a project called Go Report Card. And it aims to rate the quality of any open source Go project on Github. The tool uses various other Go tools: gofmt -s. To judge basic formatting, go vet. To check for suspicious constructs, gocyclo. My teammate Shawn Smith. Google Analytics Beacon Analytics. It might only score a B, but you ...
herman.asia
Efficient String Concatenation in Go
http://herman.asia/efficient-string-concatenation-in-go
Herman Schaaf is writing on the Svbtle. May 3, 2014. Efficient String Concatenation in Go. In this article I investigate the computational performance of various string concatenation methods in the Go programming language. To evaluate the options, I prepared some typical Go benchmarks using the Go. Package. A benchmark looks something like this:. Every method we evaluate will call this function in a loop so that the fully concatenated string looks something like. There is function call overhead to take i...
herman.asia
Running the Go Race Detector with -cover
http://herman.asia/running-the-go-race-detector-with-cover
Herman Schaaf is writing on the Svbtle. May 19, 2014. Running the Go Race Detector with -cover. There are two test options that make testing in Go especially powerful: one is. Which generates test coverage reports, and the other is. Which warns of possible race conditions in your code. If you haven’t used them yet, you should. They are very useful tools, and both are covered well (so to speak) by official blog posts: The cover story. And Introducing the Race Detector. Nice Let’s check out our coverage:.
herman.asia
Why is Golang popular in China?
http://herman.asia/why-is-go-popular-in-china
Herman Schaaf is writing on the Svbtle. April 16, 2014. Why is Golang popular in China? Earlier this week I wrote a post titled The Popularity of Go. The post itself turned out to be quite popular, and I received a lot of great feedback from the Go community (thanks! And if the data is skewed, why, and how much? And did a search for golang (Baidu is, for those of you who don’t know, by far the most popular search engine in China. But we don’t need to rely on anecdotal search results for evidence, we can ...
herman.asia
The Popularity of Go
http://herman.asia/the-popularity-of-go
Herman Schaaf is writing on the Svbtle. April 14, 2014. The Popularity of Go. When you look at the Google Trends graph above, it would seem like the Go programming language, also known as Golang, is on its way to big things. But let’s not get ahead of ourselves, Go fans. Let’s first have a cup of java to put things into perspective:. Another interesting tidbit is that Go is enjoying surprising popularity in China, as shown by the fact that most searches on Google related to Golang originate from there:.
SOCIAL ENGAGEMENT