Golang News http://golangnews.com Curated links about the Go programming language, including Tutorials, Videos and Jobs for Go hackers. Sun, 23 Apr 2017 21:48:00 +0000 A foray into go assembly programming 1 points posted by drogo https://blog.sgmansfield.com/2017/04/a-foray-into-go-assembly-programming 2118 Sun, 23 Apr 2017 21:48:00 +0000 Video: Implementing Software Machines in Go and C 3 points posted by tomf https://www.youtube.com/watch?v=b3ji5tdZUfY 2117 Sun, 23 Apr 2017 13:18:00 +0000 memguard - A library that handles sensitive values in memory. 3 points posted by tomf https://github.com/libeclipse/memguard 2116 Sat, 22 Apr 2017 18:57:00 +0000 Distributed tracing for go 3 points posted by gopher https://cloudplatform.googleblog.com/2017/04/distributed-tracing-for-Go.html 2115 Sat, 22 Apr 2017 14:17:00 +0000 Time series data models and the future of influxdbs query language 6 points posted by kenny https://speakerdeck.com/pauldix/time-series-data-models-and-the-future-of-influxdbs-query-language 2114 Sat, 22 Apr 2017 08:21:00 +0000 Cast: Getting Better, Mentoring, and Drawing Gophers with Ashley McNamara #gotime 9 points posted by tollela https://changelog.com/gotime/43 2113 Fri, 21 Apr 2017 09:42:00 +0000 solvere - a validating recursive DNS resolver library #dns solvere - A validating recursive DNS resolver library and standalone server with DNSSEC support 4 points posted by tollela https://github.com/rolandshoemaker/solvere 2112 Fri, 21 Apr 2017 09:41:00 +0000 sqlite - an embeddable, transactional SQL database engine in Go #sql #sqlite Package sqlite is an in-process implementation of a self-contained, serverless, zero-configuration, transactional SQL database engine. (Work In Progress) 9 points posted by kenny https://github.com/cznic/sqlite 2111 Fri, 21 Apr 2017 08:15:00 +0000 Slides: Monadic error handling in go 7 points posted by drogo https://speakerdeck.com/rebeccaskinner/monadic-error-handling-in-go 2110 Fri, 21 Apr 2017 07:11:00 +0000 faas - Functions as a Service (on Docker Swarm) FaaS is a framework for building serverless functions on Docker Swarm with first class support for metrics. Any UNIX process can be packaged as a function enabling you to consume a range of web events without repetitive boiler-plate coding. 5 points posted by kenny https://github.com/alexellis/faas 2109 Thu, 20 Apr 2017 15:51:00 +0000 Key Word "int" is not reserved. It can be a function name. Here is a little bit I want to share &nbsp;from my own experience.<div><br></div><div>There was one time I typo-ed a initialization function name to "int"<br></div><pre>func int(){<br>...<br>}<br>which should be <br>func init(){<br>...<br>}</pre><div>but the compiler passed it.Then after that, each time when I try to do a type casting, &nbsp;int(some_int_variable), it stops me. :(</div><div>(It took me a month to found this)</div><div><br></div><div><br></div><div><br></div> 2 points posted by Jingtao /stories/2108-key-word-int-is-not-reserved.-it-can-be-a-function-name. 2108 Thu, 20 Apr 2017 15:48:00 +0000 Arrays and slices in Go <a class="title may-blank loggedin outbound" data-event-action="title" href="https://golangbot.com/arrays-and-slices/" tabindex="1" data-href-url="https://golangbot.com/arrays-and-slices/" data-outbound-url="https://out.reddit.com/t3_66i9xa?url=https%3A%2F%2Fgolangbot.com%2Farrays-and-slices%2F&amp;token=AQAAC974WGLZVU4rxPjEJh5GNK42hjOQ5CIUx00iD8M--vxvWo0i&amp;app_name=reddit.com" data-outbound-expiration="1492704779000" rel="" style="color: rgb(85, 26, 139); outline-color: initial; outline-style: none; margin-right: 0.4em; padding: 0px; overflow: hidden; unicode-bidi: isolate; font-size: medium; margin-bottom: 1px; font-family: verdana, arial, helvetica, sans-serif; background-color: rgb(255, 255, 255); user-select: initial;">A detailed tutorial on arrays and slices in Go</a>. 5 points posted by geekme https://golangbot.com/arrays-and-slices 2107 Thu, 20 Apr 2017 15:15:00 +0000 Blog Post: Playing Around with BoltDB 11 points posted by zupzup https://zupzup.org/boltdb-example 2106 Thu, 20 Apr 2017 09:25:00 +0000 Deeplearning in go 8 points posted by kenny http://gopherdata.io/post/deeplearning_in_go_part_1 2105 Wed, 19 Apr 2017 18:18:00 +0000 Dynamic json umarshalling in go 6 points posted by Jingtao https://medium.com/@nate510/dynamic-json-umarshalling-in-go-88095561d6a0 2104 Wed, 19 Apr 2017 15:59:00 +0000 Don't use go's default http client 10 points posted by Jingtao https://medium.com/@nate510/don-t-use-go-s-default-http-client-4804cb19f779 2103 Wed, 19 Apr 2017 15:43:00 +0000 Practice Go: Web Scraping 3 points posted by Tania http://pliutau.com/practice-go-webscraping 2102 Wed, 19 Apr 2017 15:02:00 +0000 Handling C++ exceptions in go 2 points posted by tollela http://artem.krylysov.com/blog/2017/04/13/handling-cpp-exceptions-in-go 2101 Wed, 19 Apr 2017 13:50:00 +0000 Hiring: Backend Engineers - Golang (Contract OK) 3 points posted by Zia http://grnh.se/tci0be1 2100 Wed, 19 Apr 2017 10:51:00 +0000 Periph - low-level board facilities on Raspberry Pi, CHIP #raspberrypi #gobot <p><a href="https://periph.io/x/periph" style="color: rgb(30, 174, 219);">periph.io/x/periph</a>&nbsp;is a standalone library with no external dependency to interface with low-level board facilities exposed by the OS or leveraged against OS’ will. It can be viewed as a lower level layer than <a href="https://gobot.io/" style="color: rgb(30, 174, 219);">Gobot</a>, and yes we’re discussing to collaborate in the future!</p> 5 points posted by kenny https://periph.io 2099 Tue, 18 Apr 2017 20:33:00 +0000 dep status - week of April 17th #dep #dependency #vendor 10 points posted by daenney https://sdboyer.io/dep-status/2017-04-17 2098 Tue, 18 Apr 2017 19:28:00 +0000 Moving from PHP (Laravel) to Go 13 points posted by dvk https://dannyvankooten.com/laravel-to-golang 2097 Tue, 18 Apr 2017 12:19:00 +0000 go-linq - .NET LINQ-like query methods for Go 11 points posted by tollela https://github.com/ahmetb/go-linq 2096 Mon, 17 Apr 2017 23:28:00 +0000 Video: Implementing the context package #justforfunc 5 points posted by kenny https://www.youtube.com/watch?v=8M90t0KvEDY 2095 Mon, 17 Apr 2017 18:43:00 +0000 clockwerk - Job Scheduling Library 5 points posted by daenney https://github.com/onatm/clockwerk 2094 Mon, 17 Apr 2017 12:10:00 +0000 besticon - Favicon service written in Go 5 points posted by kenny https://github.com/mat/besticon 2093 Mon, 17 Apr 2017 11:30:00 +0000 Trixie is a lightweight http request router (based on a tree) 2 points posted by Marcel Franke https://github.com/donutloop/trixie 2092 Mon, 17 Apr 2017 07:07:00 +0000 c2go - ⚖️ A tool for converting C to Go, in Go. 18 points posted by daenney https://github.com/elliotchance/c2go 2091 Sun, 16 Apr 2017 11:32:00 +0000 Golang ssh security 15 points posted by tollela https://bridge.grumpy-troll.org/2017/04/golang-ssh-security 2090 Sat, 15 Apr 2017 19:27:00 +0000 Go helpers to manage environment variables #environment <div class="repository-meta mb-0 js-repo-meta-edit js-details-container"><div class="repository-meta-content col-11 mb-1"><span class="col-11 text-gray-dark mr-2" itemprop="about">Go library to manage environment variables :</div><div class="repository-meta-content col-11 mb-1"><br></div><div class="repository-meta-content col-11 mb-1">This library is made up of two parts :<br></div><div class="repository-meta-content col-11 mb-1"><span class="col-11 text-gray-dark mr-2" itemprop="about"><ul style="box-sizing: border-box; padding-left: 2em; margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, " segoe="" ui",="" helvetica,="" arial,="" sans-serif,="" "apple="" color="" emoji",="" "segoe="" ui="" symbol";="" font-size:="" 16px;"=""><li style="box-sizing: border-box;">Env object : it wraps your environments variables in an object and provides convenient helpers.</li><li style="box-sizing: border-box; margin-top: 0.25em;">Env tree object : through this helper you can parse and manage your environment variables in a tree like you would do to manage a configuration in a yaml file.</li> </ul></div><span class="edit-link"><button type="button" class="btn btn-sm float-right js-details-target js-edit-repo-meta-button js-edit-repo-meta-toggle" style="font-weight: 600; font-size: 12px; line-height: 20px; text-transform: none; position: relative; padding: 3px 10px; white-space: nowrap; vertical-align: middle; user-select: none; background-repeat: repeat-x; background-position: -1px -1px; background-size: 110% 110%; border-width: 1px; border-style: solid; border-color: rgba(27, 31, 35, 0.2); border-radius: 0.25em; color: rgb(36, 41, 46); background-color: rgb(239, 243, 246); background-image: linear-gradient(-180deg, rgb(250, 251, 252) 0%, rgb(239, 243, 246) 90%); float: right !important;">Edit</button></div><div class="mb-3 repository-topics-container js-repository-topics-container js-details-container"><div id="topics-list-container" data-url="/antham/envh/settings/topics"><div class="list-topics-container f6 mt-1"></div></div></div> 7 points posted by antham https://github.com/antham/envh 2089 Sat, 15 Apr 2017 18:11:00 +0000 New linux ssh server shows off golangs infrastructure power 7 points posted by kenny http://www.infoworld.com/article/3189668/open-source-tools/new-linux-ssh-server-shows-off-golangs-infrastructure-power.html 2088 Sat, 15 Apr 2017 17:52:00 +0000 Cast: Race Detection, Firmware, and Production-grade Go #gotime Race Detection, Firmware, and Production-grade Go with Kavya Joshi 8 points posted by kenny https://changelog.com/gotime/42 2087 Fri, 14 Apr 2017 19:12:00 +0000 vol - Volume rendering experiments in Go 5 points posted by tollela https://github.com/fogleman/vol 2086 Fri, 14 Apr 2017 18:45:00 +0000 Building a Bank with Go 8 points posted by kenny https://www.infoq.com/presentations/bank-go 2085 Thu, 13 Apr 2017 13:47:00 +0000 Update on dep progress 13 points posted by drogo https://sdboyer.io/dep-status/2017-04-10 2084 Thu, 13 Apr 2017 10:24:00 +0000 Multi valued expressions in go 8 points posted by tollela https://medium.com/golangspec/multi-valued-expressions-in-go-bd28ddfe1b39 2083 Thu, 13 Apr 2017 08:06:00 +0000 Video: How to Raise a Gopher in Record Time #community Tiffany Jernigan - How to Raise a Gopher in Record Time at GCI17 in Pune, India in Feb. 2017 9 points posted by kenny https://www.youtube.com/watch?v=niwmT3iKdtc 2082 Wed, 12 Apr 2017 23:03:00 +0000 Recent changes to Golang News #meta 🎉&nbsp;The site has seen some changes :<div> <ul> <li>Comments can now have styled text using a WYSIWYG editor</li> <li>Stories can now have styled text</li> <li>There is a new bookmarklet available (see bottom bar) - this lets you post stories while browsing</li> <li>Behind the scenes, it's using a new router and handler signature</li> <li>Tests have been added for all actions </li> <li>Detect and reject blank stories/comments</li> </ul></div><div>Want to see something new on Golang News? Have any comments on the site? Any things you find really annoying? Post your thoughts below. </div> 17 points posted by kenny /stories/2081-recent-changes-to-golang-news-meta 2081 Wed, 12 Apr 2017 22:55:00 +0000 Go programming language secure coding practices guide Go programming language secure coding practices guide by Checkmarx 5 points posted by tollela https://github.com/Checkmarx/Go-SCP 2080 Wed, 12 Apr 2017 16:53:00 +0000 Halftoning with Go - Part 2 The next stop on my travel through the world of halftoning will be the implementation of Weighted Voronoi Stippling as described in Adrian Secord’s 2002 paper. This method is more involved than the ones I detailed in my previous blog post, however the results are quite interesting. Again, I did the implementation in Go. 7 points posted by gopher https://maxhalford.github.io/blog/halftoning-2 2079 Wed, 12 Apr 2017 13:22:00 +0000 Video: Golang's Realtime Garbage Collector In this talk, we’ll see how Go’s garbage collector works (the tricolor algorithm), why it works (achieving such short GC pauses), and most importantly, whether it works (benchmarking these GC pauses, and comparing them with other languages). The talk is based on this blog post, which includes an animation of the algorithm, and more benchmark results. https://making.pusher.com/golangs-real-time-gc-in-theory-and-practice/ 6 points posted by will https://pusher.com/sessions/meetup/the-realtime-guild/golangs-realtime-garbage-collector 2078 Wed, 12 Apr 2017 08:54:00 +0000 Cast: Distributed Messaging and Network Clients #gotime Distributed Messaging and Network Clients with Wally Quevedo 5 points posted by tomf https://changelog.com/gotime/41 2077 Wed, 12 Apr 2017 06:53:00 +0000 di - Dependency injection container in golang. Dependency injection container in Go; by sarulabs - no reflection! Done right! 5 points posted by dc0d https://github.com/sarulabs/di 2076 Wed, 12 Apr 2017 06:25:00 +0000 update-golang is a script to easily fetch and install new Golang releases update-golang is a script to easily fetch and install new Golang releases 10 points posted by Everton Marques https://github.com/udhos/update-golang 2075 Tue, 11 Apr 2017 17:32:00 +0000 How we made our dns stack 3x faster 5 points posted by tollela https://blog.cloudflare.com/how-we-made-our-dns-stack-3x-faster 2074 Tue, 11 Apr 2017 12:15:00 +0000 Practice Go: Roman Numerals 5 points posted by Tania http://pliutau.com/practice-go-romannumerals 2073 Tue, 11 Apr 2017 07:39:00 +0000 Go release timeline 0 points posted by Everton Marques https://pocketgophers.com/go-release-timeline/ 2072 Mon, 10 Apr 2017 21:44:00 +0000 Pragmatic Web Development in Go You should write your next web server in Go. Yes, you! Compared with Ruby, PHP, Python, or Javascript, you're going to get great memory and latency performance, and libraries that do what you expect. The standard library can be a bit lacking though, if you are used to developing with a tool like Rails. I found myself adding the same helpers to every web project that I started in Go, so I compiled those tools into a starter pack. Most of the code is thin wrappers around the standard library, and any/all of it can be ripped out. I wanted to go over some of the tools in the starter pack. 5 points posted by lolly https://kev.inburke.com/kevin/go-web-development 2071 Mon, 10 Apr 2017 20:25:00 +0000 The Go developer experience working group 7 points posted by kenny https://blog.golang.org/developer-experience 2070 Mon, 10 Apr 2017 17:08:00 +0000 captainslog - A Syslog Protocol Parser A Syslog Protocol Parser by digitalocean 4 points posted by gopher https://github.com/digitalocean/captainslog 2069 Mon, 10 Apr 2017 14:04:00 +0000