Size: a a a

2017 December 20
4gophers
Aspects of a good go library
https://t.co/l4EldoP3Er

A short checklist of what I wish for in a good Go library, in no particular order. This is a companion to the effective go list, Go code review comments list, and Go proverbs list.
#golang
источник
4gophers
Let’s Implement a Bloom Filter in Go – codeburst
https://t.co/aKDi4hcotG

Today I decided to play with some data structures and I was wondering what should I learn next. I remember some time ago while I was reading some articles about Cassandra internals that it used bloom filters to check if the particular SSTables are likely to have the request partition data. I thought it might be cool to implement one and share my thought process with you. I will try to explain things as simple as possible.

#golang
источник
4gophers
Tracking the Stars  
https://t.co/AhotvlJTC0

In April 2017, I thought it would be fun to try setting up a system to track the star counts of the top 1000 Go repositories on GitHub. This article describes how I collected this data and some simple analysis of the dataset.
#golang
источник
2017 December 21
4gophers
Go Reflection: Creating Objects from Types — Part I (Primitive Types)
https://t.co/M5hvmYbjM7

The reflect package in Golang provides the necessary APIs to change the control flow of the program based on the type of the object being processed.
#golang #reflection
источник
4gophers
Go Newsletter Issue #192
https://golangweekly.com/issues/192

In this final issue of the year, we're looking back at the most popular Go news and links of 2017. We hope you have a happy holiday season and we'll see you next on January 11, 2018 :-)
#golang #news
источник
4gophers
Divide, compress and conquer: Building an Earth data server in Go (Part 1)  
https://t.co/70iWUU0NNU

This is the first article in a series of three, studying the problem of serving large satellite images using NASA’s Blue Marble image and the Go programming language. This first article presents options for storing large satellite images using files and discusses the differences in performance when accessing the data. The second article focuses on compression, demonstrating the benefits of fast compressors when storing and accessing large datasets. The third goes through the steps for exposing an efficient Blue Marble server using the Google Cloud Platform.
#golang #map
источник
2017 December 22
4gophers
5 Gotchas of Defer in Go — Part II  #redd
https://t.co/VwVeuu7dRc
источник
4gophers
The Decomposable Monolith: Long Live the Monolith, Long Live Services!  
https://t.co/dL27H99Ox8
источник
4gophers
Advanced Testing Techniques in Go  
https://t.co/WCfVOL7Kyf
источник
4gophers
Extending Osquery with Go  
https://t.co/cq7esoke5o
источник
2017 December 26
4gophers
[Перевод] Линейная регрессия с помощью Go
https://habrahabr.ru/post/345484/

Долгое время меня интересовала тема машинного обучения. Меня удивляло, как машины могут обучаться и прогнозировать безо всякого программирования — поразительно! Я всегда был очарован этим, однако никогда не изучал тему подробно. Время — ресурс скудный, и каждый раз, когда я пытался почитать о машинном обучении, меня заваливало информацией. Освоение всего этого казалось трудным и требовало много времени. Также я убедил себя, что у меня нет необходимых математических знаний даже для того, чтобы начать вникать в машинное обучение.
#golang #ml
источник
4gophers
Запускаем новый онлайн-курс «Разработка веб-сервисов на Go»
https://habrahabr.ru/post/345490/

Сегодня мы запускаем первую часть нашего нового курса по Go на платформе Coursera, посвященного разработке веб-сервисов. В этой части мы рассмотрим основы синтаксиса, асинхронную модель в Go, вопросы производительности и основу работы с HTTP в стандартной библиотеке.
#golang #learn
источник
4gophers
Dynamic Code Generation - a JIT compiler for x64 in Golang  
https://t.co/Eopqld9aFe

A JIT compiler (Just-in-Time) is any program that runs machine code generated during runtime. The difference between JIT code and other code (eg. fmt.Println) is that the JIT code is generated at runtime.

#golang #jit #compiler
источник
4gophers
distributed locking for pennies: distrilock  
https://t.co/4w0Iwg1t2d

A while ago I needed a distributed locking solution to compensate for some lousy 3rd-party limitations, and I was a bit overwhelmed by the lack of choice. (Feel free to let me discover more in the comments, but please avoid mentioning solutions you have not tried yourself)
#golang #distributed
источник
4gophers
Go Experience Report: Generics in Kubernetes  
https://t.co/r6MnzCbdyW

At one point recently, Kubernetes was the largest open source Go codebase in existence. It is still massive, and that’s a good thing because Kubernetes is the future of cloud computing.
#golang #kubernetes
источник
4gophers
SSH-Based Tron Light Cycle game, written in Go.  
https://t.co/1VEakpcZEk

Multiplayer Tron in your terminal. Just run the command below and you'll be playing in seconds.
#golang #tron
источник
4gophers
AWS SDK for Go 2.0 Developer Preview | Amazon Web Services  
https://t.co/bar8qBPvYl

We’re pleased to announce the Developer Preview release of the AWS SDK for Go 2.0. Many aspects of the SDK have been refactored based on your feedback, with a strong focus on performance, consistency, discoverability, and ease of use. The Developer Preview is here for you to provide feedback, and influence the direction of the AWS SDK for Go 2.0 before its production-ready, general availability launch.

#golang #aws #sdk
источник
2017 December 28
4gophers
Microservices in Golang - Part 4 - Authentication with JWT  
https://t.co/YsDcSEKgur

In the previous part in this series, we looked at creating a user service and started storing some users. Now we need to look at making our user service store users passwords securely, and create some functionality to validate users and issue secure tokens across our microservices.
#golang #microservices #jwt
источник
4gophers
Using Go Templates
https://t.co/grfQg92U5k

Go templates are a powerful method to customize output however you want, whether you’re creating a web page, sending an e-mail, working with Buffalo, Go-Hugo, or just using some CLI such as kubectl.
#golang #templates
источник
4gophers
Buffered vs. unbuffered channels in Golang  
https://t.co/QNfBK7MoM8

As any newcomer to Golang and it’s ecosystem, I was eager to find out what is this hubbub about these things called goroutines and channels. I read the documentation and blog posts, watched videos, tried out some of the “hello world” examples and even wasted a couple of days trying to solve the puzzles for day 18 from Advent of Code 2017 using goroutines and failed spectacularly.
#golang #channels
источник