![Alex Mux](/img/default-banner.jpg)
- 11
- 436 517
Alex Mux
Приєднався 19 лют 2023
Building a GO API - No External Packages!
We build a fully functional API in Golang without using any external packages. Learn about request context, authorization and middleware.
Переглядів: 455
Відео
Building A Physics Simulation: Particle Collision
Переглядів 1,2 тис.2 місяці тому
We code a computer physics simulation in code! Particle simulation with the inelastic collision formula.
Go Project: Let's Make a PONG Game in Golang!
Переглядів 2,6 тис.2 місяці тому
We tackle a project in Golang: we make a pong game! We use Ebitengine V2 to create our 2D game.
Write Better GO Code: Composition
Переглядів 1,9 тис.2 місяці тому
In Golang what is composition and how to use it to write better code?
Learn Python Fast: Full Tutorial
Переглядів 1,5 тис.3 місяці тому
This is a full tutorial on learning Python! From start to finish in less than an hour, including a full demo of how to build an api in Python. No fluff, just what you need to know. 0:00 Introduction to Python 3:44 Variables and Basic Data Types 8:20 Advanced Data Types 13:51 Control Structures 19:58 Functions 28:55 Useful Built-In Functions 31:07 Classes 35:44 Installing and Importing Packages ...
Learn VIM Fast: Full Tutorial
Переглядів 3,3 тис.9 місяців тому
Full tutorial on learning to use Vim. Make Vim your new editor, trust me it's worth it ya'll.
Setup Neovim Fast with Awesome Results
Переглядів 6 тис.10 місяців тому
Setup Neovim fast and easy while still creating an efficiency powerhouse. Follow my easy step-by-step guide and get going with Neovim ASAP. My current NVIM setup: github.com/avukadin/nvimSettings/blob/main/init.lua 0:00 Intro 0:14 Kickstart Neovim 1:15 Default Features Overview 3:30 Custom but Essential Plugins
How do Floating Point Numbers Work?
Переглядів 1,7 тис.11 місяців тому
Floats or floating point numbers are represented using IEEE-754 standard. Understanding how this works is an important part of being a software engineer.
Learn GO Fast: Full Tutorial
Переглядів 402 тис.Рік тому
This is a full tutorial on learning Golang! From start to finish in less than an hour, including a full demo of how to build an api in Go. No fluff, just what you need to know. 0:00 Introduction to Golang 6:25 Constants Variables and Basic Data Types 13:14 Functions and Control Structures 19:30 Arrays, Slices, Maps and Loops 26:36 Strings, Runes and Bytes 31:06 Structs and Interfaces 35:18 Poin...
Learn GO Fast: Building an API
Переглядів 15 тис.Рік тому
Building and API in Golang! In the final part of this series, we put what we have learned together and build a working API in GO.
great video, just like your other "short and straight to the point" videos. thanks.
I think there is a mistake on 7:31 when we pass clientProfile.Id as a key to our database map, because this is not the key, the key is "user{n}" Instead we should pass clientId from the request I added another value (clientId) to the context in TokenAuthMiddleware func and retrieved it just before updating database map Something like this clientId := r.Context().Value("clientId").(string) db.Database[clientId] = clientProfile And it worked But I don't know if adding several values to a context is a good practice... Overall, nice video, thank you
Hey Albert, I am assuming that clientProfile.Id is the same as the key. The key-value pair setup of the database is just and easy way to lookup, kind of like if we created an index on the "Id" field in our database.
Very good, very clean! Thank you for packing a lot of useful information in a no-frills, straight-to-the-meat explanation! Is there a chance to augment this with a second part on how to create the Bearer JWT with claims etc in it using *only* standard Go packages?
Good idea I will add that to the list of topics 🙏
First
Second
@@mr_mux408 opps we forgot zeroth
The most intresting part for me so far is that you can return multiple values without using array.... Magic
go is fucking bad syntax does not look like a modern programming language
this is gold !
Great vid. I wrote some go a couple years but forgot a lot of the nuance. This vid was a great and time-effective refresh 💪
love it, thanks for such enlightenment.
normal people: write characters go devs: you mean runes?
which lsp server are you using for go? gopls does not give out such detailed diagnostics for me
13:18
46:51 untrue for me, increasing dbCall iteration to 10^8, slows it down a LOT; even though CPU is sleeping. Can anyone explain why?
THE AUDACITY of not putting any spaces around curly braces and never acknowledging it. Just so you know - it truly drives me nuts, this video is really painful to watch simply because of that. I beg you, please think of "perfectionists" when making videos.
what are your nvim configurations?
Great tutorial, but the typos are killing me...
For an hour I tried to understand at least something
Good video!
I wonder if powerpoint has a go extension do perform syntax and lint checking. 🤔
what
You are like a combination of Fireship and Bro Code
32:39 for ""owner" struct I have to declare it firs"" before "gasEngine" struct. Otherwise, I get "undefined: owner" error when compiling the code. Seems like forward declaration only works in top scope of the package not inside another func
Heads up: I got an error @23:00 using "var intSlice3 []int32 = make(int32[], 3, 8)". The correct syntax is "var intSlice3 []int32 = make([]int32, 3, 8)"
I literally learned go with this video and started programming immediately.
var intSlice3 []int32 = make(int32[], 3, 8) is wrong ! var intSlice3 []int32 = make([]int32, 3, 8) is the right form "[]int32" instead of int32[]
Thank you! Very helpful introduction
Great video
so many line to understand...my head hurts 😅
Very well done with the video Sir. Since I'm an experienced programmer, this is more like my preferred pace. Do continue to put out good stuff, leave links to buy you a coffee/support
Loved it 🔥
Thank you so much! I can't believe this is available for free. If you ever make a full fledged course I'd love to take it. Your way of teaching is amazing!
Thank you so much for this. I mean, coming from a JavaScript background, there is so much boilerplate needed for a simple REST api in go as compared to something with say Express and nodejs. But it seems the performance is beyond comparison too. Guess the tradeoff is between savings in runtime costs and performance over development agility. Will still use JavaScript for quick Hackathon-like scenarios, but go lang seems interesting!
At 29:57 did you mean a slice of runes? A but confused since you said array, and you had mentioned earlier that if it is an array it should have [...]?
did you use to play wow?
what is wrong with your lines numbers dude
I declare... BANKRUPCYYYYYYYYYYY
This is similar to C++
wooooooooow you are the best
Why multiplying 25 and 15 giving me 119. When i turned them in int32 from uint8, i got the correct value:375
found it... Overflow error.
This is a great tutorial on Go. Is the example project code that build in the end available in GitHub? Thanks!
33:55 i was wondering why it returned "119" until I saw the uint8 typing. My Java brain wasn't meant for this many int types
This is actually the best Golang tutorial on internet. better than the paid ones.
I tried power-point but doesn't work/
Best tutorial I have seen, subbed
👍👍
Use *BIGGER* font 💡
Amazing content do not stop at all keep going bro
1.25 is the sweet spot
32:10 remained there, learning a lot thx 🔥🔥🔥🔥
Hey about the chicken and the tofu channel you didnt called the close channel function then how the code didnt end up in DEADLOCK state?
This had everything i needed. On point. Thank you!