Author Archives: bullgare

How to start with google bigquery

Here is the list of thing I noticed when started to work with bigquery. First you need to create a project — That’s how you create a service key for bigquery — Select your project on the very top of the page, and then create JSON key. And don’t forget to set is …

Read more

Interesting alternative to grpc_cli It has REPL mode and CLI mode for e2e tests I think, it could be a good alternative to grpc_cli.

Go library for creating slack bots

You can use it like that:

How to work with core dumps of Go programs

If you want to check what is going on in your service during load (on production or during stress testing process), you can take a core dump of your app and load it into Goland for further debugging.

Then open it your Goland: Navigate to Run | Open Core Dump. In the Executable field, …

Read more

Nice introductory article on why Golang is not OOP

It is a copy of this article — It is real struggle to work with a new language, especially if the type doesn’t resemble what you have previously seen. I have been there with Go and lost my interest in the language when it first came out due to the reason I was pretending …

Read more

How to install linux mint on hp

I’ve run into a problem — had a lot of error logging saying «PCIe Bus Error: severity=Corrected, type=Physical Layer», «AER Corrected error received», and similar. The problem is that it fills all the log space and the installation process cannot finish. You can run into it on HP laptops on monoblocks. What you can do.

How to watch tv on amazon Fire TV stick

You need to install some apps for that. Settings→My Fire TV→Developer options→Apps from Unknown Sources→ON. 🔍→Type «Downloader»→Click on it→Install. Home→Downloader→Type following link (→Install. 🔍→Type «VLC Player»→Install. Home→Lazy IPTV→New playlist→From Internet(by url)→Type «». Now you can watch it. Home→Lazy IPTV→Channel search→Select a channel you want. More on apps and playlists here — (in Russian).

A way to test http client in go

A couple of ways are described here — The way I liked is the following one:

Setup local Athens for proper go mod

There is a project called Athens for proxying all your go mod downloads. How to use it locally. 1. Create the following files and directories: a. /Users/d.bolgov/.ssh-athens/storage — empty directory to cache go modules b. /Users/d.bolgov/.ssh-athens/.netrc — if you prefer using .netrc

c. /Users/d.bolgov/.ssh-athens/gitconfig/.gitconfig — if you want to substitue some urls. I personally …

Read more

Port forwarding with kubectl

If you want some kubernetes pod to forward all the traffic to you local machine, you can do this: 1. get pod id with

2. forward exact port from it to you localhost with

And you can request you localhost to reach pod on selected port.