Ya'll wanted me to cover Data Structures and Algorithms in Go, then this is like a prerequisite for some data structures... Linked List comes to mind as one I'll cover.
I finally got SwayWM working so I can record with OBS on my second PC!
Oh, and sorry... I was a bit tired when making this video. So I felt like I was talking a bit slow in some spots.
I have been thinking about making the switch from Docker to Podman for some time now. I finally switched after installing Fedora 36 on a partition, since it was installed already. (Maybe not, but it was a quick install without any quirks, so it was ready to go.)
So from this point on, any Docker content will actually be Podman content.
If you wanna support my channel, you can buy me a coffee:
☕️ https://www.buymeacoffee.com/nerdcademy
Coffee make the code go!!!
? Programming Laptop
https://kit.co/nerdcademy/framework-laptop
? My Video Kit
https://kit.co/nerdcademy/my-video-kit
? Video Editing PC
https://kit.co/nerdcademy/m1-mac-mini-setup
#nerdcademy #podman #docker
...
https://www.youtube.com/watch?v=PX3z_iJ6cjc
so is this filter gonna let me know what programming language I am?
does that even make sense ?
#nerdcademy #shorts
...
https://www.youtube.com/watch?v=uGC24AwRHAs
Welcome to the third installment of Tech News You Might Have Missed!
Today we find out how stalkers and thieves are using AirTags to track people and cars... very creepy!
https://www.pcmag.com/news/car-thieves-are-using-airtags-to-track-vehicles
https://www.digitaltrends.com/mobile/apple-tracker-detect-airtags/
We also find out that a major flaw with Log4J has allowed hackers to gain access to systems and it's been there for quite some time!
https://arstechnica.com/information-technology/2021/12/hackers-launch-over-840000-attacks-through-log4j-flaw/
JetBrains is release a very nice looking text editor and IDE that could rival VS Code.
https://blog.jetbrains.com/blog/2021/11/29/welcome-to-fleet/
Go is about to replace interface{} with the keyword any.
https://github.com/golang/go/commit/2580d0e08d5e9f979b943758d3c49877fb2324cb
https://news.ycombinator.com/item?id=29557066
Dell is going to go ahead and copy Framework with repairable laptops.
https://www.digitaltrends.com/computing/dell-concept-luna-imagines-sustainable-way-to-build-laptops/
System76 is releasing a distro targeting the Raspberry PI 4 (Pop!_PI)
https://www.notion.so/Tech-News-03-1251465f365940078f072a4600f79473
This video covers introducing if else statement in GoLang. We go over the basics of control flow with if else statements, boolean expressions, and logical operators.
Links about the & (reference to the address of the variable, also known as pointers):
https://www.digitalocean.com/community/conceptual_articles/understanding-pointers-in-go
https://golangdocs.com/pointers-in-golang
All code found in this video will be at:
https://github.com/NerdCademyDev/golang
Let me know if you have any issues!
What else would you like me to cover?
Until next time...
In this video we are going to learn what a unit test and what mocking and stubs are. We learn how to create go files for testing, using the testing library, and set up basic unit tests plus using a slice to run a multitude of tests.
We also use the httptest package to set up a mock server to mimic getting JSON data from the web. So that we learn how to do mock testing in golang. There are a lot of different ways to do mock testing, in this tutorial we set up a simple mock test using a stub server to return JSON data for testing.
More information on the loop back interface:
https://en.wikipedia.org/wiki/Loopback#Virtual_loopback_interface
More information on the net/http/httptest package:
https://pkg.go.dev/net/http/httptest
All code found in this video will be at:
? https://github.com/NerdCademyDev/golang
? Let me know if you have any issues!
⚡️ What else would you like me to cover?
? Always Keep Learning!
In today's video we learn about error handling in Go! In this tutorial we will learn how to handle errors, return errors, create custom error types, and some error handling best strategies in Go!
We will learn the difference between other languages that use try/catch and throw for errors and exception versus the idiomatic way Go handles errors.
So if you are just starting out and don't understand error handling in Go, then this is the video tutorial for you!
Interfaces in Go Tutorial:
https://youtu.be/KB3ysH8cupY
All code found in this video will be at:
? https://github.com/NerdCademyDev/golang
? Let me know if you have any issues!
⚡️ What else would you like me to cover?
? Always Keep Learning!
In today's video tutorial, we will build a TODO app with Go, Postgres, HTMx, and TailwindCSS!
If we use Alpine JS: that could be the GoPHAT stack! ?
We will use Go for our backend with Postgres in a Container (Docker/Podman). Go will do our Server Side Rendering to serve HTML with HTMx and TailwindCSS (with DaisyUI).
OK, honestly this video wasn't fun to make--I made so many mistakes.
I knew it was going to take a long time to record, so I was very aware how long things were gonna take so I tried to go too fast resulting in typos lol
I hope you get a laugh out of it like I did while editing
GitHub Repo:
https://github.com/NerdCademyDev/gophat
Linode $60/100day free credit:
https://www.linode.com/lp/refer/?r=f208ff2dd1bb6ecbe427800d75bf0884b95936ec
If you wanna support my channel, you can buy me a coffee:
☕️ https://www.buymeacoffee.com/nerdcademy
Coffee make the code go!!!
⚡️ Gear I use:
? Laptop: https://frame.work/products/laptop-diy-13-gen-intel?q=processor
? M1 Mac Mini: https://amzn.to/3RiyJu2
⌨️ Mech Keyboard: https://amzn.to/3PmR5ri
? My Camera Lumix S5: https://amzn.to/3EJ2RY6
? Panasonic 35mm Lens: https://amzn.to/3F3J1ad
? Rode Podmic: https://amzn.to/3ZtR6hO
☁️ Cloudlifter: https://amzn.to/3ZqTVju
? Alternative Cloudlifter: https://amzn.to/48rtqia
? Audio Interface: https://amzn.to/3Pz5TmO
? Main Video Light: https://amzn.to/3ZkJkql
? Softbox: https://amzn.to/3sZO60g
I only recommend products I would use myself and all opinions expressed here are my own. Some of these links are Affiliate Links and I may earn a small commission if you click through and purchase something--at no additional cost to you!
? Gopher Character artwork from:
https://github.com/MariaLetta/free-gophers-pack
#golang #htmx #todoapp
...
https://www.youtube.com/watch?v=TlrFH-oPyLo
When I traveled last year, I only brought my iPad but I still wanted to write some code. So I found out about GitPod.
It's a cloud development environment that gives you VS Code in the browser with a Linux terminal all running in Kubernetes.
The other big one that does this is GitHub Codespaces. I compare these tools, but it's up to you which one (or none) works for you.
⚡️ Links:
https://gitpod.io
https://github.com/features/codespaces
If you wanna support my channel, you can buy me a coffee:
☕️ https://www.buymeacoffee.com/nerdcademy
Coffee make the code go!!!
? Programming Laptop
https://kit.co/nerdcademy/framework-laptop
? My Video Kit
https://kit.co/nerdcademy/my-video-kit
? Video Editing PC
https://kit.co/nerdcademy/m1-mac-mini-setup
...
https://www.youtube.com/watch?v=D-TVrtWjL5M
In this video tutorial we will learn the basics of Go functions: what is the signature of a functions, what are parameters, what are arguments, what is the return list, and what is the body of a function.
We will then move along and learn how we can pass in a variable number of arguments in a function.
Then we will start to get into a bit more advanced topics: covering recursion in go, anonymous functions, and closures!
If you wanna support my channel, you can buy me a coffee:
☕️ https://www.buymeacoffee.com/nerdcademy
Coffee make the code go!!!
All code found in this video will be at:
? https://github.com/NerdCademyDev/golang
? Let me know if you have any issues!
⚡️ What else would you like me to cover?
? Always Keep Learning!
? Gopher Character artwork from:
https://github.com/MariaLetta/free-gophers-pack
00:00 Intro
00:27 Basics
06:45 Recursion
08:27 Anonymous Functions
09:52 Closures
#nerdcademy #golang #functions #recursion #closures
...
https://www.youtube.com/watch?v=w2tauAykFZM