Size: a a a

2017 November 14
4gophers
fx - Poor man's serverless framework based on Docker, Function as a Service with painless.
https://t.co/4O6dCGroTd
источник
4gophers
boohu - Break Out Of Hareka's Underground, a roguelike game
https://t.co/Lrr7ZAwWG0

This is Break Out Of Hareka's Underground (Boohu), a roguelike game which takes inspiration mainly from DCSS and its tavern, and some ideas from Brogue, but aiming for very short games, almost no character building, and simplified inventory management.

#games #golang #cli
источник
4gophers
Error handling in Go - Tit Petric  
https://t.co/UZtJ1xuu6D

Error handling in Go is uniquely designed to be explicit in the intent. You should return possible errors from functions and check/handle those returns. This, in contrast with other programming languages, might seem verbose and unfriendly, but it isn’t really so. Let’s go over some basic examples and move on to something less trivial.

#golang #error #manual
источник
4gophers
Plotting latency distributions with gonum (#justforfunc 23)  
https://t.co/ZzYZJ6fIa5

Visualizing data is almost a prerequisite to understand it, and while Python has the amazing numpy and pyplot libraries not many know about the Go alternatives.
#golang #visualizing #justforfunc
источник
4gophers
Go checklist  
https://t.co/IAuukjM9rN

#golang #checklist #testing
источник
4gophers
Build a thermal control fan by Go  
https://t.co/D1igRmiaXr

I just bought a Asus router that sometimes it is overheat like 80C. For cooling, I bought a pair of USB powered fan and it works well, however, it’s waste of energy while CPU is idle. So I think it’s a good idea to use USB control a relay that switch on fan while CPU is hot and turn it off while it’s idle.

#golang #go #hardware
источник
4gophers
Децентрализованные приложения. Технология Blockchain в действии
https://adserver.knock-it.ru/click?banner=22&k=2017111319

Технология Bitcoin показала, как можно использовать криптографически сохраненные записи, модель с ограниченными ресурсами, открытый исходный код и пиринговые сети для создания нового типа успешных приложений. Децентрализованные приложения гибче, прозрачнее и надежнее, чем современное программное обеспечение, созданное с применением традиционных моделей. Эта книга знакомит вас с основами создания децентрализованных приложений и принципами их разработки на примере нескольких доходных приложений. Причина такого коммерческого уклона объясняется тем, что прибыль (выгода) является основой успешного, надежного и перспективного децентрализованного приложения. Воспользуйтесь ими как трамплином к созданию вашего собственного приложения.
#golang #bitcoin #blockchain
источник
2017 November 15
4gophers
How Discord Resizes 150 Million Images Every Day with Go and C++  
https://t.co/RymCFeAjs8
источник
4gophers
источник
4gophers
The 2017 European Go Conference: A Recap  
https://t.co/wNlMPELdQ6

Last week 800 gophers descended upon the Theatre de Paris for the dotGo Conference. The talks ranged from the depths of deps and netpoll to error handling and testing to channels (one of the key features of Go).
#golang #dotgo #gophers
источник
4gophers
create-btc-wallet - Create a new Bitcoin wallet right from the command line!
https://t.co/sNZ528mtnx

Warning: This project is experimental. Please use at your own risk. The author is not liable for any loss of funds attributed to the use of this software.
Note: While development of a pure Go implementation of the secp256k1 elliptic curve digital signature algorithm is underway, CBW will only provide you with a valid private key to import into a wallet client, not a public key.
#golang #bitcoin #blockchain #cli
источник
4gophers
Динамическая типизация
https://img.knock-it.ru/image?name=1_it.jpeg
источник
4gophers
Why Go for Cloud?  
https://t.co/MovTniCRFS

Programming languages give software developers abstraction from machine code, and at the same time, they restrict them from so-called “bad coding.” Although these restrictions make the code more readable and less error-prone, they may lower the power of the language. Therefore, developers may choose different languages based on the kind of problem they want to solve, and as a result, we see that there is more than one common programming language.
#golang #cloud
источник
4gophers
Философия DevOps. Искусство управления IT
https://adserver.knock-it.ru/click?banner=32&k=2017111518

IT-принцип «agile» стал мантрой цифровой эпохи. С ростом проектов, переходом от монолитных приложений к системе микросервисов, увеличением и накоплением продуктов возникают вопросы, которые требуют совершенно иного подхода. Теперь наибольший интерес вызывает находящаяся на стыке разработки и операционного управления методология DevOps.
#devops #books #linux #it
источник
2017 November 16
4gophers
HTTP(S) прокси на Go в 100 строчек кода
https://4gophers.ru/articles/https-proxy-golang/#.WgyH_WFl9hE

Перевод “HTTP(S) Proxy in Golang in less than 100 lines of code“

В этой статье я опишу реализацию HTTP и HTTPS прокси сервера. С HTTP все просто: сначала парсим запрос от клиента, передаем этот запрос дальше на сервер, получаем ответ от сервера и передаем его обратно клиенту. Нам достаточно использовать HTTP сервер и клиент из пакета net/http

#golang #http #https #proxy
источник
4gophers
Go Profiler Internals  
https://t.co/WNOyTAEHWF
источник
4gophers
Self Deploying Go Applications
https://www.youtube.com/watch?v=SmtDEhuDQy4

Kelsey demonstrates how self-contained Go binaries allow us to treat the world as one massive global-scale computer.
#golang #video #dotgo
источник
4gophers
#186: Eight Years of an Open Source Go
https://golangweekly.com/issues/186
источник
4gophers
Многопользовательские игры. Разработка сетевых приложений
https://adserver.knock-it.ru/click?banner=33&k=2017111518

Сетевые многопользовательские игры — это многомиллиардный бизнес, привлекающий десятки миллионов игроков. Эта книга на реальных примерах рассказывает об особенностях разработки таких игр и основах построения надежной многопользовательской архитектуры.
#games #programing
источник
4gophers
shaden - A modular audio synthesizer.
https://t.co/aD2S7BdfxS
источник