The go.mod file is not a dependency list like package.json or mix.exs. Instead, it's just a set of rules for which versions of dependencies to resolve. The actual dependency list is the actual imports in the .go files. All go mod tidy does is remove things from go.mod that aren't actually used and add missing ones by defaulting to the latest versions of them, and then it formats and sorts the file. It's a good thing to run any time your dependencies change. The -v flag will make it print something when it removes unused dependencies. Go has two ways of getting a func type from a method: Method expressions and method values. A method expression just directly converts the method into a func by changing the receiver to be a normal first argument instead. A method value, on the other hand, bundles an existing instance into the function similarly to how a closure works. For example, type T struct{} func (T) M(int) string { /* ... */ } // Method expression: f1 := T.M // f1 is func(T, int) string f2 := (*T).M // f2 is func(*T, int) string // Method value: var t T f3 := t.M // f3 is func(int) string
To say thank you and encourage you to get better with Go. Like HTMX, the simplicity of Golang removes a lot of entry barriers for new joiners like my sister.
It's interesting that prime was surprised by how functional bubble tea is given that it's obviously a elm inspired system. For those you don't know, elm is a programming language that kind of bombed but it had a really cool programming idiom called model view update. Bubble tea essentially takes that idiom and builds it out into a framework.
@@alst4817 The last update was in 2019... I can only think of maybe one or two companies that actually use elm still (and they do so because they started using it years ago). It could have been a really good language but it's been abandoned. Just FYI I hate JavaScript, I wanted elm to succeed but it didn't so there you go.
My heart sank when you mentioned the code for Kinesis because I ordered one today, but I calmed when I saw it only applies to new keyboards, not the refurbished one I bought. I had a slight pressure in my wrist and since I'm now in my thirties, I wanted to prevent it from going on full RSI.
elm is cool but i tried making a huge app in bubble tea one time and the experience was just horrible its just such a different/stupid way of designing UI i hate it
@@vaisakh_km It's illegal for applications to be sold or transferred into our out of the USA if they use encryption, unless you apply for permission from the agency that is in charge of granting permission. Even simple apps that make https calls need permission to be sold cross borders.
Clicked as soon as I saw blue hair
The only reason I clicked.
I just read about bubbletea, so i was about save this video for later, but bluehair made me watch it now
True rust user
he achieves super saiyan god
Prime: *Claims hair is not green*
Prime: *Toggles green screen on and off for comparison*
Me: *Reads chat through hair*
The go.mod file is not a dependency list like package.json or mix.exs. Instead, it's just a set of rules for which versions of dependencies to resolve. The actual dependency list is the actual imports in the .go files. All go mod tidy does is remove things from go.mod that aren't actually used and add missing ones by defaulting to the latest versions of them, and then it formats and sorts the file. It's a good thing to run any time your dependencies change. The -v flag will make it print something when it removes unused dependencies.
Go has two ways of getting a func type from a method: Method expressions and method values. A method expression just directly converts the method into a func by changing the receiver to be a normal first argument instead. A method value, on the other hand, bundles an existing instance into the function similarly to how a closure works. For example,
type T struct{}
func (T) M(int) string { /* ... */ }
// Method expression:
f1 := T.M // f1 is func(T, int) string
f2 := (*T).M // f2 is func(*T, int) string
// Method value:
var t T
f3 := t.M // f3 is func(int) string
Clicked for the blue hair, stayed for the vimming.
Dude, the hair! Finally the soyboy is bleeding out 😂
The Elm Architecture is great! Glad you got it instantly too. Looking foward to seeing more!
So good
i did not even notice the blue hair until the discussion started
To say thank you and encourage you to get better with Go. Like HTMX, the simplicity of Golang removes a lot of entry barriers for new joiners like my sister.
30:11 Elixir sounds like heaven
sees blue hair... clicks.
It's interesting that prime was surprised by how functional bubble tea is given that it's obviously a elm inspired system. For those you don't know, elm is a programming language that kind of bombed but it had a really cool programming idiom called model view update. Bubble tea essentially takes that idiom and builds it out into a framework.
Elm in no way ‘bombed’! It’s still there and has a core user base. It’s just a niche language that’s all. Not everyone can be JS!
@@alst4817 The last update was in 2019... I can only think of maybe one or two companies that actually use elm still (and they do so because they started using it years ago). It could have been a really good language but it's been abandoned. Just FYI I hate JavaScript, I wanted elm to succeed but it didn't so there you go.
I'm Not sure if anyone else listens to Prime at 2x speed, but when he goes "yayayayaya" it is very satisfying (see minute 53)
My heart sank when you mentioned the code for Kinesis because I ordered one today, but I calmed when I saw it only applies to new keyboards, not the refurbished one I bought. I had a slight pressure in my wrist and since I'm now in my thirties, I wanted to prevent it from going on full RSI.
Dude already booked for his psychologist next week
How many channels do you have?! It's like the 10th one
when did ninja started using neovim
look, blue hair california netflix dev
bubble tea is most delicious library name i ever seen
instead of go getting one by one, you could just do `go mod tidy`
I think first you need `go mod init `
Could someone recommend the Vim color scheme that corresponds to the new style of Primeagen?
I wouldn't wish your hair on my worst enemy. Chat did you bad.
Am I the only one who hated the look of the gopher? I literally avoid learning Go cause I dont want to have to look at that thing regularly.
Blue hair in support for Golang
Am I the only one seeing green hair?
Are you recording your streams at work?
10:22 when the vimeagen STRIKES!
Have there been any Rezo comparisons? 😅
wtf did you do to your gentleman's coiffure my good sir
blue is working for you. really goes to the hacker punk look you have.
When can you dye it back?
Sexy blue hair time 😅 In the UK it is called blue rinse and only OAP’s die their hair blue.
Looks like prime’s destiny is ninja.
Now we know that cyan is the color of 2024 not 2023🎉
Save energy. Just flush once at the end of the day.
The name... is the NinjaAGEN
I am a little bit disappointed, I was expecting him to do blue hair and just entirely refuse to acknowledge anything about it.
#im-here-for-ninja #kinesis-keyboard-superiority
Should've colored the moustache too....
is that rust hair?
Clicked for blue hair, stayed for Go coding💯
when will you be re-writing this in rust?
I lost more brains cells that I gained from learning. WTF is this?
omg he looks ever gheyer with green hair AND the moustache! Where's the nose ring?
What was the bet, lol?
Following
Now your hair fits your thumbnails
Nothing unusual it must have been a Theo bet. You are crazy in a way.
Blue hair! 💙
Nice haircut, Prime!
now u look like that sr rust developer
Types should be Capitalized?!?! so Int, Uint, Byte, String ?! what kind of madness is this?! looks like Java
what was the bet?
Subscribed
Why is het programming go with blue hair, that is required for rust
ok ninja
Since when does Destiny code … and is actually cool?!?
Bluuuuuuuuuuuuuuuuuuuue hair! 😆😆😆
When did Ninja start a coding stream?
elm is cool but i tried making a huge app in bubble tea one time and the experience was just horrible its just such a different/stupid way of designing UI i hate it
Blue Hair
why you more like ninja
rust effect
So he admitted being a furry ?)
Neo/Vim
nice hair bro
AHAHHAHAAHAHHAHAHAHHAHAHAAHHAAHAHAHHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAAHHAHAHA blue hair
Hair looks good.
You dont.
Next thing you know Prime's gonna be """""losing another bet""""" and wind up with pronouns too, just like me :p
(pro fact: cis people do not have pronouns, that's a myth actually btw)
what the hell are ssh apps? lol ssh is ssh
destiny looks a little weird in here
WTF 🤣
Blue hair made me lost interest
:kekw:
Someone said you are a liberal lmao
This video should be called "How to make apps that are illegal to export outside the US."*
* Unless you request permission from the US government using the BIS website.
Why, didn't understand, whats the problem outside us?
@@vaisakh_km It's illegal for applications to be sold or transferred into our out of the USA if they use encryption, unless you apply for permission from the agency that is in charge of granting permission. Even simple apps that make https calls need permission to be sold cross borders.
Please tell us your pronouns
NeoSSHIM. Lets GOOO
You went woke v.v