Golang News http://golangnews.com Jobs, Code, Videos and News for Go hackers - everything about the go programming language Fri, 18 Mar 2022 01:19:00 +0000 Creating CLI commands, subcommands and flags with google/subcommands #cli <p>How to create CLI programs with multiple commands, flags and subcommands, and do it fast and simply?</p> <p><a href="https://github.com/google/subcommands" style="box-sizing: inherit; color: rgb(0, 162, 156);">google/subcommands</a>&nbsp;makes it a breeze.</p> <p>Let us see how.</p> 3 points posted by FGM https://osinet.fr/go/en/articles/cli-google-subcommands 4697 Sun, 06 Mar 2022 13:35:00 +0000 10 Gotchas for building a universal crypto candlestick iterator in Go #crypto #golang 2 points posted by Mariano https://marianogappa.github.io/software/2022/07/27/10-gotchas-for-building-a-universal-crypto-candlestick-iterator-in-go 4754 Wed, 27 Jul 2022 15:36:00 +0000 Go Survey 2016 results #community This post summarises&nbsp;the result of the December 2016 Go&nbsp;User Survey along with our commentary and insights. We are grateful to everyone who provided their feedback through the survey to help shape the future of Go. 39 points posted by kenny https://blog.golang.org/survey2016-results 1879 Mon, 06 Mar 2017 14:08:00 +0000 Grumpy - Go running Python! #compilers Google runs millions of lines of Python code. The front-end server that drives youtube.com and YouTube’s APIs is primarily written in Python, and it serves millions of requests per second! YouTube’s front-end runs on CPython 2.7, so we’ve put a ton of work into improving the runtime and adapting our application to work optimally within it. These efforts have borne a lot of fruit over the years, but we always run up against the same issue: it's very difficult to make concurrent workloads perform well on CPython. 23 points posted by kenny https://opensource.googleblog.com/2017/01/grumpy-go-running-python.html 1468 Wed, 04 Jan 2017 17:28:00 +0000 Video: Crypto for Go Developers #gophercon #crypto George Tankersley (a security developer at CoreOS) talks about using golang for crypto <a href="https://speakerdeck.com/gtank/crypto-for-go-developers">View Slides</a>&nbsp;Code is available at <a href="https://github.com/gtank/cryptopasta">Github</a> 19 points posted by kenny https://www.youtube.com/watch?v=2r_KMzXB74w 1469 Wed, 04 Jan 2017 17:35:00 +0000 Package cc is a C99 compiler front end #compiler 15 points posted by kenny https://godoc.org/github.com/cznic/cc 654 Thu, 03 Mar 2016 14:09:00 +0000 Key pinning in Go #crypto Key pinning is a technique that can protect clients from rogue or compromised certificate authorities. If you have control over the client and the server, you can bake the server's public key into the client and bypass (or supplement) trust in certificate authorities. 14 points posted by gopher https://tam7t.com/key-pinning-in-golang 1100 Thu, 22 Sep 2016 12:31:00 +0000 Using Couchbase Server in a Go Web Application #nosql #couchbase 14 points posted by nraboy https://www.thepolyglotdeveloper.com/2016/08/using-couchbase-server-golang-web-application 978 Fri, 05 Aug 2016 12:55:00 +0000 Constants in Go #constants 13 points posted by kenny https://blog.golang.org/constants 2892 Sat, 04 Nov 2017 11:52:00 +0000 Introducing vice - go channels across many machines #concurrency #goroutines <p name="bd61" id="bd61" class="graf graf--p graf-after--figure">Concurrency is a great way to get more stuff done faster. Go channels are perfect for enabling multiple concurrent goroutines to safely communicate within a single process, but if we want to let multiple machines/nodes communicate in a similar way, we have to write completely different code and integrate with messaging queues, gRPC, or something else. Until now.</p> 13 points posted by kenny https://medium.com/@matryer/introducing-vice-go-channels-across-many-machines-bcac1147d7e2 2445 Fri, 28 Jul 2017 14:28:00 +0000 Practice Go: Calculate the Jaro distance #challenge #practicego The Jaro distance is a measure of similarity between two strings. The higher the Jaro distance for two strings is, the more similar the strings are. The score is normalized such that 0 equates to no similarity and 1 is an exact match. 13 points posted by kenny https://github.com/plutov/practice-go/tree/master/jaro 1855 Fri, 03 Mar 2017 08:56:00 +0000 Cast: The Go compiler #gotime #compilers 13 points posted by andythomas https://changelog.com/gotime/27 1383 Sun, 18 Dec 2016 20:49:00 +0000 Video: The hidden micro-service - caching with Go at Netflix #data #caching Netflix is well known for championing the microservice model, but within the complex layers of dependencies is a hidden service: the caching layer. The Netflix customer experience relies heavily on caches to provide a high-volume, low latency, globally available data layer that backs our stateless services. Throughout a typical customer experience, from sitting down on the couch through playing a movie, caches play a role in every interaction. The use cases here range from session storage to video history to subscriber status, all of which benefit from the stability and fault tolerance of EVCache, the primary caching system in use at Netflix. 12 points posted by kenny https://www.youtube.com/watch?v=Rzdxgx3RC0Q 1580 Fri, 20 Jan 2017 13:24:00 +0000 Video: Meet the Go Authors #cloudnext Go is an open source language that enables the production of simple, efficient, and reliable software at scale. Designed by Google for cloud workloads, Docker, Kubernetes, Istio, and gVisor are all implemented in Go. With great built-in concurrency (ideal for cloud services), a best-in-class networking stack, and excellent tools for developers &amp; operators it’s become one of the fastest growing &amp; most loved languages. Meet the minds behind the Go language and participate in our interactive panel. Speakers: Brad Fitzpatrick, Ian Lance Taylor, Robert Griesemer, Tyler Bui-Palsulich, Robert Van Gent Moderator: Van Riper 11 points posted by kenny https://www.youtube.com/watch?v=3yghHvvZQmA 3920 Sun, 14 Apr 2019 13:01:00 +0000 Video: Go Build Modes by David Crawshaw #compiler The Go toolchain now has a variety of build modes that let you use Go in places and in ways beyond the typical statically linked binary. This talk will go through the build modes c-archive, c-shared, shared, pie, and plugin, showing example uses, discussing OS-specific limits, and future plans. 11 points posted by andythomas https://www.youtube.com/watch?v=x-LhC-J2Vbk 2780 Tue, 10 Oct 2017 10:04:00 +0000 Handle data modelling errors in Go #couchbase 11 points posted by andythomas https://blog.couchbase.com/handle-data-modeling-errors-golang-couchbase-application 2613 Fri, 01 Sep 2017 10:10:00 +0000 Video: Slice performance through cache friendliness #dotgo #performance #caching A talk by Damian Gryski at DotGo 2016. Modern computers have multiple layers of caches between the processor and main memory. Algorithms which effectively use these caches can be orders of magnitude faster than those that don’t. Damian looks at how using slices can make your inner loops more cache friendly. 11 points posted by kenny http://www.thedotpost.com/2016/10/damian-gryski-slices-performance-through-cache-friendliness 1656 Wed, 01 Feb 2017 14:28:00 +0000 Project: HttpCache - Extremely easy cache service for HTTP/x #web #cache 11 points posted by geeky https://github.com/GeekyPanda/httpcache 1228 Wed, 16 Nov 2016 07:41:00 +0000 A Lua 5.3 VM and compiler written in Go #compilers 11 points posted by kenny https://github.com/milochristiansen/lua 1202 Sun, 06 Nov 2016 08:33:00 +0000 ssh-vault encrypt/decrypt using ssh keys #ssh #crypto A command line tool (cli) for creating encrypted files “vaults” using ssh-rsa keys for encrypt/decrypt. https://ssh-vault.com/ 11 points posted by nbari https://github.com/ssh-vault/ssh-vault 1124 Tue, 11 Oct 2016 08:00:00 +0000 Using Full Text Search, FTS, with Couchbase in a GoLang Application #NoSQL #Couchbase 11 points posted by nraboy http://blog.couchbase.com/2016/july/using-full-text-search-fts-with-couchbase-in-a-golang-application 951 Thu, 21 Jul 2016 19:46:00 +0000 Boulder - An ACME-based CA in Go #crypto 11 points posted by Tim Donell https://github.com/letsencrypt/boulder 864 Tue, 31 May 2016 07:48:00 +0000 Channel axioms #channels 11 points posted by gopher http://dave.cheney.net/2014/03/19/channel-axioms 339 Wed, 21 Oct 2015 19:27:00 +0000 A Brief Tour of Practical Crypto in Go #cryptography Go offers a rich collection of packages supporting cryptographic operations. From a beginner’s perspective, maybe too many offerings! I offer up an overview of what’s available and an introduction to some practical uses of cryptography in Go. Implementation details are always critical when discussing crypto. We’ll discuss some general implications of making poor choices and how such choices can completely undermine any uses of these tools. 10 points posted by andythomas https://cyberspy.io/articles/crypto101 3025 Sat, 16 Dec 2017 21:25: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 10 points posted by kenny https://www.youtube.com/watch?v=niwmT3iKdtc 2082 Wed, 12 Apr 2017 23:03:00 +0000 Kube monkey - Chaos Monkey for Kubernetes clusters #chaos #kubernetes 10 points posted by gopher https://github.com/asobti/kube-monkey 1333 Sat, 10 Dec 2016 15:03:00 +0000 Getting Started with Golang and Couchbase #nosql #couchbase #database 10 points posted by nraboy http://blog.couchbase.com/2016/november/getting-started-with-golang-and-couchbase 1188 Tue, 01 Nov 2016 16:00:00 +0000 Sendto - encryption for the masses #gophergala #crypto 10 points posted by kenny https://sendto.click 535 Mon, 25 Jan 2016 06:17:00 +0000 Lets encrypt progress report for Caddy #caddy #net 10 points posted by kenny https://caddyserver.com/blog/lets-encrypt-progress-report 331 Tue, 20 Oct 2015 16:27:00 +0000 Lego - a let's encrypt client in go #web #crypto 10 points posted by kenny https://github.com/xenolf/lego 305 Sun, 18 Oct 2015 19:26:00 +0000 Neugram - a scripting language integrated with Go #cli #scripting #neugram <p>I started working on Neugram because as I spent more time programming in Go I found myself writing a larger fraction of the scripts better suited to Python or Perl in Go. My daily programming came to be dominated by bash and Go.</p> <p>The problem is, bash is an awkward language for a ~100 line program, and sometimes so is Go. While it is thoroughly enjoyable to use the same standard library in scripts as in big complex projects, Go is slower to work in than Python and Perl for a few reasons:</p> 9 points posted by kenny https://neugram.io/blog/neugram-briefly 2864 Sun, 29 Oct 2017 18:19:00 +0000 Women Who Go #community Links to user groups for women using Go around the world. 9 points posted by gopher http://www.womenwhogo.org 1609 Tue, 24 Jan 2017 06:30:00 +0000 Video: Using Couchbase Server in a Golang Web Application #couchbase #nosql #restful #api 9 points posted by nraboy https://www.youtube.com/watch?v=D64M3ZZxCIc 1191 Wed, 02 Nov 2016 20:46:00 +0000 Cast: Kubernetes, Containers, and Go with Kelsey Hightower #gotime #containers 9 points posted by kenny https://changelog.com/gotime/20 1148 Thu, 20 Oct 2016 19:50:00 +0000 Copy & paste-friendly golang crypto #crypto This library demonstrates a suite of basic cryptography from the Go standard library. To the extent possible, it tries to hide complexity and help you avoid common mistakes. The recommendations were chosen as a compromise between cryptographic qualities, the Go standard lib, and my existing use cases. 9 points posted by drogo https://github.com/gtank/cryptopasta 941 Fri, 15 Jul 2016 21:02:00 +0000 Formats: binary file explorer #cli Demo: https://asciinema.org/a/7uce44hzwvpi5dijxh0jpcc7g 9 points posted by martinlindhe https://github.com/martinlindhe/formats 899 Sat, 18 Jun 2016 17:35:00 +0000 Writing a compiler in go #compilers 9 points posted by kenny http://squanch.org/writing-a-compiler-in-go 807 Tue, 03 May 2016 07:49:00 +0000 Video: A PNaCl/LLVM Go Compiler #compilers 9 points posted by gopher https://www.youtube.com/watch?v=jEoIiNJTQWE 497 Sat, 09 Jan 2016 17:09:00 +0000 Video: Performance tuning Go apps #cloudnext 8 points posted by tomf https://www.youtube.com/watch?v=b0o-xeEoug0 3918 Sat, 13 Apr 2019 18:59:00 +0000 Video: 🌥 Building go applications for the open cloud #cloudnext This session highlights a newly released project from the Go team that supports developing applications for the open cloud. The project provides generic interfaces across cloud providers for logging, configuration management, database access, blob storage and more. This session will introduce the project and demonstrate how it helps Go developers build applications for the open cloud. 8 points posted by kenny https://www.youtube.com/watch?v=_2ZwhvIkgek# 3453 Thu, 26 Jul 2018 05:26:00 +0000 Create A Bitcoin Hardware Wallet With Golang And A Raspberry Pi Zero #cryptocurrency 8 points posted by nraboy https://www.thepolyglotdeveloper.com/2018/03/create-bitcoin-hardware-wallet-golang-raspberry-pi-zero 3263 Mon, 26 Mar 2018 14:49:00 +0000 tui-go - a UI library for terminal applications #graphics #cli 8 points posted by kenny https://github.com/marcusolsson/tui-go 2893 Sat, 04 Nov 2017 11:56:00 +0000 ⚡️✨ Introducing 0RTT - powered by go #net #crypto 0-RTT is live on the Cloudflare edge, powered by the Go TLS stack that powers all cloudflare TLS 1.3 8 points posted by kenny https://blog.cloudflare.com/introducing-0-rtt 1937 Wed, 15 Mar 2017 14:55:00 +0000 Digital Ocean command line tool #cli 8 points posted by kenny https://github.com/digitalocean/doctl 812 Thu, 05 May 2016 19:24:00 +0000 Use gorilla/websocket to implement a simple web chat application #web #chat 8 points posted by gopher https://github.com/gorilla/websocket/tree/master/examples/chat 670 Sun, 06 Mar 2016 21:13:00 +0000 Hiring: Lead software developer at let's encrypt #remote #crypto 8 points posted by kenny https://letsencrypt.org/jobs/#lead-software-developer 324 Tue, 20 Oct 2015 06:22:00 +0000 🏆goldmark - A markdown parser #commonmark A markdown parser written in Go. Easy to extend, standard(CommonMark) compliant, well structured. - yuin/goldmark 7 points posted by kenny https://github.com/yuin/goldmark 3971 Tue, 14 May 2019 20:14:00 +0000 Issuing your NEP-5 token on NEO’s Private net using Go #cryptocurrency 7 points posted by tomf https://medium.com/@likkee.chong/neo-token-contract-nep-5-in-go-f6b0102c59ee 3589 Mon, 01 Oct 2018 09:20:00 +0000 Trying to write scripts in Go #cli <p>This is a story about how I tried to use Go for scripting. In this story, I’ll discuss the need for a Go script, how we would expect it to behave and the possible implementations; During the discussion I’ll deep dive to scripts, shells, and shebangs. Finally, we’ll discuss solutions that will make Go scripts work.</p> <h2><a href="https://gist.github.com/posener/73ffd326d88483df6b1cb66e8ed1e0bd#why-go-is-good-for-scripting" aria-hidden="true" class="anchor" id="user-content-why-go-is-good-for-scripting" style="box-sizing: border-box; color: rgb(3, 102, 214); float: left; padding-right: 4px; margin-left: -20px; line-height: 1;"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a></h2> 7 points posted by kenny https://gist.github.com/posener/73ffd326d88483df6b1cb66e8ed1e0bd 2867 Mon, 30 Oct 2017 09:08:00 +0000 subcommands - a go subcommand library #cli 7 points posted by Donutloop https://github.com/google/subcommands 2859 Sat, 28 Oct 2017 06:06:00 +0000