Golang News http://golangnews.com Jobs, Code, Videos and News for Go hackers - everything about the go programming language Wed, 17 Oct 2018 12:15:00 +0000 Video: Using the Go tracer #justforfunc #profiling <span class="_mfoc"><span class="_mzgc">What's the best way to create a Mandelbrot fractal in Go? pprof is not enough to help us with this ... let's learn how to use the Go tracer instead! 20 points posted by kenny https://www.youtube.com/watch?v=ySy3sR1LFCQ 2835 Mon, 23 Oct 2017 10:32:00 +0000 Video: CSVQL - serving CSV with SQL #justforfunc 15 points posted by gopher https://www.youtube.com/watch?v=bcRDXAraprk 3615 Wed, 17 Oct 2018 12:15:00 +0000 Video: Understanding Go's type aliases #justforfunc 15 points posted by Donutloop https://www.youtube.com/watch?v=Vg603e9C-Vg 2584 Tue, 29 Aug 2017 04:22:00 +0000 Video: The Context Package #justforfunc From the series justforfunc by Francesc Campoy Flores.&nbsp;Do you know how to use the context package from Go's standard library?&nbsp;Then get ready to learn how it can make your requests​ easier to monitor, your logs easier to grep, and your servers more efficient! 15 points posted by norbertfuhs https://www.youtube.com/watch?v=LSzR0VEraWw 2025 Sat, 01 Apr 2017 14:28:00 +0000 Video: Flappy Gopher, a Go version of the famous game #justforfunc Have you ever played Flappy Bird? I'm sure you have! In this episode I decided to implement Flappy Gopher, a Go version of the famous game, using an SDL2 binding for Go. 15 points posted by norbertfuhs https://www.youtube.com/watch?v=aYkxFbd6luY 1660 Wed, 01 Feb 2017 23:50:00 +0000 Video: More text to speech with cgo and docker #justforfunc Previously we built a "say" command that used cmuflite.org by forking to a new command. In this episode we replace that with a call to the C library using cgo! 14 points posted by gopher https://www.youtube.com/watch?v=yuW6BwOS8Eg 2565 Wed, 23 Aug 2017 08:16:00 +0000 Video: Defining a Color Flag in Go #justforfunc 14 points posted by gopher https://www.youtube.com/watch?v=4D506W1AjeM 1237 Thu, 17 Nov 2016 14:04:00 +0000 Video: A code Review of a web scraper #justforfunc Recently Philip Thomas tweeted about a little web scraper he had written in Go: <a class="yt-simple-endpoint style-scope yt-formatted-string" href="https://twitter.com/philipithomas/status/755271473623867392" style="display: inline-block; cursor: pointer; text-decoration: none; color: var(--yt-endpoint-color); font-family: Roboto, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">https://twitter.com/philipithomas/sta...</a> The code was good, but I saw many ways to improve it ... soooo ... here's a video of me making the code better and explaining what I'm doing. Basically a multimedia Pull Request 😊 If you prefer normal PRs though, you should check this one out <a class="yt-simple-endpoint style-scope yt-formatted-string" href="https://github.com/philipithomas/iterscraper/pull/1" style="display: inline-block; cursor: pointer; text-decoration: none; color: var(--yt-endpoint-color); font-family: Roboto, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">https://github.com/philipithomas/iter...</a> 13 points posted by gopher https://www.youtube.com/watch?v=eIWFnNz8mF4 2564 Wed, 23 Aug 2017 08:16:00 +0000 Video: Unit testing HTTP servers #justforfunc Let's cover the basics of unit testing in Go and then show how you can test http.HandlerFunc and http.Handler. 13 points posted by gopher https://www.youtube.com/watch?v=hVFEV-ieeew 2560 Tue, 22 Aug 2017 10:04:00 +0000 Video: A code review with logging, errors, and signals #justforfunc This time I review a piece of code by <a href="https://twitter.com/sandeepdinesh" class="yt-uix-servicelink " data-url="https://twitter.com/sandeepdinesh" data-target-new-window="True" data-servicelink="CDEQ6TgYACITCInHqNLY_9QCFcYMFgod0PgO_yj4HQ" target="_blank" rel="nofollow noopener" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; background: rgb(255, 255, 255); color: rgb(22, 122, 198); cursor: pointer; text-decoration: none; font-family: &quot;YouTube Noto&quot;, Roboto, arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;">https://twitter.com/sandeepdinesh</a>, from his repo <a href="https://github.com/thesandlord/logpipe" class="yt-uix-servicelink " data-url="https://github.com/thesandlord/logpipe" data-target-new-window="True" data-servicelink="CDEQ6TgYACITCInHqNLY_9QCFcYMFgod0PgO_yj4HQ" target="_blank" rel="nofollow noopener" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; background: rgb(255, 255, 255); color: rgb(22, 122, 198); cursor: pointer; text-decoration: none; font-family: &quot;YouTube Noto&quot;, Roboto, arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;">https://github.com/thesandlord/logpipe</a><br style="color: rgb(51, 51, 51); font-family: &quot;YouTube Noto&quot;, Roboto, arial, sans-serif; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;">The program simply reads from standard input and sends each line both to standard output and a logging service.<br style="color: rgb(51, 51, 51); font-family: &quot;YouTube Noto&quot;, Roboto, arial, sans-serif; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;">What could go wrong? Many things! 13 points posted by gopher https://www.youtube.com/watch?v=c5ufcpTGIJM 2388 Mon, 10 Jul 2017 21:49:00 +0000 Video: Building a text to speech server with gRPC and Kubernetes #justforfunc #kubernetes 13 points posted by kenny https://www.youtube.com/watch?v=XaMr--wAuSI 2225 Thu, 18 May 2017 19:35:00 +0000 Video: Contributing to the Go project #justforfunc The Go community is an amazing one, and we need as many people as possible to contribute to the standard library, the compiler, and all the tools and documentation around those.&nbsp;This episode shows all of the steps that take you from downloading Go to being able to have your change merged to master. 12 points posted by kenny https://www.youtube.com/watch?v=DjZMKKfNVMc 2479 Tue, 08 Aug 2017 09:46:00 +0000 Video: Implementing the context package #justforfunc 12 points posted by kenny https://www.youtube.com/watch?v=8M90t0KvEDY 2095 Mon, 17 Apr 2017 18:43:00 +0000 Video: Basic Benchmarks #justforfunc 11 points posted by gopher https://www.youtube.com/watch?v=2AulMm-hsdI 3167 Wed, 07 Feb 2018 09:09:00 +0000 Video: plotting latency distributions with gonum #justforfunc 11 points posted by lolly https://www.youtube.com/watch?v=77ZFKuMLkp4 2929 Tue, 14 Nov 2017 08:26:00 +0000 Video: a twitter bot and systemd (that runs free on GCP) #justforfunc Today the goal is to build a Twitter bot that will retweet all tweets containing <a href="https://www.youtube.com/results?q=%23justforfunc" class="yt-uix-sessionlink " data-url="/results?q=%23justforfunc" data-sessionlink="itct=CEAQ6TgYACITCJ6b65WO5dQCFcePFgodTVsNxCj4HQ" style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; background: rgb(255, 255, 255); color: rgb(22, 122, 198); cursor: pointer; font-family: &quot;YouTube Noto&quot;, Roboto, arial, sans-serif;">#justforfunc</a>&nbsp;from the @justforfunc account.<br style="color: rgb(51, 51, 51); font-family: &quot;YouTube Noto&quot;, Roboto, arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);"><br style="color: rgb(51, 51, 51); font-family: &quot;YouTube Noto&quot;, Roboto, arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">To do this we will use Go, the anaconda library by ChimeraCoder, systemd, and ... a free micro instance from Google Cloud Platform that turns out to be free!<br style="color: rgb(51, 51, 51); font-family: &quot;YouTube Noto&quot;, Roboto, arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);"> 11 points posted by Donutloop https://www.youtube.com/watch?v=SQeAKSJH4vw 2329 Tue, 20 Jun 2017 06:18:00 +0000 Video: Flappy Gopher part 2, a Go version of the famous game #justforfunc This is part 2 of Francesc Campoy's tutorial on building a clone of Flappy Bird in Go. See discussion on part 1 here: https://golangnews.com/stories/1660-video-flappy-gopher-a-go-version-of-the-famous-game-justforfunc 11 points posted by josh https://www.youtube.com/watch?v=tX_Fgt0gVbQ 1842 Wed, 01 Mar 2017 20:02:00 +0000 Video: Code Review for a Twitter client #justforfunc 11 points posted by kenny https://www.youtube.com/watch?v=MnbMWNR_XZc 1156 Sat, 22 Oct 2016 11:43:00 +0000 Video: Intro to Go Modules and SemVer #justforfunc 7 points posted by gopher https://www.youtube.com/watch?v=aeF3l-zmPsY 3666 Thu, 15 Nov 2018 21:01:00 +0000 Video: Why are there nil channels in Go? #justforfunc I received a question on twitter asking if there was a good reason for nil channels other than completeness. 7 points posted by gopher https://www.youtube.com/watch?v=t9bEg2A4jsw 3090 Tue, 09 Jan 2018 12:11:00 +0000 Video: mastering io.Pipes #justforfunc We've all used a bit of the io package ... right? Implementations of io.Writer and io.Reader can be literally found everywhere ... but do you really know the io package well? 6 points posted by gopher https://www.youtube.com/watch?v=LHZ2CAZE6Gs 3091 Tue, 09 Jan 2018 12:55:00 +0000 Video: CSVQL - serving CSV with SQL (part 2) #justforfunc This is the second part of CSVQL: <a class="yt-simple-endpoint style-scope yt-formatted-string" spellcheck="false" href="https://www.youtube.com/watch?v=bcRDXAraprk">https://youtu.be/bcRDXAraprk</a> CSV files are the basic format for data sharing, but they're not always the best way to consume it. So, what if we created a SQL server that reads the content directly from the CSV files in a folder ... all of it in Go? 5 points posted by kenny https://www.youtube.com/watch?v=wIrS5Lqi-xg 3633 Tue, 30 Oct 2018 22:14:00 +0000 Video: The Basics of Protocol Buffers #justforfunc <p>Many people have asked me about videos on gRPC, and I decided that before getting into those technical topics it'd be nice to have an intro video to Protocol Buffers (aka protobufs), which are one of the basic technologies at Google, and which is part of most of Google APIs and services.</p> 5 points posted by kenny https://www.youtube.com/watch?v=_jQ3i_fyqGA 3236 Thu, 15 Mar 2018 07:25:00 +0000 Video: Deeper program analysis with go/parser #justforfunc In the second episode of the program analysis series we use go/parser to find out what's the most common local variable name and the most common package variable name. 5 points posted by tollela https://www.youtube.com/watch?v=YRWCa84pykM 3015 Tue, 12 Dec 2017 05:39:00 +0000 What’s the most common identifier in Go’s stdlib? #medium #justforfunc This is the blog post form for the latest @justfofunc by @francesc<a href="http://justforfunc.com/" data-href="http://justforfunc.com/" class="markup--anchor markup--p-anchor" rel="nofollow noopener" target="_blank"><br></a> 5 points posted by norbertfuhs https://medium.com/@francesc/whats-the-most-common-identifier-in-go-s-stdlib-e468f3c9c7d9 2985 Mon, 04 Dec 2017 22:09:00 +0000 Video: Plotting Data with gonum/plot #justforfunc 3 points posted by Sean https://www.youtube.com/watch?v=ihP7lQivA6M 3342 Tue, 15 May 2018 17:04:00 +0000